/* ============================================================
   999 First Aid Training — site.css

   Palette: high-visibility emergency kit, not clinical branding.
   Deep aubergine base, hi-vis chartreuse as the single accent,
   warm peach for softening. Type: Bricolage Grotesque display
   (chosen for its numerals — the wordmark is three digits),
   Instrument Sans body, Azeret Mono for operational data.
   ============================================================ */

:root {
  --ink:        #1B1020;
  --ink-2:      #2A1A31;
  --ink-3:      #3B2745;

  /* Lifted from #7A2A5C on 27 Oct. The old value sat at only 2.0:1
     against --ink, so a plum band next to a dark section read as
     near-black rather than as a colour. This one is 3.3:1 against
     ink while still carrying white text at 5.7:1, comfortably AA. */
  --plum:       #A6437C;
  --plum-soft:  #F5E8F0;

  --flash:      #D6F24B;
  --flash-deep: #7D9410;

  --peach:      #F6C9A8;
  --peach-soft: #FDF0E5;

  --paper:      #FCFAF8;
  --paper-2:    #F4EFEC;
  --line:       #E6DDD8;
  --slate:      #6E6069;

  --shell: min(1200px, 100% - 3rem);
  --shell-wide: min(1680px, 100% - 4rem);
  --r:     14px;
  --r-sm:  10px;
  --pill:  999px;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body:    "Instrument Sans", system-ui, sans-serif;
  --f-mono:    "Azeret Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* The masthead is sticky and 92px tall. Without this, any in-page link
     scrolls its target to y=0, which is behind the masthead. Nothing links
     in-page today; this is so it never becomes a bug when something does. */
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--plum); }

:focus-visible { outline: 3px solid var(--flash-deep); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }
.shell-wide { width: var(--shell-wide); margin-inline: auto; }

/* ---------- type -------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 6vw, 4.3rem); font-weight: 800; letter-spacing: -0.045em;
     line-height: 0.98; font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }

/* Split-tone headings: a strong first line, a quieter second line. */
.dim { color: var(--plum); font-weight: 700; }
.band--ink .dim, .band--plum .dim, .hero .dim, .quote .dim { color: rgba(255, 255, 255, 0.45); }

/* Interior page titles: bigger and tighter than section headings. */
.page-title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); max-width: 18ch; }
.page-title .dim { display: block; }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }

p { margin: 0 0 1rem; max-width: 62ch; }

.accent { color: var(--plum); }
.on-dark .accent, .accent--flash { color: var(--flash); }

/* pill eyebrow chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem 0.42rem 0.8rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.chip::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--flash-deep);
  flex: none;
}

.chip--dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #E8DCE8;
}

.chip--dark::before { background: var(--flash); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1rem;
}

.lede { font-size: 1.15rem; color: #4A3F48; }

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
  flex: none;
}

/* ---------- buttons ----------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-family: var(--f-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.16s ease, color 0.16s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--flash { background: var(--flash); color: var(--ink); }
.btn--flash:hover { background: #C6E338; }

.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: #8C3568; }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

.btn--full { width: 100%; }

.btn[aria-disabled="true"] {
  background: var(--paper-2);
  color: var(--slate);
  border-color: var(--line);
  pointer-events: none;
  transform: none;
}

/* ---------- top utility strip ------------------------------- */

/* While the launch offer is running it takes the chartreuse and this
   strip steps back to a quiet dark band, so the two are not shouting
   at each other. The offer is the more important message, so it gets
   the loudest colour. When LAUNCH.on goes false the offer strip stays
   hidden and this one keeps the muted treatment — which still reads
   fine, since the masthead below it carries the brand. */
.topbar {
  background: var(--ink-2);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

/* Service area sits a step down, so the schedule note leads. */
.topbar__set--secondary { font-size: 0.72rem; font-weight: 400; opacity: 0.82; }

.topbar__set { display: flex; align-items: center; gap: 1.6rem; }

.topbar a { color: var(--paper); text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; }

.topbar__dot { display: inline-flex; align-items: center; gap: 0.45rem; }

.topbar__dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--flash);
  opacity: 0.9;
}

/* ---------- masthead ---------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(27, 16, 32, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.masthead__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem 0;
}

/* wordmark: the numerals are the logo */
.wordmark { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }

.wordmark__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  background: var(--flash);
  padding: 0.4rem 0.68rem 0.46rem;
  border-radius: var(--r-sm);
}

.wordmark__txt {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
}

.wordmark__txt em {
  display: block;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #A794AC;
  margin-top: 0.3rem;
}

.nav { display: flex; align-items: center; gap: 2rem; }

.nav a {
  font-family: var(--f-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #E4D8E6;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--flash); }
.nav .btn { border-bottom: none; color: var(--ink); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--pill);
  padding: 0.6rem 1.1rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
}

/* ---------- dark hero --------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(122, 42, 92, 0.55) 0%, transparent 58%),
    radial-gradient(90% 70% at 8% 92%, rgba(214, 242, 75, 0.1) 0%, transparent 55%),
    var(--ink);
  color: #fff;
  padding: 5rem 0 6.5rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 { color: #fff; margin: 1.5rem 0 1.25rem; }
.hero h1 em { font-style: normal; color: var(--flash); }
.hero .lede { color: #CFC0D3; max-width: 46ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 2.5rem; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat b {
  display: block;
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--flash);
}

.stat span {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #A794AC;
  margin-top: 0.45rem;
}

/* ---------- SIGNATURE: the seat board ----------------------- */

.board-wrap { position: relative; }

.board {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(10, 4, 14, 0.75);
}

.board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--ink-2);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.board__live { display: flex; align-items: center; gap: 0.45rem; color: #C9B7CD; }

.board__pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--flash);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.board__row {
  display: grid;
  grid-template-columns: 3.9rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.board__row--empty {
  grid-template-columns: 1fr;
  gap: .55rem;
  padding: 1.5rem 1.35rem;
  align-items: start;
}
.board__row--empty .board__meta { max-width: 32ch; }
.board__row--empty .seats { justify-self: start; margin-top: .35rem; }

.board__row:hover { background: var(--paper-2); }
.board__row:last-child { border-bottom: none; }

.board__date {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  line-height: 1.35;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}

.board__date b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.board__name { font-family: var(--f-display); font-weight: 600; font-size: 0.97rem; line-height: 1.25; }

.board__meta {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  color: var(--slate);
  margin-top: 0.28rem;
  letter-spacing: 0.03em;
}

.board__foot { padding: 0.9rem 1.2rem; background: var(--paper-2); }

.board__foot a {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--plum);
  text-decoration: none;
  font-weight: 500;
}

.board__foot a:hover { text-decoration: underline; }

/* the one floating card, echoing a real notification */
.float-card {
  position: absolute;
  left: -2.6rem;
  bottom: -2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-sm);
  box-shadow: 0 22px 40px -18px rgba(10, 4, 14, 0.6);
}

.float-card__tick {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--flash);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex: none;
}

.float-card b { display: block; font-family: var(--f-display); font-size: 0.85rem; letter-spacing: -0.01em; }
.float-card span { font-family: var(--f-mono); font-size: 0.63rem; color: var(--slate); }

/* seat status pill */

.seats {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.32rem 0.6rem;
  border-radius: var(--pill);
  border: 1px solid;
}

.seats::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.seats--open { color: var(--flash-deep); border-color: #CFE07C; background: #F4FBD8; }
.seats--low  { color: #A8451A;           border-color: var(--peach); background: var(--peach-soft); }
.seats--full { color: var(--slate);      border-color: var(--line);  background: var(--paper-2); }

/* ---------- bands ------------------------------------------- */

.band { padding: 5.5rem 0; }
.band--tight { padding: 3.5rem 0 2rem; }
.band--wash { background: var(--paper-2); }

/* ---------- class photos --------------------------------------
   Real photos from Adam's classes. Fixed 4:3 so the grid stays
   even whatever gets added later; object-fit keeps any odd ratio
   from distorting. aspect-ratio plus width/height on the img means
   the space is reserved before the file arrives, so nothing on the
   page shifts as they load.                                       */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.shot { margin: 0; }

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--paper-2);
}

.shot figcaption {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--slate);
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; gap: 1.15rem; }
  .shot figcaption { font-size: 0.88rem; }
}

/* Per-page variants. These sit after the rules above on purpose: a page
   asking for a pair should get a pair at full width, not the three-up
   default collapsed to two. */
.gallery--pair { grid-template-columns: repeat(2, 1fr); }
.gallery--solo { grid-template-columns: 1fr; }

@media (max-width: 700px) {
  .gallery--pair { grid-template-columns: 1fr; }
}
.band--plum { background: var(--plum); color: #fff; }
.band--ink  { background: var(--ink); color: #fff; }

.band--plum h2, .band--ink h2, .band--plum h3, .band--ink h3 { color: #fff; }
.band--plum p, .band--ink p { color: rgba(255, 255, 255, 0.82); }
.band--plum .eyebrow, .band--ink .eyebrow { color: rgba(255, 255, 255, 0.6); }

.band__head { max-width: 48rem; margin-bottom: 3rem; }
.band__head .lede { margin-top: 1rem; }

/* ---------- grids and cards --------------------------------- */

.grid { display: grid; gap: 1.35rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.card__bar { width: 2.4rem; height: 4px; border-radius: var(--pill); background: var(--plum); margin-bottom: 1.1rem; }
.card[data-accent="flash"] .card__bar { background: var(--flash-deep); }
.card[data-accent="peach"] .card__bar { background: var(--peach); }

.card__who {
  font-family: var(--f-mono);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin: 0.65rem 0 0.9rem;
}

.card__price {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  margin-top: auto;
  padding-top: 1.4rem;
}

.card__price small {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin-top: 0.3rem;
  line-height: 1.5;
}

.ticks { list-style: none; margin: 0 0 1.3rem; padding: 0; }

.ticks li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 0.8rem; height: 3px;
  border-radius: var(--pill);
  background: var(--flash-deep);
}

.band--plum .ticks li::before, .band--ink .ticks li::before { background: var(--flash); }

/* ---------- two paths --------------------------------------- */

.path { display: flex; flex-direction: column; padding: 2.4rem; border-radius: var(--r); }
.path--you  { background: var(--ink); color: #fff; }
.path--team { background: var(--flash); color: var(--ink); }
.path h3 { font-size: 1.8rem; margin-bottom: 0.9rem; }
.path--you h3 { color: #fff; }
.path--you p { color: #CFC0D3; }
.path--team p { color: #3D4A0C; }
.path .btn { margin-top: auto; align-self: flex-start; }
.path--you .btn { background: var(--flash); color: var(--ink); }
.path--team .btn { background: var(--ink); color: #fff; }

/* ---------- steps ------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: 1.5rem; }

.step {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.4rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.step:last-child { border-bottom: none; padding-bottom: 0; }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--flash);
  padding-top: 0.35rem;
}

.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { margin: 0; font-size: 0.97rem; }

/* ---------- instructor -------------------------------------- */

.bio-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; align-items: start; }

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--paper-2) 0 14px, #EDE6E2 14px 28px);
  display: grid;
  place-items: center;
}

.portrait img { width: 100%; height: 100%; object-fit: cover; }

.portrait__slot {
  text-align: center;
  padding: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  line-height: 1.8;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }

.chips li {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  padding: 0.38rem 0.8rem;
  border-radius: var(--pill);
  background: var(--plum-soft);
  color: var(--plum);
}

/* visible marker so placeholder copy never ships by accident */
.placeholder {
  border-left: 3px solid var(--peach);
  padding-left: 1.1rem;
  color: #7A6B75;
}

/* ---------- pull quote -------------------------------------- */

.quote { position: relative; padding: 6rem 0; background: var(--ink-2); overflow: hidden; }

.quote__inner { position: relative; z-index: 2; max-width: 58rem; }

.quote__inner::before {
  content: "\201C";
  position: absolute;
  top: -4.6rem;
  left: -0.4rem;
  z-index: -1;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13rem;
  line-height: 1;
  color: var(--flash);
  opacity: 0.13;
  pointer-events: none;
}

.quote blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}

.quote__support {
  margin: 1.75rem 0 0;
  max-width: 46ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #CFC0D3;
}

.quote figcaption[hidden] { display: none; }

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #C9B7CD;
}

.quote figcaption b { color: var(--flash); font-weight: 500; }

.quote figcaption::before {
  content: "";
  width: 2.2rem; height: 2px;
  background: var(--flash);
  flex: none;
}

.quote .placeholder { border-left-color: var(--peach); color: #E2D2DC; }

/* evidence strip beneath the quote */

.evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.evidence__stat b {
  display: block;
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--flash);
}

.evidence__stat span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #CFC0D3;
}

.evidence__source {
  margin-top: 2rem;
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.05em;
  color: #8E7C94;
}

/* ---------- schedule page ----------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }

.filters button {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  padding: 0.52rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--flash); }

.sched { display: grid; gap: 0.75rem; }

.sched__item {
  display: grid;
  grid-template-columns: 5rem 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.sched__item[data-full="true"] { background: var(--paper-2); }

.sched__when {
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.4;
}

.sched__when b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.sched__title { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }

.sched__detail { font-family: var(--f-mono); font-size: 0.68rem; color: var(--slate); margin-top: 0.4rem; }

.sched__price { font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.04em; }

.sched__empty {
  padding: 3.5rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  color: var(--slate);
}

/* ---------- minimum-enrolment notice ------------------------ */

.minnote {
  max-width: 68ch;
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--peach);
  background: var(--peach-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #6B4A34;
}

.board__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.board__min {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
}

@media (max-width: 720px) {
  .board__foot { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ---------- availability picker ----------------------------- */

.pickgrid {
  display: grid;
  /* min() keeps the track from demanding 13.5rem on a narrow phone, where
     that is wider than the column it has to live in. */
  grid-template-columns: repeat(auto-fill, minmax(min(13.5rem, 100%), 1fr));
  gap: 0.5rem;
}

.pickday {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}

.pickday:hover { border-color: var(--plum); }

.pickday input { accent-color: var(--plum); width: 1rem; height: 1rem; flex: none; }

.pickday span { display: flex; flex-direction: column; gap: 0.15rem; }

.pickday em {
  font-style: normal;
  font-size: 0.62rem;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.pickday:has(input:checked) { background: var(--plum-soft); border-color: var(--plum); }

/* Grid and flex items take their content's min-content width as an automatic
   minimum, so these tiles could not shrink and pushed a few pixels past the
   edge on a phone. Letting them shrink, and letting the hint text wrap. */
.pickday, .pickday span { min-width: 0; }
.pickday span, .pickday em { overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .pickgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pickday { font-size: 0.68rem; padding: 0.6rem 0.65rem; }
}

/* ---------- booking promise --------------------------------- */

.promise {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1.25rem 2.5rem;
  margin: 0 0 2.25rem;
  padding: 1.6rem 1.9rem;
  background: var(--ink);
  border-radius: var(--r);
  color: #fff;
}

.promise__item { display: flex; align-items: center; gap: 0.85rem; }

.promise__item b {
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--flash);
}

.promise__item span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.promise__item em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #A794AC;
}

/* Version line under the refund terms. Quiet on purpose: it is a record,
   not a warning, and anything louder would read as a caveat on a promise
   whose whole job is to remove hesitation. */
.promise__version {
  grid-column: 1 / -1;
  margin: 1.1rem 0 0;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

.promise__note {
  margin: 0;
  max-width: none;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #CFC0D3;
}

@media (max-width: 980px) {
  .promise { grid-template-columns: auto auto; }
  .promise__note { grid-column: 1 / -1; padding: 1.1rem 0 0; border-left: 0;
                   border-top: 1px solid rgba(255, 255, 255, 0.16); }
}

@media (max-width: 560px) {
  .promise { grid-template-columns: 1fr; padding: 1.4rem; gap: 1rem; }
}

/* ---------- FAQ --------------------------------------------- */

.faq { border-top: 1px solid var(--line); max-width: 60rem; }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 0;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--f-mono);
  font-size: 1.25rem;
  color: var(--plum);
  flex: none;
}

.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 1.4rem; margin: 0; }

/* ---------- forms ------------------------------------------- */

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2.2rem; }

.form { display: grid; gap: 1.1rem; }
/* .chip sets display:inline-flex, which beats the hidden attribute and
   leaves an empty pill on the page. Make hidden mean hidden. */
[hidden] { display: none !important; }

.pill {
  display: inline-block;
  margin: .1rem 0 .9rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 500;
}
.pill--dates   { background: var(--ink); color: var(--flash); }
.pill--evening { background: var(--plum); color: #fff; }

/* Blended sessions sit in the same list as the full course, so they need to
   read as a different kind of class at a glance — not just a different time.
   A plum wash and edge, matching the plum pill and button on the course card. */
.sched__item--blended {
  background: color-mix(in srgb, var(--plum) 7%, var(--paper));
  box-shadow: inset 3px 0 0 var(--plum);
}
.board__row--blended {
  background: color-mix(in srgb, var(--plum) 6%, transparent);
  box-shadow: inset 3px 0 0 var(--plum);
}
.pill--request { background: var(--peach); color: var(--ink); }

.reqnote {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: calc(var(--r) / 1.6);
  background: color-mix(in srgb, var(--peach) 34%, transparent);
  font-size: .92rem;
  line-height: 1.5;
}
.reqnote b { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

/* "optional" hint inside a field label — same line, visibly lighter, so a
   blank box never reads as something the visitor forgot to fill in. */
.field label .opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  opacity: .62;
}
.field label .opt::before { content: "\00b7\00a0"; }
.field { display: grid; gap: 0.4rem; }

.field label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.field input, .field select, .field textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
}

.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum); background: #fff; }
.field textarea { min-height: 7rem; resize: vertical; }

/* A <select> defaults to the width of its longest option, and a grid item's
   automatic minimum size is its min-content width. Together those made the
   course dropdown ("Adult and Pediatric First Aid / CPR / AED - in person")
   widen the whole form to 452px inside a 390px phone, scrolling every page
   with a form sideways. min-width:0 lets the controls shrink to their
   container; the option text ellipsises instead of pushing the page out. */
.form, .form__row, .field { min-width: 0; }

.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.field select { text-overflow: ellipsis; }

.form__note { font-family: var(--f-mono); font-size: 0.68rem; color: var(--slate); }

/* ---------- footer ------------------------------------------ */

.footer { background: var(--ink); color: #B7A6BC; padding: 4.5rem 0 2rem; }
.footer a { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer h4 {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #86738C;
  margin-bottom: 1rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.55rem; }
.footer li a { text-decoration: none; }
.footer li a:hover { text-decoration: underline; }

.footer__legal { padding-top: 1.8rem; font-size: 0.78rem; line-height: 1.65; color: #86738C; max-width: 70ch; }

/* ---------- collapsed menu (tablets and phones) ------------ */

@media (max-width: 1024px) {
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px); left: calc((100% - 100vw) / 2); right: calc((100% - 100vw) / 2);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem max(1.5rem, calc((100vw - 100%) / 2)) 1.6rem;
    background: var(--ink);
    border-bottom: 2px solid var(--flash);
    box-shadow: 0 30px 40px -20px rgba(10, 4, 14, 0.7);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a {
    padding: 1rem 0;
    font-size: 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, 0.1); color: var(--flash); }
  .nav .btn { margin-top: 1.1rem; font-size: 1.05rem; padding: 1rem; }
  .nav__toggle { display: block; }
}

/* ---------- responsive -------------------------------------- */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .bio-grid { grid-template-columns: 1fr; gap: 2rem; }
  .portrait { max-width: 24rem; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .evidence { grid-template-columns: 1fr; }
  .float-card { left: auto; right: 1rem; bottom: -1.4rem; }
}

@media (max-width: 720px) {
  :root { --shell: min(1200px, 100% - 2rem); }
  body { font-size: 16px; }
  .band { padding: 3.75rem 0; }
  .hero { padding: 3rem 0 5rem; }


  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .evidence { grid-template-columns: 1fr; gap: 1.75rem; }
  .quote { padding: 3.5rem 0; }
  .quote__inner::before { font-size: 7rem; top: -2.4rem; }
  /* Phone only on mobile — it is the one thing worth tapping up there.
     The full attribution still appears in the footer disclaimer. */
  .topbar__set--secondary { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar { font-size: 0.76rem; }
  .wordmark__txt em { display: none; }
  .wordmark__num { font-size: 1.6rem; }
  .wordmark__txt { font-size: 1.15rem; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats { gap: 1.75rem; }
  .float-card { display: none; }

  .board__row { grid-template-columns: 3.2rem 1fr; row-gap: 0.55rem; }
  .board__row .seats { grid-column: 2; justify-self: start; }

  .sched__item { grid-template-columns: 4.4rem 1fr; gap: 0.6rem 1rem; padding: 1.2rem; }
  .sched__price { grid-column: 2; font-size: 1.2rem; }
  .sched__action { grid-column: 1 / -1; }
  .sched__action .btn { width: 100%; }

}

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

/* ---------- the launch offer -------------------------------
   The strip under the top bar, plus the struck-through list
   price and the code chip that appear wherever a price does.
   All of it disappears on its own when LAUNCH.on goes false
   in data.js — there is no styling here to undo.            */

.launch {
  background: var(--flash);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.launch__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.78rem 0;
}

.launch__tag {
  background: var(--ink);
  color: var(--flash);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.launch__body b { font-weight: 700; color: var(--plum); }
.launch__sep { opacity: 0.4; padding: 0 0.15rem; }

/* The old price. Kept visible on purpose: a discount nobody can
   check against the list price is not worth claiming. */
.was {
  color: var(--plum);
  opacity: 0.72;
  font-weight: 500;
  margin-right: 0.3em;
  text-decoration-thickness: 1.5px;
}

.card__price .was,
.sched__price .was { font-size: 0.62em; }

.promo {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--plum);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* In a schedule row the price cell is one grid column, so the
   code chip has to be forced onto its own line under the price
   rather than sitting beside it and widening the column. */
.sched__price { display: flex; flex-direction: column; align-items: flex-start; }
.sched__price .promo { margin-top: 0.4rem; align-self: flex-start; }

@media (max-width: 720px) {
  .launch { font-size: 0.72rem; }
  .launch__inner { justify-content: center; text-align: center; }
}
