/* ============================================================
   SILK AESTHETICS — Digital identity, execution system
   Built to the Brand Guidelines by BIGBANGSTORY
   Cream · Chocolate · Coral  |  Cormorant Garamond · Jost
   ============================================================ */

/* ---------- Fonts (public @fontsource CDN — no upload, no base64) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/cormorant-garamond/files/cormorant-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/cormorant-garamond/files/cormorant-garamond-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/cormorant-garamond/files/cormorant-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/cormorant-garamond/files/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/jost/files/jost-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/jost/files/jost-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/jost/files/jost-latin-500-normal.woff2') format('woff2');
}

/* ============================================================
   Design tokens — light theme only.
   Chocolate ink on cream, with coral + gilded tan as the warm
   accents that carry the brand through the page.
   ============================================================ */
:root {
  /* Brand core */
  --cream:      #F1E7D7;
  --chocolate:  #42292C;
  --coral:      #C57760;
  --warm-sand:  #EADBC6;
  --rose-nude:  #E4C9BD;
  --gilded-tan: #E3B58E;
  --taupe:      #BCA88E;

  /* Semantic (LIGHT) */
  --bg:            var(--cream);
  --bg-raised:     #F6EFE3;
  --panel:         #EADBC6;   /* sections that are chocolate in dark mode */
  --panel-raised:  #E1CFB2;
  --footer-bg:     #E7D8BF;
  --ink:           var(--chocolate);
  --muted:         #6B5145;
  --hairline:      rgba(66, 41, 44, 0.16);
  --hairline-strong: rgba(66, 41, 44, 0.30);
  --accent:        var(--coral);
  --accent-ink:    #B0654F;
  --gild:          #A9713B;
  --hero-base:     #EDE0CC;
  --hv:            241, 231, 215;   /* hero veil rgb */
  --knob:          var(--chocolate);

  /* Fonts */
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', 'Century Gothic', 'Futura', 'Helvetica Neue', Arial, sans-serif;
  --mark:  'Optima', 'Optima Nova LT Pro', 'Candara', 'Gill Sans', 'Jost', sans-serif;

  /* Type scale */
  --fs-hero:   clamp(3.4rem, 1.5rem + 7.6vw, 8.4rem);
  --fs-h1:     clamp(2.6rem, 1.5rem + 4.1vw, 5rem);
  --fs-h2:     clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  --fs-h3:     clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  --fs-lead:   clamp(1.12rem, 1.02rem + 0.5vw, 1.4rem);
  --fs-body:   1.075rem;
  --fs-small:  1.0rem;
  --fs-label:  0.78rem;

  /* Rhythm */
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3.2rem);
  --measure: 64ch;
  --maxw: 1340px;
  --section-y: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
}

/* page fade transitions (JS adds .js on root) */
.js body { opacity: 0; transition: opacity 0.55s var(--ease), background-color 0.6s var(--ease), color 0.6s var(--ease); }
.js body.page-in { opacity: 1; }
.js body.page-exit { opacity: 0; transition: opacity 0.26s var(--ease); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--coral); color: var(--cream); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 1px; }

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: -60%; width: 220%; height: 220%;
  z-index: 96; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(8) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); } 25% { transform: translate(-2%,1.5%); }
  50% { transform: translate(1.5%,-2%); } 75% { transform: translate(-1%,-1%); }
}

/* ---------- Cursor ring (desktop) ---------- */
.cursor-ring {
  position: fixed; left: 0; top: 0; width: 34px; height: 34px;
  border: 1px solid var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 130; opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cursor-ring.is-on { opacity: 0.65; }
.cursor-ring.is-link { width: 58px; height: 58px; opacity: 0.9; }
@media (pointer: coarse) { .cursor-ring { display: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--coral); z-index: 100; transition: width 0.08s linear;
}

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

.eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: var(--fs-label);
  text-transform: uppercase; letter-spacing: 0.28em; color: var(--muted); margin: 0;
}
.eyebrow .dot { color: var(--accent); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }

.lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; max-width: 46ch; color: var(--ink); }
p { max-width: var(--measure); }

.mono-cap {
  font-family: var(--sans); font-weight: 400; font-size: var(--fs-label);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 48px; padding: 0.85em 1.7em;
  font-family: var(--sans); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.06em;
  border: 1px solid transparent; cursor: pointer; background: transparent;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: var(--coral); border-color: var(--coral); color: var(--cream); }
.btn-outline { color: var(--ink); border-color: var(--hairline-strong); }
.btn-outline:hover { background: var(--coral); border-color: var(--coral); color: var(--cream); }

.tlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 400; font-size: 0.92rem; letter-spacing: 0.04em;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--accent-ink), var(--accent-ink));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 0.45s var(--ease);
}
.tlink .arrow { transition: transform 0.4s var(--ease); color: var(--accent-ink); }
.tlink:hover { background-size: 100% 1px; }
.tlink:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(120%) blur(10px); -webkit-backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--hairline); }
.header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; transition: min-height 0.4s var(--ease); }
.header.is-scrolled .header__inner { min-height: 70px; }
/* The nav overlay is a child of the header, so the logo and controls must be
   lifted above it — otherwise the open menu covers its own close button. */
.wordmark, .header__actions { position: relative; z-index: 70; }

/* While the mobile menu is open the header must NOT create a containing block,
   or the fixed full-screen overlay collapses to the header's box. */
.header.is-nav-open {
  backdrop-filter: none; -webkit-backdrop-filter: none;
  background: var(--bg);
}

/* Brand-forward wordmark: bigger, heavier, unmissable */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--mark); min-width: 0; }
.wordmark__name {
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem);
  letter-spacing: 0.3em; font-weight: 600; padding-left: 0.3em; color: var(--ink);
  white-space: nowrap;
}
.wordmark__name .amp { color: var(--accent); }
.wordmark__sub {
  font-family: var(--sans); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.44em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.55em; padding-left: 0.44em;
}

/* ---------- Brand logo image (header + footer) ----------
   The dark-ink lockup on cream. Light theme only, so a single file — size is
   set per context; the height/width rules keep the lockup's aspect. */
.logo-img { width: auto; height: auto; }

.wordmark .logo-img { height: clamp(42px, 2.4rem + 1vw, 54px); transition: height 0.4s var(--ease); }
.header.is-scrolled .wordmark .logo-img { height: clamp(36px, 2rem + 0.7vw, 46px); }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.3rem); }
.nav__link {
  font-family: var(--sans); font-weight: 400; font-size: 0.92rem; letter-spacing: 0.05em;
  color: var(--ink); position: relative; padding-block: 0.4em;
}
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0.1em; height: 1px; width: 0; background: var(--coral); transition: width 0.4s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 0.9rem; }
.header__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin: -8px -6px; color: var(--ink);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.header__ico svg { width: 19px; height: 19px; }
.header__ico:hover { color: var(--coral); transform: translateY(-1px); }

.nav-burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--hairline-strong);
  background: transparent; cursor: pointer; color: var(--ink); place-items: center; border-radius: 2px;
}
.nav-burger span { display: block; width: 20px; height: 1px; background: currentColor; position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1px; background: currentColor; }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }

/* ---------- Hero (animated silk, themed, brand-first) ---------- */
.hero {
  position: relative; background: var(--hero-base); color: var(--ink);
  min-height: min(96vh, 960px);
  min-height: min(96dvh, 960px); /* stable against mobile URL-bar collapse */
  display: flex; align-items: flex-end; overflow: hidden;
  transition: background-color 0.6s var(--ease);
}
.hero__silk { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--hv), 0.82) 0%, rgba(var(--hv), 0.34) 46%, rgba(var(--hv), 0.12) 100%),
    linear-gradient(180deg, rgba(var(--hv), 0.12) 0%, rgba(var(--hv), 0.26) 62%, rgba(var(--hv), 0.78) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(6.5rem, 13vh, 9.5rem) clamp(2.5rem, 6vh, 4rem); }
.hero__eyebrow { color: var(--muted); }
.hero__eyebrow .dot { color: var(--accent); }

/* The brand IS the headline — the real logo lockup, not text.
   It reveals with a mask slide-up that echoes the old letter animation. */
.hero__brand { margin-top: 1.2rem; }
.hero__logo-mask { display: block; overflow: hidden; }
.hero__logo {
  /* width-based so the 2.66:1 lockup keeps its aspect at every width — a fixed
     height + max-width would squish it once the width clamps on small screens */
  width: clamp(290px, 78vw, 800px); height: auto; max-width: 100%;
  transform: translateY(110%);
  transition: transform 1.15s var(--ease-slow) 0.15s;
}
.hero.is-loaded .hero__logo { transform: none; }
.hero__rule { width: 0; height: 1px; background: var(--coral); margin: 2rem 0 1.4rem; transition: width 1s var(--ease-slow) 0.8s; }
.hero.is-loaded .hero__rule { width: 56px; }
.hero__tag {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 2.2vw, 2.6rem); line-height: 1.1;
  color: var(--ink); margin: 0;
}
.hero__tag em { color: var(--accent-ink); }
.hero__lead { color: var(--muted); max-width: 46ch; font-size: var(--fs-lead); font-weight: 300; margin-top: 1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__meta {
  margin-top: clamp(2.2rem, 5vh, 3.5rem); display: flex; flex-wrap: wrap; gap: 1.6rem 3rem;
  align-items: baseline; border-top: 1px solid var(--hairline); padding-top: 1.6rem;
}
.hero__tag, .hero__lead, .hero__cta, .hero__meta, .hero__eyebrow {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.9s var(--ease-slow), transform 0.9s var(--ease-slow);
}
.hero.is-loaded .hero__eyebrow { opacity: 1; transform: none; transition-delay: 0.05s; }
.hero.is-loaded .hero__tag { opacity: 1; transform: none; transition-delay: 0.85s; }
.hero.is-loaded .hero__lead { opacity: 1; transform: none; transition-delay: 1s; }
.hero.is-loaded .hero__cta { opacity: 1; transform: none; transition-delay: 1.12s; }
.hero.is-loaded .hero__meta { opacity: 1; transform: none; transition-delay: 1.25s; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 2rem; z-index: 2;
  writing-mode: vertical-rl; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 0.8rem;
}
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: var(--hairline-strong); animation: scrollpulse 2.6s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { transform: scaleY(0.4); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Marquee (brand coral — fixed both themes) ---------- */
.marquee { background: var(--coral); color: var(--cream); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; padding-block: clamp(0.85rem, 2vw, 1.25rem);
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 2.5rem); white-space: nowrap; color: var(--cream);
}
.marquee__track i { font-style: normal; margin: 0 clamp(1rem, 2.4vw, 1.8rem); font-size: 0.62em; color: rgba(241,231,215,0.65); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Parallax + wipe reveals ---------- */
.par { will-change: transform; }
.wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease-slow) 0.1s; }
.reveal.is-in .wipe, .is-in.wipe { clip-path: inset(0 0 0 0); }

/* ---------- Philosophy ---------- */
.philosophy { border-bottom: 1px solid var(--hairline); }
.philosophy__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .philosophy__grid { grid-template-columns: 1.2fr 1fr; gap: clamp(2.5rem,5vw,5.5rem); } }
.philosophy__text { display: grid; gap: 1.8rem; }
.philosophy__quote { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h1); line-height: 1.06; }
.philosophy__quote em { font-style: italic; font-weight: 400; color: var(--accent-ink); }
.philosophy__body { color: var(--muted); font-weight: 300; }
.philosophy__media { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.philosophy__media .par { height: 120%; transform: translateY(-10%); }
.philosophy__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Full-bleed band ---------- */
.band { position: relative; min-height: clamp(360px, 62vh, 640px); overflow: hidden; display: flex; align-items: center; }
.band__media { position: absolute; top: 0; left: 0; right: 0; height: 120%; z-index: 0; transform: translateY(-10%); }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(48,30,31,0.78) 0%, rgba(48,30,31,0.34) 55%, rgba(48,30,31,0.55) 100%);
}
.band__inner { position: relative; z-index: 2; width: 100%; }
.band__lead { font-family: var(--serif); font-weight: 500; color: var(--cream); font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 1.02; }
.band__lead em { font-style: italic; font-weight: 400; }

/* ---------- Section head ---------- */
.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.sec-head__title { font-size: var(--fs-h2); max-width: 20ch; }
.sec-head__title em { font-style: italic; font-weight: 400; }
.sec-head__aside { color: var(--muted); font-weight: 300; max-width: 34ch; font-size: var(--fs-small); }

/* ---------- Category / service card grids ---------- */
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
@media (min-width: 620px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .menu-grid { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  position: relative; overflow: hidden; background: var(--bg); padding: clamp(1.7rem, 2.5vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.9rem; min-height: 250px;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  transition: background-color 0.5s var(--ease);
}
.card--wide { grid-column: 1 / -1; min-height: 0; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--coral); transition: width 0.5s var(--ease); }
.card:hover { background: var(--bg-raised); }
.card:hover::after { width: 100%; }
.card__index { font-family: var(--sans); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--accent-ink); transition: color 0.4s var(--ease); }
.card:hover .card__index { color: var(--coral); }
.card__cat { margin: 0; }
.card__name { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.05; }
.card__name em { font-style: italic; font-weight: 400; }
.card__desc { color: var(--muted); font-weight: 300; font-size: var(--fs-small); margin: 0; flex: 1; }
.card__facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.card__facts span { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card__facts span + span::before { content: "·"; margin-right: 1rem; color: var(--accent); }
.card__more { margin-top: 0.3rem; }

/* ---------- Signature (brand coral tile — fixed both themes) ---------- */
.signature { background: var(--coral); color: var(--cream); overflow: hidden; }
.signature__inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .signature__inner { grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,4.5rem); align-items: stretch; } }
.signature .eyebrow { color: rgba(241,231,215,0.85); }
.signature .eyebrow .dot { color: var(--cream); }
.signature__title { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h1); color: var(--cream); margin-top: 0.8rem; }
.signature__title em { font-style: italic; font-weight: 400; }
.signature__body { color: rgba(241,231,215,0.92); font-weight: 300; margin-top: 1.2rem; }
.signature__text { align-self: center; }
.signature__facts { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; margin: 1.9rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(241,231,215,0.32); }
.signature__facts div { display: grid; gap: 0.35rem; }
.signature__facts dt { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(241,231,215,0.72); }
.signature__facts dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; }
.signature__media { margin: 0; overflow: hidden; min-height: 380px; }
.signature__media .par { height: 120%; min-height: 456px; transform: translateY(-10%); }
.signature__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.signature__cta { margin-top: 2rem; display: flex; gap: 2rem; flex-wrap: wrap; }

/* Typographic spec plate — stands in for the flagship device photography.
   Colours are fixed (not themed) because the coral band is fixed in both themes. */
.signature__media--spec { min-height: 0; display: grid; }
.sig-spec {
  background: var(--cream); color: var(--chocolate); width: 100%;
  padding: clamp(1.6rem, 3vw, 2.6rem); display: grid; align-content: center; gap: 1.3rem;
}
.sig-spec__eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #A9713B; margin: 0;
}
.sig-spec__list { list-style: none; margin: 0; padding: 0; display: grid; }
.sig-spec__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: clamp(0.75rem, 1.6vw, 1.05rem); border-top: 1px solid rgba(66, 41, 44, 0.16);
}
.sig-spec__list li:first-child { border-top: 0; padding-top: 0; }
.sig-spec__fig {
  font-family: var(--serif); font-weight: 400; line-height: 1; color: #42292C;
  font-size: clamp(2.1rem, 1.5rem + 2.1vw, 3.1rem); font-variant-numeric: tabular-nums;
}
.sig-spec__fig i {
  font-style: normal; font-family: var(--sans); font-size: 0.27em; letter-spacing: 0.18em;
  text-transform: uppercase; margin-left: 0.25em; vertical-align: 0.85em; color: #A9713B;
}
.sig-spec__name {
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: #6B5145; text-align: right;
}
.sig-spec__foot {
  font-family: var(--sans); font-size: 0.71rem; letter-spacing: 0.08em; color: #6B5145;
  margin: 0; border-top: 1px solid rgba(66, 41, 44, 0.16); padding-top: 1rem; line-height: 1.7;
}
.sig-spec__foot .sep { color: var(--coral); margin: 0 0.15em; }
.signature .tlink { background-image: linear-gradient(var(--cream), var(--cream)); color: var(--cream); }
.signature .tlink .arrow { color: var(--cream); }

/* ---------- Approach (themed panel) ---------- */
.approach { background: var(--panel); transition: background-color 0.6s var(--ease); }
.approach__title { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h2); color: var(--gild); }
.approach__title em { font-style: italic; }
.approach__list { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: clamp(2.5rem,5vw,3.5rem); background: var(--hairline); border-block: 1px solid var(--hairline); }
@media (min-width: 820px) { .approach__list { grid-template-columns: repeat(3, 1fr); } }
.principle { background: var(--panel); padding: clamp(1.8rem,3vw,2.6rem) clamp(1.4rem,2.5vw,2.2rem); display: grid; gap: 1rem; align-content: start; transition: background-color 0.5s var(--ease); }
.principle:hover { background: var(--panel-raised); }
.principle__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; color: var(--gild); line-height: 1; }
.principle__name { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 500; color: var(--ink); }
.principle__desc { color: var(--muted); font-weight: 300; font-size: var(--fs-small); margin: 0; }

/* ---------- Clinic ---------- */
.clinic__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
@media (min-width: 900px) { .clinic__grid { grid-template-columns: 1fr 1fr; } }
.clinic__copy p { color: var(--muted); font-weight: 300; }
.clinic__features { list-style: none; margin: 2.2rem 0 0; padding: 0; }
.clinic__features li {
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink); position: relative;
  padding: 0.95rem 0 0.95rem 1.7rem; border-top: 1px solid var(--hairline);
}
.clinic__features li:last-child { border-bottom: 1px solid var(--hairline); }
.clinic__features li::before { content: ""; position: absolute; left: 2px; top: 1.55rem; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.figure { position: relative; overflow: hidden; border: 1px solid var(--hairline); background: var(--panel); aspect-ratio: 4 / 5; }
.figure .par { height: 120%; transform: translateY(-10%); }
.figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 68%; display: block; }
.figure__cap {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); background: rgba(53,33,31,0.62); padding: 0.45em 0.85em;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* ---------- Results (themed panel) ---------- */
.results { background: var(--panel); transition: background-color 0.6s var(--ease); }
.results__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem,5vw,4rem); align-items: center; }
@media (min-width: 880px) { .results__grid { grid-template-columns: 0.9fr 1.1fr; } }
.stat__figure { font-family: var(--serif); font-weight: 400; font-size: clamp(5.5rem, 13vw, 10rem); line-height: 0.9; color: var(--ink); display: flex; align-items: flex-start; }
.counter { font-variant-numeric: tabular-nums; }
.stat__figure .pct { font-size: 0.4em; color: var(--gild); margin-top: 0.5em; margin-left: 0.1em; }
.stat__cap { color: var(--muted); font-weight: 300; margin-top: 1rem; max-width: 26ch; }
.quote { border-left: 1px solid var(--hairline-strong); padding-left: clamp(1.4rem,3vw,2.4rem); }
.quote__text { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--fs-h3); line-height: 1.35; color: var(--ink); }
.quote__by { margin-top: 1.4rem; }

/* ---------- Feed (brand colour blocks — fixed both themes) ---------- */
.feed-section { padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; margin-top: clamp(2rem,4vw,3rem); }
@media (min-width: 720px) { .feed { grid-template-columns: repeat(4, 1fr); } }
.feed__tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; background: var(--panel); }
.feed__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-slow); }
.feed__tile:hover img { transform: scale(1.07); }
.feed__tile--coral { background: var(--coral); }
.feed__tile--choc { background: var(--chocolate); }
.feed__tile--sand { background: var(--gilded-tan); }
.feed__word { font-family: var(--serif); text-align: center; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.12; padding: 1rem; margin: 0; }
.feed__word em { font-style: italic; }
.feed__tile--coral .feed__word, .feed__tile--choc .feed__word { color: var(--cream); }
.feed__tile--sand .feed__word { color: var(--chocolate); }
.feed__word--sm { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.feed__word--sm span { display: block; font-family: var(--sans); font-size: 0.5em; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 0.7rem; opacity: 0.85; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--hairline); border-block: 1px solid var(--hairline); }
@media (min-width: 760px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }
.post { background: var(--bg); padding: clamp(1.6rem,2.5vw,2.2rem) 0; display: grid; gap: 0.9rem; transition: background-color 0.5s var(--ease); }
@media (min-width: 760px) { .post { padding: 0 clamp(1.4rem,2vw,2rem); } .post:first-child { padding-left: 0; } .post:last-child { padding-right: 0; } }
.post__cat { margin: 0; }
.post__title { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.1; transition: color 0.4s var(--ease); }
.post:hover .post__title { color: var(--accent-ink); }
.post__title em { font-style: italic; font-weight: 400; }
.post__meta { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Booking / contact (themed panel) ---------- */
.book { background: var(--panel); transition: background-color 0.6s var(--ease); }
.book__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem,5vw,4.5rem); align-items: start; }
@media (min-width: 920px) { .book__grid { grid-template-columns: 1fr 1fr; } }
.book__title { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h1); color: var(--ink); }
.book__title em { font-style: italic; font-weight: 400; color: var(--accent-ink); }
.book__lead { color: var(--muted); font-weight: 300; margin-top: 1.2rem; max-width: 40ch; }
.contact-list { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.contact-list li { display: grid; gap: 0.3rem; border-top: 1px solid var(--hairline); padding-top: 1.1rem; }
.contact-list .k { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-list .v { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.contact-list a.v:hover { color: var(--accent-ink); }
.contact-list__map {
  justify-self: start; margin-top: 0.5rem;
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--hairline-strong); padding-bottom: 0.25rem;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact-list__map:hover { color: var(--accent-ink); border-bottom-color: currentColor; }

.map {
  margin-top: 2.2rem; border: 1px solid var(--hairline); border-radius: 3px;
  overflow: hidden; background: var(--bg-soft);
}
.map iframe { display: block; width: 100%; height: clamp(220px, 34vw, 320px); border: 0; }

.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  font-family: var(--sans); font-weight: 300; font-size: 1rem; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--hairline-strong);
  padding: 0.7em 0; border-radius: 0; transition: border-color 0.4s var(--ease);
}
.field input::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--coral); }
.field select { -webkit-appearance: none; appearance: none; background-image: none; cursor: pointer; }
.field select option { color: #42292C; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 520px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 0.8rem; color: var(--muted); font-weight: 300; }
.form__submit { justify-self: start; margin-top: 0.4rem; }
.form__success { display: none; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gild); padding: 1rem 0; }
.form.is-sent .form__body { display: none; }
.form.is-sent .form__success { display: block; }

/* ---------- Sub-pages (treatments) ---------- */
.page-hero { background: var(--panel); padding-block: clamp(3.2rem, 6.5vw, 5.5rem) clamp(2.6rem, 5vw, 4rem); transition: background-color 0.6s var(--ease); }
.crumb { display: flex; flex-wrap: wrap; gap: 0.7em; align-items: center; }
.crumb a:hover { color: var(--accent-ink); }
.crumb .sep { color: var(--accent); }
.page-hero__title { font-size: var(--fs-h1); max-width: 18ch; margin-top: 1.1rem; }
.page-hero__title em { font-style: italic; font-weight: 400; }
.page-hero__lead { color: var(--muted); font-size: var(--fs-lead); font-weight: 300; max-width: 58ch; margin-top: 1.2rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; margin-top: 1.8rem; border-top: 1px solid var(--hairline); padding-top: 1.4rem; }

/* Full-bleed device hero. Alma lead with the Soprano large in its styled room,
   the headline set into the dark space beside it — this mirrors that. The
   image is used whole (no cut-out) so it stays crisp. The section is dark, so
   its text runs light regardless of the site theme. */
.page-hero--showcase {
  position: relative; overflow: hidden; padding: 0;
  background: #2a1a19; color: var(--cream);
}
/* The whole render is shown — never cropped — so the machine is always
   complete. On desktop the image fills the frame and the headline is set into
   the dark space over it; the image keeps its natural ratio so nothing is cut. */
.page-hero__scene { position: relative; z-index: 0; }
.page-hero__scene img { width: 100%; height: auto; display: block; }
.page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(26,16,15,0.92) 0%, rgba(26,16,15,0.72) 24%, rgba(26,16,15,0.2) 48%, rgba(26,16,15,0) 66%);
}
.page-hero--showcase .page-hero__grid { position: relative; z-index: 1; width: 100%; }
.page-hero--showcase .page-hero__text { padding-block: clamp(2rem, 5vw, 4rem); max-width: 34rem; }
.page-hero--showcase .page-hero__title { max-width: 15ch; color: var(--cream); }
.page-hero--showcase .page-hero__lead { max-width: 42ch; color: rgba(247,240,232,0.86); }
.page-hero--showcase .crumb,
.page-hero--showcase .crumb a { color: rgba(247,240,232,0.72); }
.page-hero--showcase .crumb .sep { color: var(--coral); }
.page-hero--showcase .page-hero__meta { border-top-color: rgba(247,240,232,0.22); }
.page-hero--showcase .page-hero__meta .mono-cap { color: rgba(247,240,232,0.68); }

/* Desktop only: overlay the headline on the image's dark left third. The image
   is the full 16:9 render, uncropped, so the whole machine shows. The overlay
   is only safe once the frame is wide enough that the machine clears the text
   column — below ~1100px the lead text ran over the machine, so tablets and
   small laptops use the clean stacked layout instead. */
@media (min-width: 1100px) {
  .page-hero__scene { position: absolute; inset: 0; display: flex; align-items: center; }
  .page-hero--showcase .page-hero__grid { display: flex; align-items: center;
    min-height: min(56.25vw, 82vh); }
}
/* Phones + tablets: whole image as a band on top, headline below on the dark
   panel — the machine is never covered or cropped, and text never overlaps it. */
@media (max-width: 1099px) {
  .page-hero__scrim { display: none; }
  .page-hero--showcase .page-hero__text { padding-block: 1.8rem 2.2rem; max-width: none; }
}

/* Full-bleed category image band, sits between the page hero and the menu */
.page-figure {
  position: relative; margin: 0; overflow: hidden;
  height: clamp(240px, 44vw, 520px); background: var(--panel);
}
.page-figure__media { position: absolute; inset: 0; height: 124%; transform: translateY(-10%); }
.page-figure__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-figure__cap {
  position: absolute; left: var(--gutter); bottom: 1.1rem; z-index: 2;
  font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); background: rgba(53, 33, 31, 0.55); padding: 0.5em 0.95em;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

.svc-group { margin-top: clamp(2.8rem, 5.5vw, 4.2rem); }
.svc-group:first-of-type { margin-top: 0; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.8rem 2rem; margin-bottom: 1.3rem; }
.group-head h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem); }
.group-head h2 em { font-style: italic; font-weight: 400; }
.group-head .mono-cap { font-size: 0.68rem; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
@media (min-width: 560px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { background: var(--bg); padding: clamp(1.3rem, 1.8vw, 1.8rem); display: grid; gap: 0.45rem; align-content: start; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); transition: background-color 0.45s var(--ease); position: relative; overflow: hidden; }
.svc::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--coral); transition: width 0.5s var(--ease); }
.svc:hover { background: var(--bg-raised); }
.svc:hover::after { width: 100%; }
.svc__name { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; line-height: 1.12; color: var(--ink); }
.svc__desc { color: var(--muted); font-weight: 300; font-size: 0.98rem; margin: 0; line-height: 1.55; }

.note-strip { border-block: 1px solid var(--hairline); padding-block: 1.4rem; margin-top: clamp(2.8rem, 5vw, 4rem); display: flex; flex-wrap: wrap; gap: 1rem 3rem; }

/* ---------- Device / technology section ---------- */
.tech { background: var(--panel); transition: background-color 0.6s var(--ease); }
.spec-row {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline);
}
@media (min-width: 700px) { .spec-row { grid-template-columns: repeat(3, 1fr); } }
.spec {
  padding: clamp(1.5rem, 2.4vw, 2.2rem); display: grid; gap: 0.5rem; align-content: start;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.spec__fig {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.9rem, 2rem + 3.4vw, 4.4rem);
  line-height: 0.94; color: var(--gild); font-variant-numeric: tabular-nums;
}
.spec__fig i {
  font-style: normal; font-family: var(--sans); font-size: 0.26em;
  letter-spacing: 0.18em; text-transform: uppercase; margin-left: 0.3em; vertical-align: 0.9em;
}
.spec__name {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink);
}
.spec__desc { color: var(--muted); font-weight: 300; font-size: var(--fs-small); margin: 0.3rem 0 0; }

.tech-grid {
  display: grid; grid-template-columns: 1fr; gap: 0; margin-top: clamp(2.2rem, 4vw, 3.2rem);
  border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline);
}
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
.tech-card {
  padding: clamp(1.4rem, 2.2vw, 2rem); display: grid; gap: 0.55rem; align-content: start;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  transition: background-color 0.45s var(--ease);
}
.tech-card:hover { background: var(--panel-raised); }
.tech-card__name { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; line-height: 1.14; color: var(--ink); }
.tech-card__desc { color: var(--muted); font-weight: 300; font-size: 0.98rem; line-height: 1.58; margin: 0; }
.tech__foot {
  margin-top: 1.9rem; display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.2rem 2rem;
}
.tech__device { margin: 0; flex: none; }
.tech__device img {
  width: auto; height: clamp(200px, 30vw, 340px); object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(53, 33, 31, 0.26));
}
.tech__note {
  font-size: 0.78rem; color: var(--muted); font-weight: 300;
  opacity: 0.85; max-width: 62ch; margin: 0; flex: 1 1 22ch;
}

/* ---------- Video embed (lazy façade → YouTube iframe) ---------- */
.video-section { background: var(--panel); transition: background-color 0.6s var(--ease); }
.video {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--chocolate); border: 1px solid var(--hairline);
}
.video__poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-live .video__poster,
.video.is-live .video__play,
.video.is-live .video__badge { opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease); }

.video__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(241, 231, 215, 0.7); border-radius: 50%;
  background: rgba(53, 33, 31, 0.34);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.video__play:hover { background: var(--coral); border-color: var(--coral); transform: scale(1.06); }
.video__play-icon {
  width: 0; height: 0; margin-left: 5px;
  border-left: 17px solid var(--cream);
  border-block: 11px solid transparent;
}
.video__badge {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); background: rgba(53, 33, 31, 0.55); padding: 0.5em 0.9em;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.video__note { margin-top: 1rem; font-size: 0.74rem; color: var(--muted); font-weight: 300; opacity: 0.85; }
@media (max-width: 560px) { .video__play { width: 64px; height: 64px; } }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item > summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.16rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.28; color: var(--ink); transition: color 0.35s var(--ease);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary:hover { color: var(--accent-ink); }
/* the +/− indicator */
.faq__item > summary i { position: relative; flex: none; width: 15px; height: 15px; margin-top: 0.42em; }
.faq__item > summary i::before, .faq__item > summary i::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 1px;
  background: var(--accent); transition: transform 0.4s var(--ease-slow);
}
.faq__item > summary i::after { transform: rotate(90deg); }
.faq__item[open] > summary i::after { transform: rotate(0deg); }
.faq__item[open] > summary { color: var(--accent-ink); }
.faq__body { padding-bottom: 1.5rem; }
.faq__body p { color: var(--muted); font-weight: 300; margin: 0; max-width: 68ch; }
.faq__body em { font-style: italic; color: var(--ink); }
.faq__item[open] .faq__body { animation: faqOpen 0.45s var(--ease-slow); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .faq__item[open] .faq__body { animation: none; }
  .faq__item > summary i::before, .faq__item > summary i::after { transition: none; }
}

.cta-band { background: var(--coral); color: var(--cream); text-align: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-band h2 { font-size: var(--fs-h2); color: var(--cream); }
.cta-band h2 em { font-style: italic; font-weight: 400; }
.cta-band p { margin: 1rem auto 0; color: rgba(241,231,215,0.9); max-width: 46ch; }
.cta-band .btn { margin-top: 2rem; background: var(--cream); color: var(--chocolate); border-color: var(--cream); }
.cta-band .btn:hover { background: var(--chocolate); color: var(--cream); border-color: var(--chocolate); }

/* ---------- Footer (themed) ---------- */
.footer { background: var(--footer-bg); color: var(--ink); padding-block: clamp(3.5rem,6vw,5rem) 2rem; overflow: hidden; transition: background-color 0.6s var(--ease); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem,5vw,3rem); }
@media (min-width: 780px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand { display: inline-flex; }
.footer__brand .logo-img { height: 44px; }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--muted); margin-top: 1.4rem; max-width: 22ch; }
.footer__col h4 { font-family: var(--sans); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__col a, .footer__col span { font-weight: 300; color: var(--ink); font-size: 1.04rem; opacity: 0.9; }
.footer__col a:hover { color: var(--accent-ink); opacity: 1; }
.footer__wordmark {
  text-align: center; margin: clamp(2rem,5vw,3.5rem) 0 0; user-select: none;
}
/* faded oversized brand mark — the real logo now, not a text watermark.
   Only width/opacity here; display is left to the theme swap classes. */
.footer__wordmark img { width: min(1120px, 94%); height: auto; margin-inline: auto; opacity: 0.1; }
.footer__bottom {
  margin-top: clamp(1.5rem,3vw,2.5rem); padding-top: 1.6rem; border-top: 1px solid var(--hairline);
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem;
}
/* Registered legal entity — shown site-wide for Meta business verification */
.footer__legal { margin: 0; max-width: 46ch; font-size: 0.86rem; line-height: 1.45; color: var(--muted); opacity: 0.85; }

/* ---------- Floating quick-contact (call + WhatsApp) ----------
   Theme-adaptive but inverted: the button surface follows the theme while the
   glyph takes --ink (the opposite tone), so it reads in light AND dark — dark
   glyph on the light theme, light glyph on the dark theme. Hover fills coral.
   Hidden while the mobile menu overlay is open. */
.fab {
  position: fixed; z-index: 58;
  right: clamp(0.85rem, 2.5vw, 1.7rem);
  bottom: clamp(0.85rem, 2.5vw, 1.7rem);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.fab__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(50px, 11vw, 56px); height: clamp(50px, 11vw, 56px); border-radius: 50%;
  background: var(--bg-raised); color: var(--ink);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 8px 24px rgba(30, 15, 12, 0.22);
  transition: transform 0.32s var(--ease), background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.fab__btn svg { width: 26px; height: 26px; display: block; }
.fab__btn:hover { transform: translateY(-2px) scale(1.05); background: var(--coral); color: var(--cream); border-color: var(--coral); }
.fab__btn:active { transform: translateY(0) scale(0.98); }
body.nav-lock .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .fab__btn { transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease); }
  .fab__btn:hover { transform: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-slow), transform 1s var(--ease-slow); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js body, .js body.page-in { opacity: 1; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
  .marquee__track { animation: none; }
  .grain { animation: none; }
  .cursor-ring { display: none; }
  .hero__logo, .hero__tag, .hero__lead, .hero__cta, .hero__meta, .hero__eyebrow { opacity: 1; transform: none; transition: none; }
  .hero__rule { width: 56px; }
  .wipe { clip-path: inset(0 0 0 0); transition: none; }
  .par { transform: translateY(-10%) !important; }
  .nav.is-open > * { opacity: 1; transform: none; animation: none; }
}

/* ---------- Scroll lock while the mobile menu is open ---------- */
body.nav-lock { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .nav, .header__actions .btn { display: none; }
  .nav-burger { display: grid; }

  /* Full-screen overlay. It sits BEHIND the header (z 55 < 60), which stays
     opaque while open — so there is never a seam, whatever the header height. */
  .nav.is-open {
    display: flex; position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h, 84px) + 1.4rem) var(--gutter) 2.6rem;
    background: var(--bg);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .nav.is-open .nav__link {
    font-family: var(--serif); font-size: clamp(1.55rem, 1.1rem + 2.2vw, 2.1rem);
    letter-spacing: 0; padding-block: 0.62em;
    border-bottom: 1px solid var(--hairline);
  }
  .nav.is-open .nav__link::after { display: none; }
  .nav.is-open .nav__cta { margin-top: 1.6rem; align-self: flex-start; }

  /* Staggered entrance — each row glides up as the menu opens */
  .nav.is-open > * { opacity: 0; transform: translateY(16px); animation: navIn 0.62s var(--ease-slow) forwards; }
  .nav.is-open > *:nth-child(1) { animation-delay: 0.05s; }
  .nav.is-open > *:nth-child(2) { animation-delay: 0.10s; }
  .nav.is-open > *:nth-child(3) { animation-delay: 0.15s; }
  .nav.is-open > *:nth-child(4) { animation-delay: 0.20s; }
  .nav.is-open > *:nth-child(5) { animation-delay: 0.25s; }
  .nav.is-open > *:nth-child(6) { animation-delay: 0.30s; }
}
@keyframes navIn { to { opacity: 1; transform: none; } }

/* Burger morphs into a close cross */
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Must come after the .nav.is-open animation above to win the cascade */
@media (prefers-reduced-motion: reduce) {
  .nav.is-open > * { opacity: 1; transform: none; animation: none; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { transition: none; }
}

@media (min-width: 901px) { .nav__cta-mobile { display: none; } }

@media (max-width: 520px) {
  .wordmark__name { font-size: 1.12rem; letter-spacing: 0.2em; padding-left: 0.2em; }
  .wordmark__sub { display: none; }
  .header__actions { gap: 0.55rem; }
}

/* Very narrow phones: stack the wordmark so the header never overflows */
@media (max-width: 400px) {
  .wordmark__name {
    white-space: normal; font-size: 1.02rem; letter-spacing: 0.16em;
    line-height: 1.08; padding-left: 0.16em;
  }
  .header__actions { gap: 0.45rem; }
}

/* ---------- Touch devices: hover states never fire, so give real feedback ---------- */
@media (hover: none) {
  .card:active, .svc:active, .post:active { background: var(--bg-raised); }
  .card:active::after, .svc:active::after { width: 100%; }
  .btn:active { transform: scale(0.98); }
  .feed__tile:active img { transform: scale(1.05); }
  .marquee:hover .marquee__track { animation-play-state: running; }
}

/* ---------- Mobile motion tuning: shorter travel, quicker settle ---------- */
@media (max-width: 720px) {
  .reveal { transform: translateY(20px); transition-duration: 0.8s; }
  .wipe { transition-duration: 0.95s; }
  .marquee__track { animation-duration: 26s; }
  .philosophy__media, .figure { aspect-ratio: 4 / 4.4; }
}
