/* JF SELF DEFENSE — site styles
   System: restrained editorial / operator gravitas
   Type pairing: Inter Tight (humanist body + display) / Oswald (condensed display, tweak)
   Palette: charcoal-dominant, confident red, warm off-white
*/

/* ---------- TOKENS ---------- */
:root {
  /* Default theme = charcoal */
  --bg: #0E0E10;
  --bg-2: #16161A;
  --bg-3: #1E1E22;
  --ink: #EFEBE4;
  --ink-2: #C2BFB8;
  --ink-3: #8A8780;
  --line: rgba(239, 235, 228, 0.12);
  --line-2: rgba(239, 235, 228, 0.22);
  --red: #C8302C;
  --red-2: #E0413D;

  /* Type */
  --f-display: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-body: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --t-display-letter: -0.03em;
  --t-body-letter: -0.005em;
  --t-eyebrow-letter: 0.18em;

  /* Scale */
  --s-1: 13px;
  --s-2: 15px;
  --s-3: 17px;
  --s-4: 22px;
  --s-5: 28px;
  --s-6: 40px;
  --s-7: 64px;
  --s-8: 96px;
  --s-9: 144px;
  --s-10: 200px;

  /* Spacing */
  --gutter: clamp(20px, 4vw, 80px);
  --page-max: 1440px;
}

[data-bg="black"] {
  --bg: #000000;
  --bg-2: #0A0A0A;
  --bg-3: #141414;
}
[data-bg="paper"] {
  --bg: #EFEAE1;
  --bg-2: #E7E1D5;
  --bg-3: #DCD4C5;
  --ink: #16140F;
  --ink-2: #4A463E;
  --ink-3: #7A766C;
  --line: rgba(22, 20, 15, 0.14);
  --line-2: rgba(22, 20, 15, 0.26);
}

/* Condensed display swap */
[data-headline="condensed"] {
  --f-display: 'Oswald', 'Inter Tight', 'Helvetica Neue', sans-serif;
  --t-display-letter: 0;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

/* ---------- LAYOUT ---------- */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap-bleed {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.divider {
  border-top: 1px solid var(--line);
}

/* ---------- TYPE ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: var(--t-eyebrow-letter);
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.display {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: var(--t-display-letter);
  line-height: 0.92;
  text-wrap: balance;
}
[data-headline="condensed"] .display {
  font-weight: 600;
  text-transform: uppercase;
}
.h1 {
  font-size: clamp(56px, 9vw, 144px);
}
.h2 {
  font-size: clamp(40px, 6vw, 88px);
}
.h3 {
  font-size: clamp(28px, 3.4vw, 52px);
}
.h4 {
  font-size: clamp(22px, 2vw, 30px);
}
.lede {
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: pretty;
  max-width: 56ch;
}
.body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
  text-wrap: pretty;
}
.small {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 36px;
  width: auto;
}
.brand-wm {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-wm-1 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.brand-wm-2 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
  margin-top: 4px;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav-link.is-active {
  color: var(--ink);
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red);
}
.nav-link:hover {
  color: var(--ink);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--red);
  transition: background 0.2s;
  cursor: pointer;
}
.nav-cta:hover {
  background: #B22622;
}
.nav-cta .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.nav-cta:hover .arrow {
  transform: translateX(3px);
}
.nav-call {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-call:hover {
  color: var(--ink);
}

/* ---------- MOBILE NAV: hamburger + dropdown ---------- */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 52;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.nav-hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.18s ease;
  transform-origin: center;
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-dropdown {
  display: none;
}
body.nav-locked {
  overflow: hidden;
}

@media (max-width: 960px) {
  .nav-hamburger {
    display: inline-flex;
    margin-left: auto;
  }
  .nav-inner {
    gap: 14px;
  }
  .nav-cta {
    padding: 10px 14px;
    font-size: 12px;
  }
  .nav-cta .arrow {
    width: 12px;
    height: 12px;
  }
  .brand-wm-1 {
    font-size: 9px;
  }
  .brand-wm-2 {
    font-size: 14px;
  }
  .brand-logo {
    height: 30px;
  }

  .nav-dropdown {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: calc(env(safe-area-inset-top, 0px) + 96px) clamp(20px, 5vw, 36px) calc(env(safe-area-inset-bottom, 0px) + 40px);
    z-index: 48;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-110%);
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.36s;
    visibility: hidden;
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  }
  .nav-dropdown-links {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--line);
  }
  .nav-dropdown-links li {
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 4px;
    font-family: var(--f-display);
    font-size: clamp(24px, 6.5vw, 32px);
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
    line-height: 1;
    transition: color 160ms;
  }
  .nav-dropdown-link:hover {
    color: var(--red);
  }
  .nav-dropdown-link.is-active {
    color: var(--red);
  }
  .nav-dropdown-link.is-active::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--red);
    border-radius: 50%;
    margin-left: 12px;
  }
  .nav-dropdown-cta {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--red);
    color: #fff;
    font-family: var(--f-body);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid var(--red);
    transition: background 0.2s;
  }
  .nav-dropdown-cta:hover {
    background: #B22622;
  }
  .nav-dropdown-cta .arrow {
    width: 18px;
    height: 18px;
  }
  .nav-dropdown-foot {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .nav-dropdown-foot a {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 160ms;
  }
  .nav-dropdown-foot a:hover {
    color: var(--red);
  }
}

@media (max-width: 480px) {
  .nav-cta span,
  .nav-cta .nav-cta-label {
    display: none;
  }
  .brand-wm {
    display: none;
  }
  .nav-inner {
    padding: 14px 18px;
  }
  .nav-dropdown {
    padding-top: calc(env(safe-area-inset-top, 0px) + 88px);
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: all 0.2s;
}
.btn:hover {
  background: var(--bg-3);
}
.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: #B22622;
}
.btn .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(80px, 12vh, 140px);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: contrast(1.04) saturate(0.85) brightness(0.78);
  opacity: 0.72;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in oklab, var(--bg) 88%, transparent) 38%, color-mix(in oklab, var(--bg) 40%, transparent) 78%, color-mix(in oklab, var(--bg) 70%, transparent) 100%),
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 50%, transparent) 0%, transparent 22%, transparent 70%, color-mix(in oklab, var(--bg) 92%, transparent) 100%);
}
.hero-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 14px,
      color-mix(in oklab, var(--ink) 6%, transparent) 14px,
      color-mix(in oklab, var(--ink) 6%, transparent) 15px
    ),
    var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-placeholder-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  position: relative;
  z-index: 2;
}
.portrait-placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 12px,
      color-mix(in oklab, var(--ink) 7%, transparent) 12px,
      color-mix(in oklab, var(--ink) 7%, transparent) 13px
    ),
    var(--bg-2) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none !important;
  border: 1px solid var(--line);
}
.portrait-placeholder-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
  text-align: center;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  line-height: 1.6;
}
[data-bg="paper"] .hero-bg img {
  filter: grayscale(1) contrast(1.08) brightness(0.92);
  opacity: 0.32;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
}
.hero-photo-cap {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-photo-cap::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--red);
}
.hero-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(48px, 6vh, 80px);
}
.hero-meta .right {
  text-align: right;
}
.hero-tag {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: var(--t-display-letter);
  text-wrap: balance;
  display: block;
}
.hero-tag-pre {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(24px, 3.4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
  margin-bottom: clamp(10px, 1.4vh, 20px);
  opacity: 0.92;
}
.hero-tag-main {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(44px, 8vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
[data-headline="condensed"] .hero-tag {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}
.hero-tag .red {
  color: var(--red);
}
.hero-tag .em {
  font-style: normal;
  font-weight: 600;
}
.hero-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  margin-top: clamp(48px, 7vh, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.hero-sub .col-left,
.hero-sub .col-right {
  align-self: start;
}
.hero-sub .col-right {
  padding-left: clamp(0px, 2vw, 28px);
  border-left: 1px solid var(--line);
}
@media (max-width: 760px) {
  .hero-sub {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-sub .col-right {
    padding-left: 0;
    border-left: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-rule {
  width: 64px;
  height: 2px;
  background: var(--red);
  margin-bottom: 28px;
}

/* ---------- SECTION HEAD ---------- */
.section {
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(80px, 12vh, 140px);
}
.section-tight {
  padding-top: clamp(48px, 8vh, 96px);
  padding-bottom: clamp(48px, 8vh, 96px);
}
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: clamp(48px, 8vh, 96px);
}
/* Centered variant — used when there's no section-num eyebrow. */
.section-head-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  grid-template-columns: none;
  gap: 0;
}
.section-head-centered .section-head-title {
  max-width: 24ch;
}

/* -------------------------------------------------------------
   PROGRAMMES PREVIEW (home) — compact mini-cards.
   No links (we don't want clicks here — programmes.html is the
   destination). Just a quick at-a-glance list of what JF offers.
------------------------------------------------------------- */
.prog-grid-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: min-content;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: clamp(40px, 5vh, 64px);
}
.prog-mini {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0 !important;
}
.prog-mini-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.prog-mini-desc {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-3);
  margin: 0;
  max-width: 42ch;
}
@media (max-width: 720px) {
  .prog-grid-mini {
    grid-template-columns: repeat(2, 1fr);
  }
  .prog-mini {
    padding: 18px 16px;
    gap: 6px;
  }
  .prog-mini-title {
    font-size: 16px;
  }
  .prog-mini-desc {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (max-width: 400px) {
  .prog-grid-mini {
    grid-template-columns: 1fr;
  }
}
.section-head-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: var(--t-eyebrow-letter);
  color: var(--ink-3);
  text-transform: uppercase;
}
.section-head-title {
  max-width: 18ch;
}

/* ---------- CREDENTIALS BANNER ---------- */
.creds {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.creds-inner {
  padding: clamp(56px, 8vh, 96px) var(--gutter);
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.creds-portrait {
  margin: 0;
  width: 100%;
  max-width: 360px;
}
.creds-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--bg);
  filter: contrast(1.04) saturate(0.94);
}
.creds-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.creds-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.creds-meta .eyebrow {
  margin-bottom: 14px;
}
.creds-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.creds-tenure {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 18px 0 0;
}
.creds-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 16px 0 0;
  max-width: 32ch;
}
.creds-tagline .red {
  color: var(--red);
}
.creds-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 28px 0 0;
  max-width: 56ch;
}

/* Programmes FAQ belt — 3-up on desktop, stacked on mobile only. */
.faq-belt {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) {
  .faq-belt {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.creds-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.cred-item {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.cred-item .num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cred-item .num .red {
  color: var(--red);
}
.cred-item .label {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.4;
}

/* ---------- PHILOSOPHY (the pyramid) ---------- */
.philo {
  position: relative;
}
.philo-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.philo-row {
  display: grid;
  grid-template-columns: 72px 1.2fr 2.6fr 180px;
  gap: clamp(16px, 2.2vw, 36px);
  padding: clamp(18px, 2.5vh, 28px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  position: relative;
}
.philo-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  padding-top: 4px;
}
.philo-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
[data-headline="condensed"] .philo-title {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.philo-row.fight .philo-title {
  color: var(--red);
}
.philo-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
  padding-top: 2px;
}
.philo-meter {
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  justify-self: end;
  width: 100%;
}
.philo-meter-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.philo-meter-bar {
  width: 100%;
  height: 3px;
  background: var(--bg-3);
  position: relative;
}
.philo-meter-bar .fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--red);
}

/* -------------------------------------------------------------
   PHILOSOPHY FLOW — horizontal industrial timeline.
   Numbers act as nodes on a continuous horizontal rule.
   The 5th node is the "last resort" — rendered red as a visual
   warning that you only land there when the four above have failed.
------------------------------------------------------------- */
.philo-flow {
  position: relative;
  list-style: none;
  margin: clamp(48px, 7vh, 96px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
/* The horizontal rule that connects the five nodes. */
.philo-flow::before {
  content: "";
  position: absolute;
  top: 38px; /* matches the centerline of the .philo-step-num character */
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--line-2) 0%,
    var(--line-2) 75%,
    var(--red) 75%,
    var(--red) 100%
  );
  z-index: 0;
}
.philo-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(12px, 2vw, 28px);
  z-index: 1;
}
.philo-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  margin-bottom: 18px;
  transition: all 0.2s;
}
.philo-step-last .philo-step-num {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.philo-step-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  min-height: 14px;
}
.philo-step-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
[data-headline="condensed"] .philo-step-title {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.philo-step-last .philo-step-title {
  color: var(--red);
}
@media (max-width: 720px) {
  .philo-flow {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .philo-flow::before {
    display: none;
  }
  .philo-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 0;
  }
  .philo-step-num {
    width: 48px;
    height: 48px;
    margin: 0;
    flex-shrink: 0;
  }
  .philo-step-label {
    display: none;
  }
  .philo-step-title {
    font-size: 20px;
  }
  .philo-step-title br {
    display: none;
  }
}

/* Literal pyramid variant */
[data-pyramid="literal"] .philo-list {
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 0;
}
[data-pyramid="literal"] .philo-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 22px 32px;
  align-items: center;
}
[data-pyramid="literal"] .philo-row:nth-child(1) {
  width: 100%;
}
[data-pyramid="literal"] .philo-row:nth-child(2) {
  width: 86%;
}
[data-pyramid="literal"] .philo-row:nth-child(3) {
  width: 70%;
}
[data-pyramid="literal"] .philo-row:nth-child(4) {
  width: 52%;
}
[data-pyramid="literal"] .philo-row:nth-child(5) {
  width: 36%;
  background: var(--red);
  border-color: var(--red);
}
[data-pyramid="literal"] .philo-row:nth-child(5) .philo-title,
[data-pyramid="literal"] .philo-row:nth-child(5) .philo-num,
[data-pyramid="literal"] .philo-row:nth-child(5) .philo-body {
  color: #fff;
}
[data-pyramid="literal"] .philo-body,
[data-pyramid="literal"] .philo-meter {
  display: none;
}
[data-pyramid="literal"] .philo-title {
  font-size: clamp(20px, 2vw, 28px);
}

/* ---------- PROGRAMMES ---------- */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.prog {
  grid-column: span 4;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 32px 32px;
  background: var(--bg);
  transition: background 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}
.prog:hover {
  background: var(--bg-2);
}
.prog:nth-child(3n) {
  border-right: 0;
}
.prog-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.prog-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.prog-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: uppercase;
}
.prog-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
[data-headline="condensed"] .prog-title {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.prog-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  flex: 1;
}
.prog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 8px;
}
.prog-link .arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}
.prog:hover .arrow {
  transform: translateX(4px);
}

/* ---------- TESTIMONIALS ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.testi {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testi:nth-child(2n) {
  border-right: 0;
}
.testi.featured {
  grid-column: span 2;
  padding: 64px 40px;
  background: var(--bg-2);
}
.testi-quote {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}
[data-headline="condensed"] .testi-quote {
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.005em;
}
.testi.featured .testi-quote {
  font-size: clamp(28px, 3vw, 44px);
  max-width: 30ch;
  line-height: 1.15;
}
.testi-quote::before {
  content: "“";
  color: var(--red);
  display: inline-block;
  margin-right: 4px;
}
.testi-quote::after {
  content: "”";
  color: var(--red);
}
.testi-attrib {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-attrib .line {
  width: 24px;
  height: 1px;
  background: var(--red);
}
.testi-attrib .name {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}
.testi-attrib .role {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- TESTIMONIAL CAROUSEL ---------- */
.testi-carousel {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: stretch;
  gap: clamp(12px, 2vw, 32px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testi-nav {
  background: transparent;
  border: 0;
  color: var(--red);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 160ms ease, transform 160ms ease;
}
.testi-nav svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}
.testi-nav:hover {
  color: var(--ink);
}
.testi-nav:active {
  transform: scale(0.92);
}
.testi-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vh, 96px) clamp(8px, 2vw, 32px);
  min-height: clamp(280px, 38vh, 380px);
}
.testi-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.testi-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
  padding: 0 clamp(8px, 2vw, 32px);
}
.testi-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.testi-slide-quote {
  font-family: var(--f-body);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
  text-wrap: pretty;
  margin: 0;
}
.testi-slide-quote::before {
  content: "“";
  color: var(--red);
  margin-right: 4px;
}
.testi-slide-quote::after {
  content: "”";
  color: var(--red);
}
.testi-slide-attrib {
  margin-top: clamp(24px, 3vh, 40px);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.testi-slide-line {
  width: 24px;
  height: 1px;
  background: var(--red);
}
.testi-slide-name {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  font-weight: 500;
}
.testi-slide-role {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--ink-3);
}
.testi-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 0 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ink) 22%, transparent);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.testi-dot:hover {
  background: color-mix(in oklab, var(--red) 50%, transparent);
}
.testi-dot.is-active {
  background: var(--red);
  transform: scale(1.25);
}
.testi-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .testi-carousel {
    grid-template-columns: 40px 1fr 40px;
  }
  .testi-nav svg { width: 24px; height: 24px; }
  .testi-stage {
    padding: clamp(32px, 5vh, 56px) 4px;
    min-height: clamp(320px, 50vh, 440px);
  }
  .testi-slide-quote { font-size: 14px; line-height: 1.55; }
  .testi-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- LOGOS STRIP ---------- */
.logos {
  padding: clamp(40px, 6vh, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.logo-cell {
  padding: 24px 20px;
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.logo-cell:last-child {
  border-right: 1px solid var(--line);
}
.logo-cell span {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  font-weight: 500;
  text-align: center;
}
.logo-cell img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6) contrast(0.9);
  opacity: 0.7;
  transition: opacity 0.2s;
}
/* Logos that come on a white background — invert so they read as
   light-on-transparent against the dark page. */
.logo-cell img.logo-invert {
  filter: invert(1) grayscale(1) brightness(1) contrast(1);
  opacity: 0.7;
}
.logo-cell:hover img {
  opacity: 1;
}
[data-headline="condensed"] .logo-cell span {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
  font-size: 16px;
}

/* ---------- BOOKING CTA ---------- */
.book {
  background: var(--bg);
  padding: clamp(80px, 14vh, 160px) 0;
  border-top: 1px solid var(--line);
}
.book-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.book-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
[data-headline="condensed"] .book-title {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.book-title .red {
  color: var(--red);
}
.book-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  border: 1px solid var(--line-2);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.2s;
}
.contact-card:hover {
  background: var(--bg-2);
  border-color: var(--red);
}
.contact-card .meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card .meta .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.contact-card .meta .val {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.contact-card .arrow {
  width: 18px;
  height: 18px;
  color: var(--red);
  transition: transform 0.2s;
}
.contact-card:hover .arrow {
  transform: translate(3px, -3px);
}

/* ---------- FOOTER ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.foot-brand .brand {
  margin-bottom: 16px;
}
.foot-h {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-list a {
  font-size: 14px;
  color: var(--ink-2);
}
.foot-list a:hover {
  color: var(--ink);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

/* ---------- INNER PAGE HERO ---------- */
.page-hero {
  padding: clamp(56px, 10vh, 120px) 0 clamp(48px, 8vh, 96px);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.crumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.crumb .sep {
  color: var(--ink-3);
  opacity: 0.5;
}
.crumb .here {
  color: var(--red);
}

/* ---------- ABOUT PAGE ---------- */
.about-bio {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 96px);
  padding-top: clamp(64px, 10vh, 120px);
  padding-bottom: clamp(64px, 10vh, 120px);
}
.about-portrait {
  position: sticky;
  top: 100px;
  align-self: start;
}
.about-portrait .img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  overflow: hidden;
  filter: contrast(1.04) saturate(0.96);
}
.about-portrait .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-portrait .cap {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}
.about-portrait .cap span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.about-text p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}
.about-text p.lede {
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 36px;
}
.pullquote {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  margin: 40px 0;
  max-width: 50ch;
}
.pullquote .q {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
[data-headline="condensed"] .pullquote .q {
  text-transform: uppercase;
}
.pullquote .q .red {
  color: var(--red);
}
.timeline {
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.timeline-row {
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline-year {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.timeline-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.timeline-body {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ---------- PROGRAMMES PAGE ---------- */
.prog-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.prog-page {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 1fr 200px;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(32px, 5vh, 56px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.prog-page-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  padding-top: 8px;
}
.prog-page-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
[data-headline="condensed"] .prog-page-title {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.prog-page-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
}
.prog-page-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
  align-self: center;
}
.prog-page-meta strong {
  color: var(--ink-2);
  font-weight: 500;
}
/* Outline CTA: transparent box with red stroke. Fills red on hover. */
.prog-page-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--red);
  padding: 12px 20px;
  border: 1.5px solid var(--red);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  justify-self: end;
  align-self: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, gap 0.2s;
}
.prog-page-cta:hover {
  background: var(--red);
  color: #fff;
  gap: 12px;
}
.prog-page-cta .arrow {
  width: 13px;
  height: 13px;
  color: currentColor;
  transition: transform 0.2s;
}
.prog-page-cta:hover .arrow {
  transform: translateX(2px);
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pkg {
  position: relative;
  padding: clamp(32px, 4vh, 48px) clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vh, 22px);
}
.pkg:last-child {
  border-right: 0;
}
.pkg.featured {
  background: var(--bg-2);
}
.pkg.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}
.pkg .prog-page-cta {
  margin-top: auto;
  align-self: flex-start;
  justify-self: flex-start;
}
.pkg-h {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.pkg.featured .pkg-h {
  color: var(--red);
}
.pkg-n {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.pkg-n .x {
  color: var(--red);
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 2px;
}
.pkg-d {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 32ch;
}

/* ---------- TWEAKS BUTTON (host toggle visible) ---------- */
.tweaks-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  padding: 12px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  display: none;
}
.tweaks-fab.visible {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tweaks-fab .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* ---------- TRIAL MODAL ---------- */
.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.trial-modal.is-open {
  display: flex;
}
.trial-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: tm-fade 0.2s ease;
}
@keyframes tm-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes tm-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.trial-modal-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 36px 40px 32px;
  animation: tm-rise 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-bg="paper"] .trial-modal-card {
  background: #FFFFFE;
}
.trial-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1;
  border: 1px solid var(--line);
  cursor: pointer;
}
.trial-modal-close:hover {
  color: var(--ink);
  background: var(--bg-3);
}
.trial-modal-head {
  margin-bottom: 28px;
  max-width: 44ch;
}
.trial-modal-head h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 14px 0 12px;
  color: var(--ink);
}
[data-headline="condensed"] .trial-modal-head h3 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.trial-modal-head p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}

/* ---------- TRIAL FORM (shared modal + inline) ---------- */
.trial-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trial-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.trial-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.trial-form input,
.trial-form select,
.trial-form textarea {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  letter-spacing: -0.005em;
  padding: 12px 14px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.15s;
  text-transform: none;
  width: 100%;
}
.trial-form input:focus,
.trial-form select:focus,
.trial-form textarea:focus {
  border-color: var(--red);
}
.trial-form textarea {
  min-height: 96px;
  resize: vertical;
  font-family: var(--f-body);
}
.trial-form select {
  appearance: none;
  color-scheme: dark;
  color: var(--ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%238A8780' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.trial-form select option {
  background: #1A1A1C;
  color: var(--ink);
  padding: 10px;
}
.trial-form select option:checked,
.trial-form select option:hover {
  background: var(--red);
  color: #fff;
}
.trial-form input,
.trial-form textarea {
  color: var(--ink);
}
.trial-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.trial-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.trial-form-submit:hover {
  background: #B22622;
}
.trial-form-submit .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.trial-form-submit:hover .arrow {
  transform: translateX(3px);
}
.whatsapp-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
}
.whatsapp-secondary:hover {
  color: var(--ink-2);
}
.whatsapp-secondary svg {
  width: 14px;
  height: 14px;
  color: #25D366;
}
.trial-form-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 14px 0 0;
  line-height: 1.4;
}
.trial-form-error {
  display: none;
  padding: 14px 18px;
  background: color-mix(in oklab, var(--red) 18%, transparent);
  border-left: 3px solid var(--red);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}
.trial-form-error.is-shown {
  display: block;
}
.trial-form-success {
  display: none;
  padding: 20px;
  border: 1px solid var(--red);
  background: color-mix(in oklab, var(--red) 8%, transparent);
  font-size: 15px;
  color: var(--ink);
  text-align: center;
}
.trial-form-success.is-shown {
  display: block;
}
.trial-form.is-sent {
  display: none;
}

/* ---------- INLINE CONTACT (page-bottom) ---------- */
.contact-section {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 11vh, 128px) 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-pitch h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 18px 0 24px;
}
[data-headline="condensed"] .contact-pitch h2 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.contact-pitch h2 .red {
  color: var(--red);
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.contact-side-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
}
.contact-side-row .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-shrink: 0;
}
.contact-side-row .val {
  font-size: 14px;
  color: var(--ink-2);
  text-align: right;
}
.contact-side-row .val a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.contact-side-row .val a:hover {
  border-bottom-color: var(--red);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-sub,
  .creds-inner,
  .book-inner,
  .about-bio,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }
  .section-head {
    grid-template-columns: 1fr;
  }
  .testi.featured,
  .testi {
    grid-column: span 2;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .testi {
    border-right: 0;
  }
  .nav-links {
    display: none;
  }
  /* Programmes preview — compact 2-up grid on mobile so the section stays short. */
  .prog {
    grid-column: span 6;
    border-right: 1px solid var(--line);
    padding: 20px 18px;
    min-height: 0;
    gap: 10px;
  }
  .prog:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .prog:nth-child(2n) {
    border-right: 0;
  }
  .prog-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .prog-num {
    font-size: 13px;
  }
  .prog-tag {
    font-size: 9px;
    padding: 3px 6px;
  }
  .prog-title {
    font-size: 18px;
    line-height: 1.15;
  }
  .prog-desc {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .prog-link {
    font-size: 11px;
  }
  /* Philosophy — strip body + meter on mobile, keep just NUM + title (the concept). */
  .philo-row {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 20px 0;
    align-items: baseline;
  }
  .philo-num {
    font-size: 11px;
    padding-top: 0;
    letter-spacing: 0.16em;
  }
  .philo-title {
    font-size: 22px;
    letter-spacing: -0.015em;
  }
  .philo-body,
  .philo-meter {
    display: none;
  }
  /* Home hero — hide the WHY JF column (student feedback: "complicated"). */
  .hero-sub .col-right {
    display: none;
  }
  .hero-sub {
    grid-template-columns: 1fr !important;
    gap: 24px;
    border-top: none;
    padding-top: 12px;
  }
  /* Home credentials banner — single column on mobile, name first then portrait. */
  .creds-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .creds-portrait {
    order: 2;
    max-width: 280px;
    margin: 0 auto;
  }
  .creds-meta {
    order: 1;
    text-align: center;
    align-items: center;
  }
  .creds-meta .creds-name,
  .creds-meta .creds-tagline,
  .creds-meta .creds-body {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .creds-meta .creds-name {
    font-size: clamp(38px, 10vw, 56px);
  }
  .logos-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .creds-list {
    grid-template-columns: 1fr 1fr;
  }
  .prog-page {
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
  }
  /* First three cells (num, title-block, desc) span both columns. */
  .prog-page > :nth-child(-n+3) {
    grid-column: 1 / -1;
  }
  /* Meta sits in left column, CTA button sits in right column, on the same row. */
  .prog-page-meta {
    grid-column: 1;
  }
  .prog-page-cta {
    grid-column: 2;
    justify-self: end;
    align-self: center;
  }
  .pkg-grid {
    grid-template-columns: 1fr;
  }
  .pkg {
    border-right: 0;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .trial-form .row {
    grid-template-columns: 1fr;
  }
  .trial-modal-card {
    padding: 28px 22px 24px;
  }
  .hero-bg img {
    object-position: 70% center;
    opacity: 0.4;
  }
  .about-portrait {
    position: static;
  }
  .about-bio {
    padding-top: clamp(32px, 5vh, 48px);
    padding-bottom: clamp(32px, 5vh, 48px);
    gap: clamp(24px, 4vh, 40px);
  }
  /* Tighten the section that holds the long-form prose before the bio. */
  .about-text p.lede {
    margin-top: 14px;
  }
  /* Tighten the pullquote spacing on mobile so it doesn't push the next paragraph down. */
  .pullquote {
    margin: clamp(28px, 4vh, 40px) 0;
  }
  .trainer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .prog-page {
    grid-template-columns: 1fr;
  }
  .prog-page-meta,
  .prog-page-cta {
    grid-column: 1;
    justify-self: stretch;
  }
  .prog-page-cta {
    justify-content: center;
  }
}

/* ---------- TRAINERS PAGE ---------- */
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(32px, 5vh, 64px);
}
.trainer {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 28px 36px;
  background: var(--bg);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.trainer:hover {
  background: var(--bg-2);
}
.trainer:last-child {
  border-right: 0;
}
.trainer-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  overflow: hidden;
  filter: grayscale(1) contrast(1.05);
  margin-bottom: 8px;
}
.trainer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trainer-img.portrait-placeholder {
  filter: none;
}
.trainer-num {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.trainer-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 0;
}
[data-headline="condensed"] .trainer-name {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.trainer-title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
  margin: 8px 0 0;
}
.trainer-bio {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.trainer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
  letter-spacing: 0.01em;
}
.trainer-link .arrow {
  width: 12px;
  height: 12px;
  color: var(--red);
  transition: transform 0.2s;
}
.trainer-link:hover .arrow {
  transform: translateX(4px);
}

/* ---------- TRAINERS PAGE v3 — compact text-led profiles ---------- */

/* Full-bleed hero with centred copy overlay */
/* Hero section: the IMAGE itself drives the height. No empty space below it. */
.trainers-hero {
  position: relative;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.trainers-hero-bg {
  position: relative;
  width: 100%;
  z-index: 0;
  margin: 0;
}
.trainers-hero-bg img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) contrast(1.05) saturate(0.85);
}
@media (max-width: 720px) {
  .trainers-hero-bg img {
    aspect-ratio: 4 / 5;
    max-height: none;
  }
}
.trainers-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--bg) 70%, transparent) 0%,
      color-mix(in oklab, var(--bg) 30%, transparent) 35%,
      color-mix(in oklab, var(--bg) 30%, transparent) 65%,
      color-mix(in oklab, var(--bg) 85%, transparent) 100%
    );
  pointer-events: none;
}
.trainers-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-align: center;
  padding: clamp(40px, 6vh, 96px) var(--gutter);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.trainers-hero-overlay .crumb {
  justify-content: center;
  margin-bottom: clamp(32px, 5vh, 56px);
  color: var(--ink-2);
}
.trainers-hero-h1 {
  font-size: clamp(44px, 7vw, 104px) !important;
  line-height: 0.96;
  text-wrap: balance;
  margin: 0 auto;
  max-width: 16ch;
}
.trainers-hero-lede {
  margin: clamp(28px, 4vh, 44px) auto 0;
  max-width: 64ch;
  color: var(--ink);
}
.about-hero-h1 {
  max-width: none;
  font-size: inherit !important;
  line-height: 1;
  text-align: center;
  margin: 0 auto;
}
.about-hero-pre {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  opacity: 0.92;
  margin: 0 auto clamp(20px, 2.8vh, 36px);
  max-width: 32ch;
}
.about-hero-main {
  display: block;
}
.about-hero-main .red {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(44px, 7.6vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 600px) {
  .about-hero-main .red {
    white-space: normal;
    font-size: clamp(38px, 11vw, 64px);
  }
}

/* ---------- PRESS / AS FEATURED IN ---------- */
.press-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-item {
  padding: clamp(28px, 4vh, 44px) clamp(20px, 2.4vw, 36px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vh, 28px);
  background: var(--bg);
}
.press-item:last-child {
  border-right: 0;
}
.press-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.press-pub {
  color: var(--red);
  font-weight: 500;
}
.press-date {
  color: var(--ink-3);
}
.press-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.press-pull {
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.press-pull::before {
  content: "“";
  color: var(--red);
  margin-right: 2px;
}
.press-pull::after {
  content: "”";
  color: var(--red);
}
.press-links {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.press-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
  transition: color 160ms ease, gap 160ms ease;
}
.press-link:hover {
  color: var(--red);
  gap: 12px;
}
.press-link .arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.press-link.secondary {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 2px;
}
.press-link.secondary:hover {
  color: var(--ink-2);
  border-bottom-color: var(--ink-3);
  gap: 8px;
}
@media (max-width: 880px) {
  .press-list {
    grid-template-columns: 1fr;
  }
  .press-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .press-item:last-child {
    border-bottom: 0;
  }
}

.programmes-hero-h1 {
  max-width: 28ch;
  font-size: clamp(40px, 6.4vw, 96px) !important;
}
.programmes-hero-h1 .prog-hero-l1,
.programmes-hero-h1 .prog-hero-l2 {
  display: block;
}
.programmes-hero-h1 .prog-hero-l2 {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .programmes-hero-h1 {
    font-size: clamp(32px, 9vw, 56px) !important;
  }
  .programmes-hero-h1 .prog-hero-l2 {
    white-space: normal;
  }
}

/* Narrative bands between profiles */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 2.5vh, 28px) 0;
  background: var(--bg-2);
  position: relative;
}
.band-tight {
  padding: clamp(12px, 1.8vh, 22px) 0;
  background: var(--bg);
}
.band span {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.band span::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--red);
  margin-right: 24px;
}
.band-tight span {
  color: var(--ink-3);
}

/* Profile section — consistent layout for all three trainers */
.profile {
  padding: clamp(56px, 8vh, 96px) 0;
}
.profile-l { background: var(--bg); }
.profile-r { background: var(--bg-2); }
.profile-c { background: var(--bg); }

/* Card — centered constraint for the whole profile */
.profile-card {
  max-width: 1100px;
}

/* Trainer inline photo — lives INSIDE the prose column, bottom of bio */
.profile-inset {
  margin: clamp(28px, 3.5vh, 44px) 0 0;
  padding: 0;
}
.profile-inset img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--bg-2);
  filter: contrast(1.03) saturate(0.94);
}
.profile-inset-portrait img {
  aspect-ratio: 4 / 5;
  object-position: center top;
}
/* When portrait photo lives in the credentials column (right side), let it
   fill the column width so it balances the long bio on the left. */
.profile-creds-col .profile-inset-portrait img {
  max-width: 100%;
  aspect-ratio: 4 / 5;
}
/* When inset photo sits inside the prose column, cap its width so it doesn't
   dominate the surrounding paragraphs. */
.profile-prose .profile-inset-portrait img {
  max-width: 360px;
}
.profile-inset figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  gap: 16px;
}
.profile-prose .profile-inset-portrait figcaption {
  max-width: 360px;
}
@media (max-width: 880px) {
  .profile-inset img {
    aspect-ratio: 16 / 10;
  }
  .profile-inset-portrait img {
    aspect-ratio: 4 / 5;
    max-width: 100%;
  }
  .profile-inset figcaption {
    flex-direction: column;
    gap: 4px;
  }
}

/* Profile header.
   DESKTOP: photo LEFT, name + role-meta RIGHT (the original layout Chia liked).
   MOBILE:  vertical stack — NAME → PHOTO → role-meta. */
.profile-head {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-areas:
    "photo name"
    "photo meta";
  gap: clamp(24px, 3vh, 36px) clamp(32px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(40px, 5vh, 64px);
  padding-bottom: clamp(32px, 4vh, 48px);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.profile-head .profile-name {
  grid-area: name;
  align-self: end;
  max-width: none;
}
.profile-head .profile-portrait {
  grid-area: photo;
  max-width: 320px;
  width: 100%;
  margin: 0;
}
.profile-head-meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  align-self: start;
  max-width: 60ch;
}
.profile-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
@media (max-width: 760px) {
  .profile-head {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "photo"
      "meta";
    text-align: center;
    justify-items: center;
  }
  .profile-head .profile-name {
    align-self: auto;
    font-size: clamp(40px, 11vw, 64px);
  }
  .profile-head .profile-portrait {
    max-width: 360px;
  }
  .profile-head-meta {
    align-items: center;
    text-align: center;
  }
}
.profile-tenure {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: uppercase;
  margin: 0;
}
.profile-subtitle {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  max-width: 32ch;
  text-wrap: balance;
}
.profile-subtitle .red {
  color: var(--red);
}

/* Profile portrait — fixed compact size · colour (no grayscale) */
.profile-portrait {
  margin: 0;
  width: 100%;
}
.profile-portrait .img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
  overflow: hidden;
  border: 1px solid var(--line);
}
.profile-portrait .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-portrait .img.portrait-placeholder {
  filter: none;
}
.profile-portrait figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* Profile body — prose LEFT + creds RIGHT, side by side */
.profile-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

/* Profile prose — left column */
.profile-prose {
  margin: 0;
}
.profile-prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.profile-prose p:last-child { margin-bottom: 0; }

/* Credentials — right column, supports multiple stacked sub-blocks */
.profile-creds-col {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vh, 56px);
}
.profile-creds {
  margin: 0;
}
.profile-prose-philosophy {
  margin-top: 20px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-style: italic;
  color: var(--ink-3) !important;
}
.profile-creds-h {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.trainer-creds-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}
.trainer-creds-list li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.trainer-creds-list li:last-child {
  border-bottom: 0;
}
.trainer-creds-year {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 500;
}
.trainer-creds-text {
  flex: 1;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-transform: uppercase;
  line-height: 1.55;
}
.trainer-creds-text em {
  font-style: italic;
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Epilogue — single sentence close */
.trainers-epilogue {
  padding: clamp(56px, 8vh, 96px) 0 clamp(40px, 6vh, 72px);
  text-align: center;
  border-top: 1px solid var(--line);
}
.epilogue-line {
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto;
  text-wrap: balance;
}
.epilogue-line em { font-style: italic; }
.epilogue-rule {
  width: 56px;
  height: 2px;
  background: var(--red);
  margin: 32px auto 0;
}

/* Responsive */
@media (max-width: 960px) {
  .trainers-hero img {
    height: clamp(280px, 44vh, 400px);
  }
  .trainers-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-portrait {
    max-width: 260px;
  }
  .profile-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .trainer-creds-list li {
    gap: 16px;
  }
  .trainer-creds-year {
    width: 60px;
  }
}

/* ============================================
   ARTICLES PAGE
   ============================================ */

.articles-hero {
  padding: clamp(80px, 12vh, 144px) 0 clamp(48px, 7vh, 80px);
  border-bottom: 1px solid var(--line);
}
.articles-hero .crumb {
  margin-bottom: clamp(32px, 5vh, 48px);
}
.articles-hero .eyebrow {
  margin-bottom: 18px;
}
.articles-hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  max-width: 16ch;
}
.articles-hero-title .red {
  color: var(--red);
}
.articles-hero-lede {
  margin-top: clamp(24px, 3.5vh, 40px);
  max-width: 62ch;
}

.articles-filters-wrap {
  padding-top: clamp(40px, 5vh, 56px);
  padding-bottom: clamp(40px, 5vh, 56px);
  border-bottom: 1px solid var(--line);
}
.articles-filters {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.article-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.article-chip:hover {
  color: var(--ink);
  border-color: var(--ink-3);
}
.article-chip.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.articles-featured-wrap {
  padding-top: clamp(48px, 7vh, 80px);
  padding-bottom: clamp(48px, 7vh, 80px);
  border-bottom: 1px solid var(--line);
}
.article-featured-link {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}
.article-featured-link:hover {
  transform: translateY(-2px);
}
.article-featured-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}
.article-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) saturate(0.92) brightness(0.85);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.article-featured-link:hover .article-featured-img img {
  transform: scale(1.04);
  filter: contrast(1.04) saturate(0.95) brightness(0.92);
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.article-cat {
  color: var(--red);
}
.article-sep {
  color: var(--line-2);
}
.article-featured-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.article-featured-excerpt {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 56ch;
}
.article-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
  transition: gap 0.2s;
}
.article-featured-link:hover .article-featured-cta {
  gap: 12px;
}
.article-featured-cta .arrow {
  width: 14px;
  height: 14px;
}

.articles-grid-wrap {
  padding-top: clamp(56px, 8vh, 96px);
  padding-bottom: clamp(48px, 7vh, 80px);
}
.articles-grid-head {
  margin-bottom: clamp(40px, 6vh, 64px);
  padding-bottom: clamp(24px, 3vh, 36px);
  border-bottom: 1px solid var(--line);
}
.articles-grid-head .eyebrow {
  margin-bottom: 12px;
}
.articles-grid-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
}
.articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.article-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-card-link {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: clamp(28px, 4vh, 44px) clamp(20px, 2.4vw, 36px);
  text-decoration: none;
  color: inherit;
  height: 100%;
  align-items: start;
  transition: background 0.2s;
}
.article-card-link:hover {
  background: var(--bg-2);
}
.article-card-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  padding-top: 4px;
}
.article-card-img {
  grid-column: 2;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 18px;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.92) brightness(0.78);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.article-card-link:hover .article-card-img img {
  transform: scale(1.04);
  filter: contrast(1.04) saturate(0.95) brightness(0.88);
}
.article-card-body {
  grid-column: 2;
  display: flex;
  flex-direction: column;
}
.article-card-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
  text-wrap: balance;
}
.article-card-excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 50ch;
}
.article-card-arrow {
  align-self: flex-start;
  font-size: 18px;
  color: var(--red);
  margin-top: auto;
  transition: transform 0.2s;
}
.article-card-link:hover .article-card-arrow {
  transform: translateX(6px);
}

.articles-news {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(72px, 11vh, 128px) 0;
}
.articles-news-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.articles-news .eyebrow {
  margin-bottom: 18px;
}
.articles-news-title {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1;
}
.articles-news-title .red {
  color: var(--red);
}
.articles-news-lede {
  margin-top: clamp(20px, 3vh, 32px);
  max-width: 52ch;
}
.articles-news-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.articles-news-form input {
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 18px 20px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.articles-news-form input:focus {
  border-color: var(--red);
}
.articles-news-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}
.articles-news-submit:hover {
  background: #B22622;
}
.articles-news-submit .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.articles-news-submit:hover .arrow {
  transform: translateX(3px);
}
.articles-news-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .article-featured-link {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .articles-list {
    grid-template-columns: 1fr;
  }
  .articles-news-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 560px) {
  .articles-hero-title {
    font-size: clamp(36px, 12vw, 72px);
  }
  .article-card-link {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .article-card-img,
  .article-card-body {
    grid-column: 1;
  }
}

/* -------------------------------------------------------------
   PROGRAMMES PAGE — LEAD CLASS + SILOS (v2 restructure)
   One product (the weekly class) carries the page inside a raised
   bg-2 band; the two secondary silos sit on plain bg at roughly
   half the display size. Day slots are radio-driven context, not
   separate offerings: the picked row inverts to solid red.
------------------------------------------------------------- */
.prog-lead {
  /* Fixed light ink for text sitting on solid red, so the paper
     theme cannot flip it to near-black and blow the contrast. */
  --on-red: #F4F1EA;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prog-lead-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.prog-lead-pitch,
.prog-lead-schedule {
  min-width: 0;
}
/* Must out-scale .h2 (clamp 40-88px) at every viewport, or the
   "Also available" section head below out-shouts the main sell. */
.prog-lead-title {
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.94;
  color: var(--ink);
  margin: clamp(14px, 2vh, 22px) 0 0;
  max-width: 13ch;
}
.prog-lead-desc {
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
  margin: clamp(20px, 3vh, 28px) 0 0;
  text-wrap: pretty;
}
.prog-lead-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin: clamp(26px, 4vh, 40px) 0 0;
  padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid var(--line);
}
.prog-lead-facts > div,
.prog-silo-meta > div {
  min-width: 0;
}
.prog-lead-facts dt,
.prog-silo-meta dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: var(--t-eyebrow-letter);
  text-transform: uppercase;
  color: var(--ink-3);
}
.prog-lead-facts dd,
.prog-silo-meta dd {
  margin: 7px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-2);
}
.prog-lead-facts .prog-lead-price {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

/* ---- Weekly schedule: four slots, one booking action ---- */
.prog-slots {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
  width: 100%;
}
.prog-slots-legend {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: var(--t-eyebrow-letter);
  text-transform: uppercase;
  color: var(--ink-3);
}
.prog-slot {
  display: grid;
  grid-template-columns: clamp(44px, 4.6vw, 58px) auto 1fr 14px;
  align-items: center;
  gap: 0 clamp(10px, 1.4vw, 18px);
  min-height: 60px;
  padding: 12px clamp(12px, 1.4vw, 18px);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.prog-slot:first-of-type {
  border-top: 1px solid var(--line);
}
.prog-slot:hover {
  background-color: var(--bg-3);
}
.prog-slot:has(.prog-slot-input:checked) {
  background-color: var(--red);
}
.prog-slot:has(.prog-slot-input:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}
.prog-slot:has(.prog-slot-input:checked):has(.prog-slot-input:focus-visible) {
  outline-color: var(--on-red);
}
@supports not selector(:has(*)) {
  .prog-slot-input:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
  }
}
.prog-slot-input {
  appearance: none;
  -webkit-appearance: none;
  grid-column: 4;
  grid-row: 1;
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.prog-slot-input:checked {
  background-color: var(--on-red);
  border-color: var(--on-red);
}
.prog-slot-day {
  grid-column: 1;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.prog-slot-time {
  grid-column: 2;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.prog-slot-tag {
  grid-column: 3;
  text-align: right;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.prog-slot-input:checked ~ .prog-slot-day,
.prog-slot-input:checked ~ .prog-slot-time,
.prog-slot-input:checked ~ .prog-slot-tag {
  color: var(--on-red);
}

/* ---- The single booking action ---- */
.prog-book {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: clamp(20px, 3vh, 28px);
}
.prog-book-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 46ch;
}
.prog-book-cta {
  justify-self: start;
  align-self: flex-start;
  min-height: 48px;
  padding: 15px 26px;
  font-size: 14px;
  background: var(--red);
  border-color: var(--red);
  color: var(--on-red);
  transition: background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.prog-book-cta:hover {
  gap: 10px;
  background: color-mix(in oklab, var(--red) 86%, var(--bg));
  border-color: color-mix(in oklab, var(--red) 86%, var(--bg));
  color: var(--on-red);
}

/* ---- Secondary silos: hairline-divided, no boxes, no numbering ---- */
.prog-silos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.prog-silo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  padding: clamp(30px, 4vh, 44px) clamp(24px, 3vw, 44px) clamp(34px, 5vh, 52px);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.prog-silo:first-child {
  padding-left: 0;
}
.prog-silo:last-child {
  padding-right: 0;
  border-right: 0;
}
.prog-silo-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  max-width: 16ch;
}
[data-headline="condensed"] .prog-silo-title {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.prog-silo-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 48ch;
}
.prog-silo-clients {
  align-self: stretch;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.prog-silo-clients-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: var(--t-eyebrow-letter);
  text-transform: uppercase;
  color: var(--ink-3);
}
.prog-silo-clients-list {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 42ch;
}
.prog-silo-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 20px;
  align-self: stretch;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.prog-silo .prog-page-cta {
  justify-self: start;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
}
.prog-silo .prog-page-cta:hover {
  gap: 10px;
}

@media (max-width: 1024px) {
  .prog-lead-inner {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vh, 48px);
  }
  .prog-lead-title {
    max-width: 16ch;
  }
  .prog-lead-desc {
    max-width: 64ch;
  }
}

@media (max-width: 880px) {
  .prog-silos {
    grid-template-columns: 1fr;
  }
  .prog-silo,
  .prog-silo:first-child,
  .prog-silo:last-child {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .prog-slot {
    grid-template-columns: 46px 1fr 14px;
    row-gap: 4px;
  }
  .prog-slot-day {
    grid-row: 1 / 3;
    align-self: center;
  }
  .prog-slot-time {
    grid-column: 2;
    grid-row: 1;
  }
  .prog-slot-tag {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
  .prog-slot-input {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }
  .prog-book-cta {
    align-self: stretch;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prog-slot,
  .prog-slot-input,
  .prog-book-cta,
  .prog-book-cta .arrow,
  .prog-silo .prog-page-cta,
  .prog-silo .prog-page-cta .arrow {
    transition: none;
  }
}
