/* InnerViews Hypnotherapy bespoke type system: Newsreader (literary serif
   display with optical sizing) + Hanken Grotesk (clean grotesk body).
   Imported here so every page, including service and location subpages,
   inherits the voice. */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&family=Hanken+Grotesk:ital,wght@0,400..700;1,400..700&display=swap');

/* Quiet Interior. Shared styles + animations */
:root {
  --cream:   #FAF6F1;
  --sand:    #F1E9DC;
  --sage-50: #EEF2F6;
  --sage-200:#BCC9D6;
  --sage-500:#4E6C88;
  --sage-700:#33495F;
  --sage-900:#1E2C3A;
  --terra-400:#D8866C;
  --terra-500:#C4694A;
  --terra-600:#A8553A;
  --ink:     #2A2622;
  --glow:    #E4A98C;
}
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: 'Hanken Grotesk', '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: 'Newsreader', 'DM Serif Display', Georgia, serif; font-optical-sizing: auto; font-weight: 460; }
/* Editorial italic accent for the emphasized phrase inside a serif headline. */
.serif-accent { font-family: 'Newsreader', 'DM Serif Display', Georgia, serif; font-optical-sizing: auto; font-style: italic; font-weight: 420; color: var(--terra-500); }

/* Soft film grain overlay utility (legacy sections use .grain on dark bands). */
.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}
.grain > * { position: relative; z-index: 1; }

/* 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 drift (legacy hook, kept inert) */
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(8px, -8px) scale(1.02); }
}
.drift { animation: none; }

/* 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, 100, 70, 0.25); }

/* Contained image hover-zoom frame */
.img-frame { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -32px rgba(30,38,26,0.42); }
.img-frame > img { display: block; }
[class*="rounded"] > img { max-width: 100%; }
.overflow-hidden { overflow: hidden; }

/* Booking modal multi-step */
.modal-step.hidden { display: none; }

/* 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(43,56,38,0.62); 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 (component unused, neutralized color) */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sage-700);
  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: 'Hanken Grotesk', 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;}

/* ============================================================
   INNERVIEWS - bespoke premium design layer (2026 rebuild)
   Quiet-interior art direction: deep pine green + soft terracotta
   light + cream. "An inner view": rooms, windows, morning light.
   ============================================================ */

/* Editorial display scale */
.display { font-family: 'Newsreader', 'DM Serif Display', Georgia, serif; font-optical-sizing: auto; font-weight: 450; line-height: 1.04; letter-spacing: -0.012em; }
.display em, .serif em { font-style: italic; font-weight: 400; }
.eyebrow { font-family:'Hanken Grotesk','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(--glow); }

/* ---- Cinematic hero ---- */
.hero-cine { position:relative; min-height: 92vh; display:flex; align-items:flex-end; overflow:hidden; color:#FAF6F1; }
.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(20,26,17,0.30) 0%, rgba(20,26,17,0.52) 55%, rgba(20,26,17,0.82) 100%),
    linear-gradient(180deg, rgba(30,38,26,0.28) 0%, rgba(25,32,21,0.35) 60%, rgba(20,26,17,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(30,38,26,0.30) 0%, rgba(30,38,26,0.10) 32%, rgba(25,32,21,0.55) 72%, rgba(20,26,17,0.90) 100%),
    radial-gradient(120% 90% at 15% 100%, rgba(20,26,17,0.55) 0%, transparent 60%);
}
.hero-cine .wrap-hero { position:relative; z-index:2; width:100%; }
.hero-title { font-family:'Newsreader','DM Serif Display',Georgia,serif; font-optical-sizing:auto; font-weight:450; font-size:clamp(42px,6.6vw,86px); line-height:1.02; letter-spacing:-0.015em; text-shadow:0 2px 30px rgba(0,0,0,0.35); }
.hero-title em{ font-style:italic; font-weight:400; }
.hero-sub { font-size:clamp(17px,1.5vw,21px); line-height:1.55; color:rgba(250,246,241,0.9); max-width:56ch; }
.pill-hero { display:inline-flex; align-items:center; gap:9px; background:rgba(250,246,241,0.12); border:1px solid rgba(250,246,241,0.28); backdrop-filter:blur(6px); color:#FAF6F1; 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(--glow); box-shadow:0 0 0 4px rgba(228,169,140,0.25); }

/* ---- 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-head { max-width:64ch; }

/* ============================================================
   SIGNATURE QUIET-INTERIOR LAYER (one-of-one InnerViews pass)
   Film grain warmth, a breathing morning-light glow, kinetic
   empathy type, magnetic buttons, editorial hairline dividers.
   ============================================================ */

/* ---- 1. Film grain overlay (whole site, fixed, ultra-subtle) ---- */
body::before{
  content:"";
  position:fixed; inset:0; z-index:1; pointer-events:none;
  opacity:.045; 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;
}
.modal-backdrop, nav.fixed, #mobile-menu{ z-index:60; }
.modal-backdrop{ z-index:100; }
@media (prefers-reduced-motion: reduce){ body::before{ opacity:.03; } }

/* ---- 2. The living morning-light glow (signature calm motion) ---- */
.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(228,169,140,0.38) 0%, rgba(196,105,74,0.14) 34%, transparent 66%);
  filter:blur(6px);
  opacity:.9;
  animation:lightbreath 11s ease-in-out infinite;
  pointer-events:none;
}
@keyframes lightbreath{
  0%,100%{ transform:translateY(6px) scaleY(1);   opacity:.72; }
  50%    { transform:translateY(-4px) scaleY(1.08); opacity:1; }
}
.hero-cine .hero-scrim::before{
  content:"";
  position:absolute; left:0; right:0; bottom:23%;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(228,169,140,0.5) 22%, rgba(250,246,241,0.5) 50%, rgba(228,169,140,0.5) 78%, transparent);
  opacity:.45; pointer-events:none;
}
@media (prefers-reduced-motion: reduce){ .hero-cine .hero-scrim::after{ animation:none; } }

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

/* ---- 4. Magnetic / premium buttons ---- */
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); }

/* ---- 5. 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(42,38,34,0.14) 20%, rgba(196,105,74,0.5) 50%, rgba(42,38,34,0.14) 80%, transparent);
}
.deep-field .horizon-rule::before,
.hero-cine .horizon-rule::before{
  background:linear-gradient(90deg, transparent, rgba(250,246,241,0.14) 20%, rgba(228,169,140,0.6) 50%, rgba(250,246,241,0.14) 80%, transparent);
}

/* small warm "ember" 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(--glow); box-shadow:0 0 0 5px rgba(228,169,140,0.22), 0 0 22px 4px rgba(228,169,140,0.5);
}

/* ---- Cinematic CTA band (dark pine dusk surface) ---- */
.cta-dusk{
  position:relative; overflow:hidden; color:#FAF6F1;
  background:
    radial-gradient(120% 130% at 15% 0%, rgba(196,105,74,0.28) 0%, transparent 52%),
    radial-gradient(120% 130% at 100% 100%, rgba(196,105,74,0.32) 0%, transparent 55%),
    linear-gradient(160deg, #26301F 0%, #1D2519 60%, #161C13 100%);
}
.cta-dusk::after{
  content:""; position:absolute; left:-10%; right:-10%; bottom:-30%;
  height:70%;
  background:radial-gradient(60% 100% at 50% 100%, rgba(228,169,140,0.26), transparent 70%);
  filter:blur(8px); pointer-events:none;
  animation:lightbreath 12s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){ .cta-dusk::after{ animation:none; } }

/* ============================================================
   ONE-OF-ONE LAYER : "Real change starts with an inner view"
   The quiet room lives behind the letterforms, a breathing ring,
   an interactive index of concerns, editorial steps.
   ============================================================ */

/* ---- shared deep dark field ---- */
.deep-field{
  position:relative; overflow:hidden; color:var(--cream);
  background:
    radial-gradient(120% 85% at 50% 118%, rgba(196,105,74,0.28) 0%, rgba(196,105,74,0.07) 36%, transparent 64%),
    radial-gradient(90% 70% at 85% -12%, rgba(196,105,74,0.18) 0%, transparent 60%),
    linear-gradient(180deg,#1E2C3A 0%, #232D1F 55%, #1B2318 100%);
}
.deep-field + .deep-field{ border-top:1px solid rgba(250,246,241,0.07); }

/* ---- HERO: the quiet room behind 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;
}
/* The sunlit consulting room behind the hero, with a pine scrim so the
   type stays legible and the whole thing reads in the brand palette. */
.hero-mask::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:
    linear-gradient(180deg, rgba(20,26,17,0.60) 0%, rgba(25,32,21,0.44) 44%, rgba(20,26,17,0.86) 100%),
    radial-gradient(120% 92% at 50% 46%, transparent 28%, rgba(20,26,17,0.52) 100%),
    url('img/studio-main.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(250,246,241,0.62);
  display:inline-flex; align-items:center; gap:12px;
  overflow-wrap:normal; word-break:normal;
}
@media (max-width:640px){
  .hero-kicker{ display:block; font-size:10.5px; letter-spacing:0.18em; max-width:92vw; text-align:center; line-height:1.7; }
  .hero-kicker::before, .hero-kicker::after{ display:none; }
}
.hero-kicker::before, .hero-kicker::after{
  content:""; width:34px; height:1px;
  background:linear-gradient(90deg, transparent, rgba(228,169,140,0.6));
}
.hero-kicker::after{ transform:scaleX(-1); }
.mask-title{
  font-family:'Newsreader','DM Serif Display',Georgia,serif;
  font-optical-sizing:auto; font-weight:470;
  font-size:clamp(44px,8vw,116px);
  line-height:1.01; letter-spacing:-0.02em;
  margin-top:28px;
  overflow-wrap:normal; word-break:normal;
}
.mask-line{ display:block; }
.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(--glow); -webkit-text-fill-color:var(--glow); }
.mask-fill em{ font-style:italic; font-weight:420; }
/* 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(228,169,140,0.16) 0%, rgba(196,105,74,0.07) 45%, transparent 72%);
  filter:blur(10px);
  animation:lightbreath 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(250,246,241,0.8);
}
.hero-quiet-link{
  font-size:14px; color:rgba(250,246,241,0.68);
  text-decoration:underline; text-underline-offset:4px; text-decoration-color:rgba(228,169,140,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(228,169,140,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 RING ---- */
.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(228,169,140,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(228,169,140,0.28) 0%, rgba(196,105,74,0.11) 44%, rgba(196,105,74,0.03) 62%, transparent 74%);
  box-shadow:
    inset 0 0 0 1.5px rgba(228,169,140,0.55),
    inset 0 0 42px rgba(228,169,140,0.14),
    0 0 70px rgba(196,105,74,0.2);
  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(--glow);
  box-shadow:0 0 18px 4px rgba(228,169,140,0.55);
}
.breathe-cue{
  position:absolute; left:0; right:0; top:calc(100% + 22px); text-align:center;
  font-family:'Newsreader',serif; font-style:italic; font-weight:400;
  font-size:19px; color:rgba(250,246,241,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 a dark movement */
.fact-line{
  display:flex; flex-wrap:wrap; gap:12px 34px; justify-content:center;
  border-top:1px solid rgba(250,246,241,0.10);
  margin-top:84px; padding-top:30px;
  font-size:12px; letter-spacing:0.18em; text-transform:uppercase;
  color:rgba(250,246,241,0.60);
}
.fact-line b{ color:var(--glow); font-weight:600; }

/* ---- THE INDEX (interactive list of concerns) ---- */
.idx{ border-top:1px solid rgba(42,38,34,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(42,38,34,0.16);
  transition:background-color .35s ease;
}
.idx-num{
  font-family:'Newsreader',serif; font-size:14px; color:var(--terra-500);
  padding-top:14px; letter-spacing:0.08em;
}
.idx-name{
  font-family:'Newsreader','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(42,38,34,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(42,38,34,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(241,233,220,0.6); }
.idx-row:hover .idx-name{ transform:translateX(16px); color:var(--sage-700); }
.idx-row:hover .idx-note{ color:rgba(42,38,34,0.75); }
.idx-row:hover .idx-arrow{ transform:translateX(4px) rotate(-38deg); background:var(--sage-700); border-color:var(--sage-700); 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(30,38,26,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:'Newsreader',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 ---- */
.steps-ed{ display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(42,38,34,0.16); }
.step-ed{ padding:36px 30px 10px 0; }
.step-ed + .step-ed{ border-left:1px solid rgba(42,38,34,0.12); padding-left:30px; }
.step-ed .sn{
  font-family:'Newsreader',serif; font-weight:500; font-size:clamp(56px,5.6vw,84px); line-height:1;
  color:transparent; -webkit-text-stroke:1.1px rgba(79,104,73,0.65);
}
@supports not (-webkit-text-stroke:1px black){ .step-ed .sn{ color:rgba(79,104,73,0.4); } }
.step-ed h3{ font-family:'Newsreader',serif; font-weight:470; font-size:26px; margin-top:18px; color:var(--ink); }
.step-ed p{ margin-top:12px; color:rgba(42,38,34,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(42,38,34,0.12); padding-left:0; margin-top:26px; }
}

/* ---- FRAMELESS EDITORIAL NOTES (dark band; honest, no invented reviews) ---- */
.tq{ border-top:1px solid rgba(250,246,241,0.14); padding-top:24px; }
.tq .tq-k{ color:var(--glow); letter-spacing:0.2em; font-size:11.5px; text-transform:uppercase; font-weight:600; }
.tq blockquote p, .tq .tq-body{
  margin-top:14px;
  font-family:'Newsreader',serif; font-style:italic; font-weight:400;
  font-size:clamp(18px,1.55vw,22px); line-height:1.55; color:rgba(250,246,241,0.92);
}
.tq figcaption, .tq .tq-cap{
  margin-top:16px; font-size:11.5px; letter-spacing:0.18em; text-transform:uppercase;
  color:rgba(250,246,241,0.55);
}
.tq{ transition:transform .45s cubic-bezier(.16,1,.3,1); }
.tq:hover{ transform:translateY(-4px); }

/* ============================================================
   Anti-monotony section toolbox + warm editorial photo grade +
   inner-page type heroes.
   ============================================================ */

/* ---- A. Soft editorial color grade for content photographs ----
   Subtle desaturate + gentle warmth so every photo sits in the same
   calm cream/sage family. */
img[src$=".jpg"]{
  filter:saturate(.86) sepia(.10) contrast(.98) brightness(1.02);
}
img.img-no-grade{ filter:none; }

/* ---- B. Inner-page type 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(228,169,140,0.15) 0%, rgba(196,105,74,0.06) 45%, transparent 72%);
  filter:blur(10px); pointer-events:none;
  animation:lightbreath 12s ease-in-out infinite;
}
.hero-page-title{
  font-family:'Newsreader','DM Serif Display',Georgia,serif; font-optical-sizing:auto; font-weight:460;
  font-size:clamp(38px,5.6vw,76px); line-height:1.04; letter-spacing:-0.016em;
  color:var(--cream); margin-top:26px; max-width:22ch;
  overflow-wrap:normal; word-break:normal;
}
.hero-page-title em{ font-style:italic; font-weight:400; color:var(--glow); }
.hero-page-sub{
  margin-top:22px; max-width:58ch;
  font-size:clamp(16px,1.4vw,19px); line-height:1.6; color:rgba(250,246,241,0.78);
}
.hero-page-rule{
  width:76px; height:1px; margin-top:36px;
  background:linear-gradient(90deg,transparent,rgba(228,169,140,.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(42,38,34,0.18); }
.myth-pair{
  display:grid; grid-template-columns:1fr 1fr; gap:14px 56px;
  padding:32px 6px; border-bottom:1px solid rgba(42,38,34,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(42,38,34,0.45); }
.myth-lbl.is-true{ color:var(--terra-600); }
.myth-said{
  font-family:'Newsreader','DM Serif Display',serif; font-style:italic; font-weight:420;
  font-size:clamp(20px,2.3vw,29px); line-height:1.28; color:rgba(42,38,34,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(42,38,34,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(30,38,26,.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(30,38,26,.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(30,38,26,.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(42,38,34,.15); }
.mode-cell{ padding:28px 34px 6px 0; }
.mode-cell + .mode-cell{ border-left:1px solid rgba(42,38,34,.13); padding-left:34px; padding-right:0; }
.mode-cell h3{ font-family:'Newsreader','DM Serif Display',serif; font-weight:470; font-size:24px; color:var(--ink); }
.mode-cell p{ margin-top:9px; color:rgba(42,38,34,.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; }
.mode-cell h3, .fact-cell .fk{ transition:color .3s ease; }
.mode-cell:hover h3{ color:var(--sage-700); }
@media (max-width:640px){
  .mode-strip{ grid-template-columns:1fr; }
  .mode-cell + .mode-cell{ border-left:none; border-top:1px solid rgba(42,38,34,.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(42,38,34,.16); border-bottom:1px solid rgba(42,38,34,.16);
}
.fact-cell{ padding:24px 28px 24px 0; }
.fact-cell + .fact-cell{ border-left:1px solid rgba(42,38,34,.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(42,38,34,.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(42,38,34,.12); padding-left:0; }
}

/* ---- 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(228,169,140,0.42) 0%, transparent 56%),
    linear-gradient(100deg, var(--terra-600) 0%, var(--terra-500) 55%, #B25E42 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(250,246,241,0.45), transparent);
}
.terra-band::before{ top:0; } .terra-band::after{ bottom:0; }
.tb-lede{
  font-family:'Newsreader','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(250,246,241,0.9);
}
.tb-row b{ font-weight:700; color:#FFF8F0; }
.tb-sep{
  width:5px; height:5px; border-radius:50%;
  background:rgba(250,246,241,0.65);
  box-shadow:0 0 0 3px rgba(250,246,241,0.14);
}
@media (max-width:560px){ .tb-sep{ display:none; } .tb-row{ gap:8px 16px; } }

/* ---- Line-mask headline entrance ---- */
.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%); }
.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; }

/* ---- 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); }

/* ---- 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(42,38,34,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(250,246,241,0.12); }
.rule-draw.in::before{ transform:scaleX(1); }

/* ---- 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;
}

/* ---- Soft hover microinteractions ---- */
details.bg-sand{ transition:background-color .3s ease; }
details.bg-sand:hover{ background-color:#E7DFD2; }
.step-ed .sn{ transition:-webkit-text-stroke-color .35s ease, color .35s ease; }
.step-ed:hover .sn{ -webkit-text-stroke-color:rgba(79,104,73,0.95); }

@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:'Newsreader','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); }
