/* =========================================================
   Zone Recovery: 2nd draft
   White first, black second, a whisper of tan.
   ========================================================= */

:root {
  --white: #ffffff;
  --paper: #f7f6f3;
  --ink: #0b0b0b;
  --ink-2: #222;
  --grey: #5f5f5f;
  --grey-2: #8b8b8b;
  --line: #e7e4de;
  --line-2: #d6d2ca;

  --tan: #c2a57b;        /* decoration only */
  --tan-dark: #86683f;   /* text-safe on white */
  --tan-soft: #f4eee4;

  /* used only by the colour-burst section: three grown-up colours that match the site
     (ember and ice echo the hot & cold section, tan is the brand colour), repeated so
     the six blobs / highlights keep working. Keep site.js BURST_COLOURS in step. */
  --pop-1: #e2683c;   /* ember */
  --pop-2: #c2a57b;   /* tan */
  --pop-3: #3a9fd6;   /* ice */
  --pop-4: #e2683c;
  --pop-5: #c2a57b;
  --pop-6: #3a9fd6;

  /* used only by the hot & cold wipe section */
  --ice: #3fc1ff;
  --heat: #ff7a1a;

  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--adminbar, 0px) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--tan-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; font-stretch: 105%; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--grey); max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tan-dark);
  margin-bottom: 16px;
}
/* --ew lets GSAP draw the tan rule in (0 → 1) as the eyebrow scrolls into view */
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--tan); transform: scaleX(var(--ew, 1)); transform-origin: left; }

/* SplitText line masks on headings: room for descenders so g/y/p aren't clipped */
.sl-mask { padding-bottom: 0.14em; margin-bottom: -0.14em; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head > div { max-width: 640px; }
.section-head p { color: var(--grey); margin-top: 14px; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
  transition: color 0.35s var(--ease), border-color 0.35s, transform 0.35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tan); border-radius: inherit;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { color: var(--ink); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.88rem; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--tan), var(--tan)) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease);
}
.link:hover { background-size: 100% 2px; }
.link .arr { transition: transform 0.35s var(--ease); }
.link:hover .arr { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d9d9d9; font-size: 0.82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; color: #fff; }
.topbar a:hover { color: var(--tan); }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: 8px; }
.open-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grey-2); }
.open-dot.is-open { background: #45c46b; box-shadow: 0 0 0 3px rgba(69, 196, 107, 0.25); }
@media (max-width: 760px) { .topbar__extra { display: none !important; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: var(--adminbar, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); }
.header__burst {
  position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: linear-gradient(100deg, var(--pop-2), var(--pop-4), var(--pop-3), var(--pop-1), var(--pop-6), var(--pop-2));
  background-size: 300% 100%;
  animation: burstSlide 6s linear infinite;
}
@keyframes burstSlide { to { background-position: 300% 0; } }
/* thin tan reading-progress line along the bottom of the header (scrubbed by GSAP) */
.header__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tan); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.header__logo img { width: 62px; height: auto; transition: transform 0.6s var(--ease); }
.header__logo:hover img { transform: rotate(-8deg) scale(1.05); }
.header__logo span { font-family: var(--head); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.05; }
.header__logo small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; text-decoration: none;
  transition: background 0.25s;
}
.nav__link:hover, .nav > li:focus-within > .nav__link { background: var(--paper); }
.nav__link[aria-current="page"] { font-weight: 700; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--ink);
}
.nav__link .chev { width: 10px; transition: transform 0.3s var(--ease); }
.has-mega:hover .chev, .has-mega.is-open .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(760px, 92vw);
  translate: -50% 0;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega.is-open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; transition: background 0.2s; }
.mega a:hover { background: var(--paper); }
.mega strong { display: block; font-size: 0.95rem; }
.mega small { display: block; color: var(--grey); font-size: 0.82rem; line-height: 1.4; }
.mega .thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--tan-soft); display: grid; place-items: center; }
.mega .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.4s, transform 0.5s var(--ease); }
.mega a:hover .thumb img { filter: none; transform: scale(1.08); }
.mega .thumb svg { width: 28px; stroke: var(--ink); }
.mega__all { grid-column: 1 / -1; display: flex !important; justify-content: space-between; background: var(--paper); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.header__phone:hover { color: var(--tan-dark); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
}
@media (max-width: 480px) {
  .header__logo span { display: none; }
  .header__actions .btn { padding-inline: 16px; }
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 60; top: var(--drawer-top, 0);
  background: var(--white);
  overflow-y: auto;
  padding: 16px var(--gutter) 40px;
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
.menu-open .drawer { visibility: visible; opacity: 1; transform: none; }
.menu-open { overflow: hidden; }
.drawer__group { border-bottom: 1px solid var(--line); padding-block: 8px; }
.drawer__label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); padding: 12px 0 4px; }
.drawer__group a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.drawer__group a[aria-current="page"] { color: var(--tan-dark); }
.drawer__services a { font-size: 1rem; font-weight: 500; padding: 9px 0; }
.drawer__cta { display: grid; gap: 10px; margin-top: 24px; }
.drawer__cta .btn { width: 100%; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 0.85rem; color: var(--grey); padding-top: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Colour spotlight (b&w image, colour follows cursor) ---------- */
.spot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper); --x: 50%; --y: 50%; --r: 0px; }
.spot img { width: 100%; height: 100%; object-fit: cover; }
.spot__bw { filter: grayscale(1) contrast(1.05); }
.spot__colour {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 60%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 60%, transparent 100%);
}
.spot__hint {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-size: 0.8rem; font-weight: 600; padding: 8px 12px; border-radius: 999px;
  transition: opacity 0.3s;
}
.spot__hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--tan); box-shadow: 0 0 0 3px var(--tan-soft); }
.spot:hover .spot__hint { opacity: 0; }
@media (hover: none) { .spot__hint { display: none; } }
/* Touch: site.js adds a colour copy of card and blog photos so a finger can "paint"
   colour onto them like the cursor does on .spot photos, and a tap turns them to colour. */
.js-spot { --x: 50%; --y: 50%; --r: 0px; }
.post__img.js-spot { position: relative; }
.js-spot > img.spot__colour { position: absolute; inset: 0; filter: none; pointer-events: none; }
/* "Tap again to open": shown on a link after the first tap on a phone */
.tap-hint {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  background: var(--ink); color: #fff; font-size: 0.78rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; pointer-events: none;
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.is-lit .tap-hint { opacity: 1; transform: none; }
/* the map can't follow a finger, so on touch screens it is simply in colour */
@media (hover: none) { .visit__map iframe { filter: none; } }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 100px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(var(--tan-soft), var(--tan-soft)) 0 88% / 100% 0.3em no-repeat; }
.hero .lead { margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.92rem; font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; stroke: var(--tan-dark); fill: none; stroke-width: 2.4; }
.hero__media { position: relative; }
.hero__media .spot { aspect-ratio: 4 / 4.4; }
.hero__badge {
  position: absolute; right: -14px; top: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  padding: 14px 18px; max-width: 220px;
}
.hero__badge small { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tan-dark); }
.hero__badge strong { display: block; font-family: var(--head); font-size: 1.15rem; line-height: 1.2; margin: 4px 0; }
.hero__badge a { font-size: 0.85rem; font-weight: 600; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media .spot { aspect-ratio: 4 / 3; }
  .hero__badge { right: 12px; top: auto; bottom: -24px; }
  .hero h1 { margin-top: 24px; }
}

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); text-decoration: none; overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s, opacity 0.4s, filter 0.4s;
}
.card:hover, .card.is-lit { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1); border-color: var(--line-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tan-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.6s, transform 0.8s var(--ease); }
.card:hover .card__media img, .card.is-lit .card__media img { filter: none; transform: scale(1.06); }
.card__media--icon { display: grid; place-items: center; background: var(--tan-soft); transition: background 0.5s; }
.card__media--cut { background: var(--tan-soft); display: grid; place-items: center; overflow: hidden; }
.page-hero__media.card__media--cut img { width: 80%; height: auto; }
.card__media--icon svg { width: 34%; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.6s var(--ease), stroke 0.4s; }
.card:hover .card__media--icon, .card.is-lit .card__media--icon { background: var(--tan); }
.card:hover .card__media--icon svg, .card.is-lit .card__media--icon svg { transform: scale(1.1) rotate(-4deg); }
.card__media--cut img { object-fit: contain; padding: 10%; }
.card__price {
  position: absolute; left: 12px; top: 12px;
  background: var(--white); border-radius: 999px; padding: 5px 11px;
  font-size: 0.78rem; font-weight: 600;
}
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h2, .card__body h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; line-height: 1.2; }
.card__body p { color: var(--grey); font-size: 0.93rem; line-height: 1.55; }
.card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.card__more .arr { transition: transform 0.35s var(--ease); }
.card:hover .card__more .arr, .card.is-lit .card__more .arr { transform: translateX(5px); }
/* goal finder: dim the contents (the card itself carries GSAP's inline opacity) */
.card > * { transition: opacity 0.4s; }
.card.is-dim > * { opacity: 0.3; }
.card.is-match { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.card.is-match .card__media img { filter: none; }
.card.is-match .card__media--icon { background: var(--tan); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Offers strip ---------- */
/* overflow-x: clip — the offers slide in from 40px to the right; before they had scrolled
   into view the last one stuck out past the screen edge and made the page wider on phones */
.offers { border-block: 1px solid var(--line); background: var(--white); overflow-x: clip; }
.offers__grid { display: grid; grid-template-columns: auto repeat(3, 1fr); }
.offers__title { padding: 28px 32px 28px 0; display: flex; flex-direction: column; justify-content: center; }
.offers__title strong { font-family: var(--head); font-size: 1.3rem; }
.offers__title span { color: var(--grey); font-size: 0.9rem; }
.offer { padding: 24px 28px; border-left: 1px solid var(--line); text-decoration: none; display: grid; gap: 2px; transition: background 0.3s; }
.offer:hover { background: var(--tan-soft); }
.offer small { color: var(--grey); font-size: 0.85rem; }
.offer strong { font-size: 1rem; }
.offer b { font-family: var(--head); font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .offers__grid { grid-template-columns: 1fr 1fr; }
  .offers__title { grid-column: 1 / -1; padding: 24px 0 8px; }
  .offer { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0 16px; }
}

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split p + p { margin-top: 16px; }
.split .spot { aspect-ratio: 5 / 4; }
.steps-mini { margin-top: 32px; display: grid; gap: 14px; }
.steps-mini li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps-mini b { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--head); }
.steps-mini span { color: var(--grey); }
.steps-mini strong { color: var(--ink); display: block; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

/* ---------- Colour burst ---------- */
.burst { position: relative; overflow: hidden; background: var(--white); border-block: 1px solid var(--line); isolation: isolate; }
.burst__blobs, .burst__confetti { position: absolute; inset: 0; pointer-events: none; }
.burst__blobs { z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(48px); opacity: 0; transform: scale(0); }
.blob--1 { width: 420px; height: 420px; left: -120px; top: -140px; background: var(--pop-1); }
.blob--2 { width: 360px; height: 360px; right: 6%; top: -120px; background: var(--pop-2); }
.blob--3 { width: 460px; height: 460px; right: -160px; bottom: -180px; background: var(--pop-3); }
.blob--4 { width: 300px; height: 300px; left: 30%; bottom: -160px; background: var(--pop-4); }
.blob--5 { width: 260px; height: 260px; left: 44%; top: 10%; background: var(--pop-5); }
.blob--6 { width: 240px; height: 240px; left: 4%; bottom: 10%; background: var(--pop-6); }
.burst__confetti { z-index: 1; }
.confetti { position: absolute; left: 0; top: 0; opacity: 0; }
.confetti--dot { width: 14px; height: 14px; border-radius: 50%; }
.confetti--bar { width: 22px; height: 8px; border-radius: 4px; }
.confetti--ring { width: 18px; height: 18px; border-radius: 50%; border: 4px solid currentColor; background: none !important; }
.burst__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; min-height: 600px; padding-block: clamp(64px, 8vw, 100px); }
.burst h2 { margin-bottom: 20px; max-width: 14ch; }
.burst__hl { background: linear-gradient(var(--hl, var(--pop-2)), var(--hl, var(--pop-2))) 0 88% / 0 0.32em no-repeat; color: inherit; padding-inline: 2px; }
.burst .lead { margin-bottom: 36px; }
.burst__trigger {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--head); font-weight: 800; font-stretch: 110%;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em;
  text-decoration: none;
  padding: 18px 26px 18px 0;
  border-bottom: 3px solid var(--ink);
  cursor: pointer;
}
.burst__trigger .arr { display: inline-block; transition: transform 0.4s var(--ease); }
.burst.is-active .burst__trigger .arr { transform: translateX(10px) rotate(-12deg); }
.burst__hint { margin-top: 16px; font-size: 0.85rem; color: var(--grey); display: inline-flex; align-items: center; gap: 8px; }
.burst__hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: hintPulse 1.6s infinite; }
@keyframes hintPulse { 50% { transform: scale(1.8); opacity: 0.3; } }
.burst__figure { position: relative; display: grid; place-items: center; }
.burst__ring { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--line-2); }
.burst__person { position: relative; width: min(100%, 380px); height: auto; filter: grayscale(1) contrast(0.85) brightness(1.12); opacity: 0.85; transform-origin: 50% 100%; }
.burst__note { position: absolute; bottom: 0; right: 0; font-size: 0.75rem; color: var(--grey-2); }
@media (max-width: 860px) {
  .burst__grid { grid-template-columns: 1fr; min-height: 0; }
  .burst__figure { max-width: 300px; margin-inline: auto; }
}

/* ---------- Hot & cold wipe (from the 3rd draft) ----------
   Default rules = static fallback (two stacked panels).
   html.anim (set by site.js when GSAP runs) switches to the pinned, scrubbed stage. */
.hc { padding-bottom: clamp(40px, 6vw, 80px); }
/* GSAP pins the full-width .hc__pin / .zone__pin wrapper, never the stage itself:
   pinning an element that is centred with auto margins makes it drift to one side. */
.hc__pin, .zone__pin { padding-inline: var(--gutter); }
.hc__stage {
  position: relative; overflow: hidden;
  max-width: 1600px; margin-inline: auto;
  border-radius: calc(var(--radius) + 6px);
  background: var(--ink); color: #fff;
}
.hc__layer { position: relative; overflow: hidden; min-height: 70svh; display: flex; align-items: flex-end; }
.hc__bg { position: absolute; inset: -5%; width: 110%; height: 110%; max-width: none; object-fit: cover; filter: saturate(1.2) brightness(0.55); }
.hc__layer--hot .hc__bg { filter: sepia(0.7) saturate(2.2) hue-rotate(-12deg) brightness(0.5); }
.hc__layer::after { content: ""; position: absolute; inset: 0; }
.hc__layer--cold::after { background: linear-gradient(90deg, rgba(4, 18, 40, 0.92) 0%, rgba(4, 18, 40, 0.5) 60%, rgba(4, 18, 40, 0.2)); }
.hc__layer--hot::after { background: linear-gradient(270deg, rgba(40, 12, 2, 0.92) 0%, rgba(40, 12, 2, 0.5) 60%, rgba(40, 12, 2, 0.25)); }
.hc__content { position: relative; z-index: 2; max-width: 460px; padding: clamp(24px, 4vw, 48px); }
.hc__layer--hot .hc__content { margin-left: auto; text-align: right; }
.hc__content .eyebrow { margin-bottom: 14px; }
.hc__layer--cold .eyebrow { color: var(--ice); }
.hc__layer--cold .eyebrow::before { background: var(--ice); }
.hc__layer--hot .eyebrow { color: var(--heat); flex-direction: row-reverse; }
.hc__layer--hot .eyebrow::before { background: var(--heat); }
.hc__content h3 { font-size: clamp(3rem, 6.4vw, 6rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.01em; margin-bottom: 20px; }
.hc__content p:not(.eyebrow) { color: rgba(255, 255, 255, 0.8); }
.hc__content .link { margin-top: 22px; color: #fff; }
.hc__divider, .hc__center { display: none; }

/* The stage sticks just below the header with plain CSS sticky while you scroll the
   tall .hc__pin "track"; GSAP only scrubs the animation (no GSAP pin). Native sticky is
   handled by the browser itself, so it cannot jitter, drift or get stuck on phones the
   way a JavaScript pin does with touch / momentum scrolling. */
:root {
  --stage-h: max(420px, calc(100svh - var(--header-h) - var(--adminbar, 0px) - 32px));
  --stage-top: calc(var(--header-h) + var(--adminbar, 0px) + 16px);
}
html.anim .hc__pin { height: calc(var(--stage-h) + 200svh); }
html.anim .hc__stage { position: sticky; top: var(--stage-top); height: var(--stage-h); }
html.anim .hc__layer { position: absolute; inset: 0; min-height: 0; display: block; }
html.anim .hc__layer--cold { z-index: 1; }
html.anim .hc__layer--hot { z-index: 2; clip-path: inset(0 0 0 100%); }
html.anim .hc__content { position: absolute; bottom: 8%; padding: 0; }
html.anim .hc__layer--cold .hc__content { left: clamp(20px, 4vw, 56px); }
html.anim .hc__layer--hot .hc__content { right: clamp(20px, 4vw, 56px); margin: 0; }
html.anim .hc__divider {
  display: block; position: absolute; top: 0; bottom: 0; left: 100%; z-index: 3;
  width: 2px;
  background: linear-gradient(180deg, var(--ice), #fff, var(--heat));
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}
html.anim .hc__center { display: block; position: absolute; z-index: 4; top: 50%; left: 50%; translate: -50% -70%; text-align: center; pointer-events: none; }
.hc__temp {
  display: flex; align-items: flex-start; justify-content: center;
  font-family: var(--head); font-weight: 800; font-stretch: 62%; line-height: 0.9; letter-spacing: -0.01em;
  font-size: clamp(6rem, 17vw, 16rem);
  color: var(--ice);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 60px currentColor;
}
/* fixed width (as wide as "−110"), so the number and °C don't jump sideways while counting */
.hc__num { display: inline-block; min-width: 1.8em; text-align: right; }
.hc__temp sup { font-size: 0.3em; margin-top: 0.2em; letter-spacing: 0; }
.hc__label { margin-top: 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan-soft); white-space: nowrap; }
@media (max-width: 760px) {
  .hc__content h3 { font-size: 2.7rem; margin-bottom: 12px; }
  .hc__content p:not(.eyebrow) { font-size: 0.92rem; }
  .hc__content .link { margin-top: 12px; }
  .hc__layer--hot .hc__content { text-align: left; margin-left: 0; }
  .hc__layer--hot .eyebrow { flex-direction: row; }
  .hc__label { font-size: 0.66rem; letter-spacing: 0.1em; }
  html.anim .hc__content { max-width: none; left: 20px !important; right: 20px !important; }
  html.anim .hc__layer--cold .hc__content { bottom: 6%; }
  /* phones: both texts in the same spot at the bottom (site.js crossfades them) and the
     temperature near the top, so nothing overlaps or gets cut in half by the wipe */
  html.anim .hc__layer--cold .hc__content,
  html.anim .hc__layer--hot .hc__content { top: auto; bottom: 6%; }
  html.anim .hc__center { top: 7%; translate: -50% 0; }
  .hc__temp { font-size: clamp(4.5rem, 24vw, 6rem); }
}
/* short phones (small screens, or a browser with big toolbars): tighter, so the
   temperature and the text never touch */
@media (max-width: 760px) and (max-height: 720px) {
  .hc__temp { font-size: 4rem; }
  .hc__label { margin-top: 8px; }
  .hc__content h3 { font-size: 2.2rem; margin-bottom: 8px; }
  .hc__content .eyebrow { margin-bottom: 8px; }
  .hc__content p:not(.eyebrow) { font-size: 0.86rem; line-height: 1.5; }
  html.anim .hc__center { top: 5%; }
}

/* ---------- Welcome to the Zone (from the 3rd draft) ----------
   Tan stage; a 3x3 photo grid that starts zoomed into its centre tile and pulls back.
   Default rules = static fallback, html.anim = pinned stage (see site.js initZone). */
.zone { padding-block: clamp(24px, 4vw, 56px); }
.zone__stage {
  position: relative; overflow: hidden;
  max-width: 1600px; margin-inline: auto;
  border-radius: calc(var(--radius) + 6px);
  background: var(--tan);
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(16px, 2vw, 24px);
}
.zone__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: clamp(6px, 1vw, 14px); aspect-ratio: 3 / 2; transform-origin: 50% 50%; }
.zone__item { position: relative; overflow: hidden; border-radius: 10px; background: var(--tan-soft); }
.zone__item img { width: 100%; height: 100%; object-fit: cover; }
.zone__overlay { order: -1; padding: clamp(16px, 3vw, 40px) clamp(8px, 2vw, 24px) 0; }
.zone__overlay .eyebrow { color: var(--ink); }
.zone__overlay .eyebrow::before { background: var(--ink); }
.zone__title { font-size: clamp(3.4rem, 10vw, 10rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.01em; }
.zone__title em { font-style: normal; color: var(--white); }
.zone__caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 30px; }
.zone__caption h3 { padding: 16px 24px 14px; background: var(--white); color: var(--ink); border-radius: 12px; font-size: clamp(2.2rem, 4.8vw, 4.2rem); font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; }
.zone__caption p { max-width: 400px; padding: 16px 20px; border-radius: 12px; background: rgba(11, 11, 11, 0.88); color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; }

html.anim .zone__pin { height: calc(var(--stage-h) + 170svh); }
html.anim .zone__stage { display: block; padding: 0; position: sticky; top: var(--stage-top); height: var(--stage-h); }
html.anim .zone__grid { position: absolute; inset: clamp(14px, 2vw, 24px); aspect-ratio: auto; }
html.anim .zone__overlay {
  position: absolute; inset: 0; z-index: 2; padding: 0;
  display: grid; place-content: center; text-align: center;
  background: rgba(11, 11, 11, 0.6);
  pointer-events: none;
}
html.anim .zone__intro { display: grid; justify-items: center; }
html.anim .zone__overlay .eyebrow { color: var(--tan-soft); }
html.anim .zone__overlay .eyebrow::before { background: var(--tan); }
html.anim .zone__title { color: var(--white); }
html.anim .zone__title em { color: var(--tan); }
html.anim .zone__caption { position: absolute; z-index: 3; left: clamp(24px, 3.5vw, 48px); right: clamp(24px, 3.5vw, 48px); bottom: clamp(24px, 3.5vw, 48px); pointer-events: none; opacity: 0; }
@media (max-width: 700px) {
  .zone__caption { flex-direction: column; align-items: flex-start; }
}

/* ---------- Features / why ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--white); padding: 32px 28px; transition: background 0.35s; }
.feature:hover { background: var(--tan-soft); }
.feature .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; margin-bottom: 22px; transition: transform 0.5s var(--ease); }
.feature:hover .icon { transform: rotate(-8deg) scale(1.06); }
.feature .icon svg { width: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--grey); font-size: 0.95rem; }
.feature--cta { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.feature--cta:hover { background: var(--ink-2); }
.feature--cta p { color: #bdbdbd; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Who list ---------- */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who li { position: relative; padding-top: 20px; }
/* top rule is a pseudo-element so GSAP can draw it in via --ln (0 → 1) */
.who li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); transform: scaleX(var(--ln, 1)); transform-origin: left; }
.who li span { display: block; font-family: var(--head); font-weight: 800; color: var(--tan-dark); margin-bottom: 10px; }
.who li p { color: var(--grey); font-size: 0.95rem; margin-top: 8px; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .who { grid-template-columns: 1fr; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; background: var(--white); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08); }
.plan small { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.plan b { font-family: var(--head); font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan b span { font-size: 1rem; font-weight: 500; color: var(--grey); letter-spacing: 0; }
.plan ul { display: grid; gap: 8px; margin: 6px 0 10px; }
.plan li { display: flex; gap: 10px; color: var(--ink-2); font-size: 0.95rem; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--tan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2386683f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan--featured small, .plan--featured b span { color: #bdbdbd; }
.plan--featured li { color: #e8e8e8; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.post__img { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.post__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.6s, transform 0.8s var(--ease); }
.post:hover .post__img img, .post.is-lit .post__img img { filter: none; transform: scale(1.05); }
.post time { font-size: 0.82rem; color: var(--grey); }
.post h3 { transition: color 0.3s; }
.post:hover h3, .post.is-lit h3 { color: var(--tan-dark); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.visit__info { padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px; align-content: start; }
.visit__map { min-height: 380px; background: var(--paper); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1); transition: filter 0.6s; }
.visit__map:hover iframe { filter: none; }
.info-row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.info-row svg { width: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; margin-top: 3px; }
.info-row h3 { font-size: 1rem; margin-bottom: 4px; }
.info-row p, .info-row address, .info-row a { color: var(--grey); }
.info-row a:hover { color: var(--ink); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.hours tr.is-today td { font-weight: 700; color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--paper); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: #bdbdbd; margin-top: 12px; max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--line { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.cta-band .btn--line::before { background: #fff; }
.cta-band .btn--line:hover { color: var(--ink); }
.cta-band__logo { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: 0.06; filter: invert(1); pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cfcfcf; margin-top: clamp(24px, 4vw, 48px); font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 72px 48px; }
.footer__brand img { width: 92px; filter: invert(1); margin-bottom: 18px; }
.footer__brand p { max-width: 32ch; color: #a8a8a8; }
.footer__title { font-family: var(--body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { display: grid; gap: 9px; }
.footer a { color: #cfcfcf; text-decoration: none; transition: color 0.25s; }
.footer a:hover { color: var(--tan); }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a3a3a; display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.footer__social a:hover { background: #fff; border-color: #fff; }
.footer__social svg { width: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.footer__social a:hover svg { stroke: var(--ink); }
.footer__bottom { border-top: 1px solid #262626; padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: #8a8a8a; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--tan-dark); }
.to-top svg { width: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { padding-block: 20px clamp(48px, 6vw, 80px); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 28px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 26px; }
.offer-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tan-soft); color: var(--ink);
  border-radius: 999px; padding: 7px 16px 7px 8px;
  font-size: 0.88rem; font-weight: 500; margin-bottom: 22px;
}
.offer-pill b { background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.page-hero__media { aspect-ratio: 4 / 3.4; }
.page-hero__media.card__media--icon, .page-hero__media.card__media--cut { border-radius: var(--radius); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero--simple .container > div { max-width: 760px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { padding: 20px 22px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.facts dd { font-family: var(--head); font-weight: 800; font-size: 1.25rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(3) { border-left: 0; } .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + var(--adminbar, 0px) + 28px); }
.toc__title { font-family: var(--body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; }
.toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc ol a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--grey); font-size: 0.93rem; transition: color 0.25s, border-color 0.25s; }
.toc ol a:hover { color: var(--ink); }
.toc ol a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.toc .btn { margin-top: 24px; width: 100%; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .toc { display: none; } }

.content > section { padding-bottom: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.content > section:last-child { border-bottom: 0; margin-bottom: 0; }
.content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.content p { color: var(--ink-2); max-width: 68ch; }
.content p + p { margin-top: 14px; }
.content .intro { color: var(--grey); margin-bottom: 24px; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 8px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checks--plain li::before { background-color: var(--tan-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2386683f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks--warn li::before { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.5v4.5M8 11.4v.1' fill='none' stroke='%230b0b0b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }

.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; font-family: var(--head); font-weight: 800; font-size: 1.15rem; padding-bottom: 12px; }
.price-table th, .price-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-table th { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); padding-top: 0; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table td:last-child { font-family: var(--head); font-weight: 800; font-size: 1.15rem; }
.price-table tr { transition: background 0.25s; }
.price-table tbody tr:hover { background: var(--tan-soft); }
.price-table tbody tr:hover td:first-child { padding-left: 12px; }
.price-table td:first-child { transition: padding 0.3s var(--ease); }
.price-note { margin-top: 14px; font-size: 0.9rem; color: var(--grey); }
.price-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

.how { display: grid; gap: 0; counter-reset: how; margin-top: 8px; }
.how li { counter-increment: how; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.how li:first-child { border-top: 0; }
.how li::before { content: counter(how, decimal-leading-zero); font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--tan-dark); padding-top: 2px; }
.how strong { display: block; margin-bottom: 4px; }
.how span { color: var(--grey); }

.bcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.bcard { border: 1px solid var(--line); border-radius: 12px; padding: 22px; transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; }
.bcard:hover { border-color: var(--ink); transform: translateY(-3px); }
.bcard h3 { font-size: 1.05rem; margin-bottom: 6px; }
.bcard p { color: var(--grey); font-size: 0.93rem; }
@media (max-width: 640px) { .bcards { grid-template-columns: 1fr; } }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit > div { border-radius: 12px; padding: 24px; background: var(--paper); }
.fit > div:last-child { background: var(--white); border: 1px solid var(--line); }
.fit h3 { font-size: 1.05rem; margin-bottom: 14px; }
.fit .checks { grid-template-columns: 1fr; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; text-align: left; font-weight: 600; font-size: 1.05rem; }
.faq__q:hover { color: var(--tan-dark); }
.faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq__icon::after { rotate: 90deg; transition: rotate 0.35s var(--ease); }
.faq__item.is-open .faq__icon { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq__item.is-open .faq__icon::after { rotate: 0deg; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 52px 22px 0; color: var(--grey); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* Services overview: goal finder */
.finder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; }
.finder > span { font-weight: 600; margin-right: 6px; }
.chip { min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 500; font-size: 0.92rem; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.finder__result { width: 100%; font-size: 0.92rem; color: var(--grey); min-height: 1.5em; }

/* Pricing page (redesigned 2026-11-24): one identical card per therapy, then bundles, then plans */
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { text-decoration: none; }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pcard {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
/* tan bar that draws across the top on hover */
.pcard::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--tan); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.08); border-color: var(--line-2); }
.pcard:hover::before { transform: scaleX(1); }
.pcard__head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.pcard__head .thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--tan-soft); display: grid; place-items: center; }
.pcard__head .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.5s, transform 0.6s var(--ease); }
.pcard:hover .thumb img { filter: none; transform: scale(1.06); }
.pcard__head .thumb svg { width: 30px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard__name h3 { font-size: 1.22rem; line-height: 1.2; }
.pcard__name h3 a { text-decoration: none; }
.pcard__name h3 a:hover { color: var(--tan-dark); }
.pcard__name p { margin-top: 3px; font-size: 0.85rem; line-height: 1.4; color: var(--grey); }
.pcard__from {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.pcard__from small { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.pcard__from b { font-family: var(--head); font-weight: 800; font-size: 2.3rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pcard__from .pcard__ask { font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink-2); }
.prows { margin-top: 4px; }
.prow { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; }
.prow + .prow { border-top: 1px solid var(--line); }
.prow__label { font-size: 0.93rem; line-height: 1.35; color: var(--ink-2); font-weight: 500; }
.prow__label small { display: block; margin-top: 2px; font-size: 0.78rem; font-weight: 400; color: var(--grey); }
.prow__dots { flex: 1 1 12px; min-width: 12px; border-bottom: 2px dotted var(--line-2); transform: translateY(-4px); }
.prow__price { text-align: right; white-space: nowrap; }
.prow__price b { font-family: var(--head); font-weight: 800; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.prow__price small { display: block; font-size: 0.76rem; font-weight: 600; color: var(--tan-dark); }
.pcard__note { margin-top: 12px; font-size: 0.86rem; line-height: 1.5; color: var(--grey); }
.pcard__foot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pcard__foot .link { font-size: 0.9rem; }
/* bundles sit on the paper background: white cards with a tan top edge */
.pcard--bundle { border-top: 3px solid var(--tan); }
.pcard--bundle::before { display: none; }
.pcard--bundle .pcard__head { grid-template-columns: 1fr; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pcards--bundles { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .pcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .pcards { grid-template-columns: 1fr; }
  .pcard { padding: 22px 20px 20px; }
  .pcard__from b { font-size: 2rem; }
}

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-decoration: none; display: grid; gap: 6px; transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; }
.ccard:hover { border-color: var(--ink); transform: translateY(-4px); background: var(--tan-soft); }
.ccard svg { width: 26px; stroke: var(--ink); fill: none; stroke-width: 1.8; margin-bottom: 12px; }
.ccard small { color: var(--grey); }
.ccard strong { font-size: 1.05rem; word-break: break-word; }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* About page */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values li { padding: 28px; border-radius: var(--radius); background: var(--paper); transition: background 0.3s; }
.values li:hover { background: var(--tan-soft); }
.values b { display: block; font-family: var(--head); font-size: 2.4rem; line-height: 1; margin-bottom: 14px; }
.values p { color: var(--grey); margin-top: 8px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Helpers added for the WordPress theme (replace inline styles in the HTML build) ---------- */
.page-hero__intro { margin-top: 28px; }
.page-hero__intro .jump { margin-top: 24px; }
.section--flush-top { padding-top: 0; }
.section--service { padding-top: clamp(24px, 3vw, 40px); }
.facts--spaced { margin-top: clamp(36px, 5vw, 56px); }
.content__media { margin-top: 28px; }
.cards--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.price-table__detail { color: var(--grey); }
.svc-links { display: grid; gap: 12px; margin-top: 24px; }
.visit--white { background: var(--white); }
.contact-form { max-width: 760px; }
.contact-form h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.faq__a p + p { margin-top: -10px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
