@font-face { font-family: 'Unbounded'; src: url(/fonts/unbounded.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrainsmono.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url(/fonts/intertight.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #08080A; --bg2: #101014; --ink: #F3F1EA; --mute: rgba(243,241,234,.62); --line: rgba(243,241,234,.12);
  --lime: #C8FF2E; --orange: #FF4D1F; --violet: #7B61FF; --nog: #F3322C;
  --fd: 'Unbounded', system-ui, sans-serif; --fm: 'JetBrains Mono', ui-monospace, monospace; --fs: 'Inter Tight', system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; }
body { background: var(--bg); font-family: var(--fs); font-size: 17px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.cta :focus-visible { outline-color: var(--bg); }
.skip { position: absolute; left: var(--pad); top: -80px; z-index: 50; background: var(--lime); color: var(--bg); font-weight: 700; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--pad); transition: background .3s, backdrop-filter .3s, padding .3s; }
.nav.scrolled { background: rgba(8,8,10,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 14px; border-bottom: 1px solid var(--line); }
.logo { font-family: var(--fd); font-weight: 900; font-size: 26px; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.logo i { width: 12px; height: 22px; background: var(--lime); border-radius: 2px; animation: blink 1s steps(1) infinite; }
.logo-mark { width: 40px; height: 40px; image-rendering: pixelated; margin-right: 6px; }
@keyframes blink { 50% { opacity: 0; } }
.links { display: flex; gap: 34px; font-family: var(--fm); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.links a:hover { color: var(--ink); }
.nav-r { display: flex; align-items: center; gap: 18px; }
.lang { font-family: var(--fm); font-size: 12px; color: var(--mute); letter-spacing: .08em; display: flex; align-items: center; gap: 2px; }
.lang a { padding: 8px 6px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); font-weight: 600; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fs); font-weight: 700; font-size: 16px; padding: 14px 22px; border-radius: 999px; transition: transform .2s cubic-bezier(.2,.9,.3,1.4), background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.96); }
.btn-lime { background: var(--lime); color: var(--bg); }
.btn-lime:hover { background: #d8ff66; }
.btn-ghost { border: 1px solid rgba(243,241,234,.3); color: var(--ink); background: rgba(8,8,10,.25); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* hero: video stage on top, copy band below; they never overlap */
.hero { position: relative; height: 100svh; min-height: 500px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; background: var(--bg); }
.hero-media { position: absolute; inset: 0 0 auto 0; height: var(--stage, 74%); z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 96%); mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 96%); }
.hero-media video, .hero-media .poster, .hero-media picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media video, .hero-media .poster { object-fit: cover; object-position: 50% 64%; }
.hero-media .poster { transition: opacity .4s; }
.hero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,8,10,.6) 0%, rgba(8,8,10,0) 16%); }
.hero-inner { position: relative; padding: 0 var(--pad) clamp(24px, 4.5vh, 52px); display: grid; gap: clamp(16px, 2.6vh, 28px); }
.eyebrow { font-family: var(--fm); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200,255,46,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200,255,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,255,46,0); } }
h1 { font-family: var(--fd); font-weight: 800; font-size: clamp(34px, min(5.6vw, 9vh), 104px); line-height: .95; letter-spacing: -.035em; }
h1 em { font-style: normal; color: var(--lime); }
.hero-copy { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.lede { font-size: clamp(16px, 1.25vw, 20px); color: var(--mute); max-width: 50ch; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-status { position: absolute; top: clamp(84px, 13vh, 120px); right: var(--pad); z-index: 2; }
.ticker { font-family: var(--fm); font-size: 12px; color: var(--mute); text-align: right; line-height: 1.8; }
.ticker b { color: var(--ink); font-weight: 500; }
.ticker .ok { color: var(--lime); }
.ctrl { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid rgba(243,241,234,.3); background: rgba(8,8,10,.35); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.ctrl:hover { border-color: var(--ink); }
.ctrl svg { width: 14px; height: 14px; fill: currentColor; }

/* reveal: only hides content when JS is running; the hero only slides, so it is visible at first paint */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .hero .rv { opacity: 1; transform: translateY(14px); }
.js .rv.in { opacity: 1; transform: none; }

/* client marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); position: relative; }
.marquee-track { display: flex; width: max-content; animation: slide 32s linear infinite; }
.marquee span { font-family: var(--fd); font-weight: 800; font-size: clamp(22px, 3vw, 40px); padding: 22px 28px; white-space: nowrap; letter-spacing: -.02em; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: '✦'; color: var(--lime); font-size: .6em; }
.marquee span:nth-child(3n) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
@keyframes slide { to { transform: translateX(-50%); } }

section { padding: clamp(80px, 12vw, 160px) var(--pad); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.tag { font-family: var(--fm); font-size: 13px; color: var(--lime); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
h2 { font-family: var(--fd); font-weight: 800; font-size: clamp(32px, 4.6vw, 68px); line-height: 1; letter-spacing: -.03em; max-width: 18ch; }
.sec-head p { color: var(--mute); max-width: 44ch; }

/* how */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; list-style: none; }
.pill { font-family: var(--fm); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.pill:first-child { border-color: var(--lime); color: var(--lime); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.step { border-top: 1px solid var(--line); padding-top: 26px; position: relative; }
.step::before { content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--lime); transition: width 1.2s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.step.in::before { width: 100%; }
.step .day { font-family: var(--fm); font-size: 13px; color: var(--lime); }
.step h3 { font-family: var(--fd); font-weight: 700; font-size: 24px; margin: 14px 0 10px; letter-spacing: -.02em; }
.step p { color: var(--mute); font-size: 15.5px; max-width: 34ch; }

/* services */
.services { background: var(--bg2); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.svc-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.svc h3 { font-family: var(--fd); font-weight: 800; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.03em; }
.svc .n { font-family: var(--fm); font-size: 13px; color: var(--mute); }
.svc > p { color: var(--mute); max-width: 44ch; margin-bottom: 28px; }
.svc ul { list-style: none; border-top: 1px solid var(--line); }
.svc li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .3s, color .3s; }
.svc li b { font-weight: 700; }
.svc li span { color: var(--mute); font-size: 15.5px; }
.svc li:hover { padding-left: 10px; }
.svc li:hover b { color: var(--lime); }
.svc.auto h3 { color: var(--lime); }

/* manual → automatic */
.swap { margin-top: 20px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--bg); }
.swap-head, .swap-row { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; padding: 18px clamp(20px, 3vw, 40px); }
.swap-head { font-family: var(--fm); font-size: 12px; letter-spacing: .1em; color: var(--mute); border-bottom: 1px solid var(--line); }
.swap-head span:last-child { color: var(--lime); }
.swap-row { border-bottom: 1px solid var(--line); font-size: 16.5px; }
.swap-row:last-of-type { border-bottom: 0; }
.swap-row s { color: var(--mute); text-decoration-color: rgba(255,77,31,.7); text-decoration-thickness: 1.5px; }
.swap-row i { font-style: normal; color: var(--lime); font-family: var(--fm); text-align: center; }
.swap-foot { padding: 22px clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); color: var(--mute); font-size: 15px; }
.swap-foot b { color: var(--ink); font-weight: 600; }

/* live work: every card is a real frame from the product, a legibility gradient and one true line */
.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; list-style: none; }
.work-grid > li { grid-column: span 2; display: flex; }
.work-grid > li.wide { grid-column: span 3; }
.work-grid > li.feature { grid-column: 1 / -1; }
.work { position: relative; flex: 1; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--bg2); transition: transform .45s cubic-bezier(.2,.9,.3,1.2), border-color .3s; isolation: isolate; }
.wide .work { aspect-ratio: 16 / 10; }
.work .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); z-index: -2; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.work::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,10,.62) 0%, rgba(8,8,10,.08) 26%, rgba(8,8,10,.18) 46%, rgba(8,8,10,.78) 70%, rgba(8,8,10,.94) 100%); }
.work:hover { transform: translateY(-6px); border-color: rgba(243,241,234,.35); }
.work:hover .art { transform: scale(1.05); }
.work .k { font-family: var(--fm); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,241,234,.86); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.work h3 { font-family: var(--fd); font-weight: 800; font-size: clamp(26px, 2.4vw, 38px); letter-spacing: -.03em; line-height: 1; }
.work .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.work .row p { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: rgba(243,241,234,.84); max-width: 40ch; }
.work .go { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(8,8,10,.45); border: 1px solid rgba(243,241,234,.3); transition: background .3s, color .3s, transform .3s; }
.work:hover .go { background: var(--ink); color: var(--bg); transform: rotate(-45deg); }
.feature .work { aspect-ratio: auto; min-height: 520px; padding: 34px; justify-content: flex-end; }
.feature .work::before { background: linear-gradient(90deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.72) 40%, rgba(8,8,10,.05) 72%); }
.feature .work .k { position: absolute; top: 34px; left: 34px; right: 34px; }
.feature .pig { width: 64px; height: 64px; border-radius: 50%; background: #f3f1ea; padding: 4px; }
.feature h3 { font-size: clamp(34px, 3.6vw, 56px); }
.feature .row { justify-content: flex-start; gap: 28px; }
.feature .row p { max-width: 520px; font-size: 17px; line-height: 1.5; color: rgba(243,241,234,.9); }
.badge { font-family: var(--fm); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(200,255,46,.16); border: 1px solid rgba(200,255,46,.45); color: #dfff8a; }

/* faq */
.faq { background: var(--bg2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { display: block; margin: 0; position: sticky; top: 110px; }
.faq .sec-head p { margin-top: 22px; }
details { border-bottom: 1px solid var(--line); overflow: hidden; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--fd); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--fm); color: var(--lime); font-size: 24px; line-height: 1; transition: transform .3s; flex: none; width: 24px; text-align: center; margin-right: 4px; }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--lime); }
details p { color: var(--mute); padding: 0 48px 26px 0; max-width: 64ch; }

/* cta */
.cta { position: relative; overflow: hidden; background: var(--lime); color: var(--bg); }
.cta .tag { color: var(--bg); }
.cta h2 { font-size: clamp(44px, 8.6vw, 150px); max-width: none; letter-spacing: -.045em; line-height: .9; }
.cta .row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-top: 56px; }
.cta p { max-width: 46ch; font-size: 19px; font-weight: 500; }
.btn-dark { background: var(--bg); color: var(--ink); font-size: 18px; padding: 20px 30px; }
.btn-dark:hover { background: #1c1c22; }
.cta .mail { font-family: var(--fm); font-size: 14px; margin-top: 14px; display: block; color: rgba(8,8,10,.8); }
.cta .mail a { text-decoration: underline; text-underline-offset: 3px; }

footer { padding: 36px var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--fm); font-size: 12px; color: var(--mute); border-top: 1px solid var(--line); letter-spacing: .06em; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer nav a:hover { color: var(--ink); }
.egg { color: var(--nog); cursor: default; }

/* 404 */
.lost { min-height: 100svh; display: grid; align-content: center; gap: 28px; padding: 120px var(--pad) 80px; }
.lost h1 { font-size: clamp(44px, 9vw, 140px); }
.lost p { color: var(--mute); max-width: 52ch; }

@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid > li, .work-grid > li.wide { grid-column: span 1; }
  .work-grid > li.t-full { grid-column: 1 / -1; }
  .t-full .work { aspect-ratio: 16 / 9; }
  .wide:not(.t-full) .work { aspect-ratio: 4 / 5; }
  .work .art { object-position: var(--pos-t, var(--pos, 50% 50%)); }
  .feature .work { min-height: 460px; padding: 26px; }
  .feature .work .k { top: 26px; left: 26px; right: 26px; }
  .feature .work::before { background: linear-gradient(0deg, rgba(8,8,10,.95) 0%, rgba(8,8,10,.74) 50%, rgba(8,8,10,.12) 100%); }
}
@media (max-width: 980px) {
  .links { display: none; }
  .svc-grid, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq .sec-head { position: static; }
  .hero { --stage: 60%; }
  .hero-status { display: none; }
}
@media (max-width: 620px) {
  .nav { padding-block: 16px; }
  .nav .btn { display: none; }
  .logo { font-size: 22px; }
  .logo-mark { width: 34px; height: 34px; }
  .steps, .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid > li.t-full { grid-column: auto; }
  .work, .wide .work, .t-full .work, .wide:not(.t-full) .work { aspect-ratio: 1 / 1; padding: 22px; }
  .work .art { object-position: var(--pos-m, var(--pos-t, var(--pos, 50% 50%))); }
  .feature .work { aspect-ratio: auto; min-height: 580px; padding: 22px; }
  .feature .work::before { background: linear-gradient(0deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.9) 38%, rgba(8,8,10,.2) 62%, rgba(8,8,10,.05) 100%); }
  .badge { font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
  .feature .pig { display: none; }
  .feature .work .k { top: 22px; left: 22px; right: 22px; }
  .feature .row { gap: 16px; }
  .feature .row p { font-size: 16px; }
  .svc li { grid-template-columns: 1fr; gap: 4px; }
  .swap-head, .swap-row { grid-template-columns: 1fr 28px 1fr; font-size: 15px; gap: 6px; }
  .swap-head { letter-spacing: .06em; }
  .hide-s, .br-w { display: none; }
  .hero { --stage: 56%; }
  .ctas .btn { padding: 13px 18px; font-size: 15px; }
  details p { padding-right: 0; }
  footer { justify-content: center; text-align: center; }
}
@media (max-aspect-ratio: 4/5) {
  .hero { height: auto; min-height: 0; display: block; }
  .hero-media { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1080 / 1600; z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60px, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 60px, #000 80%, transparent 100%); }
  .hero-media video, .hero-media .poster { object-position: 50% 0%; }
  .hero-media::after { display: none; }
  .hero-inner { margin-top: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .logo i, .eyebrow::before { animation: none; }
  .js .rv, .js .hero .rv { opacity: 1; transform: none; transition: none; }
  .step::before { width: 100%; transition: none; }
  .btn, .btn:hover, .btn:active, .work, .work:hover, .work .art, .work:hover .art, .work .go, .svc li { transform: none; transition: none; }
}
