/* Dunamis Martial Arts. Built by Sorlana.
   Monochrome on pure black, as on the club's existing site. Syne 800 is used
   ONLY in capitals (headings, buttons, labels). Everything lowercase is
   Manrope: Syne's lowercase g has a cut-off tail Alex rejected (2026-11-29).
   Rule: never set var(--display) on text that isn't text-transform: uppercase. The photos carry the colour. One loud moment (the hero),
   everything else quiet. */

@font-face { font-family: "Syne"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/syne-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Syne"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("/assets/fonts/syne-latin-800-normal.woff2") format("woff2"); }

@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root {
  --black: #000;
  --white: #fff;
  --grey: #a3a3a3;      /* the club's own secondary grey */
  --dim: #8c8c8c;
  --ash: #141414;
  --line: #2b2b2b;
  --display: "Syne", "Arial Narrow", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 82rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--mast-h, 6.8rem) + 1rem); }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 400 1.02rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: .95; letter-spacing: -.01em; margin: 0; text-wrap: balance;
  overflow-wrap: break-word;
}
p { margin: 0 0 1em; max-width: 62ch; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
::selection { background: var(--white); color: var(--black); }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: .5rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--black); padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { top: .5rem; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 3rem; padding: .75rem 1.4rem; border: 1px solid var(--white);
  font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap;
  text-decoration: none; color: var(--white); background: transparent;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn--solid { background: var(--white); color: var(--black); }
.btn--solid:hover { background: transparent; color: var(--white); }

/* Masthead: location bar + header, sticky together so the location switch is
   always one tap away. JS writes its height to --mast-h for other offsets. */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.locbar {
  display: flex; justify-content: center; border-bottom: 1px solid var(--line);
  font: 700 .74rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em;
}
.locbar__link {
  flex: 0 1 14rem; text-align: center; padding: .62rem 1rem; color: var(--grey);
  text-decoration: none; transition: color .2s, background-color .2s; white-space: nowrap;
}
.locbar__link:hover { color: var(--white); }
.locbar__link.is-active { color: var(--black); background: var(--white); }

.site-header {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem var(--gutter);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand img { width: 8.5rem; }
.brand__loc:empty { display: none; }
.brand__loc {
  font: 600 .72rem/1 var(--body); color: var(--grey); letter-spacing: .28em; text-transform: uppercase;
  padding-left: .75rem; border-left: 1px solid var(--line);
}
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-more { display: flex; align-items: center; gap: 1.6rem; }
.site-nav li a {
  font: 500 .92rem/1 var(--body); text-decoration: none; color: var(--white); white-space: nowrap;
  padding: .45rem 0; border-bottom: 1px solid transparent;
}
.site-nav li a:hover, .site-nav li a[aria-current="page"] { border-bottom-color: var(--white); }
.site-nav small { font: 500 .66rem/1 var(--body); color: var(--grey); margin-left: .25em; }
.site-nav__cta { min-height: 2.6rem; padding: .6rem 1rem; font-size: .82rem; }
.menu-toggle { display: none; }

/* Tablet: the "soon" pages drop out of the header (they stay in the footer). */
@media (min-width: 46.01rem) and (max-width: 72rem) {
  .site-nav ul { gap: 1.1rem; }
  .nav-more li.is-soon { display: none; }
}

/* Phone: logo, Schedule, Membership and a More button; the rest drops down. */
@media (max-width: 46rem) {
  .brand img { width: 5.6rem; }
  .brand__loc { display: none; }
  .site-header { padding-block: .6rem; gap: .5rem; }
  .site-nav { gap: .7rem; }
  .site-nav ul.nav-main { gap: .75rem; }
  .nav-main a { font-size: .8rem; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .45rem; background: none; border: 1px solid var(--line);
    color: var(--white); font: 700 .74rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em;
    padding: .6rem .65rem; cursor: pointer; min-height: 2.5rem;
  }
  .menu-toggle[aria-expanded="true"] { border-color: var(--white); }
  .menu-toggle__chev {
    width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease);
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__chev { transform: translateY(2px) rotate(-135deg); }

  .nav-more { flex-direction: column; align-items: stretch; gap: 1.1rem; padding: .5rem var(--gutter) 1.4rem; }
  .js .nav-more {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    background: var(--black); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px rgba(0, 0, 0, .6);
  }
  .js .nav-more.is-open { display: flex; }
  .nav-more ul { flex-direction: column; gap: 0; }
  .nav-more li a {
    display: block; padding: .9rem 0; border-bottom: 1px solid var(--line);
    font: 700 1.2rem/1.1 var(--display); text-transform: uppercase;
  }
  .nav-more li a:hover, .nav-more li a[aria-current="page"] { border-bottom-color: var(--line); color: var(--grey); }
  .nav-more small { font-size: .7rem; text-transform: none; vertical-align: middle; }
  .site-nav__cta { min-height: 3.1rem; font-size: .92rem; }
}
/* Very narrow phones: keep Schedule up top, Membership moves into More. */
.nav-more li.is-narrow-only { display: none; }
@media (max-width: 21.5rem) { .nav-main li:nth-child(2) { display: none; } .nav-more li.is-narrow-only { display: block; } }

/* ---------- Hero: the one loud moment ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--mast-h, 6.8rem)); display: grid; align-content: end;
  padding: 6rem var(--gutter) clamp(2rem, 6vh, 4rem);
}
.hero__img { position: absolute; inset: 0; z-index: -3; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.2) 55%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,.55), transparent 60%);
}
.smoke {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 2.4s ease;
  /* Smoke drifts on the photo's right side and thins out where the text sits. */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.28) 45%, #000 85%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.28) 45%, #000 85%);
}
.banner .smoke {
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.12) 30%, #000 78%);
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.12) 30%, #000 78%);
}
@media (max-width: 46rem) {
  .smoke {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.45) 35%, rgba(0,0,0,.08) 65%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.45) 35%, rgba(0,0,0,.08) 65%);
  }
}
.hero h1, .hero p, .phero h1, .phero p, .banner h2, .banner p { text-shadow: 0 2px 28px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.5); }
.smoke.is-on { opacity: 1; }
.hero__title {
  font-size: clamp(3.6rem, min(15vw, 19svh), 15rem); line-height: .8; letter-spacing: -.035em;
  margin-left: -.04em;
}
.hero__title--long { font-size: clamp(2.2rem, min(10.2vw, 17svh), 12rem); }
/* Each line is a mask for the rise animation. Padding gives the capitals room
   so the mask never shaves their tops; the negative margin keeps the tight leading. */
.hero__title span { display: block; overflow: hidden; padding: .1em 0 .06em; margin-bottom: -.16em; }
.hero__title span > span { display: block; }
.hero__sub { margin-top: 2.4rem; font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 40ch; color: #e8e8e8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero__next {
  display: flex; align-items: center; gap: .7rem; margin: 1.75rem 0 0; font-size: .9rem; color: var(--grey);
}
.hero__next strong { color: var(--white); font-weight: 400; }
.pulse { width: .55rem; height: .55rem; border-radius: 50%; background: var(--white); flex: none; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .6rem rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* Load sequence: headline lines rise out of a mask, then the rest settles in. */
@media (prefers-reduced-motion: no-preference) {
  .hero__title span > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
  .hero__title span:nth-child(2) > span { animation-delay: .12s; }
  .hero__title span:nth-child(3) > span { animation-delay: .24s; }
  .hero__fade { opacity: 0; animation: fade .9s ease .65s forwards; }
  .hero__img img { transform: scale(1.08); animation: settle 2.8s var(--ease) forwards; }
}
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes settle { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* Page hero (inner pages): smaller, same smoke */
.phero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 12vw, 8rem) var(--gutter) clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.phero .hero__img img { object-position: 50% 35%; opacity: .38; filter: brightness(.8); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(0,0,0,.35), #000), linear-gradient(90deg, rgba(0,0,0,.6), transparent 70%); }
.phero h1 { font-size: clamp(1.5rem, 7.4vw, 7.5rem); line-height: .85; letter-spacing: -.03em; }
.phero p { margin-top: 1.25rem; color: #dcdcdc; }
.phero .wrap { padding-inline: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 10vw, 8rem); }
.section--line { border-top: 1px solid var(--line); }
.h2 { font-size: clamp(1.6rem, 6.6vw, 4.6rem); margin-bottom: 1.5rem; }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #e4e4e4; }
.muted { color: var(--grey); }

/* Disciplines */
.disc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.disc__item { background: var(--black); display: flex; flex-direction: column; }
.disc__img { aspect-ratio: 4 / 5; overflow: hidden; }
.disc__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform .8s var(--ease); }
.disc__item:hover .disc__img img, .disc__item:focus-within .disc__img img { filter: none; transform: scale(1.03); }
.disc__body { padding: 1.5rem var(--gutter) 2rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.disc__body h3 { font-size: clamp(1.45rem, 2.5vw, 2.2rem); }
.disc__body p { color: var(--grey); font-size: .95rem; margin: 0; }
.disc__list { font-size: .85rem; color: var(--white); }
.disc__link { margin-top: auto; padding-top: .75rem; font-size: .9rem; }
@media (max-width: 52rem) {
  .disc { grid-template-columns: 1fr; }
  .disc__item { display: grid; grid-template-columns: 38% 1fr; }
  .disc__img { aspect-ratio: auto; min-height: 13rem; }
}
@media (max-width: 30rem) { .disc__item { grid-template-columns: 1fr; } .disc__img { aspect-ratio: 16 / 10; min-height: 0; } }

/* Split: text + images */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: .75rem; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figure { margin: 0; overflow: hidden; }
.collage figure:first-child { grid-row: span 2; }
.split .h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }

/* Jake */
.jake { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.jake__photo { margin: 0; position: relative; }
.jake__photo img { width: 100%; }
.jake__role { color: var(--grey); margin-bottom: 1.5rem; }
.record {
  display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap;
  border-block: 1px solid var(--line); padding-block: 1.25rem; margin-bottom: 1.5rem;
}
.record__num { font: 800 clamp(3.2rem, 8vw, 6rem)/.9 var(--display); letter-spacing: -.03em; }
.record__txt { color: var(--grey); font-size: .9rem; max-width: 22ch; }
.honours { list-style: none; margin: 0 0 2rem; padding: 0; columns: 2; column-gap: 2rem; font-size: .9rem; }
.honours li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.quote { font: 600 clamp(1.15rem, 2vw, 1.45rem)/1.35 var(--body); text-transform: none; margin: 0 0 1.75rem; max-width: 34ch; }
.quote::before { content: "\201C"; } .quote::after { content: "\201D"; }
@media (max-width: 52rem) { .jake { grid-template-columns: 1fr; } .jake__photo { max-width: 26rem; } }
@media (max-width: 30rem) { .honours { columns: 1; } }

/* Team band: full-bleed group photo */
.team { border-top: 1px solid var(--line); }
.team__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 3vw, 2.5rem); }
.team__head .h2 { margin: 0; max-width: 14ch; }
.team__head p { margin: 0; color: var(--grey); max-width: 38ch; }
.team__photo { margin: 0; }
.team__photo img { width: 100%; max-height: 92svh; object-fit: cover; object-position: 50% 40%; }

/* Fight strip */
.strip { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 1rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.strip figure { margin: 0; flex: 0 0 min(78vw, 36rem); scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Banner line */
.banner { padding-block: clamp(5rem, 14vw, 11rem); text-align: center; position: relative; isolation: isolate; overflow: hidden; }
.banner h2 { font-size: clamp(2rem, 8.5vw, 7.5rem); line-height: .88; letter-spacing: -.03em; max-width: 14ch; margin-inline: auto; }
.banner p { margin: 1.75rem auto 0; color: var(--grey); }

/* CTA block */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.cta h2 { font-size: clamp(1.8rem, 6vw, 4.6rem); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.social { display: flex; gap: 1.25rem; margin-top: 1.25rem; font-size: .95rem; }
@media (max-width: 52rem) { .cta { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 8vw, 5rem) var(--gutter) 2rem; }
.site-footer__top { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.site-footer__motto { font: 800 clamp(1.6rem, 4vw, 3rem)/.95 var(--display); text-transform: uppercase; max-width: 16ch; margin: 0; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: 2.5rem; }
.site-footer h2 { font-size: .95rem; letter-spacing: .04em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.site-footer li { margin-bottom: .45rem; }
.site-footer li a { color: var(--grey); text-decoration: none; overflow-wrap: anywhere; }
.site-footer li a:hover { color: var(--white); text-decoration: underline; }
.site-footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--dim); }
.site-footer__base p { margin: 0; }
@media (max-width: 40rem) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Schedule ---------- */
.sched__tools { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip, .daytab, .term {
  font: 400 .85rem/1 var(--body); color: var(--white); background: transparent;
  border: 1px solid var(--line); padding: .65rem .9rem; cursor: pointer; min-height: 2.6rem;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover, .daytab:hover, .term:hover { border-color: var(--white); }
.chip[aria-pressed="true"], .daytab[aria-pressed="true"], .term[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.daytabs { display: none; }
.sched__note { font-size: .85rem; color: var(--grey); margin-bottom: 1.5rem; }
.sched__empty-filter { color: var(--grey); padding: 1.5rem 0; }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.day { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.day__name {
  display: flex; align-items: center; justify-content: space-between; gap: .4rem;
  font-size: 1rem; letter-spacing: .02em; padding: .9rem .75rem; border-bottom: 1px solid var(--line);
  position: sticky; top: var(--mast-h, 6.8rem); background: var(--black); z-index: 1;
}
.day__short { display: none; }
@media (min-width: 64.01rem) {
  .day__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .day__short { display: inline; }
  .cls__name { font-size: .82rem; hyphens: auto; overflow-wrap: normal; word-break: normal; }
}
.day__badge { font: 400 .65rem/1 var(--body); text-transform: none; background: var(--white); color: var(--black); padding: .25rem .4rem; letter-spacing: 0; }
.day.is-today { background: var(--ash); }
.day.is-today .day__name { background: var(--ash); }
.day__list { list-style: none; margin: 0; padding: .5rem; display: flex; flex-direction: column; gap: .5rem; }
.day__empty { color: var(--dim); font-size: .85rem; padding: 1rem .75rem; margin: 0; }
.cls {
  position: relative; display: flex; flex-direction: column; gap: .3rem;
  padding: .7rem .7rem .75rem .85rem; border: 1px solid var(--line); background: var(--black);
  transition: opacity .25s, border-color .25s;
}
.cls::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--cat, var(--white)); }
.cls--striking { --cat: #fff; }
.cls--mma { --cat: #bdbdbd; }
.cls--grappling { --cat: #8a8a8a; }
.cls--conditioning { --cat: #5e5e5e; }
.cls--kids { --cat: repeating-linear-gradient(180deg, #fff 0 4px, transparent 4px 8px); }
.cls__time { font-size: .72rem; color: var(--grey); line-height: 1.3; }
.cls__name { font: 700 .95rem/1.15 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.cls__side { font-size: .72rem; color: var(--grey); }
.cls__flag { align-self: flex-start; justify-self: start; font-size: .68rem; padding: .2rem .4rem; background: var(--white); color: var(--black); margin-top: .15rem; }
.cls.is-now { border-color: var(--white); }
.cls.is-past { opacity: .4; }
.cls.is-filtered { display: none; }
.chip--striking::before, .chip--mma::before, .chip--grappling::before, .chip--conditioning::before, .chip--kids::before {
  content: ""; display: inline-block; width: .6rem; height: .6rem; margin-right: .5rem; vertical-align: -.02em; background: var(--cat); border: 1px solid var(--grey);
}
.chip--striking { --cat: #fff; } .chip--mma { --cat: #bdbdbd; } .chip--grappling { --cat: #8a8a8a; } .chip--conditioning { --cat: #5e5e5e; }
.chip--kids { --cat: repeating-linear-gradient(180deg, #fff 0 2px, transparent 2px 4px); }
.chip[aria-pressed="true"]::before { border-color: var(--black); }

@media (max-width: 64rem) {
  .js .daytabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
  .daytab { padding: .65rem 0; font: 700 .78rem/1 var(--display); text-transform: uppercase; text-align: center; }
  .week { grid-template-columns: 1fr; border-left: 0; }
  .day { border-right: 0; }
  .js .day { display: none; border-bottom: 0; }
  .js .day.is-shown { display: block; }
  .day__name { position: static; padding-inline: 0; font-size: 1.4rem; }
  .day__list { padding: .75rem 0; }
  .cls { display: grid; grid-template-columns: 8.5rem 1fr; column-gap: 1rem; align-items: baseline; }
  .cls__time { grid-row: span 3; font-size: .8rem; }
  .cls__name { font-size: 1.05rem; }
}

/* ---------- Membership ---------- */
.terms { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plan { background: var(--black); padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.plan h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .4rem; }
.plan__who { color: var(--grey); font-size: .85rem; margin-bottom: 1.5rem; }
.plan__big { font: 800 clamp(3rem, 6vw, 4.5rem)/.9 var(--display); letter-spacing: -.03em; display: flex; align-items: baseline; gap: .35rem; margin-bottom: .25rem; }
.plan__big small { font: 400 .85rem/1 var(--body); color: var(--grey); letter-spacing: 0; }
.plan__big-note { font-size: .8rem; color: var(--grey); min-height: 1.3em; margin-bottom: 1.25rem; }
.rates { margin: auto 0 0; border-top: 1px solid var(--line); font-size: .85rem; }
.rates div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--grey); transition: color .2s; }
.rates dt, .rates dd { margin: 0; }
.rates div.is-sel { color: var(--white); }
.rates div.is-sel dt::before { content: ""; display: inline-block; width: .45rem; height: .45rem; background: var(--white); margin-right: .5rem; vertical-align: .1em; }
.no-js-hide { display: none; }
.js .no-js-hide { display: flex; }
.js .plan__big[data-empty] { color: var(--dim); }
.passes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1.5rem; }
.pass { background: var(--black); padding: 1.5rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pass h3 { font-size: 1.35rem; }
.pass p { margin: .25rem 0 0; color: var(--grey); font-size: .85rem; }
.pass__price { font: 800 2.6rem/1 var(--display); }
.fineprint { font-size: .82rem; color: var(--grey); margin-top: 1.5rem; }
@media (max-width: 60rem) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 38rem) { .plans, .passes { grid-template-columns: 1fr; } }

.trial { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--white); }
.trial__text { padding: clamp(1.5rem, 5vw, 3.5rem); container-type: inline-size; }
.trial__text h2 { font-size: clamp(1.6rem, 11cqi, 3.6rem); margin-bottom: 1rem; }
.trial__img img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
@media (max-width: 52rem) { .trial { grid-template-columns: 1fr; } .trial__img { order: -1; } }

/* Okotoks */
.coaches { display: flex; flex-wrap: wrap; gap: .5rem 2rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font: 800 clamp(1.6rem, 4vw, 2.8rem)/1 var(--display); text-transform: uppercase; }
.facts { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: .8rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.facts li span:first-child { color: var(--grey); }
.founders { border: 1px solid var(--white); padding: clamp(1.5rem, 5vw, 3rem); container-type: inline-size; }
.founders h2 { font-size: clamp(1.4rem, 8cqi, 3.6rem); margin-bottom: 1rem; }

/* Coming soon */
.soon { min-height: calc(100svh - var(--mast-h, 6.8rem)); display: grid; align-content: center; }
.soon h1 { font-size: clamp(2rem, 10vw, 10rem); line-height: .85; letter-spacing: -.03em; }
.soon__tag { display: inline-block; margin-bottom: 1.5rem; border: 1px solid var(--white); padding: .4rem .7rem; font-size: .85rem; }
.soon p { margin-top: 1.25rem; color: #dcdcdc; }
.soon .hero__actions { margin-top: 2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-grid > div { background: var(--black); padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-grid h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.contact-grid p { color: var(--grey); }
.bigmail { font: 700 clamp(1.1rem, 3.4vw, 2rem)/1.2 var(--body); }
@media (max-width: 46rem) { .contact-grid { grid-template-columns: 1fr; } }

@media (max-width: 30rem) {
  .cls { display: flex; flex-direction: column; }
  .cls__name { overflow-wrap: normal; }
}

/* ---------- Polish pass (2026-11-29) ---------- */
@media (max-width: 62rem) { .brand__loc { display: none; } }

/* Membership: passes wrap cleanly instead of squeezing the name. */
.pass { flex-wrap: wrap; row-gap: .5rem; }
.pass h3 { white-space: nowrap; }
/* Stacked trial card: the portrait photo becomes a banner, not a wall. */
@media (max-width: 52rem) { .trial__img img { min-height: 0; max-height: 20rem; object-position: 50% 30%; } }
/* Secondary heading under a page title (e.g. Membership > monthly). */
.subhead { font-size: clamp(1.3rem, 3vw, 2rem); margin-bottom: 1.25rem; }

/* Footer: 2x2 until there is real room for four columns. */
@media (max-width: 60rem) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }

/* Contact email: sized to fit, breaks only at the @ if it must. */
.bigmail { font-size: clamp(1.05rem, 2.6vw, 1.7rem); overflow-wrap: normal; }

