/* ==========================================================================
   Fourvane: agency site
   Same family as fiyazzaman.works: ink canvas, warm paper type, one violet
   accent. Inter Tight (display/UI), Instrument Serif (italic accents),
   JetBrains Mono (labels). The weather vane is the motif: four arms, one
   direction.
   ========================================================================== */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-tight.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); }

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #18181b;
  --line: rgba(237, 234, 228, 0.09);
  --line-2: rgba(237, 234, 228, 0.16);
  --paper: #edeae4;
  --paper-2: #c9c5bd;
  --mute: #8a8680;
  --accent: #b46bff;
  --accent-2: #e2c6ff;
  --accent-glow: rgba(180, 107, 255, 0.35);
  --ok: #57e08b;

  --f-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1480px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--f-sans); font-size: 17px; line-height: 1.55; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; text-rendering: optimizeLegibility; }
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, figure, dl, dd { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* film grain */
body::after { content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--paper); color: var(--ink); border-radius: 8px; }
.skip:focus { top: 12px; }

/* ----------------------------------------------------------------- type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.accent { color: var(--accent); }
.h-display { font-size: clamp(3rem, 7.7vw, 8.4rem); line-height: 0.92; letter-spacing: -0.055em; font-weight: 600; }
.h-1 { font-size: clamp(2.4rem, 5.6vw, 5.8rem); line-height: 0.96; letter-spacing: -0.045em; font-weight: 600; }
.h-2 { font-size: clamp(1.9rem, 3.4vw, 3.2rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
.h-3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.28rem); line-height: 1.55; color: var(--paper-2); max-width: 56ch; }

/* ----------------------------------------------------------------- buttons */
.btn { --b-bg: var(--paper); --b-fg: var(--ink); --b-hover: var(--accent); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px; background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; overflow: hidden; isolation: isolate; white-space: nowrap; transition: transform 0.5s var(--ease), translate 0.5s var(--ease), color 0.4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-hover); border-radius: inherit; transform: translateY(101%); transition: transform 0.5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn .ico { width: 20px; height: 20px; }
.btn--accent { --b-bg: var(--accent); --b-fg: var(--ink); --b-hover: var(--paper); box-shadow: 0 16px 44px -18px var(--accent-glow); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--paper); --b-hover: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--full { width: 100%; }

.link-u { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }
.link-go { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: background 0.4s, color 0.4s, border-color 0.4s; white-space: nowrap; }
.link-go svg { width: 15px; height: 15px; transition: transform 0.5s var(--ease); }
.link-go:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.link-go:hover svg { transform: rotate(45deg); }

.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-2); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(87, 224, 139, 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(87, 224, 139, 0); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--paper-2); }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.4s, color 0.4s, border-color 0.4s, opacity 0.3s; }
.round svg { width: 18px; height: 18px; }
.round:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.round:disabled { opacity: 0.3; pointer-events: none; }

/* ----------------------------------------------------------------- progress + nav */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 95; pointer-events: none; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) { .progress { animation: grow-x linear both; animation-timeline: scroll(root); } }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--nav-h); transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); }
.logo__mark { width: 30px; height: 30px; transition: transform 0.9s var(--ease); }
.logo:hover .logo__mark { transform: rotate(90deg); }
.logo__word { font-size: 22px; font-weight: 600; letter-spacing: -0.045em; }
.nav__links { display: flex; gap: 4px; align-items: center; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(17, 17, 19, 0.55); }
.nav__links a { display: block; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--paper-2); transition: color 0.3s, background 0.3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--paper); background: rgba(237, 234, 228, 0.07); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__toggle span:nth-child(1) { top: 19px; } .nav__toggle span:nth-child(2) { top: 26px; }
.is-menu .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.is-menu .nav__toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 85; background: var(--ink); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease-in-out), visibility 0s linear 0.8s; visibility: hidden; }
.is-menu .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.8s var(--ease-in-out); }
.menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu li a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; transform: translateY(100%); transition: transform 0.8s var(--ease); }
.menu li a small { font-family: var(--f-mono); font-size: 12px; color: var(--mute); letter-spacing: 0.1em; }
.is-menu .menu li a { transform: none; }
.is-menu .menu li:nth-child(2) a { transition-delay: 0.05s; } .is-menu .menu li:nth-child(3) a { transition-delay: 0.1s; }
.is-menu .menu li:nth-child(4) a { transition-delay: 0.15s; } .is-menu .menu li:nth-child(5) a { transition-delay: 0.2s; }
.is-menu .menu li:nth-child(6) a { transition-delay: 0.25s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--paper-2); font-size: 15px; }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(24px, 5vh, 60px)); display: flex; flex-direction: column; overflow: hidden; }
.hero__wind { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 2s ease; -webkit-mask-image: radial-gradient(70% 80% at 72% 46%, #000 20%, transparent 78%); mask-image: radial-gradient(70% 80% at 72% 46%, #000 20%, transparent 78%); }
.hero__wind.is-on { opacity: 0.9; }
.hero__glow { position: absolute; z-index: 0; width: 68vw; height: 68vw; max-width: 1050px; max-height: 1050px; right: -16vw; top: -12vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(180, 107, 255, 0.2), rgba(180, 107, 255, 0.05) 55%, transparent 72%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__top { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(20px, 3.5vh, 36px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .line > span { display: inline-block; transform: translateY(112%); transition: transform 1.2s var(--ease); }
.is-loaded .hero h1 .line > span { transform: none; }
.is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: 0.09s; }
.hero h1 .serif { font-size: 1.05em; letter-spacing: -0.03em; padding-right: 0.08em; }
.hero__lede { margin-top: clamp(22px, 3.5vh, 36px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(28px, 5vh, 48px); border-top: 1px solid var(--line); }
.proof li { flex: 1 1 150px; padding: 16px 18px 0 0; margin-right: 18px; border-right: 1px solid var(--line); line-height: 1.3; }
.proof li:last-child { border-right: 0; margin-right: 0; }
.proof b { display: block; font-size: 15px; font-weight: 600; }
.proof span { font-size: 13px; color: var(--mute); }
.js .hero__lede, .js .hero__cta, .js .proof, .js .hero__top { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .hero__lede, .is-loaded .hero__cta, .is-loaded .proof, .is-loaded .hero__top { opacity: 1; transform: none; }
.is-loaded .hero__lede { transition-delay: 0.25s; } .is-loaded .hero__cta { transition-delay: 0.35s; } .is-loaded .proof { transition-delay: 0.45s; }

/* the dial: a weather vane that turns to wherever you point */
.hero__dial { position: relative; display: grid; place-items: center; padding: 34px; }
.dial { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; color: var(--paper); }
.dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dial__vane { position: absolute; inset: 21%; will-change: transform; filter: drop-shadow(0 0 40px rgba(180, 107, 255, 0.35)); }
.dial__vane svg { width: 100%; height: 100%; }
.dial__hub { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--paper); }
.dial__lab { position: absolute; display: grid; justify-items: center; gap: 2px; padding: 8px 14px; border-radius: 14px; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--mute); background: rgba(10, 10, 11, 0.7); border: 1px solid transparent; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: color 0.4s, border-color 0.4s, background 0.4s, box-shadow 0.4s; white-space: nowrap; }
.dial__lab small { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; color: var(--mute); transition: color 0.4s; }
.dial__lab--n { left: 50%; top: 0; transform: translate(-50%, -40%); }
.dial__lab--s { left: 50%; bottom: 0; transform: translate(-50%, 40%); }
.dial__lab--e { right: 0; top: 50%; transform: translate(34%, -50%); }
.dial__lab--w { left: 0; top: 50%; transform: translate(-34%, -50%); }
.dial__lab.is-on, .dial__lab:hover { color: var(--paper); border-color: rgba(180, 107, 255, 0.55); background: rgba(24, 16, 36, 0.85); box-shadow: 0 0 34px -8px var(--accent-glow); }
.dial__lab.is-on small, .dial__lab:hover small { color: var(--accent); }
.js .dial { opacity: 0; transform: scale(0.86) rotate(-24deg); transition: opacity 1.4s var(--ease) 0.15s, transform 1.8s var(--ease) 0.15s; }
.is-loaded .dial { opacity: 1; transform: none; }

.hero__foot { position: relative; z-index: 2; margin-top: clamp(24px, 4vh, 48px); border-top: 1px solid var(--line); }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue span { width: 1px; height: 26px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--paper); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 110%; } }

/* ----------------------------------------------------------------- sections + reveal */
.section { position: relative; padding-block: clamp(72px, 10vw, 150px); }
.section--tight { padding-block: clamp(44px, 5.5vw, 80px); }
.section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px 40px; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head .eyebrow { margin-bottom: 22px; }

[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="clip"] { opacity: 1; transform: none; }
[data-reveal="clip"]::before { content: ""; position: absolute; inset: -1px; z-index: 5; background: var(--ink); transform-origin: top; transition: transform 1.3s var(--ease-in-out); pointer-events: none; }
[data-reveal="clip"].is-in::before { transform: scaleY(0); }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
html:not(.js) [data-reveal="clip"]::before { display: none; }
.split[data-reveal] { opacity: 1; transform: none; }
.split .ln { display: block; overflow: hidden; padding: 0.05em 0.1em 0.14em 0; margin: -0.05em -0.1em -0.14em 0; }
.split .ln > span { display: block; transform: translateY(112%); transition: transform 1.15s var(--ease); transition-delay: calc(var(--l, 0) * 95ms + var(--d, 0) * 1ms); }
.split.is-in .ln > span { transform: none; }

/* ----------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 30px 22px 6px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 22px; }
.stat:last-child { border-right: 0; }
.stat__n { font-size: clamp(2.4rem, 4.2vw, 4.2rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; display: flex; align-items: flex-start; gap: 2px; }
.stat__n sup { font-size: 0.42em; color: var(--accent); top: 0; line-height: 1.4; }
.stat__l { margin-top: 12px; font-size: 14px; color: var(--mute); line-height: 1.4; }
.stats__note { margin-top: 26px; font-size: 14px; color: var(--mute); }
.stats__note a { color: var(--paper-2); }

/* ----------------------------------------------------------------- services: four arms */
.arms { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.arms__side { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; justify-items: center; gap: 26px; padding: 12px 26px 0; }
.compass { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; color: var(--paper); }
.compass__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.compass__vane { position: absolute; inset: 22%; transition: transform 1.3s cubic-bezier(0.34, 1.4, 0.44, 1); filter: drop-shadow(0 0 34px rgba(180, 107, 255, 0.3)); }
.compass__vane svg { width: 100%; height: 100%; }
.compass__l { position: absolute; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--mute); transition: color 0.5s; }
.compass__l--n { left: 50%; top: 13%; transform: translateX(-50%); } .compass__l--s { left: 50%; bottom: 13%; transform: translateX(-50%); }
.compass__l--e { right: 13%; top: 50%; transform: translateY(-50%); } .compass__l--w { left: 13%; top: 50%; transform: translateY(-50%); }
.compass[data-on="0"] .compass__l--n, .compass[data-on="1"] .compass__l--e, .compass[data-on="2"] .compass__l--s, .compass[data-on="3"] .compass__l--w { color: var(--accent); }
.arms__now { text-align: center; line-height: 1.2; }
.arms__now small { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--mute); margin-bottom: 8px; }
.arms__now b { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -0.035em; }

.arms__list { display: grid; gap: clamp(18px, 2vw, 26px); }
.arm { position: relative; padding: clamp(22px, 2.6vw, 38px); border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 18px; transition: border-color 0.6s, background-color 0.6s; }
.arm.is-active { border-color: rgba(180, 107, 255, 0.4); }
.arm__head { display: flex; justify-content: space-between; align-items: center; }
.arm__dir { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 14px; font-weight: 500; border: 1px solid var(--line-2); color: var(--paper-2); transition: background 0.5s, color 0.5s, border-color 0.5s; }
.arm.is-active .arm__dir { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.arm__no { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--mute); }
.arm .h-2 { font-size: clamp(2.2rem, 4.2vw, 4rem); }
.arm__d { color: var(--paper-2); font-size: clamp(1.02rem, 1.2vw, 1.18rem); max-width: 56ch; }
.arm__shots { display: grid; gap: 10px; margin-top: 4px; }
.arm__shots--2 { grid-template-columns: 1fr 1fr; } .arm__shots--3 { grid-template-columns: 0.72fr 1fr 1fr; } .arm__shots--4 { grid-template-columns: repeat(4, 1fr); }
.arm__shots img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--ink-3); transition: transform 0.9s var(--ease); }
.arm__shots--4 img, .arm__shots--3 img:first-child { aspect-ratio: 1; }
.arm__shots--3 img { aspect-ratio: auto; height: clamp(120px, 14vw, 200px); }
.arm__shots--2 img { object-position: top center; aspect-ratio: 16 / 10; }
.arm__shots img:hover { transform: scale(1.03); }
.arm__note { padding: 22px 24px; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--paper-2); font-size: 1.05rem; }
.arm__note .serif { font-size: 1.5em; color: var(--paper); line-height: 1.1; }
.arm__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.arm__proof { font-size: 14px; color: var(--mute); }
.arm__proof b { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.04em; color: var(--paper); margin-right: 6px; }

/* ----------------------------------------------------------------- work rail */
.rail__ctrl { display: flex; gap: 10px; }
.rail { display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-bottom: 14px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.rail.is-drag .job { pointer-events: none; }
.job { flex: none; width: clamp(280px, 34vw, 500px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 22px; border-radius: 26px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color 0.5s, transform 0.6s var(--ease); -webkit-user-drag: none; user-select: none; }
.job:hover { border-color: rgba(180, 107, 255, 0.45); transform: translateY(-4px); }
.job__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.job__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.job:hover .job__media img { transform: scale(1.04); }
.job__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; padding-inline: 8px; }
.job__tags span { padding: 4px 10px; border-radius: 999px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(180, 107, 255, 0.35); }
.job h3, .job p, .job__go { padding-inline: 8px; }
.job p { color: var(--mute); font-size: 15px; flex: 1; }
.job__go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-top: 4px; }
.job__go svg { width: 15px; height: 15px; transition: transform 0.5s var(--ease); }
.job:hover .job__go svg { transform: rotate(45deg); }
.job--more { justify-content: space-between; padding: 30px 26px; background: linear-gradient(160deg, rgba(180, 107, 255, 0.2), rgba(180, 107, 255, 0.03) 60%), var(--ink-2); }
.job__big { display: block; font-size: clamp(4rem, 8vw, 7rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; margin-bottom: 14px; padding-inline: 8px; }

/* ----------------------------------------------------------------- process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: border-color 0.5s; }
.step__n { font-size: 5.2rem; line-height: 0.8; font-weight: 600; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: -webkit-text-stroke-color 0.5s; }
.step:hover .step__n { -webkit-text-stroke-color: var(--accent); }
.step p { margin-top: 10px; color: var(--mute); font-size: 15px; }

/* ----------------------------------------------------------------- ways to work */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px 26px; border-radius: 26px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color 0.5s, transform 0.6s var(--ease); }
.pack:hover { transform: translateY(-5px); border-color: var(--line-2); }
.pack--hot { border-color: rgba(180, 107, 255, 0.55); background: linear-gradient(170deg, rgba(180, 107, 255, 0.16), transparent 55%), var(--ink-2); box-shadow: 0 40px 90px -50px var(--accent-glow); }
.pack--hot:hover { border-color: var(--accent); }
.pack__tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-2); border: 1px solid var(--line-2); }
.pack--hot .pack__tag { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.pack .h-2 { font-size: clamp(1.7rem, 2.3vw, 2.2rem); }
.pack > p { color: var(--paper-2); font-size: 15.5px; }
.ticks { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--paper-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 16px; height: 16px; border-radius: 50%; background: rgba(180, 107, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b46bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; }
.pack .btn { margin-top: 6px; }

/* ----------------------------------------------------------------- about */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__shot { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 5; background: #0b0812; border: 1px solid var(--line); max-width: 520px; }
.about__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.about__shot figcaption { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: grid; padding: 12px 16px; border-radius: 16px; background: rgba(12, 10, 16, 0.62); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); line-height: 1.25; }
.about__shot figcaption b { font-size: 15px; }
.about__shot figcaption span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-2); }
.about__bio p { font-size: clamp(1.12rem, 1.5vw, 1.4rem); line-height: 1.5; color: var(--paper-2); margin-bottom: 1em; letter-spacing: -0.015em; }
.about__bio strong { color: var(--paper); font-weight: 500; }
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 30px 0 34px; }
.creds li { background: var(--ink-2); padding: 18px 16px; line-height: 1.3; }
.creds b { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.03em; }
.creds span { font-size: 13px; color: var(--mute); }

/* ----------------------------------------------------------------- faq */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 600; letter-spacing: -0.02em; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq summary span { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform 0.5s var(--ease), background 0.4s, color 0.4s, border-color 0.4s; }
.faq summary svg { width: 16px; height: 16px; }
.faq details[open] summary span { transform: rotate(45deg); background: var(--accent); color: var(--ink); border-color: var(--accent); }
.faq details p { padding: 0 60px 26px 0; color: var(--paper-2); max-width: 64ch; }
.faq details[open] p { animation: drop 0.5s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ----------------------------------------------------------------- start a project */
.start { position: relative; overflow: hidden; }
.start__glow { position: absolute; left: 50%; top: -20vw; width: 110vw; height: 70vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(180, 107, 255, 0.2), transparent 70%); pointer-events: none; }
.start__big { font-size: clamp(2.8rem, 7vw, 8rem); line-height: 0.92; letter-spacing: -0.055em; font-weight: 600; }
.brief { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.brief__main { display: grid; gap: 34px; padding: clamp(20px, 2.6vw, 38px); border-radius: 28px; background: rgba(17, 17, 19, 0.82); border: 1px solid var(--line); }
.brief legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.brief legend span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; font-weight: 500; background: rgba(180, 107, 255, 0.16); color: var(--accent); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label > span { display: inline-flex; align-items: center; height: 42px; padding: 0 17px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--paper-2); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.opts label:hover > span { border-color: var(--paper-2); color: var(--paper); }
.opts input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opts--big { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.opts--big label > span { position: relative; display: grid; gap: 2px; height: auto; padding: 16px 16px 16px; border-radius: 18px; font-size: 1.1rem; font-weight: 600; color: var(--paper); letter-spacing: -0.02em; align-items: start; justify-items: start; }
.opts--big i { font-style: normal; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; color: var(--mute); margin-bottom: 14px; }
.opts--big small { font-size: 13px; font-weight: 400; color: var(--mute); letter-spacing: 0; }
.opts--big input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.opts--big input:checked + span i, .opts--big input:checked + span small { color: rgba(10, 10, 11, 0.7); }
.opts--big label > span::after { content: ""; position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.3s, border-color 0.3s; }
.opts--big input:checked + span::after { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b46bff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; margin-bottom: 12px; }
.field:last-child { margin-bottom: 0; }
.field input, .field textarea { width: 100%; padding: 26px 18px 12px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(10, 10, 11, 0.6); color: var(--paper); font: inherit; font-size: 16px; transition: border-color 0.3s, background 0.3s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 130px; resize: vertical; display: block; }
.field label { position: absolute; left: 18px; top: 9px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); pointer-events: none; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--ink-2); }
.field.is-bad input { border-color: #ff7a7a; }

.brief__side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 14px; padding: clamp(20px, 2.2vw, 30px); border-radius: 28px; background: linear-gradient(170deg, rgba(180, 107, 255, 0.14), transparent 50%), var(--ink-2); border: 1px solid rgba(180, 107, 255, 0.35); }
.brief__side h3 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.brief__side dl { display: grid; margin-bottom: 6px; border-top: 1px solid var(--line); }
.brief__side dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.brief__side dt { font-size: 13.5px; color: var(--mute); }
.brief__side dd { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.brief__side dd.is-empty { color: var(--mute); font-weight: 400; }
.brief__err { padding: 10px 14px; border-radius: 12px; background: rgba(255, 122, 122, 0.1); border: 1px solid rgba(255, 122, 122, 0.4); color: #ffb3b3; font-size: 14px; }
.brief__note { font-size: 13px; color: var(--mute); }
.brief__direct { display: grid; gap: 2px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.brief__direct a { display: grid; padding: 6px 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; transition: color 0.3s; }
.brief__direct a:hover { color: var(--accent-2); }
.brief__direct small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 400; }

/* ----------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; position: relative; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h6 { margin-bottom: 14px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.footer ul { display: grid; gap: 8px; font-size: 15px; color: var(--paper-2); }
.footer ul a:hover { color: var(--paper); }
.footer__brand p { margin-top: 18px; color: var(--mute); font-size: 15px; max-width: 34ch; }
.footer__word { margin-top: 40px; font-size: clamp(4rem, 21vw, 22rem); line-height: 0.82; letter-spacing: -0.07em; font-weight: 600; color: transparent; -webkit-text-stroke: 1px var(--line-2); white-space: nowrap; user-select: none; text-align: center; overflow: hidden; padding-bottom: 0.08em; }
@keyframes word-fill { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@supports (animation-timeline: view()) {
  .footer__word { background: linear-gradient(90deg, var(--accent), var(--accent-2)) no-repeat 0 0 / 0% 100%; -webkit-background-clip: text; background-clip: text; animation: word-fill linear both; animation-timeline: view(); animation-range: entry 0% entry 105%; }
}
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }

.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: #1faa59; color: #fff; font-size: 14.5px; font-weight: 600; box-shadow: 0 18px 44px -14px rgba(31, 170, 89, 0.7); transform: translateY(90px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.5s, background 0.3s; }
.float-wa svg { width: 24px; height: 24px; }
.float-wa.is-on { transform: none; opacity: 1; }
.float-wa:hover { background: #24c466; }

/* pointer light on cards */
@media (hover: hover) {
  .step:hover, .pack:hover, .arm:hover { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(180, 107, 255, 0.1), transparent 62%); }
  .pack--hot:hover { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(180, 107, 255, 0.16), transparent 62%), linear-gradient(170deg, rgba(180, 107, 255, 0.16), transparent 55%); }
}

/* ----------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .packs { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .stat:nth-child(4) { padding-left: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .nav__links a { padding: 9px 12px; }
}
@media (max-width: 980px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__right .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__dial { padding: 48px 12% 40px; }
  .hero__wind { -webkit-mask-image: linear-gradient(180deg, transparent 42%, #000 68%, transparent 98%); mask-image: linear-gradient(180deg, transparent 42%, #000 68%, transparent 98%); }
  .section__head { grid-template-columns: 1fr; }
  .arms { grid-template-columns: 1fr; }
  .arms__side { display: none; }
  .about, .faq { grid-template-columns: 1fr; }
  .brief { grid-template-columns: 1fr; }
  .brief__side { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat, .stat + .stat { padding: 22px 14px 4px 0; border-right: 0; }
  .stat:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .proof li { flex-basis: 40%; }
  .proof li:nth-child(2) { border-right: 0; margin-right: 0; }
  .process, .packs { grid-template-columns: 1fr; }
  .step { min-height: 0; gap: 40px; }
  .arm__shots--4 { grid-template-columns: 1fr 1fr; }
  .arm__shots--3 { grid-template-columns: 1fr 1fr; }
  .arm__shots--3 img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; height: auto; }
  .opts--big { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__meta .hide-sm { display: none; }
  .dial__lab { font-size: 13px; padding: 6px 10px; }
  .dial__lab--e { transform: translate(40%, -50%); } .dial__lab--w { transform: translate(-40%, -50%); }
  .float-wa span { display: none; }
  .float-wa { padding: 0; width: 54px; height: 54px; justify-content: center; right: 14px; bottom: 14px; }
  .rail__ctrl { display: none; }
  .job { width: 82vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  [data-reveal], .js .hero__lede, .js .hero__cta, .js .proof, .js .hero__top, .js .dial { opacity: 1; transform: none; }
  [data-reveal="clip"]::before { display: none; }
  .hero h1 .line > span, .split .ln > span { transform: none; }
  .hero__wind { display: none; }
  .float-wa { transform: none; opacity: 1; }
}
