﻿@font-face {
  font-family: "Mokoto";
  src: url("assets/fonts/mokoto-demo.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e0e0e;
  --ink-2: #1a1a18;
  --paper: #f6f4ee;
  --paper-2: #efece3;
  --white: #ffffff;
  --muted: #66645d;
  --line: rgba(14, 14, 14, 0.12);
  --on-dark: rgba(255, 255, 255, 0.72);
  --on-dark-line: rgba(255, 255, 255, 0.14);

  /* Theme accent â€” this variation: pure monochrome (black/white/grey). */
  --accent: #111111;
  --accent-press: #000000;
  --accent-soft: rgba(14, 14, 14, 0.07);
  --accent-on-dark: #ffffff;

  --max: 1200px;
  --radius: 14px;
  --title-font: "Mokoto", "Archivo", "Segoe UI", system-ui, sans-serif;
  --body-font: "Inter", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--title-font);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: 12px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
  z-index: 60;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Shared bits ---------- */
.section {
  padding: 104px max(22px, calc((100vw - var(--max)) / 2));
}

.section-kicker,
.eyebrow {
  color: var(--accent);
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker.light,
.eyebrow.light {
  color: var(--white);
}

.section-kicker {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.section-kicker::before {
  background: currentColor;
  content: "";
  height: 2px;
  width: 26px;
}

.accent-text {
  color: var(--accent-on-dark);
  display: inline-block;
  text-transform: uppercase;
}

/* brand name emphasis in body copy */
.brandword {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 48px;
  max-width: 820px;
}

.section-head .section-kicker {
  margin-bottom: 2px;
}

h2 {
  font-size: clamp(34px, 5.4vw, 66px);
}

/* ---------- Buttons ---------- */
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  line-height: 1;
  min-height: 52px;
  padding: 0 26px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.primary:hover {
  background: var(--accent-press);
  transform: translateY(-2px);
}

.button.glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button.glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.button.glass .dot {
  background: #43d17a;
  border-radius: 50%;
  height: 8px;
  width: 8px;
  box-shadow: 0 0 0 4px rgba(67, 209, 122, 0.25);
}

.text-link {
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
  font-weight: 700;
  padding-bottom: 3px;
}

.text-link:hover {
  color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 280ms ease, box-shadow 280ms ease;
  z-index: 40;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 22px;
  padding: 18px max(22px, calc((100vw - var(--max)) / 2));
}

.site-header.scrolled {
  background: rgba(246, 244, 238, 0.88);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  color: var(--white);
  display: flex;
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 800;
  gap: 11px;
  letter-spacing: -0.01em;
}

.brand img {
  filter: brightness(0) invert(1);
  height: 38px;
  width: auto;
  display: block;
}

.site-header.scrolled .brand {
  color: var(--ink);
}

.site-header.scrolled .brand img {
  filter: none;
}

nav {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-left: auto;
}

nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 600;
}

nav a:hover {
  color: var(--white);
}

.site-header.scrolled nav a {
  color: var(--muted);
}

.site-header.scrolled nav a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--accent);
  border-radius: 999px;
  color: var(--white) !important;
  padding: 11px 20px;
  transition: background 180ms ease;
}

.nav-cta:hover {
  background: var(--accent-press);
}

/* monochrome: keep the dark CTA readable over the hero photo */
.hero .button.primary {
  background: var(--white);
  color: var(--ink);
}
.hero .button.primary:hover {
  background: var(--paper-2);
}
.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.site-header.scrolled .nav-cta {
  border-color: transparent;
}

.nav-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  height: 44px;
  margin-left: auto;
  padding: 0 8px;
  width: 46px;
}

.nav-toggle span {
  background: var(--white);
  border-radius: 2px;
  display: block;
  height: 3px;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
  width: 24px;
}

.site-header.scrolled .nav-toggle span {
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  align-items: flex-end;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(104px, 15vh, 168px) max(22px, calc((100vw - var(--max)) / 2)) clamp(56px, 9vh, 110px);
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

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

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.55) 0%,
    rgba(14, 14, 14, 0.25) 38%,
    rgba(14, 14, 14, 0.82) 100%
  );
}

.hero-inner {
  color: var(--white);
  max-width: 880px;
  position: relative;
  z-index: 1;
}

.hero-inner .eyebrow {
  margin: 16px 0 0;
}

h1 {
  font-size: clamp(46px, 8vw, 108px);
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
  margin-top: 24px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-meta {
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  gap: 10px 22px;
  letter-spacing: 0.04em;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  text-transform: uppercase;
}

.hero-meta li {
  align-items: center;
  display: flex;
  gap: 22px;
}

.hero-meta li::before {
  background: var(--accent-on-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
  content: "";
  height: 6px;
  width: 6px;
}

.hero-scroll {
  bottom: 26px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll span {
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  display: block;
  height: 38px;
  position: relative;
  width: 24px;
}

.hero-scroll span::after {
  animation: scrolldot 1.8s ease-in-out infinite;
  background: var(--white);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 50%;
  position: absolute;
  top: 7px;
  transform: translateX(-50%);
  width: 6px;
}

@keyframes scrolldot {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 12px);
  }
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--ink);
  color: var(--white);
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  border-left: 1px solid var(--on-dark-line);
  padding: 34px 28px;
}

.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-item strong {
  color: var(--accent-on-dark);
  display: block;
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.trust-item span {
  color: var(--on-dark);
  font-size: 14px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 0.9fr 1.1fr;
}

.about-head h2 {
  max-width: 14ch;
}

.about-copy {
  display: grid;
  gap: 20px;
}

.about-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.about-image {
  border-radius: var(--radius);
  margin: 56px 0 0;
  overflow: hidden;
}

.about-image img {
  aspect-ratio: 21 / 9;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* ---------- Values ---------- */
.values {
  background: var(--paper-2);
}

.value-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 270px;
  padding: 28px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.value-card:hover {
  box-shadow: 0 18px 40px rgba(14, 14, 14, 0.08);
  transform: translateY(-4px);
}

.value-no {
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 800;
}

.value-card h3 {
  font-size: 25px;
}

.value-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-top: auto;
}

/* ---------- Progression / belts ---------- */
.progression-lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 44px;
  max-width: 720px;
}

.belt-track {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(9, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.belt-step {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.belt {
  background: var(--c);
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  height: 34px;
  position: relative;
  width: 100%;
}

.belt[data-light] {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

/* (knot removed — belts are clean bars with full-height grading stripes) */

/* grading stripes — the NEXT belt's colour, revealed consecutively as you scroll */
.belt > i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--s);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: scaleY(0.18);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.belt > i:nth-child(1) { right: 13px; }
.belt > i:nth-child(2) { right: 22px; }
.belt > i:nth-child(3) { right: 31px; }

.belt:focus-visible > i,
.belt.show > i {
  opacity: 1;
  transform: scaleY(1);
}

.belt:focus-visible > i:nth-child(2),
.belt.show > i:nth-child(2) { transition-delay: 0.12s; }

.belt:focus-visible > i:nth-child(3),
.belt.show > i:nth-child(3) { transition-delay: 0.24s; }

.belt-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.progression-foot {
  color: var(--ink);
  font-weight: 600;
  margin-top: 36px;
}

/* ---------- Approach (dark) ---------- */
.approach {
  background: var(--ink);
  color: var(--white);
  padding: 104px max(22px, calc((100vw - var(--max)) / 2));
}

.approach-head {
  margin-bottom: 48px;
}

.approach-head .section-kicker {
  margin-bottom: 14px;
}

.approach-head h2 {
  font-size: clamp(40px, 8vw, 104px);
}

.approach-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.approach-item {
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius);
  padding: 26px;
}

.approach-item h3 {
  font-size: 22px;
}

.approach-item p {
  color: var(--on-dark);
  line-height: 1.6;
  margin-top: 14px;
}

/* ---------- Programs ---------- */
.program-feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(14, 14, 14, 0.07);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
}

.program-media img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  width: 100%;
}

.program-body {
  align-content: center;
  display: grid;
  gap: 14px;
  padding: 44px;
}

.badge {
  background: var(--accent);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  justify-self: start;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  text-transform: uppercase;
}

.program-body h3 {
  font-size: clamp(28px, 4.4vw, 58px);
  overflow-wrap: normal;
  word-break: keep-all;
}

.program-body p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.program-points {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 4px 0 6px;
  padding: 0;
}

.program-points li {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  padding-left: 28px;
  position: relative;
}

.program-points li::before {
  border: 2px solid var(--accent);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 4px;
  position: absolute;
  top: 6px;
  width: 8px;
}

.program-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 8px;
}

/* ---------- Calendar ---------- */
.calendar-wrap {
  margin-top: 88px;
}

.calendar-shell {
  overflow-x: auto;
  padding-bottom: 6px;
}

.calendar-grid {
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1px;
  grid-template-columns: 62px repeat(5, minmax(120px, 1fr));
  min-width: 690px;
  overflow: hidden;
}

.calendar-corner,
.calendar-day,
.calendar-time,
.calendar-cell {
  background: var(--white);
  min-height: 84px;
  padding: 11px;
}

.calendar-corner,
.calendar-day {
  align-items: center;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.06em;
  min-height: 50px;
  text-transform: uppercase;
}

.calendar-corner,
.calendar-time {
  background: var(--paper-2);
  color: var(--muted);
}

.calendar-time {
  font-size: 12px;
  font-weight: 700;
}

.class-cell {
  align-content: start;
  display: grid;
  gap: 6px;
}

.class-cell strong {
  font-size: 13px;
}

.class-cell span {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.class-cell em {
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vacancy-cell {
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

.vacancy-cell em {
  color: var(--accent);
}

.full-cell {
  background: var(--ink);
  color: var(--white);
}

.full-cell em {
  color: rgba(255, 255, 255, 0.6);
}

.continuation {
  background: var(--accent-soft);
}

.continuation.dark {
  background: var(--ink);
}

/* ---------- Signup ---------- */
.signup {
  background: var(--paper-2);
}

.signup-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.8fr 1.2fr;
}

.signup-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 16px;
}

.signup-contact {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.signup-contact a {
  border-bottom: 2px solid var(--accent);
  font-weight: 700;
  padding-bottom: 2px;
}

.signup-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  padding: 26px;
}

.class-choice {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
}

.class-choice legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0 6px;
  text-transform: uppercase;
}

.class-choice label {
  align-items: center;
  display: flex;
  flex-direction: row;
  font-size: 15px;
  font-weight: 500;
  gap: 10px;
  text-transform: none;
}

.class-choice input {
  accent-color: var(--accent);
  height: 18px;
  width: 18px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

label.full,
.signup-form button {
  grid-column: 1 / -1;
}

input,
textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 0;
}

/* ---------- Gallery ---------- */
.collage-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, 1fr);
}

.collage-tile {
  align-items: end;
  border-radius: var(--radius);
  display: flex;
  margin: 0;
  min-height: 230px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.collage-tile img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 500ms ease;
  width: 100%;
}

.collage-tile:hover img {
  transform: scale(1.05);
}

.collage-tile::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 56%);
  content: "";
  inset: 0;
  position: absolute;
}

.collage-tile figcaption {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.collage-tile.large {
  grid-column: span 3;
  grid-row: span 2;
}

.collage-tile.tall {
  grid-column: span 2;
  grid-row: span 2;
}

.collage-tile.wide {
  grid-column: span 2;
}

.collage-tile:not(.large):not(.tall):not(.wide) {
  grid-column: span 1;
}

/* photo wall (additional class photos) */
.photo-wall {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
}

.pw {
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
}

.pw img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.pw:hover img {
  transform: scale(1.05);
}

.pw.more {
  display: none;
}

.photo-wall.expanded .pw.more {
  display: block;
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.gallery-toggle {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.gallery-toggle:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

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

/* ---------- Impact (dark) ---------- */
.impact {
  background: var(--ink);
  color: var(--white);
  padding: 104px max(22px, calc((100vw - var(--max)) / 2));
}

.impact-grid {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: 1.1fr 0.9fr;
}

.impact-copy h2 {
  margin: 14px 0 24px;
}

.impact-copy p {
  color: var(--on-dark);
  font-size: 18px;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 720px;
}

.impact-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.impact-list li {
  border-top: 1px solid var(--on-dark-line);
  font-family: var(--title-font);
  font-size: 21px;
  font-weight: 700;
  padding: 20px 0;
}

.impact-list li:first-child {
  border-top: 0;
}

/* ---------- Vision ---------- */
.vision {
  background: var(--paper-2);
}

.vision-inner {
  max-width: 1000px;
}

.vision h2 {
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.12;
  margin-top: 18px;
}

.vision p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin-top: 28px;
  max-width: 820px;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.team-photo {
  background: #fff;
  overflow: hidden;
}

.team-photo img {
  aspect-ratio: 4 / 5;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.team-belt {
  position: relative;
  height: 33px;
  background: var(--belt, #171717);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.16), inset 0 -4px 7px rgba(0, 0, 0, 0.32);
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.team-belt .belt-mark {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  height: 27px;
  width: auto;
  opacity: 0.96;
}

.belt-purple {
  --belt: #6d2f92;
}

.belt-black {
  --belt: #171717;
}

.team-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px;
}

.role {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-body h3 {
  font-size: 30px;
}

.team-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.team-links {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.team-links a {
  font-weight: 700;
}

.team-links a:hover {
  color: var(--accent);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--white);
  padding: 92px max(22px, calc((100vw - var(--max)) / 2));
  text-align: center;
}

.cta-inner {
  margin: 0 auto;
  max-width: 720px;
}

.cta-band .section-kicker {
  color: rgba(255, 255, 255, 0.8);
}

.cta-band h2 {
  font-size: clamp(40px, 6vw, 76px);
  margin: 12px 0 18px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-band .button.primary {
  background: var(--white);
  color: var(--ink);
}

.cta-band .button.primary:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- Heartspace ---------- */
.heartspace {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.heartspace p {
  color: var(--on-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.heartspace img {
  width: min(440px, 80vw);
}

.heartspace h2 {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(26px, 4vw, 44px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #080808;
  color: var(--on-dark);
  padding: 56px max(22px, calc((100vw - var(--max)) / 2)) 40px;
}

.footer-inner {
  align-items: center;
  border-bottom: 1px solid var(--on-dark-line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding-bottom: 28px;
}

.footer-brand {
  align-items: center;
  color: var(--white);
  display: flex;
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 800;
  gap: 12px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-meta a:hover {
  color: var(--white);
}

.footer-bottom {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  margin-top: 24px;
}

.footer-fine {
  font-size: 13px;
}

.powered-oryx img {
  display: block;
  filter: invert(1);
  height: 42px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  width: auto;
}

.powered-oryx:hover img {
  opacity: 1;
}

/* ---------- Reveal animation (JS only) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  nav {
    background: rgba(246, 244, 238, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
    display: none;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    order: 3;
    padding: 12px;
    width: 100%;
  }

  .site-header.nav-open nav {
    display: flex;
  }

  nav a,
  .site-header nav a {
    border-radius: 10px;
    color: var(--ink);
    font-size: 16px;
    padding: 13px 14px;
  }

  nav a:hover {
    background: rgba(14, 14, 14, 0.06);
  }

  .nav-cta {
    text-align: center;
  }

  .about-grid,
  .signup-grid,
  .impact-grid,
  .program-feature,
  .team-grid,
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-grid {
    max-width: 560px;
  }

  .hero-scroll {
    display: none;
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 72px 20px;
  }

  .approach,
  .impact {
    padding: 72px 20px;
  }

  .value-grid,
  .approach-grid,
  .collage-grid,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .trust {
    padding: 26px 20px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .trust-grid .trust-item {
    border: 1px solid var(--on-dark-line);
    border-radius: 12px;
    padding: 18px 14px;
  }

  .collage-tile,
  .collage-tile.large,
  .collage-tile.tall,
  .collage-tile.wide,
  .collage-tile:not(.large):not(.tall):not(.wide) {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .program-body,
  .team-body {
    padding: 28px;
  }

  .team-photo img {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .belt-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    min-height: 92svh;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* hero fits small screens */
  h1 { font-size: clamp(40px, 12vw, 66px); }
  .hero { min-height: 88svh; padding-bottom: 44px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .button { width: 100%; }

  /* swap the timetable grid for the stacked phone calendar */
  .calendar-shell { display: none; }
  .calendar-mobile { display: grid; gap: 10px; }
  .calendar-wrap { margin-top: 64px; }

  /* comfortable tap targets + spacing */
  .button { min-height: 50px; }
  .signup-contact a { display: inline-block; padding: 4px 0; }
  .belt-track { gap: 12px; }
  .belt { height: 30px; }
}

/* ====================================================
   Martial-arts motion + interactive calendar
   ==================================================== */

/* Hero "ken burns" â€” slow continuous push-in on the photo */
.hero-media img {
  animation: kenburns 22s ease-in-out infinite alternate;
  transform-origin: 50% 38%;
}
@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

/* "Strike" â€” a light slash sweeps across primary buttons on hover */
.button.primary,
.nav-cta { position: relative; overflow: hidden; }
.button.primary::after,
.nav-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.button.primary:hover::after,
.nav-cta:hover::after { animation: strike 0.6s ease; }
@keyframes strike { from { left: -140%; } to { left: 160%; } }

/* "Belt grading" â€” belts snap in left to right and stripes wipe on */
.js .belt-step {
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .belt-track.belts-go .belt-step { opacity: 1; transform: none; }
.js .belt-track.belts-go .belt-step:nth-child(1) { transition-delay: 0.04s; }
.js .belt-track.belts-go .belt-step:nth-child(2) { transition-delay: 0.09s; }
.js .belt-track.belts-go .belt-step:nth-child(3) { transition-delay: 0.14s; }
.js .belt-track.belts-go .belt-step:nth-child(4) { transition-delay: 0.19s; }
.js .belt-track.belts-go .belt-step:nth-child(5) { transition-delay: 0.24s; }
.js .belt-track.belts-go .belt-step:nth-child(6) { transition-delay: 0.29s; }
.js .belt-track.belts-go .belt-step:nth-child(7) { transition-delay: 0.34s; }
.js .belt-track.belts-go .belt-step:nth-child(8) { transition-delay: 0.39s; }
.js .belt-track.belts-go .belt-step:nth-child(9) { transition-delay: 0.44s; }
.belt { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.belt-step:hover .belt { transform: translateY(-3px); }

/* Interactive calendar */
.calendar-hint { color: var(--muted); font-size: 14px; margin: -30px 0 20px; }
.class-cell[role="button"] {
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.class-cell[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.vacancy-cell[role="button"]:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(14, 14, 14, 0.16); z-index: 1; }
.full-cell[role="button"]:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(14, 14, 14, 0.28); z-index: 1; }
.spots {
  display: block;
  height: 4px;
  width: 70%;
  border-radius: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--accent) 0 72%, rgba(14, 14, 14, 0.14) 72%);
}
.full-cell .spots { display: none; }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.class-cell.shake { animation: shake 0.5s; }
.signup-form.flash { animation: flashpulse 0.9s ease; }
@keyframes flashpulse {
  0% { box-shadow: 0 0 0 0 var(--accent-soft); }
  30% { box-shadow: 0 0 0 6px var(--accent-soft); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}
.class-choice label.just-ticked { color: var(--accent); font-weight: 700; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
.calendar-legend .lg { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 7px; }
.calendar-legend .lg-vac { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.calendar-legend .lg-full { background: var(--ink); }

/* program note + checkbox sublabels */
.program-note { color: var(--muted); font-size: 13.5px; line-height: 1.55; font-style: italic; border-left: 2px solid var(--line); padding-left: 14px; margin-top: 2px; }
.class-choice label small { color: var(--muted); font-weight: 600; }

/* phone calendar (stacked cards) â€” shown on small screens */
.calendar-mobile { display: none; list-style: none; margin: 18px 0 0; padding: 0; }
.cm-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; background: var(--white); cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.cm-card:active { transform: scale(0.99); }
.cm-card.vacancy { background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }
.cm-card.full { background: var(--ink); color: var(--white); }
.cm-card b { font-family: var(--title-font); font-size: 18px; display: block; }
.cm-card span { font-size: 13px; color: var(--muted); }
.cm-card.full span { color: rgba(255, 255, 255, 0.72); }
.cm-card em { font-style: normal; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.cm-card.vacancy em { color: var(--accent); }
.cm-card.full em { color: rgba(255, 255, 255, 0.72); }

/* extra hover lifts */
.team-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(14, 14, 14, 0.1); }
.approach-item { transition: transform 0.2s ease, border-color 0.2s ease; }
.approach-item:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.3); }

@media (max-width: 560px) {
  .gallery-toggle { width: 100%; }
  .cta-band .cta-row { flex-direction: column; align-items: stretch; }
  .cta-band .button { width: 100%; }
  .program .cta-row .button,
  .program .cta-row .text-link { width: 100%; text-align: center; }
  .section-head { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .js .belt-step,
  .belt > i { opacity: 1; transform: none; }
}

/* ====================================================
   KINETIC DOJO — physics + martial arts education stream
   (native to Limitless Impact: monochrome, disciplined)
   ==================================================== */
.kinetic {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* measurement-mark motif under the section-top */
.kinetic {
  position: relative;
}
.kinetic::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(22px, calc((100vw - var(--max)) / 2));
  right: max(22px, calc((100vw - var(--max)) / 2));
  height: 10px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 26px);
  opacity: 0.9;
}

/* 1. Hero */
.kd-hero {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: 1.05fr 0.95fr;
}

.kd-mark {
  color: var(--ink);
  font-family: var(--title-font);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 18px 0 20px;
  text-transform: uppercase;
}

.kd-mark span {
  color: var(--muted);
  margin-left: 0.5em;
}

.kd-hero-copy h2 {
  font-size: clamp(34px, 5vw, 60px);
}

.kd-em {
  display: inline-block;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}

.kd-lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-top: 20px;
  max-width: 620px;
}

.kd-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 32px;
}

.kd-hero-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.kd-hero-media img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.kd-overlay {
  color: var(--white);
  inset: 0;
  mix-blend-mode: normal;
  opacity: 0.92;
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.kd-overlay .kd-com { animation: kdpulse 2.6s ease-in-out infinite; transform-origin: 120px 250px; }
@keyframes kdpulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* 2. Parent promise */
.kd-promise {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  margin-top: 80px;
  padding-top: 56px;
}

.kd-promise-copy h3 {
  font-size: clamp(26px, 3.6vw, 40px);
}

.kd-promise-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-top: 18px;
}

.kd-callout {
  border-left: 3px solid var(--accent);
  font-family: var(--title-font);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0;
  padding: 6px 0 6px 26px;
  text-transform: uppercase;
}

/* 3. Pillars */
.kd-pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
}

.kd-pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.kd-pillar:hover {
  box-shadow: 0 18px 40px rgba(14, 14, 14, 0.08);
  transform: translateY(-4px);
}

.kd-glyph {
  color: var(--ink);
  height: 48px;
  width: 48px;
}

.kd-glyph svg { height: 48px; width: 48px; }

.kd-pillar h3 { font-size: 24px; }

.kd-pillar p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* 4. Audience split */
.kd-audience {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 16px;
}

.kd-aud {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.kd-aud-tag {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kd-aud h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-top: 12px;
}

.kd-aud p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 14px;
}

/* 5. Resource library */
.kd-resources { margin-top: 88px; }

.kd-panels {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.kd-panel { border-top: 1px solid var(--line); background: var(--white); }
.kd-panel:first-child { border-top: 0; }

.kd-panel summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 22px 24px;
  transition: background 0.18s ease;
}

.kd-panel summary::-webkit-details-marker { display: none; }
.kd-panel summary:hover { background: var(--accent-soft); }
.kd-panel summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.kd-panel-no {
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 800;
  min-width: 24px;
}

.kd-panel-title {
  flex: 1;
  font-family: var(--title-font);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kd-panel-icon {
  flex-shrink: 0;
  height: 16px;
  position: relative;
  width: 16px;
}

.kd-panel-icon::before,
.kd-panel-icon::after {
  background: var(--ink);
  content: "";
  position: absolute;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.kd-panel-icon::before { top: 7px; left: 0; height: 2px; width: 16px; }
.kd-panel-icon::after { top: 0; left: 7px; height: 16px; width: 2px; }
.kd-panel[open] .kd-panel-icon::after { transform: scaleY(0); opacity: 0; }

.kd-panel-body {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  padding: 0 24px 24px 66px;
}

/* 6. Skool waitlist (dark card — echoes the site's dark bands) */
.kd-waitlist {
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  display: grid;
  gap: 48px;
  grid-template-columns: 1.15fr 0.85fr;
  margin-top: 88px;
  padding: clamp(36px, 5vw, 60px);
}

.kd-waitlist h2 {
  font-size: clamp(30px, 4vw, 52px);
  margin: 14px 0 20px;
}

.kd-waitlist-copy > p {
  color: var(--on-dark);
  font-size: 18px;
  line-height: 1.65;
  max-width: 620px;
}

.kd-includes {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.kd-includes li {
  border-top: 1px solid var(--on-dark-line);
  font-family: var(--title-font);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 16px 0;
  text-transform: uppercase;
}

.kd-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  padding: 26px;
}

.kd-form label {
  color: var(--on-dark);
  display: grid;
  gap: 8px;
}

.kd-form input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--on-dark-line);
  color: var(--white);
}

.kd-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.kd-form input:focus { border-color: var(--white); outline: 0; }

.kd-form .button.primary {
  background: var(--white);
  color: var(--ink);
}
.kd-form .button.primary:hover { background: var(--paper-2); }

.kd-disclaimer {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  line-height: 1.55;
  margin: 2px 0 0;
}

/* Responsive */
@media (max-width: 980px) {
  .kd-hero,
  .kd-promise,
  .kd-audience,
  .kd-waitlist { grid-template-columns: 1fr; }
  .kd-hero { gap: 36px; }
  .kd-pillars { grid-template-columns: 1fr; }
  .kd-promise { gap: 28px; margin-top: 60px; padding-top: 44px; }
}

@media (max-width: 680px) {
  .kd-panel summary { gap: 12px; padding: 18px 16px; }
  .kd-panel-body { padding: 0 16px 20px 16px; }
  .kd-aud { padding: 24px; }
  .kd-form { padding: 20px; }
  .kd-actions .button { width: 100%; }
  .kd-actions { flex-direction: column; align-items: stretch; }
  .kd-actions .text-link { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .kd-overlay .kd-com { animation: none !important; }
}

/* --- KINETIC DOJO standalone page hero (dark, keeps transparent header readable) --- */
.kd-page-hero {
  align-items: flex-end;
  display: flex;
  min-height: 78svh;
  overflow: hidden;
  padding: clamp(120px, 18vh, 190px) max(22px, calc((100vw - var(--max)) / 2)) clamp(48px, 8vh, 90px);
  position: relative;
}

.kd-page-hero-media,
.kd-page-hero-overlay {
  inset: 0;
  position: absolute;
}

.kd-page-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  width: 100%;
}

.kd-page-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.62) 0%,
    rgba(14, 14, 14, 0.34) 40%,
    rgba(14, 14, 14, 0.86) 100%
  );
}

.kd-hero-svg {
  bottom: 0;
  color: rgba(255, 255, 255, 0.5);
  height: min(360px, 60%);
  pointer-events: none;
  position: absolute;
  right: 0;
  width: min(520px, 70%);
  z-index: 1;
}

.kd-hero-svg .kd-com { animation: kdpulse 2.6s ease-in-out infinite; }

.kd-page-hero-inner {
  color: var(--white);
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.kd-page-hero .eyebrow.light { margin: 0 0 14px; }

.kd-mark.light { color: var(--white); }
.kd-mark.light span { color: rgba(255, 255, 255, 0.6); }

.kd-page-hero h1 {
  font-size: clamp(40px, 7vw, 92px);
  letter-spacing: -0.02em;
  line-height: 0.94;
}

.kd-hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  margin-top: 20px;
  max-width: 620px;
}

.kd-hero-copy + .kd-hero-copy { margin-top: 14px; }

.kd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.kd-page-hero .button.primary { background: var(--white); color: var(--ink); }
.kd-page-hero .button.primary:hover { background: var(--paper-2); }

/* on the standalone page the promise is the first block — drop the extra top rule */
.kinetic > .kd-promise:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 680px) {
  .kd-page-hero { min-height: 88svh; }
  .kd-page-hero h1 { font-size: clamp(38px, 12vw, 60px); }
  .kd-hero-actions { flex-direction: column; align-items: stretch; }
  .kd-hero-actions .button { width: 100%; }
  .kd-hero-svg { opacity: 0.5; width: 82%; }
}



/* ====================================================
   KINETIC DOJO standalone site — brand logo overrides
   (logo file is transparent white artwork; invert on light header)
   ==================================================== */
.brand img { filter: none; height: 48px; width: auto; }
.site-header.scrolled .brand img { filter: invert(1); }
@media (max-width: 680px) { .brand img { height: 42px; } }

/* founding-access note under form on this site */
.kd-founding-note { color: rgba(255,255,255,0.6); font-size: 13px; margin: 10px 0 0; }

/* ====================================================
   KINETIC DOJO — full brand-site sections
   ==================================================== */
.kd-curriculum .kd-lead,
.kinetic .kd-lead { margin-bottom: 40px; }

/* How it works — numbered steps */
.kd-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kd-step {
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
}
.kd-step-no {
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.kd-step h3 { font-size: 22px; }
.kd-step p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Membership plan card (dark) */
.kd-membership { padding-top: 0; }
.kd-plan {
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px 56px;
  padding: clamp(32px, 5vw, 64px);
}
.kd-plan-head { grid-column: 1; }
.kd-plan-head h2 { font-size: clamp(30px, 4vw, 50px); margin: 14px 0 18px; }
.kd-plan-head > p { color: var(--on-dark); font-size: 18px; line-height: 1.6; max-width: 46ch; }
.kd-plan-badge {
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 22px;
  padding: 8px 16px;
  text-transform: uppercase;
}
.kd-plan-list {
  align-content: start;
  display: grid;
  gap: 0;
  grid-column: 2;
  grid-row: 1 / 3;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kd-plan-list li {
  border-top: 1px solid var(--on-dark-line);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0 14px 30px;
  position: relative;
}
.kd-plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}
.kd-plan-cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  grid-column: 1;
}
.kd-plan .button.primary { background: var(--white); color: var(--ink); }
.kd-plan .button.primary:hover { background: var(--paper-2); }
.text-link.light { border-bottom-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.text-link.light:hover { color: var(--on-dark); }

/* About / credibility */
.kd-about-grid {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: 1fr 1fr;
}
.kd-about-copy h2 { font-size: clamp(28px, 3.6vw, 46px); margin: 14px 0 20px; }
.kd-about-copy p { color: var(--muted); font-size: 18px; line-height: 1.65; margin-bottom: 16px; }
.kd-about-media { border-radius: var(--radius); margin: 0; overflow: hidden; }
.kd-about-media img { aspect-ratio: 4 / 3; height: 100%; object-fit: cover; width: 100%; }

/* Waitlist wrapped in a section — drop the standalone top margin */
.kd-waitlist-section .kd-waitlist { margin-top: 0; }

/* Responsive */
@media (max-width: 980px) {
  .kd-steps { grid-template-columns: repeat(2, 1fr); }
  .kd-plan { grid-template-columns: 1fr; gap: 26px; }
  .kd-plan-head, .kd-plan-list, .kd-plan-cta { grid-column: 1; }
  .kd-plan-list { grid-row: auto; }
  .kd-about-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .kd-steps { grid-template-columns: 1fr; }
}

/* ====================================================
   KINETIC DOJO — Technique Library page
   ==================================================== */
.kd-lib-hero {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(120px, 20vh, 190px) max(22px, calc((100vw - var(--max)) / 2)) clamp(44px, 7vh, 72px);
  position: relative;
}
.kd-lib-hero-inner { max-width: 760px; position: relative; z-index: 2; }
.kd-lib-hero .eyebrow.light { margin: 0 0 14px; }
.kd-lib-hero h1 { font-size: clamp(38px, 6vw, 76px); letter-spacing: -0.02em; line-height: 0.96; }
.kd-lib-lead { color: rgba(255,255,255,0.82); font-size: clamp(16px,1.6vw,20px); line-height: 1.6; margin-top: 20px; max-width: 620px; }
.kd-lib-hero .kd-hero-svg { bottom: 0; color: rgba(255,255,255,0.4); height: min(300px,70%); right: 0; top: auto; width: min(520px,55%); }

/* controls */
.kd-library { padding-top: clamp(32px, 5vw, 56px); }
.lib-controls {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 20px;
  position: sticky;
  top: 64px;
  background: var(--paper);
  z-index: 20;
}
.lib-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.lib-filter {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lib-filter:hover { border-color: var(--ink); color: var(--ink); }
.lib-filter.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.lib-tools { align-items: center; display: flex; gap: 14px; }
.lib-search {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  min-height: 44px;
  padding: 10px 18px;
  width: 240px;
}
.lib-search:focus { border-color: var(--accent); outline: 0; }
.lib-count { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* grid + cards */
.tech-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.tech-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tech-card:hover { box-shadow: 0 18px 40px rgba(14,14,14,0.08); transform: translateY(-3px); }
.tech-card[hidden] { display: none; }

.tech-media { aspect-ratio: 16 / 9; background: var(--ink); position: relative; width: 100%; }
.tech-media iframe { border: 0; height: 100%; position: absolute; inset: 0; width: 100%; }
.tech-ph {
  align-items: center;
  color: rgba(255,255,255,0.62);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  justify-content: center;
}
.tech-ph svg { height: 40px; width: 40px; }
.tech-ph span { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.tech-body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.tech-meta { align-items: center; display: flex; gap: 10px; }
.tech-cat {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  text-transform: uppercase;
}
.tech-level { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tech-body h3 { font-size: 23px; }
.tech-steps { color: var(--muted); display: grid; gap: 9px; margin: 0; padding-left: 20px; }
.tech-steps li { font-size: 14.5px; line-height: 1.5; padding-left: 4px; }
.tech-key {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 4px;
  padding-top: 14px;
}
.tech-key span {
  color: var(--accent);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.lib-empty { color: var(--muted); font-size: 17px; padding: 40px 0; text-align: center; }
.lib-disclaimer { color: var(--muted); font-size: 13px; font-style: italic; line-height: 1.55; margin-top: 40px; }

@media (max-width: 900px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .tech-grid { grid-template-columns: 1fr; }
  .lib-controls { position: static; }
  .lib-tools { width: 100%; }
  .lib-search { flex: 1; width: auto; }
}

/* resources -> library CTA on home */
.kd-resources-cta { align-items: center; display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; }

/* technique card: Body mechanics + The physics lines */
.tech-notes { border-top: 1px solid var(--line); display: grid; gap: 12px; margin-top: 4px; padding-top: 14px; }
.tech-line { color: var(--ink); font-size: 14px; line-height: 1.55; }
.tech-line > span {
  color: var(--muted);
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.tech-physics > span { color: var(--accent); }
.tech-physics {
  background: var(--accent-soft);
  border-radius: 8px;
  margin: 0 -6px;
  padding: 12px 12px;
}
