/* =========================================================
   RAY VITO / DIGITAL — site styles
   Palette: Apple dark luxury. Titanium + one restrained cool-blue light.
   ========================================================= */
@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #050505;
  --s1: #0d0d0f;
  --s2: #151518;
  --text: #f5f5f7;
  --mute: #a1a1a6;
  --faint: #6e6e73;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass: rgba(22, 22, 26, .55);
  --ti: linear-gradient(135deg, #f4f5f7 0%, #a9adb4 28%, #e6e8ec 46%, #7d828a 70%, #d9dce1 100%);
  --blue: #8fb4ff;
  --blue-dim: rgba(143, 180, 255, .14);
  --err: #ff8a7a;
  --ok: #9fe3b8;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(20px, 4.4vw, 72px);
  --maxw: 1600px;
  --nav-h: 64px;

  --f: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f); font-size: 17px; line-height: 1.55; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: rgba(143, 180, 255, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--text); color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 400; }
.display { font-size: clamp(64px, 15vw, 248px); font-weight: 200; letter-spacing: -.055em; line-height: .86; }
.h1 { font-size: clamp(40px, 6.2vw, 96px); font-weight: 250; letter-spacing: -.045em; line-height: .98; }
.h2 { font-size: clamp(28px, 3.6vw, 52px); font-weight: 300; letter-spacing: -.035em; line-height: 1.04; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.42; color: var(--text); font-weight: 300; letter-spacing: -.018em; }
.dim { color: var(--faint); }
.ti { background: var(--ti); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  --bh: 52px; position: relative; display: inline-flex; align-items: center; gap: 12px; height: var(--bh);
  padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
  will-change: transform; isolation: isolate; overflow: hidden;
}
.btn i { font-style: normal; transition: transform .45s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--light { background: var(--text); color: #050505; }
.btn--light::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(143, 180, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--light:hover::before { transform: translateX(120%); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.btn--sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --bh: 60px; padding: 0 30px; font-size: 16px; }
.iconbtn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; transition: background-color .3s, border-color .3s, transform .2s var(--ease); }
.iconbtn:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .35); }
.iconbtn:active { transform: scale(.94); }
.iconbtn:disabled { opacity: .3; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 100; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 32px), 1120px); height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 12px 0 20px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 20px 60px -20px rgba(0, 0, 0, .7);
  transition: transform .6s var(--ease), opacity .6s var(--ease), background-color .4s;
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__brand { display: flex; align-items: center; gap: 12px; height: 44px; }
.mark { width: 30px; height: auto; fill: url(#none); fill: #e9eaee; }
.nav__word { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav__word span { color: var(--faint); font-weight: 400; }
.nav__links { position: relative; display: flex; gap: 2px; }
.nav__links a { position: relative; z-index: 1; padding: 9px 15px; font-size: 14px; color: var(--mute); border-radius: 999px; transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__pill { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; opacity: 0; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: rgba(5, 5, 5, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 56px) var(--pad) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(40px, 12vw, 72px); font-weight: 250; letter-spacing: -.045em; line-height: 1.12; border-bottom: 1px solid var(--line); padding: 6px 0;
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu__links small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--faint); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .18s; } .menu.is-open .menu__links a:nth-child(2) { transition-delay: .24s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .30s; } .menu.is-open .menu__links a:nth-child(4) { transition-delay: .36s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .42s; }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--mute); font-size: 14px; opacity: 0; transition: opacity .6s .5s; }
.menu.is-open .menu__foot { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__stage { position: absolute; inset: 0; }
.hero__poster { position: absolute; inset: 0; }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero__canvas { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); touch-action: pan-y; }
.hero__canvas.is-live { opacity: 1; }
.hero__canvas canvas { display: block; width: 100% !important; height: 100% !important; outline: none; }
.hero.is-3d .hero__poster { opacity: 0; transition: opacity 1.2s var(--ease) .2s; }
.hero__vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 70% 45%, transparent 40%, rgba(5, 5, 5, .55) 80%, #050505 100%), linear-gradient(to top, #050505 0%, rgba(5, 5, 5, .7) 18%, transparent 46%); }
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(72px, 11vh, 132px); pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { font-size: clamp(42px, 10.6vw, 96px); font-weight: 200; letter-spacing: -.055em; line-height: .95; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--dim > span { background: linear-gradient(100deg, #8a8d93 0%, #d7d9dd 40%, #8a8d93 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { margin-top: 28px; max-width: 34em; color: var(--mute); font-size: clamp(16px, 1.25vw, 19px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__hint { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(72px, 11vh, 132px); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); opacity: 0; transition: opacity 1s; }
.hero.is-3d .hero__hint { opacity: 1; }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.scrollcue { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 4px 10px; }
.scrollcue__line { width: 1px; height: 44px; background: linear-gradient(var(--line-2), var(--line-2)) no-repeat; position: relative; overflow: hidden; }
.scrollcue__line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { top: -40%; } 100% { top: 110%; } }

/* ---------- work ---------- */
.work { position: relative; padding: clamp(120px, 18vh, 220px) 0 clamp(80px, 12vh, 160px); }
.work__head { display: grid; gap: 28px; margin-bottom: clamp(60px, 10vh, 130px); }
.work__head .display { display: flex; align-items: flex-start; }
.work__head sup { font-family: var(--mono); font-size: clamp(14px, 1.4vw, 20px); letter-spacing: 0; font-weight: 400; color: var(--mute); margin: .6em 0 0 .5em; }
.work__note { max-width: 46ch; color: var(--mute); font-size: 15px; }
@media (min-width: 1024px) { .work__head { grid-template-columns: 1fr auto; align-items: end; } .work__head .eyebrow { grid-column: 1 / -1; } }

.showcases { display: grid; gap: clamp(80px, 16vh, 200px); }
.show { position: relative; }
.show__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .show__grid { grid-template-columns: minmax(300px, 4.3fr) 7.7fr; gap: 5vw; } .show:nth-child(even) .show__info { order: 2; } }
.show__n { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .12em; display: flex; gap: 14px; align-items: center; }
.show__n::after { content: ''; flex: 0 0 48px; height: 1px; background: var(--line-2); }
.show__title { margin-top: 22px; font-size: clamp(36px, 4.4vw, 72px); font-weight: 250; letter-spacing: -.045em; line-height: 1; }
.show__tag { margin-top: 14px; color: var(--mute); font-size: 18px; letter-spacing: -.015em; }
.show__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.badge { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.badge--concept { color: var(--text); border-color: rgba(143, 180, 255, .35); background: var(--blue-dim); }
.badge--concept::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.show__desc { margin-top: 26px; color: var(--mute); max-width: 44ch; }
.show__sig { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.show__sig b { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.show__roles { margin-top: 16px; font-size: 14px; color: var(--faint); }
.show__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* 3D device stage */
.stage { position: relative; perspective: 1800px; perspective-origin: 50% 40%; aspect-ratio: 16 / 11; }
.stage__rig { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.device { position: absolute; transform-style: preserve-3d; }
.device--desk { left: 0; top: 4%; width: 88%; }
.device--phone { right: 0; bottom: 0; width: 23%; transform: translateZ(90px); }
.browser { border-radius: 14px; overflow: hidden; background: #111114; border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .12) inset; }
.browser__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: linear-gradient(#1b1b1f, #141417); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c31; }
.browser__url { margin-left: 10px; flex: 1; max-width: 300px; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-family: var(--mono); font-size: 9.5px; color: var(--faint); display: flex; align-items: center; padding: 0 8px; overflow: hidden; white-space: nowrap; }
.browser img, .phone img { width: 100%; height: auto; background: var(--s2); }
.phone { border-radius: 13% / 6.2%; padding: 3.6%; background: linear-gradient(145deg, #3a3b40, #121214 40%, #2a2b30); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.phone__screen { border-radius: 10% / 4.8%; overflow: hidden; position: relative; aspect-ratio: 390 / 844; background: var(--s2); }
.phone__screen img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: top; }
.phone__island { position: absolute; z-index: 2; top: 2.2%; left: 50%; transform: translateX(-50%); width: 30%; height: 3.2%; border-radius: 99px; background: #000; }
.stage__glow { position: absolute; inset: 10% 5% -10%; background: radial-gradient(50% 50% at 50% 60%, var(--glowc, rgba(143, 180, 255, .16)), transparent 70%); filter: blur(30px); transform: translateZ(-120px); pointer-events: none; }
.stage__floor { position: absolute; left: 6%; right: 6%; bottom: -6%; height: 12%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .7), transparent 70%); transform: translateZ(-40px); }

/* index head + view toggle */
.index-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: clamp(120px, 20vh, 240px); margin-bottom: 44px; }
.index-head .h2 { margin-top: 18px; max-width: 18ch; }
.viewtoggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--s1); }
.viewtoggle button { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; color: var(--mute); transition: background-color .3s, color .3s; }
.viewtoggle button.is-on { background: var(--text); color: #050505; }

/* draggable rail */
.rail { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; outline: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; }
.rail.is-drag .card { pointer-events: none; }
.rail__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding: 10px var(--pad) 30px; width: max-content; }
.card { --tilt: 0deg; position: relative; flex: 0 0 auto; width: clamp(250px, 26vw, 400px); transform: perspective(1200px) rotateY(var(--tilt)); transition: transform .5s var(--ease); }
.card a { display: block; border-radius: 18px; }
.card__img { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--s2); border: 1px solid var(--line); }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.02); transition: transform 1.1s var(--ease); -webkit-user-drag: none; user-select: none; }
.card a:hover .card__img img { transform: scale(1.07); }
.card__img::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.card__badge { position: absolute; z-index: 2; top: 14px; left: 14px; }
.card__cap { padding: 18px 4px 0; }
.card__n { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.card__dot { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.card__dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
html.motion .card { opacity: 0; translate: 70px 0; transition: transform .5s var(--ease), opacity 1s var(--ease) var(--d, 0ms), translate 1.3s var(--ease) var(--d, 0ms); }
html.motion .rail.is-in .card { opacity: 1; translate: 0 0; }
.card__n { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: .1em; }
.card__t { margin-top: 6px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; }
.card__i { margin-top: 4px; font-size: 13.5px; color: var(--mute); }
.card--ph .card__img { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--s1) 0 12px, var(--s2) 12px 24px); }
.card--ph .card__img svg { width: 34%; fill: #2a2b30; }
.card--ph .card__img::after { display: none; }
.rail__controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.rail__progress { flex: 1; max-width: 420px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.rail__progress span { position: absolute; inset: 0; background: var(--text); transform-origin: left; transform: scaleX(.1); }
.rail__btns { display: flex; gap: 10px; }

/* list view */
.list { position: relative; }
.list__rows { border-top: 1px solid var(--line); }
.list__rows li { border-bottom: 1px solid var(--line); }
.list__rows a, .list__rows .list__ph { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 22px 4px; transition: padding .5s var(--ease), color .3s; }
.list__rows a:hover { padding-left: 16px; }
.list__rows .ln { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.list__rows .lt { font-size: clamp(20px, 2.3vw, 34px); font-weight: 300; letter-spacing: -.03em; }
.list__rows .li { color: var(--mute); font-size: 14px; text-align: right; }
.list__rows .lx { display: none; }
@media (min-width: 768px) { .list__rows a, .list__rows .list__ph { grid-template-columns: 60px 1.4fr 1fr .8fr 120px; } .list__rows .lx { display: block; color: var(--faint); font-size: 14px; } .list__rows .li { text-align: left; } }
.list__ph { color: var(--faint); }
.list__peek { position: fixed; z-index: 50; top: 0; left: 0; width: 320px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .3s, transform .4s var(--ease); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .8); }
.list__peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.list__peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (hover: none) { .list__peek { display: none; } }

/* ---------- about ---------- */
.about { padding: clamp(100px, 16vh, 200px) 0; border-top: 1px solid var(--line); background: linear-gradient(var(--bg), var(--s1)); }
.about__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 5fr 7fr; gap: 7vw; align-items: start; } .portrait { position: sticky; top: 110px; } }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(70% 60% at 30% 20%, rgba(143, 180, 255, .1), transparent 60%), linear-gradient(160deg, #18181c, #0b0b0d); display: grid; place-items: center; }
.portrait__frame::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 14px 14px; mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent); -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent); }
.portrait__mark { position: relative; width: 38%; fill: url(#none); fill: #2b2c31; filter: drop-shadow(0 1px 0 rgba(255,255,255,.08)); }
.portrait figcaption { position: absolute; left: 20px; bottom: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.about__copy .h1 { margin: 22px 0 40px; }
.about__copy p + p { margin-top: 20px; }
.about__copy > p:not(.lead):not(.eyebrow) { color: var(--mute); max-width: 56ch; }
.about__copy .lead { max-width: 30em; margin-bottom: 28px; }
.facts { margin-top: 56px; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding-top: 4px; }

/* ---------- services ---------- */
.services { padding: clamp(100px, 16vh, 200px) 0; background: var(--s1); }
.services__head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 64px; }
.svc { border-top: 1px solid var(--line-2); }
.svc__item { border-bottom: 1px solid var(--line-2); }
.svc__row { position: relative; width: 100%; display: grid; grid-template-columns: 48px 1fr 40px; align-items: center; gap: 16px; padding: clamp(22px, 3.2vw, 40px) 0; text-align: left; }
.svc__row::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.svc__row:hover::before, .svc__row[aria-expanded="true"]::before { transform: scaleX(1); }
.svc__n { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.svc__t { font-size: clamp(26px, 4.6vw, 72px); font-weight: 250; letter-spacing: -.045em; line-height: 1; transition: transform .6s var(--ease), color .3s; }
.svc__row:hover .svc__t { transform: translateX(10px); }
.svc__plus { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); justify-self: end; transition: transform .6s var(--ease), background-color .3s; }
.svc__plus::before, .svc__plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); }
.svc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.svc__row[aria-expanded="true"] .svc__plus { transform: rotate(180deg); background: rgba(255, 255, 255, .06); }
.svc__row[aria-expanded="true"] .svc__plus::after { transform: translate(-50%, -50%) rotate(0); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc__body > div { overflow: hidden; padding-left: 64px; display: grid; gap: 22px; }
.svc__item.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body p { max-width: 52ch; color: var(--mute); padding-top: 4px; }
.svc__body ul { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 36px; }
.svc__body li { height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--mute); }
@media (min-width: 1024px) { .svc__row { grid-template-columns: 90px 1fr 48px; } .svc__body > div { padding-left: 106px; grid-template-columns: 1fr auto; align-items: start; } }

/* ---------- contact ---------- */
.contact { padding: clamp(110px, 18vh, 220px) 0 clamp(80px, 12vh, 140px); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 180, 255, .09), transparent); pointer-events: none; }
.contact__grid { position: relative; display: grid; gap: 64px; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 6vw; } }
.display--contact { font-size: clamp(46px, 6.6vw, 112px); line-height: .95; letter-spacing: -.05em; margin: 24px 0 30px; max-width: 11ch; }
.contact__intro .lead { color: var(--mute); max-width: 26em; }
.contact__links { margin-top: 44px; display: grid; gap: 4px; }
.contact__links a { display: inline-flex; gap: 10px; align-items: center; font-size: 18px; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact__links a:hover { border-color: var(--text); }
.form { display: grid; gap: 22px; padding: clamp(24px, 3vw, 44px); border-radius: 24px; background: linear-gradient(180deg, rgba(21, 21, 24, .9), rgba(13, 13, 15, .9)); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; align-self: start; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; color: var(--mute); padding: 0; }
.opt { color: var(--faint); font-size: 12px; margin-left: 6px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35);
  font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s, background-color .3s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: #151518; }
.field input::placeholder, .field textarea::placeholder { color: #55555a; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(143, 180, 255, .6); box-shadow: 0 0 0 4px rgba(143, 180, 255, .12); background: rgba(0, 0, 0, .5); }
.field.is-bad input, .field.is-bad textarea { border-color: rgba(255, 138, 122, .7); }
.field__err { font-size: 13px; color: var(--err); min-height: 0; }
.field__err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--mute); cursor: pointer; transition: all .3s var(--ease); }
.chips label:hover span { border-color: rgba(255,255,255,.35); color: var(--text); }
.chips input:checked + span { background: var(--text); color: #050505; border-color: var(--text); }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { justify-self: start; margin-top: 6px; }
.form__submit[disabled] { opacity: .6; pointer-events: none; }
.form__status { font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); } .form__status.is-err { color: var(--err); } .form__status.is-info { color: var(--mute); }
.form.is-sent > *:not(.form__done) { display: none; }
.form__done { display: none; }
.form.is-sent .form__done { display: grid; gap: 16px; padding: 30px 0; }
.form__done svg { width: 56px; height: 56px; }
.form__done h3 { font-size: 34px; font-weight: 300; letter-spacing: -.035em; }
.form__done p { color: var(--mute); }

/* ---------- footer ---------- */
.foot { padding: 80px 0 40px; border-top: 1px solid var(--line); overflow: hidden; }
.foot__big { font-size: clamp(64px, 17.5vw, 300px); font-weight: 600; letter-spacing: -.06em; line-height: .8; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(180deg, #2a2b30, #0d0d0f 85%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: -.04em; }
.foot__row { display: grid; gap: 20px; margin-top: 50px; color: var(--faint); font-size: 14px; }
.foot__row nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot__row nav a { color: var(--mute); padding: 4px 0; } .foot__row nav a:hover { color: var(--text); }
@media (min-width: 1024px) { .foot__row { grid-template-columns: 1fr auto 1fr; align-items: center; } .foot__note { text-align: right; } }

/* ---------- grain + cursor ---------- */
.grain { position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%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%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor .rail { cursor: none; }
  html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
  html.has-cursor .cursor { display: block; }
  .cursor__dot, .cursor__ring { position: fixed; z-index: 400; top: 0; left: 0; pointer-events: none; border-radius: 50%; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--text); mix-blend-mode: difference; }
  .cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, border-color .3s, opacity .3s; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(255,255,255,.6); }
  .cursor.is-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: rgba(245, 245, 247, .95); border-color: transparent; }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .cursor__label { font: 500 12px/1 var(--f); letter-spacing: .02em; color: #050505; opacity: 0; transition: opacity .2s; }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
}

/* ---------- reveal defaults (JS adds motion; content always visible without JS) ---------- */
html.js.motion [data-reveal] { opacity: 0; transform: translateY(24px); }
html.js.motion .hero__title .line > span { transform: translateY(105%); }

/* ---------- responsive ---------- */
@media (min-width: 1000px) { .hero__title { font-size: clamp(56px, 4.9vw, 96px); } .hero__content { max-width: var(--maxw); } .hero__content > * { max-width: 58%; } }
@media (max-width: 999px) {
  .hero { height: auto; min-height: 100vh; min-height: 100svh; padding-top: calc(78px + min(52vw, 36svh)); }
}
@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { width: calc(100% - 24px); top: 12px; padding: 0 6px 0 16px; height: 58px; }
  .hero__hint { display: none; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; min-height: 600px; }
  .hero__poster img { object-position: 50% 0%; }
  .hero__vignette { background: radial-gradient(120% 70% at 50% 30%, transparent 40%, rgba(5, 5, 5, .6) 85%), linear-gradient(to top, #050505 0%, rgba(5, 5, 5, .85) 34%, transparent 60%); }
  .hero__content { padding-bottom: 84px; }
  .hero__eyebrow { margin-bottom: 18px; font-size: 10.5px; }
  .hero__lede { margin-top: 20px; font-size: 15.5px; }
  .hero__ctas { margin-top: 26px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .scrollcue { bottom: 14px; } .scrollcue__line { height: 30px; }
  .stage { aspect-ratio: 16 / 12; order: -1; margin-bottom: 8px; }
  .device--desk { width: 86%; }
  .device--phone { width: 25%; right: 2%; transform: translateZ(36px); }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .svc__row { grid-template-columns: 34px 1fr 36px; gap: 10px; }
  .svc__plus { width: 36px; height: 36px; }
  .svc__body > div { padding-left: 44px; }
  .form__submit { width: 100%; justify-content: center; }
  .menu__foot { justify-content: flex-start; }
}
@media (max-width: 360px) {
  .hero__title { font-size: 38px; }
  .nav__word { font-size: 12px; letter-spacing: .06em; }
  .btn { padding: 0 20px; }
  .card { width: 232px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stage__tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
html.capture .hero__content, html.capture .nav, html.capture .scrollcue, html.capture .grain, html.capture .hero__hint, html.capture .cursor { display: none !important; }
html.capture .hero__vignette { opacity: .7; }
.hero__canvas.is-grab { cursor: grabbing; }
.menu[hidden] { display: none; }
