/* Full-bleed, one-screen chapters; covers are identical on the index and inside each project. */
:root {
  --bg: #0a0a0b;
  --bg2: #141416;
  --fg: #ecebe7;
  --mute: #8d8c88;
  --line: rgba(236, 235, 231, .14);
  --acc: #9a5cff;
  --paper: #ecebe6;
  --ink: #141414;
  --pad: max(16px, min(3.2vw, 48px));
  --gap: 6px;
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --t-cover: clamp(44px, 8.4vw, 150px);
  color-scheme: dark;
}
.look-light {
  --bg: #e9ecee;
  --bg2: #dde1e4;
  --fg: #121416;
  --mute: #646a70;
  --line: rgba(18, 20, 22, .14);
  color-scheme: light;
}
/* Lancia Stratos Neo: dark futuristic page, violet light trails over a moving grid (see main.js) */
.look-neo {
  --bg: #08070d;
  --bg2: #15111f;
  --fg: #ece8f4;
  --mute: #9a90b0;
  --line: rgba(236, 232, 244, .14);
  color-scheme: dark;
}
/* Talaria Coyote: desert earth page (Joshua Tree), live sand texture + drifting dust (see main.js) */
.look-earth {
  --bg: #c6a983;
  --bg2: #b89770;
  --fg: #1c140d;
  --mute: #4a3a2b;
  --line: rgba(28, 20, 13, .22);
  color-scheme: light;
}
/* Ocean Alpha: deep-sea page with live water reflections behind every section (see main.js) */
.look-sea {
  --bg: #061a22;
  --bg2: #0b2731;
  --fg: #e6f0f3;
  --mute: #8fb3bf;
  --line: rgba(230, 240, 243, .16);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--acc); color: #fff; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  --hdr-pt: calc(18px + env(safe-area-inset-top, 0px));
  padding: var(--hdr-pt) var(--pad) 18px; color: #f2f1ed;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), background .35s, color .35s; }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); transition: opacity .35s; }
.hdr.on-light { color: #121416; }
.hdr.on-light::before { opacity: 0; }
.hdr.solid { background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--fg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hdr.solid::before { opacity: 0; }
.hdr.hide { transform: translateY(-100%); }
.hdr nav { display: flex; gap: clamp(20px, 2.6vw, 40px); align-items: center; font-size: 13px; letter-spacing: .02em; }
.hdr-r { justify-content: flex-end; }
.hdr nav > a { opacity: .8; transition: opacity .2s; }
.hdr nav > a:hover { opacity: 1; }
.logo { font-weight: 300; font-variation-settings: "wdth" 125; letter-spacing: .5em; font-size: 15px; margin-right: -.5em; white-space: nowrap; }
.pill { border: 1px solid currentColor; border-radius: 99px; padding: 7px 16px; opacity: 1 !important; }
.pill:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.dd { position: relative; }
.dd-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; display: inline-flex; gap: 6px; align-items: center; text-transform: inherit; letter-spacing: inherit; }
/* active section: a short line under the item */
.nav-on { position: relative; }
.nav-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: currentColor; opacity: .7; }
.dd-caret { font-size: 10px; transition: transform .3s; }
.dd.open .dd-caret { transform: rotate(180deg); }
.dd-menu { list-style: none; position: absolute; top: calc(100% + 14px); right: -14px; text-transform: none; letter-spacing: normal; font-weight: 400; width: min(380px, calc(100vw - 2 * var(--pad))); padding: 8px;
  background: rgba(16,16,18,.94); color: #ecebe7; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; padding: 10px; }
.dd-menu .num { grid-row: span 2; padding-top: 3px; color: #8d8c88; }
.dd-t { font-weight: 600; font-variation-settings: "wdth" 115; font-size: 15px; letter-spacing: -.01em; transition: color .2s; }
.dd-k { font-size: 14px; color: #8d8c88; }
.dd-menu a:hover .dd-t, .dd-menu a:focus-visible .dd-t { color: var(--acc); }
.dd-menu a:hover, .dd-menu a:focus-visible { background: rgba(255,255,255,.05); }
.dd-all { border-top: 1px solid rgba(255,255,255,.12); margin-top: 6px; }
.dd-all a { display: block; font-size: 13px; color: #8d8c88; }
.dd-all a:hover { color: #ecebe7; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

/* language switcher (native <details>, works without JS and on touch) */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: 12px; letter-spacing: .08em; padding: 3px 9px 3px 6px; border: 1px solid currentColor; border-radius: 99px; opacity: .85;
  display: inline-flex; align-items: center; gap: 6px; }
.flag { width: 18px; height: 12px; border-radius: 2px; flex: none; display: block; box-shadow: 0 0 0 .5px rgba(255,255,255,.35); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary, .lang summary:hover { opacity: 1; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 12px); min-width: 150px; padding: 6px; display: flex; flex-direction: column;
  background: rgba(16,16,18,.94); color: #ecebe7; border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lang-menu a { padding: 9px 10px; font-size: 14px; opacity: .8; display: flex; align-items: center; gap: 10px; }
.lang-menu a:hover, .lang-menu a:focus-visible { opacity: 1; background: rgba(255,255,255,.05); }
.lang-menu a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- shared ---------- */
.num { font-size: 12px; letter-spacing: .14em; font-variant-numeric: tabular-nums; opacity: .75; }
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-bottom: 18px; }

/* ---------- covers (home hero, project cards, project headers: one system) ---------- */
.hero, .cover { position: relative; display: block; height: 100svh; min-height: 520px; overflow: hidden; color: #f4f3ef; isolation: isolate; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.hero { height: 100svh; min-height: 560px; background: #08090a; color: #eeede9; }
/* no photo here: live black & white reflections sliding over a glossy body panel (WebGL, see main.js) */
.hero { background: radial-gradient(120% 90% at 70% 30%, #2a2b2d 0%, #0b0b0c 60%); }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; filter: blur(6px); transform: scale(1.04); }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(20deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,0) 65%), linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 18%); }
/* hero: the background stays while you scroll; first only an arrow, then the text slides in */
.hero { height: 165svh; overflow: clip; }
.hero-stick { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; }
.hero .hero-txt { bottom: max(9vh, 48px); right: auto; max-width: 820px; }
.hero .eyebrow, .hero-statement { opacity: 0; transform: translateX(-36px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.hero-statement { transform: translateY(26px); transition-delay: .18s; }
.hero.on .eyebrow, .hero.on .hero-statement { opacity: 1; transform: none; }
/* project header: same sticky behaviour; number, title and kind slide in after a little scroll */
.cover.reveal-scroll { height: 165svh; overflow: clip; }
.cover-stick { position: sticky; top: 0; height: 100svh; min-height: 520px; overflow: hidden; isolation: isolate; }
.cover.reveal-scroll .cover-txt > * { opacity: 0; transform: translateX(-36px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.cover.reveal-scroll .cover-t { transform: translateY(26px); transition-delay: .12s; }
.cover.reveal-scroll .cover-k { transition-delay: .24s; }
.cover.reveal-scroll.on .cover-txt > * { opacity: 1; transform: none; }
.hero-arrow { position: absolute; left: 50%; bottom: max(5vh, 28px); transform: translateX(-50%); color: #eeede9; opacity: .8; padding: 10px 16px; transition: opacity .6s; }
.hero-arrow svg { display: block; animation: nudge 2.2s cubic-bezier(.45,0,.55,1) infinite; }
.reveal-scroll.on .hero-arrow { opacity: 0; pointer-events: none; }
.cover .hero-arrow { color: currentColor; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
.hero-statement { font-family: var(--serif); font-size: clamp(28px, 3vw, 46px); line-height: 1.18; max-width: 19em; text-wrap: pretty; }
.cover-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 52%, rgba(0,0,0,.62) 100%); }
.cover.tone-light { color: #111315; }
.cover.tone-light .cover-shade { background: linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(233,236,238,.55) 100%); }
.cover-txt, .hero-txt { position: absolute; left: var(--pad); right: var(--pad); bottom: max(7vh, 40px); }
.cover-t, .hero h1 { font-weight: 700; font-variation-settings: "wdth" 125; font-size: var(--t-cover); line-height: .9; letter-spacing: -.045em; margin: 10px 0; }
.hero h1 em { font-weight: 400; letter-spacing: -.01em; }
.cover-k { font-size: clamp(17px, 1.5vw, 22px); opacity: .85; }
.cover-go, .hero-cue { position: absolute; right: var(--pad); bottom: max(7vh, 40px); font-size: 13px; letter-spacing: .04em; opacity: .85; }
a.cover:hover .cover-img { transform: scale(1.035); }
a.cover:hover .cover-go { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
a.cover .cover-t { transition: color .4s; }
a.cover:hover .cover-t { color: var(--acc); }
.work { display: flex; flex-direction: column; }
/* index: projects rest in black & white and come alive in colour on hover (like the title) */
.work .cover-img { filter: grayscale(1) contrast(1.05); transition: transform 1.6s cubic-bezier(.2,.7,.2,1), filter .9s ease; }
.work a.cover:hover .cover-img, .work a.cover:focus-visible .cover-img, .work a.cover.in-color .cover-img { filter: none; }
.work a.cover.in-color .cover-t { color: var(--acc); }

.soon { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding: 56px var(--pad); border-bottom: 1px solid var(--line); }
.soon-t { font-weight: 700; font-variation-settings: "wdth" 125; font-size: clamp(30px, 4.4vw, 72px); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--mute); line-height: 1; }
.soon em { color: var(--mute); font-size: 18px; }

/* ---------- about ---------- */
.about { padding: 100px var(--pad) 40px; }
.about-big { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.28; letter-spacing: 0; max-width: 23em; text-wrap: pretty; }
.about-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.about-cols h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); font-weight: 500; margin-bottom: 12px; }
.about-cols p { font-size: 15px; line-height: 1.65; opacity: .85; }

/* ---------- project ---------- */
.intro { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(32px, 6vw, 110px); padding: clamp(56px, 8vh, 96px) var(--pad); }
.lead { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.3; letter-spacing: 0; max-width: 24em; text-wrap: pretty; }
.facts { border-top: 1px solid var(--line); align-self: end; }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--mute); }
.facts dd { text-align: right; }

.b-txt { min-width: 0; }
.b-txt h3 { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.b-txt p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.65; letter-spacing: .005em; max-width: 34ch; opacity: .78; text-wrap: pretty; }

/* full-bleed image, exactly one screen */
.b-full { position: relative; height: 100svh; min-height: 480px; overflow: hidden; }
.b-full img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.b-full figcaption, .b-row.n2 figcaption { position: absolute; left: var(--pad); bottom: 22px; font-family: var(--serif); font-style: italic; font-size: 17px; color: #f4f3ef; text-shadow: 0 1px 12px rgba(0,0,0,.45); pointer-events: none; }

.cap-dark figcaption, .b-row .cap-dark figcaption { color: #141414; text-shadow: none; }

/* neo page: transparent sections over the animated background; paper sketches turn into light lines */
.neo-gl { filter: none; transform: none; }
body.look-neo, .look-neo { background-color: #08070d; }
.look-neo .intro, .look-neo .b-split, .look-neo .b-row, .look-neo .b-board, .look-neo .b-paper, .look-neo .next-lbl { background: transparent; }
.look-neo .b-split, .look-neo .b-split.ink-dark, .look-neo .b-paper { color: #ece8f4; }
.look-neo .b-paper .cell { background: transparent; }
.look-neo .b-paper .cell img { filter: none; mix-blend-mode: screen; }
.look-neo .b-paper .cell.raw img, .b-paper .cell.raw img { filter: none; mix-blend-mode: normal; }
.look-neo .b-row { padding: clamp(32px, 6vh, 64px) var(--pad); gap: clamp(12px, 1.6vw, 24px); }
.look-neo .b-row figure { box-shadow: 0 30px 70px -30px rgba(120, 60, 255, .35); }
.look-neo .b-row.n3 figcaption, .look-neo .b-row.n2 figcaption, .look-neo .b-row .cap-dark figcaption { position: static; color: #ece8f4; text-shadow: none; padding-top: 10px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .22em; }
.look-neo .b-media img { box-shadow: 0 40px 80px -40px rgba(120, 60, 255, .45); }
.look-neo .ftr { background: rgba(8, 7, 13, .6); }

/* earth page: sections are transparent over the sand; white-background sketches and renders print onto it */
.earth-gl { filter: none; transform: none; }
body.look-earth, .look-earth { background-color: #c6a983; }
.look-earth .intro, .look-earth .b-split, .look-earth .b-row, .look-earth .b-board, .look-earth .b-paper, .look-earth .next-lbl { background: transparent; }
.look-earth .b-split, .look-earth .b-split.ink-dark, .look-earth .b-paper { color: #2a1f16; }
.look-earth .b-split.b-video { color: #2a1f16; }
.look-earth .b-split.ink-dark .b-media img, .look-earth .b-paper .cell img { mix-blend-mode: normal; }
.look-earth .b-paper .cell { background: transparent; }
.look-earth .b-paper .cell img { filter: contrast(1.7) brightness(1.04); }
.look-earth .b-video .b-media video { box-shadow: 0 30px 60px -28px rgba(40, 24, 10, .55); }
.look-earth .ftr { background: rgba(60, 40, 22, .12); }
/* legibility on the sand: small text and sketches sit on light paper sheets (the sand still shows around them) */
.look-earth .facts, .look-earth .b-txt, .look-earth .b-paper .grid, .look-earth .b-split.ink-dark .b-media {
  background: #f9f3e7;
  box-shadow: 0 24px 50px -30px rgba(60, 36, 14, .45); }
.look-earth .facts { padding: 4px 20px; border-top: 0; }
.look-earth .facts div { font-size: 15px; }
.look-earth .facts div:last-child { border-bottom: 0; }
.look-earth .b-txt { padding: 22px 24px; align-self: center; }
.look-earth .b-paper .grid { padding: clamp(12px, 1.6vw, 22px); }
.look-earth .b-paper .cell img { filter: none; }
.look-earth .b-split.ink-dark .b-media { padding: clamp(14px, 2vw, 28px); }
/* soften an image's lower edge (e.g. a wheel cut by the frame) */
.fade .b-media img { -webkit-mask-image: linear-gradient(#000 62%, transparent 96%); mask-image: linear-gradient(#000 62%, transparent 96%); }

/* sea page: sections are transparent over the water; text always light */
.sea-gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; filter: blur(10px) saturate(1.05); transform: scale(1.06); pointer-events: none; }
body.look-sea, .look-sea { background-color: #061a22; }
.look-sea .intro, .look-sea .b-split, .look-sea .b-row, .look-sea .b-board, .look-sea .next-lbl { background: transparent; }
.look-sea .b-split, .look-sea .b-split.ink-dark { color: #e6f0f3; }
.look-sea .b-split .b-txt { text-shadow: 0 1px 18px rgba(0, 20, 30, .55); }
.look-sea .b-row { padding: clamp(32px, 6vh, 64px) var(--pad); gap: clamp(12px, 1.6vw, 24px); }
.look-sea .b-row figure { border-radius: 2px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.look-sea .b-row.n2 figcaption, .look-sea .b-row .cap-dark figcaption { position: static; color: #e6f0f3; text-shadow: none; padding-top: 10px; }
.look-sea .b-media img { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.look-sea .ftr { background: rgba(4, 18, 24, .55); }

/* film: full width, whole frame (16:9), starts muted; viewers can turn the sound on with the controls */
.b-film { background: #000; }
.b-film video { display: block; width: 100%; height: auto; max-height: 100svh; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }

/* text + one image on a coloured panel, fits a screen */
.b-split { display: grid; grid-template-columns: minmax(240px, 1fr) 2.6fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  background: var(--panel); min-height: min(100svh, 920px); padding: clamp(48px, 8vh, 96px) var(--pad); }
.b-split.ink-light { color: #ecebe7; }
.b-split.ink-dark { color: #141414; }
.b-media { display: flex; justify-content: center; align-items: center; min-width: 0; }
.b-media img, .b-media video { width: 100%; height: auto; max-height: 78svh; object-fit: contain; cursor: zoom-in; }
.b-video .b-media video { cursor: auto; }

/* moodboard: one screen, references only */
.b-board, .b-paper { display: grid; grid-template-columns: minmax(220px, 1fr) 3.4fr; gap: clamp(24px, 3vw, 48px); align-items: center;
  padding: clamp(40px, 6vh, 72px) var(--pad); }
.b-board { background: var(--bg); }
.b-board .grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, calc((min(82svh, 760px) - var(--gap)) / 2)); gap: var(--gap); grid-auto-flow: dense; }
.b-board .cell { overflow: hidden; background: var(--bg2); min-width: 0; }
.b-board .cell img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.b-board .cell:hover img { transform: scale(1.04); }
.cell.tall { grid-row: span 2; }
.cell.wide { grid-column: span 2; }

/* sketches on paper */
.b-paper { background: var(--paper); color: var(--ink); }
.b-paper .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.b-paper .cell { aspect-ratio: 2 / 1; min-width: 0; }
.b-paper .grid.n3 .cell { aspect-ratio: 1.4 / 1; }
.b-paper .grid.n6 .cell { aspect-ratio: 1.4 / 1; }
.b-paper .grid.n9 .cell { aspect-ratio: 1.7 / 1; }
.b-paper .cell.wide { aspect-ratio: auto; }
.b-paper .cell img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; mix-blend-mode: multiply; }

/* images in a row, edge to edge */
.b-row { display: grid; gap: var(--gap); background: var(--panel); }
.b-row.n2 { grid-template-columns: 1fr 1fr; }
.b-row.n3 { grid-template-columns: repeat(3, 1fr); padding: clamp(32px, 6vh, 64px) var(--pad); }
.b-row figure { position: relative; overflow: hidden; min-width: 0; }
.b-row img { width: 100%; height: auto; max-height: 80svh; object-fit: cover; cursor: zoom-in; }
.b-row.n3 img { object-fit: contain; }
.b-row.n3 figcaption { color: #141414; font-size: 12px; letter-spacing: .22em; padding-top: 8px; }

/* next project: just the name, no photo */
.next { display: block; padding: clamp(56px, 10vh, 120px) var(--pad); border-top: 1px solid var(--line); }
.next-lbl { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.next-t { display: block; font-weight: 700; font-variation-settings: "wdth" 125; font-size: var(--t-cover); line-height: .95; letter-spacing: -.045em; margin: 14px 0 10px; transition: color .4s; }
.next-t span { display: inline-block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.next:hover .next-t, .next:focus-visible .next-t { color: var(--acc); }
.next:hover .next-t span { transform: translateX(.18em); }
.next-k { font-size: clamp(17px, 1.5vw, 22px); color: var(--mute); }
/* software badge next to the 3D videos */
.sw { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .9; max-width: none; }
.sw img { width: 34px; height: 34px; flex: none; }

/* ---------- footer ---------- */
.ftr { padding: 110px var(--pad) 28px; }
.ftr-k { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); color: var(--mute); }
.ftr-mail { display: inline-block; font-weight: 600; font-variation-settings: "wdth" 110; font-size: clamp(26px, 6vw, 104px); letter-spacing: -.035em; line-height: 1.1; margin: 8px 0 80px; word-break: break-all;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s; }
.ftr-mail:hover { background-size: 100% 2px; }
.ftr-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 18px; }
.ftr-row a:hover { color: var(--fg); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,6,.96); display: grid; place-items: center; padding: 4vw; cursor: zoom-out; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.lb-x { position: absolute; top: 18px; right: var(--pad); background: none; border: 0; color: #ecebe7; font: 13px var(--sans); cursor: pointer; }

@keyframes rise { from { opacity: .001; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .b-split, .b-board, .b-paper { grid-template-columns: 1fr; }
  .b-board .grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 38vw; }
  .b-paper .grid { grid-template-columns: 1fr 1fr; }
  .b-paper .cell.wide { grid-column: span 2; }
  .intro { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hdr { grid-template-columns: 1fr auto; gap: 12px; }
  .hdr-l { display: none; }
  .hdr nav { gap: 18px; font-size: 12px; }
  .hero .hero-txt { bottom: 12vh; }
  .hide-sm { display: none; }
  .logo { letter-spacing: .26em; font-size: 12px; }
  .cover-go, .hero-cue { display: none; }
  .about-cols { grid-template-columns: 1fr 1fr; }
  .b-row.n2, .b-row.n3 { grid-template-columns: 1fr; }
  .cover, .b-full { height: 88svh; }
  .cover.reveal-scroll { height: 150svh; }
  .cover-stick { height: 100svh; min-height: 0; }
  .hero { height: 150svh; }
  /* index on phones: show each project photo whole (no crop), title underneath */
  .work .cover { height: auto; min-height: 0; color: var(--fg); background: var(--bg); }
  .work .cover-img { position: relative; inset: auto; width: 100%; height: auto; z-index: auto; }
  .work .cover-shade { display: none; }
  .work .cover-txt { position: static; padding: 14px var(--pad) 34px; }
  .work .cover-t { font-size: clamp(36px, 11vw, 52px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero-statement, .cover.reveal-scroll .cover-txt > * { transition: none; }
  .hero-arrow svg { animation: none; }
  .cover-img, .b-board .cell img { transition: none; }
}
