/* Christopher Webb - Custom Cabinetmaker — v3 "workshop editorial"
   Near-black + walnut/brass + cream. Fraunces display, Inter text. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-var-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --black: #0d0b09;
  --char: #161310;
  --char-2: #1f1b17;
  --cream: #f2e9da;
  --cream-2: #e8dcc8;
  --paper: #f7f1e6;
  --brass: #c9a063;
  --brass-2: #e0be86;
  --walnut: #8a5530;
  --ink: #1a1612;
  --mute-d: #a89c8a;   /* muted text on dark */
  --mute-l: #6b6053;   /* muted text on light */
  --line-d: rgba(201, 160, 99, .28);
  --line-l: #d6c8b1;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gut: clamp(20px, 4.5vw, 72px);
  --max: 1400px;
  --ease: cubic-bezier(.16, .84, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--cream); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 350; letter-spacing: -.02em; line-height: 1.02; font-variation-settings: "SOFT" 50, "WONK" 1; }
h2 { font-size: clamp(40px, 6vw, 92px); }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--brass); }
p { margin: 0 0 1em; }
cite { font-style: italic; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--brass); color: var(--black); text-decoration: none; }
.skip-link:focus { top: 12px; }

.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; color: var(--brass); font: 600 12px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.kicker::before { content: ""; width: 44px; height: 1px; background: currentColor; }
.kicker-dark { color: var(--walnut); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: .03em; text-decoration: none; transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn svg path[fill="none"] { fill: none; }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg path[fill="none"] { transform: translateX(3px); transition: transform .35s var(--ease); }
.btn-brass { background: var(--brass); color: var(--black); }
.btn-brass:hover { background: var(--brass-2); box-shadow: 0 18px 40px -16px rgba(201, 160, 99, .7); }
.btn-ghost { border-color: rgba(242, 233, 218, .55); color: var(--cream); background: rgba(13, 11, 9, .25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--cream); background: var(--cream); color: var(--black); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--walnut); }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: color .25s; }
.link:hover { color: var(--walnut); }
.link-light:hover { color: var(--brass-2); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--cream); transition: background .4s var(--ease), box-shadow .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.is-solid { background: rgba(13, 11, 9, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-d); }
.nav-inner { max-width: var(--max); margin: 0 auto; height: 84px; padding: 0 var(--gut); display: flex; align-items: center; gap: 40px; transition: height .4s var(--ease); }
.nav.is-scrolled .nav-inner { height: 70px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand-name { font: 400 22px/1.05 var(--serif); letter-spacing: .01em; }
.brand-tag { margin-top: 4px; color: var(--brass); font: 600 10px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; }
.nav-links { display: flex; gap: 34px; margin-left: auto; }
.nav-links a { position: relative; padding: 6px 0; font-size: 14px; font-weight: 500; letter-spacing: .02em; text-decoration: none; opacity: .88; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-call { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--line-d); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.nav-call svg { width: 15px; height: 15px; fill: var(--brass); }
.nav-call:hover { background: var(--brass); color: var(--black); border-color: var(--brass); }
.nav-call:hover svg { fill: var(--black); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(13,11,9,.94) 0%, rgba(13,11,9,.78) 34%, rgba(13,11,9,.28) 66%, rgba(13,11,9,.12) 100%),
  linear-gradient(0deg, rgba(13,11,9,.95) 0%, rgba(13,11,9,0) 38%),
  linear-gradient(180deg, rgba(13,11,9,.6) 0%, rgba(13,11,9,0) 22%); }
.hero-content { width: 100%; max-width: var(--max); margin: 0 auto; padding: 130px var(--gut) 44px; }
.hero h1 { max-width: 13ch; font-size: clamp(52px, 6.4vw, 108px); line-height: .94; letter-spacing: -.035em; animation: rise 1.2s .15s var(--ease) both; }
.hero h1 em { display: inline-block; margin-top: .06em; }
.hero-lead { max-width: 520px; margin: 32px 0 0; color: #ddd2c1; font-size: clamp(17px, 1.35vw, 20px); animation: rise 1.2s .3s var(--ease) both; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; animation: rise 1.2s .45s var(--ease) both; }
.hero-price { margin: 30px 0 0; color: var(--mute-d); font-size: 14px; animation: rise 1.2s .6s var(--ease) both; }
.hero-price strong { color: var(--cream); font-weight: 600; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-strip { list-style: none; margin: 0; padding: 22px var(--gut); display: flex; justify-content: center; gap: clamp(18px, 4vw, 64px); flex-wrap: wrap; border-top: 1px solid var(--line-d); color: var(--cream-2); font: 600 11.5px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; background: rgba(13, 11, 9, .55); backdrop-filter: blur(6px); }
.hero-strip li { display: flex; align-items: center; gap: 12px; }
.hero-strip li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--brass); }
.hero-cap { position: absolute; right: var(--gut); bottom: 96px; max-width: 300px; margin: 0; padding-left: 16px; border-left: 1px solid var(--brass); color: #cfc4b2; font: italic 300 15px/1.5 var(--serif); }

/* Manifesto (cream, editorial) */
.manifesto { background: var(--paper); color: var(--ink); padding: clamp(96px, 12vw, 180px) var(--gut); }
.manifesto-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; }
.manifesto .kicker { grid-column: 1 / -1; }
.manifesto-title { grid-column: 1 / 11; font-size: clamp(44px, 7.4vw, 118px); line-height: .98; }
.manifesto-title em { color: var(--walnut); }
.manifesto-copy { grid-column: 7 / 13; margin-top: clamp(40px, 5vw, 72px); color: #4a4036; font-size: 19px; }
.dropcap::first-letter { float: left; margin: 6px 12px 0 0; color: var(--walnut); font: 400 78px/.8 var(--serif); }
.index { grid-column: 1 / -1; list-style: none; margin: clamp(64px, 8vw, 120px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.index li { display: grid; grid-template-rows: auto 1fr; gap: 18px; padding: 28px 26px 8px 0; transition: transform .4s var(--ease); }
.index li + li { padding-left: 26px; border-left: 1px solid var(--line-l); }
.index li:hover { transform: translateY(-4px); }
.index span { color: var(--walnut); font: italic 300 44px/1 var(--serif); }
.index h3 { margin-bottom: 10px; font-size: 25px; font-weight: 400; }
.index p { margin: 0; color: var(--mute-l); font-size: 15.5px; line-height: 1.6; }

/* Work — bento */
.work { padding: clamp(96px, 12vw, 170px) var(--gut); background: var(--black); }
.work-head { max-width: var(--max); margin: 0 auto clamp(48px, 6vw, 84px); display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 40px; }
.work-head .kicker { grid-column: 1 / -1; }
.work-sub { max-width: 440px; justify-self: end; margin: 0; color: var(--mute-d); font-size: 18px; }
.bento { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 11vw, 170px); gap: 14px; }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--char); border-radius: 3px; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.92); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,11,9,.85), rgba(13,11,9,0) 45%); opacity: .55; transition: opacity .6s var(--ease); }
.tile figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; color: var(--cream); font: 400 18px/1.3 var(--serif); transform: translateY(8px); opacity: .85; transition: transform .6s var(--ease), opacity .6s; }
.tile:hover img { transform: scale(1.06); filter: saturate(1.05); }
.tile:hover::after { opacity: 1; }
.tile:hover figcaption { transform: none; opacity: 1; }
.t-a { grid-column: 1 / 8; grid-row: span 4; }
.t-b { grid-column: 8 / 13; grid-row: span 4; }
.t-c { grid-column: 1 / 6; grid-row: span 3; }
.t-d { grid-column: 6 / 10; grid-row: span 3; }
.t-e { grid-column: 10 / 13; grid-row: span 3; }
.t-f { grid-column: 1 / 7; grid-row: span 3; }
.t-g { grid-column: 7 / 13; grid-row: span 3; }

/* Before/after slider */
.ba { position: relative; overflow: hidden; background: var(--char); --pos: 50%; touch-action: pan-y; user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--brass); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d0b09'%3E%3Cpath d='M9 6 3 12l6 6V6zm6 0v12l6-6-6-6z'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.ba:hover .ba-knob { transform: translate(-50%, -50%) scale(1.08); }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:focus-within .ba-knob { outline: 2px solid var(--cream); outline-offset: 4px; }
.ba-tag { position: absolute; top: 22px; z-index: 2; padding: 9px 16px; border-radius: 999px; background: rgba(13,11,9,.75); backdrop-filter: blur(6px); color: var(--cream); font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; pointer-events: none; }
.ba-tag-before { left: 22px; }
.ba-tag-after { right: 22px; background: var(--brass); color: var(--black); }

/* Showcase */
.showcase { background: var(--char); padding: clamp(96px, 11vw, 160px) 0 clamp(64px, 7vw, 100px); }
.showcase-head { max-width: var(--max); margin: 0 auto clamp(40px, 5vw, 70px); padding: 0 var(--gut); display: grid; grid-template-columns: 1.4fr 1fr; column-gap: 60px; align-items: end; }
.showcase-head .kicker { grid-column: 1 / -1; }
.showcase-head p:last-child { margin: 0; color: var(--mute-d); font-size: 18px; }
.ba-full { width: 100%; height: min(86vh, 56.25vw); min-height: 360px; }
.showcase-hint { margin: 18px 0 0; text-align: center; color: var(--mute-d); font: 600 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; }

/* Feature project */
.feature { background: var(--paper); color: var(--ink); padding: clamp(96px, 12vw, 170px) var(--gut); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; align-items: center; max-width: none; }
.feature-media { grid-column: 1 / 8; }
.feature-media .ba { aspect-ratio: 4 / 3.2; border-radius: 3px; box-shadow: 0 40px 80px -40px rgba(26, 22, 18, .55); }
.feature-copy { grid-column: 9 / 13; color: #4a4036; }
.feature-copy h2 { margin-bottom: 32px; color: var(--ink); font-size: clamp(36px, 4.4vw, 66px); }
.feature-copy h2 em { color: var(--walnut); }
.feature-pull { margin: 30px 0; padding-left: 22px; border-left: 2px solid var(--brass); color: var(--ink); font: italic 400 clamp(22px, 2vw, 28px)/1.3 var(--serif); }

/* Craft band */
.craft { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 13vw, 200px) var(--gut); }
.craft-bg { position: absolute; inset: 0; z-index: -2; }
.craft-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.craft::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 20% 30%, rgba(13,11,9,.78), rgba(13,11,9,.94)), linear-gradient(90deg, rgba(138,85,48,.25), transparent); }
.craft-inner { max-width: var(--max); margin: 0 auto; }
.craft h2 { max-width: 14ch; font-size: clamp(40px, 6vw, 96px); }
.stats { list-style: none; margin: clamp(64px, 8vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); }
.stats li { padding: 36px 30px 0 0; }
.stats li + li { padding-left: 30px; border-left: 1px solid var(--line-d); }
.stats strong { display: block; color: var(--brass); font: 300 clamp(72px, 10vw, 168px)/.9 var(--serif); letter-spacing: -.04em; }
.stats span { display: block; max-width: 280px; margin-top: 18px; color: #cfc4b2; font-size: 15.5px; line-height: 1.55; }
.craft-note { max-width: 560px; margin: 56px 0 0; color: var(--mute-d); font-size: 16px; }

/* Process cards */
.process { background: var(--cream); color: var(--ink); padding: clamp(96px, 12vw, 170px) var(--gut); }
.process-head { max-width: var(--max); margin: 0 auto clamp(48px, 6vw, 80px); }
.process-head h2 { max-width: 16ch; font-size: clamp(40px, 5.6vw, 86px); }
.process-head h2 em { color: var(--walnut); }
.cards { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; min-height: 420px; padding: 40px 36px 44px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--paper); border: 1px solid var(--line-l); border-radius: 4px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s; }
.card:nth-child(2) { transform: translateY(40px); }
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(26, 22, 18, .5); background: #fff; }
.card:nth-child(2):hover { transform: translateY(34px); }
.card-n { position: absolute; top: 18px; right: 26px; color: transparent; -webkit-text-stroke: 1.5px var(--walnut); font: 300 clamp(110px, 12vw, 180px)/1 var(--serif); letter-spacing: -.05em; opacity: .7; }
.card h3 { margin-bottom: 14px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; }
.card p { margin: 0; color: var(--mute-l); font-size: 16px; }
.process-foot { max-width: var(--max); margin: clamp(80px, 8vw, 110px) auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }
.process-foot p { flex: 1 1 380px; max-width: 640px; margin: 0; color: var(--mute-l); font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; background: var(--black); }
.about-photo { position: relative; margin: 0; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,11,9,0) 60%, rgba(13,11,9,.9)); }
.about-copy { align-self: center; max-width: 640px; padding: clamp(72px, 8vw, 120px) var(--gut); color: #d6cbb9; }
.about-copy h2 { margin-bottom: 34px; color: var(--cream); font-size: clamp(36px, 4.2vw, 64px); }
.about-links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 34px; }

/* FAQ */
.faq { background: var(--paper); color: var(--ink); padding: clamp(96px, 12vw, 170px) var(--gut); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); }
.faq-head { align-self: start; position: sticky; top: 110px; }
.faq-head h2 { margin-bottom: 36px; font-size: clamp(40px, 5vw, 78px); }
.faq-head h2 em { color: var(--walnut); }
.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line-l); }
summary { position: relative; display: flex; gap: 22px; align-items: baseline; padding: 30px 56px 30px 0; cursor: pointer; list-style: none; font: 400 clamp(21px, 2vw, 27px)/1.3 var(--serif); transition: color .3s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--walnut); }
.faq-n { flex: none; color: var(--walnut); font: 600 12px/1 var(--sans); letter-spacing: .2em; }
summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border: 1px solid var(--line-l); border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--brass); border-color: var(--brass); }
details p { margin: 0; padding: 0 56px 32px 46px; color: var(--mute-l); }
details a { color: var(--walnut); font-weight: 600; }

/* Closer */
.closer { position: relative; overflow: hidden; isolation: isolate; padding: clamp(130px, 16vw, 240px) var(--gut); text-align: center; }
.closer-bg { position: absolute; inset: 0; z-index: -2; }
.closer-bg img { width: 100%; height: 100%; object-fit: cover; }
.closer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,11,9,.92), rgba(30,18,10,.86)); }
.closer-inner { max-width: 980px; margin: 0 auto; }
.closer .kicker { justify-content: center; }
.closer .kicker::after { content: ""; width: 44px; height: 1px; background: currentColor; }
.closer h2 { font-size: clamp(60px, 11vw, 176px); line-height: .9; letter-spacing: -.04em; }
.closer p:not(.kicker) { max-width: 600px; margin: 34px auto 0; color: #d6cbb9; font-size: 19px; }
.closer .hero-buttons { justify-content: center; animation: none; }

/* Footer */
.foot { background: var(--black); border-top: 1px solid var(--line-d); }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 56px var(--gut); display: grid; grid-template-columns: 1fr auto auto; gap: 30px 60px; align-items: center; }
.foot-brand { display: flex; flex-direction: column; }
.foot-nap { font-style: normal; }
.foot-nap a { display: block; font: 400 26px/1.2 var(--serif); text-decoration: none; }
.foot-nap a:hover { color: var(--brass); }
.foot-nap span { color: var(--mute-d); font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; }
.foot-links a { color: var(--mute-d); text-decoration: none; }
.foot-links a:hover { color: var(--cream); }

.mobile-cta { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .card.reveal.is-visible:nth-child(2) { transform: translateY(40px); }
.bento .reveal:nth-child(2), .stats .reveal:nth-child(2), .cards .reveal:nth-child(2) { transition-delay: .1s; }
.bento .reveal:nth-child(3), .stats .reveal:nth-child(3), .cards .reveal:nth-child(3) { transition-delay: .2s; }
.bento .reveal:nth-child(4) { transition-delay: .06s; }
.bento .reveal:nth-child(5) { transition-delay: .16s; }

@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .hero-cap { display: none; }
  .index { grid-template-columns: 1fr 1fr; }
  .index li:nth-child(3) { padding-left: 0; border-left: 0; }
  .index li:nth-child(n+3) { border-top: 1px solid var(--line-l); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-call { margin-left: auto; }
  .manifesto-title, .manifesto-copy { grid-column: 1 / -1; }
  .work-head, .showcase-head { grid-template-columns: 1fr; row-gap: 20px; }
  .work-sub { justify-self: start; }
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .t-a { grid-column: 1 / -1; grid-row: span 3; }
  .t-b { grid-column: 1 / 4; grid-row: span 4; }
  .t-c { grid-column: 4 / 7; grid-row: span 2; }
  .t-d { grid-column: 4 / 7; grid-row: span 2; }
  .t-e { grid-column: 1 / 4; grid-row: span 2; }
  .t-f { grid-column: 4 / 7; grid-row: span 2; }
  .t-g { grid-column: 1 / -1; grid-row: span 3; }
  .ba-full { height: 75vw; }
  .feature-media, .feature-copy { grid-column: 1 / -1; }
  .feature-copy { margin-top: 56px; }
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li + li { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line-d); }
  .cards { grid-template-columns: 1fr; }
  .card, .js .card.reveal.is-visible:nth-child(2), .card:nth-child(2) { transform: none; min-height: 0; padding-top: 130px; }
  .card-n { font-size: 100px; }
  .about { grid-template-columns: 1fr; min-height: 0; }
  .about-photo { aspect-ratio: 4 / 4.2; }
  .about-photo::after { background: linear-gradient(180deg, rgba(13,11,9,0) 60%, rgba(13,11,9,1)); }
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .nav-inner { height: 68px; gap: 16px; }
  .brand-name { font-size: 19px; }
  .nav-call span { display: none; }
  .nav-call { padding: 11px; }
  .hero-content { padding: 120px var(--gut) 36px; }
  .hero h1 { font-size: clamp(44px, 12.6vw, 60px); }
  .kicker { font-size: 10.5px; letter-spacing: .2em; gap: 10px; }
  .kicker::before { width: 28px; }
  .hero-lead { margin-top: 22px; }
  .hero-buttons { margin-top: 28px; }
  .hero-shade { background: linear-gradient(0deg, rgba(13,11,9,.97) 0%, rgba(13,11,9,.8) 48%, rgba(13,11,9,.35) 78%, rgba(13,11,9,.55) 100%); }
  .hero-buttons .btn { flex: 1 1 100%; }
  .hero-strip { justify-content: flex-start; gap: 10px 22px; font-size: 10.5px; padding: 18px var(--gut); }
  .index { grid-template-columns: 1fr; }
  .index li, .index li + li { padding: 26px 0 20px; border-left: 0; }
  .index li + li { border-top: 1px solid var(--line-l); }
  .bento { grid-auto-rows: 92px; gap: 10px; }
  .tile figcaption { font-size: 15px; left: 14px; bottom: 12px; }
  .ba-knob { width: 52px; height: 52px; }
  .ba-tag { top: 14px; padding: 7px 12px; font-size: 10px; }
  .ba-tag-before { left: 14px; } .ba-tag-after { right: 14px; }
  summary { padding-right: 50px; gap: 14px; }
  details p { padding: 0 0 26px 0; }
  .closer .btn { width: 100%; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: .8fr 1.2fr; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--black); border-top: 1px solid var(--line-d); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--cream); font-weight: 600; font-size: 15px; text-decoration: none; }
  .mobile-cta a:last-child { background: var(--brass); color: var(--black); }
  .mobile-cta svg { width: 18px; height: 18px; fill: currentColor; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* "Prefer to text?" fallback line */
.text-fallback { margin: 18px 0 0; color: var(--mute-d); font-size: 14px; }
.text-fallback a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.process-foot .text-fallback, .manifesto .text-fallback { color: var(--mute-l); }
