/* =========================================================== 0 · tokens
   Dental Castle palette, taken straight from dentalcastle.css and pushed
   into a night register: the gold is the brand yellow, the greys are the
   brand sign-panel greys, the black is the page. */
:root{
  --ink:#08090b;            /* page black */
  --ink-2:#0d0f12;          /* raised black */
  --ink-3:#141519;          /* card black */
  --ink-rgb:6,7,9;          /* the page colour for scrims and glass (theme.ink can turn it green) */
  --bone:#f2f0ea;           /* enamel white */
  --bone-dim:#b5b3ab;
  --muted:#7e7c76;
  --line:rgba(242,240,234,.13);
  --line-soft:rgba(242,240,234,.07);
  /* --gold is the site's accent: Dental Castle's brand yellow by default,
     overridden per site by the theme block each page carries in <head> */
  --gold:#f5d000;           /* --brand-yellow */
  --gold-rgb:245,208,0;
  --gold-deep:#e6c200;      /* --brand-yellow-deep */
  --gold-soft:#fff6bf;      /* --brand-yellow-soft */
  --gold-text:var(--gold);  /* the accent as text (a white page darkens it to read) */
  --panel:#8f8f8f;          /* --brand-panel-grey */
  --pad:clamp(20px,3.4vw,56px);
  --nav-h:82px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-io:cubic-bezier(.65,0,.35,1);
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --sans:'Onest',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;
}
*,*::before,*::after{ box-sizing:border-box }
html{ -webkit-text-size-adjust:100%; overflow-x:clip; }   /* nothing may widen the page past the screen */
body{
  margin:0; background:var(--ink); color:var(--bone);
  font-family:var(--sans); font-weight:300; font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
body.is-locked{ overflow:hidden; height:100vh; }
::selection{ background:var(--gold); color:#1a1a1a; }
img{ max-width:100%; display:block }
a{ color:inherit; text-decoration:none }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer }
:focus-visible{ outline:1px solid var(--gold); outline-offset:3px; }
.sr{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip{
  position:fixed; top:8px; left:8px; z-index:120; padding:10px 16px;
  background:var(--gold); color:#1a1a1a; font-size:11px; letter-spacing:.16em;
  text-transform:uppercase; transform:translateY(-200%); transition:transform .3s var(--ease);
}
.skip:focus{ transform:none }

/* =========================================================== 1 · layers
   #gl is the live world. Everything editorial sits in .page above it, and
   the grain / vignette / warm wash ride on top of both. The foreground
   silhouettes get their own plane (#fg-sky) so a cut-out can pass in front
   of the nav and the chapter rail. */
#gl{ position:fixed; inset:0; width:100%; height:100%; display:block; z-index:0; background:var(--ink); }
#glfallback{
  position:fixed; inset:0; z-index:0; display:none;
  background:
    radial-gradient(60% 42% at 50% 78%, rgba(var(--gold-rgb),.16), transparent 70%),
    radial-gradient(48% 40% at 50% 16%, rgba(255,246,191,.13), transparent 72%),
    linear-gradient(#05060a 0%, var(--ink-2) 46%, var(--ink-3) 100%);
}
body.no-gl #glfallback{ display:block }
body.no-gl #gl{ display:none }
#wash{
  position:fixed; inset:0; z-index:54; pointer-events:none; opacity:.55;
  mix-blend-mode:screen; transition:opacity 1.2s linear;
  background:radial-gradient(38% 30% at var(--wash-x,50%) var(--wash-y,34%), rgba(var(--gold-rgb),.16), transparent 72%);
}
#vignette{
  position:fixed; inset:0; z-index:55; pointer-events:none;
  background:radial-gradient(124% 94% at 50% 42%, transparent 40%, rgba(var(--ink-rgb),.62) 100%);
}
#grain{
  position:fixed; inset:-1px; z-index:60; pointer-events:none;
  opacity:.05; mix-blend-mode:overlay;
  background-repeat:repeat; background-size:170px 170px;
}
.page{ position:relative; z-index:10 }

/* =========================================================== 2 · type */
.eyebrow{
  font-size:11px; font-weight:500; letter-spacing:.2em; text-transform:uppercase;
  color:var(--bone-dim); text-shadow:0 1px 16px rgba(var(--ink-rgb),.9);
}
h1,h2,h3{ font-weight:400; margin:0; letter-spacing:-.005em }
.display{
  font-family:var(--serif); text-transform:uppercase; line-height:1.04;
  letter-spacing:.005em; font-weight:500; text-shadow:0 2px 34px rgba(var(--ink-rgb),.74);
}
.h-hero{ font-size:clamp(34px,5.2vw,74px) }
.h-sec{ font-size:clamp(31px,4.4vw,66px) }
.gold{ color:var(--gold-text) }
.body-lg{ font-size:clamp(15px,1.12vw,18px); line-height:1.72; color:#dcdad2; text-shadow:0 1px 20px rgba(var(--ink-rgb),.88) }
.body{ font-size:15px; line-height:1.7; color:#bdbbb3; text-shadow:0 1px 18px rgba(var(--ink-rgb),.85) }
.num{ font-family:var(--serif); font-size:clamp(30px,2.8vw,44px); font-weight:500; letter-spacing:-.01em; color:var(--bone); font-variant-numeric:lining-nums tabular-nums }
.rule{ height:1px; background:var(--line); border:0; margin:0 }
.chapno{
  font-size:11px; font-weight:500; letter-spacing:.24em; color:var(--gold-text); text-transform:uppercase;
  font-variant-numeric:tabular-nums;
}

/* =========================================================== 3 · reveal */
[data-rv]{ opacity:0 }
[data-rv="up"]{ transform:translate3d(0,26px,0) }
[data-rv="fade"]{ transform:none }
[data-rv].rv-in{
  opacity:1; transform:none;
  transition:opacity .9s var(--ease-out), transform 1.05s var(--ease-out);
}
.word-mask{ display:inline-block; overflow:hidden; vertical-align:top }
.word{
  display:inline-block; opacity:0; transform:translate3d(0,112%,0);
  will-change:transform,opacity;
  transition:transform .84s var(--ease-out), opacity .5s var(--ease-out);
  transition-delay:var(--word-delay,0ms);
}
.word-reveal.rv-in .word{ opacity:1; transform:none }

/* =========================================================== 4 · preloader */
#pre{
  position:fixed; inset:0; z-index:100; background:var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .8s var(--ease), visibility .8s;
}
#pre.done{ opacity:0; visibility:hidden; pointer-events:none }
.pre-in{ width:min(420px,74vw); text-align:center }
.pre-mark{ margin:0 auto 24px; width:46px; height:46px; opacity:.92 }
.pre-word{ font-family:var(--serif); font-size:13px; letter-spacing:.44em; text-transform:uppercase; color:var(--bone-dim); margin-bottom:20px }
.pre-bar{ position:relative; height:1px; background:rgba(242,240,234,.14); overflow:hidden }
.pre-bar i{ position:absolute; inset:0 100% 0 0; background:var(--gold); transition:right .35s linear }
.pre-meta{
  display:flex; justify-content:space-between; margin-top:12px;
  font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:var(--muted);
}
.pre-meta b{ font-weight:500; color:var(--bone-dim); font-variant-numeric:tabular-nums }

/* =========================================================== 5 · nav */
.nav{
  /* width from --vw, not right:0 — the page's own horizontal overflow makes
     the initial containing block wider than the screen and carries the
     burger off the right edge on a phone. */
  position:fixed; top:0; left:0; width:var(--vw,100%); height:var(--nav-h); z-index:50;
  display:flex; align-items:center; gap:22px; padding:0 var(--pad);
  transition:transform .55s var(--ease);
}
.nav::before{
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:rgba(var(--ink-rgb),.66);
  backdrop-filter:blur(14px) saturate(1.1); -webkit-backdrop-filter:blur(14px) saturate(1.1);
  opacity:0; transition:opacity .5s linear;
}
.nav.stuck::before{ opacity:1 }
.nav::after{
  content:''; position:absolute; left:var(--pad); right:var(--pad); bottom:0; height:1px;
  background:var(--line-soft); opacity:0; transition:opacity .5s;
}
.nav.stuck::after{ opacity:1 }
.nav.hide{ transform:translate3d(0,-101%,0) }
.brand{ display:flex; align-items:center; gap:11px; flex:0 0 auto }
.brand svg{ width:30px; height:30px; display:block }
.brand img{ width:var(--nav-logo-w,var(--nav-logo,30px)); height:var(--nav-logo,30px); display:block; object-fit:contain; border-radius:6px }
body.hero-photo .nav:not(.stuck):not(.menu-open) .brand img{ filter:drop-shadow(0 1px 6px rgba(0,0,0,.35)) }
.brand-tx{ display:flex; flex-direction:column; line-height:1; gap:4px }
.brand-tx b{ font-family:var(--serif); font-size:13px; font-weight:500; letter-spacing:.24em; text-transform:uppercase }
.brand-tx i{ font-style:normal; font-size:8px; letter-spacing:.3em; color:var(--muted); text-transform:uppercase }
.nav-links{ display:flex; gap:clamp(16px,2.4vw,42px); margin-left:auto }
.nav-link{
  position:relative; font-size:11px; font-weight:500; letter-spacing:.2em; text-transform:uppercase;
  color:var(--bone-dim); display:block; height:15px; line-height:15px; overflow:hidden;
}
.nav-link span{ display:block; height:15px; line-height:15px; transition:transform .55s var(--ease-out), color .3s }
.nav-link .alt{ position:absolute; inset:0; transform:translate3d(0,100%,0); color:var(--bone); letter-spacing:.3em }
.nav-link:hover span{ transform:translate3d(0,-100%,0) }
.nav-link:hover .alt{ transform:none }
.nav-link.on{ color:var(--bone) }
.nav-link.on::after{ content:''; position:absolute; left:0; bottom:0; width:100%; height:1px; background:var(--gold) }
.nav-drop{ position:relative; display:flex; flex:none }
.nav-drop > .nav-link{ flex:none; white-space:nowrap; overflow:visible; clip-path:inset(0 -2em) }   /* the wider hover text may spill sideways, not up or down */
.nav-drop__menu{ position:absolute; top:calc(100% + 10px); left:50%; transform:translate(-50%,6px); display:grid; min-width:160px; padding:6px;
  background:rgba(14,14,16,.96); border:1px solid rgba(255,255,255,.12); box-shadow:0 18px 40px rgba(0,0,0,.35);
  opacity:0; visibility:hidden; transition:opacity .2s, transform .2s, visibility .2s; z-index:5 }
.nav-drop__menu::before{ content:''; position:absolute; left:0; right:0; top:-12px; height:12px }
.nav-drop__menu a{ padding:10px 14px; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--bone); text-decoration:none; white-space:nowrap }
.nav-drop__menu a:hover, .nav-drop__menu a:focus-visible{ color:var(--gold) }
.nav-drop:hover .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu{ opacity:1; visibility:visible; transform:translate(-50%,0) }
.page-light .nav-drop__menu{ background:#fff; border-color:rgba(0,0,0,.08); box-shadow:0 18px 40px rgba(0,0,0,.12) }
.page-light .nav-drop__menu a{ color:#2a2d33 }
.nav-cta{
  margin-left:clamp(14px,2vw,30px); padding:11px 20px; flex:0 0 auto;
  border:1px solid rgba(var(--gold-rgb),.5); color:var(--gold-text);
  font-size:10px; font-weight:500; letter-spacing:.2em; text-transform:uppercase;
  transition:background .4s var(--ease), color .4s var(--ease);
}
.nav-cta:hover{ background:var(--gold); color:#1a1a1a }
.nav-burger{ display:none; margin-left:auto; width:26px; height:16px; position:relative; flex:0 0 auto }
.nav-burger i{ position:absolute; right:0; height:1.5px; background:var(--bone); transition:width .45s var(--ease-out), transform .45s var(--ease-out) }
.nav-burger i:nth-child(1){ top:4px; width:26px }
.nav-burger i:nth-child(2){ top:11px; width:17px }
.nav.menu-open .nav-burger i:nth-child(1){ transform:translateY(3.5px) rotate(45deg) }
.nav.menu-open .nav-burger i:nth-child(2){ width:26px; transform:translateY(-3.5px) rotate(-45deg) }
.sheet{
  position:fixed; inset:0; z-index:49; background:rgba(var(--ink-rgb),.96);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  display:flex; flex-direction:column; justify-content:center; gap:6px;
  padding:var(--nav-h) var(--pad) var(--pad);
  opacity:0; visibility:hidden; transition:opacity .45s var(--ease), visibility .45s;
}
.sheet.open{ opacity:1; visibility:visible }
.sheet a{
  font-family:var(--serif); font-size:clamp(28px,8vw,44px); text-transform:uppercase;
  padding:10px 0; border-bottom:1px solid var(--line-soft);
}
.sheet a small{ display:block; font-family:var(--sans); font-size:10px; letter-spacing:.24em; color:var(--gold-text); margin-bottom:4px }

/* =========================================================== 6 · hero */
.hero{ position:relative; min-height:100svh; padding:0 var(--pad); display:flex; flex-direction:column }
.hero::before{
  content:''; position:absolute; left:0; right:0; top:0; height:44%; pointer-events:none;
  background:linear-gradient(rgba(var(--ink-rgb),.74), rgba(var(--ink-rgb),.34) 46%, transparent);
}
/* the causeway is the brightest thing in the scene and it lands exactly
   where the chapter index sits — hold it back */
.hero::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:38%; pointer-events:none;
  background:linear-gradient(transparent, rgba(var(--ink-rgb),.42) 44%, rgba(var(--ink-rgb),.8));
}
.hero-top{ padding-top:calc(var(--nav-h) + clamp(10px,2.4vh,32px)); max-width:min(660px,52vw); position:relative; z-index:2 }
.hero-top .eyebrow{ display:flex; align-items:center; gap:10px; margin-bottom:22px }
.hero-top .eyebrow .dot{ width:5px; height:5px; border-radius:50%; background:var(--gold); box-shadow:0 0 12px var(--gold) }
.hero h1{ margin-bottom:20px }
.hero-sub{ max-width:400px; text-shadow:0 1px 26px rgba(var(--ink-rgb),.95) }
.hero-acts{ display:flex; flex-wrap:wrap; gap:12px; margin-top:24px }
.btn{
  display:inline-flex; align-items:center; gap:10px; padding:15px 26px;
  font-size:11px; font-weight:500; letter-spacing:.18em; text-transform:uppercase;
  transition:background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn-gold{ background:var(--gold); color:#1a1a1a }
.btn-gold:hover{ background:var(--gold-soft) }
.btn-ghost{ border:1px solid var(--line); color:var(--bone) }
.btn-ghost:hover{ border-color:var(--gold); color:var(--gold-text) }
.hero-spacer{ flex:1 1 auto; min-height:clamp(40px,8vh,120px) }
.hero-foot{ padding-bottom:clamp(22px,4.2vh,44px); position:relative; z-index:2 }
.hero-cue{
  display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-bottom:16px;
  font-size:10px; letter-spacing:.28em; text-transform:uppercase; color:var(--bone-dim);
}
.hero-cue .track{ width:54px; height:1px; background:var(--line); position:relative; overflow:hidden }
.hero-cue .track i{ position:absolute; inset:0; background:var(--bone); transform-origin:left; animation:cue 2.8s var(--ease-io) infinite }
@keyframes cue{ 0%{transform:scaleX(0)} 45%{transform:scaleX(1)} 100%{transform:scaleX(1);opacity:0} }
.chapters{
  display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(12px,2.2vw,38px);
  border-top:1px solid var(--line); padding-top:18px;
}
.chapter{ text-align:left; display:block }
.chapter b{ display:block; font-size:11px; letter-spacing:.24em; color:var(--gold-text); font-weight:500; margin-bottom:8px; font-variant-numeric:tabular-nums }
.chapter span{ display:block; font-family:var(--serif); font-size:clamp(13px,1.15vw,17px); text-transform:uppercase; color:var(--bone-dim); transition:color .4s }
.chapter:hover span{ color:var(--bone) }

/* ---- the hero logo (theme heroLogo): the brand's own mark, big enough
   to read, on the eyebrow's line */
.hero-brand{ display:flex; align-items:center; flex-wrap:wrap; gap:12px 18px; margin-bottom:clamp(14px,2.4vh,24px) }
.hero-brand .eyebrow{ margin:0 }
/* the logo takes a line, so the title gives a little back */
.hero-brand ~ .h-hero{ font-size:clamp(32px,4.4vw,62px); max-width:11em }
.hero-logo{ display:block; width:auto; flex:none; box-shadow:0 14px 40px rgba(var(--ink-rgb),.45) }
.hero-logo--card{ height:clamp(60px,8.4vh,76px); border-radius:14px; background:#fff; padding:3px }
.hero-logo--plate{ height:clamp(38px,5.6vh,52px); border-radius:4px; border:1px solid rgba(236,232,222,.14) }
@media (max-width:760px){ .hero-logo--card{ height:58px; border-radius:12px } .hero-logo--plate{ height:36px } }

/* ---- the wordmark hero (theme heroWordmark): the brand's giant letters
   stand in the 3D world, a hedge in front of their feet, leaves drifting
   across; a vertical word and the work reel on the right */
.hero--wordmark .hero-top{ max-width:min(470px,40vw); z-index:3 }
.hero--wordmark .h-hero{ font-family:var(--sans); font-weight:400; font-size:clamp(26px,3vw,44px); line-height:1.12; letter-spacing:0; text-shadow:0 2px 30px rgba(var(--ink-rgb),.8) }
.hero--wordmark .hero-sub{ max-width:360px; font-size:15px }
.hero--wordmark .hero-acts{ margin-top:18px }
.hero--wordmark .hero-acts .btn{ padding:12px 20px }
.hero--wordmark .hero-foot{ z-index:3 }
.hero--wordmark .hero-cue{ justify-content:flex-start }
.hero--wordmark .chapters{ border-top-color:rgba(236,232,222,.14) }
.hero--wordmark .chapter b{ font-family:var(--sans); font-weight:300; font-size:clamp(26px,3vw,46px); letter-spacing:.02em; color:var(--bone); margin-bottom:2px }
.hero--wordmark .chapter span{ font-family:var(--sans); font-size:10px; letter-spacing:.24em; color:var(--bone-dim) }

.hero-word{
  position:absolute; left:-1.5vw; right:-1.5vw; top:52%; z-index:1; pointer-events:none;
  display:flex; justify-content:space-between; align-items:flex-start;
  font-family:var(--sans); font-weight:600; font-size:min(31vw,56vh); line-height:.78; letter-spacing:-.02em;
}
/* with the grass: the word is laid out, not floated. It takes the room
   left between the copy and the chapter row (a size container, so the
   letters scale to that room), keeps clear of the reel, and stands in
   the grass. Nothing on the page sits on top of it. */
.hero--grass .hero-top{ order:1 }
.hero--grass .hero-spacer{ display:none }
.hero--grass .hero-foot{ order:3 }
.hero--grass .hero-word{
  position:relative; order:2; left:auto; right:auto; top:auto; display:block;
  flex:1 1 auto; min-height:90px;
  margin:clamp(14px,2.6vh,30px) calc(clamp(170px,17vw,240px) + 3vw) clamp(6px,1.4vh,16px) 0;
}
.hero-word-svg{
  position:absolute; inset:0; width:100%; height:100%; overflow:visible;
  filter:drop-shadow(0 16px 28px rgba(var(--ink-rgb),.6));
}
.hero-word-svg text{ font-family:inherit; font-weight:inherit; stroke:rgba(var(--ink-rgb),.35); stroke-width:1.2px; paint-order:stroke }
/* the chapter dots on the right already index the chapters; the grass
   hero gives that row's room to the letters */
.hero--grass .chapters{ display:none }
.hero--grass .hero-cue{ margin-bottom:0 }
.hero-word span{ color:var(--c,var(--bone)); filter:drop-shadow(0 26px 60px rgba(var(--ink-rgb),.55)) }
.hero-hedge{ position:absolute; left:0; right:0; bottom:0; height:34%; z-index:2; pointer-events:none }
/* grass clumps (heroWordmark.grass): the back row stands behind the
   letters, the front row over their feet, and the ground darkens under
   the chapter row so it stays readable */
.hero-grass{ position:absolute; left:0; right:0; bottom:0; height:var(--gh); z-index:1; pointer-events:none; overflow:hidden }
.hero-grass img{
  position:absolute; left:var(--x); bottom:-9%; height:calc(100% * var(--k,1)); width:auto; max-width:none;
  transform:translateX(-50%) scaleX(var(--f,1)); transform-origin:50% 100%;
}
.hero-grass--back{ --gh:min(30vh,250px); z-index:1 }
.hero-grass--back img{ filter:brightness(.55) saturate(.85) }
.hero-grass--front{ --gh:min(17vh,140px); z-index:2 }
.hero-grass--front img{ filter:brightness(.92) drop-shadow(0 -6px 18px rgba(0,0,0,.35)) }
.hero-grass--front::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:62%;
  background:linear-gradient(to bottom, transparent, rgba(6,12,6,.6) 40%, rgba(4,8,4,.92));
}
.hero--grass .hero-foot{ text-shadow:0 1px 3px rgba(0,0,0,.9), 0 0 18px rgba(0,0,0,.8) }
.hero--grass .hero-cue,.hero--grass .chapter span,.hero--grass .hero-reel-cap{ color:var(--bone) }
.hero--grass .hero-reel-cap{ text-shadow:0 1px 3px rgba(0,0,0,.95), 0 0 16px rgba(0,0,0,.85) }
.hero--grass .hero-reel{ bottom:calc(clamp(22px,4.2vh,44px) + 44px) }
.hero-hedge svg{ display:block; width:100%; height:100%; filter:drop-shadow(0 -8px 26px rgba(0,0,0,.35)) }
.hero-leaves{ position:absolute; inset:0; z-index:2; overflow:hidden; pointer-events:none }
.hero-leaves i{
  position:absolute; top:-4%; left:var(--x); width:calc(15px * var(--s)); height:calc(9px * var(--s));
  border-radius:0 100% 0 100%; background:hsl(var(--h) 52% 44%); opacity:0;
  animation:hero-leaf var(--t) linear calc(var(--d) * -1) infinite;
}
@keyframes hero-leaf{
  0%{ transform:translate3d(0,0,0) rotate(0); opacity:0 }
  8%{ opacity:.9 }
  50%{ transform:translate3d(7vw,52vh,0) rotate(230deg) }
  90%{ opacity:.75 }
  100%{ transform:translate3d(-3vw,106vh,0) rotate(470deg); opacity:0 }
}
.hero-vert{
  position:absolute; right:calc(var(--pad) + 34px); top:calc(var(--nav-h) + 26px); z-index:3; margin:0;
  display:flex; flex-direction:column; align-items:center; gap:.18em;
  font-weight:300; font-size:clamp(26px,2.7vw,42px); line-height:1.1;
  color:rgba(236,232,222,.8); text-shadow:0 2px 22px rgba(var(--ink-rgb),.7);
}
/* one syllable per line: stacked, each shaped normally (a vertical
   writing mode would split conjuncts such as చ్చ) */
.hero-vert span{ display:block }
.hero-reel{
  position:absolute; right:var(--pad); bottom:calc(clamp(22px,4.2vh,44px) + clamp(84px,11vh,112px)); z-index:3;
  display:flex; flex-direction:column; align-items:flex-end; gap:10px;
}
.hero-reel-frame{
  position:relative; display:block; width:clamp(170px,17vw,240px); aspect-ratio:16/10; overflow:hidden;
  border:1px solid rgba(236,232,222,.16); box-shadow:0 18px 50px rgba(var(--ink-rgb),.55);
  background:radial-gradient(60% 70% at 70% 30%, rgba(var(--gold-rgb),.28), transparent), linear-gradient(135deg,#1f3b19,#0a1309);
}
.hero-reel-frame img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease-out) }
.hero-reel:hover .hero-reel-frame img{ transform:scale(1.05) }
.hero-reel-play{
  position:absolute; left:50%; top:50%; width:44px; height:44px; margin:-22px 0 0 -22px; border-radius:50%;
  background:rgba(var(--ink-rgb),.35); border:1px solid rgba(255,255,255,.7); backdrop-filter:blur(4px);
}
.hero-reel-play::after{ content:''; position:absolute; left:17px; top:13px; border-style:solid; border-width:9px 0 9px 14px; border-color:transparent transparent transparent #fff }
.hero-reel-cap{ max-width:220px; text-align:right; font-size:10px; letter-spacing:.24em; text-transform:uppercase; color:var(--bone-dim) }
.reel-box{ position:fixed; inset:0; z-index:200; display:grid; place-items:center; background:rgba(var(--ink-rgb),.88); padding:var(--pad) }
.reel-box video{ width:min(1100px,100%); max-height:82vh; background:#000 }
.reel-box button{ position:absolute; top:18px; right:18px; width:44px; height:44px; border-radius:50%; border:1px solid var(--line); color:var(--bone); font-size:22px; line-height:1; background:transparent; cursor:pointer }
@media (max-width:760px){
  .hero--wordmark .hero-top{ max-width:100% }
  .hero-word{ top:56%; font-size:40vw }
  .hero--grass .hero-word{ margin:16px 0 26px; min-height:110px }
  .hero-grass--back{ --gh:120px }
  .hero-grass--front{ --gh:64px }
  .hero-hedge{ height:30% }
  .hero-vert,.hero-reel{ display:none }
  .hero--wordmark .chapter b{ font-size:24px }
}
@media (prefers-reduced-motion:reduce){ .hero-leaves{ display:none } }

/* =========================================================== 7 · sections */
.sec{ position:relative; padding:clamp(96px,17vh,210px) var(--pad); min-height:100svh; display:flex; flex-direction:column; justify-content:center }
/* A scrim on the reading side. The world behind is allowed to be bright —
   the copy is not allowed to become unreadable because of it. */
.sec::before,.foot::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:linear-gradient(90deg, rgba(var(--ink-rgb),.92) 0%, rgba(var(--ink-rgb),.8) 36%, rgba(var(--ink-rgb),.42) 64%, rgba(var(--ink-rgb),.1) 100%);
}
.sec > *:not(.fg),.foot > *:not(.fg){ position:relative; z-index:2 }
/* theme.lightWorld: a white scene needs the copy's side held darker */
.world-light .hero::before{
  height:100%;
  background:
    linear-gradient(90deg, rgba(var(--ink-rgb),.86) 0%, rgba(var(--ink-rgb),.68) 32%, rgba(var(--ink-rgb),.22) 58%, transparent 76%),
    linear-gradient(rgba(var(--ink-rgb),.55), transparent 36%);
}
.world-light .sec::before,.world-light .foot::before{
  background:linear-gradient(90deg, rgba(var(--ink-rgb),.94) 0%, rgba(var(--ink-rgb),.86) 38%, rgba(var(--ink-rgb),.55) 66%, rgba(var(--ink-rgb),.22) 100%);
}
@media (max-width:760px){
  .world-light .hero::before{ height:100%; background:linear-gradient(rgba(var(--ink-rgb),.88), rgba(var(--ink-rgb),.72) 58%, rgba(var(--ink-rgb),.35)) }
  .world-light .sec::before,.world-light .foot::before{ background:linear-gradient(rgba(var(--ink-rgb),.7), rgba(var(--ink-rgb),.88) 16%, rgba(var(--ink-rgb),.88) 84%, rgba(var(--ink-rgb),.7)) }
}
.sec-head{ max-width:min(720px,58vw) }
.sec-head .chapno{ display:block; margin-bottom:16px }
.sec-head h2{ margin-bottom:22px }

/* chapter cards — the treatments */
.cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,1.8vw,28px); margin-top:clamp(40px,6vh,76px) }
.card{ display:block; text-align:left }
.card-frame{
  display:block; position:relative; overflow:hidden; aspect-ratio:4/5;
  border:1px solid var(--line-soft);
  background:
    radial-gradient(72% 54% at 50% 42%, rgba(var(--gold-rgb),.1), transparent 70%),
    linear-gradient(var(--ink-3), var(--ink));
}
.card-frame img{
  width:100%; height:100%; object-fit:contain; padding:8%;
  filter:saturate(.82) contrast(1.05) brightness(.86);
  transform:scale(1); transition:transform 1.1s var(--ease-out), filter .8s var(--ease-out);
}
.card:hover .card-frame img{ transform:scale(1.05); filter:saturate(1) contrast(1.03) brightness(1) }
/* no photo: a blueprint sheet in the accent, numbered, instead of an
   empty dark frame */
.card-frame.is-blank,.blog-frame.is-blank{
  background:
    linear-gradient(rgba(var(--gold-rgb),.14) 1px, transparent 1px) 0 0/22px 22px,
    linear-gradient(90deg, rgba(var(--gold-rgb),.14) 1px, transparent 1px) 0 0/22px 22px,
    linear-gradient(rgba(var(--gold-rgb),.28) 1px, transparent 1px) 0 0/110px 110px,
    linear-gradient(90deg, rgba(var(--gold-rgb),.28) 1px, transparent 1px) 0 0/110px 110px,
    linear-gradient(#0e1726, #080c14);
}
.card-frame.is-blank::before{
  content:attr(data-n); position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-size:clamp(54px,6vw,96px); color:rgba(var(--gold-rgb),.55); letter-spacing:.04em;
}
/* photographic services (every site but the clinic's cut-out renders)
   fill the frame instead of floating in it */
.cards.is-photo .card-frame img{ object-fit:cover; padding:0 }
.card-frame::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(rgba(var(--ink-rgb),0) 42%, rgba(var(--ink-rgb),.82));
}
.card-mark{
  position:absolute; inset:0; display:grid; place-items:center; z-index:2; pointer-events:none;
  opacity:0; transition:opacity .45s var(--ease);
}
.card:hover .card-mark,.card:focus-visible .card-mark{ opacity:1 }
.card-mark i{
  width:46px; height:46px; border-radius:50%; border:1px solid rgba(242,240,234,.5);
  display:grid; place-items:center; backdrop-filter:blur(3px);
  transition:background .45s var(--ease), border-color .45s var(--ease);
}
.card:hover .card-mark i{ background:rgba(var(--gold-rgb),.92); border-color:var(--gold) }
.card-mark svg{ width:12px; height:12px; fill:var(--bone); transition:fill .45s }
.card:hover .card-mark svg{ fill:#1a1a1a }
.card-cap{ padding-top:14px; display:flex; gap:12px; align-items:baseline }
.card-cap b{ font-size:10px; letter-spacing:.2em; color:var(--gold-text); font-weight:500; font-variant-numeric:tabular-nums; flex:0 0 auto }
.card-cap > span{ display:block; font-family:var(--serif); font-size:clamp(14px,1.25vw,19px); text-transform:uppercase; color:var(--bone); line-height:1.2 }
.card-cap em{ display:block; font-style:normal; font-size:13px; line-height:1.5; color:#aeaca4; margin-top:4px; letter-spacing:.02em }

/* the blog — three notes from the doctors, not a full blog engine */
/* There's no per-post route in this prototype, so cards stay soft CTAs
   (href="#visit") like the treatment cards, rather than links to pages
   that don't exist here. Each card carries its own blurred dark backing
   (same technique as the specialists gallery) since the section runs
   full-width past where the reading scrim reaches. */
.blogs{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,2.2vw,34px); margin-top:clamp(40px,6vh,76px) }
.blog-card{
  display:block; text-align:left; border:1px solid var(--line-soft);
  background:rgba(var(--ink-rgb),.58);
  backdrop-filter:blur(10px) saturate(1.05); -webkit-backdrop-filter:blur(10px) saturate(1.05);
  transition:border-color .4s var(--ease), transform .4s var(--ease);
}
.blog-card:hover{ border-color:rgba(var(--gold-rgb),.5); transform:translateY(-5px) }
.blog-frame{
  display:block; position:relative; width:100%; aspect-ratio:16/10; overflow:hidden;
  background:linear-gradient(160deg,var(--ink-3),var(--ink-2));
}
.blog-frame img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.86) contrast(1.03) brightness(.9);
  transform:scale(1); transition:transform 1.1s var(--ease-out), filter .8s var(--ease-out);
}
.blog-card:hover .blog-frame img{ transform:scale(1.05); filter:saturate(1) contrast(1.01) brightness(1) }
.blog-frame::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(rgba(var(--ink-rgb),0) 55%, rgba(var(--ink-rgb),.6));
}
.blog-cat{
  position:absolute; left:12px; top:12px; z-index:1;
  padding:5px 11px; border-radius:20px; background:rgba(var(--ink-rgb),.72); border:1px solid rgba(var(--gold-rgb),.42);
  font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-text);
}
.blog-body{ padding:clamp(16px,1.8vw,20px) }
.blog-title{
  font-family:var(--serif); font-size:clamp(19px,1.6vw,23px); font-weight:500; line-height:1.25;
  margin-bottom:10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.blog-excerpt{
  font-size:14px; line-height:1.62; color:#b3b1a9; margin-bottom:16px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.blog-meta{
  display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap;
  font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#8f8d86;
  border-top:1px solid var(--line-soft); padding-top:12px;
}

/* the specialists — a portrait gallery of arched niches */
/* Each doctor stands in a pointed-arch niche cut to the gate's own
   profile, hung like a portrait gallery down the colonnade: a gold arch
   line that draws itself in on reveal, a roman-numeral keystone, a brass
   plaque underneath. Portraits wait in a muted, old-gallery grade and warm
   to full colour when approached; the bio rises inside the niche on hover
   or focus. The middle column hangs lower so the row reads as a colonnade
   rather than a grid. Every niche keeps its own blurred dark backing
   because the 3D colonnade stays bright behind this chapter. */
.people{
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(22px,2.6vw,40px);
  margin-top:clamp(44px,7vh,84px); padding-bottom:clamp(20px,4vh,48px);
}
.person{
  --arch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M0 130V54C0 28 22 11 50 0c28 11 50 28 50 54v76z'/%3E%3C/svg%3E");
  position:relative; display:flex; flex-direction:column; align-items:center; text-align:center;
  outline-offset:6px;
}
.person:nth-child(3n+2){ margin-top:clamp(40px,7vh,88px) }
.person-arch{
  position:relative; display:block; width:100%; aspect-ratio:10/13;
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.55));
}
/* the niche itself: dark stone, the portrait masked to the arch */
.person-window{
  position:absolute; inset:9px; overflow:hidden;
  background:radial-gradient(120% 80% at 50% 12%,#23211b,var(--ink-2) 70%);
  -webkit-mask:var(--arch) center/100% 100% no-repeat; mask:var(--arch) center/100% 100% no-repeat;
}
/* monogram, visible whenever the photograph is missing or still loading */
.person-window::before{
  content:attr(data-initials); position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center; padding-top:12%;
  font-family:var(--serif); font-size:clamp(46px,6vw,86px); letter-spacing:.06em;
  color:rgba(var(--gold-rgb),.32);
}
.person-window img{
  position:relative; width:100%; height:100%; object-fit:cover; object-position:50% 18%;
  filter:grayscale(.62) sepia(.28) brightness(.78) contrast(1.06);
  transform:scale(1.02);
  transition:filter 1s var(--ease-out), transform 1.4s var(--ease-out);
}
/* lamplight falling from the crown of the arch */
.person-window::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(70% 42% at 50% 0%,rgba(255,214,120,.34),rgba(255,214,120,0) 70%),
    linear-gradient(rgba(var(--ink-rgb),0) 48%,rgba(var(--ink-rgb),.82));
  opacity:.55; transition:opacity .9s var(--ease-out);
}
.person-frame{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none }
.person-frame path{
  fill:none; stroke:var(--gold); stroke-width:.42; stroke-linejoin:round; opacity:.62;
  stroke-dasharray:1; stroke-dashoffset:1;
  transition:stroke-dashoffset 1.9s var(--ease-io) .15s, opacity .6s var(--ease);
}
.person-frame path + path{ stroke-width:.22; opacity:.28 }
.person.rv-in .person-frame path{ stroke-dashoffset:0 }
.person-no{
  position:absolute; left:50%; top:0; transform:translate(-50%,-50%) rotate(45deg);
  width:34px; height:34px; display:flex; align-items:center; justify-content:center;
  background:var(--ink); border:1px solid rgba(var(--gold-rgb),.6);
}
.person-no b{
  transform:rotate(-45deg); font-family:var(--serif); font-weight:500; font-size:14px;
  letter-spacing:.04em; color:var(--gold-text); line-height:1;
}
/* the bio rises inside the niche */
.person-bio{
  position:absolute; left:9px; right:9px; bottom:9px;
  padding:clamp(56px,8vh,90px) clamp(16px,2vw,26px) clamp(18px,2.4vw,28px);
  background:linear-gradient(rgba(var(--ink-rgb),0),rgba(var(--ink-rgb),.86) 42%,rgba(var(--ink-rgb),.94));
  font-size:13px; line-height:1.55; color:var(--bone); text-align:left;
  opacity:0; transform:translate3d(0,14px,0);
  transition:opacity .5s var(--ease-out), transform .7s var(--ease-out);
}
.person-bio span{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; overflow:hidden }
/* the plaque */
.person-plaque{
  position:relative; display:flex; flex-direction:column; align-items:center; gap:8px;
  width:calc(100% - 18px); margin-top:-1px; padding:18px 14px 16px;
  background:linear-gradient(180deg,rgba(14,14,12,.9),rgba(var(--ink-rgb),.82));
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(var(--gold-rgb),.22); border-top:0;
}
.person-plaque::before{
  content:''; position:absolute; left:14%; right:14%; top:0; height:1px;
  background:linear-gradient(90deg,rgba(var(--gold-rgb),0),rgba(var(--gold-rgb),.75),rgba(var(--gold-rgb),0));
}
.person-nm{
  font-family:var(--serif); font-size:clamp(17px,1.55vw,22px); line-height:1.15;
  text-transform:uppercase; letter-spacing:.06em;
}
.person-sp{ font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--bone-dim); line-height:1.5 }
.person-meta{
  display:flex; align-items:center; gap:10px;
  font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-text);
}
.person-meta span + span::before{ content:'◆'; margin-right:10px; font-size:6px; vertical-align:2px; opacity:.6 }
.person-cta{
  display:inline-flex; align-items:center; gap:8px; margin-top:4px;
  font-size:10px; letter-spacing:.24em; text-transform:uppercase; color:var(--bone-dim);
  transition:color .4s var(--ease), gap .5s var(--ease-out);
}
.person-cta i{ font-style:normal; color:var(--gold-text) }
/* approached: colour, lamplight, bio, a brighter arch */
.person:hover .person-window img,.person:focus-visible .person-window img{
  filter:none; transform:scale(1.07);
}
.person:hover .person-window::after,.person:focus-visible .person-window::after{ opacity:1 }
.person:hover .person-frame path,.person:focus-visible .person-frame path{ opacity:1 }
.person:hover .person-bio,.person:focus-visible .person-bio{ opacity:1; transform:none; transition-delay:.08s }
.person:hover .person-cta,.person:focus-visible .person-cta{ color:var(--gold-text); gap:14px }
.people-hint{
  display:none; justify-content:flex-end; align-items:center; gap:10px; margin-top:12px;
  font-size:10px; letter-spacing:.24em; text-transform:uppercase; color:var(--bone-dim);
  text-shadow:0 1px 10px rgba(0,0,0,.95),0 0 2px rgba(0,0,0,.9);
}
.people-hint i{ font-style:normal; color:var(--gold-text) }
/* touch screens never hover: keep the portrait warm and skip the overlay */
@media (hover:none){
  .person-window img{ filter:saturate(.9) brightness(.92) }
  .person-window::after{ opacity:.8 }
  .person-bio{ display:none }
  .person-cta{ color:var(--gold-text) }
}

/* the outcome — stats + a held quote */
.stats{
  display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,2vw,34px); margin-top:clamp(40px,6vh,72px);
  padding:clamp(22px,3.2vh,36px) clamp(18px,2vw,32px); border:1px solid var(--line-soft); border-top-color:rgba(var(--gold-rgb),.35);
  background:rgba(var(--ink-rgb),.62); backdrop-filter:blur(12px) saturate(1.05); -webkit-backdrop-filter:blur(12px) saturate(1.05);
}
.stat b{ display:block; margin-bottom:8px }
.stat span{ display:block; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-text) }
.stat em{ display:block; font-style:normal; font-size:13px; line-height:1.5; color:#b3b1a9; margin-top:7px }
.quote{ max-width:min(700px,58vw); margin:clamp(40px,6vh,78px) 0 0 }
.quote p{ font-family:var(--serif); font-size:clamp(20px,2.5vw,38px); line-height:1.3; margin:0 0 18px }
.quote footer{ font-size:10px; letter-spacing:.24em; text-transform:uppercase; color:var(--muted) }
.quote .stars{ color:var(--gold-text); letter-spacing:.24em; font-size:12px; margin-bottom:18px }

/* Service mode reuses this same #outcomeStats slot (still a 4-column
   .stats grid) for the service's own benefits — a proper icon-card
   instead of a number, since a benefit is a claim, not a metric. */
.benefit-card{
  padding:clamp(16px,1.8vw,20px); border:1px solid var(--line-soft);
  background:rgba(var(--ink-rgb),.4);
}
.benefit-card i{
  display:block; width:34px; height:34px; margin-bottom:14px; border-radius:50%;
  border:1px solid rgba(var(--gold-rgb),.4); position:relative;
}
.benefit-card i::after{
  content:'✓'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:var(--gold-text); font-style:normal; font-size:14px;
}
.benefit-card b{
  display:block; font-family:var(--serif); font-weight:400; font-size:clamp(15px,1.3vw,18px);
  text-transform:uppercase; color:var(--bone); margin-bottom:8px; letter-spacing:.01em;
}
.benefit-card em{ display:block; font-style:normal; font-size:12px; line-height:1.6; color:var(--muted) }

/* A price list for the service's own pricing.items — only shown (and
   only fetched) when ?service=<slug> resolves and that file actually has
   items; 4 of the 12 service files don't, so this stays display:none by
   default rather than rendering an empty card. */
.pricing-list{
  max-width:min(640px,54vw); margin:clamp(28px,4vh,44px) 0 0;
  border-top:1px solid var(--line);
}
.price-item{
  display:flex; justify-content:space-between; gap:20px; align-items:baseline;
  padding:14px 0; border-bottom:1px solid var(--line-soft);
  font-size:13px; color:#c2c0b8;
}
.price-item b{ font-weight:400; color:var(--bone) }
.price-item span{ color:var(--gold-text); font-variant-numeric:tabular-nums; white-space:nowrap }
.pricing-list em{ display:block; font-style:normal; font-size:11px; color:var(--muted); margin-top:12px }

/* =========================================================== 8 · footer
   The visit chapter (enquiry beside compact branch cards) sits over the
   world like every chapter; the site footer under it is solid, full
   width and never shows the 3D through — it reads as the end of the page. */
.foot{ position:relative; padding:clamp(80px,13vh,170px) var(--pad) 0 }
.foot .sec-head{ max-width:min(760px,62vw) }
.visit-grid{
  display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:clamp(18px,2.6vw,40px);
  align-items:start; margin-top:clamp(36px,6vh,64px); position:relative; z-index:2;
}
.visit-grid .enq-wrap{ margin-top:0; max-width:none }
.visit-grid.is-branches-only{ grid-template-columns:1fr }
.foot-grid{ display:grid; gap:14px; position:relative; z-index:2 }
.visit-grid.is-branches-only .foot-grid{ grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)) }
.branch{
  display:grid; grid-template-columns:clamp(92px,10vw,140px) minmax(0,1fr); gap:6px 20px; align-content:start;
  padding:18px; border:1px solid var(--line); background:rgba(var(--ink-rgb),.74);
  backdrop-filter:blur(14px) saturate(1.05); -webkit-backdrop-filter:blur(14px) saturate(1.05);
}
.branch:not(:has(.branch-photo)){ grid-template-columns:minmax(0,1fr) }
.branch-photo{
  grid-row:1 / span 3; display:block; position:relative; width:100%; aspect-ratio:1; overflow:hidden;
  border:1px solid var(--line-soft); background:linear-gradient(160deg,var(--ink-3),var(--ink-2));
}
.branch-photo img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.9) contrast(1.04) brightness(.92);
  transform:scale(1); transition:transform 1.1s var(--ease-out), filter .8s var(--ease-out);
}
.branch:hover .branch-photo img{ transform:scale(1.05); filter:saturate(1) contrast(1.02) brightness(1) }
.branch h3{ font-family:var(--serif); font-weight:500; font-size:clamp(19px,1.6vw,24px); text-transform:uppercase; line-height:1.1; margin:2px 0 0 }
.branch p{ font-size:14px; color:#bdbbb3; line-height:1.6; margin:0 }
.branch p.branch-hours{ font-size:13px; color:var(--gold); letter-spacing:.02em; margin-top:6px }
.branch-links{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px }
.branch-links a{
  padding:8px 12px; border:1px solid rgba(var(--gold-rgb),.42); color:var(--gold-text);
  font-size:10px; font-weight:500; letter-spacing:.14em; text-transform:uppercase;
  transition:background .3s var(--ease), color .3s var(--ease);
}
.branch-links a:hover{ background:var(--gold); color:#1a1a1a }

.site-foot{
  position:relative; z-index:3; margin:clamp(64px,10vh,120px) calc(-1 * var(--pad)) 0;
  padding:clamp(48px,7vh,80px) var(--pad) 0; background:var(--ink); border-top:1px solid var(--line-soft);
}
.site-foot::before{
  content:''; position:absolute; left:0; right:0; top:-1px; height:1px;
  background:linear-gradient(90deg, transparent, rgba(var(--gold-rgb),.65), transparent);
}
.sf-grid{ display:grid; grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)); gap:clamp(28px,4vw,64px) }
.sf-brand .brand img{ width:40px; height:40px }
.sf-brand p{ margin:18px 0 0; font-size:14px; line-height:1.7; color:#a9a79f; max-width:42ch }
.sf-col h4{ margin:0 0 16px; font-size:11px; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-text) }
.sf-col ul,.sf-social{ list-style:none; margin:0; padding:0 }
.sf-col ul{ display:grid; gap:10px }
.sf-col a{ font-size:14px; color:#d2d0c8; transition:color .3s var(--ease) }
.sf-col a:hover,.sf-social a:hover{ color:var(--gold-text) }
.sf-contact li{ display:grid; gap:3px; font-size:14px; line-height:1.55; color:#d2d0c8 }
.sf-contact li + li{ margin-top:4px }
.sf-contact span{ font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:#8a887f }
.sf-contact a.sf-branch{ color:inherit; text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--gold) }
.sf-contact .sf-hours{ font-size:12.5px; color:#a9a79f; line-height:1.5 }
.page-light .sf-contact .sf-hours{ color:#5b5e66 }
.sf-social{ display:flex; flex-wrap:wrap; gap:8px; margin-top:20px }
.sf-social a{ display:inline-block; padding:7px 12px; border:1px solid var(--line); font-size:12px; color:#d2d0c8; transition:color .3s, border-color .3s }
.sf-social a:hover{ border-color:var(--gold) }
.sf-bottom{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px 24px;
  margin-top:clamp(40px,6vh,64px); padding:20px 0 calc(20px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line-soft); font-size:12px; color:#7d7b75;
}
.sf-bottom a{ color:var(--gold-text) }
@media (max-width:1040px){
  .visit-grid{ grid-template-columns:1fr }
  .sf-grid{ grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (max-width:560px){
  .sf-grid{ grid-template-columns:1fr }
  .branch{ grid-template-columns:84px minmax(0,1fr); gap:6px 14px; padding:14px }
}
.foot-note{ margin-top:20px; font-size:10px; line-height:1.9; letter-spacing:.06em; color:#5e5c57; max-width:70ch; position:relative; z-index:2; text-transform:none }

/* =========================================================== 9 · chapter rail */
.rail{
  position:fixed; right:calc(var(--pad) * .58); top:50%; transform:translateY(-50%);
  z-index:52; display:flex; flex-direction:column; gap:12px; align-items:center;
}
.rail button{ width:18px; height:18px; display:grid; place-items:center }
.rail i{ width:5px; height:5px; border-radius:50%; background:rgba(242,240,234,.26); transition:background .4s, transform .4s var(--ease-out) }
.rail button[aria-current="true"] i{ background:var(--gold); transform:scale(1.7) }

/* =========================================================== 10 · foreground
   Each chapter owns its silhouette stage. When the chapter goes live the
   stage is re-parented into #fg-sky and becomes a fixed lower-viewport
   plane; its predecessor stays there just long enough to blur and fade
   before it is handed back. */
/* kage lets its cut-outs pass in front of the navigation. Here the copy has
   to stay legible and clickable, so the plane sits above the world and
   below the page instead — the collage depth survives, the reading does too. */
#fg-sky{ position:fixed; inset:0; z-index:9; pointer-events:none }
/* clipped: the silhouettes are set past the edges on purpose, and
   unclipped they made phones lay the page out ~10% wider than the
   screen, which pushed anything pinned to the right (the chat) off it */
.fg{ position:absolute; inset:0; pointer-events:none; opacity:0; z-index:0; overflow:hidden }
.fg.fg-active,.fg.fg-retiring{ position:fixed; inset:0; opacity:1 }
.fg-el{ position:absolute; display:block; opacity:0; bottom:0 }
.fg-el > svg{
  display:block; width:100%; height:auto;
  /* the 1px upward gold shadow is a rim light: it catches every top edge of
     every silhouette at once, without hand-authoring highlights per path */
  filter:drop-shadow(0 -1px 0 rgba(var(--gold-rgb),.22)) drop-shadow(0 -2px 26px rgba(var(--ink-rgb),.9));
  transition:opacity 1.25s var(--ease-out), transform 1.35s var(--ease-out), filter 1.1s var(--ease-out);
}
[data-fg-in="up"]{ transform:translate3d(0,14%,0) }
[data-fg-in="left"]{ transform:translate3d(-11%,7%,0) }
[data-fg-in="right"]{ transform:translate3d(11%,7%,0) }
.fg.fg-active .fg-el{
  opacity:1; transform:none;
  transition:opacity 1.25s var(--ease-out), transform 1.4s var(--ease-out);
  transition-delay:var(--fg-delay,0ms);
}
.fg .fg-el:nth-child(2){ --fg-delay:95ms }
.fg .fg-el:nth-child(3){ --fg-delay:190ms }
.fg .fg-el:nth-child(4){ --fg-delay:285ms }
.fg.fg-retiring .fg-el{ opacity:0; transition:opacity .85s var(--ease-io), filter .85s var(--ease-io) }
.fg.fg-retiring .fg-el > svg{ filter:blur(9px) drop-shadow(0 -2px 26px rgba(var(--ink-rgb),.9)) }

/* Placement is keyed off [data-fg], never off the section it came from.
   Everything is anchored to the bottom band: a silhouette may crowd the
   lower third of the frame, never the middle of it. */
[data-fg="threshold"] .fg-wall   { left:-4%;  bottom:-30px;  width:clamp(380px,44vw,720px) }
[data-fg="threshold"] .fg-pillar { right:-2%; bottom:-118px; width:clamp(105px,12vw,190px) }
[data-fg="threshold"] .fg-hedge  { left:6%;   bottom:-116px; width:clamp(400px,56vw,960px) }

[data-fg="treatments"] .fg-sconce{ left:-2%;  bottom:-172px; width:clamp(96px,11vw,170px) }
[data-fg="treatments"] .fg-hedge { right:-6%; bottom:-62px;  width:clamp(330px,40vw,700px) }
[data-fg="treatments"] .fg-rail  { left:-8%;  bottom:-52px;  width:clamp(420px,52vw,900px) }

[data-fg="specialists"] .fg-wall  { right:-8%; bottom:-86px; width:clamp(360px,44vw,780px) }
[data-fg="specialists"] .fg-stones{ left:-4%;  bottom:-46px; width:clamp(250px,30vw,520px) }
[data-fg="specialists"] .fg-hedge { left:24%;  bottom:-84px; width:clamp(280px,33vw,580px) }

[data-fg="outcome"] .fg-ridge { left:-8%;  bottom:calc(-1 * min(19vh,15vw)); width:min(148vh,116%) }
[data-fg="outcome"] .fg-pillar{ left:-6%;  bottom:-176px; width:clamp(110px,13vw,205px) }
[data-fg="outcome"] .fg-hedge { right:-7%; bottom:-60px;  width:clamp(300px,36vw,660px) }

[data-fg="blogs"] .fg-sconce{ left:-3%;  bottom:-150px; width:clamp(90px,10vw,160px) }
[data-fg="blogs"] .fg-wall  { right:-6%; bottom:-70px;  width:clamp(340px,42vw,720px) }
[data-fg="blogs"] .fg-stones{ left:22%;  bottom:-58px;  width:clamp(240px,28vw,500px) }

[data-fg="visit"] .fg-hedge { left:-6%;  bottom:-104px; width:clamp(230px,28vw,470px) }
[data-fg="visit"] .fg-stones{ right:-5%; bottom:-92px;  width:clamp(250px,30vw,520px) }
[data-fg="visit"] .fg-rail  { left:32%;  bottom:-104px; width:clamp(300px,36vw,620px) }

/* =========================================================== 11 · cursor */
.cur-dot{
  position:fixed; left:0; top:0; z-index:90; width:22px; height:22px; margin:-11px 0 0 -11px;
  border:1px solid rgba(var(--gold-rgb),.6); border-radius:50%; pointer-events:none; display:none;
  transition:width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s;
}
.cur-dot.big{ width:54px; height:54px; margin:-27px 0 0 -27px; background:rgba(var(--gold-rgb),.14) }
@media (pointer:fine) and (hover:hover){
  body.has-cursor .cur-dot{ display:block }
}

/* =========================================================== 12 · responsive */
@media (max-width:1040px){
  .cards{ grid-template-columns:repeat(2,1fr) }
  .people{ grid-template-columns:repeat(2,1fr) }
  .person:nth-child(3n+2){ margin-top:0 }
  .person:nth-child(even){ margin-top:clamp(40px,7vh,72px) }
  .blogs{ grid-template-columns:repeat(2,1fr) }
  .stats{ grid-template-columns:repeat(2,1fr) }
  .foot-grid{ grid-template-columns:1fr }
  .hero-top,.sec-head,.foot .sec-head{ max-width:none }
}
@media (max-width:760px){
  :root{ --nav-h:70px }
  .sec::before,.foot::before{ background:linear-gradient(rgba(var(--ink-rgb),.5), rgba(var(--ink-rgb),.8) 16%, rgba(var(--ink-rgb),.8) 84%, rgba(var(--ink-rgb),.5)) }
  .hero::before{ height:72%; background:linear-gradient(rgba(var(--ink-rgb),.82), rgba(var(--ink-rgb),.6) 60%, transparent) }
  .nav-links,.nav-cta{ display:none }
  .nav-burger{ display:block }
  .chapters{ grid-template-columns:repeat(2,1fr); gap:20px 14px }
  .cards{ grid-template-columns:1fr }
  /* phones walk the gallery sideways, one niche at a time */
  .people{
    display:flex; gap:18px; overflow-x:auto; overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory; scrollbar-width:none;
    margin-left:calc(var(--pad) * -1); margin-right:calc(var(--pad) * -1);
    padding:22px var(--pad) 8px;
  }
  .people::-webkit-scrollbar{ display:none }
  .person,.person:nth-child(even),.person:nth-child(3n+2){ flex:0 0 min(78%,340px); margin-top:0; scroll-snap-align:center }
  .people-hint{ display:flex }
  .blogs{ grid-template-columns:1fr }
  .rail{ display:none }
  .hero-sub{ max-width:none }
  [data-fg="threshold"] .fg-pillar,
  [data-fg="treatments"] .fg-rail,
  [data-fg="specialists"] .fg-hedge,
  [data-fg="visit"] .fg-rail{ display:none }
  [data-fg="threshold"] .fg-wall{ left:-14%; bottom:-20px; width:min(84vw,430px) }
  [data-fg="threshold"] .fg-hedge{ left:auto; right:-10%; bottom:-70px; width:min(94vw,520px) }
  [data-fg="treatments"] .fg-sconce{ left:-4%; bottom:-54px; width:clamp(78px,20vw,124px) }
  [data-fg="outcome"] .fg-pillar{ left:-10%; width:clamp(110px,30vw,180px) }
}
@media (prefers-reduced-motion:reduce){
  .word{ opacity:1; transform:none; transition:none }
  [data-rv]{ opacity:1; transform:none }
  .hero-cue .track i{ animation:none; transform:scaleX(1) }
  .fg-el{ opacity:1; transform:none }
  .card-frame img{ transition:none }
  .person-frame path{ stroke-dashoffset:0; transition:none }
  .person-window img,.person-bio{ transition:none }
}

/* =========================================================== 13 · enquiry
   One form on every page (render.mjs enquiryForm, sent by enquiry.js).
   A dark glass panel so it reads over the 3D world and on detail pages. */
.enq-wrap{ position:relative; z-index:3; margin-top:clamp(36px,6vh,64px); max-width:880px }
.enq{
  padding:clamp(22px,3vw,36px); border:1px solid var(--line);
  background:rgba(var(--ink-rgb),.72);
  backdrop-filter:blur(16px) saturate(1.1); -webkit-backdrop-filter:blur(16px) saturate(1.1);
}
.enq-head h3{ font-family:var(--serif); font-size:clamp(22px,2.2vw,32px); text-transform:uppercase; line-height:1.1 }
.enq-head p{ margin:10px 0 0; font-size:14px; color:var(--bone-dim) }
.enq-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; margin-top:22px }
.enq-f{ display:flex; flex-direction:column; gap:7px; min-width:0 }
.enq-f.is-full{ grid-column:1 / -1 }
.enq-f label{ font-size:10px; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:var(--bone-dim) }
.enq-f label i{ font-style:normal; color:var(--gold-text) }
.enq input,.enq select,.enq textarea{
  width:100%; padding:13px 14px; font:inherit; font-size:15px; color:var(--bone);
  background:rgba(255,255,255,.04); border:1px solid var(--line); border-radius:0;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.enq select{ appearance:none; -webkit-appearance:none; padding-right:36px;
  background-image:linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%);
  background-position:calc(100% - 18px) 52%,calc(100% - 13px) 52%; background-size:5px 5px; background-repeat:no-repeat }
.enq select option{ background:var(--ink-3); color:var(--bone) }
.enq textarea{ resize:vertical; min-height:110px }
.enq input:focus,.enq select:focus,.enq textarea:focus{ outline:none; border-color:var(--gold); background:rgba(255,255,255,.06) }
.enq input[type="date"]{ color-scheme:dark }
.enq-foot{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin-top:22px }
.enq-foot .btn{ border:0; cursor:pointer }
.enq-foot .btn:disabled{ opacity:.55; cursor:progress }
.enq-note{ margin:0; font-size:12px; color:var(--muted); flex:1 1 220px }
.enq-status{ margin:14px 0 0; font-size:14px; min-height:1px; color:var(--bone-dim) }
.enq-status:empty{ margin:0 }
.enq-status.is-ok{ color:var(--gold-text) }
.enq-status.is-warn a{ color:var(--gold-text); border-bottom:1px solid rgba(var(--gold-rgb),.4) }
@media (max-width:640px){
  .enq-grid{ grid-template-columns:1fr }
}

/* =========================================================== 13 · garden tiles
   theme.tiles = "garden" (VRK Greens): the services and work tiles are
   smaller, landscape photos with leaf corners on a glass card, sans
   captions, the arrow in the corner. The clinic's tall frames stay the
   default. */
.cards.is-garden,.blogs.is-garden{ max-width:1120px; gap:clamp(14px,1.6vw,22px); margin-top:clamp(28px,4.5vh,56px) }
.blogs.is-garden{ max-width:1040px }
.is-garden .card,.is-garden .blog-card{
  padding:9px; border:1px solid rgba(var(--gold-rgb),.2); border-radius:26px 6px 26px 6px;
  background:rgba(var(--ink-rgb),.55); backdrop-filter:blur(10px) saturate(1.05); -webkit-backdrop-filter:blur(10px) saturate(1.05);
  transition:border-color .4s var(--ease), border-radius .5s var(--ease), transform .4s var(--ease);
}
.is-garden .card:hover,.is-garden .blog-card:hover{ border-color:rgba(var(--gold-rgb),.55); border-radius:6px 26px 6px 26px; transform:translateY(-4px) }
.is-garden .card-frame,.is-garden .blog-frame{ aspect-ratio:3/2; border:0; border-radius:18px 4px 18px 4px; transition:border-radius .5s var(--ease) }
.is-garden .card:hover .card-frame,.is-garden .blog-card:hover .blog-frame{ border-radius:4px 18px 4px 18px }
.is-garden .card-frame::after{ background:linear-gradient(rgba(var(--ink-rgb),0) 60%, rgba(var(--ink-rgb),.45)) }
.is-garden .card-mark{ place-items:start end; padding:9px }
.is-garden .card-mark i{ width:34px; height:34px }
.is-garden .card-cap{ padding:12px 6px 5px; gap:10px; align-items:flex-start }
.is-garden .card-cap b{
  width:26px; height:26px; border-radius:50% 50% 50% 4px; display:grid; place-items:center;
  background:rgba(var(--gold-rgb),.15); font-size:10px; letter-spacing:.04em; margin-top:-2px;
}
.is-garden .card-cap > span{ font-family:var(--sans); font-size:15px; font-weight:500; text-transform:none; letter-spacing:.01em; line-height:1.3 }
.is-garden .card-cap em{
  font-size:12.5px; line-height:1.5; margin-top:3px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.is-garden .blog-cat{ left:10px; top:10px; padding:4px 10px; font-size:9px; background:rgba(var(--ink-rgb),.7) }
.blogs.is-garden .blog-card{ display:flex; flex-direction:column }
.is-garden .blog-body{ flex:1; display:flex; flex-direction:column; padding:12px 6px 5px }
.is-garden .blog-meta{ margin-top:auto }
.is-garden .blog-title{ font-family:var(--sans); font-size:16px; font-weight:500; margin-bottom:6px }
.is-garden .blog-excerpt{ font-size:13px; line-height:1.55; margin-bottom:10px; -webkit-line-clamp:2 }
.is-garden .blog-meta{ font-size:10px; padding-top:9px }
@media (max-width:1040px){
  .blogs.is-garden{ grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (max-width:760px){
  .cards.is-garden{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
  .is-garden .card-cap{ padding:10px 3px 3px }
  .is-garden .card-cap b{ display:none }
  .is-garden .card-cap > span{ font-size:14px }
  .is-garden .card-cap em{ font-size:12px }
  /* work: a row per project, the photo beside its words */
  .blogs.is-garden{ grid-template-columns:1fr; gap:12px }
  .blogs.is-garden .blog-card{ display:grid; grid-template-columns:38% minmax(0,1fr); gap:12px; align-items:center }
  .is-garden .blog-frame{ aspect-ratio:1/1 }
  .is-garden .blog-body{ padding:2px 4px 2px 0 }
  .is-garden .blog-excerpt{ margin-bottom:6px }
  .is-garden .blog-cat{ display:none }
}

/* =========================================================== 14 · icon tiles, device tiles
   A tile with no photo but an icon (render.mjs ICONS) draws the icon,
   stroked in the accent, on a soft glow. theme.tiles = "device" (the
   mobile store): tiles are small phone screens: rounded glass, a camera
   island at the top, the icon lighting up on hover. */
.is-icon{ display:grid !important; place-items:center }
.is-icon::before{ content:none !important }
.tile-icon{
  width:clamp(40px,4.4vw,58px); height:auto; fill:none; stroke:var(--gold); stroke-width:1.3;
  stroke-linecap:round; stroke-linejoin:round; position:relative; z-index:1;
  filter:drop-shadow(0 0 14px rgba(var(--gold-rgb),.45));
  transition:transform .6s var(--ease-out), filter .6s var(--ease-out);
}
.card:hover .tile-icon,.blog-card:hover .tile-icon{ transform:scale(1.08); filter:drop-shadow(0 0 22px rgba(var(--gold-rgb),.8)) }

.cards.is-device{ max-width:1080px; gap:clamp(14px,1.6vw,22px); margin-top:clamp(28px,4.5vh,56px) }
.blogs.is-device{ max-width:1080px; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(14px,1.6vw,22px); margin-top:clamp(28px,4.5vh,56px) }
.is-device .card-frame,.is-device .blog-frame{
  aspect-ratio:1/1; border-radius:24px; border:1px solid rgba(var(--gold-rgb),.22);
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(var(--gold-rgb),.2), transparent 70%),
    linear-gradient(160deg,#141a26,#07090d);
  box-shadow:inset 0 0 0 5px rgba(var(--ink-rgb),.9), inset 0 0 0 6px rgba(255,255,255,.06);
  transition:border-color .45s var(--ease), transform .45s var(--ease);
}
.is-device .blog-frame{ aspect-ratio:4/3 }
.is-device .card-frame::after,.is-device .blog-frame::after{
  content:''; position:absolute; left:50%; top:12px; width:30%; max-width:62px; height:9px; margin-left:min(-15%,-31px);
  border-radius:9px; background:#020305; box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
}
.is-device .card:hover .card-frame,.is-device .blog-card:hover .blog-frame{ border-color:rgba(var(--gold-rgb),.6); transform:translateY(-4px) }
.is-device .card-mark{ place-items:end end; padding:12px }
.is-device .card-mark i{ width:34px; height:34px }
.is-device .card-cap{ padding-top:12px; gap:10px }
.is-device .card-cap > span{ font-family:var(--sans); font-size:15px; font-weight:500; text-transform:none; letter-spacing:.01em; line-height:1.3 }
.is-device .card-cap em{ font-size:12.5px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
.blogs.is-device .blog-card{ display:flex; flex-direction:column; border:0; background:none; backdrop-filter:none; -webkit-backdrop-filter:none }
.blogs.is-device .blog-card:hover{ transform:none }
.is-device .blog-cat{ top:auto; bottom:10px; left:10px }
.is-device .blog-body{ flex:1; display:flex; flex-direction:column; padding:12px 2px 0 }
.is-device .blog-title{ font-family:var(--sans); font-size:15px; font-weight:500; margin-bottom:4px }
.is-device .blog-excerpt{ font-size:12.5px; margin-bottom:8px; -webkit-line-clamp:2 }
.is-device .blog-meta{ margin-top:auto; font-size:11px; padding-top:8px }
.is-device .blog-meta span:last-child{ color:var(--gold-text); font-weight:500; letter-spacing:.04em }
@media (max-width:1040px){
  .blogs.is-device{ grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (max-width:760px){
  .cards.is-device{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
  .blogs.is-device{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
  .is-device .card-cap b{ display:none }
  .is-device .card-cap > span{ font-size:14px }
  .is-device .card-frame,.is-device .blog-frame{ border-radius:20px }
}

/* =========================================================== 15 · student stories
   outcome.stories: each testimonial as a card in a row that scrolls
   sideways. The text is clamped; hovering or focusing a card opens it. */
.stories{
  display:flex; gap:clamp(14px,1.6vw,22px); overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:rgba(var(--gold-rgb),.4) transparent;
  margin:clamp(26px,4vh,48px) calc(var(--pad) * -1) 0; padding:4px var(--pad) 14px;
  scroll-padding-inline:var(--pad);
}
.story{
  flex:0 0 clamp(272px,27vw,360px); scroll-snap-align:start; margin:0;
  display:flex; flex-direction:column; gap:14px; padding:20px 22px 18px;
  border:1px solid rgba(var(--gold-rgb),.22); border-radius:6px;
  background:rgba(var(--ink-rgb),.78); backdrop-filter:blur(10px) saturate(1.05); -webkit-backdrop-filter:blur(10px) saturate(1.05);
  transition:border-color .4s var(--ease); outline-offset:3px;
}
.story:hover,.story:focus-visible{ border-color:rgba(var(--gold-rgb),.6) }
.story-mark{ font-family:var(--serif); font-size:52px; line-height:.5; height:18px; color:var(--gold-text) }
.story-text{
  margin:0; font-size:14px; line-height:1.62; color:var(--bone);
  display:-webkit-box; -webkit-line-clamp:7; -webkit-box-orient:vertical; overflow:hidden;
}
.story:hover .story-text,.story:focus .story-text,.story:focus-within .story-text{
  display:block; max-height:15.5em; overflow-y:auto; scrollbar-width:thin;
}
.story-by{ display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:12px; border-top:1px solid var(--line-soft) }
.story-av{
  position:relative; flex:none; width:42px; height:42px; border-radius:50%; overflow:hidden;
  background:rgba(var(--gold-rgb),.14); border:1px solid rgba(var(--gold-rgb),.4);
}
.story-av::before{
  content:attr(data-initials); position:absolute; inset:0; display:grid; place-items:center;
  font-family:var(--serif); font-size:15px; letter-spacing:.04em; color:var(--gold-text);
}
.story-av img{ position:relative; width:100%; height:100%; object-fit:cover }
.story-who{ display:flex; flex-direction:column; gap:3px; min-width:0 }
.story-who b{ font-weight:500; font-size:14px; color:var(--bone) }
.story-who span{ font-size:11.5px; line-height:1.4; color:var(--bone-dim) }
.story-tags{ display:flex; flex-wrap:wrap; gap:6px }
.story-tags i{
  font-style:normal; font-size:10px; letter-spacing:.12em; text-transform:uppercase;
  padding:4px 10px; border-radius:20px; border:1px solid var(--line); color:var(--bone-dim);
}
.story-tags i.is-award{ border-color:rgba(var(--gold-rgb),.5); color:var(--gold-text) }
.stories-hint{ display:flex }
.stats[hidden]{ display:none }

/* =========================================================== 16 · compact tiles
   theme.tiles = "compact" (GEN Flyers): services and programs as small
   3:2 photos on a glass card with sans captions, and the destination
   gallery as one row of six small arches, so each chapter's words fit
   on the screen with it. */
.cards.is-compact,.blogs.is-compact{ max-width:1120px; gap:clamp(14px,1.6vw,22px); margin-top:clamp(28px,4.5vh,56px) }
.is-compact .card,.is-compact .blog-card{
  padding:8px; border:1px solid rgba(var(--gold-rgb),.2); border-radius:12px;
  background:rgba(var(--ink-rgb),.62); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  transition:border-color .4s var(--ease), transform .4s var(--ease);
}
.is-compact .card:hover,.is-compact .blog-card:hover{ border-color:rgba(var(--gold-rgb),.55); transform:translateY(-4px) }
.is-compact .card-frame,.is-compact .blog-frame{ aspect-ratio:3/2; border:0; border-radius:8px }
.is-compact .card-frame::after{ background:linear-gradient(rgba(var(--ink-rgb),0) 60%, rgba(var(--ink-rgb),.45)) }
.is-compact .card-mark{ place-items:start end; padding:8px }
.is-compact .card-mark i{ width:32px; height:32px }
.is-compact .card-cap{ padding:11px 5px 4px; gap:9px }
.is-compact .card-cap > span{ font-family:var(--sans); font-size:14.5px; font-weight:500; text-transform:none; letter-spacing:.01em; line-height:1.3 }
.is-compact .card-cap em{ font-size:12.5px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
.blogs.is-compact .blog-card{ display:flex; flex-direction:column }
.is-compact .blog-body{ flex:1; display:flex; flex-direction:column; padding:11px 5px 4px }
.is-compact .blog-title{ font-family:var(--sans); font-size:15px; font-weight:500; margin-bottom:5px }
.is-compact .blog-excerpt{ font-size:12.5px; margin-bottom:8px; -webkit-line-clamp:2 }
.is-compact .blog-meta{ margin-top:auto; font-size:10px; padding-top:8px }
.is-compact .blog-cat{ left:9px; top:9px; padding:4px 10px; font-size:9px }
@media (min-width:1041px){
  .people.is-compact{ grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(12px,1.3vw,20px); margin-top:clamp(28px,4.5vh,56px) }
  .people.is-compact .person:nth-child(3n+2){ margin-top:0 }
  .people.is-compact .person:nth-child(even){ margin-top:clamp(16px,3vh,32px) }
  .people.is-compact .person-arch{ aspect-ratio:10/11 }
}
@media (min-width:761px){
  .people.is-compact .person-window::before{ font-size:clamp(30px,3vw,46px) }
  .people.is-compact .person-plaque{ padding:12px 8px 11px; gap:5px }
  .people.is-compact .person-nm{ font-size:clamp(13px,1.1vw,16px) }
  .people.is-compact .person-sp{ font-size:9.5px; letter-spacing:.1em }
  .people.is-compact .person-meta{ font-size:9px; letter-spacing:.12em; gap:6px; flex-wrap:wrap; justify-content:center }
  .people.is-compact .person-bio{ padding:40px 10px 12px; font-size:11.5px }
  .people.is-compact .person-bio span{ -webkit-line-clamp:4 }
  .people.is-compact .person-no{ width:26px; height:26px }
  .people.is-compact .person-no b{ font-size:11px }
}
@media (max-width:760px){
  .cards.is-compact,.blogs.is-compact{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
  .is-compact .card-cap b{ display:none }
  .is-compact .card-cap > span{ font-size:13.5px }
  .story{ flex-basis:82% }
}
/* under the stories, the "why us" row is a footnote to them: smaller */
#outcomeStories ~ .stats{ margin-top:clamp(18px,3vh,32px) }
#outcomeStories ~ .stats .num{ font-size:clamp(22px,2vw,30px) }
#outcomeStories ~ .stats em{ font-size:12.5px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden }

/* =========================================================== 17 · phones
   One column of tall tiles made the services run 3–7 screens on a phone
   (Dental Castle's twelve: 7.5). Here the default tiles go two across
   and square, the blog/work cards become a row each (photo beside its
   words), the footer's link lists sit side by side, and every control
   gets a thumb-sized target. Brands with their own tile style (garden,
   compact, device) keep theirs. */
@media (max-width:760px){
  /* services: two across, square, two-line captions */
  .cards:not(.is-garden):not(.is-compact):not(.is-device){ grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 12px; margin-top:28px }
  .cards:not(.is-garden):not(.is-compact):not(.is-device) .card-frame{ aspect-ratio:1/1 }
  .cards:not(.is-garden):not(.is-compact):not(.is-device) .card-frame.is-blank::before{ font-size:44px }
  .cards:not(.is-garden):not(.is-compact):not(.is-device) .card-cap{ padding-top:10px; gap:0 }
  .cards:not(.is-garden):not(.is-compact):not(.is-device) .card-cap b{ display:none }
  .cards:not(.is-garden):not(.is-compact):not(.is-device) .card-cap > span{ font-size:14px; line-height:1.25; letter-spacing:.01em }
  .cards:not(.is-garden):not(.is-compact):not(.is-device) .card-cap em{
    font-size:12px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  .card-mark{ opacity:1; place-items:end end; padding:8px }
  .card-mark i{ width:30px; height:30px; background:rgba(var(--ink-rgb),.55) }

  /* blog / work: a row per card, the photo beside its words */
  .blogs:not(.is-garden):not(.is-device){ gap:12px; margin-top:28px }
  .blogs:not(.is-garden):not(.is-device) .blog-card{ display:grid; grid-template-columns:36% minmax(0,1fr); align-items:stretch }
  .blogs:not(.is-garden):not(.is-device) .blog-card:hover{ transform:none }
  .blogs:not(.is-garden):not(.is-device) .blog-frame{ aspect-ratio:auto; height:100%; min-height:118px }
  .blogs:not(.is-garden):not(.is-device) .blog-cat{ display:none }
  .blogs:not(.is-garden):not(.is-device) .blog-body{ padding:12px 12px 10px; display:flex; flex-direction:column }
  .blogs:not(.is-garden):not(.is-device) .blog-title{ font-size:16px; margin-bottom:6px }
  .blogs:not(.is-garden):not(.is-device) .blog-excerpt{ font-size:12.5px; line-height:1.5; margin-bottom:8px; -webkit-line-clamp:2 }
  .blogs:not(.is-garden):not(.is-device) .blog-meta{ margin-top:auto; padding-top:8px; font-size:11px }

  /* the menu button: a 44px target, the lines where they were */
  .nav-burger{ width:44px; height:44px; margin-right:-9px }
  .nav-burger i{ right:9px }
  .nav-burger i:nth-child(1){ top:18px }
  .nav-burger i:nth-child(2){ top:25px }

  /* thumb-sized buttons and links */
  /* branch buttons: two across under the photo and address, not one per line */
  .branch-links{ grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:12px }
  .branch-links a{ padding:13px 10px; font-size:11px; text-align:center }
  .sf-bottom a{ display:inline-block; padding:10px 0 }
  .sf-social a{ padding:10px 14px; font-size:13px }
  .sf-col ul{ gap:0 }
  .sf-col a{ display:inline-block; padding:8px 0; font-size:15px }

  /* the smallest labels, up to readable */
  .person-sp,.people-hint,.blog-cat,.story-tags i,.hero-reel-cap,.chapter span,.enq-f label,
  .sf-contact span,.quote footer,.person-meta,.person-cta,.hero-cue,.blogs .blog-meta{ font-size:11px }
  .brand-tx i{ font-size:9.5px; letter-spacing:.18em }
  /* a long brand name shrinks (ellipsis) rather than push the menu
     button off the screen */
  .nav .brand{ flex:1 1 auto; min-width:0 }
  .nav .brand-tx{ min-width:0 }
  .nav .brand-tx b,.nav .brand-tx i{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; letter-spacing:.16em }
  .foot-note{ font-size:11px; line-height:1.7 }
}
@media (max-width:560px){
  /* footer: the brand and contact full width, the link lists side by side */
  .sf-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 18px }
  .sf-brand,.sf-col:has(.sf-contact){ grid-column:1 / -1 }
}

/* a person niche with an icon instead of a portrait (the running route) */
.person-window.is-icon-window{ display:grid; place-items:center; padding-top:12% }
.person-window.is-icon-window::before{ content:none }
.person-window.is-icon-window .tile-icon{ width:clamp(54px,6vw,86px) }
/* icon-only tiles (no photo yet) don't need a tall frame */
.is-compact .card-frame.is-icon{ aspect-ratio:2/1 }
.is-compact .blog-frame.is-icon{ aspect-ratio:5/2 }

/* =========================================================== 18 · events
   A running club's races (render.mjs eventsView): Upcoming / Past tabs,
   then a card per event with a date badge, its races and fees, and its
   actions (Register and details while upcoming; results, photos after). */
.ev-tabs{ display:flex; gap:8px; margin-top:clamp(26px,4vh,44px) }
.ev-tabs button{
  padding:11px 18px; border:1px solid var(--line); border-radius:40px; background:rgba(var(--ink-rgb),.6);
  color:var(--bone-dim); font-size:12px; letter-spacing:.16em; text-transform:uppercase; cursor:pointer;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); transition:border-color .3s, color .3s, background .3s;
}
.ev-tabs button[aria-selected="true"]{ border-color:var(--gold); color:#1a1a1a; background:var(--gold) }
.ev-count{ display:inline-block; min-width:20px; margin-left:6px; padding:1px 6px; border-radius:10px; background:rgba(0,0,0,.18); font-size:11px; letter-spacing:0 }
.ev-panel{ margin-top:clamp(18px,3vh,28px) }
.ev-list{ display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr)); gap:clamp(14px,1.6vw,22px); max-width:1120px }
.ev-empty{ max-width:560px; padding:18px 20px; border:1px dashed var(--line); background:rgba(var(--ink-rgb),.6); color:var(--bone-dim); font-size:14px; line-height:1.6 }
.evc{
  display:flex; flex-direction:column; border:1px solid rgba(var(--gold-rgb),.22); border-radius:12px; overflow:hidden;
  background:rgba(var(--ink-rgb),.78); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
}
.evc-frame{ position:relative; aspect-ratio:16/8; background:linear-gradient(160deg,var(--ink-3),var(--ink)); overflow:hidden }
.evc-frame img{ width:100%; height:100%; object-fit:cover; display:block }
.evc-frame.is-icon{ display:grid; place-items:center }
.evc-date{
  position:absolute; left:12px; top:12px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  width:56px; height:60px; border-radius:10px; background:var(--gold); color:#1a1a1a; line-height:1;
}
.evc-date b{ font-size:24px; font-weight:600 }
.evc-date i{ font-style:normal; font-size:11px; letter-spacing:.14em; margin-top:3px }
.evc-body{ flex:1; display:flex; flex-direction:column; gap:8px; padding:16px 18px 18px }
.evc-title{ font-family:var(--sans); font-size:18px; font-weight:500; line-height:1.3; text-transform:none; letter-spacing:0 }
.evc-meta{ display:flex; flex-direction:column; gap:2px; margin:0; font-size:13px; color:var(--bone-dim) }
.evc-cats{ margin:0; font-size:12.5px; color:var(--gold-text); letter-spacing:.02em }
.evc-text{ margin:0; font-size:13.5px; line-height:1.55; color:#c9c7bf; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden }
.evc-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:auto; padding-top:8px }
.evc-acts .btn{ padding:11px 16px; font-size:11px }
.evc-closed,.evc-note{ font-size:12px; color:var(--bone-dim) }
.ev-list--upcoming .evc-acts--past,.ev-list--past .evc-acts--up{ display:none }
.ev-list--past .evc-date{ background:var(--bone-dim) }
.ev-reg select:disabled,.ev-reg button:disabled{ opacity:.55; cursor:not-allowed }
@media (max-width:760px){
  .ev-tabs button{ flex:1; padding:12px 10px }
  .evc-frame{ aspect-ratio:16/7 }
}

/* =========================================================== 19 · white page
   theme.page = "light" (Jadcherla Runners): the same layout on paper
   white. The ink tokens turn white and the bone tokens dark, so every
   scrim, glass card and text-shadow that was black haze becomes white
   haze; this block only re-colours what site.css writes as a literal.
   The world is told to start in daylight (runtime.light). */
body.page-light{
  --ink:#fbfaf6; --ink-2:#f4f2ec; --ink-3:#ebe8e0; --ink-rgb:251,250,246;
  --bone:#15171b; --bone-dim:#4a4d54; --muted:#6c6f76;
  --line:rgba(21,23,27,.16); --line-soft:rgba(21,23,27,.08);
}
.page-light ::selection{ background:var(--gold); color:#1a1a1a }
.page-light #vignette{ opacity:.55 }
.page-light #grain{ opacity:.025 }
.page-light #glfallback{ background:radial-gradient(60% 42% at 50% 78%, rgba(var(--gold-rgb),.14), transparent 70%), linear-gradient(#e9f0f8, var(--ink) 60%) }
.page-light .body-lg{ color:#2a2d33 }
.page-light .body{ color:#3b3e45 }
.page-light .pre-bar{ background:rgba(21,23,27,.12) }
.page-light .rail i{ background:rgba(21,23,27,.24) }
.page-light .nav.stuck::before{ box-shadow:0 1px 0 rgba(21,23,27,.04), 0 10px 30px rgba(21,23,27,.06) }
.page-light .btn-ghost{ background:rgba(var(--ink-rgb),.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px) }
.page-light .btn-gold:hover{ background:var(--gold-deep); color:#fff }
.page-light .hero-logo--plate{ border-color:var(--line) }
.page-light .chapters,.page-light .hero--wordmark .chapters{ border-top-color:var(--line) }
.page-light .card-frame{ background:radial-gradient(72% 54% at 50% 42%, rgba(var(--gold-rgb),.12), transparent 70%), linear-gradient(#ffffff, var(--ink-3)) }
.page-light .card-frame::after{ background:none }
.page-light .card-mark i{ border-color:var(--line) }
.page-light .card-cap em,.page-light .stat em{ color:#50535a }
.page-light .blog-excerpt{ color:#464950 }
.page-light .blog-meta{ color:#6c6f76 }
.page-light .blog-frame{ background:linear-gradient(160deg,#ffffff,var(--ink-3)) }
.page-light .blog-frame::after{ background:none }
.page-light .branch p,.page-light .price-item{ color:#3b3e45 }
.page-light .sf-brand p{ color:#50535a }
.page-light .sf-col a,.page-light .sf-contact li,.page-light .sf-social a{ color:#2a2d33 }
.page-light .sf-contact span{ color:#6c6f76 }
.page-light .sf-bottom{ color:#6c6f76 }
.page-light .foot-note{ color:#7a7d84 }
.page-light .enq input,.page-light .enq select,.page-light .enq textarea{ background:rgba(255,255,255,.75); color:var(--bone) }
.page-light .enq input:focus,.page-light .enq select:focus,.page-light .enq textarea:focus{ background:#fff }
.page-light .evc-text{ color:#3b3e45 }
.page-light .ev-count{ background:rgba(0,0,0,.08) }
.page-light .ev-tabs button[aria-selected="true"] .ev-count{ background:rgba(0,0,0,.16) }
/* glass cards: white glass reads better with a soft shadow than a dark line */
.page-light .is-compact .card,.page-light .is-compact .blog-card,.page-light .blog-card,.page-light .evc,.page-light .ev-empty{
  background:rgba(255,255,255,.8); box-shadow:0 10px 30px rgba(21,23,27,.07);
}
.page-light .tile-icon{ stroke:var(--gold-text) }
/* the world is already light: on phones the hero's wash only needs to
   hold the copy, and lets the world's lower half through */
@media (max-width:760px){
  .page-light.world-light .hero::before{ background:linear-gradient(rgba(var(--ink-rgb),.9), rgba(var(--ink-rgb),.78) 48%, rgba(var(--ink-rgb),.12) 70%, transparent 84%) }
}
/* the route gallery: limestone niches instead of dark stone */
.page-light .person-arch{ filter:drop-shadow(0 14px 26px rgba(21,23,27,.12)) }
.page-light .person-window{ background:radial-gradient(120% 80% at 50% 12%,#fff8ec,#f1ece2 70%) }
.page-light .person-window::after{ background:radial-gradient(70% 42% at 50% 0%,rgba(255,214,120,.4),rgba(255,214,120,0) 70%) }
.page-light .person-window img{ filter:saturate(.85) }
.page-light .person-plaque{ background:rgba(255,255,255,.88); box-shadow:0 10px 24px rgba(21,23,27,.06) }
.page-light .person-bio{ background:linear-gradient(rgba(var(--ink-rgb),0),rgba(var(--ink-rgb),.92) 42%,rgba(var(--ink-rgb),.97)) }
.page-light .people-hint{ text-shadow:none }
.page-light .tile-icon{ filter:none }

/* =========================================================== 20 · club hero
   theme.heroPhotos + a running club's events (render.mjs heroPhotos,
   heroEvents): the copy on the left, a framed space for the club's group
   photos on the right, and the next three events as tiles along the foot
   in place of the chapter index. */
.hero--club{ display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,min(34vw,500px)); column-gap:clamp(24px,4vw,72px); grid-template-rows:auto 1fr auto }
.hero--club .hero-top{ grid-column:1; grid-row:1; max-width:640px }
.hero--club .h-hero{ font-size:clamp(38px,4.4vw,66px); max-width:12em }
.hero--club .hero-spacer{ grid-column:1 / -1; grid-row:2; min-height:clamp(20px,4vh,60px) }
.hero--club .hero-foot{ grid-column:1 / -1; grid-row:3 }
.hero-side{ grid-column:2; grid-row:1; position:relative; z-index:2; padding-top:calc(var(--nav-h) + clamp(10px,2.4vh,32px)); align-self:start }
.hero-photos{
  position:relative; margin:0; aspect-ratio:4/3; border-radius:16px; overflow:hidden;
  background:var(--ink-3); border:6px solid #fff; box-shadow:0 24px 60px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  transform:rotate(1.2deg);
}
.hero-photos img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1.2s var(--ease) }
.hero-photos img.is-on{ opacity:1 }
.hero-photos figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:28px 16px 12px; font-size:12px; letter-spacing:.04em; color:#fff;
  background:linear-gradient(transparent, rgba(0,0,0,.55));
}
.hero-photos.is-empty{
  background:
    repeating-linear-gradient(135deg, rgba(var(--gold-rgb),.07) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #ffffff, #f1ede4);
}
.hero-photos-ph{ position:absolute; inset:14px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; border:1.5px dashed rgba(var(--gold-rgb),.55); border-radius:10px; text-align:center; padding:20px }
.hero-photos-ph .tile-icon{ width:56px; height:56px; fill:none; stroke:var(--gold-text); stroke-width:1.4 }
.hero-photos-ph span{ max-width:22ch; font-size:13px; line-height:1.5; letter-spacing:.04em; color:#4a4d54 }
/* the tiles */
.hero-events{ border-top:1px solid var(--line); padding-top:14px }
.hero-events-h{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 12px; font-size:11px; font-weight:500; letter-spacing:.22em; text-transform:uppercase; color:var(--gold-text) }
.hero-events-h span{ display:flex; align-items:center; gap:10px }
.hero-events-h .dot{ width:6px; height:6px; border-radius:50%; background:var(--gold); box-shadow:0 0 10px var(--gold) }
.hero-events-h a{ color:var(--bone-dim); letter-spacing:.18em; border-bottom:1px solid var(--line); padding-bottom:2px; transition:color .3s }
.hero-events-h a:hover{ color:var(--bone) }
.hev-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(10px,1.2vw,18px) }
.hev-list:empty{ display:none }
.hev:nth-child(n+4){ display:none }
.hev{
  display:flex; align-items:center; gap:14px; padding:12px 14px; border-radius:12px;
  background:rgba(var(--ink-rgb),.82); border:1px solid rgba(var(--gold-rgb),.22);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.hev-date{ flex:none; display:flex; flex-direction:column; align-items:center; justify-content:center; width:50px; height:54px; border-radius:10px; background:var(--gold); color:#1a1a1a; line-height:1 }
.hev-date b{ font-size:21px; font-weight:600 }
.hev-date i{ font-style:normal; font-size:10px; letter-spacing:.1em; margin-top:3px; white-space:nowrap }
.hev-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:3px }
.hev-title{ font-size:15px; font-weight:500; line-height:1.25; color:var(--bone); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.hev-meta,.hev-races{ font-size:12px; line-height:1.4; color:var(--bone-dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.hev-races{ color:var(--gold-text) }
.hev-go{ flex:none; padding:10px 14px; border-radius:30px; background:var(--gold); color:#1a1a1a; font-size:10.5px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; transition:background .3s }
.hev-go:hover{ background:var(--gold-soft) }
.hev-go.is-ghost{ background:transparent; border:1px solid var(--line); color:var(--bone) }
.hev-empty{
  display:flex; align-items:center; gap:14px; margin:0; max-width:760px; padding:14px 16px; border-radius:12px;
  background:rgba(var(--ink-rgb),.82); border:1px dashed rgba(var(--gold-rgb),.45); font-size:14px; line-height:1.5; color:var(--bone-dim);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
}
.hev-empty[hidden]{ display:none }
.hev-empty .tile-icon{ flex:none; width:30px; height:30px; fill:none; stroke:var(--gold-text); stroke-width:1.5 }
.hev-empty span{ flex:1 }
.hev-empty a{ flex:none; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-text); border-bottom:1px solid rgba(var(--gold-rgb),.45); padding-bottom:2px }
@media (max-width:1040px){
  .hev-list{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hev:nth-child(n+3){ display:none }
}
@media (max-width:760px){
  .hero--club{ display:flex }
  /* on a phone the next events come straight after the buttons, the photos after them */
  .hero--club .hero-foot{ order:2; padding-top:26px }
  .hero--club .hero-side{ order:3; padding-bottom:clamp(22px,4.2vh,44px) }
  .hero--club .hero-spacer{ display:none }
  .hero--club .h-hero{ font-size:clamp(32px,9vw,44px) }
  .hero-side{ padding-top:4px; align-self:stretch }
  .hero-photos{ transform:none; border-width:5px; aspect-ratio:16/10 }
  .hev-list{ grid-template-columns:minmax(0,1fr) }
  .hev-meta,.hev-title{ white-space:normal }
  .hev{ gap:12px; padding:12px }
  .hev-go{ padding:9px 12px; font-size:10px; letter-spacing:.1em }
  .hev:nth-child(n+3){ display:flex }
  .hev:nth-child(n+4){ display:none }
  .hev-empty{ flex-wrap:wrap }
}

/* =========================================================== 21 · gallery
   theme.gallery (render.mjs galleryView): past events' photos after the
   hero, from numbered files on the media server. Not a camera stop. */
.sec--gallery{ min-height:auto; padding-top:clamp(72px,12vh,140px); padding-bottom:clamp(72px,12vh,140px) }
/* .sec's display:flex would otherwise beat [hidden]: no photos yet, no heading */
.sec--gallery[hidden]{ display:none }
.gal{ list-style:none; margin:clamp(28px,4.5vh,52px) 0 0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(10px,1.2vw,18px); max-width:1240px }
.gal-item:nth-child(5n+1){ grid-column:span 2; grid-row:span 2 }
/* a slot waits as a soft tile until its photo lands (missing ones drop out) */
.gal-item:not(.is-in) .gal-btn{ background:linear-gradient(110deg, var(--ink-3) 30%, var(--ink-2) 50%, var(--ink-3) 70%); cursor:default }
.gal-item:not(.is-in) img{ opacity:0 }
.gal-btn{ display:block; width:100%; height:100%; padding:0; border:0; border-radius:12px; overflow:hidden; cursor:zoom-in; background:var(--ink-3); box-shadow:0 10px 30px rgba(0,0,0,.14) }
.gal-btn img{ display:block; width:100%; height:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .8s var(--ease-out) }
.gal-btn:hover img,.gal-btn:focus-visible img{ transform:scale(1.04) }
.gal-btn:focus-visible{ outline:2px solid var(--gold); outline-offset:3px }
.gal-box{ position:fixed; inset:0; z-index:300; display:grid; place-items:center; padding:clamp(16px,4vw,56px); background:rgba(10,10,12,.92) }
.gal-box[hidden]{ display:none }
.gal-box img{ max-width:100%; max-height:86vh; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,.5) }
.gal-x,.gal-nav{ position:absolute; border:0; background:rgba(255,255,255,.12); color:#fff; border-radius:50%; width:48px; height:48px; font-size:30px; line-height:1; cursor:pointer }
.gal-x{ top:16px; right:16px }
.gal-prev{ left:16px; top:50% }
.gal-next{ right:16px; top:50% }
.gal-x:hover,.gal-nav:hover{ background:rgba(255,255,255,.24) }
html.gal-open{ overflow:hidden }
@media (max-width:760px){
  /* phones swipe the photos sideways */
  .gal{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; margin-left:calc(var(--pad) * -1); margin-right:calc(var(--pad) * -1); padding:0 var(--pad) }
  .gal::-webkit-scrollbar{ display:none }
  .gal-item{ flex:0 0 78%; scroll-snap-align:center }
  .gal-btn img{ aspect-ratio:4/5 }
  .gal-nav{ display:none }
}

/* =========================================================== 22 · founders
   "Founded by …" under a chapter's copy (render.mjs founders) */
.founders{ position:relative; z-index:2; display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; margin:clamp(14px,2.4vh,24px) 0 0; max-width:min(720px,58vw) }
.founders span{ font-size:11px; font-weight:500; letter-spacing:.22em; text-transform:uppercase; color:var(--gold-text) }
.founders b{ font-family:var(--serif); font-size:clamp(20px,1.8vw,26px); font-weight:500; color:var(--bone); letter-spacing:.01em }
.founders i{ font-family:var(--serif); font-style:italic; font-size:clamp(18px,1.6vw,22px); color:var(--gold-text) }
.founders em{ font-style:normal; white-space:nowrap }
@media (max-width:1040px){ .founders{ max-width:none } }

/* =========================================================== 23 · campaign popup
   theme.promo (render.mjs promoView): a co-branded campaign (Dental
   Castle: Invisalign SmileView) in its own colours, the same on a dark or
   white page. A corner tab reopens it. */
.promo{
  --pb:#0b98d6; --pb-deep:#0779ab; --pi:#16191d; --pm:#4d535b;
  position:fixed; inset:0; z-index:250; display:grid; place-items:center; padding:clamp(12px,3vw,40px);
  background:rgba(12,16,22,.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  opacity:0; transition:opacity .35s var(--ease);
}
.promo[hidden]{ display:none }
.promo.is-in{ opacity:1 }
.promo-card{
  position:relative; display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); width:min(880px,100%); max-height:min(640px,94vh);
  overflow:hidden; border-radius:18px; background:#fff; color:var(--pi); box-shadow:0 30px 80px rgba(0,0,0,.35);
  transform:translateY(14px) scale(.98); transition:transform .45s var(--ease-out);
}
.promo.is-in .promo-card{ transform:none }
.promo-media{ background:linear-gradient(160deg,#dfe6ee,#c7d2dd); display:flex; align-items:flex-end; justify-content:center; overflow:hidden }
.promo-media img{ display:block; width:100%; height:100%; object-fit:cover; object-position:30% 30% }
.promo-body{ display:flex; flex-direction:column; gap:12px; padding:clamp(22px,3vw,36px); overflow-y:auto }
.promo-logo{ width:132px; height:auto; display:block; filter:brightness(.4) }
.promo-eyebrow{ margin:4px 0 0; font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--pb-deep) }
.promo-h{ margin:0; font-family:var(--sans); font-size:clamp(26px,2.6vw,34px); font-weight:600; line-height:1.12; letter-spacing:-.01em; color:var(--pb); text-transform:none }
.promo-text{ margin:0; font-size:15px; line-height:1.6; color:var(--pm) }
.promo-try{ display:flex; flex-direction:column; gap:14px; margin-top:4px }
.promo-qr{ display:flex; align-items:center; gap:16px; padding:12px; border:1px solid #e3e8ee; border-radius:12px; background:#f7f9fb }
.promo-qr img{ flex:none; width:118px; height:118px; image-rendering:pixelated; background:#fff; padding:6px; border-radius:6px }
.promo-qr-h{ margin:0 0 6px; font-size:14px; font-weight:600; color:var(--pi) }
.promo-qr ol{ margin:0; padding-left:18px; font-size:13px; line-height:1.55; color:var(--pm) }
.promo-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px }
.promo-go{ display:inline-flex; align-items:center; padding:13px 22px; border-radius:40px; background:var(--pb); color:#fff; font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; transition:background .3s }
.promo-go:hover{ background:var(--pb-deep) }
.promo-book{ font-size:13px; font-weight:500; color:var(--pi); border-bottom:1px solid currentColor; padding-bottom:1px }
.promo-fine{ margin:6px 0 0; font-size:10px; line-height:1.5; color:#8a9099 }
.promo-x{ position:absolute; top:10px; right:10px; z-index:2; width:38px; height:38px; border:0; border-radius:50%; background:rgba(255,255,255,.9); color:var(--pi); font-size:24px; line-height:1; cursor:pointer; box-shadow:0 2px 10px rgba(0,0,0,.12) }
.promo-x:hover{ background:#fff }
.promo-x:focus-visible,.promo-go:focus-visible,.promo-book:focus-visible,.promo-chip:focus-visible{ outline:2px solid var(--pb); outline-offset:3px }
/* the reopen tab: a slim vertical tab on the left edge (clear of the
   hero's chapter row and the chat bubble on the right); a pill on phones */
.promo-chip{
  position:fixed; left:0; top:50%; z-index:45; padding:16px 10px; border:0; border-radius:0 10px 10px 0; cursor:pointer;
  writing-mode:vertical-rl; transform:translateY(-50%) rotate(180deg); transform-origin:center;
  background:#0b98d6; color:#fff; font-size:12px; font-weight:600; letter-spacing:.06em; box-shadow:0 8px 22px rgba(11,152,214,.35);
  transition:padding .25s var(--ease), background .25s;
}
.promo-chip:hover{ background:#0779ab; padding-left:14px }
.promo-chip::before{ content:'✦'; margin-bottom:8px }
.promo-chip[hidden]{ display:none }
html.promo-open{ overflow:hidden }
@media (max-width:760px){
  .promo{ align-items:end; padding:0 }
  .promo-card{ grid-template-columns:1fr; grid-template-rows:auto 1fr; max-height:92vh; border-radius:18px 18px 0 0 }
  .promo-media{ height:150px }
  .promo-media img{ object-position:50% 34% }
  .promo-body{ padding:18px 18px 24px; gap:10px }
  .promo-logo{ width:110px }
  .promo-h{ font-size:24px }
  .promo-text{ font-size:14px }
  /* a phone can't scan its own screen: the button is the way in */
  .promo-qr{ display:none }
  .promo-go{ flex:1; justify-content:center }
  .promo-chip{ top:auto; left:12px; bottom:12px; padding:11px 16px 11px 14px; border-radius:30px; writing-mode:horizontal-tb; transform:none }
  .promo-chip::before{ margin:0 8px 0 0 }
}

/* =========================================================== 24 · organisers
   The people behind the club, under a chapter's copy (render.mjs
   organisers): borderless portraits centred on each person, the name and
   role on a soft fade at the foot of the photo, as running clubs show
   their captains. */
.team{ position:relative; z-index:2; list-style:none; margin:clamp(20px,3.2vh,32px) 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(10px,1.2vw,16px); max-width:min(620px,50vw) }
.team-card{ position:relative; overflow:hidden; border-radius:14px; aspect-ratio:4/5; background:var(--ink-3); box-shadow:0 14px 34px rgba(0,0,0,.14) }
.team-card img,.team-mono{ display:block; width:100%; height:100%; object-fit:cover; object-position:50% 30%; transition:transform .9s var(--ease-out) }
.team-card:hover img{ transform:scale(1.04) }
.team-mono{ display:grid; place-items:center; font-family:var(--serif); font-size:38px; color:var(--gold-text) }
.team-cap{
  /* a fixed-height foot, content from its top: the names line up across
     the row whether the role takes one line or two */
  position:absolute; left:0; right:0; bottom:0; height:40%; display:flex; flex-direction:column; justify-content:flex-start; gap:3px;
  padding:clamp(26px,4.2vw,40px) 12px 10px; background:linear-gradient(transparent, rgba(10,12,16,.55) 34%, rgba(10,12,16,.88));
}
.team-cap b{ font-size:15px; font-weight:600; line-height:1.2; color:#fff; letter-spacing:.005em }
.team-cap i{ font-style:normal; font-size:10.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#ffd2a6 }
@media (max-width:1040px){ .team{ max-width:none } }
@media (max-width:520px){
  .team{ gap:8px }
  .team-card{ border-radius:10px }
  /* narrow tiles: the caption takes the height its words need, so a long
     name and a two-line role are never clipped */
  .team-cap{ height:auto; justify-content:flex-end; padding:30px 7px 7px; gap:2px }
  .team-cap b{ font-size:12px }
  .team-cap i{ font-size:8.5px; letter-spacing:.06em }
}

/* =========================================================== 25 · white page type
   theme.strongType (Jadcherla Runners): on a white page, dark text over a
   bright world reads faint at the night page's light weights, so type is
   a step heavier and darker, the small labels a little larger, the halo
   behind copy tighter and the wash on the copy's side firmer. */
body.type-strong{ font-weight:400; --bone:#111317; --bone-dim:#363a41; --muted:#555960 }
.type-strong .display{ font-weight:600; letter-spacing:.01em; text-shadow:0 0 1px rgba(var(--ink-rgb),.9), 0 2px 22px rgba(var(--ink-rgb),.85) }
.type-strong .body-lg{ color:#16191d; font-weight:400; text-shadow:0 0 2px rgba(var(--ink-rgb),.95), 0 1px 14px rgba(var(--ink-rgb),.9) }
.type-strong .body{ color:#24272c; font-weight:400 }
.type-strong .eyebrow,.type-strong .chapno{ font-size:12px; font-weight:600; letter-spacing:.2em; text-shadow:0 0 2px rgba(var(--ink-rgb),.95) }
.type-strong .eyebrow{ color:#24272c }
.type-strong .nav-link{ font-weight:600; color:#24272c }
.type-strong .brand-tx b{ font-weight:600; color:#111317 }
.type-strong .brand-tx i{ color:#41454c; font-weight:500 }
.type-strong .nav-cta{ font-weight:600 }
.type-strong .btn{ font-weight:600 }
.type-strong .hero-cue,.type-strong .chapter span{ color:#2a2d33 }
.type-strong .num{ font-weight:600; color:#111317 }
.type-strong .stat span{ font-size:11.5px; font-weight:600 }
.type-strong .stat em,.type-strong .card-cap em{ color:#30343a; font-size:13.5px }
.type-strong .card-cap > span,.type-strong .person-nm,.type-strong .blog-title{ font-weight:600; color:#111317 }
.type-strong .person-sp{ color:#30343a; font-weight:600 }
.type-strong .blog-excerpt,.type-strong .evc-text,.type-strong .branch p{ color:#2a2d33 }
.type-strong .blog-meta,.type-strong .evc-meta,.type-strong .hev-meta{ color:#41454c }
.type-strong .enq-f label{ font-weight:600; color:#2a2d33 }
.type-strong .enq-head p,.type-strong .enq-note{ color:#30343a }
.type-strong .sf-brand p,.type-strong .sf-col a,.type-strong .sf-contact li{ color:#1d2025 }
.type-strong .sf-col h4{ font-weight:600 }
.type-strong .sf-bottom,.type-strong .foot-note{ color:#4a4e55 }
.type-strong .ev-empty,.type-strong .hev-empty{ color:#2a2d33 }
.type-strong .founders b{ font-weight:600; color:#111317 }
/* a firmer wash on the copy's side, so the world reads as a backdrop:
   left-to-right on wide screens, top-to-bottom on phones */
@media (min-width:761px){
  .type-strong.world-light .hero::before{
    background:
      linear-gradient(90deg, rgba(var(--ink-rgb),.92) 0%, rgba(var(--ink-rgb),.8) 34%, rgba(var(--ink-rgb),.3) 58%, transparent 76%),
      linear-gradient(rgba(var(--ink-rgb),.55), transparent 36%);
  }
  .type-strong.world-light .sec::before,.type-strong.world-light .foot::before{
    background:linear-gradient(90deg, rgba(var(--ink-rgb),.95) 0%, rgba(var(--ink-rgb),.9) 40%, rgba(var(--ink-rgb),.6) 66%, rgba(var(--ink-rgb),.25) 100%);
  }
}
@media (max-width:760px){
  .type-strong.world-light .hero::before{ background:linear-gradient(rgba(var(--ink-rgb),.94), rgba(var(--ink-rgb),.86) 52%, rgba(var(--ink-rgb),.2) 74%, transparent 88%) }
  .type-strong.world-light .sec::before,.type-strong.world-light .foot::before{ background:linear-gradient(rgba(var(--ink-rgb),.82), rgba(var(--ink-rgb),.92) 16%, rgba(var(--ink-rgb),.92) 84%, rgba(var(--ink-rgb),.82)) }
  .type-strong .eyebrow,.type-strong .chapno{ font-size:11.5px }
  .type-strong .chapter span,.type-strong .person-sp,.type-strong .enq-f label,.type-strong .hero-cue{ font-size:12px }
}

/* =========================================================== 26 · announcement
   A coming run announced before its date (render.mjs heroAnnounce,
   announceCard): a tile in the hero's upcoming strip, a card in Events. */
.hev-ann{
  display:flex; align-items:center; gap:16px; max-width:820px; padding:14px 16px; border-radius:14px;
  background:rgba(var(--ink-rgb),.9); border:1px solid rgba(var(--gold-rgb),.4); box-shadow:0 12px 30px rgba(0,0,0,.1);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
}
.hev-ann[hidden]{ display:none }
.hev-ann-badge,.ev-ann-badge{
  flex:none; display:grid; place-items:center; padding:10px 12px; border-radius:10px; background:var(--gold); color:#1a1a1a;
  font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; line-height:1.1; text-align:center;
}
.hev-ann-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:5px }
.hev-ann-body b{ font-size:16px; font-weight:700; line-height:1.3; color:var(--bone) }
.hev-ann-body span{ display:flex; flex-wrap:wrap; gap:6px }
.hev-ann-body em{ font-style:normal; font-size:12px; font-weight:700; letter-spacing:.04em; padding:3px 9px; border-radius:20px; color:var(--gold-text); background:rgba(var(--gold-rgb),.14) }
.hev-ann-body small{ font-size:13px; color:var(--bone-dim) }
.ev-ann{
  max-width:760px; padding:clamp(20px,2.6vw,32px); border-radius:16px;
  background:rgba(var(--ink-rgb),.92); border:1px solid rgba(var(--gold-rgb),.4); box-shadow:0 16px 40px rgba(0,0,0,.1);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
}
.ev-ann[hidden]{ display:none }
.ev-ann-badge{ display:inline-block; margin-bottom:14px }
.ev-ann-title{ margin:0 0 12px; font-family:var(--sans); font-size:clamp(22px,2.2vw,30px); font-weight:700; line-height:1.2; text-transform:none; letter-spacing:-.005em; color:var(--bone) }
.ev-ann-lead{ margin:0 0 10px; font-size:17px; font-weight:600; line-height:1.55; color:var(--bone) }
.ev-ann-text{ margin:0 0 18px; font-size:16px; line-height:1.65; color:var(--bone-dim) }
.ev-ann-h{ margin:0 0 10px; font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-text) }
.ev-ann-cats{ list-style:none; margin:0 0 18px; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px }
.ev-ann-cats li{ display:flex; flex-direction:column; gap:4px; padding:14px; border-radius:12px; background:rgba(var(--gold-rgb),.1); border:1px solid rgba(var(--gold-rgb),.28) }
.ev-ann-cats b{ font-size:18px; font-weight:700; line-height:1.2; color:var(--bone) }
.ev-ann-cats span{ font-size:14px; line-height:1.4; color:var(--bone-dim) }
.ev-ann-note{ display:flex; align-items:center; gap:10px; margin:0 0 12px; font-size:15px; font-weight:600; color:var(--bone) }
.ev-ann-note .tile-icon{ flex:none; width:24px; height:24px; fill:none; stroke:var(--gold-text); stroke-width:1.6 }
.ev-ann-outro{ margin:0; font-size:15px; line-height:1.6; color:var(--bone-dim) }
.ev-ann-outro strong{ color:var(--gold-text); font-weight:700 }
@media (max-width:760px){
  /* the badge on top, the words across the full width, the button under */
  .hev-ann{ flex-wrap:wrap; align-items:flex-start; gap:10px 12px; padding:14px }
  .hev-ann-body{ flex:1 1 100%; order:2 }
  .hev-ann .hev-go{ order:3 }
  .hev-ann-badge{ padding:7px 10px; font-size:12px }
  .ev-ann-cats{ grid-template-columns:1fr }
}

/* =========================================================== 27 · bigger type
   theme.strongType, a second step (client feedback: "bolder, brighter or
   bigger"): lead paragraphs larger and semi-bold, the small print at
   least 14–15 px, labels 12 px and up. */
.type-strong .body-lg{ font-size:clamp(17px,1.3vw,20px); font-weight:500; line-height:1.66 }
.type-strong .body{ font-size:16px }
.type-strong .h-sec{ font-size:clamp(34px,4.6vw,70px) }
.type-strong .eyebrow,.type-strong .chapno{ font-size:13px; font-weight:700 }
.type-strong .nav-link{ font-size:12.5px; font-weight:700 }
.type-strong .btn{ font-size:12.5px; font-weight:700 }
.type-strong .stat span{ font-size:12.5px; font-weight:700 }
.type-strong .stat em,.type-strong .card-cap em{ font-size:15px; line-height:1.55 }
.type-strong .is-compact .card-cap > span{ font-size:16.5px; font-weight:700 }
.type-strong .blog-title,.type-strong .is-compact .blog-title{ font-size:17px; font-weight:700 }
.type-strong .blog-excerpt,.type-strong .is-compact .blog-excerpt{ font-size:15px; line-height:1.55 }
.type-strong .person-nm{ font-weight:700 }
.type-strong .person-sp{ font-size:12px }
.type-strong .hev-title{ font-size:16px; font-weight:700 }
.type-strong .hev-meta,.type-strong .hev-races{ font-size:13.5px }
.type-strong .evc-title{ font-size:19px; font-weight:700 }
.type-strong .evc-meta,.type-strong .evc-text{ font-size:15px }
.type-strong .ev-tabs button{ font-size:13px; font-weight:700 }
.type-strong .enq-head p,.type-strong .enq-note{ font-size:15px }
.type-strong .enq-f label{ font-size:12px; font-weight:700 }
.type-strong .branch h3{ font-weight:600 }
.type-strong .branch p{ font-size:16px }
.type-strong .branch-links a{ font-size:12.5px; font-weight:700 }
.type-strong .sf-brand p,.type-strong .sf-col a,.type-strong .sf-contact li{ font-size:15.5px }
.type-strong .sf-contact span{ font-size:12px; font-weight:700 }
.type-strong .team-cap b{ font-size:16px; font-weight:700 }
.type-strong .team-cap i{ font-size:11px; font-weight:700 }
.type-strong .hero-events-h{ font-size:12.5px; font-weight:700 }
@media (max-width:760px){
  .type-strong .body-lg{ font-size:16.5px }
  .type-strong .eyebrow,.type-strong .chapno{ font-size:12px }
  .type-strong .team-cap b{ font-size:12.5px }
  .type-strong .team-cap i{ font-size:9px }
}
/* an email address reads as written, not in the buttons' capitals */
.branch-links a[href^="mailto:"]{ text-transform:none; letter-spacing:.02em }
@media (max-width:760px){ .branch-links a[href^="mailto:"]{ grid-column:1 / -1 } }
/* an announced event (month-only date) spans the row in both lists */
.hev-list .hev-ann,.ev-list .ev-ann{ grid-column:1 / -1 }
.hev-list .hev-ann{ max-width:none }
.evc-closed[hidden]{ display:none }

/* =========================================================== 28 · registering on the site
   render.mjs eventRegisterDirect + events.js registerHere: the full
   TekMegha Events form in three short groups, and the confirmation. */
.ev-reg-step{ margin-top:22px }
.ev-reg-step h4{ margin:0 0 -8px; font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-text) }
.ev-reg-step + .ev-reg-step{ padding-top:20px; border-top:1px solid var(--line-soft) }
.enq input[type="date"]{ min-height:46px }
.ev-reg-check{ display:flex; align-items:flex-start; gap:10px; margin-top:20px; font-size:14px; line-height:1.5; color:var(--bone-dim); cursor:pointer }
.ev-reg-check input{ width:18px; height:18px; margin:2px 0 0; accent-color:var(--gold-deep); flex:none }
.ev-reg-done{
  padding:clamp(24px,3vw,36px); border-radius:16px; text-align:left;
  background:rgba(var(--ink-rgb),.94); border:1px solid rgba(var(--gold-rgb),.45); box-shadow:0 16px 40px rgba(0,0,0,.1);
}
.ev-reg-done[hidden]{ display:none }
.ev-reg-done-mark{ display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:var(--gold); color:#1a1a1a; font-size:24px; font-weight:700; margin-bottom:14px }
.ev-reg-done h3{ margin:0 0 8px; font-family:var(--sans); font-size:clamp(22px,2.2vw,28px); font-weight:700; text-transform:none; letter-spacing:0; color:var(--bone) }
.ev-reg-done p{ margin:0 0 10px; font-size:15.5px; line-height:1.6; color:var(--bone-dim) }
.ev-reg-done-id b{ font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:15px; letter-spacing:.04em; color:var(--bone); background:rgba(var(--gold-rgb),.14); padding:3px 8px; border-radius:6px }
.ev-reg-done-acts{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px }

/* =========================================================== 29 · participants
   events.js: how many have signed up on each event card, and the public
   participants list (runners / results) in a dialog, as on TekMegha
   Events' own page. */
.evc-runners{
  display:flex; align-items:center; gap:7px; width:100%; margin-top:2px; padding:9px 12px; border-radius:10px; cursor:pointer;
  border:1px solid rgba(var(--gold-rgb),.3); background:rgba(var(--gold-rgb),.08); color:var(--bone); font:inherit; font-size:14px; text-align:left;
  transition:background .25s, border-color .25s;
}
.evc-runners:hover{ background:rgba(var(--gold-rgb),.16); border-color:rgba(var(--gold-rgb),.55) }
.evc-runners b{ font-weight:700 }
.evc-runners i{ margin-left:auto; font-style:normal; font-size:12px; font-weight:700; letter-spacing:.06em; color:var(--gold-text) }
.evp-box{ position:fixed; inset:0; z-index:240; display:grid; place-items:center; padding:clamp(12px,3vw,40px); background:rgba(12,16,22,.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px) }
.evp-box[hidden]{ display:none }
html.evp-open{ overflow:hidden }
.evp-card{ position:relative; width:min(640px,100%); max-height:min(760px,92vh); display:flex; flex-direction:column; border-radius:18px; background:var(--ink); color:var(--bone); box-shadow:0 30px 80px rgba(0,0,0,.3); overflow:hidden }
.evp-in{ padding:clamp(20px,3vw,30px); overflow-y:auto }
.evp-x{ position:absolute; top:10px; right:10px; z-index:2; width:38px; height:38px; border:0; border-radius:50%; background:var(--ink-3); color:var(--bone); font-size:24px; line-height:1; cursor:pointer }
.evp-h{ margin:0 44px 4px 0; font-family:var(--sans); font-size:clamp(20px,2vw,24px); font-weight:700; line-height:1.25; text-transform:none; letter-spacing:0 }
.evp-sub{ margin:0 0 14px; font-size:14.5px; color:var(--bone-dim) }
.evp-wait{ margin:18px 0; font-size:15px; color:var(--bone-dim) }
.evp-tabs{ display:inline-flex; gap:4px; padding:4px; margin-bottom:12px; border-radius:30px; background:var(--ink-3) }
.evp-tabs button{ padding:8px 16px; border:0; border-radius:30px; background:none; color:var(--bone-dim); font:inherit; font-size:13px; font-weight:700; cursor:pointer }
.evp-tabs button[aria-selected="true"]{ background:var(--gold); color:#1a1a1a }
.evp-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px }
.evp-chips button{ padding:7px 12px; border:1px solid var(--line); border-radius:20px; background:none; color:var(--bone); font:inherit; font-size:13px; font-weight:600; cursor:pointer }
.evp-chips button span{ margin-left:4px; font-size:11.5px; color:var(--bone-dim) }
.evp-chips button[aria-pressed="true"]{ border-color:var(--gold); background:rgba(var(--gold-rgb),.15) }
.evp-tools{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-bottom:12px }
.evp-tools .evp-g{ margin:0 }
.evp-q{ flex:1 1 220px; min-width:0; padding:11px 14px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--bone); font:inherit; font-size:15px }
.evp-q:focus{ outline:none; border-color:var(--gold) }
.evp-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column }
.evp-row{ display:flex; align-items:center; gap:12px; padding:10px 4px; border-bottom:1px solid var(--line-soft) }
.evp-row.is-you{ background:rgba(var(--gold-rgb),.1); border-radius:10px; padding-left:8px; padding-right:8px }
.evp-rank{ flex:none; width:30px; text-align:center; font-size:15px; font-weight:700; color:var(--bone-dim) }
.evp-av{ flex:none; display:grid; place-items:center; width:38px; height:38px; border-radius:50%; font-size:13px; font-weight:700; color:#fff }
.evp-av[data-tone="0"]{ background:#e0702a } .evp-av[data-tone="1"]{ background:#2f6fb0 } .evp-av[data-tone="2"]{ background:#2e8b57 }
.evp-av[data-tone="3"]{ background:#b8466e } .evp-av[data-tone="4"]{ background:#7d4fb0 }
.evp-who{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px }
.evp-name{ font-size:15.5px; font-weight:600; color:var(--bone); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.evp-meta{ font-size:13px; color:var(--bone-dim) }
.evp-you{ font-style:normal; font-size:11px; font-weight:700; padding:2px 7px; border-radius:10px; background:var(--gold); color:#1a1a1a; vertical-align:2px }
.evp-tick{ color:#2e8b57; font-weight:700 }
.evp-time{ flex:none; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:14.5px; font-weight:600; color:var(--bone) }
.evp-more{ margin-top:14px }
@media (max-width:760px){
  .evp-box{ place-items:end stretch; padding:0 }
  .evp-card{ width:100%; max-height:88vh; border-radius:18px 18px 0 0 }
}

/* =========================================================== 30 · registration popup
   render.mjs eventRegisterDirect + events.js wizard: the section keeps a
   short card; Register opens the form as a popup in steps — details,
   interests, a photo for the organisers, then review and payment. */
.ev-reg--card .enq-foot .btn:disabled{ opacity:.55; cursor:not-allowed }
.evr-mini{ list-style:none; display:flex; flex-wrap:wrap; gap:10px 22px; margin:20px 0 0; padding:0 }
.evr-mini li{ display:flex; align-items:center; gap:9px; font-size:14.5px; color:var(--bone) }
.evr-mini b{ display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:rgba(var(--gold-rgb),.16); color:var(--gold-text); font-size:13px; font-weight:700 }
.evr{ position:fixed; inset:0; z-index:250; display:grid; place-items:center; padding:clamp(12px,3vw,40px); background:rgba(12,16,22,.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); opacity:0; transition:opacity .25s }
.evr[hidden]{ display:none }
.evr.is-in{ opacity:1 }
html.evr-open{ overflow:hidden }
.evr-card{ position:relative; width:min(760px,100%); max-height:min(860px,94vh); display:flex; border-radius:18px; background:var(--ink); color:var(--bone); box-shadow:0 30px 80px rgba(0,0,0,.3); overflow:hidden; transform:translateY(12px); transition:transform .3s }
.evr.is-in .evr-card{ transform:none }
.evr-x{ position:absolute; top:10px; right:10px; z-index:3; width:38px; height:38px; border:0; border-radius:50%; background:var(--ink-3); color:var(--bone); font-size:24px; line-height:1; cursor:pointer }
.evr-form.enq{ flex:1; min-width:0; display:flex; flex-direction:column; padding:0; border:0; background:none; backdrop-filter:none; -webkit-backdrop-filter:none }
.evr-top{ padding:clamp(18px,2.6vw,26px) clamp(18px,3vw,30px) 14px; border-bottom:1px solid var(--line-soft) }
.evr-top h3{ margin:0 44px 14px 0; font-family:var(--sans); font-size:clamp(20px,2vw,24px); font-weight:700; line-height:1.2; text-transform:none; letter-spacing:0; color:var(--bone) }
.evr-bar{ list-style:none; display:flex; gap:6px; margin:0; padding:0; counter-reset:s }
.evr-bar li{ flex:1; min-width:0; display:flex; flex-direction:column; gap:7px; font-size:12px; font-weight:600; letter-spacing:.04em; color:var(--bone-dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.evr-bar li::before{ content:''; display:block; height:4px; border-radius:4px; background:var(--line) }
.evr-bar li span{ display:none }
.evr-bar li.is-on{ color:var(--bone) }
.evr-bar li.is-on::before{ background:var(--gold) }
.evr-bar li.is-done{ color:var(--gold-text) }
.evr-bar li.is-done::before{ background:rgba(var(--gold-rgb),.55) }
.evr-body{ flex:1; min-height:0; overflow-y:auto; padding:4px clamp(18px,3vw,30px) 18px; overscroll-behavior:contain }
.evr-step .ev-reg-step:first-child{ margin-top:16px }
.evr-h4{ margin:20px 0 6px; font-family:var(--sans); font-size:17px; font-weight:700; text-transform:none; letter-spacing:0; color:var(--bone) }
.evr-lede{ margin:0 0 14px; font-size:14.5px; line-height:1.6; color:var(--bone-dim) }
.evr-opts{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px }
.evr-opts--3{ grid-template-columns:repeat(3,minmax(0,1fr)) }
.evr-opt{ position:relative; display:flex; cursor:pointer }
.evr-opt input{ position:absolute; opacity:0; width:1px; height:1px }
.evr-opt > span{ flex:1; display:flex; flex-direction:column; gap:3px; padding:13px 14px 13px 42px; border:1.5px solid var(--line); border-radius:12px; transition:border-color .2s, background .2s; position:relative }
.evr-opt > span::before{ content:''; position:absolute; left:14px; top:15px; width:18px; height:18px; border:1.5px solid var(--bone-dim); border-radius:5px; background:#fff0 }
.evr-opt input[type="radio"] + span::before{ border-radius:50% }
.evr-opt b{ font-size:14.5px; font-weight:600; color:var(--bone) }
.evr-opt small{ font-size:12.5px; line-height:1.4; color:var(--bone-dim) }
.evr-opt input:checked + span{ border-color:var(--gold); background:rgba(var(--gold-rgb),.1) }
.evr-opt input:checked + span::before{ border-color:var(--gold-deep); background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat }
.evr-opt input:focus-visible + span{ outline:2px solid var(--gold); outline-offset:2px }
.evr-photo{ display:flex; align-items:center; gap:20px; margin-top:8px }
.evr-ph{ flex:none; display:grid; place-items:center; width:132px; height:132px; border-radius:50%; overflow:hidden; background:var(--ink-3); border:2px dashed var(--line) }
.evr-ph svg{ width:64px; height:64px; fill:var(--bone-dim); opacity:.55 }
.evr-ph.has-photo{ border:3px solid var(--gold) }
.evr-ph.has-photo svg{ display:none }
.evr-ph img{ width:100%; height:100%; object-fit:cover; display:block }
.evr-photo-acts{ display:flex; flex-direction:column; align-items:flex-start; gap:10px }
.evr-photo-acts .enq-note{ flex:none }
.evr-pick{ position:relative; overflow:hidden; cursor:pointer }
.evr-pick input{ position:absolute; inset:0; opacity:0; cursor:pointer; font-size:0 }
.evr-pick:focus-within{ outline:2px solid var(--gold); outline-offset:3px }
.evr-link{ padding:6px 2px; border:0; background:none; color:var(--bone-dim); font:inherit; font-size:14px; font-weight:600; text-decoration:underline; text-underline-offset:3px; cursor:pointer }
.evr-link:hover{ color:var(--bone) }
.evr-sum{ display:flex; flex-direction:column; margin:8px 0 0; border:1px solid var(--line-soft); border-radius:12px; overflow:hidden }
.evr-sum div{ display:grid; grid-template-columns:120px minmax(0,1fr); gap:12px; padding:11px 14px; border-top:1px solid var(--line-soft) }
.evr-sum div:first-child{ border-top:0 }
.evr-sum dt{ font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--bone-dim); padding-top:2px }
.evr-sum dd{ margin:0; display:flex; flex-direction:column; gap:2px; font-size:15px; color:var(--bone); overflow-wrap:anywhere }
.evr-sum dd small{ font-size:13px; color:var(--bone-dim) }
.evr-sum dd b{ font-size:18px }
.evr-none{ color:var(--bone-dim) }
.evr-paynote{ margin:14px 0 0; font-size:14px; line-height:1.6; color:var(--bone-dim) }
.evr-form > .enq-status{ margin:0; padding:0 clamp(18px,3vw,30px) }
.evr-form > .enq-status:not(:empty){ padding-top:10px }
.evr-foot{ display:flex; align-items:center; gap:10px; padding:14px clamp(18px,3vw,30px) clamp(16px,2.4vw,22px); border-top:1px solid var(--line-soft); background:var(--ink) }
.evr-foot[hidden]{ display:none }
.evr-foot .btn{ border:0; cursor:pointer }
.evr-foot .btn-ghost{ border:1px solid var(--line) }
.evr-foot .btn:disabled{ opacity:.55; cursor:progress }
.evr-foot [hidden]{ display:none }
.evr-gap{ flex:1 }
.evr .ev-reg-done{ margin:18px 0 4px; border:0; box-shadow:none; padding:4px 0; background:none }
.ev-reg-done-mark.is-warn{ background:#f0b429 }
.ev-reg-done-mark.is-wait{ background:var(--ink-3); color:var(--bone) }
.ev-reg-paid{ font-weight:600; color:#2e8b57 !important }
.ev-reg-done h3:focus{ outline:none }
@media (max-width:760px){
  .evr{ place-items:end stretch; padding:0 }
  .evr-card{ width:100%; max-height:92vh; border-radius:18px 18px 0 0 }
  .evr-opts,.evr-opts--3{ grid-template-columns:1fr }
  .evr-photo{ flex-direction:column; align-items:flex-start }
  .evr-sum div{ grid-template-columns:1fr; gap:3px }
  .evr-foot .btn{ padding:13px 18px }
}

/* =========================================================== 31 · photo hero
   theme.heroPhotos.background (Jadcherla Runners): the club's group photos
   fill the hero behind the copy, cross-fading when there are several, in
   place of the framed photo on the right. A dark scrim on the copy's side
   (and under the nav) keeps it readable, so the hero's copy and the nav
   above it turn white until the nav sticks. */
.hero--photo{ isolation:isolate; overflow:hidden }
.hero-bg{ position:absolute; inset:0; z-index:0; background:#1d1f23; pointer-events:none }
.hero-bg img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 40%; opacity:0; transition:opacity 1.2s var(--ease) }
.hero-bg img.is-on{ opacity:1 }
body.hero-photo .hero.hero--photo::before{
  z-index:1; top:0; height:100%;
  background:
    linear-gradient(90deg, rgba(12,13,16,.8) 0%, rgba(12,13,16,.62) 34%, rgba(12,13,16,.24) 62%, rgba(12,13,16,.08) 100%),
    linear-gradient(rgba(12,13,16,.5), transparent 24%);
}
body.hero-photo .hero.hero--photo::after{ z-index:1; height:42%; background:linear-gradient(transparent, rgba(12,13,16,.42) 50%, rgba(12,13,16,.62)) }
.hero--club.hero--photo{ grid-template-columns:minmax(0,1fr) }
.hero--photo .hero-top{
  --bone:#fff; --bone-dim:rgba(255,255,255,.84); --line:rgba(255,255,255,.5);
  color:#fff;
}
body.hero-photo .hero--photo .display{ color:#fff; text-shadow:0 2px 28px rgba(0,0,0,.4) }
body.hero-photo .hero--photo .body-lg{ color:rgba(255,255,255,.92); text-shadow:0 1px 18px rgba(0,0,0,.45) }
body.hero-photo .hero--photo .eyebrow{ color:#fff; text-shadow:0 1px 10px rgba(0,0,0,.4) }
body.hero-photo .hero--photo .btn-ghost{ background:rgba(12,13,16,.22); border-color:rgba(255,255,255,.62); color:#fff }
body.hero-photo .hero--photo .btn-ghost:hover{ background:#fff; border-color:#fff; color:#15171b }
.hero--photo .hero-events{ border-top-color:rgba(255,255,255,.28) }
body.hero-photo .hero--photo .hero-events-h{ color:var(--gold-soft); text-shadow:0 1px 10px rgba(0,0,0,.4) }
body.hero-photo .hero--photo .hero-events-h a{ color:#fff; border-bottom-color:rgba(255,255,255,.5) }
.hero--photo .hev,.hero--photo .hev-empty{ background:rgba(251,250,246,.92) }
/* the nav over the photo, until it sticks */
body.hero-photo .nav:not(.stuck):not(.menu-open) .brand-tx b,
body.hero-photo .nav:not(.stuck):not(.menu-open) .nav-link,
body.hero-photo .nav:not(.stuck):not(.menu-open) .nav-link .alt{ color:#fff }
body.hero-photo .nav:not(.stuck):not(.menu-open) .brand-tx i{ color:rgba(255,255,255,.78) }
body.hero-photo .nav:not(.stuck):not(.menu-open) .brand-tx b,
body.hero-photo .nav:not(.stuck):not(.menu-open) .nav-link{ text-shadow:0 1px 10px rgba(0,0,0,.35) }
body.hero-photo .nav:not(.stuck):not(.menu-open) .nav-cta{ color:#fff; border-color:rgba(255,255,255,.7) }
body.hero-photo .nav:not(.stuck):not(.menu-open) .nav-cta:hover{ background:var(--gold); border-color:var(--gold); color:#1a1a1a }
body.hero-photo .nav:not(.stuck):not(.menu-open) .nav-burger i{ background:#fff }
@media (max-width:760px){
  body.hero-photo .hero.hero--photo::before{ background:linear-gradient(rgba(12,13,16,.72), rgba(12,13,16,.56) 46%, rgba(12,13,16,.5)) }
  body.hero-photo .hero.hero--photo::after{ display:none }
  .hero-bg img{ object-position:62% 50% }
}

/* =========================================================== 32 · race-site reading
   Jadcherla Runners' feedback: copy over the world read faint, and the
   phone hero didn't sell the run. Two theme switches, after the way race
   and club sites read (one real photo, poster type, solid paper for copy):

   theme.headings = "sport" (.head-sport): every serif — headings,
   numbers, names, the brand — becomes Barlow Condensed, bold and tight.

   theme.reading = "solid" (.read-solid): each chapter's copy sits on solid
   paper instead of a see-through wash, chapters are only as tall as their
   copy, and the 3D course shows in short windows between them. Halos
   behind copy go (nothing to read against), body copy is larger and darker
   and the phone's two-up health cards become full rows. */
body.head-sport{ --serif:'Barlow Condensed','Arial Narrow','Roboto Condensed',system-ui,sans-serif }
.head-sport .display{ font-weight:800; letter-spacing:.005em; line-height:.94 }
.head-sport .h-hero{ font-size:clamp(46px,6vw,92px) }
.head-sport .h-sec{ font-size:clamp(40px,5vw,74px) }
.head-sport .num{ font-weight:700; letter-spacing:0 }
.head-sport .brand-tx b{ font-weight:700; font-size:15px; letter-spacing:.14em }
.head-sport .founders b,.head-sport .branch h3,.head-sport .enq-head h3,.head-sport .card-cap > span{ font-weight:700; letter-spacing:.02em }
.head-sport .founders i{ font-style:normal; font-weight:600 }
.head-sport .sheet a{ font-weight:700 }

.read-solid .sec,.read-solid .foot{ min-height:0; padding-top:clamp(64px,10vh,112px); padding-bottom:clamp(64px,10vh,112px) }
.read-solid .sec::before,.read-solid .foot::before{ background:var(--ink) !important; box-shadow:0 -18px 40px rgba(21,23,27,.08), 0 18px 40px rgba(21,23,27,.08) }
.read-solid .sec:nth-of-type(odd)::before{ background:#f5f1e8 !important }
/* the windows onto the course */
.read-solid .sec + .sec,.read-solid .sec + .foot{ margin-top:clamp(120px,26vh,260px) }
.read-solid .sec--gallery + .sec{ margin-top:0 }
.read-solid .hero + .sec{ margin-top:0 }
.read-solid .display,.read-solid .body-lg,.read-solid .body,.read-solid .eyebrow,.read-solid .chapno{ text-shadow:none }
.read-solid .sec-head,.read-solid .sec-head .body-lg{ max-width:min(760px,100%) }
.read-solid .body-lg{ font-size:clamp(16.5px,1.2vw,19px); line-height:1.65; color:#1d2025 }
.read-solid .body{ font-size:16px; color:#2a2d33 }
.read-solid .chapno{ font-size:13px; font-weight:700; letter-spacing:.16em; color:var(--gold-text) }
.read-solid .sec-head h2{ margin-bottom:18px }
/* cards on paper: white with a hairline, not glass */
.read-solid .is-compact .card,.read-solid .is-compact .blog-card,.read-solid .blog-card,.read-solid .evc,.read-solid .ev-empty,.read-solid .ev-ann,.read-solid .enq,.read-solid .branch{
  background:#fff !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
  border:1px solid rgba(21,23,27,.08); box-shadow:0 6px 22px rgba(21,23,27,.06);
}
.read-solid .is-compact .blog-title{ font-size:17px; font-weight:600; color:#111317 }
.read-solid .is-compact .blog-excerpt{ font-size:14.5px; line-height:1.55; color:#30343a; -webkit-line-clamp:4 }
.read-solid .is-compact .card-cap em{ font-size:14px; -webkit-line-clamp:3 }
.read-solid .blog-meta{ display:none }
.read-solid .blog-cat{ display:none }
@media (max-width:760px){
  .read-solid .sec,.read-solid .foot{ padding-top:56px; padding-bottom:56px }
  /* a phone-wide window only shows a sliver of sky or a leaf: no windows,
     the chapters follow each other on alternating paper */
  .read-solid .sec + .sec,.read-solid .sec + .foot{ margin-top:0 }
  .read-solid .sec::before,.read-solid .foot::before{ box-shadow:none }
  .read-solid .sec::before,.read-solid .foot::before{ background:var(--ink) !important }
  .read-solid .sec:nth-of-type(odd)::before{ background:#f5f1e8 !important }
  .head-sport .h-sec{ font-size:clamp(38px,11vw,50px) }
  /* health: one benefit per row, icon beside the full text */
  .read-solid .blogs.is-compact{ grid-template-columns:minmax(0,1fr) !important; gap:10px }
  .read-solid .blogs.is-compact .blog-card{ display:grid; grid-template-columns:56px minmax(0,1fr); gap:14px; align-items:start; padding:14px }
  .read-solid .blogs.is-compact .blog-card .blog-frame{ aspect-ratio:1; width:56px; height:56px; min-height:0; border-radius:50%; background:rgba(var(--gold-rgb),.12); border:0 }
  .read-solid .is-compact .blog-frame .tile-icon{ width:28px; height:28px }
  .read-solid .is-compact .blog-body{ padding:0 }
  .read-solid .is-compact .blog-title,.read-solid .is-compact .blog-excerpt{ -webkit-line-clamp:unset; display:block; overflow:visible }
  .read-solid .is-compact .blog-excerpt{ margin-bottom:0 }
}

/* =========================================================== 33 · race-day countdown + the phone photo hero
   "N days to race day" over the hero's event tiles (events.js
   raceCountdown: the next event with a fixed day; none for an announced
   month). On a phone the photo hero reads like a race site's: the photo
   fills the top of the screen untouched, fades into a dark base, and the
   copy, the buttons and the next run sit on that base. */
.hero-count{ display:flex; align-items:baseline; gap:10px; margin:0 0 12px; font-family:var(--serif); font-size:15px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--bone) }
.hero-count[hidden]{ display:none }
.hero-count b{ font-size:clamp(38px,3.6vw,52px); font-weight:800; letter-spacing:0; line-height:.9; color:var(--gold) }
body.hero-photo .hero--photo .hero-count{ color:#fff }
@media (max-width:760px){
  body.hero-photo .hero.hero--photo{ background:#0f1013; min-height:100svh }
  .hero--photo .hero-bg{ bottom:auto; height:min(64svh,560px) }
  .hero--photo .hero-bg img{ object-position:64% 30% }
  .hero--photo .hero-bg::after{ content:''; position:absolute; inset:0; background:linear-gradient(rgba(15,16,19,.5), rgba(15,16,19,0) 26%, rgba(15,16,19,0) 46%, rgba(15,16,19,.75) 78%, #0f1013) }
  body.hero-photo .hero.hero--photo::before{ background:none }
  .hero--photo .hero-top{ padding-top:max(36svh,250px) }
  .hero--photo .hero-top .eyebrow{ margin-bottom:12px }
  .head-sport .hero--photo .h-hero{ font-size:clamp(44px,13vw,58px); line-height:.92; margin-bottom:14px }
  body.hero-photo .hero--photo .body-lg{ font-size:16px; line-height:1.55; color:rgba(255,255,255,.86); text-shadow:none }
  .hero--photo .hero-acts{ display:grid; grid-template-columns:minmax(0,1fr); gap:10px; margin-top:22px }
  .hero--photo .hero-acts .btn{ justify-content:center; padding:16px 18px; font-size:12px; letter-spacing:.14em }
  .hero--photo .hero-foot{ padding-top:30px }
  .hero--photo .hev,.hero--photo .hev-ann{ border-radius:14px }
  .hero--photo .hev-ann-body small{ display:none }
  .hero--photo .hero-count b{ font-size:44px }
}

/* a field's one-line help (the registration popup's "Name on bib") */
.enq-hint{ display:block; margin-top:6px; font-size:12.5px; line-height:1.4; letter-spacing:0; text-transform:none; color:var(--bone-dim) }

/* =========================================================== 34 · tap-to-pick (registration popup)
   events.js picker(): the popup's dropdowns drawn as tiles — event cards
   with their date, race tiles led by the distance, chips for gender,
   T-shirt size and blood group. The <select> stays underneath, hidden. */
.evr-native{ position:absolute !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none !important; overflow:hidden }
.evr-picks{ display:grid; gap:10px; margin-top:2px }
.evr-picks--event{ grid-template-columns:minmax(0,1fr) }
.evr-picks--race{ grid-template-columns:repeat(auto-fill,minmax(150px,1fr)) }
.evr-picks--gender{ grid-template-columns:repeat(3,minmax(0,1fr)) }
.evr-picks--size,.evr-picks--blood{ display:flex; flex-wrap:wrap; gap:8px }
.evr-pk{ position:relative; display:flex; cursor:pointer; min-width:0 }
.evr-pk input{ position:absolute; opacity:0; width:1px; height:1px }
.evr-pk > span{
  flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; position:relative;
  padding:13px 14px; border:1.5px solid var(--line); border-radius:14px; background:#fff;
  transition:border-color .2s, background .2s, transform .15s, box-shadow .2s;
}
.evr-pk:hover > span{ border-color:rgba(var(--gold-rgb),.6) }
.evr-pk:active > span{ transform:scale(.98) }
.evr-pk b{ font-size:14.5px; font-weight:600; line-height:1.25; color:var(--bone) }
.evr-pk small{ font-size:12.5px; line-height:1.35; color:var(--bone-dim) }
.evr-pk small em{ font-style:normal; font-weight:700; color:var(--gold-text) }
.evr-pk input:checked + span{ border-color:var(--gold); background:rgba(var(--gold-rgb),.1); box-shadow:0 6px 18px rgba(var(--gold-rgb),.18) }
.evr-pk input:checked + span::after{
  content:''; position:absolute; top:8px; right:8px; width:20px; height:20px; border-radius:50%;
  background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.evr-pk input:focus-visible + span{ outline:2px solid var(--gold); outline-offset:2px }
/* event cards: the date as a badge */
.evr-picks--event .evr-pk > span{ flex-direction:row; align-items:center; gap:14px; padding-right:38px }
.evr-pk-date{ flex:none; display:flex; flex-direction:column; align-items:center; justify-content:center; width:52px; height:56px; border-radius:11px; background:var(--gold); color:#1a1a1a; font-style:normal; font-size:10.5px; font-weight:600; letter-spacing:.1em; line-height:1 }
.evr-pk-date b{ font-size:22px; font-weight:700; letter-spacing:0; margin-bottom:3px; color:#1a1a1a }
.evr-pk-main{ min-width:0; display:flex; flex-direction:column; gap:3px }
/* race tiles: the distance first, big */
.evr-picks--race .evr-pk > span{ padding:14px 14px 13px }
.evr-pk-km{ font-style:normal; font-family:var(--serif); font-size:30px; font-weight:800; line-height:1; letter-spacing:.01em; color:var(--gold-text); margin-bottom:4px }
/* chips */
.evr-picks--gender .evr-pk > span,.evr-picks--size .evr-pk > span,.evr-picks--blood .evr-pk > span{ align-items:center; justify-content:center; text-align:center; padding:12px 10px; border-radius:30px }
.evr-picks--size .evr-pk,.evr-picks--blood .evr-pk{ flex:0 0 auto }
.evr-picks--size .evr-pk > span,.evr-picks--blood .evr-pk > span{ min-width:56px; padding:10px 14px }
.evr-picks--gender .evr-pk input:checked + span::after,.evr-picks--size .evr-pk input:checked + span::after,.evr-picks--blood .evr-pk input:checked + span::after{ display:none }
.evr-picks--gender .evr-pk input:checked + span,.evr-picks--size .evr-pk input:checked + span,.evr-picks--blood .evr-pk input:checked + span{ background:var(--gold); border-color:var(--gold) }
.evr-picks--gender .evr-pk input:checked + span b,.evr-picks--size .evr-pk input:checked + span b,.evr-picks--blood .evr-pk input:checked + span b{ color:#1a1a1a }
.evr-pk.is-none b{ font-weight:500; color:var(--bone-dim) }
.evr-pk-empty{ margin:0; padding:14px; border:1.5px dashed var(--line); border-radius:14px; font-size:14px; color:var(--bone-dim) }
@media (max-width:760px){
  .evr-picks--race{ grid-template-columns:repeat(2,minmax(0,1fr)) }
  .evr-pk-km{ font-size:26px }
}
/* the tiles sit inside the field's <label> styling: undo its small capitals */
.evr-form .enq-f label.evr-pk{ font-size:inherit; font-weight:inherit; letter-spacing:0; text-transform:none; color:inherit }
.evr-form .enq-f label.evr-pk b{ letter-spacing:0 }
.evr-form .enq-f label.evr-pk small{ letter-spacing:0; font-weight:400 }
.evr-pk-date{ letter-spacing:.1em !important }

/* =========================================================== 35 · group registration + pay choice (popup)
   events.js: more people after the lead's name ("Add another person"), each
   a small card with name, birthday, gender chips and race tiles; and on the
   last step, "Pay now online" (TekMegha's pre-checkout) or "I'll pay offline". */
.evr-group{ display:flex; flex-direction:column; gap:10px }
.evr-group-list{ display:flex; flex-direction:column; gap:12px }
.evr-group-list:empty{ display:none }
.evr-add{
  align-self:flex-start; display:inline-flex; align-items:center; gap:8px; padding:11px 16px;
  border:1.5px dashed rgba(var(--gold-rgb),.7); border-radius:12px; background:rgba(var(--gold-rgb),.06);
  font:inherit; font-size:14px; font-weight:600; color:var(--gold-text); cursor:pointer; transition:background .2s, border-color .2s;
}
.evr-add:hover{ background:rgba(var(--gold-rgb),.12); border-style:solid }
.evr-add span{ font-size:18px; line-height:1 }
.evr-add[hidden]{ display:none }
.evr-mem{ position:relative; margin:0; padding:14px 14px 16px; border:1.5px solid var(--line); border-radius:14px; background:rgba(var(--gold-rgb),.04); min-width:0 }
.evr-mem legend{ padding:0 6px; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-text) }
.evr-mem-x{ position:absolute; top:8px; right:8px; width:32px; height:32px; border:0; border-radius:50%; background:rgba(0,0,0,.06); font-size:18px; line-height:1; color:var(--bone); cursor:pointer }
.evr-mem-x:hover{ background:rgba(0,0,0,.12) }
.evr-mem-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 14px }
.evr-mem-grid .is-full{ grid-column:1 / -1 }
.evr-mem-l{ display:block; margin-bottom:6px; font-size:10px; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:var(--bone-dim) }
.type-strong .evr-mem-l{ font-size:12px; font-weight:700; color:#2a2d33 }
.evr-mem-l i{ font-style:normal; color:var(--gold-text) }
.evr-picks--mini{ grid-template-columns:repeat(auto-fill,minmax(110px,1fr)) }
.evr-picks--mini .evr-pk > span{ padding:10px 12px }
.evr-picks--mini .evr-pk-km{ font-size:22px; margin-bottom:2px }
.evr-picks--mini .evr-pk b{ font-size:13px }
.evr-picks--mini .evr-pk input:checked + span::after{ top:6px; right:6px; width:16px; height:16px; background-size:10px }
.evr-sum-p{ display:block; margin-top:8px; padding-top:8px; border-top:1px dashed var(--line) }
.evr-sum-p small{ display:block }
.ev-reg-group{ font-weight:600 }
/* pay now / pay offline */
.evr-paychoice{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:6px 0 4px }
.evr-paychoice[hidden]{ display:none }
.evr-paychoice .evr-pk > span{ padding:14px 38px 14px 14px; gap:4px }
.evr-pk-ico{ display:grid; place-items:center; width:36px; height:36px; margin-bottom:4px; border-radius:10px; background:rgba(var(--gold-rgb),.14) }
.evr-pk-ico svg{ width:20px; height:20px; fill:none; stroke:var(--gold-text); stroke-width:1.7; stroke-linejoin:round; stroke-linecap:round }
.evr-form .evr-paychoice label.evr-pk{ font-size:inherit; font-weight:inherit; letter-spacing:0; text-transform:none; color:inherit }
.evr-form .evr-mem .evr-pk{ font-size:inherit; font-weight:inherit; letter-spacing:0; text-transform:none; color:inherit }
@media (max-width:760px){
  .evr-mem-grid{ grid-template-columns:minmax(0,1fr) }
  .evr-paychoice{ grid-template-columns:minmax(0,1fr) }
  .evr-picks--mini{ grid-template-columns:repeat(2,minmax(0,1fr)) }
}

/* =========================================================== 36 · a painter's page (theme.style "art")
   Shivansh Rana · SMART: the page reads like a painted wall. Plaster and
   soft watercolour behind the copy, the panel's edge dripping paint into
   the windows onto the 3D world, accent words brushed in (Caveat Brush) on
   a paint stroke, chapter labels as painter's tape, big numbers in brush
   colours, photos as taped prints and paint-cut tiles, buttons as blobs.
   The palette is the studio's own murals: SMART red, sunflower, ocean,
   leaf and lotus pink. */
body.style-art{
  --art-red:#e8312a; --art-yellow:#f6c026; --art-blue:#1f6fd8; --art-green:#2fae66; --art-pink:#d9348a;
  --plaster:#f7f1e6;
  --brush:'Caveat Brush','Segoe Print','Bradley Hand',cursive;
}
/* plaster: a fine grain, and a watercolour wash or two in each chapter's colour */
body.style-art.read-solid .sec::before,body.style-art.read-solid .foot::before{
  background:
    radial-gradient(42% 55% at 88% 18%, rgba(var(--wash-a,246,192,38),.16), transparent 72%),
    radial-gradient(38% 48% at 6% 92%, rgba(var(--wash-b,31,111,216),.10), transparent 72%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .22 0 0 0 .10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--plaster) !important;
  box-shadow:none !important;
}
.style-art .sec:nth-of-type(6n+1){ --wash-a:246,192,38; --wash-b:31,111,216; --drip:var(--art-red) }
.style-art .sec:nth-of-type(6n+2){ --wash-a:232,49,42; --wash-b:47,174,102; --drip:var(--art-yellow) }
.style-art .sec:nth-of-type(6n+3){ --wash-a:31,111,216; --wash-b:217,52,138; --drip:var(--art-blue) }
.style-art .sec:nth-of-type(6n+4){ --wash-a:47,174,102; --wash-b:246,192,38; --drip:var(--art-green) }
.style-art .sec:nth-of-type(6n+5){ --wash-a:217,52,138; --wash-b:31,111,216; --drip:var(--art-pink) }
.style-art .sec:nth-of-type(6n){ --wash-a:246,192,38; --wash-b:232,49,42; --drip:var(--art-blue) }
.style-art .foot{ --wash-a:232,49,42; --wash-b:246,192,38 }
/* the panel's lower edge drips paint into the window below it: a band of the
   chapter's colour along the edge, and the plaster itself running down */
.style-art .sec::after{
  content:''; position:absolute; left:0; right:0; bottom:-46px; height:52px; z-index:2; pointer-events:none;
  background:linear-gradient(var(--drip,var(--art-red)) 0 9px, var(--plaster) 9px);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 52' preserveAspectRatio='none'%3E%3Cpath d='M0 0h600v10c-8 0-10 4-11 12-1 9-3 14-8 14s-6-5-7-14c-1-7-3-11-10-11-9 0-9 6-10 19-1 14-4 21-10 21s-8-7-9-21c-1-11-3-18-11-18-10 0-11 5-12 9-1 5-3 8-7 8s-6-3-7-8c-1-5-3-9-11-9-11 0-12 8-13 26-1 15-4 22-10 22s-9-7-10-22c-1-17-3-25-13-25-9 0-11 4-12 11-1 6-3 9-7 9s-6-3-7-9c-1-7-3-11-12-11-8 0-10 6-11 15-1 10-3 15-8 15s-7-5-8-15c-1-9-3-15-12-15-10 0-11 3-12 7-1 4-3 7-7 7s-6-3-7-7c-1-4-3-7-11-7-9 0-11 7-12 20-1 12-4 18-9 18s-8-6-9-18c-1-13-3-20-13-20-8 0-10 4-11 10-1 6-3 9-7 9s-6-3-7-9c-1-6-3-10-11-10-9 0-10 5-11 13-1 9-3 13-8 13s-7-4-8-13c-1-8-3-13-12-13H0z'/%3E%3C/svg%3E") 0 0/600px 52px repeat-x;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 52' preserveAspectRatio='none'%3E%3Cpath d='M0 0h600v10c-8 0-10 4-11 12-1 9-3 14-8 14s-6-5-7-14c-1-7-3-11-10-11-9 0-9 6-10 19-1 14-4 21-10 21s-8-7-9-21c-1-11-3-18-11-18-10 0-11 5-12 9-1 5-3 8-7 8s-6-3-7-8c-1-5-3-9-11-9-11 0-12 8-13 26-1 15-4 22-10 22s-9-7-10-22c-1-17-3-25-13-25-9 0-11 4-12 11-1 6-3 9-7 9s-6-3-7-9c-1-7-3-11-12-11-8 0-10 6-11 15-1 10-3 15-8 15s-7-5-8-15c-1-9-3-15-12-15-10 0-11 3-12 7-1 4-3 7-7 7s-6-3-7-7c-1-4-3-7-11-7-9 0-11 7-12 20-1 12-4 18-9 18s-8-6-9-18c-1-13-3-20-13-20-8 0-10 4-11 10-1 6-3 9-7 9s-6-3-7-9c-1-6-3-10-11-10-9 0-10 5-11 13-1 9-3 13-8 13s-7-4-8-13c-1-8-3-13-12-13H0z'/%3E%3C/svg%3E") 0 0/600px 52px repeat-x;
}
.style-art .sec:nth-of-type(even)::after{ -webkit-mask-position:300px 0; mask-position:300px 0 }
.style-art .sec--gallery::after,.style-art .sec:last-of-type::after{ content:none }
/* wider windows onto the painted city, phones included */
.style-art.read-solid .sec + .sec,.style-art.read-solid .sec + .foot{ margin-top:clamp(240px,44vh,440px) }
.style-art.read-solid .sec--gallery + .sec{ margin-top:0 }
@media (max-width:760px){
  .style-art.read-solid .sec + .sec,.style-art.read-solid .sec + .foot{ margin-top:34svh }
  .style-art.read-solid .sec--gallery + .sec{ margin-top:0 }
  .style-art .sec::after{ bottom:-38px; height:42px; -webkit-mask-size:420px 42px; mask-size:420px 42px }
}
.style-art .sec--gallery + .sec::before{ box-shadow:none }
/* accent words, brushed in on a stroke of sunflower */
.style-art .display .gold,.style-art .display .word.gold{
  font-family:var(--brush); font-weight:400; text-transform:none; letter-spacing:.01em; font-size:1.18em; line-height:.9;
  color:var(--art-red);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath fill='%23f6c026' fill-opacity='.62' d='M4 18c30-8 70-12 120-11 50 0 110 1 170 6 4 1 5 7 0 9-40 4-60 3-90 6-30 2-60 9-100 9-35 1-70-1-98-5-6-1-8-12-2-14z'/%3E%3C/svg%3E") 0 72%/100% .55em no-repeat;
  padding:0 .06em;
}
.style-art .word-reveal .word-mask{ padding-bottom:.18em; margin-bottom:-.18em; padding-right:.08em }
.style-art .sec:nth-of-type(3n+2) .display .gold{ color:var(--art-blue) }
.style-art .sec:nth-of-type(3n) .display .gold{ color:var(--art-green) }
.style-art .h-hero .gold{ color:var(--art-yellow); background:none }
/* chapter labels as painter's tape */
.style-art .chapno{
  display:inline-block !important; padding:6px 14px 5px; color:#1d1a16 !important; background:rgba(246,192,38,.88);
  transform:rotate(-1.6deg); letter-spacing:.12em;
  clip-path:polygon(1% 8%, 6% 0, 14% 6%, 24% 1%, 37% 5%, 50% 0, 63% 6%, 76% 1%, 88% 5%, 96% 0, 100% 9%, 98% 52%, 100% 92%, 93% 100%, 80% 95%, 66% 100%, 52% 94%, 38% 100%, 24% 95%, 11% 100%, 2% 94%, 0 50%);
}
.style-art .sec:nth-of-type(3n+2) .chapno{ background:rgba(232,49,42,.86); color:#fff !important; transform:rotate(1.2deg) }
.style-art .sec:nth-of-type(3n) .chapno{ background:rgba(47,174,102,.86); color:#fff !important }
/* the big numbers, in brush colours */
.style-art .num,.style-art .stat b{ font-family:var(--brush); font-weight:400; letter-spacing:.01em; font-size:clamp(34px,3.4vw,50px); line-height:1 }
.style-art .stat:nth-child(4n+1) b{ color:var(--art-red) }
.style-art .stat:nth-child(4n+2) b{ color:var(--art-blue) }
.style-art .stat:nth-child(4n+3) b{ color:var(--art-green) }
.style-art .stat:nth-child(4n) b{ color:var(--art-pink) }
.style-art .stats{ background:rgba(255,255,255,.55) !important; border:2px dashed rgba(29,26,22,.18) !important }
/* buttons: blobs of paint */
.style-art .btn{ border-radius:255px 18px 225px 18px/18px 225px 18px 255px }
.style-art .btn-gold{ background:var(--art-red); color:#fff; box-shadow:4px 5px 0 rgba(29,26,22,.85) }
.style-art .btn-gold:hover{ background:#c9241e; color:#fff; transform:translate(-1px,-1px); box-shadow:6px 7px 0 rgba(29,26,22,.85) }
.style-art .btn-ghost{ border:2px solid currentColor }
.style-art .nav-cta{ border-radius:255px 14px 225px 14px/14px 225px 14px 255px; border-width:2px }
/* the gallery: taped prints, a little askew, straightened by a look */
.style-art .gal{ gap:clamp(14px,1.8vw,26px) }
.style-art .gal-item{ position:relative }
.style-art .gal-btn{
  background:#fffdf8; padding:9px 9px 26px; border-radius:3px;
  box-shadow:0 2px 0 rgba(0,0,0,.04), 0 14px 30px rgba(40,30,20,.16);
  transform:rotate(var(--tilt,-1.2deg)); transition:transform .45s var(--ease-out), box-shadow .45s;
}
.style-art .gal-btn img{ border-radius:1px }
.style-art .gal-item:nth-child(4n+2) .gal-btn{ --tilt:1.4deg }
.style-art .gal-item:nth-child(4n+3) .gal-btn{ --tilt:-.6deg }
.style-art .gal-item:nth-child(4n) .gal-btn{ --tilt:.9deg }
.style-art .gal-btn:hover,.style-art .gal-btn:focus-visible{ transform:rotate(0) translateY(-4px); box-shadow:0 22px 44px rgba(40,30,20,.22) }
.style-art .gal-item::before{
  content:''; position:absolute; z-index:2; top:-9px; left:50%; width:84px; height:24px; margin-left:-42px;
  background:rgba(246,228,170,.78); transform:rotate(-3deg); box-shadow:0 1px 2px rgba(0,0,0,.08);
  clip-path:polygon(0 12%, 4% 0, 96% 6%, 100% 0, 98% 90%, 100% 100%, 3% 94%, 0 100%);
}
.style-art .gal-item:nth-child(even)::before{ transform:rotate(4deg); background:rgba(217,52,138,.35) }
/* service tiles: the photo cut with a paint-torn edge, a swatch of colour */
.style-art .is-compact .card{ background:#fffdf8 !important; border:0 !important; box-shadow:0 12px 28px rgba(40,30,20,.12) !important; border-radius:4px }
.style-art .is-compact .card-frame{ border-radius:0; clip-path:polygon(0 3%, 7% 0, 18% 2%, 31% 0, 46% 3%, 60% 0, 74% 2%, 88% 0, 100% 3%, 99% 30%, 100% 62%, 98% 97%, 86% 100%, 70% 97%, 55% 100%, 40% 98%, 24% 100%, 10% 97%, 0 100%, 1% 64%, 0 32%) }
.style-art .is-compact .card-cap > b{ color:var(--art-red); font-family:var(--brush); font-size:22px; font-weight:400 }
.style-art .is-compact .card:nth-child(4n+2) .card-cap > b{ color:var(--art-blue) }
.style-art .is-compact .card:nth-child(4n+3) .card-cap > b{ color:var(--art-green) }
.style-art .is-compact .card:nth-child(4n) .card-cap > b{ color:var(--art-pink) }
/* the projects' arches drawn in paint colours */
.style-art .person:nth-child(5n+1) .person-frame path{ stroke:var(--art-red) }
.style-art .person:nth-child(5n+2) .person-frame path{ stroke:var(--art-blue) }
.style-art .person:nth-child(5n+3) .person-frame path{ stroke:var(--art-green) }
.style-art .person:nth-child(5n+4) .person-frame path{ stroke:var(--art-pink) }
.style-art .person:nth-child(5n) .person-frame path{ stroke:var(--art-yellow) }
/* the reasons: an icon on a dab of colour */
.style-art .blog-card{ background:#fffdf8 !important; border:0 !important; border-radius:4px; box-shadow:0 12px 28px rgba(40,30,20,.12) !important }
.style-art .blog-frame.is-icon{ background:transparent !important }
.style-art .blog-frame.is-icon::before{
  content:'' !important; display:block !important; position:absolute; inset:14% 24%; z-index:0; border-radius:58% 42% 55% 45%/48% 60% 40% 52%; background:rgba(246,192,38,.42);
}
.style-art .blog-card:nth-child(4n+2) .blog-frame.is-icon::before{ background:rgba(232,49,42,.26) }
.style-art .blog-card:nth-child(4n+3) .blog-frame.is-icon::before{ background:rgba(31,111,216,.24) }
.style-art .blog-card:nth-child(4n) .blog-frame.is-icon::before{ background:rgba(47,174,102,.28) }
.style-art .blog-frame .tile-icon{ position:relative; z-index:1; stroke:#1d1a16 !important }
@media (max-width:760px){ .style-art .blog-frame.is-icon::before{ inset:6% } }
/* the quote, written by hand */
.style-art .quote p{ font-family:var(--brush); font-weight:400; text-transform:none; font-size:clamp(26px,2.6vw,38px); line-height:1.22; color:#1d1a16 }
.style-art .quote{ border-left:6px solid var(--art-yellow); padding-left:clamp(16px,2vw,28px) }
/* forms and contact cards on paper */
.style-art .enq,.style-art .branch{ background:#fffdf8 !important; border:0 !important; box-shadow:0 14px 34px rgba(40,30,20,.12) !important; border-radius:6px }
.style-art .branch-links a{ border-radius:255px 14px 225px 14px/14px 225px 14px 255px; border-width:2px }
@media (max-width:760px){
  .style-art .gal-btn{ padding:7px 7px 20px }
  .style-art .gal-item::before{ width:64px; height:20px; margin-left:-32px }
  .style-art .display .gold,.style-art .display .word.gold{ font-size:1.12em }
}
@media (min-width:1041px){ .style-art .blogs.is-compact{ grid-template-columns:repeat(4,minmax(0,1fr)) } }

/* =========================================================== 37 · honours
   A short list of recognitions under a chapter's copy (render.mjs honours),
   one line each instead of a run-on sentence in the paragraph. */
.honours{ position:relative; z-index:2; margin:clamp(18px,3vh,28px) 0 0; max-width:min(620px,52vw) }
.honours h3{ margin:0 0 10px; font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-text) }
.honours ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px }
.honours li{ position:relative; padding-left:26px; font-size:14.5px; line-height:1.5; color:var(--bone-dim) }
.honours li::before{
  content:''; position:absolute; left:0; top:.28em; width:15px; height:15px;
  background:var(--gold); -webkit-mask:var(--honour-mark) center/contain no-repeat; mask:var(--honour-mark) center/contain no-repeat;
  --honour-mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.3 6.9.7-5.2 4.6 1.5 6.8L12 17l-6.1 3.4 1.5-6.8L2.2 9l6.9-.7z'/%3E%3C/svg%3E");
}
@media (max-width:1040px){ .honours{ max-width:none } }

/* style "art" on phones (shivanshrana): what the first review on a phone found */
.style-art .honours li:nth-child(3n+2)::before{ background:var(--art-blue) }
.style-art .honours li:nth-child(3n)::before{ background:var(--art-green) }
/* the founder as a taped print, the name under the photo in brush */
.style-art .team{ grid-template-columns:minmax(0,210px) }
.style-art .team-card{ aspect-ratio:auto; overflow:visible; background:#fffdf8; padding:8px 8px 0; border-radius:3px; transform:rotate(-1.4deg); box-shadow:0 14px 30px rgba(40,30,20,.16) }
.style-art .team-card img{ aspect-ratio:4/5; height:auto; border-radius:1px }
.style-art .team-card::before{
  content:''; position:absolute; z-index:2; top:-10px; left:50%; width:74px; height:22px; margin-left:-37px;
  background:rgba(246,228,170,.8); transform:rotate(3deg); clip-path:polygon(0 12%, 4% 0, 96% 6%, 100% 0, 98% 90%, 100% 100%, 3% 94%, 0 100%);
}
.style-art .team-cap{ position:static; height:auto; background:none; padding:10px 4px 12px; gap:3px }
.style-art .team-cap b{ font-family:var(--brush); font-weight:400; font-size:23px; line-height:1.05; color:#1d1a16 }
.style-art .team-cap i{ font-size:10px; letter-spacing:.1em; color:var(--art-red) }
/* the service tiles say their whole line: it is short */
.style-art .is-compact .card-cap em{ display:block; -webkit-line-clamp:unset; overflow:visible }
/* the hero's scroll cue reads on the dark photo */
.style-art .hero-cue{ color:rgba(255,255,255,.78) }
.style-art .hero-cue .track{ background:rgba(255,255,255,.3) }
.style-art .hero-foot .chapter span{ color:rgba(255,255,255,.86) }
.style-art .hero-foot .chapter:hover span{ color:#fff }
.style-art .hero-foot .chapter b{ color:var(--art-yellow) }
.style-art .hero-foot .chapters{ border-top-color:rgba(255,255,255,.22) }
@media (max-width:760px){
  /* the brand fits the bar: tighter tracking instead of an ellipsis */
  .style-art .nav .brand-tx b{ font-size:12.5px; letter-spacing:.07em }
  .style-art .nav .brand-tx i{ font-size:9px; letter-spacing:.08em }
  /* no chapter list under the hero (the menu has it): straight to the work */
  .style-art .hero-foot .chapters{ display:none }
  /* the highlights one to a row, the figure on one line */
  .style-art #thresholdStats{ grid-template-columns:minmax(0,1fr); gap:22px }
  .style-art #thresholdStats .num{ white-space:nowrap }
  .style-art .stat em{ font-size:14px }
  .style-art .team{ grid-template-columns:minmax(0,180px) }
  .style-art .team-cap b{ font-size:21px }
  .style-art .team-cap i{ font-size:9.5px }
  /* a contact link without a partner takes the whole row */
  .style-art .branch-links a:last-child:nth-child(odd){ grid-column:1 / -1 }
  .style-art .branch-links a{ overflow-wrap:anywhere }
}
@media (max-width:380px){
  .style-art .nav .brand-tx b{ font-size:11.5px; letter-spacing:.04em }
  .style-art .nav .brand-tx i{ font-size:8.5px; letter-spacing:.04em }
}

/* =========================================================== 38 · a fashion shop (category "fashion", shop.js)
   The page's slots, filled from the shop's TekMegha profile when it opens:
   the offers strip under the hero, collections by tab, product cards with a
   product view, deals and offers, the story, questions and policies, contact.
   Quiet and white, in the page's own tokens; the accent marks prices off. */
.shop-slot{ position:relative; z-index:2; margin-top:clamp(18px,3vh,30px) }
.shop-wait{ margin:0; color:var(--muted); font-size:15px }
.shop-wait a{ color:var(--gold-text); text-decoration:underline }

.shop-strip{ margin-top:18px; max-width:min(640px,100%); overflow:hidden; border-radius:999px; background:rgba(var(--ink-rgb),.9); border:1px solid var(--line);
  -webkit-mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent) }
.shop-strip__track{ display:flex; width:max-content; animation:shop-scroll 36s linear infinite }
.shop-strip:hover .shop-strip__track{ animation-play-state:paused }
.shop-strip ul{ display:flex; margin:0; padding:0; list-style:none }
.shop-strip li{ padding:9px 16px; font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap; color:var(--bone) }
.shop-strip li::after{ content:'✦'; margin-left:30px; color:var(--gold-text) }
.shop-strip li b{ margin-left:6px; padding:1px 6px; border-radius:4px; background:rgba(var(--gold-rgb),.18) }
@keyframes shop-scroll{ to{ transform:translateX(-50%) } }
@media (prefers-reduced-motion: reduce){ .shop-strip__track{ animation:none } .shop-strip{ overflow-x:auto } }

.shop-tabs{ display:flex; gap:6px; width:fit-content; max-width:100%; margin:0 0 18px; padding:5px; overflow-x:auto; border:1px solid var(--line); border-radius:999px; background:var(--ink); scrollbar-width:none }
.shop-tab{ flex:0 0 auto; min-height:40px; padding:0 18px; border:0; border-radius:999px; background:none; color:var(--bone); font:600 13px/1 var(--sans); cursor:pointer; white-space:nowrap }
.shop-tab.is-on{ background:var(--bone); color:var(--ink) }
/* collections: an editorial mosaic, unlike the product grid below it. The first collection is large (two
   columns, two rows), the rest landscape beside it; data-n (how many) closes the gaps for 1-4. Each shows its
   picture (own / first piece / default) under a dark wash, its number, a serif title and how many pieces;
   without any picture it is a block of the shop's own colour. Phones: a row to swipe through. */
.shop-cols{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:clamp(170px,15vw,240px); gap:14px }
@media (min-width:1041px){
  .shop-cols > .shop-col:first-child{ grid-column:span 2; grid-row:span 2 }
  .shop-cols[data-n="1"] > .shop-col{ grid-column:1 / -1; grid-row:span 2 }
  .shop-cols[data-n="2"] > .shop-col{ grid-column:span 2; grid-row:span 2 }
  .shop-cols[data-n="3"] > .shop-col:not(:first-child),.shop-cols[data-n="4"] > .shop-col:last-child{ grid-column:span 2 }
}
.shop-col{ position:relative; isolation:isolate; display:block; min-width:0; overflow:hidden; padding:0; border:0; border-radius:var(--r,14px); cursor:pointer; text-align:left;
  color:#fff; font:inherit; background:linear-gradient(140deg, var(--gold) 0%, var(--gold-deep,#6b1d1c) 100%) }
.shop-col__pic{ position:absolute; inset:0; z-index:-1; display:block; background:var(--plaster,#ecedee) }
.shop-col__pic img{ width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease-out) }
.shop-col__pic::after{ content:''; position:absolute; inset:0; background:linear-gradient(15deg, rgba(10,10,12,.78) 0%, rgba(10,10,12,.35) 42%, rgba(10,10,12,0) 70%) }
.shop-col:hover .shop-col__pic img{ transform:scale(1.04) }
.shop-col__txt{ position:absolute; left:0; right:0; bottom:0; display:flex; flex-direction:column; align-items:flex-start; gap:4px; max-width:520px; padding:clamp(14px,1.8vw,26px) }
.shop-col__txt b{ font:500 clamp(20px,1.7vw,27px)/1.1 var(--serif); letter-spacing:-.005em }
.shop-cols > .shop-col:first-child .shop-col__txt b,.shop-cols[data-n="2"] > .shop-col .shop-col__txt b{ font-size:clamp(28px,3vw,46px) }
.shop-col__txt i{ font-style:normal; font-size:13.5px; line-height:1.4; opacity:.88 }
.shop-col__go{ display:inline-flex; align-items:center; gap:8px; margin-top:8px; padding-bottom:3px; border-bottom:1px solid rgba(255,255,255,.55); font:600 13px/1.2 var(--sans) }
.shop-col:focus-visible{ outline:2px solid var(--gold); outline-offset:3px }

.shop-chips{ display:flex; gap:8px; margin:0 0 18px; padding-bottom:4px; overflow-x:auto; scrollbar-width:none }
.shop-chip{ flex:0 0 auto; min-height:40px; padding:0 15px; border:1px solid var(--line); border-radius:999px; background:var(--ink); color:var(--bone); font:600 13px/1 var(--sans); cursor:pointer; white-space:nowrap }
.shop-chip.is-on{ background:var(--bone); border-color:var(--bone); color:var(--ink) }
/* product cards: the photo on a plaster tile (a step darker than the page, no border, no shadow), the
   labels as pills on it, then the name and a mono price on the page itself, left-aligned */
.is-shop{ --plaster:color-mix(in srgb, var(--bone) 6%, var(--ink)); --mono:'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace; --r:10px }
.shop-bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 16px }
.shop-count{ margin:0; font:500 12px/1 var(--mono); letter-spacing:.02em; color:var(--muted) }
.shop-sort{ display:flex; align-items:center; gap:8px; font:500 12px/1 var(--mono); color:var(--muted) }
.shop-sort select{ min-height:40px; padding:0 34px 0 12px; border:1px solid var(--line); border-radius:var(--r); background:var(--ink); color:var(--bone); font:500 13px/1 var(--sans); cursor:pointer;
  appearance:none; background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%; background-size:5px 5px; background-repeat:no-repeat }
.shop-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px 16px }
.shop-card{ display:flex; flex-direction:column; min-width:0 }
.shop-card__media{ position:relative; display:block; width:100%; aspect-ratio:3/4; padding:0; border:0; border-radius:var(--r,10px); overflow:hidden; cursor:pointer; background:var(--plaster,#ecedee) }
.shop-card__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease-out),opacity .45s var(--ease) }
.shop-card__media .shop-card__alt{ opacity:0 }
.shop-card:hover .shop-card__media img{ transform:scale(1.03) }
.shop-card:hover .shop-card__media .shop-card__alt{ opacity:1 }
.shop-drape{ position:absolute; inset:0; display:block }
.shop-drape::after{ content:''; position:absolute; inset:0; background:repeating-linear-gradient(105deg,transparent 0 22px,rgba(255,255,255,.07) 22px 23px) }
.shop-drape--big{ position:relative; aspect-ratio:3/4; border-radius:var(--r,10px) }
/* a product with no photo of its own: its category's picture over the colour drape */
.shop-stock{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover }
.shop-drape.has-pic::after{ display:none }
.shop-drape--big{ overflow:hidden }
.shop-stock-note{ margin:8px 0 0; font-size:12.5px; color:var(--muted) }
.shop-drape--big:not(.has-pic) + .shop-stock-note{ display:none }
.shop-flags{ position:absolute; top:12px; left:12px; display:flex; flex-wrap:wrap; gap:6px; max-width:calc(100% - 24px) }
.shop-flag{ padding:4px 9px; border-radius:30px; font:600 11.5px/1.3 var(--sans); letter-spacing:0; text-transform:none; white-space:nowrap; box-shadow:0 0 0 1px rgba(255,255,255,.4) }
.shop-flag--new{ background:var(--gold); color:#fff }
.shop-flag--deal{ background:#111; color:#fff }
.shop-flag--soft{ background:var(--gold-soft,#f1ece4); color:var(--bone) }
.shop-flag--out{ background:#5f636b; color:#fff }
.shop-quick{ position:absolute; inset:auto 10px 10px; padding:11px; border-radius:var(--r,10px); background:rgba(var(--ink-rgb),.94); color:var(--bone); font:600 13px/1 var(--sans); text-align:center;
  opacity:0; transform:translateY(6px); transition:opacity .25s var(--ease),transform .25s var(--ease) }
.shop-card:hover .shop-quick,.shop-card__media:focus-visible .shop-quick{ opacity:1; transform:none }
@media (hover:none){ .shop-quick{ display:none } }
.shop-card.is-out .shop-card__media img,.shop-card.is-out .shop-drape{ filter:grayscale(.7); opacity:.6 }
.shop-card__body{ display:flex; flex-direction:column; gap:5px; padding:12px 2px 0 }
.shop-card__body h3{ margin:0; font:600 15px/1.3 var(--sans); letter-spacing:-.01em; color:var(--bone); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
.shop-card__body h3 button{ padding:0; border:0; background:none; color:inherit; font:inherit; letter-spacing:inherit; text-align:left; cursor:pointer }
.shop-card__body h3 button:hover{ text-decoration:underline; text-underline-offset:3px }
.shop-price{ display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; margin:0; font:500 14px/1.3 var(--mono,var(--sans)); color:var(--bone) }
.shop-price b{ font-weight:600 }
.shop-price s{ color:var(--muted); font-size:12.5px; font-weight:400 }
.shop-off{ color:var(--gold-text,var(--gold)); font-size:12.5px; font-weight:600 }
.shop-price--big{ font-size:22px }
.shop-price--big s{ font-size:15px }
.shop-dots{ display:flex; gap:5px; margin:2px 0 0; padding:0; list-style:none }
.shop-dots li{ width:12px; height:12px; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(0,0,0,.16) }
@media (max-width:1040px){
  .shop-grid{ grid-template-columns:repeat(3,minmax(0,1fr)) }
  .shop-cols{ grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:clamp(170px,26vw,250px) }
  .shop-cols > .shop-col:first-child{ grid-column:1 / -1 }
}
@media (max-width:640px){
  .shop-cols{ display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none;
    margin-left:calc(var(--pad) * -1); margin-right:calc(var(--pad) * -1); padding:0 var(--pad) 4px; scroll-padding:0 var(--pad) }
  .shop-cols > .shop-col{ flex:0 0 82%; aspect-ratio:5/4; scroll-snap-align:start }
  .shop-cols[data-n="1"] > .shop-col{ flex-basis:100% }
  .shop-col__txt b,.shop-cols > .shop-col:first-child .shop-col__txt b{ font-size:26px }
  .shop-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 10px }
  .shop-card__body{ padding:10px 1px 0 } .shop-card__body h3{ font-size:14px }
  .shop-flags{ top:8px; left:8px } .shop-flag{ padding:3px 8px; font-size:11px }
  .shop-price{ font-size:13px; gap:6px } .shop-price s{ font-size:11.5px }
  .shop-sort span{ display:none }
}

.shop-dlg{ width:min(960px,calc(100vw - 32px)); max-height:min(88dvh,880px); padding:24px; border:0; border-radius:18px; background:var(--ink); color:var(--bone); box-shadow:0 30px 80px rgba(0,0,0,.3) }
.shop-dlg::backdrop{ background:rgba(10,12,16,.5) }
.shop-x{ position:absolute; top:12px; right:12px; width:38px; height:38px; border:0; border-radius:50%; background:var(--ink-3,#ebe8e0); color:var(--bone); font-size:15px; cursor:pointer; z-index:2 }
.shop-pd{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:26px }
.shop-pd__media{ display:grid; gap:10px; align-content:start }
.shop-pd__media img{ width:100%; border-radius:12px }
.shop-pd__text h3,.shop-policy-full h3{ margin:4px 44px 10px 0; font:500 clamp(22px,2.2vw,30px)/1.2 var(--serif); color:var(--bone) }
.shop-kicker{ margin:0; font:700 11px/1 var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--gold-text) }
.shop-dealline{ margin:6px 0 0; color:var(--gold-text); font-weight:600; font-size:14px }
.shop-label{ margin:18px 0 8px; font:700 11.5px/1 var(--sans); letter-spacing:.08em; text-transform:uppercase; color:var(--muted) }
.shop-swatches{ display:flex; flex-wrap:wrap; gap:9px }
.shop-swatches button{ width:34px; height:34px; border:0; border-radius:50%; cursor:pointer; box-shadow:inset 0 0 0 1px rgba(0,0,0,.15) }
.shop-swatches button.is-on{ box-shadow:0 0 0 2px var(--ink),0 0 0 4px var(--bone) }
.shop-order{ display:flex; justify-content:center; width:100%; margin:20px 0 14px }
.shop-bag{ margin-bottom:10px; border:0; cursor:pointer; font:inherit }
.shop-bag-note{ margin:0 0 10px; color:#c0392b }
.shop-order--alt{ margin-top:0; background:transparent; color:inherit; box-shadow:inset 0 0 0 1px currentColor }
.shop-note{ margin:16px 0 0; color:var(--muted); font-size:14px }
.shop-copy,.shop-policy-full p{ margin:0 0 12px; line-height:1.65; color:var(--bone-dim) }
.shop-more summary{ cursor:pointer; font-weight:600 }
@media (max-width:720px){
  .shop-pd{ grid-template-columns:minmax(0,1fr); gap:16px }
  .shop-dlg{ width:100vw; max-width:100vw; margin:auto 0 0; max-height:92dvh; padding:18px 16px 24px; border-radius:18px 18px 0 0 }
}

.shop-deals{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:16px }
.shop-dealcard{ display:flex; flex-direction:column; gap:8px; padding:18px; border-radius:14px; background:var(--ink); border:1px solid var(--line) }
.shop-dealcard img{ width:calc(100% + 36px); margin:-18px -18px 6px; aspect-ratio:16/9; object-fit:cover; border-radius:14px 14px 0 0 }
.shop-dealcard h3{ margin:0; font:600 18px/1.3 var(--sans); color:var(--bone) }
.shop-dealcard p{ margin:0; color:var(--bone-dim); font-size:14px; line-height:1.55 }
.shop-dealcard ul{ margin:0; padding-left:18px; color:var(--bone-dim); font-size:13.5px }
.shop-dealcard .btn{ align-self:flex-start; margin-top:6px }
.shop-badge{ align-self:flex-start; padding:4px 10px; border-radius:999px; background:var(--gold); color:#fff; font:700 11px/1.4 var(--sans); letter-spacing:.06em; text-transform:uppercase }
.shop-till,.shop-code{ font-size:13px !important; color:var(--muted) !important }
.shop-code b{ margin-left:6px; padding:2px 8px; border:1px dashed var(--gold-text); border-radius:6px; color:var(--bone); letter-spacing:.08em }

.shop-story{ max-width:720px }
.shop-story p{ margin:0 0 14px; font-size:17px; line-height:1.7; color:var(--bone-dim) }
.shop-why{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:12px; margin:22px 0 0; padding:0; list-style:none }
.shop-why li{ display:grid; grid-template-columns:auto 1fr; gap:2px 12px; padding:14px 16px; border-radius:12px; background:var(--ink); border:1px solid var(--line-soft) }
.shop-why span{ grid-row:span 2; font-size:22px; line-height:1.2 }
.shop-why b{ font:600 15px/1.3 var(--sans); color:var(--bone) }
.shop-why i{ font-style:normal; font-size:13px; color:var(--muted) }
.shop-why--soft li{ background:transparent }

.shop-faq{ display:grid; gap:0; max-width:860px; border-top:1px solid var(--line) }
.shop-faq details{ border-bottom:1px solid var(--line) }
.shop-faq summary{ padding:16px 30px 16px 0; cursor:pointer; list-style:none; position:relative; font:600 16px/1.4 var(--sans); color:var(--bone) }
.shop-faq summary::-webkit-details-marker{ display:none }
.shop-faq summary::after{ content:'+'; position:absolute; right:4px; top:12px; font-size:22px; color:var(--gold-text) }
.shop-faq details[open] summary::after{ content:'–' }
.shop-faq p{ margin:0 0 14px; color:var(--bone-dim); line-height:1.65 }
.shop-sub{ margin:34px 0 14px; font:600 13px/1 var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--gold-text) }
.shop-policies{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:12px }
.shop-policy{ display:flex; flex-direction:column; gap:6px; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--ink); text-align:left; cursor:pointer; font:inherit; color:inherit }
.shop-policy i{ font-style:normal; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted) }
.shop-policy b{ font:600 16px/1.3 var(--sans); color:var(--bone) }
.shop-policy span{ font-size:13.5px; line-height:1.5; color:var(--bone-dim) }
.shop-policy em{ font-style:normal; font-size:12px; font-weight:700; color:var(--gold-text) }

.shop-contact{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; max-width:980px }
.shop-act{ display:flex; flex-direction:column; gap:4px; padding:16px 18px; border:1px solid var(--line); border-radius:12px; background:var(--ink); color:var(--bone); text-decoration:none; font-size:15px; line-height:1.45 }
.shop-act i{ font-style:normal; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--muted) }
a.shop-act:hover{ border-color:var(--gold-text) }
.shop-act--wa{ background:#1f9d55; border-color:#1f9d55; color:#fff } .shop-act--wa i{ color:rgba(255,255,255,.8) }

/* a brand whose logo is its wordmark (theme shop.heroLogo, style "full"): the
   whole logo large in the hero, the name kept for readers and search only */
.hero-logo--full{ display:block; height:clamp(150px,26vh,250px); width:auto; max-width:min(520px,82vw); object-fit:contain; margin:0 0 6px }
/* a full wordmark logo has no tile behind it: no glow (over the home slider's photos it showed as a pale box) */
.hero-logo--full{ box-shadow:none }
.hero-brand:has(.hero-logo--full){ flex-direction:column; align-items:flex-start; gap:14px }
/* the logo already carries the tagline */
.hero-brand:has(.hero-logo--full) .eyebrow{ display:none }
.h-hero.is-logo-title{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap }
@media (max-width:760px){ .hero-logo--full{ height:clamp(120px,22vh,180px) } }

/* shop by category (shop.js): the departments as tiles, the chosen one's categories as chips */
.shop-depts{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:14px }
.shop-dept{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:16px 16px 14px; border:1px solid var(--line); border-radius:14px; background:var(--ink); color:var(--bone); text-align:left; cursor:pointer; transition:border-color .25s, transform .25s var(--ease-out) }
.shop-dept b{ font:600 16px/1.2 var(--sans) }
.shop-dept i{ font-style:normal; font-size:12px; color:var(--muted) }
.shop-dept:hover{ border-color:var(--gold-text); transform:translateY(-2px) }
/* a department with a picture (its own, or TekMegha's default for men, women, accessories, kids, footwear) */
.shop-dept__pic{ display:block; width:100%; aspect-ratio:4/3; margin-bottom:6px; overflow:hidden; border-radius:var(--r,10px); background:var(--plaster,#ecedee) }
.shop-dept__pic img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-out) }
@media (max-width:1040px){ .shop-depts{ grid-template-columns:repeat(3,minmax(0,1fr)) } }
@media (max-width:640px){
  .shop-depts{ display:flex; overflow-x:auto; scrollbar-width:none; margin-left:calc(var(--pad) * -1); margin-right:calc(var(--pad) * -1); padding:0 var(--pad) 4px }
  .shop-dept{ flex:0 0 132px; padding:13px }
}

/* the home slider (shop.js, the profile's home_slides): photos behind the hero's text */
.shop-slides{ position:absolute; inset:0; z-index:0; overflow:hidden; background:var(--ink-3,#ebe8e0) }
.shop-slide{ position:absolute; inset:0; margin:0; opacity:0; transition:opacity 1.2s var(--ease) }
.shop-slide.is-on{ opacity:1 }
.shop-slide img{ width:100%; height:100%; object-fit:cover; transform:scale(1.04); transition:transform 7s linear }
.shop-slide.is-on img{ transform:scale(1) }
.shop-slide__bg{ display:none }
/* a portrait photo on a wide screen: whole, on the right, rounded, over a blur of itself (the caption sits beside it) */
@media (min-width:761px){
  .shop-slide.is-tall .shop-slide__bg{ display:block; position:absolute; inset:-40px; width:calc(100% + 80px); height:calc(100% + 80px); filter:blur(34px) saturate(.85); opacity:.5; transform:none }
  .shop-slide.is-tall .shop-slide__main{ position:absolute; top:calc(var(--nav-h, 72px) + 14px); right:clamp(24px,7vw,120px); left:auto;
    width:auto; height:calc(100% - var(--nav-h, 72px) - 14px - clamp(96px,15vh,150px)); max-width:min(36vw,560px); aspect-ratio:auto; object-fit:cover; border-radius:var(--r,10px); box-shadow:0 24px 60px rgba(0,0,0,.18); transform:none }
  .shop-slide.is-tall.is-on .shop-slide__main{ transform:none }
}
.shop-slides::after{ content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg, rgba(var(--ink-rgb),.94) 0%, rgba(var(--ink-rgb),.78) 34%, rgba(var(--ink-rgb),.18) 62%, transparent 80%),
    linear-gradient(0deg, rgba(var(--ink-rgb),.85), transparent 30%) }
.has-shop-slides .hero-top,.has-shop-slides .hero-foot{ position:relative; z-index:2 }
.shop-slides-ui{ position:absolute; inset:0; z-index:3; pointer-events:none }
.shop-slides-ui > *{ pointer-events:auto }
.shop-slide-cap{ position:absolute; z-index:2; right:var(--pad); bottom:clamp(110px,17vh,170px); display:flex; flex-direction:column; align-items:flex-end; gap:4px; max-width:min(380px,40vw); padding:14px 18px; border-radius:12px; background:rgba(var(--ink-rgb),.82); backdrop-filter:blur(6px); text-align:right }
.shop-slide-cap b{ font:500 clamp(20px,2vw,28px)/1.15 var(--serif); color:var(--bone) }
.shop-slide-cap i{ font-style:normal; font-size:13.5px; color:var(--bone-dim) }
.shop-slide-cap a{ margin-top:4px; font:700 11px/1 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--gold-text); text-decoration:none }
.shop-dots-nav{ position:absolute; z-index:2; right:var(--pad); bottom:clamp(86px,13vh,140px); display:flex; gap:8px }
.shop-dots-nav button{ width:26px; height:4px; padding:0; border:0; border-radius:2px; background:rgba(var(--ink-rgb),.6); box-shadow:inset 0 0 0 1px var(--line); cursor:pointer }
.shop-dots-nav button[aria-current="true"]{ background:var(--gold) }
.shop-credit{ position:absolute; left:var(--pad); bottom:10px; z-index:2; font-size:10.5px; color:var(--muted) }
.shop-credit a{ color:inherit }
@media (prefers-reduced-motion: reduce){ .shop-slide,.shop-slide img{ transition:none } }
@media (max-width:760px){
  .shop-slides::after{ background:linear-gradient(0deg, rgba(var(--ink-rgb),.96) 0%, rgba(var(--ink-rgb),.86) 48%, rgba(var(--ink-rgb),.35) 78%, rgba(var(--ink-rgb),.15)) }
  /* a phone's hero is full of the logo and copy: the dots only, under the bar */
  .shop-slide-cap{ display:none }
  .shop-dots-nav{ top:calc(var(--nav-h) + 10px); bottom:auto; right:16px }
}

/* ---- 38b · the shop's buttons, bar and hero (only on fashion pages: shop.js adds .is-shop)
   Buttons are 10px-round with white text on the accent (readable on every shop's red or maroon),
   in sentence case; the bar gets a Bag link once the shop takes orders. */
.is-shop .btn{ border-radius:var(--r,10px); text-transform:none; letter-spacing:-.005em; font-size:14.5px; font-weight:600 }
.is-shop .btn-gold,.is-shop .btn-gold:hover{ color:#fff }
.is-shop .nav-cta,.is-shop .shop-dept{ border-radius:var(--r,10px) }
.is-shop .shop-badge{ border-radius:30px; font-weight:600; letter-spacing:0; text-transform:none; font-size:11.5px }
.is-shop .shop-chip,.is-shop .shop-tab{ border-radius:30px }
.is-shop .shop-col{ border-radius:var(--r,10px) }
.is-shop .shop-dlg{ border-radius:14px }
.is-shop .shop-pd__media img{ border-radius:var(--r,10px) }
.is-shop .shop-order{ min-height:52px; align-items:center }
.nav-bag{ display:inline-flex; align-items:center; gap:7px; min-height:40px; margin-left:12px; padding:0 14px; border:1px solid var(--line); border-radius:var(--r,10px);
  color:var(--bone); font:600 13px/1 var(--sans); text-decoration:none; transition:border-color .2s var(--ease) }
.nav-bag:hover{ border-color:var(--bone) }
.nav-bag svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:round }
@media (max-width:900px){ .nav-bag{ margin-left:auto; margin-right:10px; padding:0 11px } .nav-bag span{ display:none } }
/* a phone's hero: the two buttons side by side, the same size */
@media (max-width:640px){
  .is-shop .hero-acts{ display:grid; grid-template-columns:1fr 1fr; gap:10px }
  .is-shop .hero-acts .btn{ width:100%; min-width:0; padding-inline:10px; justify-content:center; text-align:center }
}
/* photos in the hero (home_slides): a lighter wash, so the clothes are the picture and the words sit on the left */
.is-shop .shop-slides::after{ background:linear-gradient(90deg, rgba(var(--ink-rgb),.9) 0%, rgba(var(--ink-rgb),.6) 32%, rgba(var(--ink-rgb),.08) 58%, transparent 72%),
  linear-gradient(0deg, rgba(var(--ink-rgb),.8), transparent 26%) }
@media (max-width:760px){
  .is-shop .shop-slides::after{ background:linear-gradient(0deg, rgba(var(--ink-rgb),.97) 0%, rgba(var(--ink-rgb),.88) 46%, rgba(var(--ink-rgb),.2) 74%, transparent) }
}

/* =========================================================== 39 · the shop page (render.mjs renderShop)
   A fashion brand's index: an online store, shop first, no 3D world. A thin
   offers bar, a sticky header (menu, logo, links, search, wishlist, bag), the
   home slider full-bleed with the slide's title and "Shop now", a strip of
   what the shop stands for, then sections on the page colour: new arrivals,
   categories and collections, the shop, deals, the story, questions, contact
   and the footer. Works at 360px up; the brand's accent and fonts. */
.shop-page{ --pad:clamp(16px,4vw,56px); --head-h:64px; font-weight:400 }
.shop-page .wrap{ width:100%; max-width:1360px; margin-inline:auto; padding-inline:var(--pad); box-sizing:border-box }
.shop-page .skip:focus{ z-index:60 }


/* the header */
.sp-head{ position:sticky; top:0; z-index:40; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:6px;
  height:var(--head-h); padding:0 calc(var(--pad) - 8px); background:rgba(var(--ink-rgb),.97); border-bottom:1px solid var(--line-soft);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px) }
.sp-icon{ position:relative; display:inline-grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:10px; background:none; color:var(--bone); cursor:pointer; font:inherit; font-size:16px }
.sp-icon:hover{ background:rgba(var(--gold-rgb),.08) }
.sp-icon svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round }
.sp-brand{ justify-self:start; min-width:0; text-decoration:none; color:var(--bone) }
.sp-brand img{ width:auto; height:38px; max-width:120px; border-radius:0 }
.sp-brand .brand-tx{ min-width:0 }
.sp-brand .brand-tx b{ font-size:14px; letter-spacing:.2em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.sp-brand .brand-tx i{ font-size:8.5px; letter-spacing:.24em }
.sp-links{ display:none }
.sp-icons{ display:flex; align-items:center; gap:2px }
.sp-count{ position:absolute; top:5px; right:3px; min-width:17px; height:17px; padding:0 4px; border-radius:9px; box-sizing:border-box;
  background:var(--gold); color:#fff; font:600 10px/17px var(--sans); font-style:normal; text-align:center }
.sp-icons .nav-bag{ width:44px; height:44px; min-height:0; margin:0; padding:0; border:0; border-radius:10px; justify-content:center }
.sp-icons .nav-bag span{ display:none }
.sp-icons .nav-bag svg{ width:22px; height:22px }
@media (min-width:1000px){
  .sp-head{ grid-template-columns:auto minmax(0,1fr) auto; gap:24px; --head-h:72px }
  .sp-menu{ display:none }
  .sp-links{ display:flex; justify-content:center; gap:clamp(14px,2vw,30px) }
  .sp-links a{ color:var(--bone); font-size:13.5px; font-weight:500; text-decoration:none; padding:6px 0; border-bottom:1px solid transparent }
  .sp-links a:hover{ border-color:var(--gold) }
}

/* the menu sheet (phones) and the search bar */
.sp-sheet{ position:sticky; top:var(--head-h); z-index:39; display:grid; padding:6px var(--pad) 14px; background:var(--ink); border-bottom:1px solid var(--line); box-shadow:0 18px 40px rgba(0,0,0,.08) }
.sp-sheet[hidden]{ display:none }
.sp-sheet a{ padding:13px 2px; border-bottom:1px solid var(--line-soft); color:var(--bone); font-size:16px; font-weight:500; text-decoration:none }
.sp-search{ position:sticky; top:var(--head-h); z-index:39; padding:12px 0; background:var(--ink); border-bottom:1px solid var(--line) }
.sp-search[hidden]{ display:none }
.sp-search form{ display:flex; gap:8px; align-items:center }
.sp-search input{ flex:1 1 auto; min-width:0; height:46px; padding:0 14px; border:1px solid var(--line); border-radius:var(--r,10px); background:var(--ink); color:var(--bone); font:inherit; font-size:16px }
.sp-search .btn{ min-height:46px; padding:0 18px }

/* the hero: the home slider full-bleed, its title and Shop now at the foot; without photos, the brand */
.sp-hero{ position:relative; display:flex; align-items:flex-end; min-height:min(78svh,760px); overflow:hidden;
  background:radial-gradient(70% 60% at 70% 20%, rgba(var(--gold-rgb),.16), transparent 70%), linear-gradient(180deg, var(--gold-soft), var(--ink)) }
.sp-hero__plain{ position:relative; z-index:2; width:100%; max-width:680px; padding:clamp(28px,6vw,72px) var(--pad); box-sizing:border-box }
.sp-hero__logo{ display:block; width:auto; height:clamp(110px,20vh,190px); max-width:80vw; object-fit:contain; margin:0 0 10px }
.sp-hero .eyebrow{ margin:0 0 10px; font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-text) }
.sp-hero__title{ margin:0 0 12px; font:500 clamp(40px,7vw,84px)/1 var(--serif); letter-spacing:-.01em; color:var(--bone) }
.sp-hero__title.is-logo-title{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0) }
.sp-hero__sub{ margin:0 0 22px; max-width:46ch; font-size:16px; line-height:1.6; color:var(--bone-dim) }
.sp-hero__sub:empty{ display:none }
.has-shop-slides .sp-hero__plain{ display:none }
/* no slider photos yet: a compact brand banner, not a tall empty frame */
body:not(.has-shop-slides) .sp-hero{ min-height:0 }
body:not(.has-shop-slides) .sp-hero__plain{ padding-top:clamp(36px,7vw,84px); padding-bottom:clamp(32px,6vw,72px) }
.shop-page .shop-slides{ z-index:0 }
.shop-page .shop-slide img{ object-position:50% 22% }
.shop-page.has-shop-slides .shop-slides::after,.is-shop .shop-page .shop-slides::after{
  background:linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.22) 38%, rgba(0,0,0,0) 62%) }
.shop-page .shop-slides-ui{ z-index:3 }
.shop-page .shop-slide-cap{ left:var(--pad); right:auto; bottom:clamp(28px,6vh,64px); align-items:flex-start; max-width:min(560px,calc(100% - 2 * var(--pad)));
  padding:0; border-radius:0; background:none; -webkit-backdrop-filter:none; backdrop-filter:none; text-align:left; display:flex }
.shop-page .shop-slide-cap b{ font:500 clamp(34px,5.6vw,68px)/1.02 var(--serif); color:#fff; text-shadow:0 2px 18px rgba(0,0,0,.25) }
.shop-page .shop-slide-cap i{ margin-top:4px; font-size:clamp(14px,1.4vw,17px); color:rgba(255,255,255,.9) }
.shop-page .shop-slide-cap .btn{ margin-top:16px; padding:14px 26px; border-radius:var(--r,10px); background:#fff; color:#15171b; font:600 14.5px/1 var(--sans); letter-spacing:0; text-transform:none; text-decoration:none }
.shop-page .shop-slide-cap .btn:hover{ background:var(--gold); color:#fff }
.shop-page .shop-dots-nav{ top:auto; right:var(--pad); bottom:clamp(30px,6vh,66px) }
.shop-page .shop-dots-nav button{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.55); box-shadow:none }
.shop-page .shop-dots-nav button[aria-current="true"]{ width:22px; border-radius:4px; background:#fff }
.shop-page .shop-credit{ left:auto; right:var(--pad); top:10px; bottom:auto; color:rgba(255,255,255,.8) }
@media (max-width:760px){
  .shop-page .shop-slides::after{ background:linear-gradient(0deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.2) 42%, rgba(0,0,0,0) 64%) }
  .shop-page .shop-slide-cap{ display:flex }
}
@media (min-width:761px){
  /* a portrait photo on a wide screen: whole on the right over a blur of itself; the title stays bottom-left */
  .shop-page .shop-slide.is-tall .shop-slide__main{ top:24px; bottom:auto; height:calc(100% - 48px); right:clamp(24px,8vw,140px) }
  .shop-page .shop-slide.is-tall .shop-slide__bg{ opacity:.9; filter:blur(30px) brightness(.85) }
}


/* sections */
.sp-sec{ padding:clamp(40px,7vw,88px) 0 0 }
.sp-sec--soft{ margin-top:clamp(40px,7vw,88px); padding-bottom:clamp(40px,6vw,72px); background:var(--ink-2) }
.sp-sec__head{ display:flex; align-items:baseline; justify-content:space-between; gap:16px }
.sp-h{ margin:0; font:500 clamp(28px,3.6vw,44px)/1.1 var(--serif); color:var(--bone) }
.sp-h .gold{ color:var(--gold-text) }
.sp-more{ flex:0 0 auto; color:var(--bone); font-size:14px; font-weight:600; text-decoration:underline; text-underline-offset:4px }
.shop-page .shop-slot{ margin-top:clamp(16px,2.4vw,26px) }
.sp-new[hidden]{ display:none }

/* product cards on the shop page: a heart on the photo, Add to bag under it, the sizes */
.shop-card__frame{ position:relative }
.shop-heart{ position:absolute; top:10px; right:10px; z-index:2; display:grid; place-items:center; width:38px; height:38px; padding:0; border:0; border-radius:50%;
  background:rgba(255,255,255,.92); color:var(--bone); cursor:pointer; box-shadow:0 2px 10px rgba(0,0,0,.08) }
.shop-heart svg{ width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linejoin:round }
.shop-heart.is-on{ color:var(--gold) }
.shop-heart.is-on svg{ fill:currentColor }
.shop-add{ display:block; width:100%; min-height:44px; margin-top:8px; border:1px solid var(--bone); border-radius:var(--r,10px); background:var(--ink); color:var(--bone);
  font:600 13px/1 var(--sans); letter-spacing:.06em; text-transform:uppercase; cursor:pointer; transition:background .2s, color .2s }
.shop-add:hover:not(:disabled){ background:var(--bone); color:var(--ink) }
.shop-add:disabled{ border-color:var(--line); color:var(--muted); cursor:default }
.shop-page .shop-card__body{ padding-top:6px }
.shop-searched{ margin:0 0 12px; font-size:14px; color:var(--bone-dim) }
.shop-searched button{ margin-left:8px; padding:0; border:0; background:none; color:var(--gold-text); font:inherit; font-weight:600; text-decoration:underline; cursor:pointer }
@media (max-width:640px){
  .shop-heart{ top:8px; right:8px; width:34px; height:34px }
  .shop-add{ min-height:40px; font-size:12px }
  /* new arrivals: two rows on a phone */
  .sp-new .shop-card:nth-child(n+5){ display:none }
}

/* MeghaAI in contact and the footer */
.shop-act--ask{ border:1px solid var(--gold); background:rgba(var(--gold-rgb),.06); cursor:pointer; font:inherit; text-align:left; color:inherit }
.sf-ask{ padding:0; border:0; background:none; color:var(--gold-text); font:inherit; font-size:14px; font-weight:600; text-decoration:underline; cursor:pointer; text-align:left }

/* the footer: contact, then the site footer, on the page colour */
.sp-foot{ position:relative; margin-top:clamp(48px,8vw,96px); padding-top:clamp(40px,6vw,72px); border-top:1px solid var(--line-soft) }
.sp-foot__sub{ margin-top:8px; margin-bottom:0; color:var(--bone-dim); font-size:15px }
.shop-page .site-foot{ margin:clamp(40px,6vw,72px) 0 0; padding-inline:var(--pad) }
.shop-page .sf-grid,.shop-page .sf-bottom{ max-width:1360px; margin-inline:auto }

/* §40 — the shop page's quiet dress (over §39): an editorial store in the shop's own colours.
   Flat page colour, square corners, a lot of air. Nunito Sans throughout, section titles and product
   names in small spaced capitals; Literata only for the slide's big title. One deep colour made from
   the brand's accent (--acc) for the offers bar, the filled buttons and the footer; --paper is the
   light text on it. Offers turn one at a time in the bar; the slide's title sits centred with a round
   scroll button on the hero's lower edge; products are a tall photo, a name and a price, with a
   heart and a small + on the photo; categories and collections are picture tiles with the name over
   the photo. Checked at 390 px and 1440 px. */
.shop-page{
  --serif:'Literata',Georgia,'Times New Roman',serif;
  --sans:'Nunito Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --mono:var(--sans);
  --r:0px;
  --paper:#fdfaf3;
  --acc:var(--gold-deep,var(--gold));
  font-family:var(--sans); font-weight:400; letter-spacing:0;
}
@supports (color:color-mix(in srgb, red, blue)){
  .shop-page{ --acc:color-mix(in srgb, var(--gold) 60%, #2b1010) }
}
.shop-page .eyebrow{ font-family:var(--sans); font-weight:600; letter-spacing:.22em }

/* buttons: square, small spaced capitals; filled in the deep colour, or a thin outline */
.shop-page .btn{ justify-content:center; min-height:46px; padding:0 28px; border-radius:0; font:600 11.5px/1 var(--sans); letter-spacing:.22em; text-transform:uppercase }
.shop-page .btn-gold{ background:var(--acc); border:1px solid var(--acc); color:var(--paper) }
.shop-page .btn-gold:hover{ background:transparent; color:var(--acc) }
.shop-page .btn-ghost{ border:1px solid currentColor; background:none; color:var(--bone) }
.shop-page .btn-ghost:hover{ background:var(--bone); border-color:var(--bone); color:var(--ink) }

/* the offers bar: one offer, centred, arrows either side */
.sp-ann{ display:flex; align-items:center; justify-content:center; gap:6px; min-height:36px; padding:0 6px; background:var(--acc); color:var(--paper) }
.sp-ann[hidden]{ display:none }
.sp-ann__msg{ flex:0 1 620px; margin:0; padding:9px 0; text-align:center; font:600 10.5px/1.5 var(--sans); letter-spacing:.2em; text-transform:uppercase; transition:opacity .22s }
.sp-ann__msg.is-out{ opacity:0 }
.sp-ann__msg b{ font-weight:700; border-bottom:1px solid currentColor }
.sp-ann__nav{ flex:none; display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; background:none; color:inherit; opacity:.75; cursor:pointer }
.sp-ann__nav:hover{ opacity:1 }
.sp-ann__nav svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round }
@media (prefers-reduced-motion: reduce){ .sp-ann__msg{ transition:none } }

/* the header: page colour, a hairline under it, thin icons, plain links */
.shop-page .sp-head{ background:var(--ink); border-bottom:1px solid var(--line-soft); -webkit-backdrop-filter:none; backdrop-filter:none }
.shop-page .sp-icon,.shop-page .sp-icons .nav-bag{ border-radius:0 }
.shop-page .sp-icon:hover,.shop-page .sp-icons .nav-bag:hover{ background:none; color:var(--acc) }
.shop-page .sp-icon svg,.shop-page .sp-icons .nav-bag svg{ stroke-width:1.3 }
.shop-page .sp-count,.shop-page .nav-bag__n{ background:var(--acc); color:var(--paper) }
.shop-page .sp-icons .nav-bag__n{ top:5px; right:3px; min-width:17px; height:17px; padding:0 4px; font:600 10px/17px var(--sans) }
.shop-page .sp-brand .brand-tx b{ font-family:var(--sans); font-weight:600; font-size:14px; letter-spacing:.26em }
.shop-page .sp-brand .brand-tx i{ letter-spacing:.26em }
.shop-page .sp-links a{ font-size:14px; font-weight:400; letter-spacing:.02em }
.shop-page .sp-links a:hover{ border-color:currentColor }
.shop-page .sp-links a[hidden],.shop-page .sp-sheet a[hidden]{ display:none }
.shop-page .sp-sheet{ box-shadow:none }
.shop-page .sp-sheet a{ padding:15px 2px; font:600 12px/1.3 var(--sans); letter-spacing:.2em; text-transform:uppercase }
.shop-page .sp-search input{ border-radius:0 }
.shop-page .sp-search input:focus{ outline:1px solid var(--bone); outline-offset:0; border-color:var(--bone) }
@media (max-width:999px){
  /* a phone: menu, the logo in the middle, the icons */
  .shop-page .sp-brand{ justify-self:center; max-width:100% }
  .shop-page .sp-brand .brand-tx b,.shop-page .sp-brand .brand-tx i{ display:block; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
  .shop-page .sp-icon,.shop-page .sp-icons .nav-bag{ width:40px }
}

/* the hero: the photo edge to edge, the slide's title centred low, a round scroll button on the lower edge */
.shop-page .sp-hero{ min-height:min(86svh,820px); overflow:visible; background:var(--ink-2) }
body.shop-page:not(.has-shop-slides) .sp-hero{ min-height:0; background:none; border-bottom:1px solid var(--line-soft) }
.shop-page .sp-hero__plain{ max-width:820px; margin:0 auto; text-align:center }
.shop-page .sp-hero__logo{ margin:0 auto 14px }
.shop-page .sp-hero__title{ font:400 clamp(30px,5vw,60px)/1.1 var(--serif); letter-spacing:.08em; text-transform:uppercase }
.shop-page .sp-hero__sub{ margin-inline:auto; font-size:14.5px; line-height:1.8 }
.shop-page .shop-slides{ background:var(--ink-2) }
.shop-page.has-shop-slides .shop-slides::after,.is-shop .shop-page .shop-slides::after{
  background:linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.14) 46%, rgba(0,0,0,.1) 100%) }
.shop-page .shop-slide-cap{ left:50%; right:auto; bottom:clamp(64px,12vh,120px); transform:translateX(-50%); align-items:center; width:min(820px,calc(100% - 2 * var(--pad))); max-width:none; text-align:center }
.shop-page .shop-slide-cap b{ font:400 clamp(32px,6.4vw,88px)/1 var(--serif); letter-spacing:.08em; text-transform:uppercase; color:#fff; text-shadow:0 2px 22px rgba(0,0,0,.25) }
.shop-page .shop-slide-cap i{ margin-top:14px; font:600 clamp(10.5px,1vw,12.5px)/1.6 var(--sans); letter-spacing:.24em; text-transform:uppercase; color:rgba(255,255,255,.94); text-shadow:0 1px 10px rgba(0,0,0,.45) }
.shop-page .shop-slide-cap .btn{ min-height:44px; margin-top:22px; padding:0 30px; border:1px solid rgba(255,255,255,.9); border-radius:0; background:rgba(0,0,0,.22); color:#fff; font:600 11.5px/1 var(--sans); letter-spacing:.22em; text-transform:uppercase }
.shop-page .shop-slide-cap .btn:hover{ background:#fff; color:#15171b }
.shop-page .shop-dots-nav{ top:auto; right:var(--pad); bottom:26px; gap:12px; align-items:center }
.shop-page .shop-dots-nav button,.shop-page .shop-dots-nav button[aria-current="true"]{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.55); box-shadow:none }
.shop-page .shop-dots-nav button[aria-current="true"]{ background:#fff; box-shadow:0 0 0 5px rgba(255,255,255,.28) }
.sp-down{ position:absolute; z-index:4; left:50%; bottom:-22px; display:grid; place-items:center; width:44px; height:44px; margin-left:-22px; border-radius:50%; background:var(--ink); color:var(--bone); box-shadow:0 2px 14px rgba(0,0,0,.14) }
.sp-down svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round }
body:not(.has-shop-slides) .sp-down{ display:none }
@media (min-width:761px){
  /* a portrait photo on a wide screen: whole and centred, over a blur of itself */
  .shop-page .shop-slide.is-tall .shop-slide__main{ top:0; right:auto; left:50%; width:auto; height:100%; max-width:none; border-radius:0; box-shadow:none; transform:translateX(-50%) }
  .shop-page .shop-slide.is-tall.is-on .shop-slide__main{ transform:translateX(-50%) }
  .shop-page .shop-slide.is-tall .shop-slide__bg{ opacity:.85; filter:blur(30px) brightness(.8) saturate(.9) }
}
@media (max-width:760px){
  .shop-page .sp-hero{ min-height:min(78svh,640px) }
  .shop-page .shop-slides::after{ background:linear-gradient(0deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.16) 50%, rgba(0,0,0,.08) 100%) }
  .shop-page .shop-slide-cap{ display:flex; bottom:58px }
  .shop-page .shop-dots-nav{ right:50%; bottom:34px; transform:translateX(50%) }
}

/* under the hero: what the shop stands for, in one spaced line, and a few words about it */
.sp-intro{ box-sizing:border-box; max-width:920px; margin:0 auto; padding:clamp(60px,8vw,104px) var(--pad) 0; text-align:center }
.sp-intro[hidden]{ display:none }
.sp-intro__k{ margin:0; text-wrap:balance; font:400 clamp(15px,1.7vw,21px)/1.6 var(--sans); letter-spacing:.24em; text-transform:uppercase; color:var(--bone) }
.sp-intro__k span{ margin:0 .2em; color:var(--acc) }
.sp-intro__t{ max-width:720px; margin:18px auto 0; font-size:14.5px; line-height:1.85; color:var(--bone-dim) }
/* without slider photos the hero already says it */
body:not(.has-shop-slides) .sp-intro__t{ display:none }

/* sections: flat, wide apart, a centred title in spaced capitals */
.shop-page .sp-sec{ padding:clamp(56px,7.5vw,104px) 0 0; margin-top:0; background:none }
.shop-page .sp-sec[hidden]{ display:none }
.shop-page .sp-sec__head{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; text-align:center }
.shop-page .sp-h{ margin:0; padding-left:.24em; font:400 clamp(17px,1.75vw,22px)/1.35 var(--sans); letter-spacing:.24em; text-transform:uppercase; color:var(--bone) }
.shop-page .shop-slot{ margin-top:clamp(24px,3vw,42px) }
.shop-page .shop-wait{ text-align:center; font-size:14.5px }
.shop-page .sp-more-row{ display:flex; justify-content:center; margin:clamp(28px,3.4vw,44px) auto 0 }
.shop-page .sp-more{ display:inline-flex; align-items:center; min-height:44px; padding:0 32px; border:1px solid var(--acc); border-radius:0; background:var(--acc); color:var(--paper);
  font:600 11.5px/1 var(--sans); letter-spacing:.22em; text-transform:uppercase; text-decoration:none; transition:background .2s, color .2s }
.shop-page .sp-more:hover{ background:transparent; color:var(--acc) }

/* product cards: a tall photo, the name in small capitals, the price; a heart and a small + on the photo */
.shop-page .shop-grid{ gap:clamp(30px,3.6vw,52px) clamp(12px,2.2vw,32px) }
.shop-page .shop-card__media{ aspect-ratio:2/3; border-radius:0 }
.shop-page .shop-card__body{ align-items:center; gap:6px; padding:14px 4px 0; text-align:center }
.shop-page .shop-card__body h3{ font:400 11.5px/1.55 var(--sans); letter-spacing:.18em; text-transform:uppercase; color:var(--bone) }
.shop-page .shop-card__body h3 button{ text-align:center; text-transform:inherit }
.shop-page .shop-price{ justify-content:center; gap:8px; font:400 12.5px/1.4 var(--sans); letter-spacing:.06em; color:var(--muted) }
.shop-page .shop-price b{ font-weight:400 }
.shop-page .shop-price s{ font-size:11.5px; opacity:.75 }
.shop-page .shop-price--big{ justify-content:flex-start; font-size:18px; color:var(--bone) }
.shop-page .shop-price--big s{ font-size:14px }
.shop-page .shop-dots{ justify-content:center; margin-top:2px }
.shop-page .shop-dots li{ width:9px; height:9px }
.shop-page .shop-flags{ top:10px; left:10px; gap:4px }
.shop-page .shop-flag{ padding:5px 8px 4px; border-radius:0; box-shadow:none; font:700 9.5px/1.2 var(--sans); letter-spacing:.16em; text-transform:uppercase }
.shop-page .shop-flag--new{ background:var(--paper); color:#2a2a2a }
.shop-page .shop-flag--deal{ background:var(--acc); color:var(--paper) }
.shop-page .shop-flag--soft{ background:rgba(255,255,255,.92); color:#2a2a2a }
.shop-page .shop-flag--out{ background:#3a3a3a; color:#fff }
.shop-page .shop-heart{ top:8px; right:8px; width:32px; height:32px; background:rgba(255,255,255,.82); box-shadow:none; color:#2a2a2a }
.shop-page .shop-heart svg{ width:16px; height:16px; stroke-width:1.4 }
.shop-page .shop-heart.is-on{ color:var(--acc) }
.shop-page .shop-add{ position:absolute; right:10px; bottom:10px; z-index:2; display:grid; place-items:center; width:34px; height:34px; min-height:0; margin:0; padding:0;
  border:0; border-radius:0; background:var(--paper); color:#2a2a2a; box-shadow:0 1px 8px rgba(0,0,0,.12); cursor:pointer; transition:background .2s, color .2s, opacity .25s, transform .25s }
.shop-page .shop-add svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round }
.shop-page .shop-add:hover{ background:var(--acc); color:var(--paper) }
@media (hover:hover) and (min-width:1000px){
  .shop-page .shop-add{ opacity:0; transform:translateY(4px) }
  .shop-page .shop-card:hover .shop-add,.shop-page .shop-add:focus-visible{ opacity:1; transform:none }
}
/* new arrivals: one row of four; on a phone a row that slides sideways */
@media (min-width:641px){ .shop-page .sp-new .shop-card:nth-child(n+5){ display:none } }
@media (max-width:1040px) and (min-width:641px){ .shop-page .sp-new .shop-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px 12px } }
@media (max-width:640px){
  .shop-page .shop-grid{ gap:28px 12px }
  .shop-page .sp-new .shop-grid{ display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none;
    margin-inline:calc(var(--pad) * -1); padding-inline:var(--pad); scroll-padding-inline:var(--pad) }
  .shop-page .sp-new .shop-grid::-webkit-scrollbar{ display:none }
  .shop-page .sp-new .shop-card,.shop-page .sp-new .shop-card:nth-child(n+5){ display:flex; flex:0 0 62%; scroll-snap-align:start }
  .shop-page .shop-card__body h3{ font-size:10.5px; letter-spacing:.16em }
  .shop-page .shop-add{ right:8px; bottom:8px; width:32px; height:32px }
}

/* shop by category: picture tiles, the name over the photo; two wide tiles, then three when the count is odd */
.shop-page .shop-depts{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(12px,1.7vw,24px); margin:0; padding:0; overflow:visible }
.shop-page .shop-dept{ position:relative; isolation:isolate; display:block; grid-column:span 3; aspect-ratio:5/4; min-width:0; padding:0; border:0; border-radius:0; overflow:hidden;
  background:var(--gold-soft,#efe6dc); color:var(--bone); box-shadow:none; transform:none; cursor:pointer; flex:none }
.shop-page .shop-dept:hover{ transform:none }
.shop-page .shop-depts[data-odd] .shop-dept:nth-last-child(-n+3){ grid-column:span 2; aspect-ratio:4/5 }
.shop-page .shop-depts[data-n="1"] .shop-dept{ grid-column:1 / -1; aspect-ratio:21/9 }
.shop-page .shop-dept__pic{ position:absolute; inset:0; z-index:-1; width:auto; margin:0; aspect-ratio:auto; border-radius:0 }
.shop-page .shop-dept__pic img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease-out) }
.shop-page .shop-dept__pic::after{ content:''; position:absolute; inset:0; background:rgba(0,0,0,.28); transition:background .4s }
.shop-page .shop-dept:hover .shop-dept__pic img{ transform:scale(1.04) }
.shop-page .shop-dept:hover .shop-dept__pic::after{ background:rgba(0,0,0,.38) }
.shop-dept__txt{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:16px; text-align:center }
.shop-page .shop-dept:has(.shop-dept__pic) .shop-dept__txt{ color:#fff; text-shadow:0 1px 14px rgba(0,0,0,.35) }
.shop-page .shop-dept b{ padding:0 0 0 .24em; font:400 clamp(16px,1.75vw,22px)/1.25 var(--sans); letter-spacing:.24em; text-transform:uppercase }
.shop-page .shop-dept i{ padding:0 0 2px; border-bottom:1px solid currentColor; font-style:normal; font-size:12.5px; letter-spacing:.04em; color:inherit }
.shop-page .shop-dept:disabled{ cursor:default }
.shop-page .shop-dept:disabled i{ border-bottom-color:transparent; opacity:.9 }
@media (max-width:640px){
  .shop-page .shop-depts{ gap:10px }
  .shop-page .shop-dept,.shop-page .shop-depts[data-odd] .shop-dept:nth-last-child(-n+3){ grid-column:span 3; aspect-ratio:4/5 }
  .shop-page .shop-depts[data-odd] .shop-dept:first-child,.shop-page .shop-depts[data-n="1"] .shop-dept{ grid-column:1 / -1; aspect-ratio:5/4 }
  .shop-page .shop-dept b{ font-size:14px; letter-spacing:.2em }
  .shop-page .shop-dept i{ font-size:12px }
}

/* collections: the same tiles, in a mosaic; the sub-titles ("Collections", "Policies") read as section titles */
.shop-page .shop-sub{ margin:clamp(56px,7.5vw,104px) 0 clamp(24px,3vw,42px); padding-left:.24em; text-align:center; font:400 clamp(17px,1.75vw,22px)/1.35 var(--sans); letter-spacing:.24em; text-transform:uppercase; color:var(--bone) }
.shop-page .shop-tabs{ justify-content:center; gap:clamp(14px,2vw,28px); margin-bottom:22px; background:none; border:0; padding:0 }
.shop-page .shop-tab{ min-height:38px; padding:0 2px; border:0; border-bottom:1px solid transparent; border-radius:0; background:none; color:var(--muted); font:600 11px/1 var(--sans); letter-spacing:.18em; text-transform:uppercase }
.shop-page .shop-tab.is-on{ background:none; border-bottom-color:var(--bone); color:var(--bone) }
.shop-page .shop-cols{ gap:clamp(12px,1.7vw,24px) }
.shop-page .shop-col{ border-radius:0; text-align:center }
.shop-page .shop-col__pic::after{ background:rgba(0,0,0,.26); transition:background .4s }
.shop-page .shop-col:hover .shop-col__pic::after{ background:rgba(0,0,0,.36) }
.shop-page .shop-col__txt{ inset:0; max-width:none; align-items:center; justify-content:center; gap:8px; padding:16px; text-shadow:0 1px 14px rgba(0,0,0,.35) }
.shop-page .shop-col__txt b,.shop-page .shop-cols > .shop-col:first-child .shop-col__txt b,.shop-page .shop-cols[data-n="2"] > .shop-col .shop-col__txt b{
  padding-left:.22em; font:400 clamp(14px,1.4vw,19px)/1.3 var(--sans); letter-spacing:.22em; text-transform:uppercase }
.shop-page .shop-cols > .shop-col:first-child .shop-col__txt b{ font-size:clamp(16px,1.8vw,24px) }
.shop-page .shop-col__txt i{ font-size:12.5px; letter-spacing:.02em; opacity:.92 }
.shop-page .shop-col__go{ gap:0; margin-top:4px; padding-bottom:2px; border-bottom:1px solid currentColor; font:400 12.5px/1.2 var(--sans); letter-spacing:.04em }
@media (max-width:640px){
  .shop-page .shop-col__txt b,.shop-page .shop-cols > .shop-col:first-child .shop-col__txt b{ font-size:14px }
}

/* the shop: filters as a row of words (the open one underlined), a department's categories under them */
.shop-page [data-shop="products"] > .shop-chips{ gap:clamp(16px,2.2vw,30px); margin:0 0 20px; padding:0; border-bottom:1px solid var(--line-soft) }
.shop-page [data-shop="products"] > .shop-chips .shop-chip{ flex:none; min-height:44px; margin-bottom:-1px; padding:0 1px; border:0; border-bottom:1px solid transparent; border-radius:0; background:none;
  color:var(--muted); font:600 11px/1 var(--sans); letter-spacing:.18em; text-transform:uppercase }
.shop-page [data-shop="products"] > .shop-chips .shop-chip:hover{ color:var(--bone) }
.shop-page [data-shop="products"] > .shop-chips .shop-chip.is-on{ background:none; border-bottom-color:var(--bone); color:var(--bone) }
@media (min-width:761px){ .shop-page [data-shop="products"] > .shop-chips{ flex-wrap:wrap; justify-content:center; row-gap:0; overflow:visible } }
.shop-subchips{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:0 0 22px }
.shop-subchip{ min-height:34px; padding:0 14px; border:1px solid var(--line); border-radius:0; background:none; color:var(--bone); font:400 12.5px/1 var(--sans); letter-spacing:.04em; cursor:pointer }
.shop-subchip span{ margin-left:7px; color:var(--muted); font-size:11.5px }
.shop-subchip:hover{ border-color:var(--bone) }
.shop-subchip.is-on{ background:var(--bone); border-color:var(--bone); color:var(--ink) }
.shop-subchip.is-on span{ color:inherit; opacity:.7 }
.shop-page .shop-bar{ margin-bottom:22px }
.shop-page .shop-count{ font:600 10.5px/1 var(--sans); letter-spacing:.18em; text-transform:uppercase }
.shop-page .shop-sort span{ font:600 10.5px/1 var(--sans); letter-spacing:.18em; text-transform:uppercase; color:var(--muted) }
.shop-page .shop-sort select{ border-radius:0; border-color:var(--line-soft); background-color:transparent; font-size:13px }
.shop-page .shop-searched{ text-align:center }
.shop-page .shop-searched button{ color:var(--bone) }
@media (max-width:760px){ .shop-subchips{ flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; scrollbar-width:none; margin-inline:calc(var(--pad) * -1); padding-inline:var(--pad) } .shop-subchip{ flex:none } }

/* deals and offers: plain bordered cards, centred */
.shop-page .shop-deals{ grid-template-columns:repeat(auto-fit,minmax(250px,360px)); justify-content:center; gap:clamp(12px,1.7vw,24px) }
.shop-page .shop-dealcard{ align-items:center; gap:10px; padding:30px 24px; border:1px solid var(--line-soft); border-radius:0; background:none; text-align:center }
.shop-page .shop-dealcard img{ width:calc(100% + 48px); margin:-30px -24px 10px; border-radius:0 }
.shop-page .shop-dealcard h3{ font:400 13px/1.5 var(--sans); letter-spacing:.2em; text-transform:uppercase }
.shop-page .shop-dealcard ul{ padding:0; list-style:none }
.shop-page .shop-dealcard .btn{ align-self:center; min-height:40px; margin-top:8px }
.shop-page .shop-badge{ align-self:center; padding:5px 10px 4px; border-radius:0; background:var(--acc); color:var(--paper); font:700 9.5px/1.2 var(--sans); letter-spacing:.16em; text-transform:uppercase }

/* the story: a centred column, then what the shop stands for as a row of small titled notes */
.shop-page .shop-story{ max-width:760px; margin:0 auto; text-align:center }
.shop-page .shop-story p{ font-size:15px; line-height:1.9 }
.shop-page .shop-why{ grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:34px 24px; max-width:1080px; margin:clamp(36px,5vw,64px) auto 0; padding-top:clamp(34px,4.4vw,56px); border-top:1px solid var(--line-soft) }
.shop-page .shop-why + .shop-why{ margin-top:34px; padding-top:0; border-top:0 }
.shop-page .shop-why li{ display:flex; flex-direction:column; align-items:center; gap:8px; padding:0; border:0; border-radius:0; background:none; text-align:center }
.shop-page .shop-why span{ font-size:22px; line-height:1.3; filter:grayscale(1); opacity:.8 }
.shop-page .shop-why b{ font:600 11px/1.5 var(--sans); letter-spacing:.2em; text-transform:uppercase }
.shop-page .shop-why i{ max-width:250px; font-size:13.5px; line-height:1.65; color:var(--bone-dim) }
@media (max-width:640px){ .shop-page .shop-why{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 14px } }

/* questions and policies */
.shop-page .shop-faq{ max-width:760px; margin-inline:auto; border-top-color:var(--line-soft) }
.shop-page .shop-faq details{ border-bottom-color:var(--line-soft) }
.shop-page .shop-faq summary{ padding:18px 34px 18px 0; font:400 14.5px/1.5 var(--sans); letter-spacing:.02em }
.shop-page .shop-faq summary::after{ top:15px; font-size:20px; font-weight:300; color:var(--bone) }
.shop-page .shop-faq p{ font-size:14px; line-height:1.8 }
.shop-page .shop-policies{ max-width:1080px; margin-inline:auto }
.shop-page .shop-policy{ border-radius:0; border-color:var(--line-soft); background:none }
.shop-page .shop-policy em{ color:var(--bone); font-weight:400; text-decoration:underline; text-underline-offset:3px }

/* the product view, the bag and the forms: square, the same type */
.shop-page .shop-dlg,.is-shop .shop-page .shop-dlg{ border-radius:0 }
.shop-page .shop-x{ border-radius:0; background:none; font-size:16px }
.shop-page .shop-pd__media img{ border-radius:0 }
.shop-page .shop-pd__text h3,.shop-page .shop-policy-full h3{ font:400 clamp(16px,1.6vw,20px)/1.45 var(--sans); letter-spacing:.16em; text-transform:uppercase }
.shop-page .shop-kicker{ font-weight:600; letter-spacing:.2em; color:var(--muted) }
.shop-page .shop-label{ font-weight:600; letter-spacing:.18em }
.shop-page .shop-pd .shop-chip{ min-width:46px; min-height:42px; justify-content:center; border-radius:0; background:none; font:400 13px/1 var(--sans) }
.shop-page .shop-pd .shop-chip.is-on{ background:var(--bone); border-color:var(--bone); color:var(--ink) }
.shop-page .shop-order--alt{ border:1px solid currentColor; box-shadow:none; background:none; color:var(--bone) }
.shop-page .shop-order--alt:hover{ background:var(--bone); border-color:var(--bone); color:var(--ink) }
.shop-page .shop-bag-sheet h3{ font:400 15px/1.4 var(--sans); letter-spacing:.2em; text-transform:uppercase }
.shop-page .shop-bag-sheet h3 small{ letter-spacing:.04em; text-transform:none }
.shop-page .shop-bagline img,.shop-page .shop-bagline__ph,.shop-page .shop-qty button,.shop-page .shop-bagline__x,.shop-page .shop-form input,.shop-page .shop-form textarea{ border-radius:0 }
.shop-page .shop-form input:focus,.shop-page .shop-form textarea:focus{ outline-color:var(--acc) }

/* the footer: the deep colour, light type; "Talk to us" and the ways to reach the shop, then the links */
.shop-page .sp-foot{ margin-top:clamp(72px,9vw,128px); padding-top:clamp(52px,6.5vw,88px); border-top:0; background:var(--acc); color:var(--paper);
  --bone:var(--paper); --bone-dim:rgba(253,250,243,.76); --muted:rgba(253,250,243,.62); --line:rgba(253,250,243,.26); --line-soft:rgba(253,250,243,.16); --gold-text:var(--paper) }
.shop-page .sp-foot__sub{ margin-top:14px; text-align:center; font-size:14px; color:var(--bone-dim) }
.shop-page .sp-foot .shop-contact{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; max-width:none; margin-inline:auto }
.shop-page .sp-foot .shop-act{ flex:0 1 250px; align-items:center; gap:6px; padding:18px 18px; border:1px solid var(--line); border-radius:0; background:none; color:var(--paper); font-size:14px; text-align:center; transition:background .2s, color .2s, border-color .2s }
.shop-page .sp-foot .shop-act i{ font-weight:600; letter-spacing:.2em; color:var(--muted); transition:color .2s }
.shop-page .sp-foot a.shop-act:hover,.shop-page .sp-foot button.shop-act:hover{ background:var(--paper); border-color:var(--paper); color:#2a2a2a }
.shop-page .sp-foot a.shop-act:hover i,.shop-page .sp-foot button.shop-act:hover i{ color:#6c6f76 }
.shop-page .site-foot{ margin:clamp(48px,6vw,80px) 0 0; padding-top:clamp(40px,5vw,64px); background:none; border-top:1px solid var(--line-soft) }
.shop-page .site-foot::before{ display:none }
.shop-page .sf-brand .brand img{ display:none }
.shop-page .sf-brand .brand,.shop-page .sf-brand .brand-tx b{ color:var(--paper) }
.shop-page .sf-brand .brand-tx b{ font-family:var(--sans); font-weight:600; letter-spacing:.26em }
.shop-page .sf-brand .brand-tx i{ color:var(--muted) }
.shop-page .sf-brand p,.shop-page .sf-col a,.shop-page .sf-contact li,.shop-page .sf-social a{ color:var(--bone-dim) }
.shop-page .sf-col h4{ font-weight:600; color:var(--paper) }
.shop-page .sf-col a:hover,.shop-page .sf-social a:hover{ color:var(--paper) }
.shop-page .sf-social a{ border-color:var(--line) }
.shop-page .sf-social a:hover{ border-color:var(--paper) }
.shop-page .sf-contact span{ color:var(--muted) }
.shop-page .sf-ask{ color:var(--paper); font-weight:400 }
.shop-page .sf-bottom{ border-top-color:var(--line-soft); color:var(--muted); font-size:10.5px; letter-spacing:.18em; text-transform:uppercase }
.shop-page .sf-bottom a{ color:var(--paper) }

/* §40b — more of the editorial page (shop.js lookbook, featured, stories, subscribe): the lookbook's
   pictures side by side edge to edge with a few centred lines; a featured collection's row of pieces
   (the New arrivals row again, under the collection's title); stories as three cards that open to
   read; the newsletter form in the footer. Each shows only when the shop has it. */
.sp-looks[hidden],.sp-feats[hidden]{ display:none }
.sp-look{ padding-top:clamp(56px,7.5vw,104px) }
.sp-look__pics{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) }
.sp-look[data-n="1"] .sp-look__pics{ grid-template-columns:minmax(0,1fr) }
.sp-look__pics a{ position:relative; display:block; overflow:hidden; aspect-ratio:1/1; background:var(--plaster,#ecedee) }
.sp-look[data-n="1"] .sp-look__pics a{ aspect-ratio:21/9 }
.sp-look__pics img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease-out) }
.sp-look__pics a:hover img{ transform:scale(1.03) }
.sp-look__txt{ box-sizing:border-box; max-width:760px; margin:0 auto; padding:clamp(30px,4vw,52px) var(--pad) 0; text-align:center }
.sp-look__txt p{ margin:14px 0 0; font-size:14.5px; line-height:1.85; color:var(--bone-dim) }
.sp-look__go{ display:inline-block; margin-top:18px; padding-bottom:2px; border-bottom:1px solid currentColor; color:var(--bone); font-size:13px; letter-spacing:.04em; text-decoration:none }
.sp-look__go:hover{ color:var(--acc) }
.shop-page .sp-credit{ margin:14px 0 0; font-size:10.5px; line-height:1.5; letter-spacing:.04em; color:var(--muted) }
.shop-page .sp-credit a{ color:inherit; text-decoration:underline; text-underline-offset:2px }
.sp-feat__sub{ margin:10px 0 0; font-size:14px; line-height:1.6; color:var(--bone-dim) }
/* fewer than four pieces: the row sits in the middle */
@media (min-width:641px){
  .shop-page .sp-feat .shop-grid{ --gap:clamp(12px,2.2vw,32px); display:flex; justify-content:center; gap:var(--gap) }
  .shop-page .sp-feat .shop-card{ flex:0 0 calc((100% - 3 * var(--gap)) / 4) }
}
.shop-page button.sp-more{ cursor:pointer }
@media (max-width:640px){
  /* a phone: the two pictures stack, each a little taller than wide */
  .sp-look__pics{ grid-template-columns:minmax(0,1fr) }
  .sp-look__pics a{ aspect-ratio:4/5 }
  .sp-look[data-n="1"] .sp-look__pics a{ aspect-ratio:4/5 }
}

.sp-stories{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(28px,3.4vw,52px) clamp(16px,2.6vw,40px) }
.sp-story{ display:flex; flex-direction:column; align-items:flex-start; min-width:0 }
.sp-story__pic{ display:block; width:100%; margin:0 0 18px; padding:0; border:0; overflow:hidden; aspect-ratio:3/2; background:var(--plaster,#ecedee); cursor:pointer }
.sp-story__pic img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease-out) }
.sp-story:hover .sp-story__pic img{ transform:scale(1.03) }
.sp-story h3{ margin:0; font:400 14px/1.6 var(--sans); letter-spacing:.18em; text-transform:uppercase; color:var(--bone) }
.sp-story h3 button{ padding:0; border:0; background:none; color:inherit; font:inherit; letter-spacing:inherit; text-transform:inherit; text-align:left; cursor:pointer }
.sp-story p{ margin:12px 0 0; font-size:13.5px; line-height:1.75; color:var(--bone-dim); display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden }
.sp-story__more{ margin-top:14px; padding:0 0 2px; border:0; border-bottom:1px solid currentColor; background:none; color:var(--bone); font:400 13px/1.3 var(--sans); cursor:pointer }
.sp-story__more:hover,.sp-story h3 button:hover{ color:var(--acc) }
.shop-page .shop-story-full{ max-width:720px; margin:0 auto }
.shop-page .shop-story-full img{ display:block; width:100%; max-height:460px; margin:6px 0 0; object-fit:cover }
.shop-page .shop-story-full .sp-credit{ margin:8px 0 14px }
.shop-page .shop-story-full p:not(.shop-kicker):not(.sp-credit){ font-size:15px; line-height:1.85; color:var(--bone-dim) }
@media (max-width:900px){ .sp-stories{ grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (max-width:640px){ .sp-stories{ grid-template-columns:minmax(0,1fr); gap:36px } }

/* the newsletter, in the footer */
.shop-page .sp-news{ box-sizing:border-box; max-width:calc(560px + 2 * var(--pad)); margin:clamp(40px,5vw,64px) auto 0; text-align:center }
.sp-news__h{ margin:0; padding-left:.22em; font:400 15px/1.4 var(--sans); letter-spacing:.22em; text-transform:uppercase; color:var(--paper) }
.sp-news__t{ margin:10px 0 0; font-size:14px; line-height:1.6; color:var(--bone-dim) }
.sp-news__row{ display:flex; gap:10px; margin-top:18px }
.sp-news__row input{ flex:1 1 auto; min-width:0; height:46px; box-sizing:border-box; padding:0 14px; border:1px solid var(--line); border-radius:0; background:none; color:var(--paper); font:400 16px/1 var(--sans) }
.sp-news__row input::placeholder{ color:var(--muted) }
.sp-news__row input:focus{ outline:none; border-color:var(--paper) }
.shop-page .sp-news__row .btn{ flex:none; border:1px solid var(--paper); background:var(--paper); color:#2a2a2a; cursor:pointer }
.shop-page .sp-news__row .btn:hover:not(:disabled){ background:transparent; color:var(--paper) }
.shop-page .sp-news__row .btn:disabled{ opacity:.6; cursor:default }
.sp-news__msg{ min-height:1.5em; margin:12px 0 0; font-size:13.5px; color:var(--bone-dim) }
.sp-news__msg.is-ok{ color:var(--paper) }
.sp-news__msg.is-warn{ color:#ffd9d2 }
@media (max-width:480px){ .sp-news__row{ flex-direction:column } }

/* the hero's slide dots (render.mjs, theme.heroSlides) */
.hero-dots{ display:flex; gap:10px; margin-top:22px }
.hero-dots button{ width:34px; height:6px; padding:0; border:0; border-radius:3px; background:rgba(var(--bone-rgb,255,255,255),.38); cursor:pointer; position:relative }
.hero-dots button::after{ content:''; position:absolute; inset:-12px -2px }
.hero-dots button.is-on{ background:var(--gold) }

/* §41 — theme.look = "classic" (Jadcherla Runners): the fashion shop's clean dress on the 3D page.
   Same type as the shop (Literata titles, Nunito Sans body), centred section heads with a rule-and-diamond
   ornament, an italic accent word, chapters on flat cream / tinted bands that run into each other (no 3D
   windows between them), and square tracked buttons. Needs reading "solid". */
body.look-classic{
  --serif:'Literata',Georgia,'Times New Roman',serif;
  --sans:'Nunito Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --orn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Crect x='0' y='6.5' width='46' height='1'/%3E%3Crect x='74' y='6.5' width='46' height='1'/%3E%3Cpath d='M60 1l6 6-6 6-6-6z'/%3E%3C/svg%3E");
  font-family:var(--sans); font-weight:400;
}
.look-classic .display{ font-family:var(--serif); font-weight:400; letter-spacing:-.005em; line-height:1.14; text-transform:none; text-shadow:none }
.look-classic .h-hero{ font-size:clamp(38px,5.4vw,76px); line-height:1.05 }
.look-classic .h-sec{ font-size:clamp(28px,3.4vw,44px) }
.look-classic .display .gold,.look-classic .display em{ font-style:italic }
.look-classic .brand-tx b{ font-family:var(--serif); font-weight:600; letter-spacing:.12em; font-size:14px }
.look-classic .eyebrow,.look-classic .chapno{ font-family:var(--sans); font-weight:700; letter-spacing:.18em }
.look-classic .founders b,.look-classic .branch h3,.look-classic .enq-head h3,.look-classic .card-cap > span,.look-classic .evc h3{ font-family:var(--serif); font-weight:500; letter-spacing:0 }
.look-classic .btn,.look-classic .nav-cta{ border-radius:2px; text-transform:uppercase; letter-spacing:.14em; font:700 12.5px/1 var(--sans) }
.look-classic .btn{ padding:15px 26px }

/* the chapters run into each other on flat bands: cream, then a soft tint of the accent */
.look-classic.read-solid .sec,.look-classic.read-solid .foot{ padding-top:clamp(56px,8vw,96px); padding-bottom:clamp(56px,8vw,96px) }
.look-classic.read-solid .sec + .sec,.look-classic.read-solid .sec + .foot,.look-classic.read-solid .hero + .sec,.look-classic.read-solid .sec--gallery + .sec{ margin-top:0 }
.look-classic.read-solid .sec::before,.look-classic.read-solid .foot::before{ background:#fcfaf6 !important; box-shadow:none }
.look-classic.read-solid .sec:nth-of-type(even)::before{ background:linear-gradient(rgba(var(--gold-rgb),.08), rgba(var(--gold-rgb),.08)), #fcfaf6 !important }
.look-classic .sec--gallery::before{ background:#fcfaf6 !important }

/* centred titles with the ornament under each */
.look-classic.read-solid .sec-head,.look-classic.read-solid .foot .sec-head{ max-width:min(760px,100%); margin-inline:auto; text-align:center }
.look-classic .sec-head .chapno{ font-size:11.5px; margin-bottom:12px }
.look-classic .sec-head h2::after{ content:''; display:block; width:120px; height:14px; margin:16px auto 0; background:var(--gold); -webkit-mask:var(--orn) center/contain no-repeat; mask:var(--orn) center/contain no-repeat }
.look-classic .sec-head .body-lg{ margin-inline:auto }

/* §41b — the About chapter keeps the 3D scene (the club's runners at the roadside) behind it:
   no flat band, copy on the left over a soft wash that fades out, so the right side stays open. */
.look-classic.read-solid #threshold::before{
  background:linear-gradient(90deg, rgba(252,250,246,.94) 0%, rgba(252,250,246,.86) 40%, rgba(252,250,246,0) 66%) !important;
  box-shadow:none;
}
.look-classic.read-solid #threshold .sec-head{ margin-inline:0; max-width:min(640px,100%); text-align:left }
.look-classic #threshold .sec-head h2::after{ margin-left:0 }
.look-classic #threshold .sec-head .body-lg{ margin-inline:0 }
@media (max-width:900px){
  .look-classic.read-solid #threshold::before{ background:linear-gradient(rgba(252,250,246,.94), rgba(252,250,246,.9)) !important }
}

/* §41 — "Join as member" on a running club's page (render.mjs joinCard, events.js wireJoin):
   a second card under Register and a one-page popup in the registration popup's style */
.ev-join{ margin-top:16px }
.ev-join .enq-foot .btn{ border:1px solid var(--gold-deep); cursor:pointer }
.evj-lede{ margin:-6px 44px 0 0; font-size:14px }
.evj-opt{ margin-left:6px; font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted) }
.ev-reg-check i{ font-style:normal; color:var(--gold-text) }
[data-join-form] .evr-step[hidden]{ display:none }
[data-join-form] .ev-reg-done{ padding-top:20px }

/* §42 — a brand's terms page (render.mjs renderLegal, data/<brand>/<brand>-terms.json)
   and its tick in the registration and join forms */
.ev-reg-check a{ color:var(--gold-text); font-weight:600; text-decoration:underline; text-underline-offset:3px }
.evr-terms{ margin-top:18px; padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:rgba(var(--gold-rgb),.06) }
.lg-body .d-nav{ position:sticky; top:0 }
.lg{ padding:clamp(28px,6vw,72px) var(--pad,20px) clamp(40px,7vw,88px) }
.lg-doc{ max-width:780px; margin:0 auto; color:var(--bone) }
.lg-doc .eyebrow{ margin:0 0 12px; color:var(--gold-text); text-shadow:none }
.lg-h1{ margin:0 0 10px; font-family:var(--sans); font-size:clamp(26px,3.6vw,40px); font-weight:700; line-height:1.18; letter-spacing:-.01em; text-transform:none; color:var(--bone) }
.lg-meta{ margin:0 0 22px; font-size:13.5px; color:var(--muted,var(--bone-dim)) }
.lg-intro{ margin:0 0 26px; padding:16px 18px; border-left:3px solid var(--gold); border-radius:0 10px 10px 0; background:rgba(var(--gold-rgb),.07); font-size:16.5px; line-height:1.65; color:var(--bone) }
.lg-list{ margin:0; padding:0; list-style:none; counter-reset:lg }
.lg-sec{ counter-increment:lg; padding:22px 0; border-top:1px solid var(--line-soft,var(--line)) }
.lg-h2{ display:flex; gap:12px; align-items:baseline; margin:0 0 10px; font-family:var(--sans); font-size:clamp(18px,2vw,21px); font-weight:700; line-height:1.3; text-transform:none; letter-spacing:0; color:var(--bone) }
.lg-h2::before{ content:counter(lg) '.'; flex:none; min-width:34px; color:var(--gold-text) }
.lg-sec p,.lg-sec li{ margin:0 0 10px; font-size:15.5px; line-height:1.7; color:var(--bone-dim) }
.lg-sec p,.lg-sec ul{ padding-left:46px }
.lg-sec ul{ margin:0 0 10px; list-style:disc; padding-left:66px }
.lg-acts{ display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; padding-top:24px; border-top:1px solid var(--line-soft,var(--line)) }
.lg-acts .btn{ cursor:pointer }
@media (max-width:560px){ .lg-sec p,.lg-sec ul{ padding-left:0 } .lg-sec ul{ padding-left:20px } }
@media print{
  .lg-body .d-nav,.lg-body .skip,.lg-foot,.lg-acts{ display:none !important }
  .lg-body{ background:#fff !important }
  .lg-doc,.lg-h1,.lg-h2,.lg-sec p,.lg-sec li,.lg-intro{ color:#111 !important }
  .lg{ padding:0 }
}


/* §38c the bag and guest checkout on the shop page (shop.js openBag) */
button.nav-bag{ background:none; color:inherit; font:inherit; cursor:pointer; position:relative }
.nav-bag__n{ position:absolute; top:-4px; right:-6px; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--gold,#b8892b); color:#fff; font:600 11px/18px var(--sans); text-align:center }
/* a drawer on the right, full height: title, the scrolling lines, then the total and the button pinned at the bottom */
.shop-dlg.shop-dlg--bag{ position:fixed; inset:0 0 0 auto; margin:0; width:min(440px,100vw); max-width:100vw; height:100dvh; max-height:100dvh; padding:0; border-radius:0; overflow:hidden; box-shadow:-18px 0 60px rgba(0,0,0,.22) }
.shop-dlg--bag[open]{ animation:shop-drawer .28s cubic-bezier(.2,.8,.2,1) }
@keyframes shop-drawer{ from{ transform:translateX(100%) } to{ transform:none } }
@media (prefers-reduced-motion:reduce){ .shop-dlg--bag[open]{ animation:none } }
.shop-dlg--bag .shop-x{ top:14px; right:14px }
.shop-bag-sheet{ display:flex; flex-direction:column; height:100% }
.shop-bag-sheet h3{ flex:none; margin:0; padding:20px 64px 16px 22px; border-bottom:1px solid var(--line); font:500 22px/1.2 var(--serif); color:var(--bone) }
.shop-bag-sheet h3 small{ margin-left:6px; font:400 13px/1 var(--sans); color:var(--muted) }
.shop-bag-body{ flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:8px 22px 20px }
.shop-bag-foot{ flex:none; display:grid; gap:10px; padding:14px 22px calc(16px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:var(--ink) }
.shop-bag-foot .shop-order{ margin:0; width:100% }
.shop-bag-foot .shop-bagtotal{ margin:0 }
.shop-bag-link{ border:0; background:none; padding:4px; color:var(--muted); font:600 13px/1.4 var(--sans); cursor:pointer; justify-self:center }
.shop-bag-link:hover{ color:var(--bone); text-decoration:underline }
.shop-bag-empty{ display:grid; justify-items:center; gap:14px; padding:56px 0 24px; text-align:center; color:var(--muted); font:400 15px/1.5 var(--sans) }
.shop-bag-empty p{ margin:0 }
.shop-bag-body .shop-form{ padding-top:10px }
.shop-bag-sheet h4{ margin:22px 0 8px; font:600 14px/1.3 var(--sans); color:var(--bone) }
.shop-baglines,.shop-myorders ul{ list-style:none; margin:0; padding:0 }
.shop-bagline{ display:grid; grid-template-columns:56px minmax(0,1fr) auto auto auto; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--line) }
.shop-bagline img,.shop-bagline__ph{ width:56px; height:70px; border-radius:8px; object-fit:cover; background:var(--ink-3,#ebe8e0) }
.shop-bagline__text{ display:flex; flex-direction:column; gap:2px; min-width:0 }
.shop-bagline__text b{ font:600 14px/1.3 var(--sans); color:var(--bone); overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.shop-bagline__text small{ color:var(--muted); font-size:12.5px }
.shop-bagline__sum{ font:600 14px/1 var(--sans); color:var(--bone); white-space:nowrap }
.shop-bagline__x{ width:30px; height:30px; border:0; border-radius:50%; background:none; color:var(--muted); cursor:pointer }
.shop-bagline__x:hover{ background:var(--ink-3,#ebe8e0); color:var(--bone) }
.shop-qty{ display:inline-flex; align-items:center; gap:8px }
.shop-qty button{ width:30px; height:30px; border:1px solid var(--line); border-radius:50%; background:none; color:var(--bone); font-size:16px; line-height:1; cursor:pointer }
.shop-qty b{ min-width:14px; text-align:center; font:600 14px/1 var(--sans); color:var(--bone) }
.shop-bagtotal{ display:flex; justify-content:space-between; margin:14px 0 0; font:600 17px/1.2 var(--sans); color:var(--bone) }
.shop-form{ display:grid; gap:12px }
.shop-form label{ display:grid; gap:5px; font:600 13px/1.3 var(--sans); color:var(--bone) }
.shop-form input,.shop-form textarea{ width:100%; box-sizing:border-box; padding:11px 12px; border:1px solid var(--line); border-radius:10px; background:var(--ink); color:var(--bone); font:400 16px/1.4 var(--sans) }
.shop-form input:focus,.shop-form textarea:focus{ outline:2px solid var(--gold,#b8892b); outline-offset:1px }
.shop-form .shop-order{ margin:6px 0 0 }
.shop-form__err{ color:#b3261e; margin:0 }
.shop-myorders li{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:10px 0; border-bottom:1px solid var(--line) }
.shop-myorders li > span:first-child{ display:flex; flex-direction:column; gap:2px }
.shop-myorders b{ font:600 14px/1.3 var(--sans); color:var(--bone) }
.shop-myorders small{ color:var(--muted); font-size:12.5px }
.shop-step{ padding:3px 10px; border-radius:999px; background:var(--ink-3,#ebe8e0); color:var(--bone); font:600 12px/1.5 var(--sans) }
.shop-step.is-delivered,.shop-step.is-accepted,.shop-step.is-shipped{ background:#e3f3e6; color:#1b6b34 }
.shop-step.is-rejected,.shop-step.is-cancelled{ background:#fbe9e7; color:#b3261e }
.shop-cancel{ border:0; background:none; color:var(--muted); font:600 13px/1 var(--sans); text-decoration:underline; cursor:pointer }
@media (max-width:560px){
  .shop-bagline{ grid-template-columns:48px minmax(0,1fr) auto; row-gap:6px }
  .shop-bagline img,.shop-bagline__ph{ width:48px; height:60px; grid-row:span 2 }
  .shop-bagline__sum{ grid-column:2; justify-self:start }
  .shop-bagline .shop-qty{ grid-column:3; grid-row:2 }
  .shop-bagline__x{ grid-column:3; grid-row:1; justify-self:end }
}

/* =====================================================================
   Virtual Cafe & Table Menu Bubble (§42)
   ===================================================================== */
.vcafe-hud{ position:fixed; bottom:20px; left:50%; transform:translateX(-50%); z-index:90; display:flex; align-items:center; gap:8px; padding:6px 12px; border-radius:40px; background:rgba(22,18,15,.88); backdrop-filter:blur(16px); border:1px solid rgba(200,120,47,.35); box-shadow:0 16px 40px rgba(0,0,0,.45); max-width:calc(100vw - 24px); overflow-x:auto }
.vcafe-hud::-webkit-scrollbar{ display:none }
.vcafe-btn{ display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border:0; border-radius:24px; background:var(--gold,#c8782f); color:#fff; font:600 13px/1 var(--sans); cursor:pointer; white-space:nowrap; transition:transform .15s, background .15s }
.vcafe-btn:hover{ transform:scale(1.03) }
.vcafe-btn--ghost{ background:rgba(255,255,255,.08); color:var(--bone,#ede2d3); border:1px solid rgba(255,255,255,.12) }
.vcafe-btn--ghost:hover{ background:rgba(255,255,255,.16) }
.vcafe-tables{ display:inline-flex; align-items:center; gap:6px }
.vcafe-tab-btn{ padding:6px 12px; border:1px solid rgba(200,120,47,.25); border-radius:20px; background:rgba(40,32,26,.6); color:var(--bone-dim,#cbbfae); font:500 12px/1 var(--sans); cursor:pointer; white-space:nowrap; transition:all .15s }
.vcafe-tab-btn:hover{ border-color:var(--gold,#c8782f); color:#fff }
.vcafe-tab-btn.is-active{ background:var(--gold,#c8782f); color:#fff; border-color:var(--gold,#c8782f); font-weight:600 }
.vcafe-status{ display:inline-flex; align-items:center; gap:6px; padding:0 8px; font:500 12px/1 var(--sans); color:var(--bone,#ede2d3); white-space:nowrap }
.vcafe-status i{ width:8px; height:8px; border-radius:50%; background:#22c55e; box-shadow:0 0 8px #22c55e }

/* ---- The Floating Menu Bubble ---- */
.vcafe-bubble{ position:fixed; right:clamp(16px,3.5vw,48px); top:50%; transform:translateY(-50%); width:min(440px,calc(100vw - 32px)); max-height:min(84vh,760px); display:flex; flex-direction:column; border-radius:20px; background:rgba(20,16,13,.92); backdrop-filter:blur(22px); border:1px solid rgba(200,120,47,.4); box-shadow:0 30px 80px rgba(0,0,0,.6); z-index:100; overflow:hidden; animation:vcafe-pop .24s cubic-bezier(.16,1,.3,1) }
@keyframes vcafe-pop{ from{ opacity:0; transform:translateY(-48%) scale(.95) } to{ opacity:1; transform:translateY(-50%) scale(1) } }
.vcafe-bubble__head{ flex:none; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:18px 20px 14px; border-bottom:1px solid rgba(255,255,255,.08); background:rgba(30,24,20,.6) }
.vcafe-bubble__brand b{ display:block; font:600 17px/1.2 var(--serif); color:#fff; letter-spacing:.02em }
.vcafe-bubble__brand span{ display:inline-flex; align-items:center; gap:5px; margin-top:4px; font:600 12px/1 var(--sans); color:var(--gold,#c8782f) }
.vcafe-bubble__acts{ display:flex; align-items:center; gap:6px }
.vcafe-bubble__close{ width:32px; height:32px; border:0; border-radius:50%; background:rgba(255,255,255,.08); color:var(--bone,#ede2d3); font-size:15px; cursor:pointer }
.vcafe-bubble__close:hover{ background:rgba(255,255,255,.18); color:#fff }

.vcafe-bubble__cats{ flex:none; display:flex; gap:6px; padding:10px 18px; overflow-x:auto; border-bottom:1px solid rgba(255,255,255,.06) }
.vcafe-bubble__cats::-webkit-scrollbar{ display:none }
.vcafe-cat-pill{ flex:none; padding:5px 11px; border:1px solid rgba(255,255,255,.1); border-radius:16px; background:none; color:var(--bone-dim,#cbbfae); font:500 11.5px/1 var(--sans); cursor:pointer; transition:all .15s }
.vcafe-cat-pill:hover{ border-color:var(--gold,#c8782f); color:#fff }
.vcafe-cat-pill.is-active{ background:var(--gold,#c8782f); color:#fff; border-color:var(--gold,#c8782f); font-weight:600 }

.vcafe-bubble__search{ flex:none; padding:8px 18px; border-bottom:1px solid rgba(255,255,255,.05) }
.vcafe-bubble__search input{ width:100%; box-sizing:border-box; padding:8px 12px; border:1px solid rgba(255,255,255,.1); border-radius:10px; background:rgba(0,0,0,.25); color:#fff; font:400 13px/1.3 var(--sans); outline:0 }
.vcafe-bubble__search input:focus{ border-color:var(--gold,#c8782f) }

.vcafe-bubble__body{ flex:1; min-height:0; overflow-y:auto; padding:12px 18px 16px; display:flex; flex-direction:column; gap:10px }
.vcafe-bubble__body::-webkit-scrollbar{ width:4px }
.vcafe-bubble__body::-webkit-scrollbar-thumb{ background:rgba(200,120,47,.3); border-radius:4px }

.vcafe-item{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:12px 14px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.05); transition:background .15s, border-color .15s }
.vcafe-item:hover{ background:rgba(255,255,255,.06); border-color:rgba(200,120,47,.3) }
.vcafe-item__info{ flex:1; min-width:0 }
.vcafe-item__title{ display:flex; align-items:center; gap:6px; font:600 14.5px/1.3 var(--serif); color:#fff }
.vcafe-item__veg{ width:12px; height:12px; display:inline-grid; place-items:center; border:1px solid #22c55e; border-radius:2px }
.vcafe-item__veg::after{ content:''; width:5px; height:5px; border-radius:50%; background:#22c55e }
.vcafe-item__cat{ font-size:11px; color:var(--gold,#c8782f); text-transform:uppercase; letter-spacing:.06em; margin-top:2px }
.vcafe-item__desc{ margin:4px 0 0; font-size:12px; line-height:1.4; color:var(--bone-dim,#cbbfae) }
.vcafe-item__act{ flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:6px }
.vcafe-item__price{ font:600 14.5px/1 var(--sans); color:var(--gold,#c8782f) }
.vcafe-add-btn{ padding:6px 12px; border:1px solid var(--gold,#c8782f); border-radius:16px; background:none; color:var(--gold,#c8782f); font:600 11.5px/1 var(--sans); cursor:pointer; transition:all .15s }
.vcafe-add-btn:hover{ background:var(--gold,#c8782f); color:#fff }
.vcafe-qty{ display:inline-flex; align-items:center; gap:6px; background:rgba(200,120,47,.15); border-radius:16px; padding:2px 6px }
.vcafe-qty button{ width:22px; height:22px; border:0; background:none; color:#fff; font-size:14px; cursor:pointer }
.vcafe-qty b{ font:600 12px/1 var(--sans); color:#fff; min-width:14px; text-align:center }

.vcafe-bubble__foot{ flex:none; padding:12px 18px calc(14px + env(safe-area-inset-bottom)); border-top:1px solid rgba(255,255,255,.08); background:rgba(26,21,17,.9); display:grid; gap:8px }
.vcafe-tray-summary{ display:flex; justify-content:space-between; align-items:center; font:600 13.5px/1 var(--sans); color:var(--bone,#ede2d3) }
.vcafe-tray-summary b{ font-size:16px; color:var(--gold,#c8782f) }
.vcafe-order-btn{ width:100%; padding:12px; border:0; border-radius:12px; background:var(--gold,#c8782f); color:#fff; font:600 14px/1 var(--sans); cursor:pointer; display:flex; justify-content:center; align-items:center; gap:6px; transition:transform .15s, background .15s }
.vcafe-order-btn:hover{ transform:scale(1.02); background:#d98436 }
.vcafe-server-btn{ width:100%; padding:8px; border:1px solid rgba(255,255,255,.12); border-radius:10px; background:none; color:var(--bone-dim,#cbbfae); font:500 12px/1 var(--sans); cursor:pointer }
.vcafe-server-btn:hover{ background:rgba(255,255,255,.08); color:#fff }

@media (max-width:760px){
  .vcafe-bubble{ right:10px; left:10px; top:auto; bottom:78px; transform:none; width:auto; max-height:76vh }
  @keyframes vcafe-pop{ from{ opacity:0; transform:translateY(20px) } to{ opacity:1; transform:none } }
  .vcafe-hud{ bottom:12px; padding:4px 8px }
}


/* §60 the way back to TekMegha (render.mjs tmMark / tmLink): shown only on tekmegha.com */
[data-tm-home][hidden]{ display:none !important }
.tm-home-mark{ display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto }
.tm-home-mark img{ width:26px; height:26px; display:block; border-radius:6px; object-fit:contain }
.nav > .tm-home-mark{ margin-right:-6px }
.sp-icons .tm-home-mark{ width:38px; height:38px }
.sp-sheet .tm-home-link,
.sheet .tm-home-link{ color:var(--gold-text) }
/* the full-screen menu: a long list scrolls from its top instead of spilling up behind the header */
.sheet{ justify-content:safe center; overflow-y:auto }

/* §61 the plain page (render.mjs renderPlain): a TekMegha profile in the shop's quiet look — doctor, teacher, cafe,
   restaurant, stay, hostel, interior, pet, mobile. Layout only; colours come from the page's tokens. */
.pl-page .sp-sec__head{ flex-direction:column; align-items:center; text-align:center; gap:10px }
.pl-sub{ margin:0; max-width:640px; color:var(--bone-dim); font-size:15px; line-height:1.6 }
.pl-hero{ position:relative; isolation:isolate }
.pl-hero__bg{ position:absolute; inset:0; z-index:-1; opacity:.16 }
.pl-hero__bg img{ width:100%; height:100%; object-fit:cover }
.pl-acts{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:22px }
.pl-page .btn-ghost{ border:1px solid var(--bone); color:var(--bone); background:transparent }
.pl-page .btn-ghost:hover{ background:var(--bone); color:var(--ink) }

.pl-about__body{ max-width:760px; margin-top:18px; text-align:center }
.pl-about__body p{ margin:0; color:var(--bone-dim); font-size:16.5px; line-height:1.75 }
.pl-stats{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:28px }
.pl-stat{ min-width:120px; padding:16px 18px; border-radius:var(--r,10px); background:var(--ink-2); text-align:center }
.pl-stat b{ display:block; font:500 26px/1.1 var(--serif); color:var(--bone) }
.pl-stat span{ display:block; margin-top:6px; font-size:12.5px; color:var(--muted) }

.pl-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:clamp(14px,2vw,24px); margin-top:clamp(20px,3vw,32px) }
.pl-card{ display:flex; flex-direction:column; border-radius:var(--r,10px); background:var(--ink-2); color:var(--bone); text-decoration:none; overflow:hidden; transition:transform .25s, box-shadow .25s }
.pl-card:hover{ transform:translateY(-3px); box-shadow:0 14px 34px rgba(0,0,0,.08) }
.pl-card__media{ display:block; aspect-ratio:4/3; background:var(--ink-3); overflow:hidden }
.pl-card__media img{ width:100%; height:100%; object-fit:cover; display:block }
.pl-card__media.is-blank{ display:grid; place-items:center }
.pl-card__media.is-blank i{ font:500 30px/1 var(--serif); font-style:normal; color:var(--gold-text); letter-spacing:.06em }
.pl-card__media .tile-icon{ width:44px; height:44px; fill:none; stroke:var(--gold-text); stroke-width:1.4 }
.pl-card__body{ display:flex; flex-direction:column; gap:6px; padding:16px 18px 20px }
.pl-card__body b{ font-size:16px; font-weight:700; line-height:1.3 }
.pl-card__body span{ font-size:14px; line-height:1.55; color:var(--bone-dim) }
.pl-card__body i{ font-style:normal; font-size:11.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-text) }

.pl-people{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:clamp(16px,2.4vw,28px); margin-top:clamp(20px,3vw,32px) }
.pl-person{ display:flex; flex-direction:column; align-items:center; text-align:center; color:var(--bone); text-decoration:none }
.pl-person__photo{ position:relative; display:block; width:min(100%,180px); aspect-ratio:1; border-radius:50%; overflow:hidden; background:var(--ink-3) }
.pl-person__photo img{ width:100%; height:100%; object-fit:cover; display:block }
.pl-person__photo:empty::after{ content:attr(data-initials); position:absolute; inset:0; display:grid; place-items:center; font:500 34px/1 var(--serif); color:var(--gold-text) }
.pl-person b{ margin-top:14px; font-size:16px; font-weight:700 }
.pl-person > span{ margin-top:4px; font-size:13.5px; color:var(--gold-text) }
.pl-person p{ margin:8px 0 0; font-size:13.5px; line-height:1.55; color:var(--bone-dim) }

.pl-quotes{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:clamp(14px,2vw,24px); margin-top:clamp(20px,3vw,32px) }
.pl-quote{ margin:0; padding:22px 22px 20px; border-radius:var(--r,10px); background:var(--ink-2) }
.pl-quote blockquote{ margin:0; font:400 17px/1.6 var(--serif); color:var(--bone) }
.pl-quote blockquote::before{ content:'“'; display:block; font-size:42px; line-height:.6; color:var(--gold-text) }
.pl-quote figcaption{ margin-top:14px; font-size:13px; color:var(--muted) }
.pl-quote figcaption b{ color:var(--bone) }

.pl-visit__grid{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(20px,4vw,48px); margin-top:clamp(20px,3vw,32px); align-items:start }
.pl-visit__form .enq{ margin:0; max-width:none }
.pl-places{ display:grid; gap:14px }
.pl-place{ padding:18px 20px; border-radius:var(--r,10px); background:var(--ink-2) }
.pl-place b{ font-size:16px }
.pl-place p{ margin:6px 0 0; font-size:14px; line-height:1.55; color:var(--bone-dim) }
.pl-place__links{ display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:12px }
.pl-place__links a{ color:var(--gold-text); font-size:14px; font-weight:600; text-decoration:underline; text-underline-offset:3px }
.pl-note{ margin-top:18px; color:var(--muted); font-size:13.5px }
@media (max-width:760px){
  .pl-visit__grid{ grid-template-columns:1fr }
  .pl-grid{ grid-template-columns:1fr 1fr }
  .pl-people{ grid-template-columns:1fr 1fr }
  .pl-card__body{ padding:12px 12px 14px }
  .pl-card__body b{ font-size:14.5px }
  .pl-card__body span{ font-size:13px }
}
@media (max-width:380px){ .pl-grid{ grid-template-columns:1fr } }
.pl-page .sp-hero__title{ font-size:clamp(26px,5.2vw,52px); line-height:1.12 }
.pl-page img{ color:transparent }               /* a photo that fails to load shows nothing, not its alt text */
.pl-visit .enq{ padding:clamp(18px,3vw,28px); border:0; border-radius:var(--r,10px); background:var(--ink-2) }
.pl-foot{ margin-top:clamp(56px,8vw,104px) }
.pl-foot .site-foot{ margin-top:0 }
/* the plain page's booking (booking.js) */
.pl-card__book{ align-self:flex-start; margin:auto 18px 18px; padding:9px 16px; border-radius:var(--r,10px); background:var(--acc); color:var(--paper,#fff); font-size:13px; font-weight:700; letter-spacing:.04em; text-decoration:none }
.pl-card__book:hover{ opacity:.9 }
.pl-book__h{ margin:0 0 14px; font:500 clamp(20px,2.2vw,26px)/1.2 var(--serif); color:var(--bone) }
.pl-book__grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px 16px }
.pl-book__grid label{ display:grid; gap:6px; font-size:12.5px; font-weight:600; color:var(--bone-dim) }
.pl-book__grid label.is-full{ grid-column:1 / -1 }
.pl-book input,.pl-book select,.pl-book textarea{ width:100%; box-sizing:border-box; padding:11px 12px; border:1px solid var(--line); border-radius:var(--r,10px); background:var(--ink); color:var(--bone); font:400 16px/1.4 var(--sans) }
.pl-book input:focus,.pl-book select:focus,.pl-book textarea:focus{ outline:2px solid var(--gold); outline-offset:1px }
.pl-book .btn{ margin-top:18px; width:100% }
.pl-book__msg{ margin:14px 0 0; padding:10px 12px; border-radius:var(--r,10px); background:var(--gold-soft); color:var(--bone); font-size:14px; line-height:1.5 }
.pl-book__msg.is-ok{ background:color-mix(in srgb, #2e7d32 12%, var(--ink)); }
.pl-book__msg a{ color:var(--gold-text); font-weight:700 }
.pl-book__fine{ margin:10px 0 0; font-size:12.5px; color:var(--muted); text-align:center }
@media (max-width:560px){ .pl-book__grid{ grid-template-columns:1fr } }
/* the plain page's online orders (food-order.js) */
.pl-order[hidden]{ display:none }
[data-order-link][hidden]{ display:none !important }
.fo{ max-width:820px; margin-top:clamp(18px,3vw,28px) }
.fo-cat{ margin:22px 0 8px; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-text) }
.fo-list{ list-style:none; margin:0; padding:0; border-radius:var(--r,10px); background:var(--ink-2) }
.fo-item{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 16px }
.fo-item + .fo-item{ border-top:1px solid var(--line-soft) }
.fo-item__t{ display:grid; grid-template-columns:auto 1fr; column-gap:8px; row-gap:2px; min-width:0 }
.fo-item__t b,.fo-item__t small,.fo-item__t em{ grid-column:2 }
.fo-item__t b{ font-size:15px }
.fo-item__t small{ font-size:13px; color:var(--bone-dim); line-height:1.45 }
.fo-item__t em{ font-style:normal; font-size:14px; font-weight:700; color:var(--bone) }
.fo-veg{ grid-row:1; width:12px; height:12px; margin-top:4px; border:1.5px solid #2e7d32; border-radius:2px; position:relative }
.fo-veg::after{ content:''; position:absolute; inset:2px; border-radius:50%; background:#2e7d32 }
.fo-veg.is-non{ border-color:#b3261e }
.fo-veg.is-non::after{ background:#b3261e }
.fo-add{ flex:0 0 auto; min-width:76px; min-height:36px; border:1px solid var(--acc); border-radius:var(--r,10px); background:transparent; color:var(--acc); font:700 13px/1 var(--sans); letter-spacing:.04em; cursor:pointer }
.fo-add:hover{ background:var(--acc); color:var(--paper,#fff) }
.fo-qty{ flex:0 0 auto; display:inline-flex; align-items:center; gap:10px }
.fo-qty button{ width:34px; height:34px; border:1px solid var(--line); border-radius:50%; background:var(--ink); color:var(--bone); font-size:18px; line-height:1; cursor:pointer }
.fo-qty b{ min-width:16px; text-align:center }
.fo-bar{ position:fixed; left:12px; right:12px; bottom:12px; z-index:60; display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:640px; margin:0 auto; padding:10px 10px 10px 18px; border-radius:14px; background:var(--bone); color:var(--ink); box-shadow:0 12px 34px rgba(0,0,0,.22) }
.fo-bar[hidden]{ display:none }
.fo-bar .btn{ min-height:44px; padding-inline:22px }
.fo-form{ display:grid; gap:14px; padding:clamp(18px,3vw,26px); border-radius:var(--r,10px); background:var(--ink-2) }
.fo-form label{ display:grid; gap:6px; font-size:12.5px; font-weight:600; color:var(--bone-dim) }
.fo-form input,.fo-form textarea{ width:100%; box-sizing:border-box; padding:11px 12px; border:1px solid var(--line); border-radius:var(--r,10px); background:var(--ink); color:var(--bone); font:400 16px/1.4 var(--sans) }
.fo-form label[hidden]{ display:none }
.fo-type{ display:flex; flex-wrap:wrap; gap:8px 18px; margin:0; padding:0; border:0 }
.fo-type legend{ margin-bottom:6px; font-size:12.5px; font-weight:600; color:var(--bone-dim) }
.fo-type label{ display:inline-flex; align-items:center; gap:8px; font-size:15px; font-weight:600; color:var(--bone) }
.fo-type input{ width:auto }
.fo-sum{ list-style:none; margin:0; padding:0 }
.fo-sum li{ display:flex; justify-content:space-between; gap:12px; padding:6px 0; font-size:14.5px }
.fo-sum li.is-total{ margin-top:4px; padding-top:10px; border-top:1px solid var(--line); font-size:16px; font-weight:700 }
.fo-msg{ margin:0; color:#b3261e; font-size:14px }
.fo-link{ justify-self:center; border:0; background:none; color:var(--muted); font:600 13px/1.4 var(--sans); cursor:pointer }
.fo-done{ display:grid; gap:10px; justify-items:start; padding:clamp(18px,3vw,26px); border-radius:var(--r,10px); background:var(--ink-2) }
.fo-done__k{ margin:0; font-weight:700; font-size:16px }
.fo-done p{ margin:0; color:var(--bone-dim); line-height:1.55 }
.fo-mine ul{ list-style:none; margin:0; padding:0 }
.fo-mine li{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; padding:10px 0; border-bottom:1px solid var(--line-soft); font-size:14px }
.fo-st{ font-style:normal; font-size:12.5px; font-weight:700; padding:2px 10px; border-radius:999px; background:var(--gold-soft); color:var(--bone) }
.fo-st.is-cancelled,.fo-st.is-rejected{ background:#fbe9e7; color:#b3261e }
.fo-st.is-delivered{ background:#e3f3e6; color:#1b6b34 }

/* =========================================================== 62 · centred section headers (theme "heads": "center")
   The label as a small outlined pill, the title centred, a thin gold rule with a diamond under it, the summary centred
   below. Only for a brand that asks for it (data-heads on <html>); every other site keeps its left-aligned heads. */
[data-heads="center"] .sec-head{ max-width:min(780px,100%); margin-left:auto; margin-right:auto; text-align:center }
[data-heads="center"] .sec-head .chapno{ display:inline-block; margin-bottom:22px; padding:7px 16px; border:1px solid rgba(var(--gold-rgb),.45); border-radius:999px }
[data-heads="center"] .sec-head h2{ margin-bottom:22px }
[data-heads="center"] .sec-head h2::after{ content:'\25C6'; display:block; width:148px; margin:22px auto 0; font-size:8px; line-height:1; text-align:center; color:var(--gold); letter-spacing:0;
  background:linear-gradient(90deg, transparent, var(--gold) 44%, transparent 44% 56%, var(--gold) 56%, transparent) center / 100% 1px no-repeat }
[data-heads="center"] .sec-head p{ max-width:62ch; margin-left:auto; margin-right:auto }
/* the 3D world shows through a band that darkens from the left; centred heads need it even across the width */
[data-heads="center"] .world-light .sec::before{
  background:linear-gradient(90deg, rgba(var(--ink-rgb),.62), rgba(var(--ink-rgb),.88) 30%, rgba(var(--ink-rgb),.88) 70%, rgba(var(--ink-rgb),.62)) }

/* =========================================================== 63 · readable type (theme "readable": true)
   On top of type-strong: nothing a visitor has to read is under 11.5px, the treatment cards' descriptions are set in the
   body font (a light serif at 13px was hard to read), and gold text on a white page uses the darker --gold-text. */
body.type-readable{ font-weight:400; --muted:var(--bone-dim) }   /* no light-weight body text; the faintest grey reads (light or dark page) */
.type-readable .card-cap em{ font-family:var(--sans); font-size:14.5px; font-weight:400; line-height:1.55; letter-spacing:0; text-transform:none; color:var(--bone-dim) }
.type-readable .card-cap b{ font-size:11.5px }
.type-readable .brand-tx i{ font-size:10.5px; letter-spacing:.22em }
.type-readable .nav-cta{ font-size:12px }
.type-readable .chapno, .type-readable .eyebrow{ font-size:12.5px }
.type-readable .btn{ font-size:13px }
.type-readable .person-sp{ font-size:12.5px }
.type-readable .person-cta, .type-readable .blog-cat{ font-size:11.5px }
.type-readable .is-garden .blog-cat, .type-readable .hero-reel-cap{ font-size:11.5px }
.type-readable .blog-meta{ font-size:12px }
.type-readable .blog-excerpt{ font-size:14.5px; line-height:1.6 }
.type-readable .quote footer, .type-readable blockquote + footer{ font-size:12px }
.type-readable .sf-col h4{ font-size:12px }
.type-readable .sf-col a, .type-readable .sf-contact li{ font-size:15px }
.type-readable .sf-contact span{ font-size:11.5px }
.type-readable .branch-links a{ font-size:12px }
.type-readable .enq-f label{ font-size:12.5px }
.type-readable .enq-note{ font-size:13px }
.type-readable .sf-bottom{ font-size:13px; color:var(--bone-dim) }
.type-readable .nav-link{ font-size:12px }
@media (max-width:760px){
  .type-readable .nav-cta{ font-size:11.5px }
  /* the phone rules for cards and blog cards are more specific; match them */
  .type-readable .cards:not(.is-garden):not(.is-compact):not(.is-device) .card-cap em{ font-size:14px; line-height:1.5 }
  .type-readable .cards:not(.is-garden):not(.is-compact):not(.is-device) .card-cap > span{ font-size:15px }
  .type-readable .blogs:not(.is-garden):not(.is-device) .blog-excerpt{ font-size:14.5px; line-height:1.55; -webkit-line-clamp:3 }
  .type-readable .is-garden .card-cap em{ font-size:14px }
  .type-readable .is-garden .card-cap > span{ font-size:15px }
  .type-readable .person-meta, .type-readable .person-cta, .type-readable .quote footer, .type-readable .sf-contact span, .type-readable .blogs .blog-meta{ font-size:12px }
}
/* centred heads: the garden grids sit under them, centred; six services make two even rows of three */
[data-heads="center"] .cards.is-garden, [data-heads="center"] .blogs.is-garden{ margin-left:auto; margin-right:auto }
@media (min-width:761px){ [data-heads="center"] .cards.is-garden{ grid-template-columns:repeat(3,minmax(0,1fr)); max-width:960px } }
[data-heads="center"] .quote{ max-width:min(780px,100%); margin-left:auto; margin-right:auto; text-align:center }

/* ---- a stay's rooms and booking (render.mjs renderStay, booking.js stay): dates and guests on top, rooms with their price for the
   stay on the left, the reservation card on the right (a bar and the card below the rooms on a phone) ---- */
.stay-head{ display:flex; align-items:baseline; justify-content:space-between; gap:8px 24px; flex-wrap:wrap; margin-bottom:18px }
.stay-head .sp-h{ margin:0 }
.stay-meta{ margin:0; color:var(--bone-dim); font-size:14px }
.stay-meta b{ color:var(--bone) }
.stay-form{ background:none; border:0; padding:0; box-shadow:none }
.stay-search{ display:grid; grid-template-columns:1fr 1fr 120px auto; gap:10px 14px; align-items:end; padding:14px 16px; margin-bottom:22px; background:var(--ink-2); border:1px solid var(--line); border-radius:calc(var(--r,10px) + 6px); position:sticky; top:64px; z-index:5; box-shadow:0 10px 28px rgba(0,0,0,.06) }
.stay-search label{ display:grid; gap:5px; font-size:12px; font-weight:600; color:var(--bone-dim) }
.stay-search__go{ white-space:nowrap }
.stay-grid{ display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:26px; align-items:start }
.stay-rooms{ display:grid; gap:18px }
.stay-room{ display:grid; grid-template-columns:260px minmax(0,1fr) 190px; gap:0 20px; padding:12px; background:var(--ink-2); border:1px solid var(--line); border-radius:calc(var(--r,10px) + 6px); transition:box-shadow .2s, border-color .2s }
.stay-room:hover{ box-shadow:0 14px 34px rgba(0,0,0,.08) }
.stay-room.is-picked{ border-color:var(--gold); box-shadow:0 0 0 2px var(--gold) }
.stay-room__pics{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; border-radius:var(--r,10px); min-height:180px; background:var(--ink-3); scrollbar-width:none }
.stay-room__pics::-webkit-scrollbar{ display:none }
.stay-room__pics img{ flex:0 0 100%; width:100%; height:100%; min-height:180px; object-fit:cover; scroll-snap-align:center }
.stay-room__pics.is-blank{ display:grid; place-items:center }
.stay-room__pics.is-blank i{ font:600 34px/1 var(--serif); color:var(--bone-dim); font-style:normal }
.stay-room__body{ padding:4px 0; min-width:0 }
.stay-room__body h3{ margin:0 0 4px; font:600 20px/1.25 var(--serif); color:var(--bone) }
.stay-room__facts{ margin:0 0 6px; color:var(--bone-dim); font-size:13.5px }
.stay-room__text{ margin:0 0 8px; color:var(--bone-dim); font-size:14px; line-height:1.5 }
.stay-chips{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 8px; padding:0; list-style:none }
.stay-chips li{ padding:3px 10px; border:1px solid var(--line); border-radius:999px; font-size:12px; color:var(--bone-dim) }
.stay-room__left{ margin:0; color:#b4361f; font-size:12.5px; font-weight:600 }
.stay-room__buy{ display:flex; flex-direction:column; align-items:flex-end; justify-content:flex-end; gap:4px; text-align:right }
.stay-price{ margin:0; color:var(--bone-dim); font-size:13px }
.stay-price b{ font:600 22px/1 var(--serif); color:var(--bone) }
.stay-room__total{ margin:0; font-size:12.5px; color:var(--bone-dim) }
.stay-room__warn{ margin:0; font-size:12px; color:#b4361f; font-weight:600 }
.stay-room__buy .btn{ margin-top:6px }
.stay-summary{ position:sticky; top:150px; padding:18px; background:var(--ink-2); border:1px solid var(--line); border-radius:calc(var(--r,10px) + 6px); box-shadow:0 14px 34px rgba(0,0,0,.07); display:grid; gap:12px }
.stay-summary .pl-book__h{ margin:0 }
.stay-summary__empty{ margin:0; color:var(--bone-dim); font-size:14px }
.stay-summary__lines{ margin:0; display:grid; gap:8px; font-size:14px }
.stay-summary__lines > div{ display:flex; justify-content:space-between; gap:12px }
.stay-summary__lines dt{ color:var(--bone-dim) }
.stay-summary__lines dd{ margin:0; text-align:right; font-weight:600; color:var(--bone) }
.stay-summary__lines .is-total{ padding-top:10px; border-top:1px solid var(--line); font-size:16px }
.stay-summary__terms{ margin:0; color:var(--bone-dim); font-size:12.5px }
.stay-summary__who{ display:grid; gap:10px }
.stay-summary__who label{ display:grid; gap:5px; font-size:12px; font-weight:600; color:var(--bone-dim) }
.stay-summary__go[disabled]{ opacity:.5; cursor:not-allowed }
.stay-bar{ display:none }
@media (max-width:980px){
  .stay-grid{ grid-template-columns:1fr }
  .stay-summary{ position:static }
}
@media (max-width:760px){
  .stay-search{ grid-template-columns:1fr 1fr; position:static; top:auto }
  .stay-search label:nth-child(3){ grid-column:1 / -1 }
  .stay-search__go{ grid-column:1 / -1; text-align:center }
  .stay-room{ grid-template-columns:1fr; gap:10px }
  .stay-room__pics{ min-height:200px }
  .stay-room__buy{ flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; text-align:left }
  .stay-room__buy .btn{ margin:0 }
  .stay-bar:not([hidden]){ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:30; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); background:var(--ink); border-top:1px solid var(--line); box-shadow:0 -8px 24px rgba(0,0,0,.1) }
  .stay-bar b{ font:600 18px/1 var(--serif); color:var(--bone) }
  .stay-bar small{ color:var(--bone-dim); font-size:12.5px }
}
.stay-summary__lines[hidden], .stay-summary__empty[hidden], .stay-summary__lines > div[hidden], .stay-room__warn[hidden]{ display:none }
.stay-bar span{ display:grid; gap:2px }
@media (max-width:760px){ .stay{ padding-bottom:84px } }

/* §40b the shop while it loads (render.mjs ghosts): grey cards in the grid's shape, gently pulsing */
.shop-ghost{ pointer-events:none }
/* tinted from the page's own text colour, so they show on any shop's palette */
.shop-ghost__pic{ display:block; aspect-ratio:3/4; background:color-mix(in srgb, var(--bone,#1a1a1a) 9%, transparent) }
.shop-page .shop-ghost__pic{ aspect-ratio:2/3 }
.shop-ghost i{ display:block; width:70%; height:10px; margin:14px auto 0; background:color-mix(in srgb, var(--bone,#1a1a1a) 9%, transparent) }
.shop-ghost i + i{ width:40%; margin-top:8px }
.shop-ghost__pic,.shop-ghost i{ animation:shop-ghost 1.2s ease-in-out infinite alternate }
@keyframes shop-ghost{ from{ opacity:1 } to{ opacity:.5 } }
@media (prefers-reduced-motion:reduce){ .shop-ghost__pic,.shop-ghost i{ animation:none } }

/* §40c a shop with no pieces yet (shop.js opening): what is happening and a way to ask */
.shop-opening{ max-width:560px; margin:0 auto; padding:clamp(28px,5vw,48px) clamp(18px,4vw,40px); border:1px solid var(--line); text-align:center }
.shop-opening h3{ margin:12px 0 10px; font:600 clamp(18px,2.4vw,22px)/1.3 var(--sans); color:var(--bone) }
.shop-opening p{ margin:0; color:var(--muted); font-size:15px; line-height:1.6 }
.shop-opening__acts{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:22px }

/* §40d touch: the logo links and the small text links are at least 44px to tap; how they look is unchanged */
.shop-page .sp-brand,.shop-page .sp-foot .brand{ min-height:44px }
.shop-page .sp-links a,.shop-page .sf-bottom a{ position:relative }
.shop-page .sp-links a::after,.shop-page .sf-bottom a::after{ content:''; position:absolute; inset:-12px -6px }
/* the footer's lists: each link padded to about 37px tall, the padding taken back by its margin so the list keeps its spacing */
.shop-page .sp-foot li > a{ display:inline-block; padding-block:8px; margin-block:-8px }
