/* ==========================================================================
   TOLOTEX — Maison edition (v4)
   Warm alabaster ground · Newsreader serif display · arch imagery
   ========================================================================== */

:root {
  --paper:    #FAF7F1;
  --cream:    #F3EDE2;
  --sand:     #EAE2D2;
  --ink:      #0E2236;
  --ink-66:   rgba(14, 34, 54, 0.66);
  --ink-44:   rgba(14, 34, 54, 0.55);
  --line:     rgba(14, 34, 54, 0.16);
  --line-strong: rgba(14, 34, 54, 0.32);
  --orange:   #DD5512;
  --rust:     #B8480E;       /* AA on paper for small text */
  --glass:    rgba(247, 243, 234, 0.88);

  --serif: "Newsreader", "Georgia", serif;
  --sans:  "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --mono:  "Spline Sans Mono", "Courier New", monospace;

  --pad-x: clamp(20px, 4.5vw, 64px);
  --sect:  clamp(84px, 13vh, 156px);
  --radius: 18px;
  --arch-r: 999px 999px var(--radius) var(--radius);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.has-js { scroll-behavior: auto; }   /* Lenis takes over */
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--pad-x); }

/* ---------- type ---------- */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tick {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 10px;
  vertical-align: 1px;
}

.display-1, .display-2, .display-3 {
  font-family: var(--serif);
  font-weight: 330;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.display-1 { font-size: clamp(50px, 9.2vw, 124px); }
.display-2 { font-size: clamp(36px, 5.4vw, 72px); }
.display-3 { font-size: clamp(26px, 3.4vw, 42px); }
.display-1 em, .display-2 em, .display-3 em,
.serif-italic { font-style: italic; font-weight: 300; }

.lead {
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.7;
  color: var(--ink-66);
  max-width: 62ch;
}

h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; }

/* split-line reveal scaffolding */
.line { display: block; overflow: hidden; }
.line__inner { display: block; }
html.has-js .line__inner { transform: translateY(115%); }
html.has-js [data-hero-fade] { opacity: 0; transform: translateY(16px); }
html.has-js [data-reveal] { opacity: 0; }

/* ---------- buttons & links ---------- */
.btn-solid, .btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  border-radius: 999px;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn-solid { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-solid:hover { background: var(--rust); border-color: var(--rust); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }

.text-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease-out), color 0.3s;
}
.text-link::after { content: "\00a0\2192"; }
.text-link:hover { background-size: 32% 1px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--pad-x);
  height: 78px;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
.site-header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  height: 66px;
}
.brand { justify-self: start; display: inline-flex; }
.brand__logo { height: 22px; width: auto; }
.nav-desktop { display: flex; gap: clamp(20px, 2.6vw, 38px); justify-self: center; }
.nav-desktop a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-66);
  padding: 6px 2px;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0% 1px no-repeat;
  transition: color 0.3s, background-size 0.4s var(--ease-out);
}
.nav-desktop a:hover { color: var(--ink); background-size: 100% 1px; }
.nav-desktop a[aria-current="page"] { color: var(--ink); background-size: 100% 1px; }
.header-right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.header-right .btn-pill {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.header-right .btn-pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  align-items: center;
}
.burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
body.menu-open .burger span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- overlay menu ---------- */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8vh;
  padding: 100px var(--pad-x) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
body.menu-open .overlay-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
.overlay-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.overlay-menu__nav a {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(34px, 8.5vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 18px;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}
body.menu-open .overlay-menu__nav a { transform: none; opacity: 1; }
.overlay-menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.overlay-menu__nav a:nth-child(2) { transition-delay: 0.14s; }
.overlay-menu__nav a:nth-child(3) { transition-delay: 0.20s; }
.overlay-menu__nav a:nth-child(4) { transition-delay: 0.26s; }
.overlay-menu__nav a:nth-child(5) { transition-delay: 0.32s; }
.overlay-menu__nav a[aria-current="page"] { font-style: italic; color: var(--rust); }
.overlay-no { font-size: 11px; color: var(--rust); }
.overlay-menu__meta { display: flex; justify-content: space-between; color: var(--ink-44); }

/* ---------- loader (home) ---------- */
.loader { display: none; }
html.has-js .loader {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
}
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__logo { height: 26px; width: auto; }
.loader__thread { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.loader__thread-fill { display: block; width: 100%; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* ---------- thread scroll progress ---------- */
.thread {
  position: fixed;
  right: clamp(14px, 2vw, 30px);
  top: 50%;
  translate: 0 -50%;
  height: 56vh;
  width: 1px;
  background: var(--line);
  z-index: 40;
  pointer-events: none;
}
.thread__fill {
  display: block;
  width: 100%; height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
}
html:not(.has-js) .thread { display: none; }

/* ---------- hero (home) ---------- */
.hero { padding-top: clamp(140px, 19vh, 220px); text-align: center; }
.hero__eyebrow { color: var(--ink-66); margin-bottom: clamp(22px, 3.5vh, 38px); }
.hero__title { margin-bottom: clamp(26px, 4vh, 42px); }
.hero__lead { margin: 0 auto clamp(30px, 4.5vh, 46px); max-width: 56ch; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero__stage {
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: clamp(48px, 8vh, 92px);
  padding-inline: var(--pad-x);
}
.hero__arch {
  position: relative;
  width: min(620px, 100%);
  aspect-ratio: 4 / 4.6;
  border-radius: var(--arch-r);
  overflow: hidden;
  background: var(--sand);
}
html.has-js .hero__arch { clip-path: inset(0% 0% 100% 0%); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; scale: 1.12; }
.hero__meta {
  position: absolute;
  bottom: clamp(28px, 6vh, 64px);
  display: grid;
  gap: 10px;
  color: var(--ink-66);
  text-align: left;
}
.hero__meta--left  { left: var(--pad-x); }
.hero__meta--right { right: var(--pad-x); text-align: right; }
.hero__meta strong { font-family: var(--serif); font-style: italic; font-weight: 330; font-size: 21px; letter-spacing: 0; text-transform: none; display: block; }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  padding-top: clamp(150px, 21vh, 240px);
  padding-bottom: clamp(56px, 9vh, 110px);
  text-align: center;
}
.page-hero__kicker { color: var(--ink-66); margin-bottom: clamp(20px, 3vh, 32px); }
.page-hero__title { margin-bottom: clamp(24px, 3.6vh, 40px); font-size: clamp(46px, 7.6vw, 104px); }
.page-hero__lead { margin-inline: auto; text-align: center; }

/* ---------- sections ---------- */
.section { padding-block: var(--sect); }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section-head { text-align: center; margin-bottom: clamp(48px, 8vh, 88px); }
.section-head .eyebrow { display: block; color: var(--ink-66); margin-bottom: clamp(16px, 2.4vh, 26px); }
.section-head .lead { margin: clamp(18px, 3vh, 28px) auto 0; text-align: center; }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__text {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(24px, 3.6vw, 46px);
  line-height: 1.32;
  letter-spacing: -0.015em;
  max-width: 21em;
  margin-inline: auto;
  text-wrap: balance;
}
.manifesto__text .w { display: inline; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--ink-66);
  padding-right: 0.6em;
}

/* ---------- horizontal product lines (home) ---------- */
.lines { background: var(--cream); overflow: clip; }
.lines__viewport { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; }
.lines__track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-inline: var(--pad-x);
  will-change: transform;
}
.lines__intro { flex: 0 0 auto; width: min(460px, 84vw); }
.lines__intro .eyebrow { display: block; color: var(--ink-66); margin-bottom: 20px; }
.lines__intro .lead { margin-top: 22px; margin-bottom: 30px; }
.line-card { flex: 0 0 auto; width: clamp(300px, 30vw, 420px); }
.line-card__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch-r);
  overflow: hidden;
  background: var(--sand);
  margin-bottom: 26px;
}
.line-card__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  scale: 1.06;
  transition: scale 0.9s var(--ease-out);
}
.line-card:hover .line-card__visual img { scale: 1.12; }
.line-card__no { color: var(--rust); margin-bottom: 12px; }
.line-card h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.line-card p { font-size: 15px; color: var(--ink-66); margin-bottom: 18px; }
.lines__outro { flex: 0 0 auto; width: min(380px, 80vw); text-align: center; }
.lines__outro .display-3 { margin-bottom: 22px; }

@media (max-width: 899px) {
  .lines__viewport { min-height: 0; padding-block: var(--sect); }
  .lines__track { flex-direction: column; align-items: stretch; }
  .lines__intro, .line-card, .lines__outro { width: 100%; }
  .lines__intro { text-align: center; }
  .lines__intro .lead { margin-inline: auto; }
  .line-card__visual { max-width: 440px; margin-inline: auto; }
  .line-card { text-align: center; }
}

/* ---------- full-bleed image band ---------- */
.img-band {
  position: relative;
  height: clamp(420px, 78vh, 760px);
  overflow: hidden;
}
.img-band img {
  width: 100%; height: 118%;
  object-fit: cover;
  position: relative;
  top: -9%;
}
.img-band figcaption {
  position: absolute;
  left: var(--pad-x);
  bottom: 26px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F3EFE6;
  background: rgba(10, 24, 40, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 239, 230, 0.25);
  border-radius: 999px;
  padding: 10px 18px;
}

/* ---------- editorial split (replaces zoomed bands) ---------- */
.ed-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5.5vw, 88px);
  align-items: center;
}
.section--split { padding-block: clamp(52px, 8vh, 92px); }
.ed-split__media {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  background: var(--sand);
  width: 100%;
  max-width: 408px;
  justify-self: center;
}
.ed-split__media img { width: 100%; height: 100%; object-fit: cover; }
.ed-split__eyebrow { display: block; color: var(--rust); margin-bottom: 20px; }
.ed-split__statement {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(27px, 3.3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ed-split__statement em { font-style: italic; font-weight: 300; }
.ed-split .lead { margin: 24px 0 28px; }
.ed-split--flip .ed-split__media { order: 2; }
@media (max-width: 820px) {
  .ed-split { grid-template-columns: 1fr; gap: 30px; }
  .ed-split--flip .ed-split__media { order: 0; }
  .ed-split__media { max-width: 400px; }
}

/* ---------- numbers / stats ---------- */
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: clamp(28px, 4vh, 44px) clamp(16px, 2vw, 32px) 8px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 14px;
}
.stat__unit { font-size: 0.42em; font-style: italic; margin-left: 4px; }
.stat__value--text { font-size: clamp(30px, 3.6vw, 52px); padding-top: 0.35em; }
.stat__label { color: var(--ink-66); font-size: 10.5px; }
@media (max-width: 820px) {
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .numbers__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* ---------- process rows ---------- */
.process__list { border-top: 1px solid var(--line); }
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: baseline;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(24px, 3.6vh, 40px) clamp(8px, 1.5vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, padding-left 0.4s var(--ease-out);
}
.process-step:hover { background: rgba(234, 226, 210, 0.5); padding-left: clamp(16px, 2.5vw, 40px); }
.process-step__no { color: var(--rust); }
.process-step__body h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.process-step__body p { font-size: 15px; color: var(--ink-66); max-width: 58ch; }
.process-step__tag { color: var(--ink-44); }
@media (max-width: 640px) {
  .process-step { grid-template-columns: 44px 1fr; }
  .process-step__tag { display: none; }
}

/* ---------- facilities strip ---------- */
.fac-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.fac {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.fac:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 18px 36px -22px rgba(14, 34, 54, 0.28); }
.fac .mono { color: var(--rust); }
.fac h4 { font-size: 24px; margin: 12px 0 6px; }
.fac p { font-size: 13.5px; color: var(--ink-66); }
.section--cream .fac, .section--sand .fac { background: var(--paper); }
@media (max-width: 980px) { .fac-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .fac-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- clients ---------- */
.clients__list { border-top: 1px solid var(--line); }
.client-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 3.2vh, 34px) clamp(8px, 1.5vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.45s var(--ease-out), background 0.45s;
}
.client-row:hover { padding-left: clamp(20px, 3vw, 52px); background: rgba(234, 226, 210, 0.5); }
.client-row__name {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(26px, 4vw, 52px);
  letter-spacing: -0.02em;
  /* a flowing wave of the brand's three colours, hidden behind ink until hover */
  background-image: linear-gradient(100deg,
    var(--c1, var(--ink)) 0%,
    var(--c2, var(--ink)) 25%,
    var(--c3, var(--ink)) 50%,
    var(--c2, var(--ink)) 75%,
    var(--c1, var(--ink)) 100%);
  background-size: 200% auto;
  background-position: 0% center;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
  transition: -webkit-text-fill-color 0.4s var(--ease-out), font-style 0.2s;
}
.client-row:hover .client-row__name,
.client-row__brand:focus-visible .client-row__name {
  font-style: italic;
  -webkit-text-fill-color: transparent;
  animation: brandflow 3s linear infinite;
}
@keyframes brandflow {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}
.client-row__tag { color: var(--ink-44); text-align: right; }
.client-row__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  .client-row:hover .client-row__name { animation: none; }
}

/* ---------- feature rows (subpages) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5.5vw, 88px);
  align-items: center;
  padding-block: clamp(36px, 6vh, 64px);
}
.feature--flip .feature__visual { order: 2; }
.feature__visual {
  position: relative;
  aspect-ratio: 4 / 4.7;
  border-radius: var(--arch-r);
  overflow: hidden;
  background: var(--sand);
  max-width: 520px;
  width: 100%;
  justify-self: center;
}
.feature__visual img { width: 100%; height: 112%; object-fit: cover; position: relative; }
.feature__chip {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  bottom: 18px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F3EFE6;
  background: rgba(10, 24, 40, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 239, 230, 0.25);
  border-radius: 999px;
  padding: 9px 16px;
}
.feature__no { color: var(--rust); margin-bottom: 14px; }
.feature__body h3 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.feature__body > p { font-size: 15.5px; color: var(--ink-66); margin-bottom: 24px; max-width: 56ch; }
.feature__body ul { border-top: 1px solid var(--line); margin-bottom: 28px; }
.feature__body ul li {
  font-size: 14.5px;
  color: var(--ink-66);
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
}
.feature__body ul li::before { content: "—"; color: var(--rust); flex: 0 0 auto; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature--flip .feature__visual { order: 0; }
  .feature__visual { max-width: 460px; }
}

/* ---------- spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-44);
  text-align: left;
  padding: 0 18px 16px 2px;
  border-bottom: 1px solid var(--line-strong);
}
.spec-table td {
  padding: 22px 18px 22px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-66);
  vertical-align: top;
}
.spec-table td:first-child {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .hide-sm { display: none; }
  .spec-table td:first-child { white-space: normal; }
}

/* ---------- tiles ---------- */
.tile-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile {
  background: var(--cream);
  border-radius: var(--radius) var(--radius) 80px 80px;
  padding: 28px 24px 44px;
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.tile:hover { transform: translateY(-5px); background: var(--sand); }
.tile .mono { color: var(--rust); }
.tile h4 { font-size: 26px; margin: 14px 0 10px; }
.tile p { font-size: 14px; color: var(--ink-66); }
@media (max-width: 920px) { .tile-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tile-strip { grid-template-columns: 1fr; } }

/* ---------- numbered rows ---------- */
.num-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(26px, 4vh, 42px) 2px;
  border-top: 1px solid var(--line);
}
.num-row:last-of-type { border-bottom: 1px solid var(--line); }
.num-row__no { color: var(--rust); padding-top: 8px; }
.num-row h3 { font-size: clamp(22px, 2.5vw, 31px); margin-bottom: 10px; }
.num-row p { font-size: 15px; color: var(--ink-66); max-width: 64ch; }
@media (max-width: 560px) { .num-row { grid-template-columns: 48px 1fr; } }

/* ---------- milestones ---------- */
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.milestone { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.milestone__tag { display: block; color: var(--rust); margin-bottom: 16px; }
.milestone h3 { font-size: 24px; margin-bottom: 10px; }
.milestone p { font-size: 14px; color: var(--ink-66); }
@media (max-width: 920px) { .milestones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .milestones { grid-template-columns: 1fr; } }

/* ---------- stats-mini & two-col text ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.stats-mini .cell { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-mini .cell:nth-child(2n) { border-right: 0; }
.stats-mini .cell:nth-last-child(-n+2) { border-bottom: 0; }
.stats-mini .v { font-family: var(--serif); font-weight: 330; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; margin-bottom: 8px; }
.stats-mini .k { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-66); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 880px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 26px);
  padding: clamp(20px, 3vh, 30px) 2px;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.3em;
  line-height: 0.8;
  color: var(--rust);
  transition: transform 0.4s var(--ease-out);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--rust); }
.faq__a { padding: 0 2px 28px; font-size: 15px; color: var(--ink-66); max-width: 64ch; }

/* ---------- inquiry form ---------- */
.cinfo { display: grid; gap: 30px; align-content: start; }
.cinfo__item { display: grid; gap: 8px; }
.cinfo__k { color: var(--ink-66); }
.cinfo__v { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); font-weight: 400; line-height: 1.4; }
.cinfo__v a { background: linear-gradient(var(--line-strong), var(--line-strong)) left bottom / 100% 1px no-repeat; transition: color 0.3s; }
.cinfo__v a:hover { color: var(--rust); }

.inquiry { display: grid; gap: 26px; }
.inquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 560px) { .inquiry__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-66);
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 2px 12px;
  transition: border-color 0.3s;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--rust);
}
.field select { appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230E2236' fill='none'/%3E%3C/svg%3E") right 4px center no-repeat;
}
.inquiry__note { color: var(--ink-66); font-size: 10px; }

/* ---------- locations grid ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.loc {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.loc:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 18px 36px -22px rgba(14, 34, 54, 0.28); }
.loc--hq { background: var(--cream); }
.loc__tag { display: block; color: var(--rust); margin-bottom: 14px; }
.loc h3 { font-size: 28px; margin-bottom: 10px; }
.loc p { font-size: 14px; color: var(--ink-66); }
.loc__detail { display: block; margin-top: 16px; color: var(--ink-44); }
a.loc .loc__detail { color: var(--rust); }
@media (max-width: 880px) { .loc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer {
  background: var(--sand);
  text-align: center;
  padding: var(--sect) 0 36px;
  margin-top: var(--sect);
  border-radius: 56px 56px 0 0;
}
.lines + .site-footer, .img-band + .site-footer, .section--cream + .site-footer { margin-top: 0; }
.site-footer__kicker { color: var(--ink-66); margin-bottom: clamp(22px, 3.6vh, 36px); }
.site-footer__big {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(44px, 8.4vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: clamp(40px, 7vh, 76px);
  transition: color 0.4s;
}
.site-footer__big em { font-style: italic; font-weight: 300; }
.site-footer__big:hover { color: var(--rust); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto clamp(44px, 8vh, 80px);
  padding-inline: var(--pad-x);
  text-align: center;
}
.site-footer__label { display: block; color: var(--ink-44); margin-bottom: 10px; }
.site-footer__grid a, .site-footer__grid p { font-size: 15.5px; line-height: 1.6; }
.site-footer__grid a:hover { color: var(--rust); }
.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 26px var(--pad-x) 0;
  color: var(--ink-66);
}
.site-footer__base a:hover { color: var(--rust); }
@media (max-width: 720px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer__base { justify-content: center; text-align: center; }
}

/* ---------- responsive header ---------- */
@media (max-width: 1020px) {
  .nav-desktop { display: none; }
  .burger { display: flex; }
}
@media (max-width: 560px) {
  .header-right .btn-pill { display: none; }
  .hero__meta { position: static; text-align: center; margin-top: 26px; }
  .hero__meta--left { display: none; }
  .hero__stage { gap: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
