/* ==========================================================================
   TRIMOS GRADNJA — Design System
   Art direction: dark architectural / editorial.
   Type: Archivo (display + UI), Ranade (body + editorial italic).
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-VariableItalic.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Ranade';
  src: url('../fonts/Ranade-Variable.woff2') format('woff2-variations');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ranade';
  src: url('../fonts/Ranade-VariableItalic.woff2') format('woff2-variations');
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — differentiated by colour step, never by shadow */
  --ink-900: #08090A;
  --ink-850: #0E0F10;
  --ink-800: #141517;
  --ink-750: #17191B;
  --ink-700: #1C1E21;
  --ink-600: #24272A;

  /* Ink */
  --paper:   #F2F0EB;
  --paper-2: #DAD7D0;
  --ash:     #9B9A95;
  --ash-dim: #6E6D69;
  --ash-deep:#4A4A47;

  /* Brand — the safety-amber of the trade */
  --amber:      #FFBE00;
  --amber-deep: #F29F05;
  --amber-soft: rgba(255, 190, 0, 0.14);

  /* Hairlines */
  --line:     rgba(242, 240, 235, 0.10);
  --line-2:   rgba(242, 240, 235, 0.16);
  --line-3:   rgba(242, 240, 235, 0.28);

  /* Type */
  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body:    'Ranade', Georgia, 'Times New Roman', serif;

  --fs-mega:  clamp(2.35rem, 5.8vw, 5.9rem);
  --fs-h1:    clamp(2.35rem, 5.6vw, 5.25rem);
  --fs-h2:    clamp(1.95rem, 3.9vw, 3.6rem);
  --fs-h3:    clamp(1.35rem, 1.9vw, 1.9rem);
  --fs-h4:    clamp(1.1rem, 1.3vw, 1.3rem);
  --fs-lead:  clamp(1.0625rem, 1.15vw, 1.3125rem);
  --fs-body:  clamp(0.9688rem, 0.95vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-meta:  0.6875rem;

  /* Rhythm */
  --gutter:   clamp(1.25rem, 4vw, 3.75rem);
  --maxw:     1560px;
  --sect:     clamp(4.5rem, 10.5vw, 10.5rem);
  --sect-sm:  clamp(3.25rem, 6.5vw, 6rem);

  /* Motion */
  --e-out:   cubic-bezier(.16, 1, .3, 1);
  --e-inout: cubic-bezier(.76, 0, .24, 1);
  --t-fast: .35s;
  --t-med:  .7s;
  --t-slow: 1.15s;

  --nav-h: 76px;
}

@media (max-width: 860px) { :root { --nav-h: 64px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  /* Guards against sideways scroll at the root, where it propagates to the
     viewport and leaves window scrolling intact. */
  overflow-x: hidden;
}

body {
  background: var(--ink-850);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* `clip`, never `hidden`: `hidden` here would make <body> the scroll
     container, which zeroes window.scrollY and kills scroll reveals,
     the sticky nav and every parallax layer. */
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; }
button { cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--amber); color: #000; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sect); position: relative; }
.section--sm { padding-block: var(--sect-sm); }
.section--tint { background: var(--ink-800); }
.section--deep { background: var(--ink-900); }

.rule { height: 1px; background: var(--line); border: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
}

/* ---------- Typography ---------- */
.display,
.t-mega, .t-h1, .t-h2, .t-h3, .t-h4,
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.033em;
  line-height: 0.98;
  text-wrap: balance;
}

.t-mega { font-size: var(--fs-mega); line-height: 0.9;  letter-spacing: -0.042em; }
.t-h1   { font-size: var(--fs-h1);   line-height: 0.94; letter-spacing: -0.038em; }
.t-h2   { font-size: var(--fs-h2);   line-height: 0.98; letter-spacing: -0.032em; }
.t-h3   { font-size: var(--fs-h3);   line-height: 1.12; letter-spacing: -0.022em; }
.t-h4   { font-size: var(--fs-h4);   line-height: 1.25; letter-spacing: -0.016em; }

/* Brand-amber emphasis inside a headline — upright, not italic. */
.hl {
  font-style: normal;
  color: var(--amber);
}

/* The editorial counter-voice: Ranade italic, light, in brand amber — the same
   emphasis the hero headline uses, carried across every section heading. */
.alt {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.018em;
  color: var(--amber);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ash);
  font-weight: 300;
  max-width: 52ch;
  text-wrap: pretty;
}

.body { color: var(--ash); max-width: 62ch; text-wrap: pretty; }
.body + .body { margin-top: 1.15em; }
.body strong { color: var(--paper); font-weight: 500; }

/* Micro-label — the technical annotation voice */
.meta {
  font-family: var(--f-display);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ash-dim);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--f-display);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--amber);
  flex: none;
}

.num {
  font-family: var(--f-display);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line-3);
  display: inline-flex;
  align-items: center;
  gap: 0.875em;
  padding: 1.2em 2em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap; /* a button label must never break mid-phrase */
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--e-out);
  z-index: -1;
}
.btn:hover { color: var(--ink-900); border-color: var(--paper); }
.btn:hover::after { transform: scaleY(1); transform-origin: top; }

.btn__arrow { transition: transform .5s var(--e-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Primary — white fill, near-black text (max contrast, single primary per view) */
.btn--solid { --btn-bg: var(--paper); --btn-fg: var(--ink-900); --btn-bd: var(--paper); }
.btn--solid::after { background: var(--amber); }
.btn--solid:hover { color: var(--ink-900); border-color: var(--amber); }

.btn--ghost { --btn-bd: var(--line-2); }

/* Inline text link with sweeping rule */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-display);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  padding-bottom: 0.55em;
  position: relative;
}
.link::before,
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
}
.link::before { background: var(--line-2); }
.link::after {
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--e-out);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link svg { transition: transform .5s var(--e-out); }
.link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t-med) var(--e-out), border-color var(--t-med) var(--e-out);
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,10,.72), rgba(8,9,10,0));
  opacity: 1;
  transition: opacity var(--t-med) var(--e-out);
  pointer-events: none;
}
.nav.is-stuck {
  background: rgba(8, 9, 10, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav.is-stuck::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-101%); }
.nav { transition: transform .6s var(--e-out), background var(--t-med) var(--e-out), border-color var(--t-med) var(--e-out); }

/* Three tracks with equal outer columns, so the links sit dead centre in the
   header rather than wherever space-between happens to leave them. */
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
}
.nav__inner > .brand { justify-self: start; }
.nav__links { justify-self: center; }
.nav__right { justify-self: end; }

.brand {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  white-space: nowrap;
}
.brand__mark {
  width: 9px; height: 9px;
  background: var(--amber);
  flex: none;
  transition: transform .6s var(--e-out);
}
.brand:hover .brand__mark { transform: rotate(45deg); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.3vw, 2.5rem);
}
.nav__link {
  font-family: var(--f-display);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
  position: relative;
  padding-block: 0.5em;
  transition: color var(--t-fast) var(--e-out);
  white-space: nowrap;
}
@media (max-width: 1240px) {
  .nav__link { font-size: 0.75rem; letter-spacing: 0.18em; }
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--e-out);
}
.nav__link:hover { color: var(--paper); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--paper); font-weight: 500; }
.nav__link.is-active::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: clamp(1rem, 1.6vw, 1.75rem); }

/* With the CTA gone, the phone number is the header's call to action. */
.nav__tel {
  font-family: var(--f-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  transition: color var(--t-fast) var(--e-out);
  white-space: nowrap;
}
.nav__tel:hover { color: var(--amber); }
@media (max-width: 1240px) {
  .nav__tel { font-size: 0.875rem; letter-spacing: 0.05em; }
}

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  position: relative;
  z-index: 2;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: var(--paper);
  transition: transform .5s var(--e-out), opacity .3s var(--e-out);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: var(--ink-900);
  padding: calc(var(--nav-h) + 6vh) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .85s var(--e-inout);
  pointer-events: none;
  overflow-y: auto;
}
.drawer.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }

.drawer__links { display: flex; flex-direction: column; }
.drawer__link {
  font-family: var(--f-display);
  font-size: clamp(2rem, 9vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  padding-block: clamp(0.5rem, 2.2vh, 0.9rem);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--e-out), transform .7s var(--e-out), color .3s;
}
.drawer.is-open .drawer__link { opacity: 1; transform: none; }
.drawer__link .num { font-size: var(--fs-meta); color: var(--ash-deep); letter-spacing: 0.16em; }
.drawer__link.is-active { color: var(--amber); }

.drawer__foot {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--e-out) .35s, transform .6s var(--e-out) .35s;
}
.drawer.is-open .drawer__foot { opacity: 1; transform: none; }
.drawer__foot a { font-family: var(--f-display); letter-spacing: 0.04em; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  /* Two tracks once the centre column is empty */
  .nav__inner { grid-template-columns: 1fr auto; }
}
/* The number stays reachable far further down than the links do */
@media (max-width: 600px) {
  .nav__tel { display: none; }
}

/* ==========================================================================
   PAGE TRANSITION
   ========================================================================== */
.curtain { display: none; }
.js .curtain {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink-900);
  transform: scaleY(1);
  transform-origin: top;
  pointer-events: none;
}
.curtain.is-lifting {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .85s var(--e-inout);
}
.curtain.is-dropping {
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform .6s var(--e-inout);
}

/* ==========================================================================
   REVEALS
   ========================================================================== */
/* Everything below is scoped to .js (set by an inline script in <head>), so a
   failed or blocked script leaves the page fully readable instead of blank. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .95s var(--e-out), transform 1.05s var(--e-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* The wipe runs as a keyframe animation, NOT as a transition from a clipped
   resting state. A target sitting at clip-path: inset(0 0 100% 0) is never
   reported as intersecting by Chrome's IntersectionObserver, so a clipped
   resting state would mean the element never reveals at all. Holding it at
   opacity 0 keeps it observable; the clip only exists once .is-in is set. */
.js [data-reveal="mask"] {
  opacity: 0;
  transform: none;
}
.js [data-reveal="mask"].is-in {
  opacity: 1;
  animation: maskIn 1.25s var(--e-out) both;
  animation-delay: var(--d, 0ms);
}
@keyframes maskIn {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

.js [data-reveal="fade"] { transform: none; }

/* Line-by-line headline reveal */
.lines { display: block; }
/* padding/negative-margin pair keeps descenders from being clipped by the mask */
.lines .ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.js .lines .ln > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.15s var(--e-out);
  transition-delay: var(--d, 0ms);
}
.js .lines.is-in .ln > span { transform: none; }

/* ==========================================================================
   IMAGE TREATMENT
   The source photography is documentary and inconsistent in light and season.
   A single grade unifies it; hover restores full colour as a reward.
   ========================================================================== */
.fig {
  display: block; /* used on <span> inside anchors — must not stay inline */
  position: relative;
  overflow: hidden;
  background: var(--ink-700);
  isolation: isolate;
}
.fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.58) contrast(1.09) brightness(.84);
  transform: scale(1.001);
  transition: filter 1s var(--e-out), transform 1.4s var(--e-out);
}
.fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,10,.18) 0%, rgba(8,9,10,0) 38%, rgba(8,9,10,.62) 100%),
    radial-gradient(120% 90% at 50% 0%, rgba(255,190,0,.05), transparent 60%);
  opacity: 1;
  transition: opacity 1s var(--e-out);
  pointer-events: none;
}
.fig--flat::after { background: linear-gradient(180deg, rgba(8,9,10,.10), rgba(8,9,10,.42)); }

a:hover > .fig img,
.hoverable:hover .fig img,
.fig:hover img {
  filter: saturate(1) contrast(1.02) brightness(1);
  transform: scale(1.045);
}
a:hover > .fig::after,
.hoverable:hover .fig::after,
.fig:hover::after { opacity: .45; }

.ar-32  { aspect-ratio: 3 / 2; }
.ar-43  { aspect-ratio: 4 / 3; }
.ar-11  { aspect-ratio: 1 / 1; }
.ar-45  { aspect-ratio: 4 / 5; }
.ar-34  { aspect-ratio: 3 / 4; }
.ar-169 { aspect-ratio: 16 / 9; }
.ar-219 { aspect-ratio: 21 / 9; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  /* --hero-h is set only by the `?shot` review flag, so a full-page capture
     does not stretch the hero to the height of the capture viewport. */
  min-height: var(--hero-h, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink-900);
}

.hero__media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  /* Darkened for the theme, but the facade keeps its own colour and depth —
     enough presence to read as architecture, not as a flat backdrop. */
  filter: grayscale(.14) saturate(1) brightness(.82) contrast(1.08);
}

/* Veil: darkens the left third so type sits on near-solid ground,
   and lets the building edge stay legible on the right. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Heavy on the left so the headline keeps its ground, then falls away fast
     so the facade on the right stays in colour. */
  background:
    linear-gradient(100deg, rgba(8,9,10,.95) 0%, rgba(8,9,10,.88) 26%, rgba(8,9,10,.52) 50%, rgba(8,9,10,.14) 76%, rgba(8,9,10,.34) 100%),
    linear-gradient(180deg, rgba(8,9,10,.7) 0%, rgba(8,9,10,0) 22%, rgba(8,9,10,0) 56%, rgba(8,9,10,.88) 100%);
  pointer-events: none;
}
/* Faint structural grid — a drafting-table trace, not decoration */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 65%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 65%, transparent);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(4rem, 14vh, 9rem)) var(--gutter) clamp(2.5rem, 5vh, 4rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__title {
  font-family: var(--f-display);
  font-size: var(--fs-mega);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 21ch;
}
.hero__title .alt { letter-spacing: -0.026em; }

.hero__body {
  margin-top: clamp(1.5rem, 3.2vh, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.75rem, 4vw, 4rem);
}
.hero__lead { max-width: 46ch; color: var(--paper-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Stats band pinned to the base of the hero */
.hero__stats {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line-2);
  background: rgba(8,9,10,.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero__stats-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) and (min-width: 861px) {
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  padding: clamp(1.15rem, 2.6vh, 2rem) clamp(0.5rem, 2vw, 2rem) clamp(1.15rem, 2.6vh, 2rem) 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero__stats-inner .stat + .stat {
  border-left: 1px solid var(--line);
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
}
.stat__n {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.2vw, 2.85rem);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__n .u { color: var(--amber); }
.stat__l { color: var(--ash-dim); }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(7rem, 15vh, 10rem);
  z-index: 3;
  width: 1px;
  height: clamp(48px, 9vh, 84px);
  background: var(--line-2);
  overflow: hidden;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 40%;
  background: var(--amber);
  animation: scrollTrace 2.6s var(--e-inout) infinite;
}
@keyframes scrollTrace {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(250%); }
  100% { transform: translateY(250%); }
}

@media (max-width: 860px) {
  .hero__media img { object-position: 78% 45%; }
  .hero__title { max-width: 14ch; }
  .hero__stats-inner { grid-template-columns: 1fr; }
  .hero__stats-inner .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .stat { flex-direction: row; align-items: baseline; gap: 1rem; padding-block: 0.9rem; }
  .stat__n { font-size: 1.5rem; min-width: 3.2em; }
  .hero__scroll { display: none; }
  .hero__body { flex-direction: column; align-items: stretch; }
  .hero__lead { max-width: none; }
}

@media (max-width: 560px) {
  /* Full-bleed targets beat side-by-side pills at thumb width */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .u-flex .btn { flex: 1 1 14rem; justify-content: center; }
}

/* ---------- Page hero (interior pages) ---------- */
.phero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(5rem, 16vh, 11rem));
  padding-bottom: clamp(3rem, 8vh, 6rem);
  background: var(--ink-900);
  overflow: hidden;
}
.phero::after {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: var(--line);
}
.phero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  opacity: .45;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%);
  mask-image: linear-gradient(180deg, transparent, #000 55%);
}
/* Interior hero with photographic ground */
.phero--media {
  padding-top: calc(var(--nav-h) + clamp(5.5rem, 17vh, 11.5rem));
  padding-bottom: clamp(4rem, 10vh, 7.5rem);
}
.phero__bg { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.phero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.5) saturate(.55) brightness(.52) contrast(1.14);
}
.phero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8,9,10,.95) 0%, rgba(8,9,10,.84) 38%, rgba(8,9,10,.46) 72%, rgba(8,9,10,.6) 100%),
    linear-gradient(180deg, rgba(8,9,10,.82) 0%, rgba(8,9,10,0) 32%, rgba(8,9,10,.94) 100%);
}
.phero--media .phero__grid { opacity: .28; }

.phero__inner { position: relative; z-index: 2; }
.phero__title { margin-top: clamp(1.25rem, 3vh, 2rem); max-width: 16ch; }
.phero__lead { margin-top: clamp(1.5rem, 3vh, 2.25rem); }

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.shead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-bottom: clamp(2.25rem, 5vw, 4rem);
}
.shead__l { display: flex; flex-direction: column; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.shead__r { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
/* Flush with the right edge of the content container */
.shead__r--end { align-items: flex-end; }
.shead--center { grid-template-columns: 1fr; justify-items: start; }
@media (max-width: 860px) {
  .shead { grid-template-columns: 1fr; align-items: start; }
  /* Single column — the link belongs under the heading, not off to the side */
  .shead__r--end { align-items: flex-start; }
}

/* ==========================================================================
   FAMILY / HERITAGE
   ========================================================================== */
.heritage { position: relative; overflow: hidden; }

.heritage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.heritage__media { position: relative; }
.heritage__fig { aspect-ratio: 4 / 3.35; }
/* The family photograph is the one frame that is never graded: full colour at
   rest and on hover, with no darkening layer over it. Only the slow zoom
   responds to the pointer. */
.heritage__fig img { filter: none; }
.heritage__fig::after { content: none; }
.heritage__media:hover .heritage__fig img,
.heritage__fig:hover img { filter: none; transform: scale(1.045); }

/* Caption plate overlapping the photograph — the family named in the copy */
.heritage__plate {
  position: absolute;
  right: clamp(-1.25rem, -1.6vw, -0.5rem);
  bottom: clamp(-1.25rem, -2vw, -0.75rem);
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  padding: clamp(1rem, 1.8vw, 1.45rem) clamp(1.15rem, 2.2vw, 1.9rem);
  max-width: min(78%, 30rem);
}
.heritage__plate .meta { color: var(--ash); }
.heritage__plate .t-h4 { margin-top: 0.4rem; }

.heritage__text { display: flex; flex-direction: column; gap: clamp(1.25rem, 2.6vw, 2rem); align-items: flex-start; }

/* The o-nama story carries three paragraphs, so the photo holds the top of the
   column rather than centring against a much taller block of text. */
.heritage__grid--story { align-items: start; }
.heritage__grid--story .heritage__fig { aspect-ratio: 4 / 3.6; }

@media (max-width: 940px) {
  .heritage__grid { grid-template-columns: 1fr; gap: 3rem; }
  .heritage__plate { position: static; max-width: none; margin-top: 1rem; }
}

/* Timeline rail */
.timeline {
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.timeline--4 { grid-template-columns: repeat(4, 1fr); }
.tl {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem) 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.timeline .tl + .tl { border-left: 1px solid var(--line); padding-left: clamp(1.15rem, 2.4vw, 2.25rem); }
.tl::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 1.1s var(--e-out);
  transition-delay: var(--d, 0ms);
}
.tl.is-in::before { width: 100%; }
.timeline .tl + .tl::before { left: -1px; }
.tl__y {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.tl__t { color: var(--paper); font-size: var(--fs-body); }
.tl__d { color: var(--ash-dim); font-size: var(--fs-small); max-width: 34ch; }

@media (max-width: 860px) {
  .timeline, .timeline--4 { grid-template-columns: 1fr; }
  .timeline .tl + .tl { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .tl { padding-right: 0; padding-bottom: 1.5rem; }
}

/* ==========================================================================
   SERVICE CARDS — two rows of three, amber gradient carried onto the tiles
   ========================================================================== */
.sgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.7rem, 1.1vw, 1.1rem);
}

.scard {
  --fg:  var(--paper);
  --fg2: var(--ash-dim);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3.25rem);
  min-height: clamp(230px, 21vw, 310px);
  padding: clamp(1.35rem, 2vw, 1.9rem);
  background: var(--ink-750);
  border: 1px solid var(--line);
  color: var(--fg);
  border-radius: 2px;
  transition: border-color .6s var(--e-out), transform .6s var(--e-out);
}

/* The gradient layer — always on for accent tiles, faded up on hover */
.scard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(148deg, #FFBE00 0%, #F0A408 44%, #7A5304 100%);
  opacity: 0;
  transition: opacity .65s var(--e-out);
}
.scard:hover { --fg: #0B0C0D; --fg2: rgba(11,12,13,.75); }
.scard:hover::before { opacity: 1; }
.scard:hover { border-color: transparent; transform: translateY(-3px); }

.scard__icon {
  width: clamp(38px, 3.1vw, 46px);
  height: clamp(38px, 3.1vw, 46px);
  color: var(--fg);
  opacity: .92;
  transition: color .5s var(--e-out);
}
.scard__icon svg { width: 100%; height: 100%; display: block; }

.scard__foot { display: flex; flex-direction: column; gap: .5rem; }
.scard__n { color: var(--fg2); transition: color .5s var(--e-out); }
.scard__t {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.026em;
  line-height: 1.05;
  text-transform: lowercase;
  color: var(--fg);
}
.scard__d {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--fg2);
  transition: color .5s var(--e-out);
}
.scard__go {
  position: absolute;
  top: clamp(1.35rem, 2vw, 1.9rem);
  right: clamp(1.35rem, 2vw, 1.9rem);
  color: var(--fg);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity .5s var(--e-out), transform .6s var(--e-out);
}
.scard:hover .scard__go { opacity: .85; transform: none; }

@media (max-width: 900px) { .sgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .sgrid { grid-template-columns: 1fr; }
  .scard { min-height: 0; gap: 1.75rem; }
}

/* Services detail (usluge.html) */
.svcx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6.5rem);
  border-top: 1px solid var(--line);
}
.svcx:first-child { border-top: 0; }
.svcx--flip .svcx__media { order: 2; }
.svcx__head { display: flex; align-items: baseline; gap: 1.25rem; }
.svcx__n { color: var(--amber); }
.svcx__body { display: flex; flex-direction: column; gap: clamp(1.1rem, 2.2vw, 1.75rem); align-items: flex-start; }
.svcx__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); width: 100%; }
.svcx__list li {
  padding: 0.85em 0;
  border-bottom: 1px solid var(--line);
  color: var(--ash);
  font-size: var(--fs-small);
  display: flex;
  gap: 0.9em;
  align-items: baseline;
}
.svcx__list li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--amber);
  flex: none;
  transform: translateY(-2px);
}
/* Service photography sits deep in the dark key — the same graphite grade the
   hero uses, so the imagery reads as atmosphere behind the copy. */
.svcx__media .fig img {
  filter: grayscale(.55) saturate(.55) brightness(.62) contrast(1.16);
}
.svcx__media .fig::after {
  background:
    linear-gradient(180deg, rgba(8,9,10,.3) 0%, rgba(8,9,10,.05) 45%, rgba(8,9,10,.6) 100%);
}
.svcx__media .fig:hover img { transform: scale(1.03); filter: grayscale(.4) saturate(.72) brightness(.72) contrast(1.12); }

.svcx__eg { display: inline-flex; align-items: center; gap: .6em; }
.svcx__eg .meta { color: var(--ash); }
@media (max-width: 940px) {
  .svcx { grid-template-columns: 1fr; gap: 2rem; }
  .svcx--flip .svcx__media { order: 0; }
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
/* A fixed row height is what makes the asymmetry read as composed rather than
   accidental: every card in a row ends at the same baseline, while the varying
   column span gives each image a different crop — cinematic at span 8,
   near-square at span 4. */
.pgrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(260px, 31vw, 470px);
  gap: clamp(1.75rem, 3vw, 3rem) clamp(1rem, 2.2vw, 2.25rem);
}

.pcard {
  display: flex;
  flex-direction: column;
  position: relative;
  grid-column: span 4;
}
.pcard--wide { grid-column: span 8; }
.pcard--half { grid-column: span 6; }
.pcard--full { grid-column: span 12; }

.pcard__fig { width: 100%; flex: 1 1 auto; min-height: 0; }
.pcard__meta {
  flex: none;
  padding-top: 1.05rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 1.05rem;
}
.pcard__t {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.75vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.05;
  transition: color .45s var(--e-out);
}
.pcard:hover .pcard__t { color: var(--amber); }
/* Works description — sentence case, so even long ones stay compact */
.pcard__desc {
  display: block;
  margin-top: .45rem;
  color: var(--ash);
  font-size: var(--fs-small);
  line-height: 1.4;
}
.pcard__sub { display: block; color: var(--ash-dim); margin-top: .5rem; }
.pcard__n { color: var(--ash-deep); flex: none; }

/* Category chip riding on the image */
.pcard__chip {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  padding: .5em .85em;
  background: rgba(8,9,10,.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.625rem;
  transform: translateY(-6px);
  opacity: 0;
  transition: opacity .5s var(--e-out), transform .6s var(--e-out);
}
.pcard:hover .pcard__chip { opacity: 1; transform: none; }

.pslide__dot { width: 3px; height: 3px; background: var(--amber); border-radius: 50%; }

/* ==========================================================================
   PROJECT SLIDER — auto-advancing editorial slab
   ========================================================================== */
.pslider { position: relative; }

.pslider__viewport { overflow: hidden; }
.pslider__track {
  display: flex;
  will-change: transform;
  transition: transform .95s var(--e-inout);
}

.pslide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  display: block;
  min-height: clamp(400px, 68vh, 700px);
  overflow: hidden;
  isolation: isolate;
}
.pslide .fig { position: absolute; inset: 0; }
.pslide .fig img { filter: saturate(.68) contrast(1.05) brightness(.9); }
.pslide .fig::after {
  background:
    linear-gradient(180deg, rgba(8,9,10,.42) 0%, rgba(8,9,10,.06) 40%, rgba(8,9,10,.9) 100%),
    linear-gradient(90deg, rgba(8,9,10,.66), transparent 62%);
}
/* Only the active slide animates its image, so the strip stays cheap */
.pslide__inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(.85rem, 1.8vw, 1.4rem);
  padding: clamp(1.75rem, 4vw, 4rem);
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
}
.pslide__t {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: .96;
  max-width: 16ch;
  transition: color .45s var(--e-out);
}
.pslide:hover .pslide__t { color: var(--amber); }
.pslide__t--sm { font-size: clamp(1.35rem, 2.4vw, 2.1rem); max-width: 24ch; }
.pslide__desc {
  display: block;
  color: var(--paper-2);
  font-size: var(--fs-lead);
  line-height: 1.45;
  max-width: 46ch;
}
.pslide__row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; }
.pslide__row .meta { color: var(--paper-2); }

/* Controls */
.pslider__ctl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: clamp(1.1rem, 2vw, 1.6rem);
}
.pslider__bar {
  position: relative;
  height: 1px;
  width: 100%;
  background: var(--line-2);
  overflow: hidden;
  margin-top: clamp(1.25rem, 2.4vw, 2rem);
}
.pslider__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
}
.pslider__arrows { display: flex; gap: .6rem; }
.pslider__arrow {
  width: 3rem; height: 3rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: background .45s var(--e-out), border-color .45s var(--e-out), color .45s var(--e-out);
}
.pslider__arrow:hover { background: var(--amber); border-color: var(--amber); color: #0B0C0D; }
.pslider__count { color: var(--ash-dim); }
.pslider__count b { color: var(--paper); font-weight: 500; }

@media (max-width: 700px) {
  .pslide { min-height: clamp(360px, 62vh, 520px); }
  .pslider__arrow { width: 2.6rem; height: 2.6rem; }
}

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter {
  padding: .9em 1.55em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ash);
  transition: color .4s var(--e-out), border-color .4s var(--e-out), background .4s var(--e-out);
}
.filter:hover { color: var(--paper); border-color: var(--line-3); }
.filter.is-on { background: var(--paper); border-color: var(--paper); color: var(--ink-900); }
.filter__c { opacity: .5; margin-left: .5em; font-size: .9em; }

.pcard.is-out { display: none; }

@media (max-width: 1024px) {
  .pgrid { grid-auto-rows: clamp(240px, 38vw, 380px); }
  .pcard, .pcard--wide, .pcard--half { grid-column: span 6; }
  .pcard--full { grid-column: span 12; }
}
@media (max-width: 640px) {
  .pgrid { grid-auto-rows: clamp(260px, 68vw, 400px); }
  .pcard, .pcard--wide, .pcard--half, .pcard--full { grid-column: span 12; }
}

/* ==========================================================================
   PROJECT VIEWER (overlay)
   ========================================================================== */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink-900);
  display: grid;
  grid-template-columns: minmax(280px, 30%) minmax(0, 1fr);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--e-out);
}
.viewer.is-open { opacity: 1; pointer-events: auto; }

.viewer__side {
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-y: auto;
}
.viewer__t {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 2.9vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: .98;
}
.viewer__brief { color: var(--ash); font-size: var(--fs-small); }
.viewer__facts { margin-top: auto; border-top: 1px solid var(--line); }
.viewer__fact {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
}
.viewer__fact dt { color: var(--ash-deep); font-family: var(--f-display); font-size: var(--fs-meta); letter-spacing: .17em; text-transform: uppercase; }
.viewer__fact dd { color: var(--paper); text-align: right; }

.viewer__stage {
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.25rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.75rem);
  scroll-behavior: smooth;
}
.viewer__shot { width: 100%; background: var(--ink-800); }
.viewer__shot img {
  width: 100%; height: auto; display: block;
  /* Barely graded — the viewer is where the work is judged, so detail wins,
     but a touch of restraint keeps it in the same world as the grid. */
  filter: saturate(.88) contrast(1.04) brightness(.96);
}

.viewer__close {
  position: absolute;
  top: clamp(1rem, 2vw, 1.75rem);
  right: clamp(1rem, 2vw, 1.75rem);
  z-index: 5;
  width: 3rem; height: 3rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(8,9,10,.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition: background .4s var(--e-out), border-color .4s var(--e-out), color .4s var(--e-out), transform .5s var(--e-out);
}
.viewer__close:hover { background: var(--amber); border-color: var(--amber); color: #000; transform: rotate(90deg); }

.viewer__count {
  position: absolute;
  bottom: clamp(1rem, 2vw, 1.75rem);
  right: clamp(1rem, 2vw, 1.75rem);
  z-index: 5;
  padding: .6em 1em;
  background: rgba(8,9,10,.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ash);
}

@media (max-width: 900px) {
  .viewer { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .viewer__side { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 4.5rem; }
  .viewer__facts { margin-top: 1rem; }
}

/* ==========================================================================
   VALUES
   ========================================================================== */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
}
.value {
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2vw, 2rem) clamp(2.5rem, 5vw, 4rem) 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
  transition: background .6s var(--e-out);
}
.values .value + .value { border-left: 1px solid var(--line); padding-left: clamp(1.15rem, 2.2vw, 2.25rem); }
.value::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width .9s var(--e-out);
}
.value:hover::after { width: 100%; }
.values .value + .value::after { left: -1px; }
.value__n { color: var(--ash-deep); }
.value__t { color: var(--paper); }
.value__d { color: var(--ash-dim); font-size: var(--fs-small); max-width: 30ch; }

@media (max-width: 960px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .values .value + .value { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .value { padding-right: 0; padding-bottom: 1.75rem; }
}

/* ==========================================================================
   STANDARDI — one hairline band, a label and a download. Nothing else.
   ========================================================================== */
.docs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.docs__text { display: flex; flex-direction: column; gap: .6rem; }
.docs__t { color: var(--paper); }
@media (max-width: 620px) {
  .docs { flex-direction: column; align-items: stretch; }
  .docs .btn { justify-content: center; }
}

/* Full-bleed section with photographic ground */
.bleed { position: relative; overflow: hidden; background: var(--ink-900); }
.bleed__bg { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.bleed__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.5) saturate(.5) brightness(.52) contrast(1.12);
}
.bleed__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,9,10,.9), rgba(8,9,10,.4) 45%, rgba(8,9,10,.9)),
    linear-gradient(90deg, rgba(8,9,10,.8), rgba(8,9,10,.25) 62%, rgba(8,9,10,.6) 100%);
}
.bleed > .shell { position: relative; z-index: 2; }

/* ==========================================================================
   STAT BLOCK (o-nama)
   ========================================================================== */
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.stats4 .stat { padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2vw, 2rem) clamp(1.75rem, 3vw, 2.75rem) 0; }
.stats4 .stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(1.15rem, 2.2vw, 2.25rem); }
.stats4 .stat__n { font-size: clamp(2.25rem, 4.6vw, 4rem); }
@media (max-width: 860px) {
  .stats4 { grid-template-columns: repeat(2, 1fr); }
  .stats4 .stat:nth-child(odd) + .stat { }
  .stats4 .stat { padding-right: 1rem; }
}
@media (max-width: 480px) {
  .stats4 { grid-template-columns: 1fr; }
  .stats4 .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ==========================================================================
   CTA + FORM
   ========================================================================== */
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 940px) { .cta__grid { grid-template-columns: 1fr; } }

.form { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.4rem); }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.field { position: relative; display: flex; flex-direction: column; gap: .55rem; }
.field > label { color: var(--ash-dim); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .95em 0;
  background: transparent;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  transition: border-color .45s var(--e-out);
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(50% + 2px), calc(100% - 7px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.field select option { background: var(--ink-800); color: var(--paper); }
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--ash-deep); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--amber); }
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-bottom-color: var(--amber-deep); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.form__note { color: var(--ash-dim); font-size: var(--fs-small); transition: color .5s var(--e-out); }
.form__note.is-live { color: var(--amber); }

/* Contact info cards */
.info { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.info__item {
  padding: clamp(1.6rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem) clamp(1.6rem, 3vw, 2.5rem) 0;
  display: flex; flex-direction: column; gap: .75rem;
}
.info .info__item + .info__item { border-left: 1px solid var(--line); padding-left: clamp(1.15rem, 2.2vw, 2.25rem); }
.info__v { font-family: var(--f-display); font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; }
.info__v a { transition: color .4s var(--e-out); }
.info__v a:hover { color: var(--amber); }
/* Two long addresses need to drop a step to sit in one column */
.info__v--sm { font-size: clamp(.875rem, 1.05vw, .95rem); line-height: 1.7; }
.info__note { color: var(--ash-dim); font-size: var(--fs-small); }
@media (max-width: 960px) { .info { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .info { grid-template-columns: 1fr; }
  .info .info__item + .info__item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .info__item { padding-right: 0; }
}

/* Map */
.map {
  position: relative;
  aspect-ratio: 21 / 8;
  min-height: 320px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  overflow: hidden;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.85) brightness(.95); }
.map__tag {
  position: absolute;
  left: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 2;
  background: var(--ink-900);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--amber);
  padding: .9rem 1.2rem;
  max-width: min(90%, 26rem);
}
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--ink-900); border-top: 1px solid var(--line); }
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.75rem);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}
.foot__col { display: flex; flex-direction: column; gap: 1rem; }
.foot__col h3 { font-size: var(--fs-meta); font-family: var(--f-display); font-weight: 500; letter-spacing: .19em; text-transform: uppercase; color: var(--ash-deep); }
.foot__col p, .foot__col a { color: var(--ash); font-size: var(--fs-small); }
.foot__col a { transition: color .4s var(--e-out); width: fit-content; }
.foot__col a:hover { color: var(--amber); }
.foot__col .foot__brand {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--paper);
  margin-bottom: .75rem;
}
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 0; flex-direction: column; }
.foot__bar {
  border-top: 1px solid var(--line);
  padding-block: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.foot__bar .meta { color: var(--ash-deep); }
@media (max-width: 1024px) { .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.u-amber { color: var(--amber); }
.u-ash { color: var(--ash); }
.u-mt-s { margin-top: clamp(1rem, 2vw, 1.5rem); }
.u-mt-m { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.u-mt-l { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.u-flex { display: flex; flex-wrap: wrap; gap: .85rem; }
.u-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.u-cols-2 { columns: 2; column-gap: clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 760px) { .u-cols-2 { columns: 1; } }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .lines .ln > span { transform: none !important; }
  .curtain { display: none; }
  .hero__media, .bleed__bg { transform: none !important; }
}
