:root {
  --midnight: #0b0d12;
  --ink2: #12151c;
  --ink3: #181c25;
  --bone: #f4f1ea;
  --lime: #d4ff3d;
  --muted: #8a8f9c;
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.22);
  --font-display: "Jost", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(44px, 7.2vw, 108px); }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 10px; vertical-align: 1px; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }
.section { padding: clamp(72px, 10vw, 140px) var(--gutter); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p.lead { color: var(--muted); font-size: 18px; max-width: 520px; }
.section-head .eyebrow { margin-bottom: 18px; }

/* grain */
.grain { position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0.05; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 240ms ease, backdrop-filter 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 13, 18, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 52px; height: auto; }
.brand .wordmark { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: 0.01em; line-height: 1; color: rgba(244,241,234,0.8); transform: translateY(1px); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { position: relative; opacity: 0.85; transition: opacity 160ms; }
.nav a:hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1px solid var(--line-strong); transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); border-color: var(--bone); }
.btn-lime { background: var(--lime); color: var(--midnight); border-color: var(--lime); }
.btn-lime:hover { background: #e2ff6b; border-color: #e2ff6b; }
.btn-ghost { background: rgba(244,241,234,0.04); }
.btn-lg { padding: 16px 24px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--bone); border-radius: 999px; padding: 10px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; cursor: pointer; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px var(--gutter) 56px; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,13,18,0.55) 0%, rgba(11,13,18,0.18) 35%, rgba(11,13,18,0.55) 70%, rgba(11,13,18,0.96) 100%),
              linear-gradient(90deg, rgba(11,13,18,0.55) 0%, rgba(11,13,18,0) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: end; width: 100%; }
.hero h1 { max-width: 15ch; margin: 22px 0 26px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .sub { max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(244,241,234,0.86); margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-side { display: grid; gap: 14px; justify-items: end; text-align: right; }
.stat-pill { display: inline-grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(11,13,18,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); min-width: 210px; text-align: left; }
.stat-pill b { font-family: var(--font-display); font-weight: 500; font-size: 28px; letter-spacing: -0.03em; line-height: 1; }
.stat-pill span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.scroll-hint { position: absolute; left: var(--gutter); bottom: 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: var(--ink2); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,241,234,0.75); }
.marquee-track i { color: var(--lime); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* work grid */
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.work-card { grid-column: span 2; }
.work-card.wide { grid-column: span 4; }
.work-grid.small { grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.work-grid.small .work-card { grid-column: span 1; }
.work-grid.small .work-card .media { aspect-ratio: 3 / 2; }
.work-grid.small .work-card .info h3 { font-size: 20px; }
.work-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.work-card.wide { grid-column: span 4; }
.work-card.tall { grid-row: span 2; }
.work-card .media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.work-card.wide .media { aspect-ratio: auto; height: 100%; min-height: 380px; }
.work-card.wide { display: grid; }
.work-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 400ms; }
.work-card:hover .media img { transform: scale(1.04); }
.work-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,18,0) 45%, rgba(11,13,18,0.85) 100%); }
.work-card .play { position: absolute; right: 16px; top: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,13,18,0.55); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 160ms, transform 160ms; }
.work-card .play svg { width: 16px; height: 16px; fill: var(--lime); transform: translateX(1px); }
.work-card:hover .play { background: var(--lime); transform: scale(1.06); }
.work-card:hover .play svg { fill: var(--midnight); }
.work-card .info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; display: grid; gap: 6px; }
.work-card .info h3 { font-size: clamp(20px, 1.8vw, 28px); }
.work-card .info .line { color: rgba(244,241,234,0.78); font-size: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.chip { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: rgba(244,241,234,0.85); background: rgba(11,13,18,0.45); }
.chip.lime { border-color: rgba(212,255,61,0.55); color: var(--lime); }
.work-more { margin-top: 28px; display: flex; gap: 12px 28px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 15px; }
.work-more a { color: var(--bone); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color 160ms, color 160ms; }
.work-more a:hover { color: var(--lime); border-color: var(--lime); }

/* formats */
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.format-shelf { display: flex; gap: 18px; align-items: flex-end; justify-content: center; }
.frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--ink2); box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.f916 { width: 150px; aspect-ratio: 9/16; border-radius: 22px; border-width: 2px; }
.frame.f11 { width: 190px; aspect-ratio: 1/1; }
.frame.f169 { width: 300px; aspect-ratio: 16/9; }
.frame-label { display: block; text-align: center; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.formats-copy h2 { margin: 14px 0 18px; }
.formats-copy p { color: var(--muted); max-width: 48ch; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--lime); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { padding: 28px; border-radius: var(--radius); background: var(--ink2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; min-height: 360px; transition: border-color 200ms, transform 200ms; }
.service:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.service .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--lime); }
.service h3 { margin-top: 4px; }
.service p { color: var(--muted); font-size: 15.5px; }
.service ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.service ul li { padding-left: 16px; position: relative; }
.service ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--bone); opacity: 0.5; }
.service .for { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.service .for b { color: var(--bone); font-weight: 500; }

/* process */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--lime); padding-top: 6px; }
.step h4 { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 52ch; }
.promise { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, var(--ink3), var(--ink2)); padding: 32px; position: sticky; top: 110px; }
.promise h3 { margin: 12px 0 18px; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 15.5px; }
.promise li b { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--lime); padding-top: 5px; }
.promise .foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.number { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink2); }
.number b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 4vw, 56px); letter-spacing: -0.04em; line-height: 1; }
.number span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* studio */
.studio { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.founder-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink2); aspect-ratio: 4/5; position: relative; display: grid; place-items: center; }
.founder-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-card .fallback { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 24px; }
.founder-card .fallback svg { width: 140px; }
.founder-card .fallback span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.founder-card .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 10px 14px; border-radius: 12px; background: rgba(11,13,18,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); }
.founder-card .tag b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.founder-card .tag span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.studio-copy h2 { margin: 14px 0 20px; }
.studio-copy p { color: rgba(244,241,234,0.82); margin-bottom: 16px; max-width: 58ch; }
.studio-copy p.q { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; color: var(--bone); border-left: 2px solid var(--lime); padding-left: 18px; margin: 26px 0; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tools .chip { background: transparent; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact h2 { margin: 14px 0 20px; }
.contact p { color: var(--muted); max-width: 46ch; }
.contact-links { margin-top: 26px; display: grid; gap: 10px; font-size: 15.5px; }
.contact-links a { display: inline-flex; gap: 10px; align-items: center; }
.contact-links a span.k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); min-width: 84px; }
.contact-links a:hover { color: var(--lime); }
form { display: grid; gap: 14px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink2); }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--midnight); color: var(--bone); font: inherit; font-size: 15px; outline: none; transition: border-color 160ms; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); }
.field textarea { min-height: 120px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 12.5px; }
.form-ok { display: none; padding: 16px; border-radius: 12px; border: 1px solid rgba(212,255,61,0.4); background: rgba(212,255,61,0.06); }
.hp { position: absolute; left: -9999px; }

/* footer */
footer { padding: 40px var(--gutter) 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; color: var(--muted); font-size: 14px; }
footer .brand svg { width: 44px; } footer .brand .wordmark { font-size: 15px; }
footer nav { display: flex; gap: 20px; }
footer nav a:hover { color: var(--bone); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none; } }

/* responsive */
@media (max-width: 1100px) {
  .work-grid, .work-grid.small { grid-template-columns: 1fr; gap: 12px; }
  .work-card, .work-card.wide, .work-grid.small .work-card { grid-column: span 1; }
  .work-card.wide .media { min-height: 260px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(11,13,18,0.96); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; }
  .nav-toggle { display: inline-block; }
  .site-header { background: rgba(11,13,18,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
  .hero { padding-top: 120px; align-items: flex-end; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { justify-items: start; grid-auto-flow: row; }
  .stat-pill { min-width: 0; width: 100%; }
  .section-head, .formats, .process, .studio, .contact { grid-template-columns: 1fr; }
  .promise { position: static; }
  .format-shelf { flex-wrap: wrap; }
  .frame.f169 { width: 100%; max-width: 360px; }
  footer { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}

/* platform strip */
.platforms { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.platforms-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.platforms-head .muted { font-size: 15px; max-width: 60ch; }
.logo-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.logo-strip li { display: grid; gap: 6px; padding: 22px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink2); text-align: center; }
.logo-word { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.01em; }
.logo-cap { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }

/* more work (collapsed) */
.more-work { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink2); padding: 0 20px; }
.more-work summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.more-work summary::-webkit-details-marker { display: none; }
.more-work summary .eyebrow { margin: 0; }
.more-hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.more-work[open] .more-hint { opacity: 0.6; }
.more-work[open] summary { border-bottom: 1px solid var(--line); }
.more-work .work-grid { padding-bottom: 20px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(4,5,8,0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox .box { width: min(1100px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); position: relative; }
.lightbox iframe, .lightbox video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.lightbox .close { position: absolute; top: 18px; right: 22px; background: var(--bone); color: var(--midnight); border: 0; border-radius: 999px; padding: 10px 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; cursor: pointer; }
.lightbox .caption { position: absolute; left: 24px; bottom: 18px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
