:root {
  color-scheme: dark;
  --ink: #0b0b0a; --ink-2: #131312; --panel: #1a1a18; --line: #2a2a26;
  --paper: #f5f3ee; --muted: #a9a79f; --gold: #c39a55; --gold-light: #e2c48c; --gold-deep: #8a6a35;
  --font: 'Switzer', Arial, sans-serif; --serif: 'Sentient', Georgia, serif;
  --small: .875rem; --body: 1.0625rem; --lead: clamp(1.125rem,1.5vw,1.45rem);
  --heading: clamp(2.9rem,6vw,6.2rem); --display: clamp(4.4rem,13vw,13.5rem);
  --gutter: clamp(20px,5vw,80px); --ease: cubic-bezier(.16,1,.3,1); --ease-io: cubic-bezier(.76,0,.24,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 var(--body)/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
h1, h2 { line-height: .98; letter-spacing: -.055em; }
h2 { font-size: var(--heading); }
h3 { font-size: var(--lead); line-height: 1.2; letter-spacing: -.03em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.035em; color: var(--gold-light); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 6px; }
.shell { width: calc(100% - var(--gutter)*2); max-width: 1480px; margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.skip-link { position: fixed; left: 20px; top: 16px; padding: 12px 20px; z-index: 300; color: var(--ink); background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* Loader */
.loader { display: none; }
.js.is-loading .loader { display: flex; animation: loader-fallback 0s 5s forwards; }
@keyframes loader-fallback { to { visibility: hidden; } }
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); flex-direction: column; justify-content: flex-end; padding: var(--gutter); transition: clip-path 1s var(--ease-io); clip-path: inset(0 0 0 0); }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.loader-word { font-size: clamp(42px,8vw,120px); font-weight: 600; letter-spacing: -.08em; line-height: .9; color: var(--gold); }
.loader-word i { font-style: normal; color: var(--paper); }
.loader-count { font-family: var(--serif); font-style: italic; font-size: clamp(60px,14vw,220px); line-height: .8; color: var(--paper); font-variant-numeric: tabular-nums; }
.loader-bar { height: 1px; background: var(--line); margin-top: 28px; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--gold); }

/* Cursor, grain, progress */
.cursor { display: none; }
.has-cursor .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 150; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold-light); pointer-events: none; mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s; will-change: transform; }
.has-cursor .cursor.is-link { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: var(--paper); }
.has-cursor .cursor.is-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--gold); mix-blend-mode: normal; }
.cursor-label { font-size: 13px; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-label { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label { cursor: none; }
.grain { position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); } 60% { transform: translate(-4%,-2%); } 80% { transform: translate(3%,3%); } }
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg,var(--gold-deep),var(--gold-light)); transform-origin: 0 50%; transform: scaleX(var(--progress,0)); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: transform .5s var(--ease), background-color .4s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--ink) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-hidden { transform: translateY(-100%); }
.navigation { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { font-size: 28px; font-weight: 600; letter-spacing: -.08em; line-height: 1; color: var(--gold); }
.wordmark .dot, .footer-wordmark .dot { color: var(--paper); }
.nav-links { display: flex; align-items: center; gap: clamp(22px,3vw,44px); font-size: var(--small); }
.nav-links a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.nav-links a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-index { font-size: 10px; color: var(--gold); font-variant-numeric: tabular-nums; }
.nav-contact { gap: 18px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; transition: background-color .3s, color .3s, border-color .3s; }
.nav-contact:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px 6px; border: 0; background: none; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 7px auto; background: var(--paper); transition: transform .35s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Buttons */
.button { position: relative; display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 58px; padding: 16px 26px; border-radius: 999px; font-weight: 500; font-size: var(--small); overflow: hidden; isolation: isolate; transition: color .4s var(--ease); }
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.button:hover::before { transform: none; }
.button span, .text-link span { display: inline-block; font-size: 20px; line-height: 1; transition: transform .45s var(--ease); }
.button:hover span, .text-link:hover span { transform: translate(3px,-3px) rotate(0deg); }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold::before { background: var(--paper); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark::before { background: var(--paper); }
.button-dark:hover { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: var(--small); font-weight: 500; background: none; border: 0; padding: 0; color: inherit; background-image: linear-gradient(currentColor,currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 85%; transition: background-size .5s var(--ease); }
.text-link:hover { background-size: 100% 1px; }
[data-magnetic] { will-change: transform; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: 120px; }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-glow { position: absolute; width: 70vmax; height: 70vmax; left: 50%; top: 40%; translate: -50% -50%; background: radial-gradient(circle, rgba(195,154,85,.22), transparent 60%); filter: blur(20px); pointer-events: none; transform: translate(var(--gx,0), var(--gy,0)); transition: transform 1.2s var(--ease); }
.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(48px,7vh,90px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); background: color-mix(in srgb,var(--ink) 60%,transparent); backdrop-filter: blur(6px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5bd38a; box-shadow: 0 0 0 0 rgba(91,211,138,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(91,211,138,0); } 100% { box-shadow: 0 0 0 0 rgba(91,211,138,0); } }
.hero-title { font-size: var(--display); font-weight: 500; line-height: .9; letter-spacing: -.07em; margin: 34px 0 40px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .serif { letter-spacing: -.05em; padding-right: .08em; }
.word { display: inline-block; }
.char { display: inline-block; will-change: transform; }
.js .hero-title .char { transform: translateY(110%) rotate(6deg); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 32ms + 150ms); }
.js.is-ready .hero-title .char { transform: none; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero-copy { max-width: 30ch; font-size: var(--lead); line-height: 1.45; color: #d9d6cd; }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; padding: 0 .12em .08em 0; margin-bottom: -.08em; color: var(--gold-light); font-family: var(--serif); font-style: italic; white-space: nowrap; }
.rw { grid-area: 1 / 1; opacity: 0; transform: translateY(70%); filter: blur(4px); transition: transform .9s var(--ease), opacity .6s var(--ease), filter .7s var(--ease); }
.rw.is-active { opacity: 1; transform: none; filter: none; }
.rw.is-leaving { opacity: 0; transform: translateY(-70%); filter: blur(4px); }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-scroll { position: absolute; right: var(--gutter); top: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.hero-scroll i { width: 1px; height: 70px; background: linear-gradient(var(--gold),transparent); animation: drip 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; background: var(--ink-2); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; font-size: clamp(28px,4.4vw,64px); font-weight: 500; letter-spacing: -.05em; line-height: 1; will-change: transform; animation: marquee 32s linear infinite; }
.js-motion .marquee-track { animation: none; }
.marquee-track b { color: var(--gold); font-size: .6em; font-weight: 400; }
.marquee-track span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Manifesto */
.manifesto { padding-block: clamp(110px,16vw,220px); display: grid; grid-template-columns: .3fr 1fr; gap: 40px; }
.manifesto .eyebrow { align-self: start; margin-top: 18px; }
.manifesto-text { font-size: clamp(30px,4.3vw,66px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; }
.manifesto-text .mw { color: var(--paper); transition: color .4s; }
.js-motion .manifesto-text .mw { color: #34332f; }
.js-motion .manifesto-text .mw.is-lit { color: var(--paper); }
.js-motion .manifesto-text .mw.is-lit.is-gold { color: var(--gold-light); font-family: var(--serif); font-style: italic; font-weight: 400; }

/* Work */
.work { position: relative; background: var(--ink); }
.work-sticky { overflow: hidden; }
.work-track { display: flex; flex-direction: column; gap: 90px; width: calc(100% - var(--gutter)*2); max-width: 1480px; margin-inline: auto; padding-block: 40px 140px; }
.h-scroll .work-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.h-scroll .work-track { flex-direction: row; align-items: center; gap: 8vw; width: max-content; max-width: none; margin: 0; padding: 0 var(--gutter); will-change: transform; }
.work-panel { flex: none; }
.work-intro h2 { margin: 26px 0 30px; }
.work-intro p { max-width: 34ch; color: var(--muted); }
.h-scroll .work-intro { width: min(560px,38vw); }
.work-hint { display: none; margin-top: 44px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.h-scroll .work-hint { display: inline-flex; gap: 10px; }
.work-hint i { font-style: normal; animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.case { display: grid; grid-template-columns: 1fr; gap: 40px; }
.h-scroll .case { width: min(1280px,86vw); grid-template-columns: 1.65fr .8fr; align-items: center; gap: 4vw; }
.case-media { position: relative; perspective: 1400px; }
.case-frame { position: relative; background: #000; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s; box-shadow: 0 40px 120px -40px rgba(195,154,85,.25); }
.case-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,.08), transparent 40%); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding-inline: 14px; background: #0f0f0e; border-bottom: 1px solid var(--line); }
.browser-bar>span:not(.browser-title) { width: 9px; height: 9px; background: #3a3a35; border-radius: 50%; }
.browser-title { margin: auto; padding-right: 40px; font-size: 11px; color: var(--muted); }
.case-screen { overflow: hidden; aspect-ratio: 1.6; }
.case-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease), opacity .45s; }
.case:hover .case-screen img { transform: scale(1.03); }
.case-screen img.is-swapping { opacity: 0; }
.case-picker { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; background: #0f0f0e; border-top: 1px solid var(--line); }
html:not(.js) .case-picker, html:not(.js) .project-choice, html:not(.js) [data-dialog] { display: none; }
.case-picker button { border: 1px solid var(--line); border-radius: 999px; min-height: 36px; padding: 6px 14px; font-size: 13px; background: transparent; color: var(--muted); transition: color .25s, background-color .25s, border-color .25s; }
.case-picker button:hover { color: var(--paper); border-color: #55534c; }
.case-picker button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.case-phone { position: absolute; width: 21%; right: -5%; bottom: -10%; border-radius: 18px; border: 5px solid #1d1d1b; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: translateY(var(--phone,0px)) rotate(4deg); transition: transform .8s var(--ease); }
.case-number { font-family: var(--serif); font-style: italic; color: var(--gold-light); font-size: 18px; }
.case-info h3 { font-size: clamp(48px,6.4vw,104px); line-height: .9; letter-spacing: -.065em; margin: 14px 0 10px; }
.case-sub { color: var(--gold-light); font-size: var(--small); margin-bottom: 22px; }
.case-info>p:not(.case-sub) { color: #cfccc3; max-width: 40ch; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; padding: 0; list-style: none; }
.case-tags li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }
.case-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.work-next { display: flex; flex-direction: column; gap: 30px; }
.h-scroll .work-next { width: min(560px,40vw); padding-right: 6vw; }
.work-next h3 { font-size: clamp(44px,5.5vw,88px); line-height: .95; letter-spacing: -.06em; }
.round-cta { position: relative; display: grid; place-items: center; width: 190px; height: 190px; border-radius: 50%; background: var(--gold); color: var(--ink); text-align: center; font-weight: 500; line-height: 1.2; transition: background-color .4s; }
.round-cta i { position: absolute; top: 34px; right: 40px; font-style: normal; font-size: 22px; transition: transform .45s var(--ease); }
.round-cta:hover { background: var(--paper); }
.round-cta:hover i { transform: translate(4px,-4px); }

/* Services */
.services { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(100px,12vw,170px); color-scheme: light; }
.services .eyebrow, .contact .eyebrow { color: #6b675d; }
.services .serif { color: var(--gold-deep); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 26px 60px; margin-bottom: 70px; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head p { max-width: 36ch; justify-self: end; color: #46443e; }
.service-list { border-top: 1px solid #d4d1c7; }
.service { position: relative; border-bottom: 1px solid #d4d1c7; }
.service::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.service:hover::before, .service[open]::before { transform: scaleY(1); transform-origin: top; }
.service:hover, .service[open] { color: var(--paper); }
.service summary, .service-content { position: relative; z-index: 1; }
.service summary { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; list-style: none; cursor: pointer; padding: 34px 24px; transition: padding .5s var(--ease); }
.service:hover summary { padding-left: 40px; }
.service summary::-webkit-details-marker { display: none; }
.service-num { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 18px; transition: color .3s; }
.service:hover .service-num, .service[open] .service-num { color: var(--gold-light); }
.service h3 { font-size: clamp(30px,4.4vw,68px); line-height: 1; letter-spacing: -.055em; }
.expand-mark { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid currentColor; border-radius: 50%; font-size: 26px; line-height: 1; transition: transform .5s var(--ease); }
.service[open] .expand-mark { transform: rotate(135deg); }
.service-content { display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; padding: 0 24px 36px; }
.service-content p { grid-column: 2; max-width: 50ch; color: #cfccc3; }
.service-content .text-link { grid-column: 2; color: var(--gold-light); justify-self: start; }
.services a:focus-visible, .services summary:focus-visible { outline-color: var(--gold-deep); }
.service-float { position: fixed; left: 0; top: 0; z-index: 40; width: 340px; aspect-ratio: 1.6; pointer-events: none; border-radius: 12px; overflow: hidden; opacity: 0; transform: translate(-50%,-50%) scale(.6) rotate(-6deg); transition: opacity .35s, transform .5s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.service-float img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.service-float.is-visible { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(-3deg); }

/* Process */
.process { padding-block: clamp(110px,13vw,190px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; }
.process-head { align-self: start; position: sticky; top: 140px; }
.process-head h2 { margin: 26px 0 30px; }
.process-head p { max-width: 36ch; color: var(--muted); }
.process-list { position: relative; list-style: none; padding: 0 0 0 54px; margin: 0; }
.process-list::before, .process-list::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.process-list::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--line-progress,1)); }
.process-list li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding-block: 44px; border-bottom: 1px solid var(--line); }
.process-list li::before { content: ""; position: absolute; left: -59px; top: 54px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); transition: background-color .4s; }
.process-list li.is-active::before { background: var(--gold); box-shadow: 0 0 20px var(--gold); }
.process-num { font-family: var(--serif); font-style: italic; font-size: clamp(36px,4vw,56px); line-height: 1; color: var(--gold-light); }
.process-list h3 { font-size: clamp(26px,2.6vw,38px); margin-bottom: 12px; }
.process-list p { color: var(--muted); max-width: 40ch; }

/* Contact */
.contact { position: relative; background: var(--gold); color: var(--ink); padding-block: clamp(100px,12vw,170px); color-scheme: light; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -20vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 60%); pointer-events: none; }
.contact .serif { color: var(--ink); }
.contact .eyebrow::before { background: var(--ink); }
.contact-layout { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.contact h2 { font-size: clamp(3.4rem,8vw,8.6rem); margin-top: 24px; }
.contact-lead { margin-top: 32px; font-size: var(--lead); max-width: 28ch; }
.project-choice { margin: 0 0 26px; border: 0; padding: 0; min-width: 0; }
.project-choice legend { padding: 0; font-size: var(--body); font-weight: 500; margin-bottom: 18px; }
.choice-options { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-options label { position: relative; cursor: pointer; }
.choice-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-options span { display: flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid rgba(11,11,10,.35); border-radius: 999px; font-size: var(--small); transition: background-color .25s, color .25s, border-color .25s; }
.choice-options label:hover span { border-color: var(--ink); }
.choice-options input:checked+span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice-options input:focus-visible+span { outline: 2px solid var(--ink); outline-offset: 3px; }
.contact-action .button { width: 100%; min-height: 66px; }
.contact-note { font-size: var(--small); line-height: 1.65; margin-top: 18px; max-width: 40ch; }
.contact a:focus-visible { outline-color: var(--ink); }

/* Footer */
.site-footer { padding-top: 80px; padding-bottom: 30px; }
.footer-wordmark { display: block; font-size: clamp(80px,19.5vw,330px); font-weight: 600; line-height: .9; letter-spacing: -.085em; color: var(--gold); white-space: nowrap; }
.footer-wordmark .char { transition: transform .6s var(--ease), color .3s; }
.js-motion .footer-wordmark .char { transform: translateY(40%); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js-motion .footer-wordmark.is-revealed .char { transform: none; opacity: 1; }
.footer-wordmark .char:hover { transform: translateY(-12%) !important; color: var(--gold-light); transition-delay: 0s; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 15px 25px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--small); color: var(--muted); }
.footer-bottom>a { min-height: 44px; display: inline-flex; align-items: center; }

/* Dialog */
dialog { max-width: 820px; width: calc(100% - 32px); max-height: 90vh; padding: clamp(24px,4vw,52px); background: var(--ink-2); color: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
dialog[open] { animation: dialog-in .6s var(--ease); }
dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
dialog form { margin: 0 0 14px; display: flex; justify-content: flex-end; }
.dialog-close { min-height: 44px; padding: 5px 0 5px 20px; display: flex; align-items: center; gap: 16px; background: none; border: 0; }
.dialog-close span { font-size: 28px; }
dialog h2 { font-size: clamp(36px,5vw,64px); margin-top: 16px; }
dialog>p { margin-top: 22px; color: #cfccc3; }
dialog>img { margin-block: 26px; border-radius: 10px; border: 1px solid var(--line); }
.dialog-note { font-size: var(--small); color: var(--muted) !important; margin: -8px 0 22px !important; }
dialog:not([open]) { display: none; }

/* Legal page */
.legal-page { padding-block: 160px 120px; max-width: 850px; }
.legal-page h1 { font-size: clamp(44px,6vw,80px); margin-bottom: 40px; }
.legal-page p { margin-block: 25px; max-width: 65ch; }
.legal-page .text-link { color: var(--gold-light); }

/* Reveal */
.js-motion [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js-motion [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (max-width:1000px) {
  .navigation { min-height: 76px; } .nav-links { gap: 20px; } .nav-index { display: none; }
  .hero-scroll { display: none; }
  .manifesto { grid-template-columns: 1fr; gap: 26px; }
  .case-phone { width: 24%; right: -2%; }
  .section-head { grid-template-columns: 1fr; } .section-head p { justify-self: start; }
  .process { grid-template-columns: 1fr; gap: 50px; } .process-head { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .service-float { display: none; }
}
@media (max-width:680px) {
  :root { --display: clamp(64px,19vw,110px); --heading: clamp(42px,12vw,64px); --lead: 1.125rem; }
  html { scroll-padding-top: 80px; }
  .navigation { min-height: 72px; flex-wrap: wrap; gap: 0; } .wordmark { font-size: 26px; }
  .nav-links { order: 3; width: 100%; flex-wrap: wrap; padding-bottom: 16px; gap: 8px 22px; }
  .js .menu-toggle { display: block; } .js .nav-links { display: none; }
  .js .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding-block: 12px 24px; font-size: 22px; }
  .js .nav-links.is-open .nav-index { display: inline; }
  .site-header.has-open-menu { background: var(--ink); }
  .nav-contact { justify-content: space-between; margin-top: 12px; }
  .hero { padding-top: 100px; } .hero-title { margin: 26px 0 30px; } .hero-kicker { font-size: 12px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; } .hero-actions { gap: 18px; }
  .marquee { padding-block: 16px; }
  .work-track { gap: 70px; padding-bottom: 100px; }
  .case { gap: 34px; } .case-frame { border-radius: 10px; } .browser-bar { height: 26px; } .case-picker button { font-size: 12px; padding-inline: 11px; }
  .case-phone { width: 28%; right: 2%; bottom: auto; top: 12%; border-width: 3px; border-radius: 12px; }
  .round-cta { width: 160px; height: 160px; }
  .service summary { grid-template-columns: 34px 1fr auto; gap: 12px; padding: 26px 8px; } .service:hover summary { padding-left: 14px; }
  .service h3 { font-size: 30px; } .expand-mark { width: 42px; height: 42px; font-size: 22px; }
  .service-content { grid-template-columns: 34px 1fr; gap: 12px; padding: 0 8px 28px; }
  .process-list { padding-left: 34px; } .process-list li { grid-template-columns: 1fr; gap: 10px; padding-block: 32px; } .process-list li::before { left: -39px; top: 42px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  dialog .button { width: 100%; gap: 10px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .grain { display: none; }
}
