/* ============================================================================
   LANESBOROUGH DESIGN & BUILD — Architectural Minimalism design system
   One shared stylesheet for every page. CSS custom properties throughout so
   the theme can flip (light = gallery editorial, dark = dramatic ink) while
   cinematic "media blocks" stay dark in both themes.
   ========================================================================== */

/* ---- 0. Self-hosted fonts (latin subsets, woff2) ------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-italic-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Material palette */
  --ink: #0E0F11;
  --ink-2: #16181b;
  --bone: #F4F1EA;
  --bone-2: #ECE7DC;
  --concrete: #8d8a82;
  --concrete-light: #c7c3b9;
  --accent: #A99372;          /* champagne / warm stone */
  --accent-light: #C9B89C;
  --accent-soft: rgba(169, 147, 114, 0.16);

  /* Type */
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --tracking-label: 0.22em;
  --tracking-wide: 0.06em;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 0.8s;
  --dur-fast: 0.4s;

  /* Layout */
  --maxw: 1480px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: 4px;
  --nav-h: 76px;

  /* THEME — light (default) */
  --bg: var(--bone);
  --bg-2: var(--bone-2);
  --fg: var(--ink);
  --fg-muted: #5c5a54;
  --line: rgba(14, 15, 17, 0.14);
  --line-strong: rgba(14, 15, 17, 0.28);
  --card: #fffdf8;
  --glass: rgba(244, 241, 234, 0.72);
  --glass-border: rgba(14, 15, 17, 0.10);
  --shadow: 0 24px 60px -28px rgba(14, 15, 17, 0.30);
}

/* THEME — dark */
body.theme-dark {
  --bg: var(--ink);
  --bg-2: var(--ink-2);
  --fg: var(--bone);
  --fg-muted: #9b988f;
  --line: rgba(244, 241, 234, 0.14);
  --line-strong: rgba(244, 241, 234, 0.28);
  --card: #16181b;
  --glass: rgba(14, 15, 17, 0.68);
  --glass-border: rgba(244, 241, 234, 0.12);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}

/* Cinematic media blocks: always dark, regardless of page theme */
.media-block {
  --bg: var(--ink);
  --bg-2: var(--ink-2);
  --fg: var(--bone);
  --fg-muted: #9b988f;
  --line: rgba(244, 241, 234, 0.16);
  --line-strong: rgba(244, 241, 234, 0.30);
  --card: #16181b;
  --glass: rgba(14, 15, 17, 0.6);
  --glass-border: rgba(244, 241, 234, 0.14);
  background: var(--ink);
  color: var(--bone);
}

/* ---- 2. Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
/* Responsive <picture> cover elements: the wrapper carries the legacy cover
   class (absolute inset), the inner img fills it. */
picture > img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---- 3. Typography ------------------------------------------------------- */
/* Serif headings (Cormorant Garamond), clean sans body (Inter) */
h1, h2, h3, h4, .display, .h-xl, .h-lg, .h-md,
.hero-tagline, .manifesto-line, .footer-word, .stat .num {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}
.display {
  font-size: clamp(2.8rem, 8.8vw, 9rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.h-xl { font-size: clamp(2.2rem, 5.8vw, 5rem); }
.h-lg { font-size: clamp(1.8rem, 3.8vw, 3.2rem); }
.h-md { font-size: clamp(1.4rem, 2.3vw, 2rem); }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.accent { color: var(--accent); }
.label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  font-weight: 600;
  color: var(--fg-muted);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--fg-muted); line-height: 1.55; }
.caption {
  font-size: 0.74rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}
p { color: var(--fg-muted); }
p.body { color: var(--fg); }

/* ---- 4. Layout ----------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(70px, 11vw, 170px); }
.section-pad-sm { padding-block: clamp(48px, 7vw, 100px); }
.divider { height: 1px; background: var(--line); border: 0; }
.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); }

/* Section heading block */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head p { margin-top: 20px; }

/* ---- 5. Film grain + scroll progress + cursor ---------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.3; mix-blend-mode: overlay;
  /* pre-rasterised noise tile — far cheaper to paint than an feTurbulence filter */
  background-image: url(../img/grain.png);
  background-size: 128px 128px;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 9999;
}
/* Small solid bronze dot cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none;
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  background: var(--accent); border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease),
              margin .3s var(--ease), opacity .3s var(--ease),
              background-color .3s var(--ease);
}
.cursor.is-hover { width: 26px; height: 26px; margin: -13px 0 0 -13px; background: var(--accent-light); }
.cursor.is-down { width: 8px; height: 8px; margin: -4px 0 0 -4px; opacity: .6; }
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}

/* ---- 6. Buttons ---------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--fg);
  transition: color .5s var(--ease), border-color .5s var(--ease),
              letter-spacing .5s var(--ease), box-shadow .5s var(--ease),
              background-color .5s var(--ease);
  will-change: transform;
}
.btn::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); transition: transform .5s var(--ease);
}
.btn:hover {
  color: var(--accent-light); border-color: var(--accent);
  letter-spacing: 0.12em;
  box-shadow: 0 0 0 1px var(--accent-soft), 0 12px 40px -16px var(--accent);
}
.btn:hover::after { transform: scale(1.6); }
.btn--solid {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn--solid::after { background: #fff; }
.btn--solid:hover {
  background: var(--accent-light); color: #fff; border-color: var(--accent-light);
  box-shadow: 0 16px 50px -16px var(--accent);
}
.btn--ghost { border-color: var(--line); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--fg);
  transition: gap .4s var(--ease), color .4s var(--ease);
}
.link-arrow span.arr { color: var(--accent); transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--accent); gap: 16px; }
.link-arrow:hover span.arr { transform: translateX(4px); }

/* ---- 7. Nav -------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  height: var(--nav-h); display: flex; align-items: center;
  transition: transform .6s var(--ease), background-color .6s var(--ease),
              backdrop-filter .6s var(--ease), border-color .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-solid {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: var(--maxw); width: 100%; margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* Real monogram as a currentColor mask so it adapts (white over hero, dark on light pages) */
.brand .brand-mark {
  width: 36px; height: 36px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url(../img/logo-mark.png) center / contain no-repeat;
          mask: url(../img/logo-mark.png) center / contain no-repeat;
}
.footer-brand { display: inline-block; }
.footer-logo { width: clamp(170px, 20vw, 210px); height: auto; }

/* Nav legibility: by default the nav sits over a dark hero/media block, so the
   logo + links are light, with a subtle top scrim. Pages that open on a light
   background carry body.light-top, which restores theme-coloured nav text. */
.nav:not(.is-solid) { color: var(--bone); }
.nav:not(.is-solid)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14,15,17,.55), rgba(14,15,17,0));
}
.nav:not(.is-solid) .brand-text small { color: rgba(244,241,234,.66); }
.nav:not(.is-solid) .nav-links a,
.nav:not(.is-solid) .theme-toggle { color: var(--bone); }
.nav:not(.is-solid) .theme-toggle,
.nav:not(.is-solid) .nav-cta.btn { border-color: rgba(244,241,234,.32); }
body.light-top .nav:not(.is-solid) { color: var(--fg); }
body.light-top .nav:not(.is-solid)::before { display: none; }
body.light-top .nav:not(.is-solid) .brand-text small { color: var(--fg-muted); }
body.light-top .nav:not(.is-solid) .nav-links a,
body.light-top .nav:not(.is-solid) .theme-toggle { color: var(--fg); }
body.light-top .nav:not(.is-solid) .theme-toggle,
body.light-top .nav:not(.is-solid) .nav-cta.btn { border-color: var(--line); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 0.96rem; font-weight: 600; letter-spacing: 0.04em; }
.brand-text small { font-size: 0.56rem; letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--fg-muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); }
.nav-links a {
  position: relative; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 6px 0; color: var(--fg);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background-color .4s;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
body.theme-dark .theme-toggle .sun { display: none; }
body.theme-dark .theme-toggle .moon { display: block; }
.nav-cta { display: inline-flex; }

/* Burger */
.burger { display: none; width: 40px; height: 40px; flex-direction: column;
  justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 22px; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease), opacity .3s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 890; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  transform: translateY(-100%); transition: transform .7s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-size: clamp(1.8rem, 7vw, 3rem); font-weight: 600; letter-spacing: -0.02em;
  padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--fg);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a span { font-size: 0.8rem; color: var(--accent); }
.mobile-menu .mm-foot { margin-top: 36px; color: var(--fg-muted); font-size: 0.85rem; }

/* ---- 8. Preloader -------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 10001; background: var(--ink);
  display: grid; place-items: center; color: var(--bone);
}
.preloader.is-done { pointer-events: none; }
.preloader-logo { width: min(360px, 62vw); height: auto; }
/* The preloader plays on EVERY load of the homepage (owner's choice) — the
   brand moment: logo full-frame, then the curtain lifts into the hero. */
@media (max-width: 979px) {
  /* First-viewport content renders statically on mobile (protects LCP on
     return visits); scroll-triggered reveals further down still animate. */
  .hero [data-reveal], .page-hero [data-reveal],
  .hero[data-reveal], .page-hero [data-reveal-mask] .reveal-line > * {
    opacity: 1 !important; transform: none !important;
  }
}
.preloader-mark { width: min(180px, 40vw); }
.preloader-mark path, .preloader-mark line, .preloader-mark rect, .preloader-mark polyline {
  stroke: var(--bone); stroke-width: 1.5; fill: none;
  stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400);
}
.preloader-word {
  margin-top: 26px; text-align: center; overflow: hidden;
}
.preloader-word b {
  display: inline-block; font-size: 0.9rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--bone); transform: translateY(110%);
}
.preloader-curtain {
  position: fixed; inset: 0; z-index: 10000; background: var(--ink);
  transform: translateY(0);
}

/* ---- 9. Hero ------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; background: var(--ink); color: var(--bone);
  text-align: center;
}
.hero-photo {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center;
  opacity: 1; will-change: transform; transform: scale(1.05);
}
/* Photographic hero: image visible immediately with a slow cinematic drift */
.hero--photo .hero-photo { animation: kenburns 26s ease-in-out infinite alternate; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,17,.30) 0%, rgba(14,15,17,.40) 45%, rgba(14,15,17,.82) 100%); }
.hero-eyebrow { display: inline-block; font-size: 0.74rem; font-weight: 600;
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 22px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero--photo .hero-content { position: relative; bottom: auto; max-width: 1000px; margin: 0 auto; }
.hero-line-art {
  position: relative; z-index: 2; width: min(680px, 84vw);
}
.hero-line-art svg { width: 100%; height: auto; }
.hero-line-art path, .hero-line-art line, .hero-line-art polyline, .hero-line-art rect, .hero-line-art circle {
  fill: none; stroke: var(--accent-light); stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}
.hero-content {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(80px, 12vh, 150px);
  padding-inline: var(--gutter);
}
.hero-tagline {
  font-size: clamp(2.4rem, 7.2vw, 6.2rem); font-weight: 500; line-height: 1.0;
  letter-spacing: -0.005em; color: var(--bone);
}
.hero-sub { margin-top: 22px; color: rgba(244,241,234,.7); font-size: clamp(.95rem,1.4vw,1.15rem);
  letter-spacing: 0.02em; max-width: 560px; margin-inline: auto; }
.hero-scroll {
  position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.62rem; letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: rgba(244,241,234,.6);
}
.hero-scroll i { width: 1px; height: 40px; background: rgba(244,241,234,.4); position: relative; overflow: hidden; }
.hero-scroll i::after { content:""; position:absolute; top:-40px; left:0; width:1px; height:40px;
  background: var(--accent); animation: scrolldown 2.2s var(--ease) infinite; }
@keyframes scrolldown { 0%{transform:translateY(0)} 100%{transform:translateY(80px)} }

/* Page hero (subpages) — dark media block */
.page-hero {
  position: relative; min-height: 78svh; display: flex; align-items: flex-end;
  overflow: hidden; padding-bottom: clamp(48px, 7vw, 96px);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover;
  background-position: center; transform: scale(1.08); will-change: transform; }
.page-hero-bg::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(14,15,17,.35), rgba(14,15,17,.85)); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; }
.page-hero h1 { margin-top: 16px; }
.page-hero .meta-row { margin-top: 28px; }

/* ---- 10. Reveal animation ----------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(34px); }
[data-reveal-mask] > * { will-change: transform; }
.reveal-line { overflow: hidden; display: block; }
.is-revealed [data-reveal], .is-revealed[data-reveal] { opacity: 1; transform: none; }

/* ---- 11. Manifesto / quote ---------------------------------------------- */
.manifesto-line {
  font-size: clamp(2rem, 5.2vw, 4.4rem); font-weight: 500; line-height: 1.06;
  letter-spacing: -0.005em; max-width: 18ch;
}
.pull-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.28; letter-spacing: 0;
  color: var(--fg);
}
.pull-quote cite { display: block; margin-top: 24px; font-family: var(--font-sans);
  font-style: normal; font-size: 0.78rem; letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--fg-muted); }

/* ---- 12. Marquee --------------------------------------------------------- */
/* Thin, refined uppercase ticker */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(11px, 1.3vw, 15px); }
.marquee-track { display: flex; align-items: center; gap: clamp(26px, 3vw, 44px); width: max-content;
  animation: marquee 42s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: clamp(26px, 3vw, 44px); flex-shrink: 0;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-muted); }
.usp-sep { color: var(--accent); font-size: 0.85em; }
.usp-text { white-space: nowrap; transition: color .3s var(--ease); }
.marquee-item:hover .usp-text { color: var(--fg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- 13. Service cards --------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px,2vw,28px); }
.svc-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: clamp(340px, 42vw, 520px); display: flex; flex-direction: column;
  justify-content: flex-end; padding: clamp(28px, 3vw, 48px); color: var(--bone);
  background: var(--ink); isolation: isolate;
}
.svc-card-img { position: absolute; inset: 0; z-index: -2; background-size: cover;
  background-position: center; transform: scale(1.04); transition: transform 1.1s var(--ease); }
.svc-card::before { content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(14,15,17,.15), rgba(14,15,17,.82)); }
.svc-card:hover .svc-card-img { transform: scale(1.12); }
.svc-card .num { font-size: 0.72rem; letter-spacing: var(--tracking-label); color: var(--accent-light); }
.svc-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-top: 12px; }
.svc-card ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .4s; }
.svc-card li { font-size: 0.82rem; color: rgba(244,241,234,.8); position: relative; padding-left: 14px; }
.svc-card li::before { content:""; position:absolute; left:0; top:9px; width:5px; height:1px; background: var(--accent); }
.svc-card:hover ul, .svc-card:focus-within ul { max-height: 160px; opacity: 1; }
.svc-card .link-arrow { margin-top: 22px; color: var(--bone); }

/* ---- 14. Horizontal featured projects ------------------------------------ */
.featured { position: relative; }
.featured-pin { height: 100svh; overflow: hidden; display: flex; align-items: center; }
.featured-track { display: flex; will-change: transform; }
.featured-panel {
  position: relative; flex: 0 0 min(78vw, 1100px); height: 78svh; margin-inline: clamp(12px, 2vw, 32px);
  border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--bone);
  display: flex; align-items: flex-end;
}
.featured-panel-img { position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.1); will-change: transform; }
.featured-panel::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(14,15,17,.1), rgba(14,15,17,.8)); }
.featured-cap { position: relative; z-index: 2; padding: clamp(28px, 3vw, 54px); width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.featured-cap h3 { font-size: clamp(1.8rem, 3.4vw, 3.4rem); }
.featured-cap .pmeta { display: flex; gap: 22px; flex-wrap: wrap; color: rgba(244,241,234,.74);
  font-size: 0.78rem; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.featured-progress { display: flex; gap: 8px; margin-top: 14px; }
.featured-progress i { width: 26px; height: 2px; background: rgba(244,241,234,.25); }
.featured-progress i.on { background: var(--accent); }
.featured-head { position: absolute; top: clamp(90px, 12vh, 130px); left: 0; right: 0; z-index: 3;
  padding-inline: var(--gutter); }

/* mobile swipe-snap */
.featured-scroll { display: none; }

/* ---- 15. Portfolio grid -------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 26px); }
.work-item { position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--ink); aspect-ratio: 4/3; display: block; }
.work-item.tall { aspect-ratio: 3/4; }
.work-item.wide { grid-column: span 8; }
.work-item.span4 { grid-column: span 4; }
.work-item.span6 { grid-column: span 6; }
.work-item.span8 { grid-column: span 8; }
/* Full-width cinematic finale card (last item of the portfolio grid) */
.work-item.span12 { grid-column: 1 / -1; aspect-ratio: 21/9; }
.work-img { position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.03); transition: transform 1s var(--ease), filter .8s var(--ease);
  filter: grayscale(0.2); }
.work-item:hover .work-img { transform: scale(1.1); filter: grayscale(0); }
.work-item::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,15,17,.82)); opacity:.7; transition: opacity .5s; }
.work-item:hover::after { opacity: 1; }
.work-cap { position: absolute; z-index: 2; left: 0; bottom: 0; padding: clamp(20px,2vw,32px);
  color: var(--bone); transform: translateY(8px); opacity: 0; transition: transform .6s var(--ease), opacity .5s var(--ease); }
.work-item:hover .work-cap, .work-item:focus-visible .work-cap { transform: none; opacity: 1; }
.work-cap h4 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.work-cap span { font-size: 0.74rem; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: rgba(244,241,234,.75); }

/* ---- 16. Film / Ken Burns ------------------------------------------------ */
.film { position: relative; height: 84svh; overflow: hidden; }
.film-media { position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate(0,0);} to { transform: scale(1.18) translate(-2%, -2%);} }
.film::after { content:""; position:absolute; inset:0; background: rgba(14,15,17,.4); }
.film-cap { position: absolute; z-index: 2; inset: auto auto clamp(36px,5vw,70px) var(--gutter);
  color: var(--bone); max-width: 560px; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- 17. Founder feature ------------------------------------------------- */
.founder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px,4vw,72px); align-items: center; }
.founder-portrait { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); }
.founder-portrait .work-img { filter: grayscale(0.35); }
.founder-portrait:hover .work-img { filter: grayscale(0); }
.founder .cred { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.chip-static { font-size: 0.72rem; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; color: var(--fg-muted); }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px,2vw,32px); }
.team-card { display: block; }
.team-photo { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/4;
  background: var(--bg-2); }
.team-photo .work-img { filter: grayscale(1); }
.team-card:hover .team-photo .work-img { filter: grayscale(0); transform: scale(1.07); }
.team-card h4 { margin-top: 16px; font-size: 1.05rem; }
.team-card .role { font-size: 0.78rem; color: var(--fg-muted); margin-top: 4px; }
.team-card .reg { font-size: 0.68rem; letter-spacing: var(--tracking-wide); color: var(--accent); margin-top: 6px; text-transform: uppercase; }

/* ---- 18. Counters / pillars ---------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,3vw,40px); }
.stat .num { font-size: clamp(2.8rem, 5.4vw, 5rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.stat .num .accent { font-family: var(--font-serif); font-style: italic; }
.stat .lbl { margin-top: 12px; font-size: 0.82rem; color: var(--fg-muted); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: clamp(28px,3vw,44px) clamp(20px,2vw,32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar:nth-child(4n) { border-right: 0; }
.pillar .num { font-family: var(--font-serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.pillar h4 { font-size: 1.15rem; margin-top: 14px; }
.pillar p { margin-top: 10px; font-size: 0.9rem; }

/* ---- 19. Process steps --------------------------------------------------- */
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 120px 1fr auto; gap: clamp(20px,3vw,48px);
  align-items: baseline; padding-block: clamp(26px,3vw,42px); border-bottom: 1px solid var(--line);
  transition: padding-left .5s var(--ease); }
.step:hover { padding-left: 14px; }
.step .st-num { font-family: var(--font-serif); font-style: italic; font-size: clamp(2rem,4vw,3.4rem); color: var(--accent); }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.step p { margin-top: 12px; max-width: 60ch; }
.step .stage-tag { font-size: 0.72rem; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-muted); white-space: nowrap; }

/* ---- 20. Investment ------------------------------------------------------ */
.invest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); }
.invest-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,3vw,40px);
  background: var(--card); transition: border-color .5s var(--ease), transform .5s var(--ease); }
.invest-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.invest-card .ic-label { color: var(--accent); }
.invest-card h4 { font-size: 1.3rem; margin: 14px 0; }

/* ---- 21b. Concierge enquiry block (refined) ------------------------------ */
.contact-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 5vw, 92px); align-items: start; }
.contact-intro h2 { line-height: 0.98; }
.contact-intro .lead { color: rgba(244,241,234,.72); max-width: 42ch; }
.contact-direct { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--line); padding-top: 30px; }
.contact-direct a, .contact-direct > div { display: flex; flex-direction: column; gap: 6px; }
.contact-direct .label { color: rgba(244,241,234,.5); }
.contact-direct b { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -0.01em;
  color: var(--bone); transition: color .35s var(--ease); }
.contact-direct a:hover b { color: var(--accent-light); }
.contact-note { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--accent-light); max-width: 36ch; }

.contact-panel { position: relative; border: 1px solid var(--glass-border); border-radius: 8px;
  padding: clamp(28px, 3.4vw, 54px); background: rgba(244,241,234,0.035);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease); }
.contact-panel::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent 62%); border-radius: 8px 8px 0 0; }
.contact-panel:focus-within { border-color: rgba(169,147,114,.5);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 40px 90px -50px rgba(0,0,0,.85); }
.contact-panel .chips { margin: 10px 0 30px; }
.contact-panel .btn-submit { width: 100%; justify-content: center; margin-top: 10px; }
.contact-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-top: 22px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; width: 0; height: 0; pointer-events: none; }
.form-error { color: #d98a7a; font-size: 0.82rem; letter-spacing: 0.01em; min-height: 1em; }
/* Concierge acknowledgment shown beneath the button after a successful send */
.form-ack { font-family: var(--font-serif, Georgia, serif); font-style: italic;
  color: rgba(244,241,234,.82); font-size: 0.98rem; line-height: 1.55;
  margin-top: 18px; text-align: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); }
.form-ack.is-in { opacity: 1; transform: none; }

/* ---- Current projects: plan-snippet slideshow ----------------------------- */
.current-project { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(20px, 3vw, 40px); }
.current-meta .pmeta { display: flex; gap: 18px; font-size: 0.74rem; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: rgba(244,241,234,.65); }
.plan-show { position: relative; border-radius: var(--radius); overflow: hidden;
  background: #F7F5F0; aspect-ratio: 16/10; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.plan-slide { position: absolute; inset: 0 0 52px 0; margin: 0; padding: clamp(14px, 2vw, 28px);
  opacity: 0; transition: opacity .9s var(--ease); }
.plan-slide.is-on { opacity: 1; }
.plan-slide .plan-img { position: absolute; inset: clamp(14px, 2vw, 28px); }
.plan-slide picture > img { object-fit: contain; background: transparent; }
.plan-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 20px; background: var(--ink); }
.plan-cap { font-size: 0.72rem; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: rgba(244,241,234,.8); }
.plan-dots { display: flex; gap: 8px; }
.plan-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(244,241,234,.28);
  cursor: pointer; transition: background .3s, transform .3s; }
.plan-dots i.on { background: var(--accent); transform: scale(1.25); }
@media (max-width: 979px) {
  .current-project { grid-template-columns: 1fr; }
  .plan-show { aspect-ratio: 4/3; }
}

/* ---- 21. Contact glass card (legacy, retained for reference) -------------- */
.contact-block { position: relative; overflow: hidden; }
.contact-card {
  position: relative; max-width: 920px; margin: 0 auto; border-radius: 10px;
  padding: clamp(30px, 4vw, 64px); background: rgba(22,24,27,.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform-style: preserve-3d; transition: transform .3s var(--ease);
}
.contact-card::before {
  content:""; position: absolute; inset: -1px; border-radius: 11px; z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), transparent, var(--accent), transparent 38%);
  animation: spin 7s linear infinite;
}
.contact-card::after { content:""; position:absolute; inset:1px; border-radius:10px; background: rgba(18,20,23,.86); z-index:-1; }
@keyframes spin { to { --ang: 360deg; } }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.contact-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); transform: translate(-50%,-50%);
  left: var(--gx, 50%); top: var(--gy, 30%); opacity: 0; transition: opacity .4s; z-index: 0; }
.contact-card:hover .contact-glow { opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 26px; }
.chip {
  border: 1px solid var(--glass-border); border-radius: 100px; padding: 9px 18px;
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--bone);
  transition: border-color .35s var(--ease), background-color .35s var(--ease), color .35s;
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip:hover { border-color: var(--accent); }
.field { position: relative; margin-bottom: 26px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--glass-border);
  padding: 14px 0 12px; font-size: 1rem; color: var(--bone);
}
.field select option { background: var(--ink); }
.field label {
  position: absolute; left: 0; top: 14px; color: rgba(244,241,234,.55); pointer-events: none;
  transition: transform .4s var(--ease), font-size .4s var(--ease), color .4s var(--ease);
  letter-spacing: 0.02em;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.filled label {
  transform: translateY(-22px); font-size: 0.7rem; letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--accent-light);
}
.field .underline { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: 0; transition: transform .5s var(--ease); }
.field input:focus ~ .underline, .field textarea:focus ~ .underline { transform: scaleX(1); }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.btn-submit { position: relative; overflow: hidden; }
.btn-submit .lbl-default, .btn-submit .lbl-success { transition: transform .5s var(--ease), opacity .4s; }
.btn-submit .lbl-success { position: absolute; inset: 0; display: grid; place-items: center; transform: translateY(120%); opacity: 0; }
.btn-submit.is-success .lbl-default { transform: translateY(-120%); opacity: 0; }
.btn-submit.is-success .lbl-success { transform: translateY(0); opacity: 1; }
.btn-submit.is-success { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- 22. Footer ---------------------------------------------------------- */
.footer { padding-block: clamp(56px, 7vw, 100px) 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px,3vw,48px); }
.footer h4 { font-size: 0.74rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--fg-muted); margin-bottom: 20px; }
.footer-links a { display: block; padding: 7px 0; color: var(--fg); opacity: .82; transition: color .3s, opacity .3s; font-size: 0.92rem; }
.footer-links a:hover { color: var(--accent); opacity: 1; }
.footer-word { font-size: clamp(2.6rem, 9.2vw, 8.4rem); font-weight: 500; letter-spacing: -0.01em; line-height: .9;
  margin-block: clamp(40px,6vw,80px) 0; opacity: .96; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center;
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 30px; font-size: 0.8rem; color: var(--fg-muted); }
.footer-bottom .reg-line { letter-spacing: var(--tracking-wide); }
.socials { display: flex; gap: 18px; }
.socials a:hover { color: var(--accent); }

/* ---- 23. Wizard (start-a-project) ---------------------------------------- */
.wizard { max-width: 900px; margin: 0 auto; }
.wizard-progress { display: flex; gap: 6px; margin-bottom: 40px; }
.wizard-progress .bar { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.wizard-progress .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.wizard-progress .bar.done i { width: 100%; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.wizard-step .label { margin-bottom: 8px; }
.wizard-step h2 { margin-bottom: 28px; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 14px; }
.option {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  text-align: left; transition: border-color .4s var(--ease), background-color .4s, transform .4s var(--ease);
}
.option:hover { border-color: var(--accent); transform: translateY(-3px); }
.option[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.option h4 { font-size: 1.1rem; }
.option p { font-size: 0.85rem; margin-top: 8px; }
.option .tick { float: right; color: var(--accent); opacity: 0; transition: opacity .3s; }
.option[aria-pressed="true"] .tick { opacity: 1; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 44px; gap: 16px; }
.wizard-review dl { display: grid; grid-template-columns: 200px 1fr; gap: 14px 24px; }
.wizard-review dt { color: var(--fg-muted); font-size: 0.8rem; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.wizard-review dd { color: var(--fg); }
.wizard-success { text-align: center; padding-block: clamp(40px,6vw,90px); }
.wizard-success .check { width: 80px; height: 80px; margin: 0 auto 28px; border-radius: 50%;
  border: 1px solid var(--accent); display: grid; place-items: center; }
.wizard-success .check svg { width: 34px; height: 34px; stroke: var(--accent); }

/* ---- 24. Case study ------------------------------------------------------ */
.spec-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec { padding: clamp(20px,2vw,30px); border-right: 1px solid var(--line); }
.spec:last-child { border-right: 0; }
.spec .label { margin-bottom: 8px; }
.spec b { font-size: 1.05rem; font-weight: 600; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px,1.5vw,20px); }
.ba-fig { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 7/5; background: var(--bg-2); }
.ba-fig img { width: 100%; height: 100%; object-fit: cover; }
.ba-fig .tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ink); color: var(--bone);
  font-size: 0.66rem; letter-spacing: var(--tracking-label); text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.gallery { display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(12px,1.5vw,20px); }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-tall { grid-column: span 5; aspect-ratio: 3/4; }
.gallery .g-wide { grid-column: span 7; aspect-ratio: 7/5; }
.gallery .g-full { grid-column: span 12; aspect-ratio: 21/9; }
.gallery .g-half { grid-column: span 6; aspect-ratio: 4/3; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.prevnext a { padding-block: clamp(28px,3vw,48px); transition: background-color .4s; }
.prevnext a:hover { background: var(--bg-2); }
.prevnext .pn-next { text-align: right; border-left: 1px solid var(--line); }
.prevnext .label { margin-bottom: 10px; }
.prevnext h3 { font-size: clamp(1.4rem,2.4vw,2.2rem); }

/* ---- 24a. 404 quick links ------------------------------------------------- */
.notfound-links { margin-top: 48px; text-align: center; }
.nf-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 16px; }
.nf-list a { font-size: 0.92rem; color: rgba(244,241,234,.8); padding: 6px 0;
  border-bottom: 1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.nf-list a:hover { color: var(--accent-light); border-color: var(--accent); }

/* ---- 24b. Gallery lightbox ------------------------------------------------ */
[data-lightbox] figure { cursor: pointer; }
[data-lightbox] figure:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lightbox {
  position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center;
  background: rgba(14, 15, 17, 0.96);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.5s var(--ease); }
.lightbox img {
  max-width: 90vw; max-height: 80vh; width: auto; height: auto; object-fit: contain;
  transform: scale(0.985); transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lb-cap {
  position: absolute; left: 50%; bottom: clamp(22px, 4vh, 40px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px; white-space: nowrap;
  font-size: 0.72rem; letter-spacing: var(--tracking-label); text-transform: uppercase;
  font-weight: 600; color: rgba(244, 241, 234, 0.75);
}
.lb-cap .lb-count { color: var(--accent-light); }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244,241,234,.28);
  display: grid; place-items: center; color: var(--bone); font-size: 1.1rem;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.lb-btn:hover { border-color: var(--accent); color: var(--accent-light); }
.lb-prev { left: clamp(12px, 3vw, 44px); }
.lb-next { right: clamp(12px, 3vw, 44px); }
.lb-close { position: absolute; top: clamp(14px, 3vh, 30px); right: clamp(14px, 3vw, 30px);
  transform: none; }
body.no-motion .lightbox, body.no-motion .lightbox img { transition: none; }
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox img { transition: none; } }

/* ---- 25. Article / journal ----------------------------------------------- */
.journal-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(24px,3vw,48px); }
.article-card { display: block; }
.article-card .thumb { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16/10; background: var(--bg-2); }
.article-card .thumb .work-img { filter: grayscale(.15); }
.article-card:hover .thumb .work-img { transform: scale(1.08); filter: grayscale(0); }
.article-card .meta { margin-top: 18px; }
.article-card h3 { font-size: clamp(1.3rem,2vw,1.8rem); margin-top: 8px; }
.article-card p { margin-top: 10px; }

/* article body — serif editorial column (~68ch) */
.article-body { max-width: 68ch; margin-inline: auto; }
.article-body p {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.18rem, 1.5vw, 1.36rem); line-height: 1.75;
  color: var(--fg); margin-bottom: 1.35em; letter-spacing: 0.002em;
}
.article-body h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 1.9em 0 0.7em;
}
.article-body .pull-quote { margin-block: 1.8em; padding-left: 26px; border-left: 1px solid var(--accent); }
.article-body a { color: var(--accent-light); border-bottom: 1px solid var(--accent-soft); }
.article-body a:hover { color: var(--accent); }
.article-close { margin-top: 2.4em; }
.article-close .link-arrow { font-family: var(--font-sans); }

/* prose */
.prose { max-width: 70ch; }
.prose p { color: var(--fg); margin-bottom: 1.3em; font-size: 1.08rem; line-height: 1.7; }
.prose h3 { font-size: 1.5rem; margin: 1.6em 0 0.6em; }
.prose .serif { font-size: 1.4rem; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,72px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); }

/* bio page sticky portrait */
.bio-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px,5vw,80px); align-items: start; }
.bio-portrait { position: sticky; top: 110px; }
.bio-portrait .circle { width: min(360px, 80%); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--bg-2); margin: 0 auto; }
.bio-portrait .circle .work-img { filter: grayscale(1); }
.bio-portrait:hover .circle .work-img { filter: grayscale(0); transform: scale(1.05); }
.bio-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* meta row util */
.meta-row { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.meta-row .mi { font-size: 0.78rem; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-muted); }
.meta-row .mi b { color: var(--fg); font-weight: 600; }

.mt-s { margin-top: 20px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.muted { color: var(--fg-muted); }

/* placeholder flag badge for README-noted sample data */
.flag-note { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem;
  color: var(--fg-muted); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.flag-note::before { content: "•"; color: var(--accent); }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats, .team-grid, .pillars, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2n) { border-right: 0; }
  .invest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  :root { --nav-h: 66px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .founder, .split, .bio-layout, .contact-layout { grid-template-columns: 1fr; }
  .bio-portrait { position: static; }
  .cols-2, .cols-3, .svc-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .step .stage-tag { grid-column: 2; }
  /* mobile swipe-snap featured */
  .featured-pin { height: auto; display: block; }
  .featured-track { display: none; }
  .featured-scroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-inline: var(--gutter); padding-bottom: 20px; -webkit-overflow-scrolling: touch; }
  .featured-scroll .featured-panel { flex: 0 0 86vw; height: 70svh; scroll-snap-align: center; margin: 0; }
  .featured-head { position: static; padding-inline: var(--gutter); margin-bottom: 24px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item.wide, .work-item.span4, .work-item.span6,
  .work-item.span8, .work-item.span12 { grid-column: span 1; aspect-ratio: 4/3; }
  .gallery .g-tall, .gallery .g-wide, .gallery .g-half { grid-column: span 12; }
  .stats, .team-grid, .pillars, .cols-4, .journal-grid, .footer-top, .wizard-review dl { grid-template-columns: 1fr; }
  .pillar { border-right: 0; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext .pn-next { border-left: 0; border-top: 1px solid var(--line); }
  .wizard-review dl { gap: 4px 0; }
  .wizard-review dt { margin-top: 14px; }
}

/* ============================================================================
   REDUCED MOTION / NO-GSAP FALLBACK
   When body.no-motion: show clean static states, kill ambient animation.
   ========================================================================== */
body.no-motion * { animation: none !important; }
body.no-motion .hero-photo { opacity: 1; transform: none; }
body.no-motion .hero-line-art { opacity: 0.9; }
body.no-motion .hero-line-art path, body.no-motion .hero-line-art line,
body.no-motion .hero-line-art polyline, body.no-motion .hero-line-art rect,
body.no-motion .hero-line-art circle { stroke-dashoffset: 0 !important; }
body.no-motion [data-reveal], body.no-motion [data-reveal] * { opacity: 1 !important; transform: none !important; }
body.no-motion .preloader, body.no-motion .preloader-curtain { display: none !important; }
body.no-motion .preloader-word b { transform: none; }
body.no-motion .film-media { animation: none; transform: scale(1.05); }
body.no-motion .cursor, body.no-motion .cursor-dot { display: none !important; }
body.no-motion .contact-card::before { animation: none; background: var(--accent); opacity: .4; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo { opacity: 1; transform: none; }
  .marquee-track, .film-media, .contact-card::before, .hero-scroll i::after { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
