/* =========================================================
   Allure Textile — site styles
   Type: Instrument Serif (display) + Inter Tight (text)
   Change the tokens in :root to re-colour the whole site.
   ========================================================= */

:root {
  --bone: #f1ece3;
  --bone-2: #e8e1d4;
  --paper: #faf7f2;
  --ink: #0f0e0c;
  --ink-2: #1a1916;
  --muted: #6a635a;
  --muted-light: #a39b8f;
  --line: rgba(15, 14, 12, 0.13);
  --line-strong: rgba(15, 14, 12, 0.85);
  --line-light: rgba(241, 236, 227, 0.16);
  --emerald: #0f3a2d;
  --emerald-2: #174d3d;
  --brass: #c4a46c;
  --brass-ink: #8a6b37;
  --error: #b3261e;

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --intro: 1.5s;           /* hero text waits for the intro curtain */
}
.no-intro { --intro: .15s; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--bone); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: var(--bone); padding: 10px 14px; text-decoration: none; border-radius: 8px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.on-dark { background: var(--ink); color: var(--bone); }

/* ---------- type ---------- */
.display, .headline { font-family: var(--serif); font-weight: 400; letter-spacing: -.022em; }
.display { font-size: clamp(3rem, 11.2vw, 12rem); line-height: .88; }
.display-sm { font-size: clamp(2.8rem, 8.4vw, 9rem); line-height: .9; }
.headline { font-size: clamp(2.7rem, 6.3vw, 6.6rem); line-height: .92; }
.display em, .headline em { letter-spacing: -.01em; }

.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow span { color: var(--brass-ink); }
.eyebrow span::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-left: 12px; vertical-align: middle; opacity: .7; }
.on-dark .eyebrow, .quote-section .eyebrow { color: var(--muted-light); }
.on-dark .eyebrow span, .quote-section .eyebrow span { color: var(--brass); }

.lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 46ch; margin-top: 28px; }
.on-dark .lead { color: var(--muted-light); }
.fineprint { font-size: 13px; letter-spacing: .04em; color: var(--muted-light); margin-top: 40px; }

/* line-by-line headline reveal */
[data-lines] .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
[data-lines] .line > span { display: block; }
.js [data-lines] .line > span { transform: translateY(108%); transition: transform 1.2s var(--ease); }
.js [data-lines].is-in .line > span { transform: none; }
.js [data-lines].is-in .line:nth-child(2) > span { transition-delay: .09s; }
.js [data-lines].is-in .line:nth-child(3) > span { transition-delay: .18s; }

/* fade-up reveal */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* image wipe reveal */
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-io); }
.js .reveal-img img { transform: scale(1.25); transition: transform 2.2s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: scale(1); }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--bone); border: 1px solid var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--brass);
  transform: translateY(102%); transition: transform .65s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ink); border-color: var(--brass); }
.btn:active { transform: translateY(1px); }
.btn-ico {
  width: 40px; height: 40px; margin-right: -19px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--bone); color: var(--ink);
  transition: transform .6s var(--ease), background .4s;
}
.btn:hover .btn-ico { transform: rotate(-45deg); background: var(--ink); color: var(--bone); }
.btn svg { flex: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-light .btn-ico { background: var(--ink); color: var(--bone); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost .btn-ico { background: var(--ink); color: var(--bone); }
.btn-ghost-light { background: transparent; color: var(--bone); border-color: rgba(241,236,227,.45); }
.btn-ghost-light:hover { color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- intro curtain ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: var(--ink); color: var(--bone);
  animation: introOut 1s var(--ease-io) 1.15s forwards;
}
.no-intro .intro { display: none; }
.intro-word { font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 12vw, 10rem); line-height: 1; overflow: hidden; padding: 0 .1em .12em; }
.intro-word span { display: block; animation: introWord 1s var(--ease) .1s both; }
.intro-bar { position: absolute; left: 50%; bottom: 14vh; width: min(220px, 50vw); height: 1px; transform: translateX(-50%); background: var(--line-light); overflow: hidden; }
.intro-bar::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform-origin: left; animation: introBar 1.05s var(--ease-io) .05s both; }
@keyframes introWord { from { transform: translateY(110%); } to { transform: none; } }
@keyframes introBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 70; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform .7s var(--ease), background .4s, border-color .4s;
}
.site-header.is-solid { background: rgba(241, 236, 227, .82); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.site-header.is-hidden { transform: translateY(-101%); }
.header-inner { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 36px; }

.logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; color: var(--ink); position: relative; z-index: 2; }
.logo-word { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.logo-sub { font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; transform: translateY(-3px); }

.site-nav { display: flex; gap: 30px; }
.site-nav a { position: relative; text-decoration: none; font-size: 14.5px; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-foot, .site-nav .nav-quote { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before { position: absolute; left: 13px; width: 16px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav-toggle-bars { top: 18px; }
.nav-toggle-bars::before { content: ""; left: 0; top: 6px; }
.nav-open .nav-toggle-bars { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars::before { top: 0; transform: rotate(-90deg); }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(20px, 4vh, 48px)); }
.hero-meta {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  padding-bottom: 18px; margin-bottom: clamp(18px, 3.4vh, 40px); border-bottom: 1px solid var(--line);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: block; }
.hero-title .line:nth-child(2) { padding-left: 13vw; }
.js .hero-title .line > span { transform: translateY(108%); animation: lineUp 1.3s var(--ease) calc(var(--intro) + var(--d, 0s)) forwards; }
.hero-title .line:nth-child(2) { --d: .1s; }
@keyframes lineUp { to { transform: none; } }
.js .hero-fade { opacity: 0; transform: translateY(20px); animation: fadeUp 1.1s var(--ease) calc(var(--intro) + .35s) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: clamp(20px, 4vw, 64px); margin-top: clamp(22px, 4vh, 48px); }
.hero-sub { max-width: 44ch; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.55; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* rotating badge */
.badge { position: relative; width: 136px; height: 136px; flex: none; display: grid; place-items: center; color: var(--ink); text-decoration: none; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge-ring text { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.badge-core { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bone); transition: transform .7s var(--ease), background .4s, color .4s; }
.badge:hover .badge-core { transform: scale(1.14) rotate(-45deg); background: var(--brass); color: var(--ink); }
.badge-light { color: var(--bone); }
.badge-light .badge-core { background: var(--bone); color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero image that grows to full-bleed on scroll (--p: 0 → 1, set by main.js) */
.hero-media { position: relative; height: 210vh; margin-top: clamp(24px, 4.5vh, 56px); --p: 0; --fx: 14vw; --fy: 7vh; }
.hero-media-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-media-frame {
  position: absolute; inset: 0; overflow: hidden; background: var(--ink);
  clip-path: inset(calc((1 - var(--p)) * var(--fy)) calc((1 - var(--p)) * var(--fx)) calc((1 - var(--p)) * var(--fy)) calc((1 - var(--p)) * var(--fx)) round calc((1 - var(--p)) * 32px));
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.22 - .22 * var(--p))); will-change: transform; }
.hero-media-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,7,.1) 0%, rgba(8,8,7,.05) 40%, rgba(8,8,7,.8) 100%); opacity: calc(.35 + .65 * var(--p)); }
.hero-media-caption {
  position: absolute; left: 0; right: 0; bottom: 0; color: var(--bone);
  padding-bottom: clamp(28px, 6vh, 64px);
  opacity: clamp(0, calc((var(--p) - .55) * 3), 1);
  transform: translateY(calc((1 - var(--p)) * 60px));
}
.hero-media-quote { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 5.2rem); line-height: .95; letter-spacing: -.015em; max-width: 14em; }
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(24px, 4vh, 44px); border-top: 1px solid rgba(241,236,227,.3); }
.hero-points li { padding-top: 16px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.hero-points span { color: var(--brass); margin-right: 10px; }

/* ---------- statement ---------- */
.statement { padding: clamp(96px, 13vw, 200px) 0; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; }
.statement-text { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 4.6rem); line-height: 1.06; letter-spacing: -.015em; }
.statement-text em { color: var(--brass-ink); }
.js .statement-text .w { opacity: .14; transition: opacity .5s var(--ease); }
.js .statement-text .w.on { opacity: 1; }

/* ---------- big marquee with inline photos ---------- */
.marquee-big { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(18px, 2.6vw, 36px) 0; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 55s linear infinite; }
.marquee-big:hover .marquee-track { animation-play-state: paused; }
.marquee-big span { font-family: var(--serif); font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: 1; letter-spacing: -.02em; padding: 0 .28em; white-space: nowrap; }
.marquee-big span:nth-of-type(even) { font-style: italic; }
.marquee-big img { flex: none; width: clamp(5rem, 10vw, 10rem); height: clamp(3rem, 6vw, 6rem); object-fit: cover; border-radius: 999px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(88px, 11vw, 168px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-bottom: clamp(44px, 6vw, 88px); }
.section-head .lead { margin-top: 0; justify-self: end; }

/* products: list with cursor-follow photos */
.plist { position: relative; border-top: 1px solid var(--line-strong); }
.prow {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: clamp(22px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: opacity .5s var(--ease);
}
.prow-num { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.prow-name { font-family: var(--serif); font-size: clamp(2rem, 3.7vw, 3.8rem); line-height: 1; letter-spacing: -.015em; transition: transform .8s var(--ease); }
.prow-name em { color: var(--brass-ink); }
.prow-desc { color: var(--muted); font-size: 15.5px; line-height: 1.5; max-width: 40ch; }
.prow-go { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .7s var(--ease), background .4s, color .4s; }
.prow-thumb { display: none; }
.prow:hover .prow-name { transform: translateX(22px); }
.prow:hover .prow-go { background: var(--ink); color: var(--bone); transform: rotate(-45deg); }
@media (hover: hover) and (min-width: 961px) {
  .plist.is-hovering .prow { opacity: .28; }
  .plist.is-hovering .prow.is-active { opacity: 1; }
}
.plist-float {
  position: absolute; top: 0; left: 0; z-index: 3; width: clamp(240px, 22vw, 340px); aspect-ratio: 4 / 5;
  border-radius: 20px; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) scale(.6) rotate(-6deg);
  transition: opacity .45s var(--ease), transform .7s var(--ease), visibility 0s .45s;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.plist-float.is-on { opacity: 1; visibility: visible; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) scale(1) rotate(var(--r, 0deg)); transition: opacity .45s var(--ease), transform .7s var(--ease), visibility 0s; }
.plist-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity .5s var(--ease), transform .9s var(--ease); }
.plist-float img.is-active { opacity: 1; transform: scale(1); }

/* split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: min(100vh, 980px); }
.split-media { position: relative; overflow: hidden; background: var(--ink-2); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media img[data-parallax] { top: -8%; height: 116%; will-change: translate; }
.split-flip .split-media { order: 2; }
.split-body { padding: clamp(64px, 8vw, 140px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.split-body > * { max-width: 600px; }
.split-body > .btn { align-self: flex-start; }

.chain { counter-reset: c; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 44px; }
.chain li { counter-increment: c; display: flex; gap: 16px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--line-light); font-size: 16px; }
.chain li::before { content: counter(c, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1; color: var(--brass); min-width: 26px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 44px; }
.tags li { border: 1px solid var(--line-light); border-radius: 999px; padding: 10px 16px; font-size: 14px; }

/* engagement models */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.model {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 20px;
  min-height: 480px; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); border-radius: 28px; background: var(--paper);
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.model::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .9s var(--ease); }
.model:hover::before { transform: none; }
.model:hover { color: var(--bone); border-color: var(--ink); }
.model-num { font-family: var(--serif); font-style: italic; font-size: clamp(4.4rem, 6.4vw, 7rem); line-height: .8; color: var(--brass-ink); transition: color .6s; }
.model h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -.01em; margin-top: clamp(48px, 6vw, 96px); }
.model p { color: var(--muted); transition: color .6s; }
.model > p:not(.model-best) { flex: 1; }
.model-best { padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: border-color .6s; }
.model:hover .model-num { color: var(--brass); }
.model:hover p { color: var(--muted-light); }
.model:hover .model-best { border-color: var(--line-light); }
.models-foot { display: flex; justify-content: center; margin-top: 56px; }

/* process */
.steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.steps::before { background: var(--line-light); }
.steps::after { background: var(--brass); transform-origin: left; }
.js .steps::after { transform: scaleX(0); transition: transform 2.4s var(--ease-io) .2s; }
.js .steps.is-in::after { transform: scaleX(1); }
.step { position: relative; padding: 40px 24px 0 0; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 46px; line-height: 1; color: var(--brass); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1; margin: 20px 0 12px; }
.step p { color: var(--muted-light); font-size: 15px; line-height: 1.5; }
.step-time { display: inline-block; margin-top: 20px; padding: 7px 13px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }

/* why */
/* ---------- facilities ---------- */
.facilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 4vw, 60px) clamp(16px, 1.8vw, 26px); }
.facility { display: flex; flex-direction: column; }
.facility:nth-child(4n+2) { transition-delay: .08s; }
.facility:nth-child(4n+3) { transition-delay: .16s; }
.facility:nth-child(4n+4) { transition-delay: .24s; }
.facility-media { position: relative; aspect-ratio: 4 / 4.4; border-radius: 22px; overflow: hidden; background: var(--ink-2); }
.facility-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.facility:hover .facility-media img { transform: scale(1.06); }
.facility-card { position: relative; flex: 1; margin: -54px 14px 0; padding: 22px 22px 26px; background: var(--bone); border-radius: 18px; box-shadow: 0 26px 50px -28px rgba(15,14,12,.5); }
.facility-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1; letter-spacing: -.01em; margin-bottom: 12px; }
.facility-card p { color: var(--muted); font-size: 15px; line-height: 1.5; }

.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); }
.why-head { position: sticky; top: 130px; align-self: start; }
.why-head .headline { font-size: clamp(2.7rem, 5vw, 5.4rem); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 48px); }
.why-item { padding: 28px 0 48px; border-top: 1px solid var(--line-strong); }
.why-idx { font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--brass-ink); }
.why-item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.5rem); line-height: 1; letter-spacing: -.01em; margin: 18px 0 16px; }
.why-item p { color: var(--muted); font-size: 16px; }

/* ---------- quote ---------- */
.quote-section { background: var(--emerald); color: var(--bone); position: relative; overflow: hidden; overflow: clip; } /* clip: focusing a field can't scroll the section sideways */
.quote-section::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -25vw; top: -30vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(196,164,108,.18), transparent); pointer-events: none; }
.quote-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.quote-intro { position: sticky; top: 120px; }
.quote-section .lead { color: rgba(241,236,227,.72); }
.checklist { margin-top: 34px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: baseline; font-size: 16.5px; }
.checklist li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg) translateY(-2px); }
.direct { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(241,236,227,.2); display: grid; gap: 8px; }
.direct-label { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(241,236,227,.6); margin-bottom: 4px; }
.direct-link { justify-self: start; font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; text-decoration: none; border-bottom: 1px solid rgba(241,236,227,.3); overflow-wrap: anywhere; }
.direct-link:hover { border-color: var(--brass); color: var(--brass); }

.quote-form { position: relative; background: var(--bone); color: var(--ink); border-radius: 30px; padding: clamp(24px, 3.6vw, 52px); box-shadow: 0 50px 100px -40px rgba(0,0,0,.55); }
.form-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 34px; }
.form-progress span { padding-top: 14px; border-top: 2px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .3s, border-color .3s; }
.form-progress b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 16px; letter-spacing: 0; margin-right: 6px; }
.form-progress .is-done { color: var(--ink); border-top-color: var(--ink); }
.form-progress .is-active { color: var(--ink); border-top-color: var(--brass); }

.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .form-step { display: none; }
.js .form-step.is-active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.form-step + .form-step { margin-top: 44px; }
.js .form-step + .form-step { margin-top: 0; }
.step-legend { padding: 0; margin-bottom: 28px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.01em; }

.field { margin-bottom: 24px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.label em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.input {
  width: 100%; min-height: 54px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
  font-size: 16px; transition: border-color .25s, box-shadow .25s, background .25s;
}
textarea.input { resize: vertical; min-height: 120px; }
.input::placeholder { color: #a29a8e; }
.input:hover { border-color: rgba(15,14,12,.35); }
.input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(196,164,108,.25); }
.field.has-error .input { border-color: var(--error); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .option { position: relative; cursor: pointer; }
.chip input, .option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 15px; user-select: none; transition: background .25s, color .25s, border-color .25s; }
.chip span::before { content: "+"; color: var(--muted); font-size: 16px; line-height: 1; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip input:checked + span::before { content: "✓"; color: var(--brass); }
.chip input:focus-visible + span, .option input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.options-3 { grid-template-columns: repeat(3, 1fr); }
.options-4 { grid-template-columns: repeat(4, 1fr); }
.option span { display: flex; flex-direction: column; justify-content: center; gap: 3px; height: 100%; min-height: 60px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 14px; color: var(--muted); user-select: none; transition: background .25s, color .25s, border-color .25s; }
.option b { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.options-4 .option span { align-items: center; text-align: center; }
.option:hover span { border-color: var(--ink); }
.option input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--muted-light); }
.option input:checked + span b { color: var(--bone); }

.field-error { display: none; margin-top: 8px; font-size: 14px; color: var(--error); }
.has-error .field-error { display: block; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-note a { color: var(--ink); }
.form-status { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--error); border-radius: 14px; background: #fff; color: var(--error); font-size: 15px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 28px 72px 28px 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.1; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 46px; height: 46px; margin-top: -23px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; font-family: var(--sans); font-size: 22px; font-weight: 300; transition: transform .6s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--ink); color: var(--bone); }
.faq summary:hover { color: var(--brass-ink); }
.faq details p { padding: 0 72px 30px 0; color: var(--muted); max-width: 62ch; }
.js .faq details[open] p { animation: stepIn .6s var(--ease); }

/* ---------- final CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 220px) 0 clamp(90px, 10vw, 150px); }
.cta-bg { position: absolute; inset: 0; opacity: .32; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(15,14,12,.4) 50%, var(--ink) 100%); }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.cta .hero-ctas { margin-top: 44px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--bone); padding-top: clamp(64px, 7vw, 104px); overflow: hidden; border-top: 1px solid var(--line-light); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.footer-tag { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: 1.04; letter-spacing: -.01em; max-width: 15em; }
.footer-tag em { color: var(--brass); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-cols h3 { margin-bottom: 16px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); }
.footer-cols a, .footer-cols span { display: block; padding: 4px 0; color: rgba(241,236,227,.86); text-decoration: none; font-size: 15.5px; overflow-wrap: anywhere; transition: color .3s; }
.footer-cols a:hover { color: var(--brass); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 88px); padding: 22px 0; border-top: 1px solid var(--line-light); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.footer-base a { text-decoration: none; }
.footer-word { font-family: var(--serif); font-size: 31vw; line-height: .8; letter-spacing: -.045em; text-align: center; white-space: nowrap; margin: 3vw 0 -.8vw; color: var(--bone); user-select: none; }
.footer-word em { color: var(--brass); }
.footer-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line-light); }
.office-tag { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 14px; }
.office-city { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -.015em; margin-bottom: 20px; }
.office-city em { color: var(--brass); }
.office address { font-style: normal; font-size: 15.5px; line-height: 1.65; color: rgba(241,236,227,.72); }
.office-phones { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 16px; }
.office-phones a { font-size: 15.5px; text-decoration: none; color: var(--bone); border-bottom: 1px solid rgba(241,236,227,.3); transition: color .3s, border-color .3s; }
.office-phones a:hover { color: var(--brass); border-color: var(--brass); }
.direct-phones { display: grid; gap: 6px; margin-top: 14px; }
.direct-phones a { display: flex; gap: 14px; align-items: baseline; font-size: 15.5px; text-decoration: none; color: rgba(241,236,227,.86); transition: color .3s; }
.direct-phones a:hover { color: var(--brass); }
.direct-phones span { flex: 0 0 96px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(241,236,227,.5); }
.nav-foot a { text-decoration: none; }

/* ---------- WhatsApp float + mobile bar ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #1f9d55; color: #fff; text-decoration: none;
  box-shadow: 0 16px 36px -10px rgba(0,0,0,.45); transition: transform .5s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.mobile-bar { display: none; }
[data-wa][hidden] { display: none !important; }

/* ---------- simple pages (thank-you, privacy, 404) ---------- */
.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page .site-header { position: sticky; }
.page-main { flex: 1; padding: clamp(56px, 9vw, 130px) 0; }
.prose { max-width: 68ch; margin-top: 36px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.05; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--ink); }
.next-steps { margin: 56px 0 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.next-steps li { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.next-steps b { display: block; margin-bottom: 10px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1; color: var(--brass-ink); }
.next-steps p { color: var(--muted); font-size: 16px; }
.ref-pill { display: inline-block; margin-top: 26px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.page-footer { padding: 22px 0; border-top: 1px solid var(--line); }
.page-footer .footer-base { margin: 0; padding: 0; border: 0; color: var(--muted); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before, .steps::after { display: none; }
  .step { border-top: 1px solid var(--line-light); }
  .prow { grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 20px; }
}

@media (max-width: 960px) {
  .facilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facility:nth-child(n) { transition-delay: 0s; }
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 0;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: var(--ink); color: var(--bone);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .8s var(--ease-io), visibility 0s .8s;
  }
  .site-nav > a { font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4.4rem); line-height: 1.08; padding: 2px 0; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
  .site-nav a::after { display: none; }
  .nav-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 36px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
  .nav-open .site-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
  .nav-open .site-nav > a { opacity: 1; transform: none; }
  .site-nav .nav-quote { display: block; color: var(--brass); font-style: italic; }
  .nav-open .site-nav a:nth-child(2) { transition-delay: .05s; }
  .nav-open .site-nav a:nth-child(3) { transition-delay: .1s; }
  .nav-open .site-nav a:nth-child(4) { transition-delay: .15s; }
  .nav-open .site-nav a:nth-child(5) { transition-delay: .2s; }
  .nav-open .site-nav a:nth-child(6) { transition-delay: .25s; }
  .nav-open .site-nav a:nth-child(7) { transition-delay: .3s; }
  .nav-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
  .nav-open .logo, .nav-open .nav-toggle { color: var(--bone); border-color: rgba(241,236,227,.5); }
  .nav-open { overflow: hidden; }

  .hero-row { grid-template-columns: 1fr auto; }
  .hero-row .hero-sub { grid-column: 1 / -1; }
  .hero-media { --fx: var(--gutter); --fy: 4vh; height: 180vh; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-points li { padding: 12px 0; border-bottom: 1px solid rgba(241,236,227,.2); }

  .statement-grid, .section-head, .why-grid, .quote-grid, .faq-grid, .footer-top, .cta-inner { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .why-head, .quote-intro { position: static; }

  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-flip .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3.3; }
  .split-body > * { max-width: 680px; }

  .models { grid-template-columns: 1fr; }
  .model { min-height: 0; }
  .model h3 { margin-top: 12px; }

  .prow { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; padding: 18px 0; }
  .prow-num, .prow-desc { display: none; }
  .prow-thumb { display: block; width: 84px; height: 84px; border-radius: 14px; object-fit: cover; grid-row: 1; grid-column: 1; }
  .prow-name { font-size: clamp(1.7rem, 5.4vw, 2.6rem); }
  .prow-go { width: 46px; height: 46px; }
  .plist-float { display: none; }
}

@media (max-width: 720px) {
  .facilities { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; margin: 0 -16px; padding: 0 16px 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
  .facilities::-webkit-scrollbar { display: none; }
  .facility { scroll-snap-align: start; }
  body { font-size: 16px; }
  .hero-meta span:nth-child(2) { display: none; }
  .hero-title .line:nth-child(2) { padding-left: 0; }
  .hero-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .badge { display: none; }
  .cta .badge { display: grid; width: 116px; height: 116px; }
  .marquee-big img { width: 4.6rem; height: 2.8rem; }
  .chain { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { padding: 28px 0 32px; }
  .step::before { display: none; }
  .why { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .options-4 { grid-template-columns: 1fr 1fr; }
  .options-3 { grid-template-columns: 1fr; }
  .form-progress span { font-size: 10.5px; letter-spacing: .08em; }
  .form-nav .btn { flex: 1; padding: 0 16px; }
  .quote-form { border-radius: 22px; }
  .faq summary { padding-right: 60px; }
  .faq summary::after { width: 40px; height: 40px; margin-top: -20px; }
  .faq details p { padding-right: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
  .footer-offices { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 14vw; }
  .next-steps { grid-template-columns: 1fr; gap: 24px; }

  .wa-float { display: none; }
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 65;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgba(15,14,12,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -16px rgba(0,0,0,.5);
    transform: translateY(150%); transition: transform .6s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: 14.5px; }
  .mobile-bar .btn-wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
  .mobile-bar.wa-off { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .intro { display: none; }
  .marquee-track, .badge-ring { animation: none; }
  .hero-media { height: auto; --p: 1 !important; }
  .hero-media-sticky { position: relative; height: 80vh; }
  .js .statement-text .w { opacity: 1; }
}
