/* Granite Training House: concept demo by Prime Studio
   Art direction: quarried stone. Warm limestone paper, granite ink, one laterite accent.
   Type: Archivo (variable width) for display and text, JetBrains Mono for data. */

:root {
  --paper: #F2EEE7;
  --paper-2: #E8E2D8;
  --paper-3: #DDD5C8;
  --ink: #1B1A18;
  --ink-2: #262421;
  --ink-3: #34312D;
  --muted: #5A554D;
  --line: #CFC6B8;
  --acc: #B23F14;
  --acc-deep: #93330F;
  --acc-on-dark: #F0875A;
  --on-dark: #F2EEE7;
  --on-dark-muted: #A9A398;
  --ok: #2F5D3A;

  --f-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --gutter: 16px;
  --max: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .ribbon :focus-visible, .site-footer :focus-visible { outline-color: var(--acc-on-dark); }

[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 16px; text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- demo ribbon ---------- */
.ribbon {
  background: var(--ink);
  color: var(--on-dark);
  font: 500 13px/1.35 var(--f-mono);
  letter-spacing: .01em;
  text-align: center;
  padding: 0 var(--gutter);
}
.ribbon p { min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 10px; padding: 6px 0; }
.ribbon a {
  color: var(--acc-on-dark); font-weight: 600; text-underline-offset: 3px;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
}
.ribbon a:hover { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(242, 238, 231, .96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand svg { height: 26px; width: auto; }
@media (min-width: 768px) { .brand svg { height: 30px; } }
.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 600; font-size: 15px; border-radius: var(--radius);
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--acc); border-radius: 0; }
.nav .btn { margin-left: 10px; }
@media (min-width: 960px) { .nav { display: block; } }

.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px;
  background: transparent; border: 1.5px solid var(--ink); border-radius: var(--radius); font-weight: 700; font-size: 15px; cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 960px) { .menu-btn { display: none; } }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { padding: 8px var(--gutter) 20px; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  text-decoration: none; font-weight: 700; font-size: 22px; font-variation-settings: 'wdth' 112;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a[aria-current="page"] { color: var(--acc); }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink); --t: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--b); color: var(--t); border: 1.5px solid var(--b); border-radius: var(--radius);
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);
}
.btn:hover { --b: var(--ink-3); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-acc { --b: var(--acc); --t: #fff; }
.btn-acc:hover { --b: var(--acc-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.dark .btn-ghost { color: var(--on-dark); border-color: var(--on-dark); }
.dark .btn-ghost:hover { background: var(--on-dark); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--acc);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- type helpers ---------- */
.eyebrow {
  font: 600 12.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--acc); }
.dark .eyebrow { color: var(--on-dark-muted); }
.display {
  font-variation-settings: 'wdth' 125; font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 11vw, 64px); line-height: .9; letter-spacing: -0.035em;
}
.h2 { font-variation-settings: 'wdth' 118; font-size: clamp(32px, 5.4vw, 64px); line-height: .96; letter-spacing: -0.03em; }
.h3 { font-variation-settings: 'wdth' 110; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.08; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 40ch; }
.dark .lede { color: var(--on-dark-muted); }
.mono { font-family: var(--f-mono); }
.accent { color: var(--acc); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.dark { background: var(--ink); color: var(--on-dark); position: relative; isolation: isolate; }
.dark.granite::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('/granite.svg') repeat; background-size: 220px; filter: invert(1); opacity: .5;
}
.granite-bg { background: var(--paper-2) url('/granite.svg') repeat; background-size: 220px; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; padding-bottom: 8px; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--acc); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--paper-3); }
@media (min-width: 960px) { .hero-figure img { aspect-ratio: auto; height: 100%; min-height: 560px; } }
.hero-figure figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: flex; justify-content: space-between; gap: 12px;
  font: 500 12px/1.3 var(--f-mono); color: var(--paper); text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink);
  margin-top: clamp(28px, 5vw, 56px);
}
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .facts > div { border-bottom: 0; } .facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); } }
.facts dt { font: 600 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-weight: 700; font-size: 17px; line-height: 1.3; }

/* ---------- today strip ---------- */
.today { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.today .wrap { display: grid; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
@media (min-width: 900px) { .today .wrap { grid-template-columns: 220px 1fr auto; align-items: center; gap: 28px; } }
.today-list { display: grid; gap: 10px; }
@media (min-width: 640px) { .today-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.today-item { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .today-item { border-top: 0; border-left: 2px solid var(--ink); padding: 4px 0 4px 14px; } }
.today-item .t { font: 700 15px/1.2 var(--f-mono); }
.today-item .n { font-weight: 700; }
.today-item .m { grid-column: 2; font-size: 14px; color: var(--muted); }

/* ---------- training styles (index list) ---------- */
.styles-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .styles-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.styles-photo { position: relative; margin: 0; }
.styles-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 960px) { .styles-photo { position: sticky; top: 100px; align-self: start; } }
.styles-photo figcaption { margin-top: 10px; font: 500 12.5px/1.4 var(--f-mono); color: var(--muted); }
.style-list { border-top: 1.5px solid var(--ink); counter-reset: s; }
.style-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .style-row { grid-template-columns: 64px minmax(0, 1fr) auto; } }
.style-row .num { font: 600 13px/1.6 var(--f-mono); color: var(--acc); }
.style-row h3 { font-variation-settings: 'wdth' 115; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.02em; }
.style-row p { grid-column: 2; color: var(--muted); max-width: 52ch; margin-top: 8px; }
.style-row .meta { grid-column: 2; font: 500 13px/1.4 var(--f-mono); color: var(--ink); margin-top: 10px; }
@media (min-width: 640px) { .style-row .meta { grid-column: 3; grid-row: 1; margin: 0; text-align: right; align-self: center; } }

/* ---------- coaches ---------- */
.coach-grid { display: grid; gap: 1px; background: var(--line-dark, #3A3733); border: 1px solid #3A3733; }
@media (min-width: 640px) { .coach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .coach-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.coach { background: var(--ink); padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.coach .mono-tile {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--radius);
  background: var(--ink-3); color: var(--on-dark);
  font-variation-settings: 'wdth' 125; font-weight: 800; font-size: 24px; letter-spacing: -0.02em;
}
.coach:nth-child(3n+1) .mono-tile { background: var(--acc); color: #fff; }
.coach h3 { font-variation-settings: 'wdth' 112; font-size: 24px; }
.coach .focus { font: 500 12.5px/1.4 var(--f-mono); color: var(--acc-on-dark); letter-spacing: .04em; text-transform: uppercase; }
.coach p { color: var(--on-dark-muted); font-size: 15.5px; }
.coach .teaches { margin-top: auto; font-size: 14px; color: var(--on-dark); border-top: 1px solid #3A3733; padding-top: 12px; }
.fineprint { font: 500 12.5px/1.5 var(--f-mono); color: var(--muted); }
.dark .fineprint { color: var(--on-dark-muted); }

/* ---------- space (photo grid) ---------- */
.space-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.space-grid figure { margin: 0; }
.space-grid img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--paper-3); }
.space-grid figcaption { margin-top: 8px; font: 500 12.5px/1.4 var(--f-mono); color: var(--muted); }
.space-grid .big { grid-column: 1 / -1; }
.space-grid .big img { aspect-ratio: 16 / 10; }
.space-grid .sq img { aspect-ratio: 1; }
@media (min-width: 900px) {
  .space-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  .space-grid .big { grid-column: 1 / 7; grid-row: 1 / 3; display: flex; flex-direction: column; }
  .space-grid .big img { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
  .space-grid .s1 { grid-column: 7 / 13; }
  .space-grid .s2 { grid-column: 7 / 10; }
  .space-grid .s3 { grid-column: 10 / 13; }
  .space-grid .s1 img { aspect-ratio: 16 / 9; }
}
.space-notes { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 768px) { .space-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.space-notes h3 { font-size: 19px; font-variation-settings: 'wdth' 108; margin-bottom: 6px; }
.space-notes p { color: var(--muted); font-size: 16px; }
.space-notes svg { width: 28px; height: 28px; margin-bottom: 12px; color: var(--acc); }

/* ---------- membership teaser + plans ---------- */
.teaser { display: grid; border-top: 1.5px solid var(--ink); }
@media (min-width: 900px) { .teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.teaser a {
  display: grid; gap: 6px; padding: 22px 0; text-decoration: none; border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .teaser a { padding: 26px 24px 28px; border-bottom: 0; } .teaser a + a { border-left: 1px solid var(--line); } .teaser a:first-child { padding-left: 0; } }
.teaser .p-name { font-variation-settings: 'wdth' 118; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.teaser .p-price { font: 600 15px/1.4 var(--f-mono); }
.teaser .p-desc { color: var(--muted); }
.teaser a:hover .p-name { color: var(--acc); }

/* ---------- stories ---------- */
.stories { display: grid; gap: 20px; }
@media (min-width: 900px) { .stories { grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; } }
.story { margin: 0; padding: 26px 24px; background: var(--paper-2); border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.story:first-child { background: var(--ink); color: var(--on-dark); }
.story blockquote { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 500; }
.story:first-child blockquote { font-size: clamp(21px, 2vw, 25px); font-variation-settings: 'wdth' 106; }
.story figcaption { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 2px 9px; border-radius: 99px;
  font: 600 11.5px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid currentColor; color: var(--muted);
}
.story:first-child .tag { color: var(--on-dark-muted); }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: grid; gap: 28px; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band .actions { justify-content: flex-end; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font: 600 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 12px; }
.site-footer p, .site-footer li { color: var(--on-dark); line-height: 1.6; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer a:hover { color: var(--acc-on-dark); }
.site-footer .foot-brand svg { height: 28px; width: auto; margin-bottom: 16px; }
.site-footer .muted { color: var(--on-dark-muted); }
.credit {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid #3A3733;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font: 500 12.5px/1.5 var(--f-mono); color: var(--on-dark-muted);
}
.credit a { color: var(--acc-on-dark); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); border-bottom: 1.5px solid var(--ink); }
.page-head .wrap { display: grid; gap: 20px; }
@media (min-width: 900px) { .page-head .wrap { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; } }
.page-head h1 { font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 84px); line-height: .92; letter-spacing: -0.035em; }

/* ---------- form controls ---------- */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); }
.input, .select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: #FBF9F5; border: 1.5px solid #8C857A; border-radius: var(--radius);
  font-size: 16px; transition: border-color .15s var(--ease);
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%231B1A18' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 20px;
}
.input:hover, .select:hover { border-color: var(--ink); }
.input:focus-visible, .select:focus-visible { outline: 3px solid var(--acc); outline-offset: 1px; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--acc); background: #FBF1EC; }
.error { color: var(--acc-deep); font-size: 14px; font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.error[hidden] { display: none; }
.error svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* segmented control (radio based) */
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 3px; gap: 3px; background: var(--paper); flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: 2px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background-color .15s var(--ease), color .15s var(--ease);
}
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.seg label:hover input:not(:checked) + span { background: var(--paper-2); }
.seg .save { font: 600 11.5px/1 var(--f-mono); color: var(--acc); padding: 0; min-height: 0; }
.seg input:checked + span .save { color: var(--acc-on-dark); }

/* ---------- timetable ---------- */
.tt-layout { display: grid; gap: 28px; padding: 32px 0 96px; }
@media (min-width: 1100px) { .tt-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; } }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 20px; }
.day-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 64px; padding: 6px 2px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: transparent; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.day-tab .dn { font: 700 12px/1.1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.day-tab .dd { font-variation-settings: 'wdth' 118; font-weight: 800; font-size: 22px; line-height: 1; }
.day-tab .dc { font: 500 10.5px/1 var(--f-mono); color: var(--muted); }
.day-tab:hover { border-color: var(--ink); }
.day-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.day-tab[aria-selected="true"] .dc { color: var(--on-dark-muted); }
.day-tab .today-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.day-tab[aria-selected="true"] .today-dot { background: var(--acc-on-dark); }
@media (min-width: 640px) { .day-tab .dn { font-size: 13px; } .day-tab .dd { font-size: 26px; } .day-tab .dc { font-size: 11px; } }

.filters { display: grid; gap: 14px; padding: 18px; background: var(--paper-2); border-radius: var(--radius); margin-bottom: 24px; }
@media (min-width: 700px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.filters .row2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
@media (min-width: 700px) { .filters .row2 { grid-column: 1 / -1; } }
.filters .count { font: 500 13px/1.4 var(--f-mono); color: var(--muted); }

.class-list { border-top: 1.5px solid var(--ink); }
.class-row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start;
  transition: background-color .25s var(--ease);
}
@media (min-width: 760px) { .class-row { grid-template-columns: 100px minmax(0, 1fr) 150px 190px; align-items: center; gap: 20px; } }
.class-row .time { font: 700 17px/1.2 var(--f-mono); }
.class-row .time small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.class-row .what h3 { font-variation-settings: 'wdth' 110; font-size: 21px; letter-spacing: -0.015em; line-height: 1.15; }
.class-row .what p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.class-row .type-tag { font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); margin-bottom: 6px; display: block; }
.class-row .spots { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 500 13.5px/1.3 var(--f-mono); }
.class-row .act { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (min-width: 760px) {
  .class-row .spots { grid-column: 3; flex-direction: column; align-items: flex-start; gap: 6px; }
  .class-row .act { grid-column: 4; justify-content: flex-end; }
}
.class-row { padding-left: 14px; box-shadow: inset 4px 0 0 transparent; transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.class-row.is-booked { box-shadow: inset 4px 0 0 var(--acc); background: #F7EDE6; }
.class-row.is-past .what h3 { color: var(--muted); }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 14px; height: 6px; background: var(--paper-3); border-radius: 1px; }
.meter i.on { background: var(--ink); }
.bar { width: 100%; max-width: 120px; height: 4px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.bar b { display: block; height: 100%; background: var(--ink); transition: width .3s var(--ease); }
.bar.low b { background: var(--acc); }
.status {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 99px;
  font: 700 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
}
.status svg { width: 14px; height: 14px; }
.status.booked { background: var(--acc); color: #fff; }
.status.wait { background: var(--ink); color: var(--paper); }
.status.full { border: 1.5px solid var(--ink); }
.empty { padding: 48px 0; text-align: left; display: grid; gap: 14px; justify-items: start; border-bottom: 1px solid var(--line); }
.empty h3 { font-variation-settings: 'wdth' 112; font-size: 26px; }
.empty p { color: var(--muted); }

.my-week { position: relative; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 22px; }
@media (min-width: 1100px) { .my-week { position: sticky; top: 96px; } }
.my-week h2 { font-variation-settings: 'wdth' 115; font-size: 24px; margin-bottom: 4px; }
.my-week .sub { color: var(--on-dark-muted); font-size: 14.5px; margin-bottom: 16px; }
.my-week ul { display: grid; gap: 0; }
.my-week li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid #3A3733; }
.my-week li .w { font: 600 12.5px/1.3 var(--f-mono); color: var(--acc-on-dark); }
.my-week li .n { font-weight: 700; }
.my-week li button {
  grid-row: 1 / 3; grid-column: 2; min-height: 44px; min-width: 44px; padding: 0 12px;
  background: transparent; color: var(--on-dark); border: 1.5px solid #5A554D; border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: 14px;
}
.my-week li button:hover { border-color: var(--on-dark); }
.my-week .none { color: var(--on-dark-muted); font-size: 15px; padding: 12px 0; border-top: 1px solid #3A3733; }
.my-week .note { margin-top: 16px; font: 500 12px/1.5 var(--f-mono); color: var(--on-dark-muted); }
.legend { margin-top: 18px; display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.legend div { display: flex; align-items: center; gap: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translate(-50%, 16px);
  max-width: calc(100% - 32px); width: max-content;
  background: var(--ink); color: var(--on-dark); padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(27, 26, 24, .25);
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- memberships ---------- */
.billing-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; }
.billing-bar p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.plans { display: grid; gap: 16px; margin-bottom: 14px; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1.5px solid var(--ink); border-radius: var(--radius); } }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 26px 24px 28px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
@media (min-width: 960px) { .plan { border: 0; border-radius: 0; } .plan + .plan { border-left: 1.5px solid var(--ink); } }
.plan.featured { background: var(--ink); color: var(--on-dark); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan h2 { font-variation-settings: 'wdth' 120; font-size: 36px; letter-spacing: -0.03em; }
.plan .for { color: var(--muted); font-size: 15.5px; min-height: 3em; }
.plan.featured .for { color: var(--on-dark-muted); }
.plan .pick { font: 600 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--acc-on-dark); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amt { font-variation-settings: 'wdth' 112; font-weight: 800; font-size: clamp(40px, 4.2vw, 54px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { font: 500 14px/1.2 var(--f-mono); color: var(--muted); }
.plan.featured .price .per { color: var(--on-dark-muted); }
.billed { font: 500 13.5px/1.5 var(--f-mono); color: var(--muted); min-height: 3em; }
.plan.featured .billed { color: var(--on-dark-muted); }
.billed .save-amt { color: var(--acc); font-weight: 700; }
.plan.featured .billed .save-amt { color: var(--acc-on-dark); }
.plan ul { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.plan.featured ul { border-color: #3A3733; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; }
.plan li svg { width: 20px; height: 20px; color: var(--acc); margin-top: 2px; }
.plan.featured li svg { color: var(--acc-on-dark); }
.plan .btn { margin-top: auto; }
.plan.featured .btn-acc { --b: var(--acc); }
.price-note { font: 500 12.5px/1.5 var(--f-mono); color: var(--muted); padding-bottom: 8px; }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.compare caption { text-align: left; padding-bottom: 14px; }
.compare th, .compare td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare thead th { font-variation-settings: 'wdth' 112; font-weight: 800; font-size: 17px; border-bottom: 1.5px solid var(--ink); }
.compare th[scope="row"] { text-align: left; font-weight: 600; padding-left: 0; }
.compare col.c-feat { width: 40%; }
.compare td svg { width: 20px; height: 20px; margin: 0 auto; color: var(--ink); }
.compare td .no { color: var(--muted); }
.compare td .txt { font: 500 13px/1.3 var(--f-mono); }
@media (max-width: 600px) {
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 12px 4px; }
  .compare col.c-feat { width: 37%; }
  .compare thead th { font-size: 15px; }
  .compare td .txt { font-size: 11.5px; }
}

.faq { border-top: 1.5px solid var(--ink); max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; letter-spacing: 0; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  min-height: 64px; padding: 14px 0; background: none; border: 0; cursor: pointer;
  font-variation-settings: 'wdth' 106; font-weight: 700; font-size: 18px;
}
.faq-q svg { width: 22px; height: 22px; flex: none; transition: transform .25s var(--ease); }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-a > div { min-height: 0; }
.faq-a.open { grid-template-rows: 1fr; }
.faq-a p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.faq-a[hidden] { display: none; }

/* ---------- free trial ---------- */
.trial-layout { display: grid; gap: 32px; padding: 40px 0 96px; }
@media (min-width: 1000px) { .trial-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; } }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 32px; }
.steps li { display: grid; gap: 8px; font: 600 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.steps li::before { content: ''; height: 4px; background: var(--paper-3); border-radius: 2px; transition: background-color .3s var(--ease); }
.steps li.done::before, .steps li.current::before { background: var(--ink); }
.steps li.current { color: var(--ink); }
.step-panel { display: grid; gap: 24px; }
.step-panel[hidden] { display: none; }
.step-panel legend { padding: 0; font-variation-settings: 'wdth' 115; font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 8px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .choice-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.choice .box {
  display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; padding: 16px; min-height: 64px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #FBF9F5;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.choice .box::before {
  content: ''; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 1.5px solid #8C857A; background: #fff;
  box-shadow: inset 0 0 0 4px #fff; transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.choice .box strong { font-size: 16.5px; }
.choice .box span { grid-column: 2; font-size: 14.5px; color: var(--muted); }
.choice:hover .box { border-color: var(--ink); }
.choice input:checked + .box { border-color: var(--ink); background: var(--paper-2); }
.choice input:checked + .box::before { background: var(--acc); border-color: var(--acc); }
.choice input:focus-visible + .box { outline: 3px solid var(--acc); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--acc); cursor: pointer; }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); padding-top: 24px; }
.form-nav .right { margin-left: auto; }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aside-card { background: var(--paper-2); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.aside-card h2 { font-variation-settings: 'wdth' 112; font-size: 22px; }
.aside-card ol { display: grid; gap: 12px; counter-reset: a; }
.aside-card ol li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; font-size: 15.5px; counter-increment: a; }
.aside-card ol li::before { content: counter(a, decimal-leading-zero); font: 700 13px/1.6 var(--f-mono); color: var(--acc); }
.confirm { display: grid; gap: 24px; }
.confirm[hidden] { display: none; }
.confirm .ref {
  display: inline-flex; flex-direction: column; gap: 4px; padding: 18px 22px; border: 1.5px dashed var(--ink); border-radius: var(--radius); justify-self: start;
}
.confirm .ref span { font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.confirm .ref strong { font: 700 clamp(24px, 3vw, 32px)/1.1 var(--f-mono); letter-spacing: .04em; }
.summary { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.summary div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary dt { font: 600 12.5px/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.notice {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 18px;
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius); font-size: 15.5px;
}
.notice svg { width: 22px; height: 22px; color: var(--acc-on-dark); }
.notice.light { background: var(--paper-2); color: var(--ink); }
.notice.light svg { color: var(--acc); }

/* ---------- calculator ---------- */
.calc-layout { display: grid; gap: 32px; padding: 40px 0 96px; }
@media (min-width: 1000px) { .calc-layout { grid-template-columns: 400px minmax(0, 1fr); gap: 56px; align-items: start; } }
.calc-form { display: grid; gap: 20px; padding: 24px; background: var(--paper-2); border-radius: var(--radius); }
@media (min-width: 1000px) { .calc-form { position: sticky; top: 96px; } }
.input-unit { position: relative; }
.input-unit .input { padding-right: 52px; font: 700 20px/1 var(--f-mono); }
.input-unit .u { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 600 14px/1 var(--f-mono); color: var(--muted); pointer-events: none; }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; gap: 6px; }
.stepper button { min-height: 48px; border: 1.5px solid #8C857A; background: #FBF9F5; border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { border-color: var(--ink); }
.stepper button svg { width: 18px; height: 18px; }
.stepper .input { text-align: center; font: 700 20px/1 var(--f-mono); }
.result { display: grid; gap: 6px; padding-bottom: 28px; border-bottom: 1.5px solid var(--ink); }
.result .big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.result .big output { font-variation-settings: 'wdth' 125; font-weight: 800; font-size: clamp(64px, 11vw, 136px); line-height: .9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.result .big .u { font: 700 22px/1 var(--f-mono); }
.result .formula { font: 500 14px/1.5 var(--f-mono); color: var(--muted); overflow-wrap: anywhere; }
.zones { width: 100%; border-collapse: collapse; margin-top: 28px; font-variant-numeric: tabular-nums; }
.zones caption { text-align: left; padding-bottom: 12px; }
.zones th, .zones td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.zones th:first-child, .zones td:first-child { padding-left: 0; }
.zones thead th { font: 600 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--ink); }
.zones td.pct { font: 700 16px/1 var(--f-mono); width: 64px; }
.zones td.load { font: 700 17px/1 var(--f-mono); white-space: nowrap; }
.zones td.load small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 4px; }
.zones td.reps { font: 500 14px/1 var(--f-mono); white-space: nowrap; }
.zones tr.band-top td { border-top: 0; }
.zones .zone-name { font-weight: 700; font-size: 15px; }
.zones .zone-name span { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.zones .fill { display: block; height: 6px; background: var(--paper-3); border-radius: 1px; margin-top: 8px; max-width: 160px; }
.zones .fill b { display: block; height: 100%; background: var(--ink); border-radius: 1px; }
.zones tr.z-max .fill b { background: var(--acc); }
@media (max-width: 560px) { .zones .zone-name span { display: none; } .zones th, .zones td { padding: 12px 4px; } }
.explain { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 768px) { .explain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.explain h3 { font-variation-settings: 'wdth' 110; font-size: 20px; margin-bottom: 8px; }
.explain p { color: var(--muted); font-size: 16px; }
.explain p + p { margin-top: 10px; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-items: center; padding: 64px 0 96px; }
.nf .code { font: 700 14px/1 var(--f-mono); color: var(--acc); letter-spacing: .1em; }
.nf h1 { font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(44px, 9vw, 112px); line-height: .9; letter-spacing: -0.035em; margin: 18px 0 22px; }

/* ---------- reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* display size tracks the hero column, not the viewport alone */
@media (min-width: 640px) { .display { font-size: clamp(64px, 10vw, 96px); } }
@media (min-width: 960px) { .display { font-size: clamp(60px, 6.2vw, 88px); } }
@media (max-width: 559px) { .ribbon { font-size: 12px; } .ribbon p { gap: 0 6px; } }
@media (max-width: 899px) { .space-grid .s1 { grid-column: 1 / -1; } .space-grid .s1 img { aspect-ratio: 16 / 9; } }
.spots-left { white-space: nowrap; }
@media (max-width: 759px) { .class-row .bar { flex-basis: 100%; max-width: 200px; } }
@media (max-width: 559px) {
  .billing-bar fieldset { width: 100%; }
  #billing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  #billing > label > span { display: flex; width: 100%; flex-direction: column; gap: 3px; min-height: 52px; padding: 4px 6px; }
}
@media (min-width: 640px) and (max-width: 1099px) { .coach:last-child { grid-column: 1 / -1; min-height: 0; } }
.space-notes > div { border-top: 1.5px solid var(--ink); padding-top: 16px; }
@media (min-width: 640px) and (max-width: 959px) {
  .hero-figure img { aspect-ratio: 3 / 2; object-position: center 40%; }
  .styles-photo img { aspect-ratio: 3 / 2; object-position: center 60%; }
}
