/* FJORE — The Quiet Threshold. Global atmosphere, ACT I, II, III. */

:root {
  color-scheme: light;
  --foundation-cream: #f1ece0;
  --warm-rose-room: #e8d5c4;
  --soft-rose-shadow: #cfb0a5;
  --rose-depth: #a9827c;
  --rose-veil: #d9bdb3;
  --ink: #0e0b05;
  --ink-muted: rgba(14, 11, 5, 0.68);
  --ink-soft: rgba(14, 11, 5, 0.42);
  --copper: #b87333;
  --pale-copper: #d4a574;
  --warm-fog: #f7f3ec;
  --surface-lit: #fbf7ef;
  
  --site-margin: clamp(1rem, 3.4vw, 4.5rem);
  --nav-height: clamp(4.5rem, 7vw, 6.25rem);
  --scroll-progress: 0;
  
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: clamp(0.68rem, 0.64rem + 0.18vw, 0.78rem);
  --text-sm: clamp(0.78rem, 0.74rem + 0.22vw, 0.92rem);
  --text-base: clamp(0.98rem, 0.93rem + 0.26vw, 1.12rem);
  --text-xl: clamp(3.2rem, 1.42rem + 8.9vw, 9.2rem);
  
  --ease-quiet: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-threshold: cubic-bezier(0.76, 0, 0.24, 1);

  /* Theme variables (default to light) */
  --current-bg: var(--warm-rose-room);
  --current-text: var(--ink);
  --current-heading: rgba(14,11,5,0.94);
  --current-nav: rgba(14,11,5,0.7);
  --header-bg: rgba(247, 243, 236, 0.66);
  --header-border: rgba(14, 11, 5, 0.06);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: inherit; }
html { min-height: 100%; scroll-behavior: smooth; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: var(--ink); }

body { 
  min-width: 320px; 
  min-height: 220svh; 
  margin: 0; 
  overflow-x: hidden; 
  background-color: var(--current-bg);
  color: var(--current-text);
  font-family: var(--font-sans); 
  font-size: var(--text-base); 
  line-height: 1.55; 
  transition: background-color 1s var(--ease-quiet), color 1s var(--ease-quiet);
}

/* Light wash gradient pseudo-element */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, var(--foundation-cream), var(--warm-rose-room) 42%, var(--soft-rose-shadow));
  z-index: -2;
  pointer-events: none;
  transition: opacity 1s var(--ease-quiet);
}

/* Dark Theme Interpolation */
body.theme-dark {
  --current-bg: var(--ink);
  --current-text: var(--foundation-cream);
  --current-heading: var(--surface-lit);
  --current-nav: rgba(241, 236, 224, 0.7);
  --header-bg: rgba(14, 11, 5, 0.75);
  --header-border: rgba(255, 255, 255, 0.05);
}
body.theme-dark::before {
  opacity: 0;
}

body::selection { color: var(--ink); background: rgba(212, 165, 116, 0.42); }
body.is-menu-open { overflow: hidden; }
img, picture, svg, video, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--copper); outline-offset: 0.32rem; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset: 1rem auto auto 1rem; z-index: 100; transform: translateY(-160%); padding: 0.78rem 1rem; border: 1px solid rgba(184, 115, 51, 0.48); border-radius: 999px; background: rgba(247, 243, 236, 0.92); font-size: var(--text-sm); letter-spacing: 0.04em; transition: transform 420ms var(--ease-quiet); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

/* Persistent architectural environment */
.site-environment { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; isolation: isolate; background: linear-gradient(90deg, rgba(120, 73, 67, 0.2), transparent 17%, transparent 77%, rgba(255, 251, 243, 0.2)), linear-gradient(180deg, var(--warm-fog), var(--warm-rose-room) 34%, var(--soft-rose-shadow)); transition: opacity 1s var(--ease-quiet); }
.environment-wash { position: absolute; inset: -10% -8%; background: radial-gradient(ellipse at 74% 18%, rgba(255, 249, 240, 0.68) 0 14%, transparent 43%), radial-gradient(ellipse at 20% 72%, rgba(177, 127, 116, 0.38) 0 16%, transparent 46%), linear-gradient(110deg, rgba(241, 236, 224, 0.7), rgba(232, 213, 196, 0.2) 42%, rgba(207, 176, 165, 0.52)); filter: saturate(0.94); transition: opacity 1s var(--ease-quiet); }
.wall-plane { position: absolute; top: 0; bottom: 0; background: linear-gradient(180deg, rgba(255, 247, 238, 0.24), rgba(162, 111, 105, 0.08)); box-shadow: inset 1px 0 rgba(255,255,255,0.2), inset -1px 0 rgba(94,52,47,0.08); transition: opacity 1s var(--ease-quiet); }
.wall-plane--rear { left: 21vw; width: 42vw; transform: skewX(-0.8deg); opacity: 0.48; }
.wall-plane--left { left: -4vw; width: 24vw; background: linear-gradient(90deg, rgba(91,45,42,0.2), rgba(231,206,194,0.2)); opacity: 0.58; }
.wall-plane--right { right: -10vw; width: 39vw; background: linear-gradient(90deg, rgba(255,250,244,0.2), rgba(177,127,116,0.22)); opacity: 0.7; }
.aperture { position: absolute; border: 1px solid rgba(255,249,240,0.46); background: rgba(188,139,128,0.16); box-shadow: inset 0 0 0 1px rgba(90,48,42,0.04), 0 2.6rem 7rem rgba(99,58,52,0.13); overflow: hidden; transition: opacity 1s var(--ease-quiet); }
.aperture__inner { position: absolute; inset: 10%; border: 1px solid rgba(14,11,5,0.04); background: linear-gradient(90deg, rgba(248,241,232,0.22), rgba(207,176,165,0.08)), linear-gradient(180deg, rgba(255,251,246,0.26), rgba(153,103,95,0.1)); }
.aperture--distant { left: clamp(3rem, 10vw, 10rem); top: 25svh; width: clamp(12rem, 25vw, 32rem); height: clamp(13rem, 24vw, 30rem); opacity: 0.45; }
.aperture--near { right: clamp(-4rem, 6vw, 8rem); top: 18svh; width: clamp(14rem, 28vw, 38rem); height: clamp(18rem, 32vw, 42rem); opacity: 0.34; }
.floor-horizon { position: absolute; left: -5vw; right: -5vw; top: 72svh; height: 1px; background: linear-gradient(90deg, transparent, rgba(14,11,5,0.12), rgba(255,249,240,0.52), transparent); transition: opacity 1s var(--ease-quiet); }
.copper-seam { position: absolute; background: linear-gradient(180deg, transparent, rgba(184,115,51,0.74), transparent); opacity: 0.44; transition: opacity 1s var(--ease-quiet); }
.copper-seam--vertical { top: 18svh; right: clamp(4.2rem, 18vw, 21rem); width: 1px; height: 38svh; transform-origin: center; animation: seamBreathe 11s var(--ease-quiet) infinite alternate; }
.copper-seam--floor { top: calc(72svh + 1px); left: 51vw; width: clamp(4.5rem, 11vw, 11rem); height: 1px; background: linear-gradient(90deg, transparent, rgba(184,115,51,0.62), transparent); }
.ambient-shadow { position: absolute; inset: -12% auto auto -8%; width: min(60rem, 70vw); height: min(52rem, 70vh); opacity: 0.16; mix-blend-mode: multiply; filter: blur(21px); transition: opacity 1s var(--ease-quiet); }
.ambient-shadow--palm { background: radial-gradient(ellipse at 20% 42%, rgba(75,40,36,0.26) 0 3%, transparent 15%), radial-gradient(ellipse at 34% 38%, rgba(75,40,36,0.19) 0 4%, transparent 18%), radial-gradient(ellipse at 47% 35%, rgba(75,40,36,0.16) 0 3%, transparent 16%); animation: shadowDrift 86s ease-in-out infinite alternate; }
.room-grain { position: absolute; inset: 0; opacity: 0.13; background-image: linear-gradient(rgba(14,11,5,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(14,11,5,0.012) 1px, transparent 1px); background-size: 3px 3px, 5px 5px; mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }

/* Soft cinematic video background.
   Two clips slowly dissolve into one another and read as a very soft, slow shadow
   in the page's warm background tones. It fades in from the mandate-book (Gallery) section.
   The wrapper is intentionally an unstyled group: each clip is the fixed layer, so the
   blend (multiply) resolves against the page / room atmosphere rather than an isolated box. */
:root { --soft-video-opacity: 0.2; }
.soft-video-bg__layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Sits above the body's opaque background (so it is actually visible) but below the
     page content (.passage is z-index:1), so text stays crisp and only the backdrop shadows. */
  z-index: 0;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
  /* Strip the clip's own colour so it tints purely to whatever is behind it. */
  filter: grayscale(1) brightness(1.06) contrast(0.84) blur(3px);
  /* Multiply turns the clip's darker passages into soft, warm shadows on the room. */
  mix-blend-mode: multiply;
  /* Slow, cinematic dissolve — also the gentle fade-in when the section is reached. */
  transition: opacity 2.8s var(--ease-quiet);
  will-change: opacity;
  /* Feather the edges so it reads as ambient shadow, not a rectangular video panel. */
  -webkit-mask-image: radial-gradient(ellipse 122% 112% at 50% 44%, #000 48%, transparent 92%);
  mask-image: radial-gradient(ellipse 122% 112% at 50% 44%, #000 48%, transparent 92%);
}
.soft-video-bg__layer.is-showing { opacity: var(--soft-video-opacity); }

@media (prefers-reduced-motion: reduce) {
  /* Hold a single, still, even softer frame rather than animating between clips. */
  .soft-video-bg__layer.is-showing { opacity: 0.13; }
}

/* Dim environment in dark mode */
body.theme-dark .site-environment .wall-plane,
body.theme-dark .site-environment .aperture,
body.theme-dark .site-environment .environment-wash,
body.theme-dark .site-environment .ambient-shadow,
body.theme-dark .site-environment .floor-horizon {
  opacity: 0.05;
}

/* Navigation */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-height); transition: background-color 520ms var(--ease-quiet), border-color 520ms var(--ease-quiet), backdrop-filter 520ms var(--ease-quiet); }
body.is-scrolled .site-header, body.is-menu-open .site-header { background: var(--header-bg); border-bottom: 1px solid var(--header-border); backdrop-filter: blur(18px) saturate(1.05); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 2vw, 2.5rem); width: 100%; height: 100%; padding-inline: var(--site-margin); }
.wordmark { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.27em; line-height: 1; color: var(--current-text); transition: color 800ms var(--ease-quiet); }
.wordmark::after { display: none; }
.nav-panel { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1rem, 1.8vw, 2.05rem); }
.nav-link, .language-switch, .nav-action, .menu-toggle { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.105em; text-transform: uppercase; }
.nav-link { position: relative; color: var(--current-nav); transition: color 500ms var(--ease-quiet); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.48rem; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: right center; opacity: 0.75; transition: transform 360ms var(--ease-threshold); }
.nav-link:hover, .nav-link:focus-visible { color: var(--current-text); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.language-switch { display: inline-flex; align-items: center; gap: 0.42rem; color: var(--current-nav); transition: color 500ms var(--ease-quiet); }
.language-switch a:hover, .language-switch a:focus-visible, .language-switch a[aria-current="page"] { color: var(--current-text); }
.nav-action { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; white-space: nowrap; color: var(--current-nav); transition: color 500ms var(--ease-quiet); }
.nav-action::after { content: ""; position: absolute; left: 0; bottom: 0.38rem; width: 100%; height: 1px; background: linear-gradient(90deg, var(--copper), var(--pale-copper)); transform: scaleX(0.38); transform-origin: left center; transition: transform 420ms var(--ease-threshold); opacity: 0.86; }
.nav-action:hover, .nav-action:focus-visible { color: var(--current-text); }
.nav-action:hover::after, .nav-action:focus-visible::after { transform: scaleX(1); }
.menu-toggle { position: relative; z-index: 3; display: none; align-items: center; gap: 0.8rem; min-height: 2.75rem; padding: 0; color: var(--current-text); background: transparent; border: 0; cursor: pointer; transition: color 800ms var(--ease-quiet); }
.menu-toggle__lines { position: relative; display: block; width: 2rem; height: 0.72rem; }
.menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; position: absolute; right: 0; width: 100%; height: 1px; background: currentColor; transition: transform 360ms var(--ease-threshold), top 360ms var(--ease-threshold); }
.menu-toggle__lines::before { top: 0; }
.menu-toggle__lines::after { top: 0.68rem; width: 72%; }
body.is-menu-open .menu-toggle__lines::before { top: 0.34rem; transform: rotate(35deg); }
body.is-menu-open .menu-toggle__lines::after { top: 0.34rem; width: 100%; transform: rotate(-35deg); }

/* Passage and utilities */
.passage { position: relative; z-index: 1; isolation: isolate; }
.passage__prelude { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.threshold-frame { position: absolute; display: block; border: 1px solid rgba(255,249,240,0.24); box-shadow: inset 0 0 0 1px rgba(14,11,5,0.035); opacity: calc(0.18 + (var(--scroll-progress) * 0.15)); }
.threshold-frame--large { left: clamp(1.25rem, 7vw, 7.5rem); top: 19svh; width: min(58rem, 66vw); height: min(35rem, 48svh); transform: translateY(calc(var(--scroll-progress) * -2.4rem)); }
.threshold-frame--narrow { right: clamp(1.5rem, 9vw, 10rem); top: 34svh; width: clamp(2rem, 5vw, 5rem); height: min(26rem, 41svh); border-color: rgba(184,115,51,0.22); transform: translateY(calc(var(--scroll-progress) * 1.8rem)); }
.threshold-frame--low { left: 28vw; top: 71svh; width: 35vw; height: 12svh; opacity: 0.12; }
.passage__mount { position: relative; z-index: 2; padding-top: var(--nav-height); }
.spatial-heading { max-width: 10ch; margin: 0; font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 400; letter-spacing: -0.055em; line-height: 0.88; }
.spatial-copy { max-width: 42rem; font-size: var(--text-base); line-height: 1.7; }
.metadata { color: rgba(14,11,5,0.56); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.18em; line-height: 1.35; text-transform: uppercase; }
.text-action { position: relative; display: inline-flex; align-items: center; min-height: 2.9rem; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
/* Reset native button chrome so a <button class="text-action"> reads as a text link, not a grey box. */
button.text-action { appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 0; margin: 0; color: inherit; font-family: inherit; cursor: pointer; }
.text-action::after { content: ""; position: absolute; left: 0; bottom: 0.42rem; width: 100%; height: 1px; background: var(--copper); transform: scaleX(0.42); transform-origin: left center; transition: transform 420ms var(--ease-threshold); }
.text-action:hover::after, .text-action:focus-visible::after { transform: scaleX(1); }
.act { position: relative; }

.act { scroll-margin-top: var(--nav-height); }
/* ACT I — The Threshold */
.act--threshold { min-height: 100svh; margin-top: calc(var(--nav-height) * -1); overflow: hidden; display: grid; align-items: end; padding: calc(var(--nav-height) + clamp(3rem, 6vh, 5.2rem)) var(--site-margin) calc(var(--nav-height) + clamp(3rem, 6vh, 5.2rem)); color: var(--ink); }
.threshold-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--warm-rose-room); }
.threshold-scene__image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0.94; filter: saturate(0.9) contrast(1.05); }
.threshold-scene__plaster { position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 34%, rgba(247,243,236,0.32) 0 18%, transparent 44%), linear-gradient(90deg, rgba(247,243,236,0.22), rgba(241,236,224,0.08) 33%, transparent 67%), linear-gradient(180deg, rgba(247,243,236,0.16), transparent 35%, rgba(104,62,55,0.08)); mix-blend-mode: screen; pointer-events: none; }
.threshold-scene__shade { position: absolute; pointer-events: none; }
.threshold-scene__shade--left { inset: 0 auto 0 0; width: min(58rem, 62vw); background: linear-gradient(90deg, rgba(247,243,236,0.7), rgba(247,243,236,0.2) 58%, transparent); }
.threshold-scene__shade--floor { left: 0; right: 0; bottom: 0; height: 38svh; background: linear-gradient(180deg, transparent, rgba(207,176,165,0.16) 42%, rgba(120,74,67,0.18)); }
.threshold-light-seam { position: absolute; right: clamp(8.5rem, 19vw, 21rem); top: 15.5svh; width: 1px; height: 50svh; background: linear-gradient(180deg, transparent, rgba(184,115,51,0.28), rgba(212,165,116,0.52), transparent); opacity: 0.72; transform-origin: center; animation: heroSeam 10s var(--ease-quiet) infinite alternate; }

.threshold-blueprint { position: absolute; bottom: 15%; left: clamp(16rem, 24vw, 28rem); width: clamp(12rem, 18vw, 20rem); z-index: 0; pointer-events: none; opacity: 0.15; mix-blend-mode: multiply; }
.blueprint-lines path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawBlueprint 4s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: 0.4s; }
.blueprint-accents circle, .blueprint-accents text { opacity: 0; animation: fadeInBlueprint 1s var(--ease-quiet) forwards; animation-delay: 2.4s; }

.threshold-copy { position: relative; z-index: 2; width: min(76rem, 82vw); padding-top: clamp(3rem, 7vh, 5.5rem); }
.threshold-copy::before { content: ""; position: absolute; z-index: -1; left: clamp(-1.4rem, -2vw, -0.6rem); top: clamp(0.8rem, 4vh, 3rem); width: min(58rem, 66vw); height: calc(100% + 1.6rem); background: radial-gradient(ellipse at 22% 35%, rgba(247,243,236,0.5), transparent 62%), linear-gradient(90deg, rgba(247,243,236,0.4), rgba(247,243,236,0.06) 72%, transparent); filter: blur(12px); opacity: 0.86; pointer-events: none; }
.threshold-eyebrow { max-width: 36rem; margin: 0 0 clamp(2rem, 3.5vh, 2.8rem); color: rgba(14,11,5,0.65); }
.threshold-title { max-width: none; font-size: clamp(4.2rem, 7.4vw, 7.85rem); line-height: 0.84; letter-spacing: -0.064em; color: rgba(14,11,5,0.94); text-wrap: balance; }
.threshold-title span { display: block; white-space: nowrap; }
.threshold-statement { width: min(39rem, 45vw); margin: clamp(1.1rem, 2.4vh, 1.8rem) 0 0 clamp(0.18rem, 0.5vw, 0.55rem); color: var(--ink-muted); text-wrap: pretty; }
.threshold-actions { display: flex; align-items: baseline; flex-wrap: wrap; gap: clamp(1.05rem, 2.4vw, 2.6rem); margin-top: clamp(2rem, 4vh, 3.5rem); margin-left: 0; padding-top: clamp(1.5rem, 3vh, 2rem); border-top: 1px solid rgba(184, 115, 51, 0.15); padding-bottom: 0; }
.threshold-secondary { position: relative; display: inline-flex; min-height: 2.9rem; color: rgba(14,11,5,0.62); font-size: var(--text-sm); letter-spacing: 0.025em; transition: color 260ms var(--ease-quiet); }
.threshold-secondary:hover, .threshold-secondary:focus-visible { color: var(--ink); }
.threshold-bottom-line { position: absolute; z-index: 2; left: var(--site-margin); right: var(--site-margin); bottom: clamp(2.5rem, 4vh, 3.5rem); height: 1px; opacity: 0.62; background: linear-gradient(90deg, rgba(14,11,5,0.12), rgba(255,249,240,0.5), transparent 55%); }
.threshold-bottom-line span { position: absolute; left: 0; top: -2.7rem; width: 1px; height: 2.2rem; background: linear-gradient(180deg, transparent, rgba(184,115,51,0.72)); }

.threshold-scroll-prompt {
  position: absolute;
  right: var(--site-margin);
  bottom: clamp(4.5rem, 8vh, 6.5rem);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--copper);
  opacity: 0.5;
  writing-mode: vertical-rl;
  z-index: 10;
  pointer-events: none;
  animation: scrollPromptFade 2s var(--ease-quiet) infinite alternate;
}
@keyframes scrollPromptFade {
  from { opacity: 0.3; }
  to { opacity: 0.7; }
}

/* ACT II — Two Entrances (Editorial Overhaul) */
.act--entrances { 
  position: relative; 
  color: var(--surface-lit); 
  z-index: 2; /* To sit above environment */
  padding: 0; /* Handled internally */
}

.entrances-layout {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

@media (min-width: 980px) {
  .entrances-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.entrances-sticky-visual {
  position: relative;
  width: 100%;
  height: 60svh;
  overflow: hidden;
}

@media (min-width: 980px) {
  .entrances-sticky-visual {
    width: 50vw;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
  }
}

.entrances-massive-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.1);
}

.entrances-image-wash {
  position: absolute;
  inset: 0;
  background: rgba(14,11,5,0.15); /* Just a subtle global dimming to protect white text if needed */
  pointer-events: none;
}
.entrances-image-wash::after { display: none; }

.entrances-content-tracks {
  position: relative;
  width: 100%;
  padding: 3rem var(--site-margin) 6rem;
  display: flex;
  flex-direction: column;
  gap: 8vh;
  z-index: 10;
}

@media (min-width: 980px) {
  .entrances-content-tracks {
    width: 65vw;
    margin-left: -15vw; /* Physical overlap */
    padding-top: calc(15vh + var(--nav-height));
    padding-bottom: 25vh;
    padding-left: 5vw;
    background: var(--ink);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -20px 0 60px rgba(14, 11, 5, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
  }
}

.entrances-intro-track {
  position: relative;
}

@media (min-width: 980px) {
  .entrances-intro {
    position: sticky;
    top: calc(25vh + var(--nav-height));
  }
}

.entrances-eyebrow {
  color: rgba(251, 247, 239, 0.6);
  text-shadow: 0 2px 8px rgba(14, 11, 5, 0.8);
}

.entrances-title {
  color: var(--surface-lit);
  margin-bottom: 2rem;
  max-width: none;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: 0.95;
  text-shadow: 0 4px 16px rgba(14, 11, 5, 0.9);
}

.entrances-lede {
  color: rgba(251, 247, 239, 0.9);
  font-size: var(--text-base);
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(14, 11, 5, 0.9);
}


.act--entrances .spatial-copy {
  color: rgba(251, 247, 239, 0.9);
}
.perspective-lenses {
  display: flex;
  flex-direction: column;
  gap: 16vh;
}

@media (min-width: 980px) {
  .perspective-lenses {
    margin-top: 5vh;
  }
}

.perspective-block {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: clamp(1.5rem, 5vw, 4rem);
}

.perspective-numeral {
  font-family: var(--font-serif);
  font-size: clamp(8rem, 20vw, 24rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.8;
  color: var(--copper);
  opacity: 0.04;
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 980px) {
  .perspective-numeral {
    font-size: clamp(12rem, 24vw, 26rem);
    left: -6rem; 
    top: -6rem;
  }
}

.perspective-text {
  position: relative;
  z-index: 1;
}

.perspective-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--surface-lit);
  margin: 0 0 1rem;
  text-shadow: 0 2px 12px rgba(14, 11, 5, 0.9);
}

.perspective-subheading {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pale-copper); /* Improved contrast */
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(14, 11, 5, 0.9);
}

.perspective-desc {
  font-size: var(--text-base);
  line-height: 1.8;
  color: rgba(251, 247, 239, 0.85);
  max-width: 36rem;
  margin: 0;
  text-shadow: 0 2px 12px rgba(14, 11, 5, 0.9);
}

html.js .entrances-content-tracks .js-reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 1s var(--ease-quiet), transform 1s var(--ease-quiet);
}
html.js .entrances-content-tracks .js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure the sticky container doesn't have js-reveal doing transform, as transform breaks sticky */
/* ACT III — Off-market manifesto */
.act--manifesto { min-height: 110svh; display: flex; align-items: center; padding: calc(var(--nav-height) + 4rem) var(--site-margin) 4rem; background-color: transparent; position: relative; overflow: hidden; }
.manifesto-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.manifesto-bg__image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0.25; filter: saturate(0.7) contrast(1.1) brightness(0.7); transform: scale(1.02); transition: opacity 1.5s var(--ease-quiet); }
.manifesto-bg__wash { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ink) 0%, transparent 50%, var(--ink) 100%), radial-gradient(ellipse at 70% 50%, transparent, var(--ink) 85%); mix-blend-mode: multiply; }
.manifesto-seam { position: absolute; top: 0; bottom: 0; left: clamp(3rem, 12vw, 15rem); width: 1px; background: linear-gradient(180deg, transparent, rgba(184,115,51,0.65), transparent); opacity: 0; transition: opacity 1s var(--ease-quiet); }

body.theme-dark .manifesto-seam { opacity: 1; animation: pulseSeam 5s infinite alternate var(--ease-quiet); }

.manifesto-content { position: relative; z-index: 2; max-width: 58rem; width: 100%; margin: 0 auto; }
.manifesto-title { margin-bottom: 2.2rem; font-size: clamp(3.2rem, 6.2vw, 7rem); line-height: 0.88; letter-spacing: -0.05em; color: var(--foundation-cream); text-wrap: balance; }
.manifesto-title span { display: block; }
.manifesto-lede { font-size: var(--text-base); line-height: 1.65; color: rgba(241, 236, 224, 0.85); margin-bottom: 3.5rem; max-width: 44rem; }

.manifesto-principles { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.manifesto-principles li { position: relative; padding-left: 1.4rem; font-size: clamp(0.95rem, 1.1vw, 1.15rem); color: rgba(241, 236, 224, 0.95); line-height: 1.5; letter-spacing: 0.01em; }
.manifesto-principles li::before { content: "·"; position: absolute; left: 0; top: -0.1em; font-size: 1.5em; color: var(--copper); font-weight: bold; }

/* Progressive Reveal Logic for Act III */
html.js .reveal-text {
  -webkit-mask-image: linear-gradient(to right, #000 45%, rgba(0,0,0,0.1) 55%);
  -webkit-mask-size: 230% 100%;
  -webkit-mask-position: 100% 0;
  mask-image: linear-gradient(to right, #000 45%, rgba(0,0,0,0.1) 55%);
  mask-size: 230% 100%;
  mask-position: 100% 0;
  opacity: 0;
  transition: -webkit-mask-position 1.4s var(--ease-quiet), mask-position 1.4s var(--ease-quiet), opacity 1.4s var(--ease-quiet);
}
html.js .reveal-text.is-revealed {
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  opacity: 1;
}


@keyframes heroSeam { 0% { opacity: 0.34; transform: scaleY(0.86); } 100% { opacity: 0.82; transform: scaleY(1); } }
@keyframes shadowDrift { 0% { transform: translate3d(-2vw, -1vh, 0) rotate(-12deg) scale(1); } 100% { transform: translate3d(13vw, 5vh, 0) rotate(-5deg) scale(1.08); } }
@keyframes seamBreathe { 0% { opacity: 0.28; transform: scaleY(0.86); } 100% { opacity: 0.58; transform: scaleY(1); } }
@keyframes drawBlueprint { to { stroke-dashoffset: 0; } }
@keyframes fadeInBlueprint { to { opacity: 1; } }
@keyframes pulseSeam { 0% { opacity: 0.3; transform: scaleY(0.8); } 100% { opacity: 1; transform: scaleY(1); } }

@media (max-width: 980px) {
  :root { --site-margin: clamp(1rem, 5vw, 2.2rem); --nav-height: 4.7rem; }
  .menu-toggle { display: inline-flex; }
  .nav-panel { position: fixed; inset: var(--nav-height) 0 auto 0; display: grid; grid-template-columns: 1fr; gap: 0; padding: 1.3rem var(--site-margin) 1.8rem; background: linear-gradient(180deg, rgba(247,243,236,0.95), rgba(232,213,196,0.9)), var(--warm-fog); border-bottom: 1px solid rgba(14,11,5,0.07); box-shadow: 0 2rem 5rem rgba(101,63,57,0.12); backdrop-filter: blur(20px) saturate(1.04); transform: translateY(-112%); opacity: 0; pointer-events: none; transition: transform 520ms var(--ease-threshold), opacity 360ms var(--ease-quiet); }
  body.theme-dark .nav-panel { background: rgba(14,11,5,0.95); border-color: rgba(255,255,255,0.08); }
  body.is-menu-open .nav-panel { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link, .language-switch, .nav-action { min-height: 3.35rem; align-items: center; border-bottom: 1px solid rgba(14,11,5,0.06); font-size: 0.78rem; }
  body.theme-dark .nav-link, body.theme-dark .language-switch, body.theme-dark .nav-action { border-color: rgba(255,255,255,0.06); }
  .nav-link { display: flex; }
  .nav-link::after { right: auto; bottom: 0.92rem; width: 2.2rem; }
  .language-switch { justify-content: flex-start; }
  .nav-action { justify-self: start; margin-top: 0.7rem; border-bottom: 0; }
  .wall-plane--rear { left: 30vw; width: 52vw; }
  .wall-plane--left { left: -18vw; width: 42vw; }
  .wall-plane--right { right: -32vw; width: 58vw; }
  .aperture--distant { left: -6vw; top: 24svh; width: 52vw; height: 42svh; }
  .aperture--near { right: -18vw; top: 16svh; width: 56vw; height: 58svh; }
  .threshold-frame--large { left: 7vw; width: 78vw; height: 46svh; }
  .threshold-frame--narrow { right: 9vw; top: 30svh; width: 3rem; }
  .threshold-scene__image { object-position: 58% 50%; }
@media (max-width: 980px) {
  .threshold-blueprint { display: none; }
}
  .threshold-copy { width: min(44rem, 88vw); }
  .threshold-copy::before { width: min(36rem, 92vw); }
  .threshold-title { font-size: clamp(3.6rem, 11.8vw, 6.75rem); max-width: 9.8ch; }
  .threshold-title span { white-space: normal; }
  .threshold-statement { width: min(35rem, 82vw); }

  .manifesto-title { font-size: clamp(3rem, 10vw, 4.8rem); }
}

@media (max-width: 620px) {
  body { min-height: 230svh; }
  .wordmark { font-size: 0.78rem; letter-spacing: 0.23em; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .floor-horizon { top: 74svh; }
  .copper-seam--vertical { right: 20vw; top: 20svh; height: 42svh; }
  .ambient-shadow { width: 92vw; height: 56vh; opacity: 0.12; }
  .spatial-heading { font-size: clamp(3.15rem, 16vw, 5.8rem); line-height: 0.9; }
  .act--threshold { min-height: 100svh; padding: calc(var(--nav-height) + 3.2rem) var(--site-margin) calc(var(--nav-height) + 3.2rem); }
  .threshold-scene__image { object-position: 63% 50%; transform: scale(1.04); }
  .threshold-scene__shade--left { width: 100%; background: linear-gradient(90deg, rgba(247,243,236,0.7), rgba(247,243,236,0.3) 58%, rgba(247,243,236,0.02)); }
  .threshold-blueprint { display: none; }
  .threshold-copy { width: 100%; padding-top: 8svh; }
  .threshold-copy::before { left: -1rem; top: 4svh; width: calc(100% + 2rem); height: calc(100% + 2rem); opacity: 0.72; }
  .threshold-eyebrow { max-width: 18rem; margin-bottom: 0.95rem; }
  .threshold-title { max-width: 8.95ch; font-size: clamp(3.2rem, 14.9vw, 5.15rem); line-height: 0.88; letter-spacing: -0.06em; }
  .threshold-statement { width: min(100%, 21rem); margin-top: 1rem; font-size: 0.95rem; line-height: 1.55; }
  .threshold-actions { align-items: flex-start; flex-direction: column; gap: 0.42rem; margin-top: 1.5rem; padding-top: 1rem; padding-bottom: 2.5rem; }
  .threshold-secondary { min-height: 2.4rem; }
  .threshold-bottom-line { bottom: clamp(2.5rem, 4vh, 3.5rem); }
  .threshold-scroll-prompt { display: none; }
  .threshold-light-seam { right: 14vw; top: 20svh; }

  .manifesto-title { font-size: clamp(2.8rem, 12vw, 3.6rem); }
  .manifesto-seam { left: 8vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  .ambient-shadow--palm { transform: translate3d(4vw, 2vh, 0) rotate(-8deg) scale(1.03); }
}


/* Global structural alignment */
.architectural-left { text-align: left; }
.architectural-left h2, .architectural-left h3 { margin-left: 0; margin-right: auto; }
.architectural-left p { margin-left: 0; margin-right: auto; }

/* ACT IV — Gallery (Dossiers) */
.act--gallery { padding: calc(var(--nav-height) + 4rem) 0 4rem; overflow: hidden; background: transparent; color: inherit; }
.gallery-intro { padding: 0 var(--site-margin); margin-bottom: 4rem; max-width: 50rem; }
.gallery-title { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 1.5rem; }
.dossier-list { display: flex; flex-direction: column; gap: 8rem; padding: 0 var(--site-margin) 4rem; }
.dossier { position: relative; width: 100%; max-width: 80rem; margin: 0 auto; display: flex; flex-direction: column; }
.dossier__bg-schematic { position: absolute; inset: -4rem -2rem; z-index: 0; pointer-events: none; }
.dossier__bg-schematic svg { width: 100%; height: 100%; }
.dossier__content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width: 980px) {
  .dossier__content { grid-template-columns: minmax(18rem, 1fr) 2.5fr; gap: 4rem; align-items: start; }
}
.dossier__id { font-family: var(--font-serif); font-size: clamp(4rem, 10vw, 8rem); margin: 0; line-height: 0.8; letter-spacing: -0.05em; color: var(--current-text); opacity: 0.9; }
.dossier__meta { display: flex; flex-direction: column; gap: 3rem; margin-top: 1rem; }
.dossier__title-block h4 { font-size: 2rem; font-weight: 400; margin: 0 0 1rem; font-family: var(--font-serif); }
.dossier__desc { font-size: 1.05rem; line-height: 1.6; margin: 0; max-width: 32rem; color: var(--current-text); opacity: 0.8; }
.dossier__tabular { border-top: 1px solid var(--current-text); padding-top: 1rem; display: flex; flex-direction: column; }
.dossier__row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(14,11,5,0.15); padding: 0.75rem 0; font-family: monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
body.theme-dark .dossier__row { border-color: rgba(255,255,255,0.15); }
.dossier__row .label { opacity: 0.5; }
.dossier__row .value { text-align: right; font-weight: 600; }
.dossier__specs-reveal { margin-top: 1rem; }
.dossier__specs-panel { margin-bottom: 2rem; }
.dossier__specs-panel p { font-family: monospace; font-size: 0.8rem; line-height: 1.5; color: var(--current-text); opacity: 0.7; max-width: 38rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ACT V — Owners Symmetric */
.act--owners-symmetric { min-height: 90svh; position: relative; display: flex; align-items: center; justify-content: flex-start; background: transparent; padding: var(--nav-height) var(--site-margin); color: inherit; }
.owners-backdrop { position: absolute; inset: 0; opacity: 0.25; pointer-events: none; }
.owners-backdrop svg { width: 100%; height: 100%; object-fit: cover; }
.owners-content { position: relative; z-index: 2; max-width: 45rem; }
.owners-title { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 1.5rem; text-align: left; }
.owners-lede { margin-bottom: 2.5rem; text-align: left; }

/* ACT VI — Structure */
.act--structure { min-height: 100svh; padding: var(--nav-height) var(--site-margin) 6rem; background: transparent; color: inherit; position: relative; overflow: hidden; }
.structure-header { max-width: 42rem; margin: 0 0 6rem 0; position: relative; z-index: 2; }
.structure-timeline { position: relative; max-width: 48rem; margin: 0; padding-left: clamp(2rem, 5vw, 4rem); }
.timeline-stage { position: relative; padding-bottom: 4rem; opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-quiet), transform 0.8s var(--ease-quiet); }
.timeline-stage.is-visible { opacity: 1; transform: translateY(0); }
.timeline-rule { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--current-text); opacity: 0.2; }
.timeline-content { position: relative; padding-left: 2rem; }
.timeline-content::before { content: ""; position: absolute; left: -2px; top: 0.5rem; width: 5px; height: 1px; background: var(--copper); }
.timeline-num { display: block; font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 4rem); color: var(--current-text); opacity: 0.2; line-height: 0.8; margin-bottom: 1rem; }
.timeline-text h3 { font-family: var(--font-serif); font-size: 2rem; margin: 0 0 0.5rem; }
.timeline-text p { margin: 0; font-family: monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--current-text); opacity: 0.6; }

/* ACT VII — Principal */
.act--principal { padding: var(--nav-height) var(--site-margin) 6rem; background: transparent; color: inherit; }
.principal-editorial { display: grid; grid-template-columns: 1fr; gap: 4rem; margin-bottom: 8rem; }
@media (min-width: 980px) {
  .principal-editorial { grid-template-columns: 1fr 1fr; align-items: start; }
}
.principal-visual { position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; margin-left: calc(var(--site-margin) * -1); max-width: calc(100% + var(--site-margin)); }
.principal-image-massive { width: 100%; height: 100%; object-fit: cover; filter: grayscale(10%) contrast(1.05); }
.schematic-overlay { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.schematic-overlay svg { width: 100%; height: 100%; }
.principal-text { margin-top: 4rem; }
.principal-name { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 3rem; }
.principal-quote { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.3; color: var(--current-text); margin-bottom: 3rem; letter-spacing: -0.02em; }
.principal-metadata { font-family: monospace; font-size: 0.7rem; line-height: 1.8; letter-spacing: 0.15em; color: var(--current-text); opacity: 0.6; margin-bottom: 3rem; }
.credentials-index { display: flex; flex-direction: column; margin-bottom: 8rem; }
.cred-row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--current-text); padding: 1.5rem 0; }
body.theme-dark .cred-row { border-color: rgba(255,255,255,0.15); }
.cred-row:last-child { border-bottom: 1px solid var(--current-text); }
body.theme-dark .cred-row:last-child { border-bottom-color: rgba(255,255,255,0.15); }
@media (min-width: 980px) {
  .cred-row { grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: baseline; }
  .cred-val { grid-column: 1 / 5; }
  .cred-desc { grid-column: 5 / 11; }
}
.cred-val { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--copper); line-height: 1; margin-bottom: 1rem; }
.cred-desc { font-size: 1rem; line-height: 1.5; color: var(--current-text); opacity: 0.8; }
.track-record { max-width: 48rem; }
.track-record h3 { font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 2rem; }
.track-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.track-list li { position: relative; padding-left: 2rem; line-height: 1.6; }
.track-list li::before { content: ""; position: absolute; left: 0; top: 0.65rem; width: 1rem; height: 1px; background: var(--copper); }

/* ACT VIII — Conversation */
.act--conversation { min-height: 80svh; display: flex; align-items: center; justify-content: flex-start; background: transparent; text-align: left; padding: 4rem var(--site-margin); color: inherit; position: relative; z-index: 1; }
.conversation-content { max-width: 45rem; position: relative; z-index: 2; margin: 0; }
.conversation-content h2 { font-size: clamp(3rem, 6vw, 4.8rem); margin-bottom: 1.5rem; }
.final-cta { display: inline-flex; flex-direction: column; align-items: flex-start; padding: 2rem 0; color: var(--ink); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.1rem; margin: 3rem 0; border: none; transition: color 0.3s ease; position: relative; }
.final-cta::after { content: ""; position: absolute; left: 0; bottom: 1.5rem; width: auto; min-width: 15rem; height: 1px; background: var(--copper); transition: background 0.3s ease; }
body.theme-dark .final-cta { color: var(--foundation-cream); }
.final-cta:hover { color: var(--copper); }
.final-cta:hover::after { background: var(--ink); }
body.theme-dark .final-cta:hover::after { background: var(--foundation-cream); }
.final-cta-details { font-family: monospace; font-size: 0.8rem; margin-top: 1rem; opacity: 0.7; font-weight: normal; }
.gdpr-clause { font-size: 0.8rem; color: var(--ink-muted); }
body.theme-dark .gdpr-clause { color: rgba(255,255,255,0.6); }
.gdpr-clause a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--foundation-cream); padding: 3rem var(--site-margin); font-size: 0.85rem; font-family: monospace; position: relative; z-index: 10; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-data { display: flex; flex-wrap: wrap; gap: 1.5rem; opacity: 0.8; }
.footer-legal a { opacity: 0.8; transition: opacity 0.3s; }
.footer-legal a:hover { opacity: 1; }

@media (max-width: 980px) {
  .final-cta { padding: 1.5rem 0; }
}

/* Cookie Banner - Redesigned as a polite, integrated whisper */
.cookie-banner { position: fixed; bottom: clamp(1rem, 3vw, 2rem); left: 50%; transform: translateX(-50%); width: calc(100% - 2rem); max-width: 48rem; background: var(--surface-lit); color: var(--ink); z-index: 9999; border: 1px solid var(--hair); border-radius: 999px; padding: clamp(0.7rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2.5rem); font-family: var(--font-sans); box-shadow: 0 1rem 3rem rgba(14,11,5,0.08), 0 0 0 1px rgba(184,115,51,0.08); }
.cookie-banner__inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
@media (min-width: 980px) {
  .cookie-banner__inner { flex-direction: row; justify-content: space-between; text-align: left; gap: 2rem; }
}
.cookie-banner__text { flex: 1; }
.cookie-banner__text strong { display: block; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 0.1rem; }
.cookie-banner__text p { margin: 0; font-size: 0.8rem; line-height: 1.5; color: var(--ink-muted); }
.cookie-banner__actions { display: flex; gap: 1.2rem; align-items: center; }
.cookie-btn { background: transparent; border: 0; padding: 0; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; transition: color 0.3s ease; white-space: nowrap; }
.cookie-btn--secondary { color: var(--ink-soft); }
.cookie-btn--secondary:hover { color: var(--ink); }
.cookie-btn--primary { position: relative; color: var(--ink); display: inline-flex; align-items: center; min-height: 2rem; }
.cookie-btn--primary::after { content: ""; position: absolute; left: 0; bottom: 0.2rem; width: 100%; height: 1px; background: var(--copper); transform: scaleX(0.42); transform-origin: left center; transition: transform 420ms var(--ease-threshold); }
.cookie-btn--primary:hover::after { transform: scaleX(1); }
@media (max-width: 620px) {
  .cookie-banner { border-radius: 12px; padding: 1.5rem; }
  .cookie-banner__actions { width: 100%; justify-content: space-around; padding-top: 0.5rem; border-top: 1px solid var(--hair); margin-top: 0.5rem; }
}
@media (max-width: 620px) {
  .footer-inner { flex-direction: column; }
}

/* ── Editorial legibility wash ─────────────────────────────────────────────
   Body copy in the video-backed acts (Gallery onward) is lifted off the
   cinematic background not by a framed card but by a soft pool of warm light.
   The same vellum tone is kept, but its edges are feathered to nothing with a
   radial mask — no border, no corners, no drop shadow — so the wash dissolves
   into the room like ambient light rather than reading as a UI panel. A thin
   copper margin rule on the prose columns carries the site's architectural
   detailing in a quieter, more editorial register. */
:root {
  --wash-core: rgba(250, 246, 239, 0.62);
  --wash-edge: rgba(243, 236, 226, 0.30);
}
.gallery-intro,
.dossier__content,
.owners-content,
.structure-header,
.principal-text,
.track-record,
.conversation-content {
  position: relative;
  isolation: isolate;
}

/* Left-aligned editorial columns — light pools toward the text, off to the left. */
.gallery-intro::before,
.owners-content::before,
.structure-header::before,
.principal-text::before,
.track-record::before,
.conversation-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2.4rem -4.5rem -2.6rem -3rem;
  background: linear-gradient(150deg, var(--wash-core), var(--wash-edge));
  -webkit-mask-image: radial-gradient(118% 130% at 28% 40%, #000 36%, transparent 84%);
          mask-image: radial-gradient(118% 130% at 28% 40%, #000 36%, transparent 84%);
  pointer-events: none;
}

/* Wide dossier grid — an even pool that backs both columns, feathered at the rim. */
.dossier__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2rem -2.6rem;
  background: linear-gradient(160deg, var(--wash-core), var(--wash-edge));
  -webkit-mask-image: radial-gradient(138% 145% at 50% 44%, #000 56%, transparent 92%);
          mask-image: radial-gradient(138% 145% at 50% 44%, #000 56%, transparent 92%);
  pointer-events: none;
}

/* A single hairline copper rule in the margin — an editorial column marker. */
.owners-content::after,
.structure-header::after,
.principal-text::after,
.track-record::after,
.conversation-content::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -1.6rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--copper) 16%, var(--copper) 84%, transparent);
  opacity: 0.45;
  pointer-events: none;
}

/* Pull the wash and rule in on narrow screens so they stay close to the text. */
@media (max-width: 620px) {
  .gallery-intro::before,
  .owners-content::before,
  .structure-header::before,
  .principal-text::before,
  .track-record::before,
  .conversation-content::before,
  .dossier__content::before {
    inset: -1.3rem -1.5rem;
    -webkit-mask-image: radial-gradient(135% 140% at 42% 42%, #000 48%, transparent 90%);
            mask-image: radial-gradient(135% 140% at 42% 42%, #000 48%, transparent 90%);
  }
  .owners-content::after,
  .structure-header::after,
  .principal-text::after,
  .track-record::after,
  .conversation-content::after {
    left: -0.85rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FJORE — client revision refinement layer
   Addresses: lighter / airier type, hero kept within the room, feathered dark
   transitions, the restructured sequence (About · Track record · Process ·
   Opportunities · Perspectives · Contact), a floating portrait, transparent
   tiles, and the contact form. Appended last so it governs the cascade.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Tame the default display size — bare .spatial-heading was reaching ~9rem and
     reading as a "mish-mash" later in the page. This is the section-heading size. */
  --text-xl: clamp(2.2rem, 1.4rem + 3.3vw, 3.65rem);

  --hair: rgba(14, 11, 5, 0.13);
  --hair-strong: rgba(14, 11, 5, 0.24);
  --copper-line: rgba(184, 115, 51, 0.42);
  --tile-bg: rgba(250, 246, 239, 0.30);
  --tile-bg-hover: rgba(250, 246, 239, 0.58);
}

/* Lighter, airier headings — thinner weight and more letter air, not smaller. */
.spatial-heading { font-weight: 300; letter-spacing: -0.028em; line-height: 1.05; text-wrap: balance; }
.spatial-copy { color: var(--ink-muted); text-wrap: pretty; }

/* A shared, restrained section frame so the lower page stops feeling ad-hoc. */
.act--about,
.act--record,
.act--process,
.act--perspectives,
.act--contact {
  padding: clamp(4.5rem, 9vh, 7.5rem) var(--site-margin);
}
.act--about > *,
.act--record > *,
.act--process > *,
.act--perspectives > *,
.act--contact > * { max-width: 76rem; margin-inline: 0; }

/* ── Hero kept inside the interior ─────────────────────────────────────────
   Smaller, lighter title that wraps within the copy column, and a copy column
   that stays inside the room frame so nothing crosses the boundary. */
.threshold-title {
  font-size: clamp(2.9rem, 5.4vw, 5.5rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.05em; /* Tighter tracking for bespoke feel */
}
.threshold-title span { white-space: normal; }
@media (min-width: 981px) {
  /* Architectural split: Right 45% image, Left 55% cream base for text */
  .threshold-scene { width: 45vw; left: auto; right: 0; border-left: 1px solid rgba(184, 115, 51, 0.2); }
  /* Right-align the source image so the doorway/model on its right border stays in view; anchor the entrance zoom to that edge so scaling doesn't crop it back off */
  .threshold-scene__image { object-position: 100% 50%; transform-origin: right center; }
  .threshold-scene__shade--left { display: none; } /* Removed horizontal fade as we use a sharp vertical grid now */
  .threshold-copy { width: 55vw; padding-right: clamp(3rem, 6vw, 8rem); }
  .threshold-copy::before { display: none; } /* Remove blurry pool overlay, column is now natively solid */
  .threshold-statement { max-width: 32rem; margin-top: 1.5rem; } /* Slightly wider measure to fill the 55vw */
  
  /* Lock the nav width to the text column so it doesn't float over the art */
  .site-nav { max-width: 55vw; padding-right: clamp(2rem, 3.5vw, 5rem); gap: clamp(1.5rem, 3vw, 4rem); }
  .nav-panel { gap: clamp(1rem, 1.8vw, 2.2rem); }
  .nav-link, .language-switch, .nav-action { font-size: 0.65rem; white-space: nowrap; }
}
/* ── Entrance Choreography ─────────────────────────────────────────────────
   Slow, staggered reveal for the hero typography to set high-end pacing.
   Gated on body.is-loaded so the sequence begins as the preloader lifts. */
html.js .threshold-eyebrow,
html.js .threshold-statement,
html.js .threshold-actions {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(1.2rem);
}
html.js body.is-loaded .threshold-eyebrow { animation: heroReveal 1.2s var(--ease-quiet) 0.5s forwards; }
html.js body.is-loaded .threshold-statement { animation: heroReveal 1.2s var(--ease-quiet) 0.72s forwards; }
html.js body.is-loaded .threshold-actions { animation: heroReveal 1.2s var(--ease-quiet) 0.92s forwards; }

@keyframes heroReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

/* ── Feathered dark transition (point 1: nothing cut off) ──────────────────
   The one cinematic dark band now dissolves into the warm sections above and
   below instead of meeting them at a hard horizontal line. */
.act--entrances {
  background: linear-gradient(180deg,
    transparent 0%,
    var(--ink) 11%,
    var(--ink) 86%,
    transparent 100%);
}
.entrances-massive-image {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 92%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 92%, transparent 100%);
}
@media (min-width: 980px) {
  /* On desktop the image is the left half; feather its top and keep the wash
     handling the right edge so the seam reads as shadow, not a panel. */
  .entrances-massive-image {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 100%);
  }
}
.entrances-title { font-size: clamp(2.4rem, 3.5vw, 3.7rem); font-weight: 400; }
.perspective-heading { font-size: clamp(2rem, 3.2vw, 3.1rem); font-weight: 400; }

/* ── ACT III · About — floating portrait ──────────────────────────────────
   The "capital floating effect behind" the portrait: a soft copper/cream aura
   and a faint schematic that extend past the image, with the photo lifted on a
   long shadow so it reads as floating. When a background-removed (transparent)
   portrait is supplied, this aura shows through directly. */
.about-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 980px) {
  .about-editorial { grid-template-columns: 0.86fr 1.14fr; gap: clamp(3rem, 5vw, 5.5rem); }
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.about-visual__aura {
  position: absolute;
  inset: -4%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 64% 60% at 50% 42%, rgba(212, 165, 116, 0.30) 0%, transparent 62%),
    radial-gradient(ellipse 78% 80% at 52% 56%, rgba(247, 243, 236, 0.55) 0%, transparent 70%);
  filter: blur(14px);
  animation: aboutFloat 16s var(--ease-quiet) infinite alternate;
}
.about-visual__schematic { position: absolute; inset: 8%; width: 84%; height: 84%; opacity: 0.5; }
.about-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 2px;
  filter: grayscale(8%) contrast(1.03);
  box-shadow: 0 2.4rem 5rem rgba(99, 58, 52, 0.26), 0 0.5rem 1.5rem rgba(99, 58, 52, 0.12);
  animation: aboutFloat 16s var(--ease-quiet) infinite alternate;
}
@keyframes aboutFloat {
  0%   { transform: translateY(-0.5rem); }
  100% { transform: translateY(0.6rem); }
}
.about-text { margin: 0; }
.about-eyebrow { margin-bottom: clamp(1rem, 1.8vh, 1.4rem); }
.about-name { font-size: clamp(2.4rem, 3.6vw, 3.6rem); margin: 0 0 1.4rem; }
.about-statement {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.3;
  color: var(--copper);
  margin: 0 0 1.2rem;
}
.about-lede { max-width: 38rem; margin: 0 0 1.8rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; margin: 0 0 1.6rem; }
.about-tags span {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--copper); border-top: 1px solid var(--copper-line); padding-top: 0.55rem;
}
.about-meta {
  font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1.95; color: var(--ink-soft); margin: 0 0 1.8rem;
}
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.about-network { font-size: var(--text-sm); color: var(--ink-soft); font-style: italic; }

/* ── ACT IV · Track record — stats + transparent transaction tiles ─────────
   Reframes the proof as firm engagements (not a personal CV), with the
   transparent tiles the client asked for. */
.act--record { color: var(--ink); }
.record-intro { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.record-title { font-size: clamp(2.2rem, 3.5vw, 3.4rem); margin-bottom: 1.4rem; }
.record-lede { max-width: 44rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.stat { padding-top: 1.1rem; border-top: 1px solid var(--hair-strong); }
.stat__m {
  font-family: var(--font-serif); font-weight: 300; color: var(--copper);
  font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -0.02em;
}
.stat__l { font-size: var(--text-sm); color: var(--ink-muted); margin-top: 0.7rem; line-height: 1.5; }

.record-transactions__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.record-transactions__head h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 0.6rem; letter-spacing: -0.01em;
}
.record-transactions__head p { font-size: var(--text-sm); color: var(--ink-muted); margin: 0; max-width: 40rem; }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
}
.tile {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--tile-bg);
  border: 1px solid var(--hair);
  border-radius: 3px;
  transition: background-color 420ms var(--ease-quiet), border-color 420ms var(--ease-quiet), transform 420ms var(--ease-quiet);
}
.tile:hover { background: var(--tile-bg-hover); border-color: var(--copper-line); transform: translateY(-2px); }
.tile__cat { font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper); }
.tile__t { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.15; margin: 0; }
.tile__d { font-size: var(--text-sm); line-height: 1.55; color: var(--ink-muted); margin: 0; }

/* ── ACT V · Process — five stages with a defined output each ──────────────*/
.process-header { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.process-header h2 { font-size: clamp(2.2rem, 3.5vw, 3.4rem); margin-bottom: 1.2rem; }
.process-flow { max-width: 54rem; border-left: 1px solid var(--hair-strong); }
.process-stage {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.2rem);
  padding: clamp(1.5rem, 3vw, 2.1rem) 0 clamp(1.5rem, 3vw, 2.1rem) clamp(1.4rem, 3vw, 2.2rem);
  border-top: 1px solid var(--hair);
}
.process-stage:first-child { border-top: 0; }
.process-num { font-family: var(--font-serif); font-weight: 300; color: var(--copper); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 0.9; }
.process-body h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0 0 0.5rem; }
.process-meta { font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 0.6rem; line-height: 1.6; }
.process-out { font-size: var(--text-sm); color: var(--ink); margin: 0; line-height: 1.55; }

/* ── ACT VI · Opportunities — role + headline qualities (fuller cards) ─────*/
.dossier__id { font-size: clamp(2.6rem, 4.4vw, 4.4rem); font-weight: 300; opacity: 0.85; }
.dossier__role { font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper); margin: 0 0 0.9rem; }
.dossier__highlight {
  font-family: var(--font-sans); font-size: var(--text-sm); letter-spacing: 0.01em; line-height: 1.7;
  color: var(--ink-muted); margin: 0; padding-top: 1rem; border-top: 1px solid var(--hair);
}
.dossier__request {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem;
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--hair);
}
.dossier__pack { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* ── ACT VII · Perspectives — market notes (placeholder, designed-in) ──────*/
.perspectives-intro { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.perspectives-title { font-size: clamp(2.2rem, 3.5vw, 3.4rem); margin-bottom: 1.4rem; }
.perspectives-lede { max-width: 44rem; }
.perspectives-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-strong); max-width: 64rem; }
.perspectives-entry {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 2.4rem);
  align-items: baseline; padding: clamp(1.6rem, 3vw, 2.2rem) 0; border-bottom: 1px solid var(--hair);
}
.perspectives-entry__vol { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--copper); letter-spacing: -0.01em; }
.perspectives-entry__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; margin: 0 0 0.5rem; }
.perspectives-entry__teaser { font-size: var(--text-sm); color: var(--ink-muted); margin: 0; max-width: 40rem; line-height: 1.6; }
.perspectives-entry__status {
  align-self: center; white-space: nowrap;
  font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--copper-line); border-radius: 999px; padding: 0.42rem 0.95rem;
}
.perspectives-entry--upcoming .perspectives-entry__title { opacity: 0.92; }
.perspectives-notify { margin-top: clamp(1.8rem, 3vw, 2.6rem); }
@media (max-width: 620px) {
  .perspectives-entry { grid-template-columns: auto 1fr; }
  .perspectives-entry__status { grid-column: 1 / -1; justify-self: start; }
}

/* ── ACT VIII · Contact — private enquiry form ─────────────────────────────*/
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 5vw, 5rem); } }
.contact-lead { max-width: 34rem; }
.contact-title { font-size: clamp(2.2rem, 3.5vw, 3.4rem); margin-bottom: 1.3rem; }
.contact-sub { margin-bottom: 2rem; }
.contact-direct { display: flex; flex-direction: column; gap: 0.6rem; }
.contact-direct__label { font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.contact-direct__line { font-family: var(--font-sans); font-size: var(--text-sm); color: var(--ink-muted); display: inline-flex; gap: 0.6rem; flex-wrap: wrap; }
.contact-direct__line a { border-bottom: 1px solid var(--copper-line); padding-bottom: 2px; transition: color 260ms var(--ease-quiet), border-color 260ms var(--ease-quiet); }
.contact-direct__line a:hover { color: var(--ink); border-color: var(--copper); }

.contact-form {
  background: linear-gradient(160deg, rgba(250, 246, 239, 0.66), rgba(243, 236, 226, 0.42));
  border: 1px solid var(--hair); border-radius: 6px;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  backdrop-filter: blur(2px);
}
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field__label { display: block; margin-bottom: 0.45rem; font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; font-family: var(--font-sans); font-size: var(--text-sm); color: var(--ink);
  background: rgba(255, 255, 255, 0.42); border: 1px solid var(--hair); border-radius: 3px;
  padding: 0.7rem 0.75rem; outline: none; transition: border-color 200ms var(--ease-quiet), background-color 200ms var(--ease-quiet);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--copper); background: rgba(255, 255, 255, 0.62); }
.contact-form textarea { resize: none; min-height: 6rem; }
.field-consent { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0.4rem 0 1.1rem; font-size: var(--text-sm); color: var(--ink-muted); line-height: 1.5; }
.field-consent input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.05rem; height: 1.05rem; flex: 0 0 1.05rem;
  margin: 0.18rem 0 0;
  border: 1px solid var(--copper-deep);
  border-radius: 1px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.72rem 0.6rem;
  cursor: pointer;
  transition: border-color 220ms var(--ease-quiet), background-color 220ms var(--ease-quiet), box-shadow 220ms var(--ease-quiet);
}
.field-consent input:hover { border-color: var(--copper); background-color: rgba(184, 115, 51, 0.06); }
.field-consent input:checked {
  background-color: rgba(184, 115, 51, 0.1);
  border-color: var(--copper-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none' stroke='%239a5c24' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5.4 L4.5 8.8 L11 1.5'/%3E%3C/svg%3E");
}
.field-consent input:focus-visible { outline: 1px solid var(--copper); outline-offset: 2px; }
.field-consent a { border-bottom: 1px solid var(--copper-line); padding-bottom: 1px; }
.contact-submit {
  font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--foundation-cream); background: var(--ink); border: 0; border-radius: 3px;
  padding: 0.85rem 1.7rem; cursor: pointer; transition: background-color 220ms var(--ease-quiet);
}
.contact-submit:hover { background: var(--copper); }

.contact-done, .form-error {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin: 0;
  transition: max-height 0.4s var(--ease-quiet), opacity 0.5s var(--ease-quiet), margin 0.4s var(--ease-quiet);
}
.contact-done.is-visible {
  max-height: 20rem;
  opacity: 1;
  margin-top: 1.5rem;
}
.form-error.is-visible {
  max-height: 20rem;
  opacity: 1;
  margin-top: 1.2rem;
}

.contact-done {
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.6;
}
.form-error {
  font-size: var(--text-sm);
  color: #a84a38; /* muted terracotta / red-copper */
  line-height: 1.5;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(168, 74, 56, 0.45);
}
body.theme-dark .form-error {
  color: #d67968;
  border-left-color: rgba(214, 121, 104, 0.45);
}

/* Carry the editorial light-pool and copper margin rule onto the new prose
   columns so they stay legible over the soft cinematic shadow lower down. */
.record-intro,
.record-transactions__head,
.process-header,
.about-text,
.perspectives-intro,
.contact-lead {
  position: relative;
  isolation: isolate;
}
.record-intro::before,
.process-header::before,
.about-text::before,
.perspectives-intro::before,
.contact-lead::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2.4rem -4.5rem -2.6rem -3rem;
  background: linear-gradient(150deg, var(--wash-core), var(--wash-edge));
  -webkit-mask-image: radial-gradient(118% 130% at 28% 40%, #000 36%, transparent 84%);
          mask-image: radial-gradient(118% 130% at 28% 40%, #000 36%, transparent 84%);
  pointer-events: none;
}
.process-header::after,
.about-text::after,
.perspectives-intro::after,
.contact-lead::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -1.6rem; top: 0.35rem; bottom: 0.35rem; width: 1px;
  background: linear-gradient(180deg, transparent, var(--copper) 16%, var(--copper) 84%, transparent);
  opacity: 0.45;
  pointer-events: none;
}
@media (max-width: 620px) {
  .record-intro::before,
  .process-header::before,
  .about-text::before,
  .perspectives-intro::before,
  .contact-lead::before {
    inset: -1.3rem -1.5rem;
    -webkit-mask-image: radial-gradient(135% 140% at 42% 42%, #000 48%, transparent 90%);
            mask-image: radial-gradient(135% 140% at 42% 42%, #000 48%, transparent 90%);
  }
  .process-header::after,
  .about-text::after,
  .perspectives-intro::after,
  .contact-lead::after { left: -0.85rem; }
}

/* ── Footer — registration data removed (sole-proprietorship → spółka soon) ─*/
.site-footer { font-family: var(--font-sans); }
.footer-data { align-items: baseline; }
.footer-mark { font-weight: 600; letter-spacing: 0.27em; font-size: 0.92rem; }
.footer-data span:not(.footer-mark) { font-size: 0.78rem; letter-spacing: 0.04em; }
.footer-data a { border-bottom: 1px solid rgba(212, 165, 116, 0.4); padding-bottom: 1px; transition: border-color 220ms var(--ease-quiet); }
.footer-data a:hover { border-color: var(--pale-copper); }
.footer-legal a { font-size: 0.78rem; letter-spacing: 0.04em; }

@media (prefers-reduced-motion: reduce) {
  .about-visual__aura, .about-portrait { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FJORE — elevation layer (awwwards pass)
   Preloader choreography, inertial scroll, masked type reveals, parallax
   hand-off, stat counters, custom cursor, film grain, act index, header
   behaviour, marquee + monument footer. Appended last to govern the cascade.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Inertial scroll (Lenis) ─────────────────────────────────────────────── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ── Scrollbar as a hairline instrument ──────────────────────────────────── */
html { scrollbar-width: thin; scrollbar-color: rgba(184, 115, 51, 0.55) transparent; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(184, 115, 51, 0.45); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(184, 115, 51, 0.7); }

/* ── Preloader — the threshold before the threshold ──────────────────────── */
body.is-preloading { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: var(--ink); color: var(--foundation-cream);
  transition: clip-path 1.05s var(--ease-threshold), visibility 0s linear 1.05s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.15rem;
  transition: transform 1.05s var(--ease-threshold), opacity 0.7s var(--ease-quiet);
}
.preloader.is-done .preloader__inner { transform: translateY(-3.2rem); opacity: 0.15; }
.preloader__word {
  display: flex; overflow: hidden;
  padding: 0.06em 0 0.1em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0.27em;
  margin-right: -0.27em; /* optically recentre the tracked wordmark */
}
.preloader__letter { display: inline-block; transform: translateY(125%); animation: preloaderLetter 0.95s var(--ease-threshold) forwards; }
.preloader__letter:nth-child(1) { animation-delay: 0.10s; }
.preloader__letter:nth-child(2) { animation-delay: 0.18s; }
.preloader__letter:nth-child(3) { animation-delay: 0.26s; }
.preloader__letter:nth-child(4) { animation-delay: 0.34s; }
.preloader__letter:nth-child(5) { animation-delay: 0.42s; }
@keyframes preloaderLetter { to { transform: translateY(0); } }
.preloader__tag {
  font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: rgba(241, 236, 224, 0.5);
  opacity: 0; animation: preloaderFade 0.9s var(--ease-quiet) 0.7s forwards;
}
@keyframes preloaderFade { to { opacity: 1; } }
.preloader__count {
  position: absolute; right: var(--site-margin); bottom: clamp(1.4rem, 4vh, 2.6rem);
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1;
  color: var(--pale-copper); font-variant-numeric: tabular-nums;
}
.preloader__bar {
  position: absolute; left: var(--site-margin); right: calc(var(--site-margin) + 7rem);
  bottom: clamp(1.9rem, 4.6vh, 3.1rem); height: 1px;
  background: rgba(241, 236, 224, 0.12);
}
.preloader__bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--copper), var(--pale-copper));
  transform: scaleX(var(--progress, 0)); transform-origin: left center;
}

/* ── Hero — masked line reveal + scene settle ────────────────────────────── */
.threshold-title { font-size: clamp(3rem, 5.6vw, 5.9rem); }
html.js .threshold-title:not(.is-split) { opacity: 0; }
html.js .threshold-title span.tl-mask {
  overflow: hidden;
  padding: 0.08em 0 0.18em;
  margin: -0.08em 0 -0.18em;
}
/* The mask only needs to clip vertically — tight tracking and the narrow
   mobile measure would otherwise shear the last glyph at the right edge. */
@supports (overflow: visible clip) {
  html.js .threshold-title span.tl-mask { overflow: visible clip; }
}
html.js .tl-line { display: block; transform: translateY(120%); transition: transform 1.35s var(--ease-threshold); }
html.js body.is-loaded .tl-line { transform: translateY(0); }
html.js body.is-loaded .threshold-title span:nth-child(1) .tl-line { transition-delay: 0.14s; }
html.js body.is-loaded .threshold-title span:nth-child(2) .tl-line { transition-delay: 0.26s; }
html.js body.is-loaded .threshold-title span:nth-child(3) .tl-line { transition-delay: 0.38s; }

.threshold-scene__image { scale: 1.12; transition: scale 2.8s var(--ease-quiet) 0.15s; }
body.is-loaded .threshold-scene__image { scale: 1.045; }

/* ── Section headings — masked word reveal ───────────────────────────────── */
/* Widen the editorial measure: the base 10ch cap towered one word per line. */
.act .spatial-heading:not(.threshold-title) { max-width: 18ch; }
.w-mask {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0.08em 0 0.17em;
  margin: -0.08em 0 -0.17em;
}
@supports (overflow: visible clip) {
  .w-mask { overflow: visible clip; }
}
html.js .w-inner { display: inline-block; transform: translateY(130%); transition: transform 1s var(--ease-threshold); }
html.js .spatial-heading.is-revealed .w-inner { transform: translateY(0); }

/* ── Generalised reveal for tiles, stages, stats ─────────────────────────── */
html.js .js-reveal { opacity: 0; transform: translateY(2.4rem); transition: opacity 1s var(--ease-quiet), transform 1s var(--ease-quiet); }
html.js .js-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Image clip reveals — architecture being unveiled ──────────────────────
   A 1px sliver stays unclipped: Chromium folds the target's own clip-path
   into IntersectionObserver geometry, so a fully clipped element would never
   report an intersection and could never reveal itself. */
html.js .js-clip { clip-path: inset(0 0 calc(100% - 1px) 0); transition: clip-path 1.45s var(--ease-threshold) 0.1s; }
html.js .js-clip--left { clip-path: inset(0 calc(100% - 1px) 0 0); }
html.js .js-clip.is-revealed { clip-path: inset(0 0 0 0); }

/* ── Stats — counted, tabular ────────────────────────────────────────────── */
.stat__m { font-variant-numeric: tabular-nums; }

/* ── Dossiers — schematic awakens on approach ────────────────────────────── */
.dossier__bg-schematic { opacity: 0.55; transition: opacity 0.9s var(--ease-quiet); }
.dossier:hover .dossier__bg-schematic { opacity: 1; }

/* ── Film grain — one atmosphere over everything ─────────────────────────── */
.site-grain {
  position: fixed; left: -50%; top: -50%; width: 200%; height: 200%;
  z-index: 70; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  animation: grainShift 1.4s steps(1, end) infinite;
}
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-1.6%, 1.2%); }
  40% { transform: translate(1.2%, -0.8%); }
  60% { transform: translate(-0.9%, -1.4%); }
  80% { transform: translate(1.5%, 1.1%); }
}

/* ── Act index — fixed editorial folio ───────────────────────────────────── */
.act-index {
  position: fixed; left: var(--site-margin); bottom: clamp(4.5rem, 8vh, 6.5rem);
  z-index: 40; display: flex; align-items: center; gap: 0.75rem;
  color: var(--current-text);
  opacity: 0; transition: opacity 1.2s var(--ease-quiet), color 1s var(--ease-quiet);
}
body.is-loaded .act-index { opacity: 0.8; }
.act-index__current { font-family: var(--font-serif); font-weight: 400; font-size: 1.08rem; line-height: 1; color: var(--copper); min-width: 1.5em; font-variant-numeric: tabular-nums; }
.act-index__line { width: 2.6rem; height: 1px; background: currentColor; opacity: 0.35; }
.act-index__total { font-family: var(--font-serif); font-weight: 400; font-size: 1.08rem; line-height: 1; opacity: 0.55; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .act-index { display: none; } }

/* ── Header — recedes on the way down, returns on the way up ─────────────── */
.site-header { transition: transform 0.7s var(--ease-threshold), background-color 520ms var(--ease-quiet), border-color 520ms var(--ease-quiet), backdrop-filter 520ms var(--ease-quiet); }
body.nav-hidden:not(.is-menu-open) .site-header { transform: translateY(-102%); }

/* ── Active nav state follows the centred act ────────────────────────────── */
.nav-link.is-active { color: var(--current-text); }
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left center; }

/* ── Footer — single legal/contact register ──────────────────────────────── */
.site-footer { overflow: hidden; }

/* ── Reduced motion — stillness, not breakage ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .site-grain { display: none; }
  .threshold-scene__image { scale: 1.02; }
  html.js .tl-line, html.js .w-inner, html.js .js-reveal { transform: none; opacity: 1; }
  html.js .js-clip { clip-path: inset(0 0 0 0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FJORE — cinematic copper pass
   The dark band now arrives as dusk (warm umber feathers, copper horizon
   seams) instead of a grey cut; the boxed "white panels" (tiles, process,
   contact form) are recast as editorial copper-ruled furniture; copper is
   promoted from hairline accent to the page's structural metal. Appended
   last to govern the cascade.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --copper-deep: #9a5c24;
  --copper-bright: #cf9255;
  --copper-hair: rgba(184, 115, 51, 0.18);
  --copper-rule: rgba(184, 115, 51, 0.42);
  --copper-rule-strong: rgba(184, 115, 51, 0.6);
  /* Quieter cinematic backdrop — the multiply video was reading as mud. */
  --soft-video-opacity: 0.14;
  --wash-core: rgba(250, 246, 239, 0.55);
  --wash-edge: rgba(243, 236, 226, 0.26);
}

/* Warm the video shadow toward copper instead of neutral grey. */
.soft-video-bg__layer { filter: grayscale(1) sepia(0.28) brightness(1.1) contrast(0.8) blur(3px); }

/* ── Copper eyebrow system — every act opens with a struck copper line ───── */
.metadata { color: var(--copper-deep); }
.metadata::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin-right: 0.7rem;
  vertical-align: 0.28em;
  background: linear-gradient(90deg, var(--copper), var(--copper-bright));
}
.entrances-eyebrow { color: var(--pale-copper); }

/* ── Signature framed CTA — burnished copper on commit ───────────────────── */
.contact-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  border: 1px solid rgba(154, 92, 36, 0.55);
  border-radius: 2px;
  background: transparent;
  color: var(--copper-deep);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 420ms var(--ease-quiet), border-color 420ms var(--ease-quiet), box-shadow 420ms var(--ease-quiet);
}
.contact-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  background: linear-gradient(115deg, #9a5c24, #c08344 55%, #d4a574);
  box-shadow: none;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 520ms var(--ease-threshold);
}
.contact-submit:hover,
.contact-submit:focus-visible {
  color: #fdfaf4;
  border-color: #9a5c24;
  box-shadow: 0 0.6rem 1.8rem rgba(154, 92, 36, 0.24);
}
.contact-submit:hover::after,
.contact-submit:focus-visible::after { transform: scaleY(1); }

/* Quiet text actions take the copper voice too. */
.text-action--primary { color: var(--copper-deep); transition: color 320ms var(--ease-quiet); }
.text-action--primary:hover, .text-action--primary:focus-visible { color: var(--ink); }

/* ── Hero — a touch more presence, copper seam on the scene edge ─────────── */
.threshold-title { font-size: clamp(3.1rem, 5.8vw, 6.1rem); }
@media (min-width: 981px) {
  .threshold-scene { border-left: 0; }
  .threshold-scene::after {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(205, 140, 77, 0.65) 28%, rgba(205, 140, 77, 0.65) 72%, transparent);
    box-shadow: 0 0 22px rgba(196, 124, 62, 0.45);
  }
}
/* The room itself dims when the dark act takes the viewport centre — the
   lights go down with the page theme instead of a translucent fog washing the
   floor (dark-over-cream gradients read as mud, never as shadow). */
.threshold-scene { transition: background-color 1.1s var(--ease-quiet); }
.threshold-scene__image { transition: scale 2.8s var(--ease-quiet) 0.15s, filter 1.1s var(--ease-quiet); }
.threshold-scene__plaster,
.threshold-scene__shade { transition: opacity 1.1s var(--ease-quiet); }
body.theme-dark .threshold-scene { background-color: #150c07; }
body.theme-dark .threshold-scene__image { filter: saturate(0.8) sepia(0.2) brightness(0.4) contrast(1.08); }
body.theme-dark .threshold-scene__plaster { opacity: 0.12; }
body.theme-dark .threshold-scene__shade { opacity: 0.3; }
/* As the room dims at the threshold, the hero copy answers in cream. */
@media (min-width: 981px) {
  .threshold-title, .threshold-statement { transition: color 1s var(--ease-quiet); }
  .threshold-secondary { transition: color 500ms var(--ease-quiet); }
  body.theme-dark .threshold-title { color: rgba(247, 243, 236, 0.95); }
  body.theme-dark .threshold-statement { color: rgba(241, 236, 224, 0.75); }
  body.theme-dark .threshold-secondary { color: rgba(241, 236, 224, 0.6); }
}

/* ── The dark band as the dark room — a crisp threshold, not a fog ─────────
   Fully opaque from the first pixel: warm umber at each edge settling to ink,
   so the boundary against the cream acts is a deliberate architectural cut.
   The interior falloff happens entirely inside the dark, where it reads as
   light dying in a room rather than dirt over the page. */
.act--entrances {
  background: linear-gradient(180deg,
    #2c1810 0,
    #1a0e08 4.5rem,
    var(--ink) 10rem,
    var(--ink) calc(100% - 10rem),
    #1a0e08 calc(100% - 4.5rem),
    #2c1810 100%);
}
/* Copper horizon seams — the last light at each threshold of the dark act. */
.act--entrances::before,
.act--entrances::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
  z-index: 3;
}
.act--entrances::before {
  top: -1px;
  height: 17rem;
  background:
    linear-gradient(90deg, transparent 2%, rgba(212, 165, 116, 0.34) 16%, rgba(234, 190, 142, 0.92) 50%, rgba(212, 165, 116, 0.34) 84%, transparent 98%) top / 100% 1px no-repeat,
    radial-gradient(56% 4.5rem at 50% 0%, rgba(224, 161, 98, 0.28), transparent 78%),
    radial-gradient(88% 13rem at 50% 0%, rgba(196, 124, 62, 0.15), transparent 80%);
  animation: thresholdSeamBreathe 7s var(--ease-quiet) infinite alternate;
}
.act--entrances::after {
  bottom: -1px;
  height: 13rem;
  background:
    linear-gradient(90deg, transparent 6%, rgba(212, 165, 116, 0.28) 22%, rgba(228, 180, 130, 0.74) 50%, rgba(212, 165, 116, 0.28) 78%, transparent 94%) bottom / 100% 1px no-repeat,
    radial-gradient(58% 4rem at 50% 100%, rgba(224, 161, 98, 0.2), transparent 78%),
    radial-gradient(86% 10rem at 50% 100%, rgba(196, 124, 62, 0.11), transparent 80%);
}
/* The last light breathes the way every other seam on the site does. */
@keyframes thresholdSeamBreathe { from { opacity: 0.74; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .act--entrances::before { animation: none; }
}
/* The image dissolves into the dusk at both ends instead of ending on a cut. */
.entrances-massive-image {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 98%);
          mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 98%);
}
.entrances-image-wash {
  background: linear-gradient(180deg, rgba(14, 11, 5, 0.3), transparent 30%, transparent 58%, rgba(14, 11, 5, 0.55) 95%);
}
@media (min-width: 980px) {
  .entrances-massive-image {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 calc(100% - 10rem), transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 calc(100% - 10rem), transparent 100%);
  }
  /* Cast shadow toward the overlapping panel instead of a hard box-shadow. */
  .entrances-image-wash {
    background:
      linear-gradient(90deg, transparent 48%, rgba(14, 11, 5, 0.5) 84%, rgba(14, 11, 5, 0.78) 100%),
      linear-gradient(180deg, rgba(14, 11, 5, 0.32), transparent 30%, transparent 60%, rgba(14, 11, 5, 0.6) 96%);
  }
  /* The content panel feathers with the band — no more solid-ink rectangle. */
  .entrances-content-tracks {
    border-left: 0;
    box-shadow: none;
    background:
      linear-gradient(180deg, rgba(205, 140, 77, 0) 4rem, rgba(205, 140, 77, 0.2) 30%, rgba(205, 140, 77, 0.2) 70%, rgba(205, 140, 77, 0) calc(100% - 6rem)) left top / 1px 100% no-repeat,
      linear-gradient(180deg, transparent 0, rgba(22, 12, 8, 0.9) 10rem, var(--ink) 17rem, var(--ink) calc(100% - 19rem), rgba(22, 12, 8, 0.88) calc(100% - 10rem), transparent 100%);
  }
}
.entrances-title { font-size: clamp(2.6rem, 4vw, 4.2rem); font-weight: 300; }
/* Drafted ghost numerals — visible copper strokes, not a 4% whisper. */
.perspective-numeral {
  opacity: 1;
  color: rgba(205, 140, 77, 0.07);
  -webkit-text-stroke: 1px rgba(205, 140, 77, 0.2);
}
.perspective-heading { position: relative; padding-bottom: 1.05rem; }
.perspective-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 2.6rem; height: 1px;
  background: linear-gradient(90deg, var(--pale-copper), transparent);
  opacity: 0.7;
}

/* ── Section display type — one confident editorial scale ────────────────── */
.record-title, .gallery-title, .perspectives-title, .contact-title,
.process-header h2, .about-name { font-size: clamp(2.5rem, 4.4vw, 4.2rem); line-height: 1.03; }

/* ── About — drafted copper corner marks around the floating portrait ────── */
.about-visual::before,
.about-visual::after {
  content: "";
  position: absolute;
  width: 2.4rem; height: 2.4rem;
  pointer-events: none;
  z-index: 2;
}
.about-visual::before { left: 0.4rem; top: 0.4rem; border-top: 1px solid var(--copper-rule); border-left: 1px solid var(--copper-rule); }
.about-visual::after { right: 0.4rem; bottom: 0.4rem; border-bottom: 1px solid var(--copper-rule); border-right: 1px solid var(--copper-rule); }

/* ── Track record — copper-struck stats, ledger entries instead of boxes ─── */
.stat { border-top: 1px solid rgba(184, 115, 51, 0.38); }
.stat__m { font-size: clamp(2.5rem, 4vw, 3.5rem); }

.tiles { counter-reset: tile; }
.tile {
  counter-increment: tile;
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(184, 115, 51, 0.3);
  border-radius: 0;
  padding: 1.5rem 3.2rem 1.6rem 0;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0 -0.75rem;
  z-index: -1;
  border-radius: 2px;
  background: linear-gradient(165deg, rgba(251, 247, 239, 0.78), rgba(243, 236, 226, 0.28));
  opacity: 0;
  transition: opacity 420ms var(--ease-quiet);
}
.tile::after {
  content: counter(tile, decimal-leading-zero);
  position: absolute;
  top: 1rem; right: 0.2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.1rem, 2.8vw, 2.7rem);
  line-height: 1;
  color: rgba(184, 115, 51, 0.22);
  -webkit-mask-image: radial-gradient(72% 88% at 50% 50%, #000 52%, transparent 98%);
          mask-image: radial-gradient(72% 88% at 50% 50%, #000 52%, transparent 98%);
  pointer-events: none;
}
.tile:hover { background: transparent; border-top-color: var(--copper); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }
/* After the entrance reveal, hand the tile a snappy hover transition. */
html.js .tiles .js-reveal.is-visible {
  transition: opacity 0.8s var(--ease-quiet), transform 0.4s var(--ease-quiet), border-color 0.4s var(--ease-quiet);
}

/* ── Process — a copper thread with set stones, outputs in the serif voice ─ */
.process-flow { position: relative; border-left: 0; }
.process-flow::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--copper-rule-strong) 7%, var(--copper-rule-strong) 93%, transparent);
}
.process-stage {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--copper-hair);
  padding-left: clamp(1.8rem, 4vw, 3rem);
}
.process-stage::before {
  content: "";
  position: absolute;
  left: -2.5px;
  top: clamp(2rem, 3.4vw, 2.7rem);
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--copper);
}
.process-stage::after {
  content: "";
  position: absolute;
  inset: 0 -1.25rem 0 0.9rem;
  z-index: -1;
  border-radius: 2px;
  background: linear-gradient(165deg, rgba(251, 247, 239, 0.7), rgba(243, 236, 226, 0.2));
  opacity: 0;
  transition: opacity 450ms var(--ease-quiet);
}
.process-stage:hover::after { opacity: 1; }
.process-num { font-style: italic; font-size: clamp(2.2rem, 3.6vw, 3.2rem); opacity: 0.92; }
.process-out {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(14, 11, 5, 0.8);
}

/* ── Opportunities — burnished dossier numerals, copper-ruled tabulars ───── */
.dossier__id {
  background: linear-gradient(120deg, #8a5120 5%, #d2a06a 52%, #9a5c24 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  opacity: 1;
}
.dossier__tabular { border-top-color: rgba(184, 115, 51, 0.5); }
.dossier__row { border-bottom-color: var(--copper-hair); }
.dossier__row .label { color: var(--copper-deep); opacity: 0.75; }
.dossier__highlight, .dossier__request { border-top-color: var(--copper-hair); }

/* ── Perspectives — italic volume marks, copper index rules ──────────────── */
.perspectives-index { border-top-color: rgba(184, 115, 51, 0.45); }
.perspectives-entry {
  border-bottom-color: var(--copper-hair);
  padding-inline: 1.1rem;
  margin-inline: -1.1rem;
  border-radius: 2px;
  transition: background-color 420ms var(--ease-quiet);
}
.perspectives-entry:hover { background-color: rgba(250, 246, 239, 0.5); }
.perspectives-entry__vol { font-style: italic; font-size: clamp(1.7rem, 2.7vw, 2.4rem); }
.perspectives-entry__status {
  color: var(--copper-deep);
  border-color: rgba(184, 115, 51, 0.5);
  background: rgba(212, 165, 116, 0.1);
}

/* ── Contact — the boxed form becomes a private ledger sheet ─────────────── */
.contact-form-wrap { position: relative; isolation: isolate; }
.contact-form-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.5rem -2rem;
  background: linear-gradient(160deg, var(--wash-core), var(--wash-edge));
  -webkit-mask-image: radial-gradient(140% 150% at 50% 45%, #000 55%, transparent 95%);
          mask-image: radial-gradient(140% 150% at 50% 45%, #000 55%, transparent 95%);
  pointer-events: none;
}
.contact-form {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 2.2vw, 2rem);
}
.contact-form::before,
.contact-form::after {
  content: "";
  position: absolute;
  width: 2.4rem; height: 2.4rem;
  pointer-events: none;
}
.contact-form::before { left: 0; top: 0; border-top: 1px solid var(--copper-rule); border-left: 1px solid var(--copper-rule); }
.contact-form::after { right: 0; bottom: 0; border-bottom: 1px solid var(--copper-rule); border-right: 1px solid var(--copper-rule); }
.field__label { color: var(--copper-deep); }
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(14, 11, 5, 0.42);
  border-radius: 0;
  padding: 0.55rem 0.1rem 0.6rem;
  transition: border-color 240ms var(--ease-quiet), background-color 240ms var(--ease-quiet);
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239a5c24' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  background-size: 0.8rem;
  padding-right: 1.6rem;
}
.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--copper);
  background-color: rgba(255, 255, 255, 0.18);
}
/* The copper underline is the focus indicator; drop the doubled outline box. */
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible { outline: none; }
.contact-submit { margin-top: 0.4rem; }
.contact-direct__label { color: var(--copper-deep); }

/* ── Footer — night falls the way dusk fell after the hero ───────────────── */
.site-footer {
  padding-top: clamp(7rem, 12vh, 9.5rem);
  background: linear-gradient(180deg, rgba(42, 22, 13, 0) 0, rgba(36, 19, 11, 0.55) 2.5rem, rgba(20, 11, 7, 0.93) 5.5rem, var(--ink) 8.5rem);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 11rem;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 8%, rgba(205, 140, 77, 0.4) 50%, transparent 92%) top / 100% 1px no-repeat,
    radial-gradient(50% 7rem at 50% 0%, rgba(196, 124, 62, 0.12), transparent 75%);
}
.footer-giant { -webkit-text-stroke: 1px rgba(205, 140, 77, 0.3); }

/* ── Instruments — cookie banner and act index join the copper register ──── */
.cookie-banner {
  background: rgba(250, 246, 239, 0.93);
  border-color: rgba(184, 115, 51, 0.3);
  backdrop-filter: blur(12px);
}
.act-index__line { width: 5.5rem; height: 1.4rem; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(184, 115, 51, 0.7) 0%, rgba(184, 115, 51, 0) 72%); -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 38%, transparent 92%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 38%, transparent 92%); opacity: 0.55; }

@media (max-width: 620px) {
  .perspectives-entry { padding-inline: 0.7rem; margin-inline: -0.7rem; }
  .contact-form { padding: 1.5rem 1rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FJORE — architectural blueprint pass · ACT V Process
   Review-driven rebuild of "From access to close.": the blurred ambience is
   replaced by a solid alabaster drawing sheet ruled with bronze hairlines;
   the intro anchors sticky on the left while the five stages scroll on the
   right; a crisp contextual image sits in a drafted window and crossfades
   per stage; numerals become thin italic anchors; the diamond thread becomes
   a 1px progress line that fills as the reader moves; the active stage holds
   full ink while the rest recede. Appended last to govern the cascade.
   ═══════════════════════════════════════════════════════════════════════════ */

.act--process {
  --pr-bg: #ebe7e0;                          /* warm alabaster sheet */
  --pr-ink: #2a2825;                         /* deep charcoal */
  --pr-ink-mute: rgba(42, 40, 37, 0.64);
  --pr-utility: rgba(42, 40, 37, 0.78);      /* mono caps — holds WCAG AA on the sheet */
  --pr-bronze: #a68a6b;                      /* muted bronze accent */
  --pr-bronze-ink: #6f5740;                  /* bronze darkened for small type */
  --pr-line: rgba(166, 138, 107, 0.36);
  --pr-line-faint: rgba(166, 138, 107, 0.17);
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  position: relative;
  background: var(--pr-bg);
  border-top: 1px solid var(--pr-line);
  border-bottom: 1px solid var(--pr-line);
  color: var(--pr-ink);
  padding-block: clamp(5rem, 11vh, 8.5rem);
}

/* Sheet rules — full-height verticals at the half-margins, blueprint-style. */
.act--process::before,
.act--process::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--pr-line-faint);
  pointer-events: none;
}
.act--process::before { left: calc(var(--site-margin) / 2); }
.act--process::after { right: calc(var(--site-margin) / 2); }

/* ── Split viewport: sticky anchor column left, scrolling stages right ───── */
.act--process > .process-layout { max-width: none; }
.process-layout { position: relative; }
@media (min-width: 981px) {
  .process-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    column-gap: clamp(3rem, 6vw, 7rem);
    align-items: stretch;
  }
  .process-anchor {
    border-right: 1px solid var(--pr-line-faint);
    padding-right: clamp(2rem, 4vw, 4.5rem);
  }
  .process-anchor__inner {
    position: sticky;
    top: calc(var(--nav-height) + clamp(1rem, 3vh, 2.5rem));
  }
}

/* ── Intro — unbox the header, let the display serif own the space ───────── */
.act--process .process-header { max-width: none; margin-bottom: clamp(2.4rem, 4.5vh, 3.6rem); }
.act--process .process-header::before,
.act--process .process-header::after { content: none; }
.act--process .metadata {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  color: var(--pr-bronze-ink);
}
.act--process .metadata::before { background: var(--pr-bronze); }
.act--process .process-header h2 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 6.2vw, 6.5rem);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--pr-ink);
  margin-bottom: clamp(1.4rem, 2.6vw, 2.1rem);
}
.act--process .process-header .spatial-copy {
  max-width: 30rem;
  color: var(--pr-ink-mute);
}

/* ── Contextual window — sharp imagery in a drafted aperture, no blur ────── */
.process-window {
  position: relative;
  margin: 0;
  max-width: 26rem;
}
.process-window__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e0dacf;
  border: 1px solid var(--pr-line);
}
/* Viewfinder corner ticks inside the aperture — the drafted register. */
.process-window__frame::before,
.process-window__frame::after {
  content: "";
  position: absolute;
  width: 1.3rem;
  height: 1.3rem;
  z-index: 2;
  pointer-events: none;
}
.process-window__frame::before { left: 0.55rem; top: 0.55rem; border-top: 1px solid rgba(235, 231, 224, 0.85); border-left: 1px solid rgba(235, 231, 224, 0.85); }
.process-window__frame::after { right: 0.55rem; bottom: 0.55rem; border-bottom: 1px solid rgba(235, 231, 224, 0.85); border-right: 1px solid rgba(235, 231, 224, 0.85); }
.process-window__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  filter: saturate(0.85) contrast(1.05);
  transition: opacity 0.95s var(--ease-quiet), transform 6.5s var(--ease-quiet);
}
.process-window__frame img.is-active { opacity: 1; transform: scale(1.005); }
html.no-js .process-window__frame img:first-child { opacity: 1; transform: none; }
.process-window__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pr-utility);
}
.process-window__count { color: var(--pr-bronze-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── The flow — a lighter track the darker progress line fills on scroll ─── */
.act--process .process-flow {
  --pr-pad: clamp(1.8rem, 3vw, 3rem);
  position: relative;
  max-width: none;
  border-left: 0;
  padding-left: var(--pr-pad);
}
.act--process .process-flow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--pr-line-faint);
}
.act--process .process-flow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--pr-ink);
  transform: scaleY(var(--process-progress, 0));
  transform-origin: top center;
  pointer-events: none;
}

/* ── Stages — fixed numeral column, mono utility caps, serif outputs ─────── */
.act--process .process-stage {
  grid-template-columns: clamp(4.4rem, 7vw, 6.8rem) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  border-top: 1px solid var(--pr-line-faint);
  padding: clamp(2rem, 3.6vw, 3rem) 0;
}
/* The boxy hover wash goes; focus is carried by opacity, not furniture. */
.act--process .process-stage::after { content: none; }
/* The diamond becomes a thin rotating ring — a quiet playhead on the line. */
.act--process .process-stage::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--pr-pad) - 0.8rem);
  top: clamp(2.2rem, 3.4vw, 3.2rem);
  width: 1.6rem;
  height: 1.6rem;
  background: radial-gradient(circle, var(--pr-bronze-ink) 0 1.5px, transparent 2.5px);
  border: 1px dashed var(--pr-bronze);
  border-radius: 50%;
  transform: none;
  opacity: 0;
  transition: opacity 0.7s var(--ease-quiet);
  animation: processRing 18s linear infinite;
}
.act--process .process-stage.is-active::before { opacity: 1; }
@keyframes processRing { to { rotate: 360deg; } }

/* Opacity as focus — inactive stages recede to 30%, the active one holds ink. */
html.js .act--process .process-stage.js-reveal.is-visible { opacity: 0.3; }
html.js .act--process .process-stage.js-reveal.is-visible.is-active { opacity: 1; }

.act--process .process-num {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.1rem, 5vw, 4.9rem);
  line-height: 0.75;
  letter-spacing: -0.02em;
  color: var(--pr-bronze);
  opacity: 1;
}
.act--process .process-body h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--pr-ink);
  margin: 0 0 0.7rem;
}
.act--process .process-meta {
  max-width: 38rem;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  line-height: 1.9;
  color: var(--pr-utility);
  margin: 0 0 0.85rem;
}
.act--process .process-out {
  max-width: 34rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.45;
  color: rgba(42, 40, 37, 0.88);
}

/* ── Narrow viewports — single column, window between intro and stages ───── */
@media (max-width: 980px) {
  .process-window { max-width: 24rem; margin: 0 0 clamp(2.4rem, 6vw, 3.2rem); }
  .act--process .process-header h2 { font-size: clamp(2.9rem, 9.5vw, 4.6rem); }
}

/* Short laptop viewports — keep the whole sticky anchor above the fold. */
@media (min-width: 981px) and (max-height: 840px) {
  .act--process .process-header { margin-bottom: clamp(1.6rem, 3vh, 2.4rem); }
  .act--process .process-header h2 { font-size: clamp(3rem, 5.2vw, 5.2rem); }
  .process-window { max-width: 21rem; }
  .process-window__frame { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  .act--process .process-stage::before { animation: none; }
  .process-window__frame img { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FJORE — mandate book elevation pass · ACT VI Opportunities (+ instruments)
   Review-driven: the dossier panel becomes frosted architectural glass over
   the moving backdrop; the M—numerals switch to a high-contrast display serif
   (Fraunces) scaled up to break the card's top edge; bronze hairlines run the
   full viewport as built structure; the intro steps right off the logo axis
   under a soft spotlight; the act-index folio gains circular crosshairs and a
   sharp dark-bronze line; the active nav word hangs from a line dropped from
   the viewport top; schematic survey points pulse like live instruments.
   Appended last to govern the cascade. The background video is untouched.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bronze-dark: #7a4a22;
}

/* ── Intro — denser display type, stepped off the logo axis, spotlit ─────── */
.act--gallery { position: relative; }
.act--gallery::before {
  content: "";
  position: absolute;
  top: clamp(2rem, 6vh, 5rem);
  left: 0;
  width: min(74rem, 90vw);
  height: min(42rem, 85vh);
  background: radial-gradient(62% 56% at 36% 40%, rgba(255, 250, 241, 0.55), rgba(255, 250, 241, 0.2) 52%, transparent 78%);
  pointer-events: none;
}
.gallery-title {
  font-size: clamp(2.9rem, 5.3vw, 5.1rem);
  line-height: 0.97;
  letter-spacing: -0.038em;
}
@media (min-width: 981px) {
  .gallery-intro {
    padding-left: calc(var(--site-margin) + clamp(2.5rem, 7vw, 8.5rem));
    max-width: calc(50rem + clamp(2.5rem, 7vw, 8.5rem));
  }
}

/* ── Rule lines as architecture — bronze hairlines spanning the viewport ─── */
.dossier::before,
.dossier:last-child::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  pointer-events: none;
  /* Uneven glints along the run read as drawn metal rather than a CSS border. */
  background: linear-gradient(90deg,
    rgba(122, 74, 34, 0.42),
    rgba(212, 160, 106, 0.62) 30%,
    rgba(138, 81, 32, 0.4) 52%,
    rgba(206, 152, 98, 0.55) 78%,
    rgba(122, 74, 34, 0.38));
}
.dossier::before { top: 0; }
.dossier:last-child::after { bottom: 0; }

/* ── The dossier panel — frosted architectural glass, floating ──────────────
   The masked vellum wash is retired; the panel itself becomes the material.
   The parallax schematic and the slow video shadow shift, blurred, beneath
   it, while a long diffuse shadow lifts it off the page. */
.dossier__content {
  --glass-pad-y: clamp(1.7rem, 3vw, 2.7rem);
  --glass-pad-x: clamp(1.3rem, 3vw, 2.9rem);
  padding: var(--glass-pad-y) var(--glass-pad-x);
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(184, 115, 51, 0.3);
  border-radius: 0;
  transition: transform 420ms var(--ease-quiet), border-color 420ms var(--ease-quiet);
}
.dossier__content::before {
  content: "";
  position: absolute;
  inset: 0 -0.75rem;
  z-index: -1;
  border-radius: 2px;
  background: linear-gradient(165deg, rgba(251, 247, 239, 0.78), rgba(243, 236, 226, 0.28));
  opacity: 0;
  transition: opacity 420ms var(--ease-quiet);
}
.dossier__content:hover {
  border-top-color: var(--copper);
  transform: translateY(-3px);
}
.dossier__content:hover::before {
  opacity: 1;
}

/* ── M—numerals — a drop-cap artefact breaking the glass edge ─────────────── */
.dossier__id {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 340;
  font-size: clamp(3.4rem, 5.7vw, 5.8rem);
  line-height: 0.78;
  letter-spacing: -0.03em;
  /* Negative margin (not transform) so the grid row collapses and the numeral
     genuinely sits half above the panel's top edge at every viewport. */
  margin-top: calc(-1 * var(--glass-pad-y) - 0.35em);
}

/* ── Tabular data — instrument register: mono values, more vertical air ──── */
.dossier__row {
  font-family: var(--font-mono);
  padding: 1.05rem 0;
  letter-spacing: 0.1em;
}
.dossier__row .label { font-size: 0.68rem; font-weight: 400; }
.dossier__row .value { font-size: 0.8rem; font-weight: 500; color: var(--ink); }
.dossier__title-block h4 { font-size: clamp(2rem, 2.6vw, 2.35rem); letter-spacing: -0.015em; }
.dossier__highlight { padding-top: 1.25rem; }
.dossier__request { margin-top: 1.4rem; padding-top: 1.15rem; }

/* ── Schematics — sharper drafting, live survey points ───────────────────── */
.dossier__bg-schematic { opacity: 0.68; }
.dossier__bg-schematic line[stroke-dasharray] { stroke-dasharray: 1 5; opacity: 0.5; }
.dossier__bg-schematic line[stroke="var(--copper)"]:not([stroke-dasharray]) { stroke-width: 0.75; }
.dossier__bg-schematic text {
  font-family: var(--font-mono);
  fill: var(--copper-deep);
  opacity: 0.72;
  letter-spacing: 0.08em;
}
.dossier__bg-schematic circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: surveyPing 3.2s var(--ease-quiet) infinite;
}
.dossier__bg-schematic circle:nth-of-type(2) { animation-delay: -1.6s; }
.dossier__bg-schematic circle:nth-of-type(3) { animation-delay: -2.4s; }
@keyframes surveyPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

/* ── Act index — a sighting instrument: crosshair rings, dark bronze line ── */
.act-index { gap: 0.9rem; }
.act-index__current,
.act-index__total {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  min-width: 0;
  font-size: 0.98rem;
}
.act-index__current::before,
.act-index__total::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 115, 51, 0.6);
  border-radius: 50%;
}
.act-index__total::before { border-color: rgba(14, 11, 5, 0.26); }
body.theme-dark .act-index__total::before { border-color: rgba(241, 236, 224, 0.3); }
.act-index__current::after,
.act-index__total::after {
  content: "";
  position: absolute;
  inset: -0.25rem;
  opacity: 0.75;
  background:
    linear-gradient(var(--copper-deep), var(--copper-deep)) center top / 1px 0.5rem no-repeat,
    linear-gradient(var(--copper-deep), var(--copper-deep)) center bottom / 1px 0.5rem no-repeat,
    linear-gradient(var(--copper-deep), var(--copper-deep)) left center / 0.5rem 1px no-repeat,
    linear-gradient(var(--copper-deep), var(--copper-deep)) right center / 0.5rem 1px no-repeat;
}
.act-index__total::after { opacity: 0.35; }
.act-index__line {
  width: 3.2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--bronze-dark), rgba(154, 92, 36, 0.35));
  opacity: 1;
  -webkit-mask-image: none;
          mask-image: none;
}

/* ── Navigation — the active word hangs from the architectural grid ──────── */
@media (min-width: 981px) {
  .nav-link::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.5rem);
    width: 1px;
    height: var(--nav-height);
    background: linear-gradient(180deg, rgba(184, 115, 51, 0) 0%, rgba(184, 115, 51, 0.7) 72%, var(--copper));
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.7s var(--ease-threshold);
    pointer-events: none;
  }
  .nav-link.is-active::before { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .dossier__bg-schematic circle { animation: none; }
  .nav-link::before { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FJORE — structural finale pass · ACT VIII Contact + footer
   Review-driven: the muddy dusk fade between the engagement sheet and the
   footer is replaced by a hard architectural seam — the NDA ticker becomes a
   1px-bordered track dividing the light page from the dark base; the footer
   is drafted into copper-hairline compartments (monument · brand · direct ·
   legal) with registration crosses at the junctions; the monument wordmark
   gains a crisp, readable stroke, mathematically centred in its bay; labels
   shrink and track out while the direct line answers in the display serif;
   the consent mark and submit CTA become drafted instruments. Appended last
   to govern the cascade.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --structure-hair: rgba(205, 140, 77, 0.17);   /* 1px architectural grid */
  --structure-rule: rgba(184, 115, 51, 0.55);   /* primary dividing seam */
}

/* ── Contact — exaggerated label/functional hierarchy ────────────────────── */
.act--contact { padding-bottom: clamp(5.5rem, 10vh, 8.5rem); }

.field__label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  margin-bottom: 0.55rem;
}
.contact-direct__label { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.3em; }
.contact-direct__line {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 380;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  color: var(--ink);
  align-items: baseline;
}
.contact-direct__line a { border-bottom-color: rgba(154, 92, 36, 0.45); padding-bottom: 3px; }

/* Inputs — more air above the rule, and the rule itself struck in copper. */
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  padding: 0.8rem 0.1rem 0.7rem;
  border-bottom: 1px solid rgba(154, 92, 36, 0.55);
}
.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus { border-bottom-color: var(--copper-deep); }

/* Consent — a drafted square that fills solid copper, struck with an X. */
.field-consent input {
  width: 1.1rem; height: 1.1rem; flex-basis: 1.1rem;
  border-radius: 0;
  background-size: 0.55rem 0.55rem;
}
.field-consent input:checked {
  background-color: var(--copper-deep);
  border-color: var(--copper-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.6 1.6 L8.4 8.4 M8.4 1.6 L1.6 8.4' stroke='%23f7f3ec' stroke-width='1.3'/%3E%3C/svg%3E");
}

/* Submit — smaller, wider-tracked, with forward momentum. */
.contact-submit {
  gap: 0.85rem;
  padding: 1rem 1.7rem 1rem 2rem;
  border-radius: 0;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
}
.contact-submit__label { margin-right: -0.3em; /* swallow the trailing tracking */ }
.contact-submit__arrow {
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0;
  transition: transform 480ms var(--ease-quiet);
}
.contact-submit:hover .contact-submit__arrow,
.contact-submit:focus-visible .contact-submit__arrow { transform: translateX(0.3rem); }

.contact-submit.is-loading,
.contact-submit:disabled {
  pointer-events: none;
  color: #fdfaf4;
  border-color: #9a5c24;
}
.contact-submit.is-loading::after,
.contact-submit:disabled::after {
  transform: scaleY(1);
}
.contact-submit.is-loading .contact-submit__arrow {
  opacity: 0;
  transform: translateX(1rem);
}
.contact-submit.is-loading .contact-submit__label {
  animation: formSubmitPulse 1.4s infinite alternate var(--ease-quiet);
}
@keyframes formSubmitPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* ── Footer — hard seam, then drafted compartments ─────────────────────────
   The feathered dusk gradient and copper glow are retired; night begins at a
   1px copper rule. The ticker is confined to its own bordered track and IS
   the dividing line between the light page and the dark base. */
.site-footer {
  padding: clamp(1.15rem, 2vw, 1.5rem) var(--site-margin);
  background: var(--ink);
  border-top: 1px solid var(--structure-rule);
}
.site-footer::before { content: none; }

/* Bottom register — brand · direct · legal in hairline-divided columns,
   one type size throughout so every cell shares the same baseline. */
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--structure-hair);
}
.footer-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.1rem;
  row-gap: 0.4rem;
  opacity: 1;
  padding: 1.35rem clamp(1.1rem, 2vw, 1.8rem) 1.5rem;
}
.footer-cell + .footer-cell { border-left: 1px solid var(--structure-hair); }
.footer-mark {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--foundation-cream);
}
.footer-cell span:not(.footer-mark) {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: rgba(241, 236, 224, 0.55);
}
.footer-cell a {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  opacity: 1;
  color: rgba(241, 236, 224, 0.78);
  border-bottom: 1px solid rgba(205, 140, 77, 0.32);
  padding-bottom: 2px;
  transition: color 240ms var(--ease-quiet), border-color 240ms var(--ease-quiet);
}
.footer-cell a:hover { color: var(--foundation-cream); border-color: var(--pale-copper); }

/* The folio sheds its reticle rings and sight ticks — plain serif numerals
   on a single copper line, in a mid-copper that reads on cream and ink alike. */
.act-index { gap: 0.75rem; }
.act-index__current,
.act-index__total {
  display: block;
  width: auto;
  height: auto;
  font-size: 1.08rem;
}
.act-index__current { min-width: 1.5em; }
.act-index__current::before,
.act-index__current::after,
.act-index__total::before,
.act-index__total::after { content: none; }
.act-index__total { color: var(--copper-deep); opacity: 0.8; }

@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cell + .footer-cell { border-left: 0; border-top: 1px solid var(--structure-hair); }
}
