/* Self-hosted fonts — no third-party requests (GDPR: no IP transmission to Google) */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('Assets/fonts/figtree-normal-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('Assets/fonts/figtree-normal-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('Assets/fonts/figtree-normal-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url('Assets/fonts/fraunces-italic-200.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('Assets/fonts/fraunces-italic-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('Assets/fonts/fraunces-normal-200.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('Assets/fonts/fraunces-normal-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('Assets/fonts/fraunces-normal-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════════════════
   KOELT — Spatial Luxury
   Warm limestone · raw oat silk · soft slate · muted lavender sage
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper:      #ffffff;
  --oat:        #f5f7fa;
  --oat-deep:   #e9edf3;
  --limestone:  #eef1f6;
  --limestone-d:#dde3ec;
  --ink:        #1a1c22;
  --ink-soft:   #4c5058;
  --slate:      #7b7f83;
  --slate-soft: #a2a6a9;
  --lavender:   #a9a2b6;
  --sage:       #a6ad9a;
  --gold:       #1d3d7c;
  --gold-soft:  #6b85c2;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Figtree", "Helvetica Neue", sans-serif;
  /* small tracked labels — a sans, not a mono: wide tracking reads as
     fashion in a proportional face and as terminal in a monospaced one */
  --mono:  "Figtree", "Helvetica Neue", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17.5px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {                       /* unifying film grain over everything */
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grain);
  pointer-events: none;
  z-index: 200;
}

::selection { background: var(--gold-soft); color: var(--ink); }

img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ── Shared editorial primitives ─────────────────────────────── */

.eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2.6rem;
}
.eyebrow--center { text-align: center; }

.display {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 16em;
}
.display em {
  font-style: italic;
  font-weight: 200;
  color: var(--ink-soft);
}

.prose p + p { margin-top: 1.6em; }
.prose p { max-width: 34em; }

/* ── Scroll reveals ──────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.3s var(--ease-out), transform 1.3s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-frame { clip-path: inset(6% 4% 6% 4%); transition: clip-path 1.6s var(--ease-out); }
.reveal-frame.is-in { clip-path: inset(0 0 0 0); }

/* ?static QA mode — everything revealed, zero motion */
.is-static { scroll-behavior: auto; }
.is-static .veil { display: none; }
.is-static .reveal, .is-static .reveal-frame { opacity: 1; transform: none; clip-path: none; transition: none; }
.is-static .pillar--offset { transform: none; }
.is-static .line { transform: none; transition: none; }
.is-static *, .is-static *::before, .is-static *::after { animation: none !important; }
.is-static .hero { height: 900px; min-height: 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-frame { opacity: 1; transform: none; clip-path: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ── Entry veil ──────────────────────────────────────────────── */

.veil {
  position: fixed; inset: 0; z-index: 300;
  background: var(--oat);
  display: grid; place-items: center;
  transition: opacity 1.1s var(--ease-out), visibility 1.1s;
  /* Decorative only — must never intercept a click, even mid-transition. */
  pointer-events: none;
  /* Self-dismiss even if script.js never runs — never trap the page on the logo. */
  animation: veilAutoHide 0.9s var(--ease-out) 2.2s forwards;
}
@keyframes veilAutoHide { to { opacity: 0; visibility: hidden; } }
.veil__mark {
  font-family: var(--mono);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.9em;
  text-indent: 0.9em;
  color: var(--ink-soft);
  opacity: 0;
  animation: veilMark 1.4s var(--ease-out) 0.15s forwards;
}
@keyframes veilMark { to { opacity: 1; letter-spacing: 1.15em; text-indent: 1.15em; } }
.veil.is-done { opacity: 0; visibility: hidden; animation: none; }

/* ═══════════════ TOPBAR — floats over the hero, scrolls away ═══════════════ */

.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.9rem clamp(1.4rem, 5vw, 4.5rem);
  pointer-events: none;              /* only the two links are clickable */
}
.topbar a,
.topbar button { pointer-events: auto; text-decoration: none; }

.topbar__mark {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.42em;
  color: #fff;
  text-shadow: 0 1px 14px rgba(26, 28, 34, 0.5);
}
.topbar__login {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 14px rgba(26, 28, 34, 0.5);
  transition: color 0.4s, border-color 0.4s;
}
.topbar__login:hover { color: #fff; border-bottom-color: #fff; }

/* ═══════════════ Media placeholder scenes ═══════════════ */

.scene, .scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  overflow: hidden;
}
.scene::after {              /* per-scene grain + slow breathe */
  content: "";
  position: absolute; inset: -4%;
  background: inherit;
}

.scene--hero {
  background:
    radial-gradient(120% 80% at 78% 10%, rgba(255, 252, 240, 0.85), rgba(255, 252, 240, 0) 55%),
    linear-gradient(180deg, #cfd8dd 0%, #dfe0d6 34%, #d9d2c9 52%, #b7aec2 74%, #9a92ad 100%);
  animation: slowBreathe 26s ease-in-out infinite alternate;
}
@keyframes slowBreathe { from { transform: scale(1); } to { transform: scale(1.055); } }

/* floating linen shapes in the hero — soft, abstract stand-ins for the footage */
.scene__drift { position: absolute; inset: 0; pointer-events: none; }
.linen {
  position: absolute;
  border-radius: 45% 55% 52% 48% / 60% 45% 55% 40%;
  background: linear-gradient(160deg, rgba(255, 255, 252, 0.85), rgba(240, 238, 228, 0.35));
  filter: blur(2px);
  opacity: 0.75;
}
.linen--a { width: 34vw; height: 20vh; top: 16%; left: 12%; animation: drift 14s ease-in-out infinite alternate; }
.linen--b { width: 26vw; height: 16vh; top: 30%; right: 14%; animation: drift 17s ease-in-out -6s infinite alternate-reverse; }
.linen--c { width: 20vw; height: 12vh; top: 10%; right: 34%; opacity: 0.5; animation: drift 21s ease-in-out -11s infinite alternate; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(-2deg) skewX(-3deg); }
  to   { transform: translate3d(3vw, 2vh, 0) rotate(3deg) skewX(4deg); }
}

.scene--weave {
  background:
    radial-gradient(90% 60% at 30% 20%, rgba(255, 246, 224, 0.9), rgba(255, 246, 224, 0) 60%),
    repeating-linear-gradient(93deg, rgba(120, 108, 88, 0.06) 0 1px, rgba(0, 0, 0, 0) 1px 6px),
    repeating-linear-gradient(3deg, rgba(120, 108, 88, 0.05) 0 1px, rgba(0, 0, 0, 0) 1px 7px),
    linear-gradient(200deg, #ecdfc4 0%, #ddcba8 48%, #c4b294 100%);
}
.scene--dew {
  background:
    radial-gradient(40% 40% at 68% 32%, rgba(255, 255, 245, 0.95), rgba(255, 255, 245, 0) 70%),
    linear-gradient(210deg, #cfc3dd 0%, #b3a8c8 45%, #8f87a6 100%);
}
.scene--cirrus {
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 65%),
    linear-gradient(185deg, #e8ecec 0%, #ccd6da 55%, #b9c2c6 100%);
}
.scene--dermal {
  background:
    radial-gradient(80% 70% at 24% 30%, rgba(255, 250, 238, 0.95), rgba(255, 250, 238, 0) 65%),
    linear-gradient(160deg, #f4ecdc 0%, #e5d9c2 60%, #d3c3a8 100%);
}
.scene--threads {
  background:
    repeating-linear-gradient(88deg, rgba(90, 82, 66, 0.09) 0 1px, rgba(0, 0, 0, 0) 1px 9px),
    radial-gradient(70% 60% at 70% 25%, rgba(255, 248, 230, 0.85), rgba(255, 248, 230, 0) 60%),
    linear-gradient(220deg, #ded3ba 0%, #c9bda1 55%, #ab9f86 100%);
}
.scene--solstice {
  background:
    radial-gradient(55% 45% at 42% 38%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.12) 68%),
    linear-gradient(195deg, #6f8bab 0%, #8ba3bd 45%, #c3ceda 100%);
}
.scene--lavender {
  background:
    radial-gradient(70% 40% at 50% 18%, rgba(255, 226, 196, 0.75), rgba(255, 226, 196, 0) 60%),
    linear-gradient(190deg, #d8b9a6 0%, #af92ad 40%, #7d6d99 72%, #5c5480 100%);
}
.scene--alpine {
  background:
    radial-gradient(80% 50% at 50% 8%, rgba(236, 240, 238, 0.6), rgba(236, 240, 238, 0) 55%),
    linear-gradient(185deg, #b9c2bd 0%, #8b9a90 45%, #5d6d63 78%, #46534b 100%);
}
.scene--room-a {
  background:
    radial-gradient(70% 80% at 70% 20%, rgba(255, 248, 232, 0.9), rgba(255, 248, 232, 0) 65%),
    linear-gradient(170deg, #ece4d2 0%, #d9cdb4 60%, #c2b399 100%);
}
.scene--room-b {
  background:
    radial-gradient(60% 70% at 30% 25%, rgba(250, 240, 224, 0.85), rgba(250, 240, 224, 0) 60%),
    linear-gradient(200deg, #d8cfc4 0%, #bdafa1 55%, #97897c 100%);
}

/* Media caption tag */
.media-tag {
  position: absolute;
  left: 1.1rem; bottom: 1rem;
  z-index: 3;
  font-family: var(--mono);
  font-weight: 300;
  font-size: 0.56rem;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 28, 34, 0.62);
  max-width: 30em;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(26, 28, 34, 0.3);
}
.media-tag em { font-style: normal; color: #8a7344; margin-right: 0.4em; }
.media-tag--light { color: rgba(255, 255, 255, 0.85); border-left-color: rgba(255, 255, 255, 0.5); }
.media-tag--light em { color: #f0e3c2; }

/* ═══════════════ 02 · HERO ═══════════════ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: -8% 0;
  will-change: transform;
}
.hero__media::after {          /* grounding gradient for type legibility */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(20, 22, 30, 0.5) 0%, rgba(20, 22, 30, 0) 34%),
    linear-gradient(200deg, rgba(0, 0, 0, 0) 55%, rgba(30, 30, 44, 0.3) 100%);
}
.hero__media .media-tag { top: 7.4rem; bottom: auto; right: clamp(1.4rem, 5vw, 4.5rem); left: auto; text-align: right; border-left: 0; border-right: 1px solid rgba(255,255,255,0.5); padding-left: 0; padding-right: 0.9rem; }

.hero__copy {
  position: absolute;
  left: clamp(1.4rem, 5vw, 4.5rem);
  bottom: clamp(3.5rem, 9vh, 6.5rem);
  z-index: 4;
  color: #fdfcf8;
}
.hero__copy .eyebrow { color: rgba(253, 252, 248, 0.75); margin-bottom: 1.8rem; }

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.6rem, 9vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 14px rgba(26, 28, 34, 0.45), 0 2px 40px rgba(26, 28, 34, 0.35);
}
.hero__title em { font-style: italic; font-weight: 200; }

.line-mask { display: block; overflow: hidden; }
.line {
  display: block;
  transform: translateY(110%);
  transition: transform 1.5s var(--ease-out);
}
.is-loaded .line { transform: none; }
.is-loaded .line-mask:nth-child(2) .line { transition-delay: 0.12s; }
.is-loaded .line-mask:nth-child(3) .line { transition-delay: 0.24s; }

.hero__sub {
  margin-top: 2.2rem;
  max-width: 30em;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(253, 252, 248, 0.94);
  text-shadow: 0 1px 12px rgba(26, 28, 34, 0.55);
}

.hero__scroll {
  position: absolute;
  right: clamp(1.4rem, 5vw, 4.5rem);
  bottom: clamp(3.5rem, 9vh, 6.5rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(253, 252, 248, 0.7);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px; height: 64px;
  background: rgba(253, 252, 248, 0.5);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: #fdfcf8;
  animation: scrollHint 2.8s var(--ease-out) infinite;
}
@keyframes scrollHint { to { top: 130%; } }

/* ═══════════════ 03 · PHILOSOPHY ═══════════════ */

.philosophy {
  background: var(--paper);
  padding: clamp(8rem, 16vh, 14rem) clamp(1.4rem, 5vw, 4.5rem);
}
.philosophy__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}
.philosophy__copy { padding-top: clamp(1rem, 6vh, 5rem); max-width: 40rem; }
.philosophy__copy .display { margin-bottom: 3.2rem; }
.prose { color: var(--ink-soft); }

.philosophy__footnote {
  margin-top: 3.4rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.philosophy__figure { position: relative; will-change: transform; }
.philosophy__figure .frame {
  position: relative;
  aspect-ratio: 3 / 4.3;
  overflow: hidden;
  border-radius: 2px;
}
.philosophy__caption {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: right;
}

/* ═══════════════ SERVICE (plain language) ═══════════════ */

.service {
  background: var(--paper);
  padding: clamp(6rem, 13vh, 11rem) clamp(1.4rem, 5vw, 4.5rem) clamp(5.5rem, 11vh, 9rem);
}
.service__intro {
  max-width: 1180px;
  margin: 0 auto clamp(4rem, 8vh, 6.5rem);
}
.service__intro .display { margin-bottom: 2rem; max-width: 15em; }
.service__lede {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 38em;
}
.service__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.2rem, 5vw, 4.5rem);
  max-width: 1180px;
  margin: 0 auto;
}
.service__step {
  border-top: 1px solid rgba(26, 28, 34, 0.16);
  padding-top: 1.7rem;
}
.service__num {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.service__step h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}
.service__step p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* keeper variant — portrait left, on the cool tint */
.philosophy--keeper { background: var(--oat); }
.philosophy--keeper .philosophy__grid {
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
}
.philosophy--keeper .philosophy__caption { text-align: left; }

/* ═══════════════ 04 · PILLARS ═══════════════ */

.pillars {
  background: linear-gradient(180deg, var(--paper) 0%, var(--oat) 22%, var(--oat) 100%);
  padding: clamp(8rem, 16vh, 14rem) clamp(1.4rem, 5vw, 4.5rem) clamp(9rem, 18vh, 15rem);
}
.pillars__head { max-width: 1500px; margin: 0 auto clamp(4rem, 9vh, 7.5rem); }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(3rem, 9vw, 10rem);
  row-gap: clamp(4.5rem, 9vh, 7.5rem);
  max-width: 1240px;
  margin: 0 auto;
}
.pillar--offset { transform: translateY(26px); margin-top: clamp(3rem, 8vh, 6.5rem); }
.pillar--offset.is-in { transform: translateY(0); margin-top: clamp(3rem, 8vh, 6.5rem); }

.pillar__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 2.4rem;
}
.pillar__media .scene, .pillar__media .scene-img { transition: transform 2.2s var(--ease-out); }
.pillar:hover .pillar__media .scene, .pillar:hover .pillar__media .scene-img { transform: scale(1.05); }
.pillar__media::before {           /* silent hover-play cue */
  content: "▸ loop";
  position: absolute;
  top: 0.9rem; right: 1rem;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(26, 28, 34, 0.45);
  opacity: 0;
  transition: opacity 0.6s;
}
.pillar:hover .pillar__media::before { opacity: 1; }

.pillar__index {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.pillar__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.3rem;
}
.pillar__body {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 32em;
}

/* ═══════════════ 05 · VINTAGES ═══════════════ */

.vintages {
  background: var(--oat);
  padding: clamp(8rem, 16vh, 14rem) 0 clamp(7rem, 13vh, 11rem);
  overflow: hidden;
}
.vintages__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1.4rem, 5vw, 4.5rem);
  max-width: 1560px;
  margin: 0 auto clamp(3.5rem, 7vh, 5.5rem);
}
.vintages__controls { display: flex; gap: 0.6rem; }
.arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(26, 28, 34, 0.22);
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink-soft);
  transition: border-color 0.5s, color 0.5s, background 0.5s;
}
.arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(29, 61, 124, 0.06); }

.carousel {                        /* three cards, so just lay them out */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 5vw, 4.5rem);
}
.carousel::-webkit-scrollbar { display: none; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(26, 28, 34, 0.22);
  transition: opacity 1.3s var(--ease-out), transform 1.3s var(--ease-out), box-shadow 0.7s;
}
.card:hover { box-shadow: 0 34px 74px -30px rgba(26, 28, 34, 0.32); }

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;          /* matches the vintage set as shot */
  overflow: hidden;
}
.card__media .scene, .card__media .scene-img { transition: transform 2.4s var(--ease-out); }
.card:hover .card__media .scene, .card:hover .card__media .scene-img { transform: scale(1.05); }
.card__no {
  position: absolute;
  top: 1.1rem; left: 1.1rem;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.card__body { display: flex; flex-direction: column; flex: 1; padding: 2.2rem 2.2rem 2.4rem; }
.card__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.card__title em { font-style: italic; font-weight: 200; color: var(--ink-soft); }
.card__profile {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.7rem;
}
.card__meta { display: grid; gap: 1.05rem; margin-bottom: 1.9rem; }
.card__meta dt {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.3rem;
}
.card__meta dd { font-size: 0.94rem; line-height: 1.5; color: var(--ink-soft); }

.card__price {
  margin-top: auto;             /* prices share a baseline across the set */
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 28, 34, 0.09);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.card__price span {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--ink);
  margin-right: 0.5rem;
}

.carousel__progress {
  margin: 2.8rem clamp(1.4rem, 5vw, 4.5rem) 0;
  height: 1px;
  background: rgba(26, 28, 34, 0.1);
  position: relative;
}
.vintages__retainer {
  margin: 2.6rem clamp(1.4rem, 5vw, 4.5rem) 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

.carousel__progress i {
  position: absolute;
  left: 0; top: -0.5px;
  height: 2px;
  width: 20%;
  background: var(--gold);
  transition: transform 0.35s var(--ease-out), width 0.35s var(--ease-out);
}

/* ═══════════════ 06 · TESTIMONIALS ═══════════════ */

.patronage {
  background: var(--limestone);
  padding: clamp(8rem, 17vh, 14rem) clamp(1.4rem, 6vw, 5rem);
  text-align: center;
}
.patronage .eyebrow { margin-bottom: 4rem; }

.testimonials {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  min-height: 380px;
}
.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
  pointer-events: none;
}
.testimonial.is-active { opacity: 1; transform: none; pointer-events: auto; }

.testimonial__room {
  position: relative;
  width: min(300px, 70vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 2.8rem;
  box-shadow: 0 20px 50px -24px rgba(26, 28, 34, 0.3);
}
.testimonial__room .media-tag { display: none; }

.testimonial blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 26em;
  margin-bottom: 2.2rem;
}
.testimonial figcaption {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--slate);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 3rem;
}
.dot {
  width: 26px; height: 14px;
  position: relative;
}
.dot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: rgba(26, 28, 34, 0.25);
  transition: background 0.5s;
}
.dot.is-active::after { background: var(--gold); height: 2px; }

/* ═══════════════ 07 · INTAKE ═══════════════ */

.intake {
  background: linear-gradient(180deg, var(--limestone) 0%, var(--oat-deep) 14%, var(--oat) 100%);
  padding: clamp(8rem, 16vh, 14rem) clamp(1.4rem, 5vw, 4.5rem) clamp(9rem, 17vh, 14rem);
}
.intake__inner { max-width: 640px; margin: 0 auto; }
.intake .display { margin-bottom: 2.4rem; }
.intake__lede { color: var(--ink-soft); max-width: 36em; margin-bottom: 5rem; }

.form__group {
  border: 0;
  margin-bottom: 4.5rem;
}
.form__group legend {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.4rem;
}
.form__hint {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.4rem;
}

/* Borderless underline fields */
.field {
  display: block;
  position: relative;
  margin-bottom: 2.6rem;
}
.field__label {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
  transition: color 0.5s;
}
.field:focus-within .field__label { color: var(--gold); }

.field input,
.field select {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.5rem 0 0.7rem;
  outline: none;
  border-radius: 0;
}
.field select { appearance: none; cursor: pointer; }
.field--select::after {
  content: "↓";
  position: absolute;
  right: 2px; bottom: 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--slate);
  pointer-events: none;
  transition: color 0.5s, transform 0.5s var(--ease-out);
}
.field--select:focus-within::after { color: var(--gold); transform: translateY(2px); }

.field__line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(26, 28, 34, 0.18);
}
.field__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  box-shadow: 0 1px 10px rgba(29, 61, 124, 0.45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.field:focus-within .field__line::after { transform: scaleX(1); }

/* Radio & checkbox — hairline circles, gold when chosen */
.choices { display: grid; gap: 1.15rem; margin-bottom: 3rem; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.4s;
}
.choice:hover { color: var(--ink); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice i {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 0.42em;
  border: 1px solid rgba(26, 28, 34, 0.35);
  border-radius: 50%;
  position: relative;
  transition: border-color 0.5s;
}
.choice i::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.45s var(--ease-out);
}
.choice input:checked + i { border-color: var(--gold); }
.choice input:checked + i::after { transform: scale(1); }
.choice input:focus-visible + i { box-shadow: 0 0 0 3px rgba(29, 61, 124, 0.25); }
.choice--check i { border-radius: 2px; }
.choice--check i::after { border-radius: 1px; }
.choice--check span { font-size: 0.88rem; line-height: 1.8; }

/* Submit */
.form__submit { padding-top: 1rem; }
.button {
  position: relative;
  width: 100%;
  padding: 1.6rem 2rem;
  background: #1d3d7c;
  color: #f4f1e9;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 2px;
  overflow: hidden;
  transition: background 0.6s, letter-spacing 0.6s var(--ease-out);
}
.button:hover { background: #16305f; letter-spacing: 0.4em; }
.button::before {                 /* passing sheen */
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(107, 133, 194, 0.16), transparent);
  transition: left 0.9s var(--ease-out);
}
.button:hover::before { left: 120%; }
.button__done { display: none; color: var(--gold-soft); }
.button.is-sent { background: #16305f; pointer-events: none; }
.button.is-sent .button__label { display: none; }
.button.is-sent .button__done { display: inline; }

/* ═══════════════ 08 · FOOTER ═══════════════ */

.footer {
  background: var(--paper);
  border-top: 1px solid rgba(26, 28, 34, 0.08);
  padding: clamp(4.5rem, 9vh, 7rem) clamp(1.4rem, 5vw, 4.5rem) clamp(3.5rem, 7vh, 5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1500px;
  margin: 0 auto;
}
.footer__col p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--slate);
}
.footer__col p + p { margin-top: 0.8rem; }
.footer__mark {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.42em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.footer__col a { text-decoration: none; border-bottom: 1px solid rgba(26, 28, 34, 0.18); transition: color 0.4s, border-color 0.4s; }
.footer__col a:hover { color: var(--gold); border-color: var(--gold); }
.footer__col--center { text-align: center; }
.footer__col--right { text-align: right; }

/* ═══════════════ Responsive ═══════════════ */

@media (max-width: 1020px) {
  .carousel { grid-template-columns: 1fr; max-width: 460px; }
  .philosophy__grid,
  .philosophy--keeper .philosophy__grid { grid-template-columns: 1fr; }
  .philosophy__figure { max-width: 460px; }
  .pillars__grid { grid-template-columns: 1fr; row-gap: 5rem; }
  .pillar--offset, .pillar--offset.is-in { margin-top: 0; }
}

@media (max-width: 760px) {
  .hero__scroll { display: none; }
  .hero__media .media-tag { display: none; }
  .hero__copy { left: 1.4rem; right: auto; width: calc(100vw - 2.8rem); }
  .hero__sub { font-size: 1.02rem; }
  .hero__sub br { display: none; }
  .hero__title { font-size: clamp(2.8rem, 13vw, 3.6rem); }
  .service__steps { grid-template-columns: 1fr; gap: 2.6rem; }
  .vintages__head { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; text-align: left; }
  .footer__col--center, .footer__col--right { text-align: left; }
  .testimonials { min-height: 470px; }
}

@media (max-width: 460px) {
  .hero__title { font-size: clamp(3rem, 15vw, 3.8rem); }
  .form__group legend { letter-spacing: 0.2em; }
}

/* ═══════════════ PATRON LOGIN MODAL ═══════════════ */

.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; }
.modal[hidden] { display: none; }

/* Animate in on appearance rather than via a JS-added class: if the frame that
   would add the class is delayed, a class-gated modal is an invisible overlay. */
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(20, 22, 30, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: modalScrim 0.4s ease;
}
@keyframes modalScrim { from { opacity: 0; } }
.modal__panel {
  position: relative;
  width: min(440px, calc(100vw - 2.4rem));
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: var(--paper);
  padding: clamp(2.2rem, 5vw, 3.2rem);
  border-radius: 3px;
  box-shadow: 0 40px 90px -30px rgba(20, 22, 30, 0.45);
  animation: modalPanel 0.45s var(--ease-out);
}
@keyframes modalPanel { from { opacity: 0; transform: translateY(14px); } }

.modal__close {
  position: absolute;
  top: 0.9rem; right: 1.1rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--slate);
  transition: color 0.3s;
}
.modal__close:hover { color: var(--ink); }

.modal__panel .eyebrow { margin-bottom: 1.2rem; }
.modal__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.modal__title em { font-style: italic; font-weight: 200; color: var(--ink-soft); }
.modal__lede { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 2.4rem; }
.modal__panel .field { margin-bottom: 2rem; }
.modal__panel .button { margin-top: 0.6rem; }

.modal__note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: #8c2f2a;
  min-height: 1.2em;
}
.modal__note:empty { display: none; }
.modal__foot {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(26, 28, 34, 0.1);
  font-size: 0.86rem;
  color: var(--slate);
}
.modal__foot a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(29, 61, 124, 0.3); }
.modal__foot a:hover { border-bottom-color: var(--gold); }

body.is-locked { overflow: hidden; }

/* ═══════════════ INTAKE — collection textarea, status, confirmation ═══════════════ */

.field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.5rem 0 0.7rem;
  outline: none;
  border-radius: 0;
  resize: vertical;
  min-height: 3.4em;
}
.field textarea::placeholder { color: var(--slate-soft); }

.form__note {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 32em;
  margin-top: 2.2rem;
}

.form__status {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: #8c2f2a;
}
.form__status:empty { display: none; }

.button:disabled { opacity: 0.65; cursor: progress; }

/* honeypot — off-screen but in the layout tree (not display:none) */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
/* Turnstile — in the form flow. With appearance="interaction-only" it stays
   empty unless Cloudflare decides a visitor needs an interactive check; it
   must be visible and clickable then, or no one can ever pass it. */
.cf-turnstile { margin-bottom: 1.2rem; }
.cf-turnstile:empty { margin: 0; }

/* confirmation — replaces the form after a successful application */
.confirm {
  padding-top: 1.5rem;
  animation: confirmIn 1s var(--ease-out);
}
@keyframes confirmIn { from { opacity: 0; transform: translateY(18px); } }
.confirm .eyebrow { color: var(--gold); margin-bottom: 1.6rem; }
.confirm__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.confirm__title em { font-style: italic; font-weight: 200; color: var(--ink-soft); }
.confirm__body { color: var(--ink-soft); max-width: 34em; }
.confirm__body strong { font-weight: 500; color: var(--ink); }
.confirm__meta {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(26, 28, 34, 0.12);
  font-family: var(--serif);
  font-style: italic;
  color: var(--slate);
}

/* service variants: statement band (no steps) + particulars (steps moved before intake) */
.service--statement .service__intro { margin-bottom: 0; }
.service--statement { padding-bottom: clamp(4rem, 8vh, 6.5rem); }
.service--particulars .service__intro { margin-bottom: clamp(2.5rem, 5vh, 4rem); }

/* ═══════════════ PRIVACY PAGE (CSP forbids inline styles — they live here) ═══════════════ */
  .legal {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.4rem, 5vw, 4.5rem) clamp(5rem, 10vh, 8rem);
  }
  .legal__back {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--slate);
    transition: color 0.3s;
  }
  .legal__back:hover { color: var(--gold); }
  .legal__head { margin: 3.2rem 0 4.2rem; }
  .legal__head .eyebrow { margin-bottom: 1.6rem; }
  .legal h1 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
  }
  .legal h1 em { font-style: italic; font-weight: 200; color: var(--ink-soft); }
  .legal__lede {
    margin-top: 1.6rem;
    max-width: 34em;
    color: var(--ink-soft);
  }

  .legal__row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: 2.6rem 0;
    border-top: 1px solid rgba(26, 28, 34, 0.12);
  }
  .legal__label {
    font-family: var(--mono);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    padding-top: 0.5rem;
  }
  .legal__body p { color: var(--ink-soft); max-width: 36em; }
  .legal__body p + p { margin-top: 1em; }
  .legal__body ul { list-style: none; margin: 0.9em 0; max-width: 36em; }
  .legal__body li {
    color: var(--ink-soft);
    padding-left: 1.4em;
    position: relative;
    margin-bottom: 0.55em;
  }
  .legal__body li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold);
  }
  .legal__body a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(29, 61, 124, 0.3); }
  .legal__body a:hover { border-bottom-color: var(--gold); }
  .legal__body strong { font-weight: 500; color: var(--ink); }

  .legal__foot {
    border-top: 1px solid rgba(26, 28, 34, 0.12);
    padding-top: 1.6rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--slate);
  }

  @media (max-width: 720px) {
    .legal__row { grid-template-columns: 1fr; gap: 0.9rem; padding: 2.1rem 0; }
    .legal__label { padding-top: 0; }
  }
