/* ============================================================
   Detroit African Braiding Crew, shared design system
   Dark-mode default · warm editorial luxury · Geist + Cormorant
   ============================================================ */

/* ---------- tokens ---------- */
:root{
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 0, 0.2, 1);

  --bg:      #14100d;
  --bg-1:    #1b1510;
  --bg-2:    #241c15;
  --bg-3:    #2d231a;
  --line:    rgba(241,230,214,0.10);
  --line-2:  rgba(241,230,214,0.20);
  --text:    #f5eee4;
  --muted:   #c8bcab;
  --faint:   #a59786;

  --red:      #e0483a;
  --red-deep: #b13328;
  --red-soft: rgba(224,72,58,0.18);
  --gold:     #e0483a;
  --gold-br:  #f07a64;
  --sage:     rgba(150,170,150,0.14);

  --font-body: "Geist", system-ui, -apple-system, sans-serif;
  --font-disp: "Cormorant Garamond", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 88px);
  --radius: 18px;
  --shadow-1: 0 1px 0 rgba(255,255,255,0.03) inset, 0 18px 40px -24px rgba(0,0,0,0.7);
  --shadow-2: 0 1px 0 rgba(255,255,255,0.04) inset, 0 40px 80px -32px rgba(0,0,0,0.85);
  --header-h: 76px;
}

[data-theme="light"]{
  --bg:      #f5efe5;
  --bg-1:    #fbf6ec;
  --bg-2:    #ffffff;
  --bg-3:    #f1e8d9;
  --line:    rgba(40,28,16,0.14);
  --line-2:  rgba(40,28,16,0.24);
  --text:    #1c150f;
  --muted:   #4c4236;
  --faint:   #6e6253;
  --red:      #c1271a;
  --red-deep: #8f1c10;
  --red-soft: rgba(193,39,26,0.12);
  --gold:     #b6271a;
  --gold-br:  #a8200f;
  --sage:     rgba(90,110,90,0.12);
  --shadow-1: 0 18px 40px -28px rgba(60,40,20,0.45);
  --shadow-2: 0 40px 80px -36px rgba(60,40,20,0.5);
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: #14100d; }
[data-theme="light"]{ background: #f5efe5; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background .5s var(--ease), color .5s var(--ease);
}
body[data-dyslexia="on"]{ --font-body: "Lexend", system-ui, sans-serif; letter-spacing: .01em; }

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; color: inherit; cursor: pointer; }
:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- type ---------- */
.font-disp{ font-family: var(--font-disp); }
.eyebrow{
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before{ content:""; width: 26px; height: 1px; background: currentColor; opacity:.7; }
.eyebrow.center{ }
h1,h2,h3,h4{ font-family: var(--font-disp); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1{ font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: 1.05; }
h2{ font-size: clamp(2rem, 4.8vw, 3.7rem); }
h3{ font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.14; }
p{ margin: 0 0 1em; color: var(--muted); }
.lead{ font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--text); opacity:.92; line-height:1.55; }
.serif-accent{ font-style: italic; color: var(--gold-br); }

/* ---------- layout ---------- */
.wrap{ max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section{ padding-block: clamp(52px, 7vw, 104px); position: relative; }
.section.tight{ padding-block: clamp(36px, 5vw, 68px); }
.divider{ height:1px; background: var(--line); border:0; margin:0; }

/* ---------- buttons ---------- */
.btn{
  --bg-btn: var(--red);
  display: inline-flex; align-items: center; gap: .6em;
  padding: .92em 1.5em;
  background: var(--bg-btn);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .35s var(--ease);
  box-shadow: 0 12px 28px -14px var(--red);
}
.btn::after{ content:""; position:absolute; inset:0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22), transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover{ transform: translateY(-3px); box-shadow: 0 20px 40px -16px var(--red); }
.btn:hover::after{ transform: translateX(120%); }
.btn .arr{ transition: transform .3s var(--ease); }
.btn:hover .arr{ transform: translateX(4px); }
.btn.ghost{ --bg-btn: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover{ border-color: var(--gold); background: var(--sage); box-shadow: none; }
.btn.gold{ --bg-btn: linear-gradient(180deg, var(--gold-br), var(--gold)); color: #221a0c; box-shadow: 0 12px 28px -14px var(--gold); }

/* animated underline link */
.ulink{ position: relative; display: inline-block; padding-bottom: 2px; }
.ulink::after{ content:""; position:absolute; left:0; bottom:0; height:1.5px; width:100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ulink:hover::after, .ulink:focus-visible::after{ transform: scaleX(1); }

/* ============================================================
   GRAIN + CURSOR + GLOW overlays
   ============================================================ */
#grain{
  position: fixed; inset: -50%; z-index: 60; pointer-events: none;
  background-image: var(--grain-url);
  background-size: 200px 200px;
  opacity: .045; mix-blend-mode: overlay;
  will-change: transform;
}
[data-theme="light"] #grain{ opacity: .05; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: no-preference){
  #grain{ animation: grainshift 6s steps(6) infinite; }
}
@keyframes grainshift{
  0%{transform:translate(0,0)}  16%{transform:translate(-3%,2%)}
  33%{transform:translate(2%,-3%)} 50%{transform:translate(-2%,3%)}
  66%{transform:translate(3%,1%)}  83%{transform:translate(-1%,-2%)}
  100%{transform:translate(0,0)}
}

#glowLayer{ position: fixed; inset:0; z-index: 58; pointer-events: none; overflow: hidden; }
.touch-glow{
  position: absolute; width: 360px; height: 360px; margin: -180px 0 0 -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,72,58,.26), rgba(224,72,58,.14) 35%, transparent 70%);
  opacity: 0; will-change: transform, opacity;
  transition: opacity .42s var(--ease);
}

#cursor, #cursorDot{ position: fixed; top:0; left:0; z-index: 99999; pointer-events: none; border-radius: 50%; }
#cursor{ width: 30px; height: 30px; margin:-15px 0 0 -15px; background: radial-gradient(circle, rgba(224,72,58,.42), rgba(224,72,58,.16) 55%, transparent 72%); transition: transform .18s var(--ease), opacity .3s; }
#cursorDot{ width: 8px; height: 8px; margin:-4px 0 0 -4px; background: var(--red); box-shadow: 0 0 10px 2px rgba(224,72,58,.9), 0 0 0 1px rgba(255,255,255,.25); }
.spark{ position: fixed; z-index:99998; width: 4px; height: 4px; border-radius:50%; pointer-events:none; background: var(--gold-br); box-shadow: 0 0 8px 1px rgba(224,72,58,.7); }
@media (hover: none), (pointer: coarse){ #cursor, #cursorDot{ display:none; } }
body.has-cursor{ cursor: none; }
body.has-cursor a, body.has-cursor button, body.has-cursor input, body.has-cursor textarea, body.has-cursor select, body.has-cursor [role=button]{ cursor: none; }

/* ============================================================
   LOADER (comb/needle drawing a braid)
   ============================================================ */
#loader{
  position: fixed; inset:0; z-index: 200; display:grid; place-items:center;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
#loader.done{ opacity:0; visibility:hidden; }
#loader .loadbox{ display:grid; place-items:center; gap: 26px; }
#loader svg{ width: 150px; height: 92px; overflow: visible; }
#loader .lname{ font-family: var(--font-mono); font-size:.7rem; letter-spacing:.42em; text-transform:uppercase; color: var(--gold); opacity:0; animation: fadeUp .6s var(--ease) .35s forwards; }
.braidPath{ fill:none; stroke-width:3; stroke-linecap:round; }
.braidPath.a{ stroke: var(--red); }
.braidPath.b{ stroke: var(--gold); }
.braidPath.c{ stroke: var(--muted); }
@media (prefers-reduced-motion: no-preference){
  .braidPath{ stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1.5s var(--ease) forwards; }
  .braidPath.b{ animation-delay:.16s } .braidPath.c{ animation-delay:.32s }
  #needle{ animation: combMove 1.5s var(--ease) forwards; }
}
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes combMove{ 0%{transform:translateX(0)} 100%{transform:translateX(132px)} }
@keyframes fadeUp{ from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:translateY(0)} }

/* ============================================================
   PAGE VEIL (transitions, no white flash)
   ============================================================ */
#veil{ position: fixed; inset:0; z-index: 150; background: var(--bg); pointer-events:none; opacity:0; transition: opacity .5s var(--ease); }
#veil.show{ opacity:1; pointer-events:all; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position: sticky; top:0; z-index: 100;
  height: var(--header-h);
  display:flex; align-items:center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease), height .4s var(--ease);
}
.site-header.scrolled{ border-bottom-color: var(--line); }
.hbar{ width:100%; max-width: 1440px; margin:0 auto; padding-inline: clamp(16px,4vw,48px); display:flex; align-items:center; gap: 18px; flex-wrap: nowrap; }
.brand{ display:flex; align-items:center; gap: 12px; flex-shrink:0; }
.brand .mark{ width: 38px; height: 38px; flex:none; }
.brand .bt{ line-height:1; display:flex; flex-direction:column; gap:3px; }
.brand .bt b{ font-family: var(--font-disp); font-weight:600; font-size: 1.18rem; letter-spacing:.01em; display:block; }
.brand .bt span{ font-family: var(--font-mono); font-size:.56rem; letter-spacing:.32em; text-transform:uppercase; color: var(--gold); }

.nav-main{ display:flex; gap: 4px; margin-left: 26px; flex-wrap: nowrap; }
.nav-main a{ padding: 8px 14px; font-size: .92rem; font-weight: 500; color: var(--muted); border-radius: 10px; transition: color .3s var(--ease), background .3s var(--ease); position:relative; }
.nav-main a:hover{ color: var(--text); }
.nav-main a.active{ color: var(--text); }
.nav-main a.active::after{ content:""; position:absolute; left:14px; right:14px; bottom:2px; height:1.5px; background: var(--red); }

.hcluster{ margin-left:auto; display:flex; align-items:center; gap: 6px; flex-wrap: nowrap; flex-shrink:0; }
.icon-btn{
  width: 42px; height: 42px; display:grid; place-items:center;
  background: transparent; border: none; border-radius: 12px; color: var(--text);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.icon-btn:hover{ background: var(--sage); }
.icon-btn:active{ transform: scale(.92); }
.icon-btn svg{ width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* contact pill */
.contact-wrap{ position: relative; }
.contact-pill{
  display:flex; align-items:center; gap: 9px;
  padding: 8px 15px 8px 12px; border-radius: 100px;
  background: var(--red); color:#fff; border:1px solid transparent;
  font-size: .86rem; font-weight: 600;
  box-shadow: 0 10px 24px -14px var(--red);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-pill:hover{ transform: translateY(-2px); box-shadow: 0 16px 30px -14px var(--red); }
.contact-pill svg{ width: 16px; height:16px; fill: #fff; stroke:none; }
.contact-num{ white-space: nowrap; }
.contact-drop{
  position: absolute; top: calc(100% + 12px); right: 0; width: 248px;
  background: var(--bg-2); border:1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow-2); padding: 8px; opacity:0; transform: translateY(-8px) scale(.98);
  pointer-events: none; transition: opacity .28s var(--ease), transform .28s var(--ease); z-index: 5;
}
.contact-wrap:hover .contact-drop, .contact-wrap:focus-within .contact-drop, .contact-drop.open{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto; }
.cd-row{ display:flex; align-items:center; gap: 12px; padding: 11px 12px; border-radius: 11px; color: var(--text); transition: background .25s var(--ease); }
.cd-row:hover{ background: var(--bg-3); }
.cd-row svg{ width:18px; height:18px; stroke: var(--gold); fill:none; stroke-width:1.7; flex:none; }
.cd-row b{ font-size:.9rem; font-weight:600; display:block; }
.cd-row small{ color: var(--faint); font-size:.74rem; font-family:var(--font-mono); letter-spacing:.04em; }
.cd-sep{ height:1px; background: var(--line); margin: 4px 6px; }

/* hamburger */
.hamb{ display:none; }
.hamb span{ display:block; width:20px; height:2px; background: currentColor; border-radius:2px; transition: transform .35s var(--ease), opacity .25s; }
.hamb span+span{ margin-top:5px; }
body.menu-open .hamb span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.menu-open .hamb span:nth-child(2){ opacity:0; }
body.menu-open .hamb span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* responsive header */
@media (max-width: 1080px){
  .nav-main{ display: none; }
  .hamb{ display: grid; }
}
@media (max-width: 620px){
  .hbar{ gap: 10px; padding-inline: 14px; }
  .hcluster{ gap: 4px; }
  .brand{ gap: 8px; }
  .brand .mark{ width: 34px; height: 34px; }
  .brand .bt b{ font-size: 1.04rem; }
  .contact-num{ display: none; }
  .contact-pill{ padding: 10px; }
  .hcluster .cta-book{ display: none; }
  .icon-btn{ width: 40px; height: 40px; }
  .brand .bt span{ display: none; }
}
@media (max-width: 360px){
  .hcluster{ gap: 2px; }
  .icon-btn{ width: 38px; height: 38px; }
  .brand .bt b{ font-size: .98rem; }
}
@media (max-width: 330px){
  .brand .bt{ display: none; }
}

/* mobile menu sheet */
#mobileMenu{
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 95;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display:flex; flex-direction:column; padding: 28px var(--pad);
  transform: translateY(-8px); opacity:0; pointer-events:none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
#mobileMenu.open{ opacity:1; transform:none; pointer-events:auto; }
#mobileMenu a.mlink{ font-family: var(--font-disp); font-size: 2.2rem; padding: 14px 0; border-bottom:1px solid var(--line); color: var(--text); display:flex; justify-content:space-between; align-items:center; }
#mobileMenu a.mlink span{ font-family:var(--font-mono); font-size:.7rem; color: var(--gold); letter-spacing:.2em; }
.mm-foot{ margin-top: auto; padding-top: 24px; display:flex; flex-direction:column; gap:14px; }

/* ============================================================
   SEARCH PANEL
   ============================================================ */
#searchPanel{
  position: fixed; top:0; left:0; right:0; z-index: 110;
  background: color-mix(in srgb, var(--bg-1) 96%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-2);
  transform: translateY(-100%); transition: transform .5s var(--ease);
  box-shadow: var(--shadow-2);
}
#searchPanel.open{ transform: translateY(0); }
.search-inner{ max-width: 760px; margin:0 auto; padding: 26px var(--pad) 30px; }
.search-row{ display:flex; align-items:center; gap: 14px; border-bottom: 2px solid var(--line-2); padding-bottom: 12px; }
.search-row svg{ width: 22px; height:22px; stroke: var(--muted); fill:none; stroke-width:1.7; flex:none; }
#searchInput{ flex:1; background: transparent; border:none; outline:none; color: var(--text); font-family: var(--font-disp); font-size: clamp(1.4rem, 3vw, 2.1rem); }
#searchInput::placeholder{ color: var(--faint); }
.mic-btn{ width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background: var(--bg-3); border:1px solid var(--line); }
.mic-btn.listening{ background: var(--red); border-color: var(--red); animation: micpulse 1.1s var(--ease) infinite; }
.mic-btn svg{ width:18px; height:18px; stroke:#fff; }
@keyframes micpulse{ 0%,100%{ box-shadow: 0 0 0 0 var(--red-soft);} 50%{ box-shadow: 0 0 0 10px transparent;} }
.search-results{ margin-top: 18px; display:flex; flex-direction:column; gap: 2px; max-height: 50vh; overflow:auto; }
.sr-item{ display:flex; align-items:center; gap: 14px; padding: 13px 12px; border-radius: 12px; transition: background .25s var(--ease); }
.sr-item:hover{ background: var(--bg-3); }
.sr-item .sr-k{ font-family:var(--font-mono); font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; color: var(--gold); border:1px solid var(--line-2); padding: 3px 7px; border-radius: 6px; }
.sr-item b{ font-weight:600; }
.sr-item small{ display:block; color: var(--faint); font-size:.82rem; }
.sr-empty{ color: var(--faint); padding: 16px 12px; font-style: italic; }

/* ============================================================
   SETTINGS / ACCESSIBILITY PANEL
   ============================================================ */
#scrim{ position: fixed; inset:0; z-index:118; background: rgba(0,0,0,.5); opacity:0; pointer-events:none; transition: opacity .4s var(--ease); }
#scrim.show{ opacity:1; pointer-events:auto; }
#settings{
  position: fixed; top:0; right:0; bottom:0; z-index: 120; width: min(390px, 92vw);
  background: var(--bg-1); border-left: 1px solid var(--line-2);
  transform: translateX(100%); transition: transform .5s var(--ease);
  display:flex; flex-direction:column; box-shadow: var(--shadow-2);
}
#settings.open{ transform: translateX(0); }
.set-head{ display:flex; align-items:center; justify-content:space-between; padding: 22px 24px; border-bottom:1px solid var(--line); }
.set-head h3{ font-size: 1.5rem; }
.set-body{ overflow:auto; padding: 8px 24px 30px; flex:1; }
.set-group{ padding: 20px 0; border-bottom: 1px solid var(--line); }
.set-group:last-child{ border-bottom:0; }
.set-label{ font-family:var(--font-mono); font-size:.66rem; letter-spacing:.28em; text-transform:uppercase; color:var(--gold); margin-bottom: 14px; }
.set-row{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom: 14px; }
.set-row:last-child{ margin-bottom:0; }
.set-row .sr-txt b{ font-size:.95rem; font-weight:600; display:block; }
.set-row .sr-txt small{ color: var(--faint); font-size:.78rem; }
.toggle{ width: 50px; height: 28px; border-radius: 100px; background: var(--bg-3); border:1px solid var(--line-2); position:relative; flex:none; transition: background .3s var(--ease); }
.toggle::after{ content:""; position:absolute; top:2px; left:2px; width:22px; height:22px; border-radius:50%; background: var(--text); transition: transform .3s var(--ease); }
.toggle[aria-checked="true"]{ background: var(--red); border-color: var(--red); }
.toggle[aria-checked="true"]::after{ transform: translateX(22px); background:#fff; }
.seg{ display:flex; background: var(--bg-3); border:1px solid var(--line); border-radius: 100px; padding: 3px; gap:2px; }
.seg button{ flex:1; padding: 7px 12px; border:none; background:transparent; color: var(--muted); border-radius: 100px; font-size:.82rem; font-weight:600; transition: all .3s var(--ease); }
.seg button[aria-pressed="true"]{ background: var(--bg); color: var(--text); box-shadow: var(--shadow-1); }
.set-select{ width:100%; padding: 11px 13px; background: var(--bg-2); border:1px solid var(--line-2); border-radius: 11px; color: var(--text); font-family: inherit; font-size:.9rem; }
.set-range{ width: 100%; accent-color: var(--red); }
.range-row{ margin-bottom: 16px; }
.range-row label{ display:flex; justify-content:space-between; font-size:.84rem; color: var(--muted); margin-bottom: 7px; }
.range-row label span{ font-family: var(--font-mono); color: var(--gold); }

/* translation note */
.i18n-note{
  display:none; align-items:center; gap:10px;
  background: var(--red-soft); border:1px solid var(--line-2);
  border-radius: 12px; padding: 10px 16px; margin: 0 auto 8px;
  font-size: .82rem; color: var(--muted); max-width: var(--maxw);
}
body[data-lang="es"] .i18n-note.show-es{ display:flex; }

/* read-aloud highlight */
.ra-reading{ background: var(--red-soft); border-radius: 4px; box-shadow: 0 0 0 3px var(--red-soft); }

/* ============================================================
   HERO (shared)
   ============================================================ */
.hero{ position: relative; min-height: clamp(560px, 92vh, 940px); display:flex; align-items:flex-end; overflow: hidden; isolation:isolate; padding-bottom: clamp(220px, 24vh, 320px); }
@supports (height: 100svh){ .hero{ min-height: clamp(560px, 92svh, 940px); } }
.hero-bg{ position:absolute; inset: 0 0 -220px 0; z-index:-2; overflow:hidden; }
.hero-bg img{ width:100%; height:100%; object-fit: cover; will-change: transform; }
.hero-bg img.loaded{ opacity: 1; }
@media (prefers-reduced-motion: no-preference){ .hero-bg img{ animation: kenburns 24s ease-in-out infinite alternate; } }
@keyframes kenburns{ from{ transform: scale(1.02) translate(0,0); } to{ transform: scale(1.16) translate(-1.5%, -2%); } }
.hero-overlay{ position:absolute; inset:0 0 -220px 0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(20,16,13,.42) 0%, rgba(20,16,13,.28) 32%, rgba(20,16,13,.72) 74%, var(--bg) 100%),
    linear-gradient(95deg, rgba(20,16,13,.7) 0%, rgba(20,16,13,.18) 55%, transparent 100%);
}
[data-theme="light"] .hero-overlay{
  background:
    linear-gradient(180deg, rgba(24,17,10,.50) 0%, rgba(24,17,10,.30) 34%, rgba(24,17,10,.58) 72%, rgba(245,239,229,.78) 92%, var(--bg) 100%),
    linear-gradient(95deg, rgba(20,14,8,.55) 0%, rgba(20,14,8,.12) 55%, transparent 100%);
}
.hero-grade{ position:absolute; inset:0 0 -220px 0; z-index:-1; background: radial-gradient(120% 90% at 18% 70%, var(--red-soft), transparent 55%); mix-blend-mode: screen; opacity:.7; }
.hero-inner{ width:100%; max-width: var(--maxw); margin:0 auto; padding: 0 var(--pad); position:relative; z-index:1; }
/* hero text always reads light over the image, in both themes */
.hero h1, .hero h2{ color: #f7f0e6; }
.hero .lead{ color: rgba(247,240,230,.94); }
.hero .scroll-hint{ color: rgba(247,240,230,.82); }
.hero-cta .tag{ color: rgba(247,240,230,.8) !important; }
.hero h1{ max-width: 16ch; text-shadow: 0 2px 44px rgba(0,0,0,.55); }
.hero .lead{ max-width: 46ch; margin-top: 22px; text-shadow: 0 1px 20px rgba(0,0,0,.45); }
.hero .serif-accent{ color: #f4937f; }
.hero-cta{ margin-top: 34px; display:flex; flex-wrap:wrap; gap: 14px; align-items:center; }
.hero-cta .tag{ font-family: var(--font-mono); font-size:.74rem; letter-spacing:.12em; color: var(--muted); }
.scroll-hint{ position:absolute; right: var(--pad); bottom: clamp(230px, 25vh, 330px); display:flex; flex-direction:column; align-items:center; gap:10px; z-index:1; font-family:var(--font-mono); font-size:.6rem; letter-spacing:.3em; text-transform:uppercase; color: var(--muted); writing-mode: vertical-rl; }
@media (max-width: 820px){ .scroll-hint{ display:none; } }

/* "emerge from hero", section pulled up over the hero bleed */
.post-hero{ position: relative; z-index: 2; margin-top: -150px; padding-top: 0; }
/* solid sheet that emerges from the hero, keeps content readable over the image */
.post-hero.solid{
  margin-top: -90px;
  padding-top: clamp(54px, 7vw, 88px);
  background: var(--bg);
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -30px 60px -30px rgba(0,0,0,.5);
}
[data-theme="light"] .post-hero.solid{ box-shadow: 0 -30px 60px -34px rgba(80,50,20,.35); }

/* ============================================================
   REVEAL / MOTION
   ============================================================ */
.js .reveal{ transform: translateY(26px); transition: transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); will-change: transform; }
.reveal.in{ transform:none; }
.reveal.fade{ transform: none; }
.js .clip-wipe{ transform: translateY(26px); transition: transform .8s var(--ease); transition-delay: calc(var(--i,0)*90ms); }
.clip-wipe.in{ transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal,.clip-wipe{ opacity:1 !important; transform:none !important; clip-path:none !important; transition:none !important; }
  .hero-bg img{ animation:none !important; transition:none !important; opacity:1 !important; }
}

/* ============================================================
   CARDS / GRID
   ============================================================ */
.eyebrow-block{ display:flex; flex-direction:column; gap: 18px; }
.sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap: 30px; flex-wrap:wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .sh-l{ max-width: 60ch; }
.sec-head h2{ margin-top: 16px; }

.svc-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 24px); }
@media (max-width: 980px){ .svc-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .svc-grid{ grid-template-columns: 1fr; } }

.card{
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display:flex; flex-direction:column; min-height: 380px;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--red-deep); }
.card-media{ position: relative; aspect-ratio: 4/3; overflow:hidden; }
.card-media img{ width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease); }
.card:hover .card-media img{ transform: scale(1.06); }
.card-media::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(20,16,13,.55)); mix-blend-mode: multiply; }
.card-duo{ position:absolute; inset:0; background: linear-gradient(150deg, var(--red-soft), transparent 60%); mix-blend-mode: soft-light; }
.card-num{ position:absolute; top:14px; left:16px; font-family:var(--font-mono); font-size:.66rem; letter-spacing:.2em; color: var(--gold-br); background: rgba(20,16,13,.5); border:1px solid var(--line-2); padding:4px 9px; border-radius:7px; backdrop-filter: blur(6px); }
.card-body{ padding: 22px 22px 24px; display:flex; flex-direction:column; gap: 10px; flex:1; }
.card-body h3{ font-size: 1.5rem; }
.card-body p{ font-size: .93rem; margin:0; }
.card-foot{ margin-top: auto; padding-top: 14px; display:flex; align-items:center; gap: 8px; font-family: var(--font-mono); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color: var(--gold); white-space: nowrap; }
.card-foot .arr{ transition: transform .3s var(--ease); }
.card:hover .card-foot .arr{ transform: translateX(4px); }

/* also-offered band */
.also-band{ display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
@media (max-width: 720px){ .also-band{ grid-template-columns:1fr; } }
.also{ display:flex; gap:16px; align-items:center; padding: 16px; border:1px solid var(--line); border-radius: 14px; background: var(--bg-1); transition: border-color .35s var(--ease), transform .35s var(--ease); }
.also:hover{ border-color: var(--gold); transform: translateY(-3px); }
.also .am{ width:74px; height:74px; border-radius: 12px; overflow:hidden; flex:none; }
.also .am img{ width:100%; height:100%; object-fit:cover; }
.also > div{ display:flex; flex-direction:column; gap: 5px; }
.also b{ font-family: var(--font-disp); font-size: 1.3rem; font-weight:600; display:block; line-height:1.1; }
.also small{ color: var(--muted); font-size:.84rem; display:block; line-height:1.4; }

/* ============================================================
   STATS
   ============================================================ */
.stats{ display:grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2vw,30px); }
@media (max-width: 820px){ .stats{ grid-template-columns: repeat(2,1fr); } }
.stat{ border-top: 1px solid var(--line-2); padding-top: 20px; }
.stat .num{ font-family: var(--font-disp); font-size: clamp(2.6rem, 5vw, 4rem); font-weight:600; line-height:1; color: var(--text); }
.stat .num .u{ color: var(--red); }
.stat .lab{ margin-top: 10px; font-size:.9rem; color: var(--muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tslider{ position: relative; max-width: 880px; margin: 0 auto; }
.tslide{ position: absolute; inset:0; opacity:0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events:none; }
.tslide.active{ position: relative; opacity:1; transform:none; pointer-events:auto; }
.tstars{ display:flex; gap:5px; justify-content:center; color: var(--gold); margin-bottom: 22px; }
.tstars svg{ width:20px; height:20px; fill: currentColor; stroke:none; }
.tquote{ font-family: var(--font-disp); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height:1.32; text-align:center; color: var(--text); font-weight:500; }
.tperson{ display:flex; align-items:center; gap:14px; justify-content:center; margin-top: 28px; }
.tperson img{ width: 54px; height:54px; border-radius:50%; object-fit:cover; border:2px solid var(--line-2); }
.tperson b{ font-weight:600; display:block; }
.tperson small{ color: var(--faint); font-family:var(--font-mono); font-size:.72rem; letter-spacing:.08em; }
.tdots{ display:flex; gap:10px; justify-content:center; margin-top: 36px; }
.tdot{ width: 9px; height:9px; border-radius:50%; background: var(--line-2); border:none; padding:0; transition: all .3s var(--ease); }
.tdot.active{ background: var(--red); width: 28px; border-radius: 100px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background: var(--bg-1); border-top:1px solid var(--line); padding-top: clamp(56px, 8vw, 96px); position: relative; }
.foot-grid{ display:grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px){ .foot-grid{ grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px){ .foot-grid{ grid-template-columns: 1fr; } }
.foot-col h4{ font-family: var(--font-mono); font-size:.66rem; letter-spacing:.26em; text-transform:uppercase; color: var(--gold); font-weight:500; margin-bottom: 18px; }
.foot-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap: 11px; }
.foot-col a{ color: var(--muted); font-size:.92rem; transition: color .3s var(--ease); }
.foot-col a:hover{ color: var(--text); }
.foot-brand p{ font-size:.92rem; max-width: 34ch; }
.foot-contact b{ display:block; color: var(--text); font-size: 1.05rem; margin-bottom:4px; }
.foot-contact a{ display:block; margin-bottom: 6px; }
.foot-contact .cta-book{ display:inline-flex; margin-bottom:0; font-size:1.1rem; padding:1.08em 2em; }
.socials{ display:flex; gap: 10px; margin-top: 18px; }
.soc{ width: 40px; height:40px; border-radius: 11px; display:grid; place-items:center; border:1px solid var(--line-2); color: var(--text); transition: all .35s var(--ease); }
.soc:hover{ border-color: var(--gold); color: var(--gold-br); box-shadow: 0 0 22px -6px var(--gold); transform: translateY(-2px); }
.soc svg{ width:18px; height:18px; fill: currentColor; }
.foot-bot{ margin-top: clamp(48px,7vw,80px); border-top:1px solid var(--line); padding: 26px 0 40px; display:flex; justify-content:space-between; align-items:center; gap: 16px; flex-wrap:wrap; }
.foot-bot small{ color: var(--faint); font-size:.8rem; }
.foot-bot .legal{ display:flex; gap: 20px; }
.foot-bot .legal a{ color: var(--faint); font-size:.8rem; }

/* ============================================================
   FORMS / CONTACT
   ============================================================ */
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom: 18px; }
.field label{ font-size:.82rem; font-family:var(--font-mono); letter-spacing:.1em; text-transform:uppercase; color: var(--muted); }
.field input, .field select, .field textarea{
  background: var(--bg-2); border:1px solid var(--line-2); border-radius: 12px;
  padding: 14px 15px; color: var(--text); font-family: inherit; font-size: 1rem; width:100%;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field textarea{ resize: vertical; min-height: 130px; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .field-row{ grid-template-columns:1fr; } }
.form-note{ font-size:.82rem; color: var(--faint); }
.map-frame{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--line-2); aspect-ratio: 16/10; background: var(--bg-2); }
.map-frame iframe{ width:100%; height:100%; border:0; filter: grayscale(.3) contrast(1.05); }
[data-theme="light"] .map-frame iframe{ filter:none; }

/* info chips */
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{ display:inline-flex; align-items:center; gap:8px; padding: 9px 14px; border:1px solid var(--line-2); border-radius: 100px; font-size:.84rem; color: var(--muted); background: var(--bg-1); }
.chip svg{ width:15px; height:15px; stroke: var(--gold); fill:none; stroke-width:1.7; }
.chip .cdot{ width:7px; height:7px; border-radius:50%; background: var(--red); flex:none; }

/* generic two-col editorial */
.split{ display:grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items:center; }
.split.rev{ grid-template-columns: 1fr 1.05fr; }
@media (max-width: 860px){ .split, .split.rev{ grid-template-columns:1fr; } }
.media-frame{ position: relative; border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); aspect-ratio: 4/5; }
.media-frame img{ width:100%; height:100%; object-fit:cover; }
.media-frame.wide{ aspect-ratio: 5/4; }
.media-cap{ position:absolute; bottom: 14px; left:14px; font-family:var(--font-mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:#fff; background: rgba(20,16,13,.55); border:1px solid var(--line-2); padding: 6px 11px; border-radius: 8px; backdrop-filter: blur(6px); }
.float-cap{ font-family: var(--font-mono); font-size:.7rem; letter-spacing:.14em; color: var(--gold); }

/* benefits checklist */
.benefits{ list-style:none; margin:24px 0 28px; padding:0; display:grid; gap:13px; }
.benefits li{ display:flex; gap:13px; align-items:flex-start; color:var(--text); font-size:1rem; line-height:1.45; }
.benefits li svg{ width:21px; height:21px; flex:none; margin-top:2px; stroke:var(--gold); fill:none; stroke-width:2.1; }
.style-row{ scroll-margin-top: 100px; }
.style-tag{ font-family:var(--font-mono); font-size:.7rem; letter-spacing:.2em; color:var(--gold); text-transform:uppercase; }

/* prose / article */
.prose{ max-width: 70ch; }
.prose h2{ font-size: clamp(1.7rem,3vw,2.4rem); margin: 1.4em 0 .5em; }
.prose h3{ font-size: clamp(1.3rem,2vw,1.7rem); margin: 1.2em 0 .4em; color: var(--text); }
.prose p{ font-size: 1.12rem; line-height: 1.72; margin: 0 0 1.1em; color: var(--muted); }
.prose p strong, .prose li strong{ color: var(--text); font-weight: 600; }
.prose ul{ margin: 0 0 1.3em; padding-left: 0; list-style: none; display: grid; gap: 11px; }
.prose ul li{ position: relative; padding-left: 26px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.prose ul li::before{ content:""; position:absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.prose blockquote{ margin: 1.4em 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--gold); font-family: var(--font-disp); font-size: 1.5rem; font-style: italic; color: var(--text); line-height: 1.4; }
.prose a{ color: var(--gold-br); }
.article-meta{ display:flex; flex-wrap:wrap; gap: 16px; align-items:center; font-family: var(--font-mono); font-size:.74rem; letter-spacing:.08em; color: var(--muted); }
.article-meta .dot{ width:4px; height:4px; border-radius:50%; background: var(--faint); }
.blog-foot{ margin-top: clamp(40px,5vw,64px); padding-top: 28px; border-top:1px solid var(--line); display:flex; gap:14px; align-items:center; flex-wrap:wrap; }

/* offset/asymmetric helper */
.offset-up{ margin-top: clamp(-90px, -8vw, -40px); }
.bleed-right{ margin-right: calc(var(--pad) * -1); }
@media (max-width: 860px){ .bleed-right{ margin-right:0; } .offset-up{ margin-top:0; } }

/* fallback styling for broken images */
img.img-fallback{ object-fit: cover; }
.imgwrap{ position:relative; background: linear-gradient(150deg, var(--bg-3), var(--bg-1)); }
