/* Hypnotic Insight bespoke type system: Fraunces (high-contrast serif display)
   + Instrument Sans (clean grotesk body). Imported here so every page,
   including service and location subpages, inherits the new voice. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

/* Warm Practitioner. Shared styles + animations */
:root {
  --cream:   #F7F1E6;
  --sand:    #EADCC7;
  /* warmed from pine-green to desert-brown so the palette is one cohesive family */
  --sage-50: #F1E9DB;
  --sage-200:#D8C6AB;
  --sage-500:#9A7A54;
  --sage-700:#6B4E34;
  --sage-900:#241811;
  --terra-400:#E0A06A;
  --terra-500:#C97B3E;
  --terra-600:#A85E2C;
  --ink:     #1E2723;
  --amber-soft:#E7B77C;
}
html { scroll-behavior: smooth; }
/* Fixed nav is 64px tall (py-3.5 = ~14px each + content ~36px). */
html, body { max-width: 100vw; overflow-x: clip; }
body { font-family: 'Instrument Sans', 'DM Sans', system-ui, sans-serif; background: var(--cream); color: var(--ink); padding-top: 64px; }
@media (min-width: 640px) { body { padding-top: 72px; } }
/* Prevent any image / iframe from spilling out of its container on mobile */
img, iframe, video { max-width: 100%; height: auto; }
/* Inputs / selects / textareas honor box-sizing border-box and never overflow their container */
input, select, textarea { max-width: 100%; box-sizing: border-box; }
/* Wrap long words instead of forcing horizontal scroll */
p, h1, h2, h3, h4, li, a { overflow-wrap: anywhere; word-break: break-word; }
/* Break long code blocks (the BOOKING_WEBHOOK explainer has them) */
code, pre { overflow-wrap: anywhere; word-break: break-all; }
.serif { font-family: 'Fraunces', 'DM Serif Display', Georgia, serif; font-optical-sizing: auto; font-weight: 480; }

/* Scroll-triggered fade-up animations.
   Visible by default (no-JS / no-IntersectionObserver / slow JS fallback).
   When body has .js-anim set by partials.js, the initial hidden state applies. */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.js-anim .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* Hero blob parallax-ish drift */
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(8px, -8px) scale(1.02); }
}
.drift { animation: none; } /* hero movement removed per request - static */

/* Card hover lift */
.card-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 36px -16px rgba(75, 58, 40, 0.25); }

/* Subtle button shine */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 246, 241, 0.18), transparent);
  transition: left 0.6s ease;
}
.btn-shine:hover::after { left: 100%; }

/* FAQ accordion */
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details[open] .chev { transform: rotate(180deg); }
.chev { transition: transform 0.25s ease; }

/* Number counter (animates via JS) */
.counter { font-variant-numeric: tabular-nums; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(46,33,22,0.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 100;
  animation: fade 0.2s ease;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--cream); border-radius: 24px; padding: 32px; max-width: 540px; width: calc(100% - 32px);
  max-height: 90vh; overflow-y: auto;
  animation: pop 0.3s cubic-bezier(0.16,1,0.3,1);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* Mobile WhatsApp bubble */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--terra-500); /* was WhatsApp green; component unused, neutralized */
  display: flex; align-items: center; justify-content: center;
  color: white; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 50; transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
@media (min-width: 768px) { .whatsapp-fab { display: none; } }

/* Nav active link */
.nav-link.active { color: var(--sage-700); }
.nav-link.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--terra-500);
  margin-top: 2px;
}

/* ── Skip link (keyboard accessibility) ─────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--sage-700);
  color: var(--cream);
  padding: 12px 20px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 9999;
  transition: top 0.18s ease;
  border-radius: 999px;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--terra-500); outline-offset: 2px; }

/* ── Focus visibility (keyboard nav) ─────────────────────────────────── */
*:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 2px; border-radius: 2px; }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  .reveal, .drift, .btn-shine::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* logo-contrast-guard */
.logo-placeholder{background:var(--ink,#161616);color:#fff;border-radius:9px;}

/* heading-balance */
.display,h1,h2,h3{text-wrap:balance;}

/* hero-heading-fit */
#main-content .max-w-4xl{max-width:66rem;}
@media(min-width:1024px){#main-content .display{font-size:4.5rem;line-height:1.06;}}

/* ============================================================
   HYPNOTIC INSIGHT - bespoke premium design layer (2026 rebuild)
   Desert-dusk art direction: deep pine + warm amber + cream.
   ============================================================ */

/* Editorial display scale */
.display { font-family: 'Fraunces', 'DM Serif Display', Georgia, serif; font-optical-sizing: auto; font-weight: 460; line-height: 1.04; letter-spacing: -0.015em; }
.display em, .serif em { font-style: italic; font-weight: 400; }
.eyebrow { font-family:'Instrument Sans','DM Sans',sans-serif; text-transform:uppercase; letter-spacing:0.22em; font-size:12px; font-weight:600; color:var(--terra-500); }
.eyebrow-light { color: var(--amber-soft); }

/* ---- Cinematic hero ---- */
.hero-cine { position:relative; min-height: 92vh; display:flex; align-items:flex-end; overflow:hidden; color:#F7F1E6; }
/* Centered, minimal hero variant (Wayne's standard look) */
.hero-cine.hero-centered { align-items:center; text-align:center; }
.hero-cine.hero-centered .wrap-hero { display:flex; justify-content:center; }
.hero-cine.hero-centered .hero-inner { max-width:840px; margin:0 auto; display:flex; flex-direction:column; align-items:center; }
.hero-cine.hero-centered .hero-sub { max-width:60ch; margin-left:auto; margin-right:auto; }
.hero-cine.hero-centered .hero-scrim {
  background:
    radial-gradient(120% 100% at 50% 50%, rgba(21,14,9,0.30) 0%, rgba(21,14,9,0.52) 55%, rgba(21,14,9,0.82) 100%),
    linear-gradient(180deg, rgba(36,24,17,0.28) 0%, rgba(28,19,13,0.35) 60%, rgba(21,14,9,0.72) 100%);
}
.hero-cine .hero-media { position:absolute; inset:0; z-index:0; }
.hero-cine .hero-media video,
.hero-cine .hero-media img { width:100%; height:100%; object-fit:cover; }
.hero-cine .hero-scrim {
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(180deg, rgba(36,24,17,0.30) 0%, rgba(36,24,17,0.10) 32%, rgba(28,19,13,0.55) 72%, rgba(21,14,9,0.90) 100%),
    radial-gradient(120% 90% at 15% 100%, rgba(21,14,9,0.55) 0%, transparent 60%);
}
.hero-cine .wrap-hero { position:relative; z-index:2; width:100%; }
.hero-title { font-family:'Fraunces','DM Serif Display',Georgia,serif; font-optical-sizing:auto; font-weight:460; font-size:clamp(42px,6.6vw,86px); line-height:1.0; letter-spacing:-0.015em; text-shadow:0 2px 30px rgba(0,0,0,0.35); }
.hero-sub { font-size:clamp(17px,1.5vw,21px); line-height:1.55; color:rgba(247,241,230,0.9); max-width:56ch; }
.pill-hero { display:inline-flex; align-items:center; gap:9px; background:rgba(247,241,230,0.12); border:1px solid rgba(247,241,230,0.28); backdrop-filter:blur(6px); color:#F7F1E6; padding:8px 16px; border-radius:999px; font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; font-weight:600; }
.pill-hero .dot { width:7px; height:7px; border-radius:50%; background:var(--amber-soft); box-shadow:0 0 0 4px rgba(231,183,124,0.25); }

/* sound toggle */
.sound-toggle{ position:absolute; z-index:3; bottom:22px; right:22px; display:inline-flex; align-items:center; gap:8px; background:rgba(36,24,17,0.5); border:1px solid rgba(247,241,230,0.3); color:#F7F1E6; padding:7px 13px; border-radius:999px; font-size:12px; cursor:pointer; backdrop-filter:blur(6px); transition:background .2s; }
.sound-toggle:hover{ background:rgba(36,24,17,0.75); }
.sound-toggle .ic-sound{ display:none; }
.sound-toggle[aria-pressed="true"] .ic-sound{ display:inline; }
.sound-toggle[aria-pressed="true"] .ic-muted{ display:none; }

/* ---- Marquee ---- */
.marquee { overflow:hidden; background:var(--sage-900); color:rgba(247,241,230,0.72); border-top:1px solid rgba(247,241,230,0.08); border-bottom:1px solid rgba(247,241,230,0.08); }
.marquee .track { display:inline-flex; white-space:nowrap; gap:40px; padding:14px 0; animation:marq 34s linear infinite; }
.marquee .track span { font-size:13.5px; letter-spacing:0.18em; text-transform:uppercase; display:inline-flex; gap:40px; }
@keyframes marq { from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .marquee .track{ animation:none; } }

/* ---- Designed service showcase (alternating editorial rows) ---- */
.svc-row { display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(28px,4vw,64px); align-items:center; }
.svc-row.rev .svc-row-media { order:2; }
.svc-row + .svc-row { margin-top:clamp(46px,6vw,90px); }
.svc-row-media { position:relative; border-radius:22px; overflow:hidden; aspect-ratio:5/4; box-shadow:0 30px 60px -30px rgba(36,24,17,0.45); }
.svc-row-media img { width:100%; height:100%; object-fit:cover; transition:transform .9s cubic-bezier(.16,1,.3,1); }
.svc-row:hover .svc-row-media img { transform:scale(1.045); }
.svc-num { font-family:'Fraunces','DM Serif Display',serif; font-size:15px; color:var(--terra-500); letter-spacing:0.05em; }
.svc-tag { position:absolute; top:14px; left:14px; z-index:2; background:rgba(36,24,17,0.72); color:#F7F1E6; font-size:11.5px; letter-spacing:0.12em; text-transform:uppercase; padding:6px 12px; border-radius:999px; backdrop-filter:blur(4px); }

/* meta chips */
.meta-chips { display:flex; flex-wrap:wrap; gap:8px; }
.meta-chips span { font-size:12.5px; color:var(--sage-700); background:var(--sage-50); border:1px solid var(--sage-200); padding:5px 11px; border-radius:999px; }

/* link arrow */
.link-arrow{ display:inline-flex; align-items:center; gap:7px; color:var(--sage-700); font-weight:600; font-size:15px; transition:gap .2s; }
.link-arrow:hover{ gap:11px; }

/* section eyebrow rule */
.section-head { max-width:64ch; }

/* stat counters on dark */
.statline { display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.statline .num { font-family:'Fraunces','DM Serif Display',serif; font-size:clamp(30px,3.4vw,46px); color:#F7F1E6; line-height:1; }
.statline .lbl { font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:rgba(247,241,230,0.6); margin-top:8px; }
@media (max-width:720px){ .statline{ grid-template-columns:repeat(2,1fr); gap:24px; } .svc-row{ grid-template-columns:1fr; } .svc-row.rev .svc-row-media{ order:0; } }

/* soft image frame utility */
.img-frame { border-radius:22px; overflow:hidden; box-shadow:0 30px 60px -32px rgba(36,24,17,0.42); }

/* quote card */
.qcard { background:var(--cream); border:1px solid var(--sand); border-radius:20px; padding:26px 26px 24px; box-shadow:0 20px 44px -28px rgba(36,24,17,0.22); }
.qcard .stars { color:var(--terra-500); letter-spacing:2px; font-size:15px; }

/* process step card */
.pstep { background:var(--cream); border:1px solid var(--sand); border-radius:20px; padding:30px 26px; position:relative; overflow:hidden; }
.pstep .pn { font-family:'Fraunces','DM Serif Display',serif; font-size:54px; color:var(--sage-200); line-height:.8; }

/* subtle grain-free ambient band */
.band-dark { background:
  radial-gradient(120% 120% at 85% 0%, rgba(201,123,62,0.18) 0%, transparent 55%),
  var(--sage-900); color:#F7F1E6; }

/* ============================================================
   SIGNATURE DESERT-DUSK LAYER (2026 distinctive pass)
   Turns the "premium template" into a one-of-one Hypnotic Insight
   art direction: film grain, a living dusk horizon behind the hero
   headline, a scroll-driven "quiet the noise" settle, kinetic empathy
   type, magnetic buttons, and editorial horizon dividers.
   ============================================================ */

/* ---- 1. Film grain overlay (whole site, fixed, ultra-subtle) ---- */
/* A single tiled SVG noise, kept faint so it reads as "analogue warmth",
   not visual noise. It is the connective texture across every page. */
body::before{
  content:"";
  position:fixed; inset:0; z-index:1; pointer-events:none;
  opacity:.05; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:200px 200px;
}
/* keep grain BEHIND interactive UI (nav is z-50, modal z-100) but above flat sections */
.modal-backdrop, nav.fixed, #mobile-menu{ z-index:60; }
.modal-backdrop{ z-index:100; }
@media (prefers-reduced-motion: reduce){ body::before{ opacity:.035; } }

/* ---- 2. The living dusk horizon behind the hero headline ---- */
/* A slow warm amber "last light" glow that breathes on the horizon line,
   the signature calm-promise motion. Sits inside the hero scrim, over video. */
.hero-cine .hero-scrim::after{
  content:"";
  position:absolute; left:-10%; right:-10%; bottom:-6%;
  height:52%;
  background:
    radial-gradient(80% 120% at 50% 100%, rgba(231,183,124,0.42) 0%, rgba(201,123,62,0.16) 34%, transparent 66%);
  filter:blur(6px);
  opacity:.9;
  animation:duskbreath 11s ease-in-out infinite;
  pointer-events:none;
}
@keyframes duskbreath{
  0%,100%{ transform:translateY(6px) scaleY(1);   opacity:.72; }
  50%    { transform:translateY(-4px) scaleY(1.08); opacity:1; }
}
/* a hairline horizon that catches that light */
.hero-cine .hero-scrim::before{
  content:"";
  position:absolute; left:0; right:0; bottom:23%;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(231,183,124,0.55) 22%, rgba(247,241,230,0.5) 50%, rgba(231,183,124,0.55) 78%, transparent);
  opacity:.5; pointer-events:none;
}
@media (prefers-reduced-motion: reduce){ .hero-cine .hero-scrim::after{ animation:none; } }

/* ---- 3. "Quiet the noise" - scroll-settle signature ---- */
/* The hero starts faintly agitated (a grain shimmer + micro-jitter on the
   headline) and visibly SETTLES into stillness as the page scrolls.
   Driven by JS setting --settle 0..1 on <body>. */
#heroVideo{
  filter:saturate(calc(0.82 + 0.18*var(--settle,1))) contrast(calc(0.96 + 0.04*var(--settle,1)));
  transition:filter .6s linear;
}
.hero-cine .noise-veil{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  opacity:calc(0.16 * (1 - var(--settle,1)));
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  background-size:160px 160px;
  transition:opacity .5s linear;
  animation:noiseflick .9s steps(3) infinite;
}
@keyframes noiseflick{ 0%{background-position:0 0;} 100%{background-position:40px 24px;} }
.hero-title.settling{
  animation:settlejitter 2.6s cubic-bezier(.16,1,.3,1) 1;
}
@keyframes settlejitter{
  0%   { letter-spacing:.01em; transform:translateY(0); filter:blur(.4px); }
  22%  { transform:translate3d(-0.6px,0.4px,0); }
  44%  { transform:translate3d(0.5px,-0.3px,0); }
  70%  { transform:translate3d(-0.2px,0.15px,0); filter:blur(0); }
  100% { letter-spacing:-.015em; transform:none; }
}
@media (prefers-reduced-motion: reduce){
  .hero-cine .noise-veil{ display:none; }
  .hero-title.settling{ animation:none; }
  #heroVideo{ filter:none; }
}

/* ---- 4. Kinetic empathy statement (word-by-word warm rise) ---- */
.kinetic .kw{
  display:inline-block;
  opacity:0; transform:translateY(0.5em) rot(0.4deg);
  transition:opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.kinetic.in .kw{ opacity:1; transform:none; }

/* ---- 5. Magnetic / premium buttons ---- */
/* buttons already have btn-shine; add a soft press + magnetic transform hook */
button, .btn-mag, a.btn-mag{ will-change:transform; }
.btn-mag{ transition:transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, background-color .2s ease; }
.btn-mag:active{ transform:scale(.97); }

/* ---- 6. Editorial horizon divider between sections ---- */
.horizon-rule{ position:relative; height:0; }
.horizon-rule::before{
  content:""; position:absolute; left:50%; top:0; transform:translateX(-50%);
  width:min(1120px, 88%); height:1px;
  background:linear-gradient(90deg, transparent, rgba(40,30,21,0.14) 20%, rgba(201,123,62,0.5) 50%, rgba(40,30,21,0.14) 80%, transparent);
}
.band-dark .horizon-rule::before,
.hero-cine .horizon-rule::before{
  background:linear-gradient(90deg, transparent, rgba(247,241,230,0.14) 20%, rgba(231,183,124,0.6) 50%, rgba(247,241,230,0.14) 80%, transparent);
}

/* small terra "sun" marker used on dark stat/CTA bands */
.sun-mark{ display:inline-flex; align-items:center; gap:9px; }
.sun-mark::before{
  content:""; width:9px; height:9px; border-radius:50%;
  background:var(--amber-soft); box-shadow:0 0 0 5px rgba(231,183,124,0.22), 0 0 22px 4px rgba(231,183,124,0.5);
}

/* ---- 7. Refine designed service rows: give the number a dusk chip ---- */
.svc-num{ display:inline-flex; align-items:center; gap:9px; }
.svc-num::after{ content:""; width:34px; height:1px; background:linear-gradient(90deg,var(--terra-500),transparent); }

/* ---- 8. Quote cards: a soft opening-quote flourish ---- */
.qcard{ position:relative; }
.qcard::before{
  content:"\201C"; position:absolute; top:6px; right:18px;
  font-family:'Fraunces','DM Serif Display',serif; font-size:64px; line-height:1;
  color:var(--terra-500); opacity:.16;
}

/* ---- 9. Process steps: connect them with a dusk thread on desktop ---- */
@media (min-width:768px){
  .pstep-thread{ position:relative; }
  .pstep-thread::before{
    content:""; position:absolute; top:64px; left:12%; right:12%; height:1px; z-index:0;
    background:linear-gradient(90deg, transparent, rgba(201,123,62,0.45), transparent);
  }
  .pstep-thread > *{ position:relative; z-index:1; }
}

/* ---- 10. Cinematic CTA band (replaces bright-green gradients) ---- */
/* Reusable desert-dusk CTA surface so inner pages match the home hero mood. */
.cta-dusk{
  position:relative; overflow:hidden; color:#F7F1E6;
  background:
    radial-gradient(120% 130% at 15% 0%, rgba(201,123,62,0.30) 0%, transparent 52%),
    radial-gradient(120% 130% at 100% 100%, rgba(201,123,62,0.34) 0%, transparent 55%),
    linear-gradient(160deg, #2A1C13 0%, #1F140D 60%, #17100A 100%);
}
.cta-dusk::after{
  content:""; position:absolute; left:-10%; right:-10%; bottom:-30%;
  height:70%;
  background:radial-gradient(60% 100% at 50% 100%, rgba(231,183,124,0.28), transparent 70%);
  filter:blur(8px); pointer-events:none;
  animation:duskbreath 12s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){ .cta-dusk::after{ animation:none; } }

/* ============================================================
   ONE-OF-ONE LAYER v2 : "A layer beneath willpower"
   Bespoke home art direction: desert light living inside the
   letterforms, a breathing orb, an interactive index of concerns,
   editorial steps and frameless quotes. Fraunces + Instrument Sans.
   ============================================================ */

/* ---- shared deep dark field ---- */
.deep-field{
  position:relative; overflow:hidden; color:var(--cream);
  background:
    radial-gradient(120% 85% at 50% 118%, rgba(201,123,62,0.30) 0%, rgba(201,123,62,0.08) 36%, transparent 64%),
    radial-gradient(90% 70% at 85% -12%, rgba(201,123,62,0.20) 0%, transparent 60%),
    linear-gradient(180deg,#241811 0%, #1C130D 55%, #150E09 100%);
}
.deep-field + .deep-field{ border-top:1px solid rgba(247,241,230,0.07); }

/* ---- HERO: the desert shows through the letterforms ---- */
.hero-mask{
  min-height:calc(100vh - 72px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:88px 24px 96px;
}
/* Warm desert-sunrise photo behind the hero, with an espresso scrim so the
   type stays legible and the whole thing reads in the site's warm palette. */
.hero-mask::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:
    linear-gradient(180deg, rgba(21,14,9,0.58) 0%, rgba(28,19,13,0.42) 44%, rgba(21,14,9,0.86) 100%),
    radial-gradient(120% 92% at 50% 46%, transparent 28%, rgba(21,14,9,0.52) 100%),
    url('img/desert-sunrise.jpg');
  background-size:cover; background-position:50% 42%;
}
.hero-mask > *{ position:relative; z-index:1; }
.hero-kicker{
  font-size:12px; letter-spacing:0.26em; text-transform:uppercase; font-weight:600;
  color:rgba(247,241,230,0.62);
  display:inline-flex; align-items:center; gap:12px;
}
.hero-kicker::before, .hero-kicker::after{
  content:""; width:34px; height:1px;
  background:linear-gradient(90deg, transparent, rgba(231,183,124,0.6));
}
.hero-kicker::after{ transform:scaleX(-1); }
.mask-title{
  font-family:'Fraunces','DM Serif Display',Georgia,serif;
  font-optical-sizing:auto; font-weight:520;
  font-size:clamp(44px,8.4vw,122px);
  line-height:0.99; letter-spacing:-0.022em;
  margin-top:28px;
  overflow-wrap:normal; word-break:normal;
}
.mask-line{ display:block; }
/* Solid warm type now that the desert photo lives behind the whole hero */
.mask-fill{
  display:inline-block; padding:0.04em 0.06em;
  color:var(--cream); -webkit-text-fill-color:var(--cream);
  text-shadow:0 2px 34px rgba(0,0,0,0.5);
}
.mask-fill-b{ color:var(--amber-soft); -webkit-text-fill-color:var(--amber-soft); }
.mask-fill em{ font-style:italic; font-weight:430; }
/* soft light halo behind the headline so the type reads as lit, not pasted */
.hero-mask .mask-halo{
  position:absolute; left:50%; top:46%; transform:translate(-50%,-50%);
  width:min(1080px,92vw); height:44vh; pointer-events:none;
  background:radial-gradient(55% 60% at 50% 55%, rgba(231,183,124,0.17) 0%, rgba(201,123,62,0.07) 45%, transparent 72%);
  filter:blur(10px);
  animation:duskbreath 12s ease-in-out infinite;
}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){
  .mask-fill{ background:none; color:var(--cream); -webkit-text-fill-color:currentColor; filter:none; }
}
.hero-sub-2{
  margin-top:30px; max-width:56ch;
  font-size:clamp(16px,1.4vw,19px); line-height:1.65;
  color:rgba(247,241,230,0.78);
}
.hero-quiet-link{
  font-size:14px; color:rgba(247,241,230,0.68);
  text-decoration:underline; text-underline-offset:4px; text-decoration-color:rgba(231,183,124,0.5);
  transition:color .2s;
}
.hero-quiet-link:hover{ color:var(--cream); }
/* scroll cue */
.scroll-cue{ position:absolute; bottom:26px; left:50%; transform:translateX(-50%); width:1px; height:52px; overflow:hidden; }
.scroll-cue span{
  position:absolute; left:0; top:-52px; width:1px; height:52px;
  background:linear-gradient(180deg, transparent, rgba(231,183,124,0.85));
  animation:cuefall 2.6s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes cuefall{ 0%{ transform:translateY(0);} 55%{ transform:translateY(52px);} 100%{ transform:translateY(104px);} }
@media (prefers-reduced-motion: reduce){
  .scroll-cue span{ animation:none; transform:translateY(26px); }
  .hero-mask .mask-halo{ animation:none; }
}
@media (max-width:640px){ .hero-mask{ min-height:calc(100svh - 64px); padding:64px 18px 84px; } }

/* ---- BREATHING ORB ---- */
.breathe-band{ position:relative; }
.breathe-orb{ position:relative; width:min(380px,76vw); aspect-ratio:1/1; margin:0 auto; }
.breathe-orb .b-outer{
  position:absolute; inset:0; border-radius:50%;
  border:1px solid rgba(231,183,124,0.18);
}
.breathe-orb .b-rotor{ position:absolute; inset:4.5%; animation:orbspin 70s linear infinite; }
.breathe-orb .b-rotor svg{ width:100%; height:100%; display:block; }
@keyframes orbspin{ to{ transform:rotate(360deg); } }
.breathe-orb .b-scale{
  position:absolute; inset:13%; border-radius:50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(231,183,124,0.30) 0%, rgba(201,123,62,0.12) 44%, rgba(201,123,62,0.03) 62%, transparent 74%);
  box-shadow:
    inset 0 0 0 1.5px rgba(231,183,124,0.55),
    inset 0 0 42px rgba(231,183,124,0.14),
    0 0 70px rgba(201,123,62,0.22);
  transform:scale(0.62);
  will-change:transform;
}
.breathe-orb .b-core{
  position:absolute; left:50%; top:50%; width:7px; height:7px; border-radius:50%;
  transform:translate(-50%,-50%);
  background:var(--amber-soft);
  box-shadow:0 0 18px 4px rgba(231,183,124,0.55);
}
.breathe-cue{
  position:absolute; left:0; right:0; top:calc(100% + 22px); text-align:center;
  font-family:'Fraunces',serif; font-style:italic; font-weight:400;
  font-size:19px; color:rgba(247,241,230,0.85);
  transition:opacity .5s ease;
}
@media (prefers-reduced-motion: reduce){
  .breathe-orb .b-rotor{ animation:none; }
  .breathe-orb .b-scale{ transform:scale(0.84); }
}
/* slim uppercase fact line that closes the dark movement */
.fact-line{
  display:flex; flex-wrap:wrap; gap:12px 34px; justify-content:center;
  border-top:1px solid rgba(247,241,230,0.10);
  margin-top:84px; padding-top:30px;
  font-size:12px; letter-spacing:0.18em; text-transform:uppercase;
  color:rgba(247,241,230,0.60);
}
.fact-line b{ color:var(--amber-soft); font-weight:600; }

/* ---- THE INDEX (interactive list of concerns) ---- */
.idx{ border-top:1px solid rgba(40,30,21,0.16); }
.idx-row{
  position:relative; display:grid;
  grid-template-columns:58px 1fr auto; column-gap:20px; align-items:start;
  padding:26px 10px 28px; border-bottom:1px solid rgba(40,30,21,0.16);
  transition:background-color .35s ease;
}
.idx-num{
  font-family:'Fraunces',serif; font-size:14px; color:var(--terra-500);
  padding-top:14px; letter-spacing:0.08em;
}
.idx-name{
  font-family:'Fraunces','DM Serif Display',serif; font-optical-sizing:auto; font-weight:440;
  font-size:clamp(27px,3.4vw,46px); line-height:1.08; color:var(--ink);
  transition:transform .38s cubic-bezier(.16,1,.3,1), color .3s ease;
  display:block;
}
.idx-note{
  grid-column:2; display:block; margin-top:7px; max-width:58ch;
  font-size:15px; line-height:1.55; color:rgba(40,30,21,0.55);
  transition:color .3s ease;
}
.idx-arrow{
  grid-column:3; grid-row:1 / span 2; align-self:center;
  width:42px; height:42px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(40,30,21,0.22); color:var(--ink);
  transition:transform .35s cubic-bezier(.16,1,.3,1), background-color .3s, color .3s, border-color .3s;
}
.idx-row:hover{ background:rgba(234,220,199,0.5); }
.idx-row:hover .idx-name{ transform:translateX(16px); color:var(--terra-600); }
.idx-row:hover .idx-note{ color:rgba(40,30,21,0.75); }
.idx-row:hover .idx-arrow{ transform:translateX(4px) rotate(-38deg); background:var(--terra-600); border-color:var(--terra-600); color:var(--cream); }
@media (max-width:640px){
  .idx-row{ grid-template-columns:34px 1fr auto; column-gap:12px; padding:20px 4px 22px; }
  .idx-num{ padding-top:8px; font-size:12px; }
  .idx-arrow{ width:34px; height:34px; }
}
/* floating image preview that follows the cursor (desktop pointer only) */
.idx-preview{
  position:fixed; left:0; top:0; z-index:45; pointer-events:none;
  width:min(320px,25vw); aspect-ratio:4/3; border-radius:16px; overflow:hidden;
  opacity:0; transform:translate(-40px,-40px) scale(0.9);
  transition:opacity .28s ease;
  box-shadow:0 34px 70px -24px rgba(36,24,17,0.55);
}
.idx-preview img{ width:100%; height:100%; object-fit:cover; }
.idx-preview.on{ opacity:1; }
@media (hover:none), (pointer:coarse){ .idx-preview{ display:none; } }

/* ---- PULL QUOTE ---- */
.pullq{ text-align:center; position:relative; padding:8px 0; }
.pullq p{
  font-family:'Fraunces',serif; font-optical-sizing:auto; font-weight:420;
  font-size:clamp(29px,4.4vw,56px); line-height:1.14; letter-spacing:-0.015em; color:var(--ink);
}
.pullq p em{ font-style:italic; color:var(--terra-600); }
.pullq .pull-rule{
  width:76px; height:1px; margin:0 auto;
  background:linear-gradient(90deg, transparent, var(--terra-500), transparent);
}

/* ---- EDITORIAL STEPS (replaces step cards) ---- */
.steps-ed{ display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(40,30,21,0.16); }
.step-ed{ padding:36px 30px 10px 0; }
.step-ed + .step-ed{ border-left:1px solid rgba(40,30,21,0.12); padding-left:30px; }
.step-ed .sn{
  font-family:'Fraunces',serif; font-weight:500; font-size:clamp(56px,5.6vw,84px); line-height:1;
  color:transparent; -webkit-text-stroke:1.1px rgba(168,94,44,0.6);
}
@supports not (-webkit-text-stroke:1px black){ .step-ed .sn{ color:rgba(168,94,44,0.35); } }
.step-ed h3{ font-family:'Fraunces',serif; font-weight:470; font-size:26px; margin-top:18px; color:var(--ink); }
.step-ed p{ margin-top:12px; color:rgba(40,30,21,0.70); line-height:1.65; }
@media (max-width:767px){
  .steps-ed{ grid-template-columns:1fr; }
  .step-ed + .step-ed{ border-left:none; border-top:1px solid rgba(40,30,21,0.12); padding-left:0; margin-top:26px; }
}

/* ---- FRAMELESS EDITORIAL QUOTES (dark band) ---- */
.tq{ border-top:1px solid rgba(247,241,230,0.14); padding-top:24px; }
.tq .stars{ color:var(--amber-soft); letter-spacing:3px; font-size:13px; }
.tq blockquote p{
  margin-top:14px;
  font-family:'Fraunces',serif; font-style:italic; font-weight:380;
  font-size:clamp(18px,1.55vw,22px); line-height:1.55; color:rgba(247,241,230,0.92);
}
.tq figcaption{
  margin-top:16px; font-size:11.5px; letter-spacing:0.18em; text-transform:uppercase;
  color:rgba(247,241,230,0.55);
}

/* ============================================================
   REMEDIAL PASS 2026-07: anti-monotony section toolbox +
   warm editorial photo grade + inner-page type heroes.
   ============================================================ */

/* ---- A. Warm editorial color grade for content photographs ----
   Applies to every .jpg photo site-wide (logos / monograms / favicon
   are SVG, the hero letterform fill is a background-image, so both
   are excluded automatically). Subtle desaturate + warm espresso/
   terracotta shift so every photo sits in the same desert family. */
img[src$=".jpg"]{
  filter:saturate(.76) sepia(.24) hue-rotate(-6deg) saturate(1.12) contrast(.98) brightness(1.03);
}
img.img-no-grade{ filter:none; }

/* ---- B. Inner-page type hero (replaces title-on-photo heroes) ----
   Confident Fraunces type centered on the warm espresso band,
   same brand system as the home hero. */
.hero-page{
  position:relative;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:104px 24px 88px; min-height:46vh;
}
.hero-page .hero-page-halo{
  position:absolute; left:50%; top:56%; transform:translate(-50%,-50%);
  width:min(900px,94vw); height:62%;
  background:radial-gradient(55% 60% at 50% 55%, rgba(231,183,124,0.16) 0%, rgba(201,123,62,0.06) 45%, transparent 72%);
  filter:blur(10px); pointer-events:none;
  animation:duskbreath 12s ease-in-out infinite;
}
.hero-page-title{
  font-family:'Fraunces','DM Serif Display',Georgia,serif; font-optical-sizing:auto; font-weight:480;
  font-size:clamp(38px,5.6vw,76px); line-height:1.03; letter-spacing:-0.018em;
  color:var(--cream); margin-top:26px; max-width:22ch;
  overflow-wrap:normal; word-break:normal;
}
.hero-page-title em{ font-style:italic; font-weight:420; color:var(--amber-soft); }
.hero-page-sub{
  margin-top:22px; max-width:58ch;
  font-size:clamp(16px,1.4vw,19px); line-height:1.6; color:rgba(247,241,230,0.76);
}
.hero-page-rule{
  width:76px; height:1px; margin-top:36px;
  background:linear-gradient(90deg,transparent,rgba(231,183,124,.7),transparent);
}
@media (max-width:640px){ .hero-page{ padding:88px 20px 72px; } }
@media (prefers-reduced-motion: reduce){ .hero-page .hero-page-halo{ animation:none; } }

/* ---- C. Myth vs truth comparison sheet ---- */
.myth-sheet{ border-top:1px solid rgba(40,30,21,0.18); }
.myth-pair{
  display:grid; grid-template-columns:1fr 1fr; gap:14px 56px;
  padding:32px 6px; border-bottom:1px solid rgba(40,30,21,0.13); align-items:start;
}
.myth-lbl{
  display:block; font-size:11px; letter-spacing:.2em; text-transform:uppercase;
  font-weight:600; margin-bottom:10px;
}
.myth-lbl.is-myth{ color:rgba(40,30,21,0.45); }
.myth-lbl.is-true{ color:var(--terra-600); }
.myth-said{
  font-family:'Fraunces','DM Serif Display',serif; font-style:italic; font-weight:420;
  font-size:clamp(20px,2.3vw,29px); line-height:1.28; color:rgba(40,30,21,0.52);
}
.myth-said .strike{ position:relative; white-space:normal; }
.myth-said .strike::after{
  content:""; position:absolute; left:-2px; right:-2px; top:55%; height:2px;
  background:var(--terra-500); transform:rotate(-1.1deg); opacity:.85;
}
.myth-true{ font-size:16.5px; line-height:1.66; color:rgba(40,30,21,0.82); }
@media (max-width:700px){ .myth-pair{ grid-template-columns:1fr; padding:26px 2px; } }

/* ---- D. Overlapping image collage (editorial offset) ---- */
.collage-duo{ position:relative; padding-bottom:12%; }
.collage-duo .c-main{
  width:80%; aspect-ratio:4/5; border-radius:22px; overflow:hidden;
  box-shadow:0 34px 64px -30px rgba(36,24,17,.5);
}
.collage-duo .c-over{
  position:absolute; right:0; bottom:0; width:46%; aspect-ratio:1/1;
  border-radius:18px; overflow:hidden; border:6px solid var(--cream);
  box-shadow:0 24px 48px -24px rgba(36,24,17,.45);
}
.collage-duo img{ width:100%; height:100%; object-fit:cover; }

/* ---- E. Wide panorama frame + mode strip ---- */
.pan-frame{
  border-radius:24px; overflow:hidden; aspect-ratio:21/8;
  box-shadow:0 34px 70px -34px rgba(36,24,17,.45);
}
.pan-frame img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:640px){ .pan-frame{ aspect-ratio:4/3; } }
.mode-strip{ display:grid; grid-template-columns:1fr 1fr; border-top:1px solid rgba(40,30,21,.15); }
.mode-cell{ padding:28px 34px 6px 0; }
.mode-cell + .mode-cell{ border-left:1px solid rgba(40,30,21,.13); padding-left:34px; padding-right:0; }
.mode-cell h3{ font-family:'Fraunces','DM Serif Display',serif; font-weight:470; font-size:24px; color:var(--ink); }
.mode-cell p{ margin-top:9px; color:rgba(40,30,21,.68); line-height:1.6; font-size:15.5px; }
.mode-kicker{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; font-weight:600; color:var(--terra-600); display:block; margin-bottom:10px; }
@media (max-width:640px){
  .mode-strip{ grid-template-columns:1fr; }
  .mode-cell + .mode-cell{ border-left:none; border-top:1px solid rgba(40,30,21,.13); padding-left:0; margin-top:6px; }
}

/* ---- F. Fact strip (horizontal key-fact callout row, light bg) ---- */
.fact-strip{
  display:grid; grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(40,30,21,.16); border-bottom:1px solid rgba(40,30,21,.16);
}
.fact-cell{ padding:24px 28px 24px 0; }
.fact-cell + .fact-cell{ border-left:1px solid rgba(40,30,21,.12); padding-left:28px; }
.fact-cell .fk{ font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--terra-600); font-weight:600; }
.fact-cell .fv{ margin-top:9px; font-size:15.5px; line-height:1.6; color:rgba(40,30,21,.78); }
@media (max-width:700px){
  .fact-strip{ grid-template-columns:1fr; }
  .fact-cell{ padding-right:0; }
  .fact-cell + .fact-cell{ border-left:none; border-top:1px solid rgba(40,30,21,.12); padding-left:0; }
}

/* ============================================================
   2026-07 OWNER-FEEDBACK PASS
   1) Terracotta color-break band between the dark hero and the
      dark breathe band (owner: "back-to-back the same color").
   2) Calm premium motion layer: line-mask headline rises, media
      clip reveals, hairline draw-ins, image parallax hooks, soft
      hover microinteractions. All transform/opacity, all gated
      on prefers-reduced-motion.
   ============================================================ */

/* ---- 1. Terracotta fact band (the color break) ---- */
.terra-band{
  position:relative; overflow:hidden; text-align:center;
  padding:36px 0 38px;
  background:
    radial-gradient(130% 170% at 50% -50%, rgba(231,183,124,0.42) 0%, transparent 56%),
    linear-gradient(100deg, var(--terra-600) 0%, var(--terra-500) 55%, #B9692F 100%);
  color:var(--cream);
}
.terra-band::before, .terra-band::after{
  content:""; position:absolute; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(247,241,230,0.45), transparent);
}
.terra-band::before{ top:0; } .terra-band::after{ bottom:0; }
.tb-lede{
  font-family:'Fraunces','DM Serif Display',serif; font-style:italic; font-weight:420;
  font-size:clamp(19px,2.1vw,25px); line-height:1.3; color:var(--cream);
}
.tb-row{
  margin-top:16px;
  display:flex; flex-wrap:wrap; gap:10px 20px; align-items:center; justify-content:center;
  font-size:12px; letter-spacing:0.18em; text-transform:uppercase;
  color:rgba(247,241,230,0.9);
}
.tb-row b{ font-weight:700; color:#FFF6E8; }
.tb-sep{
  width:5px; height:5px; border-radius:50%;
  background:rgba(247,241,230,0.65);
  box-shadow:0 0 0 3px rgba(247,241,230,0.14);
}
@media (max-width:560px){ .tb-sep{ display:none; } .tb-row{ gap:8px 16px; } }

/* ---- 2a. Line-mask headline entrance ----
   motion.js splits display headings into .hl-mask > .hl-line pairs
   (one per <br> line). Lines rest below an overflow mask and rise
   when the heading's .reveal gains .in (existing observer). The
   mask carries descender padding so italic Fraunces never clips. */
.hl-mask{ display:block; overflow:hidden; padding-bottom:0.22em; margin-bottom:-0.22em; }
.hl-line{
  display:block; transform:none;
  transition:transform 1.05s cubic-bezier(.16,1,.3,1);
  will-change:transform;
}
.js-anim .reveal:not(.in) .hl-line{ transform:translateY(135%); }
/* the hero already ships real line spans - same treatment */
.mask-line{ overflow:hidden; padding-bottom:0.22em; margin-bottom:-0.22em; }
.js-anim .mask-title.reveal:not(.in) .mask-fill{ transform:translateY(135%); }
.mask-title .mask-fill{ transition:transform 1.25s cubic-bezier(.16,1,.3,1); will-change:transform; }
.mask-title .mask-line:nth-child(2) .mask-fill{ transition-delay:0.16s; }

/* ---- 2b. Media clip reveal (photos unveil inside their frame) ---- */
.js-anim .reveal-img:not(.in){ clip-path:inset(8% 6% 8% 6% round 22px); }
.reveal-img{ transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1), clip-path 1.05s cubic-bezier(.16,1,.3,1); }
.reveal-img.in{ clip-path:inset(0 0 0 0 round 0px); }

/* ---- 2c. Hairline draw-ins (rules draw across on enter) ---- */
.js-anim .pullq.reveal:not(.in) .pull-rule{ transform:scaleX(0); }
.pull-rule{ transition:transform 1.15s cubic-bezier(.16,1,.3,1) .15s; will-change:transform; }
.js-anim .reveal:not(.in) .hero-page-rule{ transform:scaleX(0); }
.hero-page-rule{ transition:transform 1.15s cubic-bezier(.16,1,.3,1) .2s; }
.rule-draw{ position:relative; border-top-color:transparent !important; }
.rule-draw::before{
  content:""; position:absolute; top:-1px; left:0; right:0; height:1px;
  background:rgba(40,30,21,0.16);
  transform:scaleX(0); transform-origin:left center;
  transition:transform 1.25s cubic-bezier(.16,1,.3,1);
}
.deep-field .rule-draw::before{ background:rgba(247,241,230,0.12); }
.rule-draw.in::before{ transform:scaleX(1); }

/* ---- 2d. Hero photo parallax (JS drives --hpar on .hero-mask) ---- */
.hero-mask::before{
  transform:translate3d(0, var(--hpar, 0px), 0) scale(1.12);
  will-change:transform;
}

/* ---- 2e. Soft hover microinteractions ---- */
details.bg-sand{ transition:background-color .3s ease; }
details.bg-sand:hover{ background-color:#E3D2B8; }
.step-ed .sn{ transition:-webkit-text-stroke-color .35s ease, color .35s ease; }
.step-ed:hover .sn{ -webkit-text-stroke-color:rgba(168,94,44,0.95); }
.mode-cell h3, .fact-cell .fk{ transition:color .3s ease; }
.mode-cell:hover h3{ color:var(--terra-600); }
.tq{ transition:transform .45s cubic-bezier(.16,1,.3,1); }
.tq:hover{ transform:translateY(-4px); }

@media (prefers-reduced-motion: reduce){
  .hl-line, .mask-title .mask-fill, .pull-rule, .hero-page-rule, .reveal-img{ transition:none !important; transform:none !important; }
  .js-anim .reveal-img:not(.in){ clip-path:none; }
  .rule-draw::before{ transition:none; transform:scaleX(1); }
  .hero-mask::before{ transform:none; }
}

/* ---- G. Mechanism pull-line (service pages) ---- */
.pull-line{
  font-family:'Fraunces','DM Serif Display',serif; font-optical-sizing:auto; font-weight:430;
  font-size:clamp(26px,3.4vw,44px); line-height:1.16; letter-spacing:-0.012em; color:var(--ink);
}
.pull-line em{ font-style:italic; color:var(--terra-600); }
