/* ================= One Brain Cell: type system + scroll text motion =================
   Three roles only:
   eyebrow  (.kicker) — small caps label, Instrument Sans. Optional.
   heading  — Bagel Fat One, Swirl fill (ink version: pinks + deep teal so it reads on white).
              Used for big headings only.
   body     — Instrument Sans, 17–18px, 1.6 line height, ~60 characters a line.
   Small titles, prices and card headings use Instrument Sans bold, never Bagel.          */
:root{
  --swirl-ink:url(../img/swirl-ink.jpg) 20% 30%/900px;
  --swirl-fill:url(../img/swirl-light.jpg) 20% 30%/900px;
  --ink-soft:rgba(43,30,47,.78);
}
body{font-size:17px;line-height:1.6;text-rendering:optimizeLegibility;font-feature-settings:"kern","liga"}
p{text-wrap:pretty}

/* eyebrow */
.kicker{font-family:var(--sans);font-weight:600;font-size:13px;line-height:1.2;letter-spacing:.16em;text-transform:uppercase;color:var(--grapefruit);margin:0 0 14px}
.custom .kicker{color:var(--mint)}
.news .kicker{color:var(--white);opacity:.9}
.story .kicker{text-align:left;color:var(--grapefruit);font-size:13px;line-height:1.2}

/* headings */
.sec-title{margin-bottom:clamp(36px,4vw,56px)}
.sec-title .over,.page-head .over{display:none}
.sec-title h2,.page-head h1,.hero-words h1,.story h2{display:block;font-family:var(--bagel);font-weight:400;letter-spacing:-.012em;line-height:1.04;margin:0 auto;text-wrap:balance}
.sec-title h2{font-size:clamp(34px,4.2vw,58px);max-width:20ch}
.page-head h1{font-size:clamp(38px,5vw,68px);max-width:18ch}
.hero-words h1{font-size:clamp(36px,5.2vw,76px);max-width:20ch}
.story h2{font-size:clamp(32px,3.6vw,48px);margin:0 0 18px}

.sec-title h2:not(.tm-split),.page-head h1:not(.tm-split),.hero-words h1:not(.tm-split),.story h2:not(.tm-split),
.sec-title h2 .tm-w>span,.page-head h1 .tm-w>span,.hero-words h1 .tm-w>span,.story h2 .tm-w>span{
  color:var(--grapefruit);background:var(--swirl-ink);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:0}
.page-head h1.tm-split,.sec-title h2.tm-split,.hero-words h1.tm-split,.story h2.tm-split{background:none;-webkit-text-fill-color:currentColor;-webkit-text-stroke:0}
/* on the deep teal band: the bright Swirl reads best */
.custom .sec-title h2:not(.tm-split),.custom .sec-title h2 .tm-w>span{background:var(--swirl-fill);-webkit-background-clip:text;background-clip:text;-webkit-text-stroke:0}
.news h2{font-size:clamp(32px,3.8vw,52px);line-height:1.04;letter-spacing:-.01em;color:var(--white)}

/* body copy */
.sec-title p:not(.kicker),.page-head p:not(.kicker):not(.script),.hero-words .lede{font-size:clamp(17px,1.35vw,19px);line-height:1.6;font-weight:400;color:var(--ink-soft);max-width:52ch;margin:18px auto 0}
.custom .sec-title p:not(.kicker){color:rgba(255,255,255,.88)}
.hero-words .lede{margin-top:22px}
.story p{font-size:17px;line-height:1.65;color:var(--ink-soft);max-width:60ch}
.story .hand{font-family:var(--sans);font-weight:600;font-style:italic;font-size:18px;color:var(--deep)}
.prose p,.prose li,.faq .ans p{font-size:17px;line-height:1.7;max-width:66ch}

/* small headings: sans bold, not Bagel */
.steps h3{font-family:var(--sans);font-weight:700;font-size:21px;letter-spacing:-.01em;line-height:1.25}
.steps p{font-size:16px;line-height:1.55}
.steps .n{font-family:var(--sans);font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.cat h3{font-family:var(--sans);font-weight:700;font-size:21px;letter-spacing:-.01em;line-height:1.25;color:var(--plum)}
.cat p{font-size:15.5px;line-height:1.55;color:var(--ink-soft)}
.card .price{font-family:var(--sans);font-weight:700;font-size:18px;letter-spacing:-.005em}
.circles strong{font-size:16px}
.circles span{font-size:14px;line-height:1.45}
.faq h2,.prose h2{font-size:clamp(26px,2.6vw,32px);letter-spacing:-.01em;line-height:1.1}
.faq summary{font-size:17px}
.bc-role{letter-spacing:.16em}

/* custom order page headline: no dark shadow, clean outline */
.rt-hero h1{text-shadow:none;-webkit-text-stroke:2px var(--deep);letter-spacing:-.01em;line-height:1.02}
.rt-over{display:none!important}

/* ---------- scroll motion (only when the script runs and motion is allowed) ---------- */
.tm-w{display:inline-block;overflow:hidden;vertical-align:bottom;padding:.12em .06em .34em;margin:-.12em -.06em -.34em}
html.tm .tm-w>span{display:inline-block;transform:translateY(105%);
  transition:transform .9s cubic-bezier(.16,1,.3,1) calc(var(--i,0) * 45ms)}
html.tm .in .tm-w>span{transform:none}
html.tm .tm-rise{opacity:0;translate:0 16px;transition:opacity .7s ease calc(var(--d,0) * 1ms),translate .9s cubic-bezier(.16,1,.3,1) calc(var(--d,0) * 1ms)}
html.tm .tm-rise.in{opacity:1;translate:0 0}
/* Reduce Motion on: a soft fade only */
html.tm.tm-soft .tm-w>span{transform:none!important;opacity:0;transition:opacity .6s ease calc(var(--i,0) * 60ms)!important}
html.tm.tm-soft .in .tm-w>span{opacity:1}
html.tm.tm-soft .tm-rise{translate:none!important}
/* phones: a touch slower and further so the rise reads on a small screen */
@media (max-width:700px){
  html.tm:not(.tm-soft) .tm-w>span{transition-duration:1s;transition-delay:calc(var(--i,0) * 70ms)}
  html.tm:not(.tm-soft) .tm-rise{translate:0 24px}
  html.tm:not(.tm-soft) .tm-rise.in{translate:0 0}
}

/* contact cards: centre whatever cards are showing */
.contacts{display:flex;flex-wrap:wrap;justify-content:center}
.contacts>div{flex:1 1 220px;max-width:300px}

/* page heads: one heading, no extra label above it */
.page-head .over{display:none}
/* the walking-guide strips are retired */
.lane{display:none!important}

/* custom order page: drop the small label above the big headline */
.rt-over{display:none!important}

/* footer heart */
.foot .made{display:inline-flex;align-items:center;gap:6px}
.ft-heart{fill:var(--mint,#bdf1e4);display:inline-block;animation:ftbeat 1.6s ease-in-out infinite;transform-origin:50% 60%}
@keyframes ftbeat{0%,60%,100%{transform:scale(1)}15%{transform:scale(1.25)}30%{transform:scale(.95)}45%{transform:scale(1.15)}}
@media (prefers-reduced-motion:reduce){.ft-heart{animation:none}}

/* scroll buddies: Aneese and Maria ride the right edge */
html{scrollbar-width:thin;scrollbar-color:var(--grapefruit) var(--mint)}
.obc-buddies{position:fixed;inset:0 0 0 auto;width:var(--d,130px);z-index:60;pointer-events:none;opacity:0;transition:opacity .45s ease}
.obc-buddies.show{opacity:1}
.obc-buddies.show.compact:not(.awake){opacity:0;transition-duration:.4s}
.ob-track{position:absolute;left:50%;width:4px;margin-left:-2px;border-radius:4px;background:var(--mint)}
.ob-fill{position:absolute;left:0;top:0;width:100%;border-radius:4px;background:var(--grapefruit)}
.ob-b{position:absolute;left:0;top:0;width:var(--d);height:var(--d);display:grid;place-items:center;will-change:transform}
.ob-b img{height:var(--h);width:auto;max-width:none;display:block}
@media (max-width:700px){.ob-track{width:3px;margin-left:-1.5px}}
@media print{.obc-buddies{display:none}}

/* keep descenders (y, g, p) inside the Swirl fill: the fill only paints inside each box, so give every box room below the baseline */
.tm-w>span{padding:.12em .06em .34em;margin:-.12em -.06em -.34em}
.sec-title h2,.page-head h1,.hero-words h1,.story h2,.news h2{padding-bottom:.18em;margin-bottom:-.18em}
.tm-split{overflow:visible}
.ob-track{display:none!important}
