@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 {
  /* One dark theme for the whole site (brand choice: cinematic, matches the logo on dark). */
  --paper: #0B0E14;       /* page background */
  --paper-2: #11151D;     /* tinted section / surface */
  --ink: #0B0E14;
  --ink-2: #151A23;       /* raised surface */
  --text: #EEF1F6;
  --muted: #A3ABBA;
  --line: rgba(238, 241, 246, .12);
  --accent: #7C95FF;      /* brand blue, lightened from #5B7CFA for AA contrast on dark */
  --accent-2: #38BDF8;
  --on-accent: #0B0E14;
  --ok: #5BD49A;
  --err: #FF8A80;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: Geist, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
.ink { background: var(--paper-2); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 160px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.label { font: 500 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 40ch; }
.display { font-size: clamp(2.6rem, 7.2vw, 6.4rem); line-height: .96; letter-spacing: -.05em; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -.025em; line-height: 1.1; }
.accent { color: var(--accent); }

/* Signature: the "trace" — a section heading wired to a node, echoing the logo's connected arcs */
.trace { display: flex; align-items: center; gap: 12px; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.trace::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, var(--line), transparent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; background: var(--accent); color: var(--on-accent); font: 500 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.btn::after { content: "→"; transition: transform .3s var(--ease); }
.btn:active { transform: scale(.98); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn:hover::after { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost::after { content: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-sm::after { content: none; }
.link-arrow { display: inline-flex; gap: .5em; align-items: center; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { border-color: var(--accent); }
.link-arrow:hover::after { transform: translateX(4px); }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; font-size: 1.0625rem; }
.logo-mark { width: 28px; height: 30px; color: var(--accent); --accent-2: #38BDF8; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: .9375rem; color: inherit; opacity: .8; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current] { opacity: 1; }
.nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-toggle i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle i:first-of-type { top: 18px; } .menu-toggle i:last-of-type { top: 24px; }
.menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { padding: 8px var(--gutter) 28px; border-top: 1px solid var(--line); background: var(--paper); color: var(--text); }
.mobile-menu li a { display: block; padding: 14px 0; font-size: 1.5rem; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; width: 100%; }
@media (max-width: 900px) {
  .nav, .header-inner > .btn { display: none; }
  .menu-toggle { display: block; }
}

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lede { margin: 28px 0 36px; }
.hero-meta { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero-meta div { padding: 20px 20px 0 0; }
.hero-meta strong { display: block; font-weight: 500; font-size: 1.0625rem; letter-spacing: -.01em; }
.hero-meta span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div { padding: 16px 0; border-bottom: 1px solid var(--line); }
}

/* Fit list */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.rows > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows .n { font: 500 .8125rem/1.6 var(--mono); color: var(--accent); }
.rows h3 { font-size: 1.1875rem; letter-spacing: -.015em; line-height: 1.3; margin-bottom: 4px; }
.rows p { color: var(--muted); margin: 0; }

/* Offer */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 32px 0; }
.facts div { background: var(--paper); padding: 18px; }
.ink .facts div { background: var(--ink); }
.facts strong { display: block; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.03em; }
.facts span { font: .75rem/1.3 var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.checklist li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent); }
.checklist li::after { content: ""; position: absolute; left: 8.5px; top: 32px; bottom: -14px; width: 1px; background: var(--line); }
.checklist li:last-child::after { content: none; }
.checklist strong { font-weight: 500; }

/* Work */
.work-list { display: grid; gap: clamp(72px, 10vw, 140px); }
.work-item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.work-item:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.work-item:nth-child(even) .work-media { order: 2; }
@media (max-width: 900px) { .work-item, .work-item:nth-child(even) { grid-template-columns: 1fr; } .work-item:nth-child(even) .work-media { order: 0; } }
.work-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.work-media img, .work-media svg { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1s var(--ease); }
.work-media:hover img, .work-media:hover svg { transform: scale(1.025); }
.work-body .label { margin-bottom: .75rem; }
.work-body h3 { margin-bottom: 16px; }
.work-body p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 24px; }
.chips li { font: .75rem/1 var(--mono); padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.stat-row { display: flex; flex-wrap: wrap; gap: 24px 40px; margin: 20px 0; }
.stat-row strong { display: block; font-size: 1.75rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.stat-row span { font-size: .875rem; color: var(--muted); }

/* Status table (current engagements) */
.engagements li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }
.engagements li:last-child { border-bottom: 1px solid var(--line); }
.engagements .status { font: .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--accent); text-align: right; }
.engagements p { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 720px) { .engagements li { grid-template-columns: 1fr; gap: 4px; } .engagements .status { text-align: left; } }

/* Services index */
.svc { display: grid; grid-template-columns: 80px minmax(0, 4fr) minmax(0, 5fr); gap: 24px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc .n { font: 500 .8125rem/2 var(--mono); color: var(--accent); }
.svc .outcome { font-size: 1.0625rem; margin-bottom: 12px; }
.svc ul { color: var(--muted); font-size: .9375rem; }
.svc ul li::before { content: "— "; color: var(--accent); }
@media (max-width: 800px) { .svc { grid-template-columns: 1fr; gap: 8px; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps li { padding: 28px 24px 0 0; border-top: 1px solid var(--line); position: relative; }
.steps li::before { counter-increment: s; content: "0" counter(s); position: absolute; top: -6px; left: 0; background: var(--paper); padding-right: 10px; font: 500 .75rem/1 var(--mono); color: var(--accent); }
.ink .steps li::before { background: var(--ink); }
.steps h3 { font-size: 1.375rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .9375rem; margin: 0; }
.steps .when { display: block; font: .75rem/1.4 var(--mono); color: var(--muted); margin-bottom: 10px; letter-spacing: .03em; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.founder-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; align-self: start; }
.monogram { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--line); color: var(--text); font-size: 2rem; letter-spacing: -.04em; margin-bottom: 20px; }
.founder-card dl { margin: 20px 0 0; display: grid; gap: 12px; }
.founder-card dt { font: .6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.founder-card dd { margin: 4px 0 0; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; font-size: 1.1875rem; letter-spacing: -.015em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--mono); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 64ch; padding-bottom: 12px; }

/* Final CTA */
.cta-final { text-align: left; }
.cta-final .display { max-width: 14ch; margin-bottom: 32px; }

/* Article (case study / legal) */
.article-head { padding: clamp(48px, 8vw, 112px) 0 clamp(32px, 5vw, 64px); }
.article-head .display { max-width: 16ch; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; letter-spacing: -.015em; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { padding: 6px 0 6px 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose a { color: var(--accent); }
.figure { margin: 0 0 clamp(40px, 6vw, 80px); }
.figure .work-media { aspect-ratio: auto; }
.figure .work-media img { height: auto; }
.figure figcaption { margin-top: 12px; font: .8125rem/1.5 var(--mono); color: var(--muted); }
.meta-table { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 72px); }
.meta-table div { padding: 16px 16px 16px 0; }
.meta-table dt { font: .6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.meta-table dd { margin: 0; }
@media (max-width: 720px) { .meta-table { grid-template-columns: 1fr 1fr; } }
.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 16px; color: var(--muted); font-size: .9375rem; }

/* Form */
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: .9375rem; margin-bottom: 8px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .hint { font-size: .8125rem; color: var(--muted); margin: 6px 0 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper-2); border: 1px solid rgba(238,241,246,.22); border-radius: 10px; padding: 13px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .error { color: var(--err); font-size: .875rem; margin: 6px 0 0; }
.field .error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 16px 18px; }
.form-status:empty { display: none; }
.form-status.is-error { background: rgba(255,138,128,.12); color: #FFC2BB; }
.form-status.is-error a { color: #fff; }
.form-success { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); background: var(--paper-2); }
.form-success h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn[aria-busy="true"]::after { content: "…"; }

/* Footer */
.site-footer { background: var(--ink); color: #EEF1F6; --muted: #A1A9B8; --line: rgba(238,241,246,.14); --accent: #7C95FF; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 40px; }
.footer-grid p.muted { max-width: 44ch; margin-top: 16px; font-size: .9375rem; }
.footer-links li { padding: 4px 0; }
.footer-links a { text-decoration: none; opacity: .85; } .footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Consent */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto; background: var(--ink); color: #EEF1F6; border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); font-size: .9375rem; }
.consent p { margin: 0; } .consent a { color: #fff; }
.consent div { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn-ghost { background: transparent; color: #EEF1F6; border-color: rgba(238,241,246,.3); }
.consent[hidden] { display: none; }

/* Mobile sticky CTA */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(140%); transition: transform .4s var(--ease); }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
}

/* Reveal — only when JS marks the page as motion-OK */
.motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .flow .pulse { display: none; }
  .flow .spark { stroke-dashoffset: 0; } .flow .spark-area { opacity: .9; }
}
.work-media.is-wide { aspect-ratio: 1280 / 468; align-self: center; background: #fff; }
.form-grid { grid-template-areas: "intro form" "steps form"; grid-template-rows: auto 1fr; row-gap: 40px; }
.fg-intro { grid-area: intro; } .fg-form { grid-area: form; } .fg-steps { grid-area: steps; }
@media (max-width: 900px) { .form-grid { grid-template-areas: "intro" "form" "steps"; } }

/* Offer cards */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.offer-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 14px; background: var(--ink-2); }
.offer-card .h3 { margin: 0; }
.offer-card .label { margin: 0; color: var(--accent); }
.price { margin: 0; color: var(--muted); } .price strong { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; color: var(--text); }
.offer-card .checklist { margin: 8px 0 12px; }
.offer-card .actions { margin-top: auto; }
@media (max-width: 800px) { .offers { grid-template-columns: 1fr; } }

/* Device frames for live website screenshots */
.device { position: relative; display: block; padding: 0 9% 7% 0; }
.device-desktop { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); aspect-ratio: 16 / 10; }
.device-desktop img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.device-phone { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: 18px; overflow: hidden; border: 5px solid #1E2430; background: var(--ink); box-shadow: 0 24px 40px -18px rgba(11,14,20,.5); aspect-ratio: 360 / 779; transition: transform .8s var(--ease); }
.device-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device:hover .device-desktop img { transform: scale(1.02); }
.device:hover .device-phone { transform: translateY(-8px); }
.quote { margin: 0 0 clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 40px); border-left: 2px solid var(--accent); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; letter-spacing: -.015em; }
.quote footer { color: var(--muted); font-size: .9375rem; }

/* ===== Film: a 3D field of real project screens with camera cuts (original take on a product-film language) ===== */
.film { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 72% 28%, #18203A 0%, #0D1220 38%, #0B0E14 72%); }
.film-stage { position: absolute; inset: 0; perspective: 1400px; perspective-origin: 50% 45%; }
.film-field { position: absolute; left: 50%; top: 50%; display: grid; grid-template-columns: repeat(5, 440px); gap: 48px; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(48deg) rotateZ(-22deg) translate3d(0, 0, -300px); will-change: transform; }
.film.is-dolly .film-field { transition: transform 5.5s cubic-bezier(.16, .84, .3, 1); }
.film.is-move .film-field { transition: transform 1.4s cubic-bezier(.65, 0, .2, 1); }
.tile { --z: 0px; position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #151A23; transform: translateZ(var(--z)); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transition: opacity 1s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile.is-phone img { object-fit: contain; background: #151A23; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); background: linear-gradient(160deg, rgba(255, 255, 255, .07), transparent 40%); pointer-events: none; }
.film[data-focus] .tile:not(.is-focus) { opacity: .28; }
.tile img { opacity: 0; transition: opacity 1.2s var(--ease); } .tile img.is-loaded { opacity: 1; }

.svc-film:not(.is-near) .film-field { display: none; }
/* atmosphere: slow light shafts + vignette, no glow */
.film-shafts { position: absolute; inset: -30%; z-index: 1; pointer-events: none; opacity: .55; background: linear-gradient(105deg, transparent 38%, rgba(124, 149, 255, .07) 44%, transparent 50%), linear-gradient(105deg, transparent 56%, rgba(124, 149, 255, .05) 60%, transparent 66%); }
.film-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 14, 20, .96) 0%, rgba(11, 14, 20, .82) 38%, rgba(11, 14, 20, .25) 58%, rgba(11, 14, 20, 0) 70%), linear-gradient(0deg, rgba(11, 14, 20, .92) 0%, rgba(11, 14, 20, 0) 45%); }
.film-cut { position: absolute; inset: 0; z-index: 1; background: #0B0E14; opacity: 0; pointer-events: none; transition: opacity .7s ease-out; }
.film.is-cutting .film-cut { opacity: 1; transition: none; }
.film-caption { position: absolute; right: var(--gutter); bottom: 28px; z-index: 4; display: flex; align-items: center; gap: 14px; font: .8125rem/1.4 var(--mono); color: var(--muted); }
.film-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(11, 14, 20, .6); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.film-toggle::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.film-toggle[aria-pressed="true"]::before { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* Kinetic type: each line rises out of a mask */
.kline { display: block; overflow: hidden; padding-bottom: .08em; }
.kline > span { display: block; }
.motion .kinetic .kline > span { transform: translateY(110%); animation: kline-in .8s cubic-bezier(.2, .7, .1, 1) forwards; animation-delay: calc(.05s + var(--i, 0) * .12s); }
@keyframes kline-in { to { transform: none; } }

/* Hero film */
.hero-film { min-height: min(calc(100dvh - 72px), 920px); display: flex; align-items: flex-end; }
.hero-film .hero-copy { position: relative; z-index: 2; padding-top: 96px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero-film h1 { font-size: clamp(2.4rem, 4.3vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; }
.hero-film .lede { margin: 24px 0 32px; max-width: 44ch; color: #C3CAD6; }

/* Services film: stage pinned while real content scrolls past (no scroll capture) */
.svc-intro { padding: clamp(72px, 10vw, 140px) 0 clamp(32px, 4vw, 56px); }
.svc-intro .h2 { max-width: 20ch; }
.svc-intro p { max-width: 52ch; margin-top: 20px; color: var(--muted); font-size: 1.125rem; }
.svc-film { position: relative; }
.svc-film-sticky { position: sticky; top: 0; height: 100dvh; }
.svc-film-sticky .film { position: absolute; inset: 0; }
.svc-steps { position: relative; z-index: 2; margin-top: -100dvh; }
.svc-step { min-height: 100dvh; display: flex; align-items: center; }
.svc-step .wrap > div { max-width: 460px; }
.svc-step .group { font-size: .9375rem; color: var(--accent); margin-bottom: 14px; }
.svc-step h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 18px; }
.svc-step p { color: #C3CAD6; font-size: 1.0625rem; }
.svc-step ul { color: var(--muted); font-size: .9375rem; margin: 6px 0 22px; }
.svc-step ul li { padding: 3px 0; }
.motion .svc-step .kline > span { transform: translateY(110%); transition: transform .9s cubic-bezier(.2, .7, .1, 1); }
.motion .svc-step.is-active .kline > span { transform: none; }
.motion .svc-step .step-body { opacity: 0; transform: translateY(14px); transition: opacity .7s .15s var(--ease), transform .7s .15s var(--ease); }
.motion .svc-step.is-active .step-body { opacity: 1; transform: none; }
.svc-index { position: absolute; left: var(--gutter); bottom: 28px; z-index: 4; display: flex; gap: 22px; font-size: .8125rem; }
.svc-index button { background: none; border: 0; padding: 6px 0; color: var(--muted); font: inherit; cursor: pointer; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.svc-index button[aria-current="true"] { color: var(--text); border-bottom-color: var(--accent); }
@media (max-width: 900px) {
  .svc-film-sticky { top: 64px; height: 40dvh; z-index: 3; border-bottom: 1px solid var(--line); }
  .svc-steps { margin-top: 0; z-index: 1; }
  .svc-step { min-height: 64dvh; align-items: flex-start; padding: 28px 0 40px; }
  .svc-index { display: none; }
  .film-shade { background: linear-gradient(0deg, rgba(11, 14, 20, .85) 0%, rgba(11, 14, 20, 0) 50%); }
  .hero-film .film-shade { background: linear-gradient(0deg, rgba(11, 14, 20, .97) 30%, rgba(11, 14, 20, .55) 62%, rgba(11, 14, 20, .2) 100%); }
  .film-caption > span { display: none; }
  .film-caption { bottom: auto; top: 16px; }
}

/* Work bento: 4 items, 4 cells, asymmetric */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.bento > article { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2vw, 24px); background: var(--paper-2); }
.bento .b-lg { grid-column: span 7; grid-row: span 2; }
.bento .b-md { grid-column: span 5; }
.bento .b-wide { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(20px, 3vw, 40px); }
.bento h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -.025em; line-height: 1.15; }
.bento p { color: var(--muted); margin: 0; }
.bento .meta { font-size: .875rem; color: var(--accent); margin: 0; }
.bento .caption { font-size: .8125rem; color: var(--muted); }
.bento .device { margin-bottom: 8px; }
.bento .work-media { aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .bento .b-lg, .bento .b-md, .bento .b-wide { grid-column: 1 / -1; grid-row: auto; } .bento .b-wide { grid-template-columns: 1fr; } }

/* Fit grid (2x2 problems) */
.problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px); margin-top: clamp(40px, 6vw, 72px); }
.problems h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 8px; }
.problems p { color: var(--muted); margin: 0; max-width: 42ch; }
@media (max-width: 720px) { .problems { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .film-shafts { animation: none !important; }
  .tile img { transition: none; }
  .film .film-field { transition: none !important; }
}
.crumb { margin: 0 0 20px; font-size: .9375rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a::before { content: "← "; }
.crumb a:hover { color: var(--text); }
.meta-line { color: var(--accent); font-size: .9375rem; margin-bottom: 10px; }
.group-head { color: var(--accent); margin-bottom: 8px; }
.bento .b-half { grid-column: span 6; }
@media (max-width: 900px) { .bento .b-half { grid-column: 1 / -1; } }

/* Over the hero film the header stays clear: blurring a moving 3D scene every frame is expensive. */
.site-header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(11, 14, 20, .85), rgba(11, 14, 20, 0)); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Social content cards (Instagram accounts we create content for) */
.social-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.social-card { display: flex; flex-direction: column; gap: 10px; min-height: 260px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; background: radial-gradient(120% 120% at 100% 0%, rgba(124, 149, 255, .16), transparent 55%), var(--ink-2); transition: transform .4s var(--ease), border-color .4s; }
.social-card:nth-child(2) { background: radial-gradient(120% 120% at 0% 100%, rgba(56, 189, 248, .14), transparent 55%), var(--ink-2); }
.social-card:nth-child(3) { background: linear-gradient(160deg, rgba(124, 149, 255, .1), transparent 60%), var(--ink-2); }
.social-card:hover { transform: translateY(-4px); border-color: rgba(124, 149, 255, .5); }
.social-card .handle { font: .875rem/1.3 var(--mono); color: var(--accent); }
.social-card .brand { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.social-card .what { color: var(--muted); font-size: .9375rem; }
.social-card .go { margin-top: auto; font-weight: 500; }
@media (max-width: 900px) { .social-grid { grid-template-columns: 1fr; } .social-card { min-height: 0; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 20px; font-size: .9375rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

/* Insights */
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.post-card { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); transition: border-color .3s; }
.post-card:hover { border-color: rgba(124, 149, 255, .5); }
.post-card h2 a { text-decoration: none; } .post-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.post-card p { color: var(--muted); margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; color: var(--muted); }
.post-meta span:first-child { color: var(--accent); }
@media (max-width: 800px) { .post-list { grid-template-columns: 1fr; } }
.post-body { padding-bottom: clamp(64px, 9vw, 120px); }
.post-body .prose { font-size: 1.0625rem; }
.post-body .prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.post-body .prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 0 0 1.4em; }
.post-body .prose th, .post-body .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.post-body .prose th { color: var(--muted); font-weight: 500; }
.table-scroll { overflow-x: auto; }
.takeaway { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--paper-2); margin: 0 0 2em; }
.takeaway p:last-child { margin: 0; }
.author { display: flex; gap: 14px; align-items: center; margin-top: 24px; color: var(--muted); font-size: .9375rem; }
.author .monogram { width: 44px; height: 44px; font-size: 1.1rem; margin: 0; }
