/* Whit Fitness — site styles
   Brand tokens match the live site; see the v3 block at the end. */

@font-face { font-family: "Bebas Neue"; src: url("/assets/fonts/bebas-neue.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --ink: #17201a;        /* pine ink: text, dark panels */
  --ink-2: #223026;      /* raised dark surface */
  --forest: #385438;     /* logo green: links, buttons, motif */
  --forest-deep: #2a412b;
  --chalk: #edf1ec;      /* page background, cool grey-green */
  --paper: #f8faf6;      /* raised light surface */
  --moss: #d6e2cf;       /* pale tint for bands and image wells */
  --muted: #4a5a4e;      /* secondary text, 7:1 on chalk */
  --line: rgba(23, 32, 26, 0.16);
  --lime: #c8f04a;       /* tiny highlight only */

  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Inter Tight", Helvetica, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.125rem;    /* 18px body */
  --step-1: 1.375rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-3: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.2rem + 5.6vw, 5.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .board :focus-visible { outline-color: var(--lime); }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-stretch: 112%; line-height: 1.15; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 40ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  font: 700 1rem/1.2 var(--body);
  border-radius: var(--radius); border: 2px solid var(--forest);
  background: var(--forest); color: #fff; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 241, 236, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.wordmark {
  display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem; line-height: 0.95;
  letter-spacing: 0.01em; flex-shrink: 0;
}
.wordmark:hover { color: var(--ink); }
.wordmark .w { color: var(--forest); }
.wordmark small { font-family: var(--body); font-weight: 500; font-size: 0.66rem; letter-spacing: 0; margin-top: 0.3rem; color: var(--muted); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.5rem 0.6rem; border-radius: 4px; white-space: nowrap;
}
.nav a:hover { background: var(--moss); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--forest); border-radius: 0; }
.header-cta { margin-left: 0.5rem; min-height: 44px; padding-block: 0.5rem; }
.menu-btn {
  display: none; margin-left: auto; min-height: 44px; padding: 0.5rem 0.9rem;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: 700 1rem var(--body); border-radius: var(--radius); cursor: pointer; align-items: center; gap: 0.5rem;
}
.menu-btn .bars { width: 18px; height: 12px; position: relative; border-top: 2px solid; border-bottom: 2px solid; }
.menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
.mobile-nav { display: none; }

@media (max-width: 1120px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav[data-open="true"] { display: block; }
  .mobile-nav { border-top: 1px solid var(--line); background: var(--chalk); padding: 0.5rem 0 1.5rem; max-height: calc(100vh - 72px); overflow-y: auto; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav a { display: block; padding: 0.8rem 0; color: var(--ink); font-weight: 600; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav a[aria-current="page"] { color: var(--forest); }
  .mobile-nav .btn { margin-top: 1.25rem; width: 100%; color: #fff; border-bottom: 2px solid var(--forest); }
}

/* ---------- Motif: the logo's diagonal stroke with rungs ---------- */
.rule {
  position: relative; height: 34px; margin-block: 0;
  background: linear-gradient(var(--line), var(--line)) left 50% / 100% 1px no-repeat;
}
.rule::before {
  content: ""; position: absolute; left: var(--gutter); top: 0; width: 22px; height: 34px;
  background:
    linear-gradient(to right, var(--forest), var(--forest)) 0 10px / 22px 3px no-repeat,
    linear-gradient(to right, var(--forest), var(--forest)) 4px 22px / 22px 3px no-repeat;
}
.rule::after {
  content: ""; position: absolute; left: calc(var(--gutter) + 2px); top: -4px; width: 4px; height: 44px;
  background: var(--forest); transform: rotate(-34deg); transform-origin: center;
}
.rule-wrap { max-width: var(--max); margin-inline: auto; }

.stroke-art { position: absolute; pointer-events: none; color: var(--forest); }
.stroke-art line { stroke: currentColor; stroke-linecap: butt; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 1rem + 6.2vw, 6rem); line-height: 0.95; margin-bottom: 0.4em; }
.hero h1 .line { display: block; }
.hero .stroke-art { right: -6%; top: -10%; width: min(46vw, 640px); height: 130%; opacity: 0.9; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.98rem; color: var(--muted); }
.hero-meta strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .stroke-art { display: none; }
}

/* ---------- Today board ---------- */
.board {
  background: var(--ink); color: #eef2ec; border-radius: 10px;
  padding: clamp(1.25rem, 3vw, 1.75rem); position: relative;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 48px -28px rgba(23,32,26,.55);
}
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
.board h2 { font-size: 1.5rem; margin: 0; color: #fff; }
.board-day { color: #b9c6bb; font-size: 0.95rem; }
.board ol { list-style: none; padding: 0; margin: 0; }
.board li {
  display: grid; grid-template-columns: 5.2rem 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.7rem 0 0.7rem 0.9rem; border-top: 1px solid rgba(238,242,236,.12); position: relative;
}
.board li::before { content: ""; position: absolute; left: 0; top: 0.75rem; bottom: 0.75rem; width: 3px; background: rgba(238,242,236,.18); border-radius: 2px; }
.board .t { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; }
.board .p { font-weight: 600; }
.board .c { color: #b9c6bb; font-size: 0.9rem; text-align: right; }
.board li.is-next::before { background: var(--lime); width: 5px; }
.board li.is-now::before { background: #8fb08a; }
.board .tag { display: inline-block; margin-left: 0.5rem; padding: 0.05rem 0.45rem; border-radius: 3px; font-size: 0.75rem; font-weight: 700; vertical-align: 0.1em; }
.board li.is-next .tag { background: var(--lime); color: var(--ink); }
.board li.is-now .tag { background: transparent; color: #cfe0cb; border: 1px solid #8fb08a; }
.board-foot { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(238,242,236,.12); font-size: 0.92rem; color: #b9c6bb; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; }
.board a { color: #fff; }
.board a:hover { color: var(--lime); }
.board-empty { padding: 0.75rem 0; color: #cfd8cf; }
@media (max-width: 420px) {
  .board li { grid-template-columns: 4.6rem 1fr; }
  .board .c { grid-column: 2; text-align: left; margin-top: -0.4rem; }
}

/* ---------- Program rows ---------- */
.programs { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 2px solid var(--ink); }
.program-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.9fr) 132px;
  gap: 1.5rem; align-items: center; padding-block: 1.5rem; border-bottom: 1px solid var(--line); position: relative;
}
.program-row h3 { font-size: clamp(1.4rem, 1rem + 1.3vw, 2rem); font-stretch: 125%; margin: 0; }
.program-row h3 a { color: var(--ink); text-decoration: none; }
.program-row h3 a::after { content: ""; position: absolute; inset: 0; }
.program-row:hover h3 a { color: var(--forest); }
.program-row:hover { background: linear-gradient(90deg, var(--paper), transparent); }
.program-row p { margin: 0; }
.program-when { font-size: 0.95rem; color: var(--muted); }
.program-when strong { display: block; color: var(--ink); font-weight: 600; }
.program-row img { width: 132px; height: 88px; object-fit: cover; border-radius: 4px; background: var(--moss); }
@media (max-width: 900px) {
  .program-row { grid-template-columns: minmax(0, 1fr) 96px; gap: 0.5rem 1rem; }
  .program-row h3 { grid-column: 1; }
  .program-row img { grid-column: 2; grid-row: 1 / span 3; width: 96px; height: 96px; align-self: start; }
  .program-row > p, .program-when { grid-column: 1; }
}

/* ---------- Start strip ---------- */
.dark { background: var(--ink); color: #e9efe8; }
.dark h2, .dark h3 { color: #fff; }
.dark a { color: #fff; }
.dark .muted { color: #b9c6bb; }
.start-strip { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: start; }
.paths { list-style: none; padding: 0; margin: 0; }
.paths li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid rgba(238,242,236,.14); align-items: baseline; }
.paths li:last-child { border-bottom: 1px solid rgba(238,242,236,.14); }
.paths .prog { font-family: var(--display); font-stretch: 112%; font-weight: 700; color: #fff; }
.paths a { font-weight: 600; }
@media (max-width: 800px) {
  .start-strip { grid-template-columns: 1fr; }
  .paths li { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ---------- Facility ---------- */
.facility { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.kit { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.kit li { padding: 1rem 0.75rem 1rem 0; border-bottom: 1px solid var(--line); }
.kit b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: var(--forest); }
.kit span { font-size: 0.98rem; }
.photo { border-radius: 8px; overflow: hidden; background: var(--moss); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 3 / 2; }
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.rooms h3 { margin-bottom: 0.35rem; }
.rooms p { font-size: 1rem; }
@media (max-width: 900px) {
  .facility { grid-template-columns: 1fr; }
  .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms { grid-template-columns: 1fr; }
}

/* ---------- Shop ---------- */
.products { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.product a { text-decoration: none; color: var(--ink); display: block; }
.product .img { aspect-ratio: 1; background: var(--paper); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.product img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product a:hover img { transform: scale(1.03); }
.product h3 { font-family: var(--body); font-stretch: 100%; font-weight: 600; font-size: 1.02rem; line-height: 1.35; margin: 0.8rem 0 0.15rem; letter-spacing: 0; }
.product a:hover h3 { text-decoration: underline; color: var(--forest); }
.product .price { color: var(--muted); font-variant-numeric: tabular-nums; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.section-head h2 { margin-bottom: 0.2em; }
.section-head p { margin: 0; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; } }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
.address { font-style: normal; font-size: var(--step-1); line-height: 1.45; margin-bottom: 1rem; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 0.85rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .k { color: var(--muted); font-size: 0.95rem; padding-top: 0.1rem; }
@media (max-width: 800px) {
  .location { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem); }
.page-hero .stroke-art { right: -4%; top: -20%; width: min(34vw, 420px); height: 150%; opacity: 0.55; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 1rem + 4.6vw, 4.6rem); line-height: 0.98; }
.page-hero .photo { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .stroke-art { display: none; }
}
.crumbs { font-size: 0.9rem; margin-bottom: 1.25rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); color: #93a096; }
.crumbs a { color: var(--muted); }

.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin-top: 0; }
.keyfacts div { padding: 1.1rem 1.25rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.keyfacts dt { font-size: 0.9rem; color: var(--muted); }
.keyfacts dd { margin: 0.2rem 0 0; font-weight: 600; font-size: 1.08rem; line-height: 1.4; }
.keyfacts dd span { display: block; font-weight: 400; color: var(--muted); font-size: 0.95rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.75rem 4rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -0.1rem;
  font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--forest);
}
.steps li::after { content: ""; position: absolute; left: 1rem; top: 2.6rem; bottom: 0.6rem; width: 2px; background: var(--moss); transform: skewX(-20deg); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.3rem; }
.steps p { margin: 0; }

.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 2rem; }
.blocks > div { padding: 1.25rem 0; border-top: 2px solid var(--ink); }
.blocks h3 { margin-bottom: 0.4rem; }
.blocks p { font-size: 1.02rem; margin: 0; }

.band { background: var(--moss); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin: 0 0 0.3rem; font-size: var(--step-2); }
.cta-band p { margin: 0; }

.price-list { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 2px solid var(--ink); }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.price-list .name { font-weight: 600; }
.price-list .amt { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-list .amt small { font-family: var(--body); font-weight: 500; font-size: 0.9rem; color: var(--muted); }
.price-list .amt.small { font-family: var(--body); font-stretch: 100%; font-size: 1rem; font-weight: 600; }
.price-list .note { grid-column: 1 / -1; font-size: 0.95rem; color: var(--muted); }

/* ---------- Schedule ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.filters button {
  min-height: 44px; padding: 0.45rem 0.95rem; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font: 600 0.95rem var(--body); cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filters .sw { width: 10px; height: 10px; border-radius: 2px; }
.sched-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.92rem; }
.sched-table th, .sched-table td { border: 1px solid var(--line); vertical-align: top; padding: 0.4rem; }
.sched-table thead th { background: var(--ink); color: #fff; font-weight: 700; padding: 0.7rem 0.4rem; text-align: left; border-color: var(--ink); }
.sched-table tbody th { width: 6.5rem; text-align: left; font-variant-numeric: tabular-nums; font-weight: 700; background: var(--paper); white-space: nowrap; }
.sched-table td { background: var(--paper); }
.sched-table thead th.today { box-shadow: inset 0 -4px 0 var(--lime); }
.sched-table td.today { background: #f1f6ee; }
.chip { display: block; padding: 0.35rem 0.5rem 0.4rem; border-radius: 4px; margin-bottom: 0.3rem; line-height: 1.25; border-left: 4px solid; }
.chip:last-child { margin-bottom: 0; }
.chip b { display: block; font-weight: 700; }
.chip span { display: block; font-size: 0.82rem; color: var(--muted); }
.k-crossfit { --k: #385438; background: #e3ebdf; border-color: #385438; }
.k-hyrox { --k: #17201a; background: #dfe3df; border-color: #17201a; }
.k-vitality { --k: #7a6a1f; background: #f0ecd8; border-color: #8c7a22; }
.k-lift { --k: #4b6e7a; background: #dfe9ec; border-color: #4b6e7a; }
.k-youth { --k: #6a4f7a; background: #ebe3ee; border-color: #6a4f7a; }
.k-open { --k: #8a958c; background: transparent; border-color: #a3ada5; border-left-style: dashed; }
.k-childcare { --k: #a3ada5; background: transparent; border-color: #c3cbc4; border-left-style: dotted; }
.filters .sw { background: var(--k); }
.sched-days { display: none; }
.sched-days section { padding: 1.25rem 0; border-top: 2px solid var(--ink); }
.sched-days h3 { margin-bottom: 0.6rem; }
.sched-days ul { list-style: none; padding: 0; margin: 0; }
.sched-days li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; padding: 0.5rem 0 0.5rem; border-bottom: 1px solid var(--line); align-items: start; }
.sched-days li .chip { margin: 0; }
.sched-days .tm { font-weight: 700; font-variant-numeric: tabular-nums; padding-top: 0.35rem; }
.sched-days section.today h3::after { content: "Today"; margin-left: 0.6rem; font-family: var(--body); font-stretch: 100%; font-size: 0.8rem; font-weight: 700; background: var(--lime); color: var(--ink); padding: 0.1rem 0.45rem; border-radius: 3px; vertical-align: 0.35em; }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  .sched-table { display: none; }
  .sched-days { display: block; }
}

/* ---------- Coaches ---------- */
.coaches { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 3.5rem 4rem; }
.coach { display: grid; grid-template-columns: 140px 1fr; gap: 1.25rem; align-items: start; }
.coach .portrait { width: 140px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--moss); display: grid; place-items: center; }
.coach .portrait img { width: 100%; height: 100%; object-fit: cover; }
.coach .portrait svg { width: 56%; color: var(--forest); }
.coach h2 { font-size: 1.45rem; font-stretch: 112%; margin: 0 0 0.15rem; }
.coach .role { color: var(--forest); font-weight: 600; margin: 0 0 0.6rem; font-size: 0.98rem; }
.coach p { font-size: 0.99rem; margin: 0 0 0.5rem; }
.coach dl { margin: 0.6rem 0 0; font-size: 0.95rem; display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.75rem; }
.coach dt { color: var(--muted); }
.coach dd { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-weight: 700; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 1.45rem; width: 12px; height: 12px; border-right: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq .answer { padding: 0 0 1.25rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Vitality: larger, calmer reading ---------- */
.vitality-page { font-size: 1.1875rem; line-height: 1.65; }
.vitality-page .lede { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); }
.vitality-page .btn { min-height: 54px; font-size: 1.1rem; padding-inline: 1.6rem; }
.vitality-page .blocks p { font-size: 1.12rem; }
.vitality-page .keyfacts dt { font-size: 1rem; }
.vitality-page .keyfacts dd { font-size: 1.2rem; }
.vitality-page .keyfacts dd span { font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d5ddd4; padding-block: 3.5rem 2rem; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--body); font-stretch: 100%; font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 0.75rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-mark { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.footer-mark svg { width: 40px; height: auto; color: #8fb08a; }
.footer-mark .wordmark { color: #fff; }
.footer-mark .wordmark .w { color: #8fb08a; }
.footer-base { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.9rem; color: #a9b6ab; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; position: relative; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 480px) {
  .coach { grid-template-columns: 1fr; }
  .coach .portrait { width: 160px; }
}

/* ---------- v2: section tones, program lift, home FAQ ---------- */
.tone-paper { background: var(--paper); }
.programs { border-top: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.program-row {
  border: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 10px;
  padding: 1.25rem 1.5rem; background: var(--paper);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tone-paper .program-row { background: #fff; }
.program-row:hover, .program-row:focus-within {
  background: #fff; transform: translateY(-4px); border-color: transparent;
  box-shadow: 0 14px 28px -12px rgba(23, 32, 26, .28), 0 4px 10px -4px rgba(23, 32, 26, .12);
}
@media (prefers-reduced-motion: reduce) { .program-row:hover, .program-row:focus-within { transform: none; } }
.btn-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-lime:hover { background: #d8f77a; border-color: #d8f77a; color: var(--ink); }
.dark .btn-lime, .dark .btn-lime:hover { color: var(--ink); }
.onramp-cta { margin-top: 1rem; color: #e9efe8; }
.onramp-cta a { color: var(--lime); font-weight: 600; }
.faq-home { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 2rem 4rem; align-items: start; }
.faq-home .btn { margin-top: 0.5rem; }
@media (max-width: 860px) { .faq-home { grid-template-columns: 1fr; } }
.paths .btn-path { background: transparent; color: #fff; border: 1.5px solid #e9efe8; padding: .55rem 1rem; font-size: .95rem; text-decoration: none; margin-right: .5rem; }
.paths .btn-path:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.paths li .muted { display: block; margin-top: .4rem; }
.paths li { align-items: center; }
.board li .cover { position: absolute; inset: 0; z-index: 1; border-radius: 4px; }
.board li { transition: background .15s ease; }
.board li:hover, .board li:focus-within { background: rgba(238,242,236,.07); }
.board li:hover .p, .board li:focus-within .p { color: var(--lime); }
.board li .cover:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }

/* =========================================================================
   v3: BRAND ALIGNMENT. Matches the live crossfitevviva.com styles
   (see the "Whit Fitness" brand panel): olive #394224, ink #110E0E, white,
   stone #D2D2D0, graphite #333333; Bebas Neue display, Inter Tight body/UI
   (stand-in for Aktiv Grotesk); square corners everywhere.
   ========================================================================= */
:root {
  --ink: #110e0e;
  --ink-2: #1e1a1a;
  --forest: #394224;       /* olive: brand */
  --forest-deep: #262c18;
  --chalk: #ffffff;        /* page ground */
  --paper: #d2d2d0;        /* stone sections */
  --moss: #d2d2d0;         /* image wells */
  --muted: #333333;        /* graphite */
  --line: rgba(17, 14, 14, 0.18);
  --lime: #c8f04a;         /* social accent: only on ink */
  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --body: "Inter Tight", aktiv-grotesk, Helvetica, Arial, sans-serif;
  --radius: 0;
  --step-0: 1.0625rem;
  --step-1: 1.75rem;
  --step-2: clamp(2.1rem, 1.6rem + 2vw, 3rem);
  --step-3: clamp(2.6rem, 1.8rem + 3.4vw, 4.25rem);
  --step-4: clamp(3.4rem, 2rem + 6vw, 7rem);
}
body { line-height: 1.75; }

/* Display: Bebas is one weight, all caps by design */
h1, h2, h3, .program-row h3, .coach h2, .paths .prog, .kit b, .price-list .amt, .wordmark {
  font-family: var(--display); font-weight: 400; font-stretch: normal; letter-spacing: 0.01em;
}
h1 { line-height: 0.92; }
h2 { line-height: 0.95; }
h3 { line-height: 1; }
.program-row h3 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem); }
.paths .prog { font-size: 1.35rem; }
.wordmark { font-size: 1.45rem; line-height: 0.88; }
.product h3, .site-footer h2, .price-list .amt small, .price-list .amt.small, .wordmark small, .sched-days section.today h3::after {
  font-family: var(--body); font-weight: 600; letter-spacing: 0;
}
.faq summary { font-family: var(--body); font-weight: 600; }

/* Buttons: olive primary, white secondary, square, Inter Tight 500 */
.btn {
  font: 500 1rem/1.2 var(--body); padding: 1.2em 2em; border-width: 2px;
  background: var(--forest); border-color: var(--forest); color: #fff; letter-spacing: 0;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: #000; border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.header-cta { padding: 0.8em 1.4em; }
.dark .btn-lime, .btn-lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #fff; border-color: #fff; color: var(--ink); }
.paths .btn-path { background: transparent; color: #fff; border-color: #fff; padding: 0.75em 1.25em; }
.paths .btn-path:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Section rhythm: white, stone, ink */
.tone-paper { background: var(--paper); }
.band { background: #fff; }
.program-row, .tone-paper .program-row { background: #fff; border-color: transparent; }
.program-row:hover, .program-row:focus-within { background: #fff; }
.hero .stroke-art { color: var(--forest); }
:root { --step-1: 1.25rem; }
h3 { font-size: 1.75rem; }
.site-header { background: rgba(255, 255, 255, 0.96); border-bottom-color: var(--line); }
.hero h1 { font-size: clamp(3.4rem, 1.4rem + 7.6vw, 7.5rem); line-height: 0.9; }
.page-hero h1 { font-size: clamp(3rem, 1.4rem + 5.6vw, 6rem); line-height: 0.92; }
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.6; }
.vitality-page .lede { font-size: clamp(1.2rem, 1.1rem + 0.6vw, 1.45rem); }
/* FAQ chevron: rotate only, synced with the JS open/close */
.faq summary::after { top: 1.55rem; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.faq details[open] summary::after { top: 1.55rem; }
.faq details.is-open summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details:not(.is-open) summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* =========================================================================
   v4: LIVELIER + SOFTER. Same brand (olive, Bebas), more energy:
   sage-tinted sections, a brighter olive for hover/accents, lime used as
   the action color on olive and ink, rounded corners throughout.
   ========================================================================= */
:root {
  --olive-bright: #5a6a2c;   /* hovers, accents on white */
  --sage: #eef1e4;           /* light sections (replaces flat stone) */
  --sage-2: #e1e7cf;         /* image wells, chips */
  --paper: var(--sage);
  --moss: var(--sage-2);
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --radius: var(--r-sm);
}
/* corners */
.btn { border-radius: var(--r-pill); }
.board { border-radius: var(--r-lg); overflow: hidden; }
.board .tag, .board li .cover { border-radius: 6px; }
.program-row { border-radius: var(--r-md); }
.program-row img, .photo, .product .img, .coach .portrait { border-radius: var(--r-md); }
.chip, .filters .sw { border-radius: 6px; }
.filters button, .filters .f { border-radius: var(--r-pill); }
:focus-visible { border-radius: 6px; }
.faq details { border-radius: 0; }
input, select, textarea { border-radius: var(--r-sm); }
.site-header .nav a { border-radius: var(--r-sm); }

/* color energy */
a { color: var(--olive-bright); }
.btn:hover { background: var(--olive-bright); border-color: var(--olive-bright); color: #fff; }
.btn-ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.hero .stroke-art { color: var(--lime); opacity: 1; }
.hero { background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--sage) 100%); }
.tone-paper { background: var(--sage); }
.program-row { background: #fff; border: 1.5px solid transparent; box-shadow: 0 1px 0 rgba(17,14,14,.04); }
.program-row:hover, .program-row:focus-within { border-color: var(--forest); }
.program-row:hover h3 a { color: var(--forest); }
.program-when strong { color: var(--forest); }

/* the "New here?" band goes olive with lime actions */
section.dark[aria-labelledby="start-title"] { background: var(--forest); }
section.dark[aria-labelledby="start-title"] .paths li { border-color: rgba(255,255,255,.18); }
.paths .btn-path { border-color: rgba(255,255,255,.75); }
.paths .btn-path:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #fff; border-color: #fff; }
.onramp-cta a { color: var(--lime); }

/* section titles get a small lime rule */
.section h2::after, .page-hero h1::after {
  content: ""; display: block; width: 56px; height: 6px; margin-top: .35em;
  background: var(--lime); border-radius: var(--r-pill);
}
.dark h2::after { background: var(--lime); }
.board h2::after, .site-footer h2::after, .faq-home h2::after { display: none; }
.faq-home h2::after { display: block; }
.page-hero .stroke-art { color: var(--olive-bright); opacity: .85; }
.sched-table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.sched-table thead th { background: var(--forest); border-color: var(--forest); }
.sched-table td, .sched-table tbody th { background: #fff; }
.sched-table td.today { background: var(--sage); }
.sched-days section { border-top: 2px solid var(--forest); }
.price-list li, .price-card, .card { border-radius: var(--r-md); }
.band { background: var(--sage); }
/* hero fade: white into a deeper olive mist, carried into the programs section */
:root { --olive-mist: #d3dab6; }
.hero { background: linear-gradient(180deg, #fff 0%, #fff 40%, var(--olive-mist) 100%); }
#programs.tone-paper { background: linear-gradient(180deg, var(--olive-mist) 0, var(--sage) 320px, var(--sage) 100%); }
#programs.tone-paper { background: var(--olive-mist); }
/* one continuous fade: white (hero) -> olive (New here band) */
:root { --fade-mid: #e4e9d3; }
.hero { padding-bottom: clamp(1.25rem, 2.5vw, 2.25rem); background: linear-gradient(180deg, #fff 0%, #fff 35%, var(--fade-mid) 100%); }
#programs.tone-paper {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, var(--fade-mid) 0%, var(--olive-mist) 30%, #8a9564 72%, var(--forest) 100%);
}
#programs .muted { color: var(--ink); }
#programs.tone-paper { padding-bottom: clamp(2rem, 4vw, 3rem); }
section.dark[aria-labelledby="start-title"] { padding-top: clamp(2rem, 4vw, 3.5rem); }
/* hero CTA row: tighter */
.hero .btn-row { gap: 0.5rem; margin-top: 1.25rem; }
.hero .btn-row .btn { padding: 0.85em 1.4em; }
.hero-meta { margin-top: 1rem; padding-top: 0.75rem; }
.hero h1 { margin-bottom: 0.22em; }
#mobile-nav .btn { display: flex; justify-content: center; padding: 1em 1.4em; margin-top: 1rem; }
/* real photos */
.page-hero .photo { aspect-ratio: 4 / 5; max-height: 620px; }
.page-hero .photo.landscape { aspect-ratio: 4 / 3; max-height: none; }
.page-hero .photo img, .photo img { width: 100%; height: 100%; object-fit: cover; }
.program-row img { object-fit: cover; }
.hero-visual { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 18% 40%; border-radius: var(--r-lg); display: block; box-shadow: 0 24px 50px -24px rgba(17,14,14,.45); }
.hero-visual .board { position: relative; margin: -7.5rem 0 0 2.5rem; box-shadow: 0 24px 48px -18px rgba(17,14,14,.55); }
@media (max-width: 900px) {
  .hero-photo { aspect-ratio: 4 / 3; object-position: 22% 35%; }
  .hero-visual .board { margin: -3.5rem 0.75rem 0; }
}
.hero-photo { object-position: 60% 35%; }
@media (max-width: 900px) { .hero-photo { object-position: 55% 30%; } }
.program-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.9fr) 150px; }
.program-row img { width: 150px; height: 120px; object-position: 50% 22% !important; }
@media (max-width: 900px) { .program-row { grid-template-columns: minmax(0, 1fr) 104px; } .program-row img { width: 104px; height: 120px; } }
.hero-meta .rating { color: var(--ink); text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.hero-meta .rating:hover strong { text-decoration: underline; }
.hero-meta .stars { color: #e3a008; letter-spacing: .05em; }
.foot-hours { font-size: .92rem; color: #cfd8cf; margin: .5rem 0; line-height: 1.6; }
/* v5: Google review carousel */
.reviews-sec{background:linear-gradient(180deg,#fff 0%,var(--sage,#EEF1E4) 100%)}
.reviews-sec .section-head{align-items:end}
.reviews-sec .muted .stars,.review .stars{color:#e3a008;letter-spacing:.08em}
.rev-ctrl{display:flex;gap:.5rem}
.rev-btn{width:44px;height:44px;border-radius:999px;border:2px solid var(--forest);background:#fff;color:var(--forest);font:700 1.5rem/1 var(--body);cursor:pointer;display:grid;place-items:center;transition:background .2s,color .2s,transform .2s}
.rev-btn:hover{background:var(--forest);color:#fff;transform:translateY(-1px)}
.reviews{list-style:none;margin:1.25rem 0 1.5rem;padding:.25rem .25rem 1rem;display:grid;grid-auto-flow:column;grid-auto-columns:min(86%,380px);gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:thin}
.reviews:focus-visible{outline:2px solid var(--forest);outline-offset:4px;border-radius:14px}
.review{scroll-snap-align:start}
.review figure{margin:0;height:100%;display:flex;flex-direction:column;gap:.75rem;background:#fff;border:1px solid var(--line);border-radius:22px;padding:1.4rem 1.4rem 1.2rem;box-shadow:0 6px 20px -12px rgba(17,14,14,.25)}
.review blockquote{margin:0;flex:1}
.review blockquote p{margin:0;font-size:1rem;line-height:1.55;color:var(--ink)}
.review figcaption{display:flex;flex-direction:column;gap:.1rem;font-size:.9rem;border-top:1px solid var(--line);padding-top:.75rem}
.review figcaption span{color:var(--muted);font-size:.82rem}
@media (max-width:640px){.rev-ctrl{display:none}}
.reviews{mask-image:linear-gradient(90deg,#000 88%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent)}.reviews.at-end{mask-image:none;-webkit-mask-image:none}
