/*
 * The Wellness Hub: shared foundation.
 * Structure, accessibility and behaviour live here and only use semantic tokens
 * (--bg, --fg, --accent ...). Each direction (tide.css, grove.css, pulse.css) sets the tokens
 * for light and dark mode and then restyles the components.
 */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius-ui: 999px;
  --radius-card: 24px;
  --radius-field: 12px;
  --font-display: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --shadow: 0 18px 50px -24px color-mix(in oklab, var(--fg) 35%, transparent);
  --line: color-mix(in oklab, var(--fg) 14%, transparent);
  --fg-muted: color-mix(in oklab, var(--fg) 68%, var(--bg));
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  color-scheme: light;
}
html[data-theme='dark'] { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-fg); }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: 12px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 860px; }
.site-main { display: block; min-height: 60vh; overflow-x: clip; }
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--bg-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 64px); }
.section-title { font-size: clamp(2rem, 1.3rem + 3.2vw, 4rem); letter-spacing: -.02em; }
.section-foot { margin: clamp(32px, 4vw, 56px) 0 0; }
.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text, var(--accent)); margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--accent); --btn-fg: var(--accent-fg);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .7em 1.4em; border-radius: var(--radius-ui);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn__icon { display: inline-flex; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--ghost:hover .btn__icon { transform: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, transform .4s var(--ease);
}
.site-header__inner { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 40px); }
.site-logo { display: inline-flex; flex: none; text-decoration: none; }
.logo-svg { height: 52px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 20px); }
.site-nav .menu > li { position: relative; }
.site-nav a {
  display: block; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.site-nav .menu > li > a:hover, .site-nav [aria-current='page'] { color: var(--accent-text, var(--accent)); }
.site-nav .sub-menu {
  position: absolute; left: -12px; top: 100%; min-width: 280px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { white-space: normal; }
.site-nav .sub-menu a:hover { background: var(--bg-2); }
.site-header__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
  font-size: .98rem; padding: 10px 6px; white-space: nowrap;
}
.theme-toggle, .menu-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--line); background: transparent; cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--fg); }
.theme-toggle:active, .menu-toggle:active { transform: scale(.94); }
.theme-toggle__moon, [data-theme='dark'] .theme-toggle__sun { display: none; }
[data-theme='dark'] .theme-toggle__moon { display: inline-flex; }
.theme-toggle__sun { display: inline-flex; }
.theme-toggle--text { width: auto; height: auto; border-radius: var(--radius-ui); padding: 12px 18px; gap: 8px; }
.theme-toggle--text span { align-items: center; gap: 8px; }
.menu-toggle { display: none; }
.menu-toggle__close, .menu-toggle[aria-expanded='true'] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded='true'] .menu-toggle__close { display: inline-flex; }
.btn.header-book { min-height: 46px; padding-inline: 1.3em; }

@media (max-width: 1099px) {
  .site-nav, .header-phone span { display: none; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border: 1.5px solid var(--line); border-radius: 50%; padding: 0; }
  .site-header__tools { margin-left: auto; }
  .menu-toggle { display: inline-grid; }
}
@media (max-width: 520px) {
  :root { --header-h: 68px; }
  .logo-svg { height: 42px; }
  .site-header .theme-toggle { display: none; }
  .btn.header-book { padding-inline: 1em; }
  /* Narrow phones, or phones with larger text: the logo gives way so the buttons never spill out of the bar. */
  .site-header__inner { gap: 10px; }
  .site-header__tools { gap: 8px; }
  .site-logo { flex: 0 1 auto; min-width: 0; }
  .logo-svg { max-width: 100%; }
}
@media (max-width: 339px) {
  .site-header .header-phone { display: none; }
}

/* ---------- Phone menu ---------- */

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--bg); color: var(--fg);
  padding: calc(var(--header-h) + 16px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 24px; overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu .menu > li { border-bottom: 1px solid var(--line); }
.mobile-menu .menu > li > a {
  display: block; padding: 16px 0; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 600; letter-spacing: -.02em;
}
.mobile-menu .sub-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 0 0 16px; }
.mobile-menu .sub-menu a { display: block; padding: 8px 0; text-decoration: none; color: var(--fg-muted); font-size: .98rem; }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: auto; }
.mobile-menu__foot .btn { width: 100%; }

/* ---------- Page hero ---------- */

.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 6vw, 80px); position: relative; }
.page-hero__inner { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero.has-image .page-hero__inner, .page-hero--person .page-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.page-hero__text { min-width: 0; }
.page-hero__title { font-size: clamp(2.4rem, 1.2rem + 5.4vw, 5.4rem); letter-spacing: -.03em; line-height: 1.02; margin-bottom: .35em; overflow-wrap: anywhere; hyphens: auto; }
.page-hero__intro { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); color: var(--fg-muted); max-width: 38rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__media, .page-hero__portrait { border-radius: var(--radius-card); overflow: hidden; background: var(--bg-2); }
.page-hero__media { aspect-ratio: 5 / 4; }
.page-hero__portrait { aspect-ratio: 4 / 5; max-width: 440px; justify-self: end; width: 100%; }
.page-hero__media img, .page-hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .page-hero.has-image .page-hero__inner, .page-hero--person .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__portrait { justify-self: start; max-width: 320px; }
}

.crumbs { margin-bottom: 20px; font-size: .875rem; color: var(--fg-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Prose (editor content) ---------- */

.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); letter-spacing: -.015em; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent-text, var(--accent)); }
.prose a { color: var(--accent-text, var(--accent)); }
.prose blockquote, .prose .wp-block-quote {
  margin-inline: 0; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-card);
  background: var(--surface); border: 1px solid var(--line); font-size: 1.1em;
}
.prose--small { font-size: .95rem; color: var(--fg-muted); margin-top: 32px; }

/* ---------- Cards and grids ---------- */

.svc-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.svc-card { min-width: 0; }
/* Three columns on wide screens. When the count leaves one card over (4, 7, 10), the first and last
   cards go double width so the grid always finishes flush. */
@media (min-width: 1040px) {
  .svc-grid:not(.svc-grid--compact) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-grid:not(.svc-grid--compact) > :first-child:nth-last-child(3n + 1),
  .svc-grid:not(.svc-grid--compact) > :first-child:nth-last-child(3n + 1) ~ :last-child { grid-column: span 2; }
  .svc-grid:not(.svc-grid--compact) > :first-child:nth-last-child(3n + 1) .svc-card__media,
  .svc-grid:not(.svc-grid--compact) > :first-child:nth-last-child(3n + 1) ~ :last-child .svc-card__media { aspect-ratio: 16 / 6; }
}
.svc-card__link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--accent-soft, var(--bg-2)); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-card__num {
  position: absolute; left: 18px; bottom: 12px; font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--accent-text, var(--accent)); opacity: .9;
}
.svc-card.has-image .svc-card__num { display: none; }
.svc-card__body { padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; flex: 1; min-width: 0; }
.svc-card__tag { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text, var(--accent)); margin-bottom: .6rem; }
.svc-card__title { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); letter-spacing: -.015em; }
.svc-card__text { color: var(--fg-muted); font-size: .98rem; }
.svc-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: auto 0 0; padding-top: 14px; font-weight: 600; font-size: .95rem; }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.svc-card__more .icon { transition: transform .35s var(--ease); }
@media (hover: hover) {
  .svc-card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .svc-card__link:hover img { transform: scale(1.06); }
  .svc-card__link:hover .svc-card__more .icon { transform: translateX(4px); }
}

.team-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.team-card { min-width: 0; }
.team-card__link { display: block; text-decoration: none; }
.team-card__media { aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; background: var(--accent-soft, var(--bg-2)); display: grid; place-items: center; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.team-card__initials { font-family: var(--font-display); font-size: 5rem; font-weight: 700; color: var(--accent-text, var(--accent)); }
.team-card__body { padding: 16px 4px 0; }
.team-card__name { font-size: 1.25rem; margin-bottom: .15em; }
.team-card__role { margin: 0; color: var(--accent-text, var(--accent)); font-weight: 600; font-size: .95rem; }
.team-card__creds { margin: .2em 0 0; color: var(--fg-muted); font-size: .875rem; }
@media (hover: hover) { .team-card__link:hover img { transform: scale(1.05); } }

.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 18px; }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card__title { font-size: 1.2rem; margin: 0; }
.aside-card .btn { width: 100%; }

.price-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-list > div:last-child { border-bottom: 0; }
.price-list dt { color: var(--fg-muted); }
.price-list dd { font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; text-align: right; }

.people-list { display: grid; gap: 12px; }
.people-list a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: .95rem; line-height: 1.35; }
.people-list__photo { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; background: var(--bg-2); }
.people-list__photo img { width: 100%; height: 100%; object-fit: cover; }
.people-list a:hover strong { color: var(--accent-text, var(--accent)); }

.link-list { display: grid; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.link-list li:last-child a { border-bottom: 0; }
.link-list a:hover { color: var(--accent-text, var(--accent)); }

.service__grid, .person__grid, .contact__grid { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: start; }
.service__aside, .person__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.contact__grid { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); }
.contact__heading { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
@media (max-width: 900px) {
  .service__grid, .person__grid, .contact__grid { grid-template-columns: 1fr; }
  .service__aside, .person__aside { position: static; }
}

/* ---------- Prices table ---------- */

/* ---------- Video ---------- */
.vid { margin: 0; }
.vid__frame { position: relative; aspect-ratio: 9 / 16; border-radius: calc(var(--radius-card) - 6px); overflow: hidden; background: #06161c; box-shadow: var(--shadow); isolation: isolate; }
.vid__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding: 24px 18px; border: 0; cursor: pointer; color: #fff; text-align: center; background: linear-gradient(to top, rgba(4, 20, 26, .78), rgba(4, 20, 26, 0) 55%); font: inherit; }
.vid__icon { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg, #fff); box-shadow: 0 0 0 10px rgba(255, 255, 255, .22); transition: scale .35s var(--ease, ease), box-shadow .35s var(--ease, ease); }
.vid__icon svg { margin-left: 3px; }
.vid__play:hover .vid__icon, .vid__play:focus-visible .vid__icon { scale: 1.08; box-shadow: 0 0 0 16px rgba(255, 255, 255, .16); }
.vid__play:focus-visible { outline: 3px solid var(--accent); outline-offset: -6px; }
.vid__label { font-weight: 700; line-height: 1.3; text-wrap: balance; }
.vid.is-playing .vid__play { display: none; }
.aside-card--video .vid__frame { box-shadow: none; }

.film__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.film .section-head { margin-bottom: 0; }
.film__media { position: relative; justify-self: center; width: min(100%, 340px); }
.film__orb { position: absolute; border-radius: 50%; z-index: -1; }
.film__orb--1 { width: 62%; aspect-ratio: 1; right: -24%; top: -7%; background: var(--accent-2, var(--accent)); opacity: .9; }
.film__orb--2 { width: 44%; aspect-ratio: 1; left: -20%; bottom: -5%; background: var(--accent-soft, var(--accent)); }
@media (max-width: 860px) {
  .film__grid { grid-template-columns: 1fr; }
  .film__media { width: min(78%, 320px); }
}

/* ---------- Where we are ---------- */
.areas__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.areas .section-head { margin-bottom: 0; }
.areas__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas__list li { padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--radius-ui, 999px); background: var(--surface); font-weight: 600; line-height: 1.3; }
.areas__list .areas__home { background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (max-width: 860px) { .areas__grid { grid-template-columns: 1fr; } }

.price-table { overflow-x: auto; overflow-y: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.price-table th, .price-table td { padding: 16px clamp(14px, 2vw, 28px); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table table { margin-bottom: -1px; } /* the last row's rule is clipped by the rounded container */
.price-table thead th:last-child { text-align: right; }
.price-table tbody tr:not(.price-table__first) td { border-top: 1px dashed var(--line); }
.price-table tbody tr:has(+ tr:not(.price-table__first)) td { border-bottom: 0; }
.price-table thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); font-family: var(--font-body); }
.price-table tbody th { font-family: var(--font-display); font-size: 1.1rem; }
.price-table tbody th a { text-decoration: none; }
.price-table tbody th a:hover { color: var(--accent-text, var(--accent)); }
.price-table__price { font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; white-space: nowrap; text-align: right !important; }

/* ---------- Hours, contact, socials ---------- */

.hours { display: grid; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours__row:last-child { border-bottom: 0; }
.hours__row dd { text-align: right; }
.hours__row small { display: block; font-size: .8rem; opacity: .75; }
.hours__row.is-today { font-weight: 700; color: var(--accent-text, var(--accent)); }

.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { flex: none; margin-top: 3px; color: var(--accent-text, var(--accent)); }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease); }
.socials a:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); transform: translateY(-3px); }

.open-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; width: fit-content;
}
.open-badge__dot { width: 10px; height: 10px; border-radius: 50%; background: #d9534f; flex: none; }
.open-badge.is-open .open-badge__dot { background: #2fb457; box-shadow: 0 0 0 0 rgba(47, 180, 87, .6); animation: wh-pulse 2s infinite; }
@keyframes wh-pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 180, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 180, 87, 0); } }

/* ---------- Enquiry form ---------- */

.enquiry { display: grid; gap: 18px; }
.enquiry__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { margin: 0; display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font-size: 1rem;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-field);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.enquiry__small { margin: 0; font-size: .875rem; color: var(--fg-muted); }
.enquiry__error { margin: 0; padding: 14px 16px; border-radius: var(--radius-field); background: color-mix(in oklab, #d9534f 14%, var(--surface)); border: 1px solid #d9534f; }

/* ---------- Where does it hurt? ---------- */

.picker-section__grid { display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.picker-section__grid .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .picker-section__grid { grid-template-columns: 1fr; } }
.picker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(18px, 2.4vw, 32px); min-width: 0; }
.picker__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.picker__tab {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent;
  cursor: pointer; font-weight: 600; font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.picker__tab:hover { border-color: var(--fg); }
.picker__tab:active { transform: scale(.96); }
.picker__tab[aria-selected='true'] { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.picker__lead { color: var(--fg-muted); margin-bottom: 12px; }
.picker__list { display: grid; gap: 10px; }
.picker__item {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: var(--bg-2); text-decoration: none; transition: background-color .25s, color .25s, transform .35s var(--ease);
}
.picker__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; min-width: 0; }
.picker__price { margin-left: auto; font-size: .9rem; opacity: .8; white-space: nowrap; }
.picker__item:hover { background: var(--accent); color: var(--accent-fg); transform: translateX(4px); }
.picker__note { margin: 18px 0 0; font-size: .92rem; color: var(--fg-muted); }

/* ---------- Products ---------- */

.products { padding-block: clamp(40px, 5vw, 72px); }
.product-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px; }
.product__media { aspect-ratio: 1; border-radius: calc(var(--radius-card) - 10px); overflow: hidden; background: #fff; margin-bottom: 14px; }
.product__media img { width: 100%; height: 100%; object-fit: contain; }
.product__name { font-size: 1.1rem; margin-bottom: .2em; }
.product__price { margin: 0; font-weight: 700; color: var(--accent-text, var(--accent)); }

/* ---------- CTA band and footer ---------- */

.cta-band { background: var(--inverse-bg); color: var(--inverse-fg); padding-block: clamp(56px, 8vw, 112px); position: relative; overflow: hidden; }
.cta-band__inner { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; position: relative; }
.cta-band__title { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 5rem); letter-spacing: -.03em; }
.cta-band__text p { max-width: 34rem; opacity: .85; font-size: 1.1rem; }
.cta-band__actions { display: grid; gap: 12px; justify-items: stretch; }
.cta-band .btn--ghost { --btn-fg: var(--inverse-fg); border-color: color-mix(in oklab, var(--inverse-fg) 35%, transparent); }
.cta-band .btn--ghost:hover { border-color: var(--inverse-fg); }
.cta-band .open-badge { background: color-mix(in oklab, var(--inverse-fg) 10%, transparent); border-color: color-mix(in oklab, var(--inverse-fg) 25%, transparent); color: inherit; }
@media (max-width: 800px) { .cta-band__inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--footer-bg, var(--bg-2)); color: var(--footer-fg, var(--fg)); padding-block: clamp(48px, 6vw, 88px) 28px; font-size: .95rem; }
.site-footer__grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
.site-footer__logo img { height: 64px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 24rem; opacity: .8; }
.site-footer__heading { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; opacity: .7; font-weight: 600; }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(32px, 5vw, 64px); padding-top: 24px; border-top: 1px solid color-mix(in oklab, currentColor 16%, transparent); font-size: .875rem; opacity: .85; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 20px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
/* Content is hidden for the entrance animation only when scripting and motion are both available.
   core.js adds .no-motion if GSAP fails to load, so nothing can stay invisible. */

@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-motion) [data-reveal] { opacity: 0; transform: translateY(28px); }
  .js:not(.no-motion) [data-split] { visibility: hidden; }
}
/* The reveal masks clip to the line box. Tight display leading would cut the tails off g, y, p and j
   while a heading animates in, so each mask gets room below (and a little above) that is taken back
   with a negative margin. core.js removes the masks altogether once the heading has landed. */
.split-line-mask, .split-word-mask { padding-block: .12em .24em; margin-block: -.12em -.24em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .mobile-menu, .cta-band, .theme-toggle { display: none !important; }
  [data-reveal], [data-split] { opacity: 1 !important; transform: none !important; visibility: visible !important; }
}

/* ---------- Cookie consent ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.consent[hidden] { display: none; }
.consent__text { flex: 1 1 280px; margin: 0; font-size: .95rem; line-height: 1.45; }
.consent__actions { display: flex; gap: 10px; flex: none; }
.consent .btn { min-height: 44px; padding-inline: 1.2em; }
