/* ============================================================
   Focus Forward — Wellness Coaching for Life's Next Chapter
   Design tokens + component styles
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  --text-sm: clamp(0.9375rem, 0.9rem + 0.3vw, 1.0625rem);
  --text-base: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  --text-lg: clamp(1.1875rem, 1.05rem + 0.7vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.2rem + 3.8vw, 4.25rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Work Sans', system-ui, sans-serif;

  --measure: 68ch;
  --wrap: 1180px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px oklch(30% 0.03 140 / 0.08), 0 2px 8px oklch(30% 0.03 140 / 0.05);
  --shadow: 0 4px 12px oklch(30% 0.03 140 / 0.08), 0 16px 40px oklch(30% 0.03 140 / 0.07);
}

/* Light (default) */
:root,
[data-theme='light'] {
  --bg: oklch(97.5% 0.014 95);
  --surface: oklch(99.2% 0.008 95);
  --surface-2: oklch(94.5% 0.019 100);
  --border: oklch(87% 0.02 110);
  --text: oklch(26% 0.025 145);
  --text-muted: oklch(45% 0.022 145);
  --accent: oklch(43% 0.072 158);
  --accent-hover: oklch(36% 0.07 158);
  --accent-soft: oklch(92% 0.031 158);
  --accent-on: oklch(98% 0.01 158);
  --clay: oklch(56% 0.115 42);
  --clay-soft: oklch(93% 0.035 50);
}

[data-theme='dark'] {
  --bg: oklch(19% 0.018 150);
  --surface: oklch(23% 0.02 150);
  --surface-2: oklch(27% 0.022 150);
  --border: oklch(35% 0.022 150);
  --text: oklch(95% 0.012 100);
  --text-muted: oklch(78% 0.018 110);
  --accent: oklch(78% 0.085 158);
  --accent-hover: oklch(85% 0.085 158);
  --accent-soft: oklch(30% 0.035 158);
  --accent-on: oklch(19% 0.02 158);
  --clay: oklch(76% 0.095 45);
  --clay-soft: oklch(30% 0.04 45);
}

/* Larger-text accessibility mode */
[data-textsize='large'] {
  --text-xs: 1rem;
  --text-sm: 1.125rem;
  --text-base: 1.3125rem;
  --text-lg: 1.625rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  text-wrap: balance;
  font-weight: 500;
}
h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}
h3,
h4 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.005em;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-on);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  scroll-margin-top: 5rem;
}
.section--tint {
  background: var(--surface-2);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
}
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section-head h2 {
  font-size: var(--text-xl);
}
.section-head .lede {
  margin-top: var(--space-5);
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: var(--measure);
}
.prose p + p {
  margin-top: var(--space-5);
}
.prose {
  max-width: var(--measure);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  min-height: 52px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-on);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: var(--space-3) var(--space-5);
  min-height: 44px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  /* anchor for the mobile menu panel */
  top: 0;
  z-index: 60;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  margin-right: auto;
  color: var(--accent);
}
.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand__name {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand__tag {
  display: block;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav a {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a.btn--primary,
.nav a.btn--primary:hover {
  color: var(--accent-on);
  background: var(--accent);
}
.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current='true'] {
  color: var(--accent);
  background: var(--accent-soft);
}
.header__tools {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.icon-btn[aria-pressed='true'] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.icon-btn__label {
  font-size: 0.8125rem;
  font-weight: 700;
}
.nav-toggle {
  display: none;
}
@media (max-width: 620px) {
  .brand__name {
    font-size: 1.05rem;
  }
  .header .brand__tag {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }
}
@media (max-width: 440px) {
  .header .brand__tag {
    display: none;
  }
  .brand__mark {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 1140px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) var(--space-5) var(--space-8);
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease),
      visibility 0.35s;
  }
  .nav[data-open='true'] {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
  .nav a:not(.btn) {
    padding: var(--space-4);
    border-radius: var(--radius);
    font-size: var(--text-base);
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle {
    display: grid;
  }
  .nav__cta {
    margin-top: var(--space-4);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -45% 55%;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero__promise {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--clay);
  line-height: 1.4;
}
.hero__copy {
  margin-top: var(--space-6);
  color: var(--text-muted);
  max-width: 48ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}
.hero__figure {
  position: relative;
}
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute;
  left: calc(-1 * var(--space-6));
  bottom: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow);
  max-width: 15rem;
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}
.hero__badge span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__figure {
    order: -1;
  }
  .hero__badge {
    left: var(--space-4);
    bottom: calc(-1 * var(--space-4));
  }
  .hero__grid > div:last-child {
    margin-bottom: var(--space-8);
  }
}

/* ---------- Whole-person pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.pillar__icon {
  width: 34px;
  height: 34px;
  color: var(--clay);
  margin-bottom: var(--space-4);
}
.pillar h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.pillar p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---------- Coaching tracks ---------- */
.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
}
.track {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
}
.track:nth-child(2) {
  border-top-color: var(--clay);
}
.track__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.track h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  margin: var(--space-3) 0 var(--space-4);
}
.track p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.track ul {
  list-style: none;
  padding: 0;
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-2);
}
.track ul li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-left: var(--space-5);
  position: relative;
}
.track ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
.about__figure {
  position: sticky;
  top: 6.5rem;
}
.about__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about__figure figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.about__question {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--accent);
  padding-left: var(--space-6);
  border-left: 3px solid var(--clay);
  margin-bottom: var(--space-8);
}
.honor {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  margin-top: var(--space-8);
}
.honor h3 {
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.honor p {
  color: var(--text-muted);
}
.creds {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}
.creds h3 {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.creds p {
  margin-bottom: var(--space-4);
}
.creds__lead {
  font-weight: 600;
  color: var(--text);
}
.credentials {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-6);
}
.credentials li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text);
}
.credentials li > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cred__by {
  color: var(--text-muted);
  font-size: 0.92em;
}
.credentials svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 3px;
}
@media (max-width: 640px) {
  .credentials {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__figure {
    position: static;
    max-width: 22rem;
  }
}

/* ---------- How I coach ---------- */
.method__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.method__figure img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: var(--space-6);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--space-5);
  align-items: start;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.steps h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.steps p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.principles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-10);
}
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .method__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: var(--space-6);
  align-items: start;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.plan--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.plan__flag {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: var(--space-8);
  background: var(--clay);
  color: oklch(99% 0.01 60);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}
.plan h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.plan__price b {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}
.plan__price span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan__save {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  margin-top: auto;
}
.plan ul li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.plan ul svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 5px;
}
.pay-note {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-8);
  padding: var(--space-6);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.pay-note strong {
  color: var(--text);
}
.pay-methods {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.pay-methods span {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* ---------- Scheduling ---------- */
.schedule__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
.booker {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  box-shadow: var(--shadow-sm);
}
.booker h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.booker__hint {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.field {
  margin-bottom: var(--space-5);
}
.field label,
.field legend {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  min-height: 52px;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-5);
}
.slots__note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.55;
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: var(--space-3);
}
.slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.slot {
  position: relative;
}
.slot span {
  display: block;
  text-align: center;
  padding: var(--space-3) var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--bg);
  transition: all 0.18s var(--ease);
}
.slot:hover span {
  border-color: var(--accent);
  color: var(--accent);
}
.slot input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}
.slot input:focus-visible + span {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}
.form-status {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--text);
  font-size: var(--text-sm);
  display: none;
}
.form-status[data-show='true'] {
  display: block;
}
.form-status .btn {
  margin-top: var(--space-4);
}
.schedule__aside {
  display: grid;
  gap: var(--space-6);
}
.info-card {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.info-card h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}
.info-card p,
.info-card li {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.info-card ul {
  padding-left: var(--space-5);
  display: grid;
  gap: var(--space-2);
}
@media (max-width: 900px) {
  .schedule__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Video library ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
}
.video-card__thumb img,
.video-card__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: oklch(20% 0.02 150 / 0.28);
  border: 0;
  color: oklch(99% 0 0);
}
.video-card__play svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 8px oklch(20% 0.02 150 / 0.5));
}
.video-card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: grid;
  gap: var(--space-2);
}
.video-card__meta {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
}
.video-card h3 {
  font-size: var(--text-base);
}
.video-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.uploader {
  margin-top: var(--space-10);
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
}
.uploader[data-drag='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.uploader__head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}
.uploader__head h3 {
  font-size: var(--text-lg);
}
.uploader__head p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 52ch;
}
.uploader__drop {
  display: grid;
  place-items: center;
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-10) var(--space-5);
  border-radius: var(--radius);
  background: var(--bg);
}
.uploader__drop svg {
  width: 44px;
  height: 44px;
  color: var(--accent);
}
.uploader__drop p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.upload-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
}
.upload-list li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
}
.upload-list b {
  font-weight: 600;
}
.upload-list span {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
}
.post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.post img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post--lead img {
  aspect-ratio: 16 / 10;
}
.post__body {
  padding: var(--space-6);
  display: grid;
  gap: var(--space-3);
}
.post__meta {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.post__meta b {
  color: var(--clay);
}
.post h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
}
.post--lead h3 {
  font-size: var(--text-xl);
}
.post p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.post__more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}
a.post {
  color: inherit;
  text-decoration: none;
}
.post--soon {
  background: var(--surface-2);
  border-style: dashed;
}
.post--soon:hover {
  transform: none;
  box-shadow: none;
}
.post-stack {
  display: grid;
  gap: var(--space-6);
  align-content: start;
}
.post--row {
  flex-direction: row;
  align-items: stretch;
}
.post--row img {
  width: 34%;
  min-width: 34%;
  aspect-ratio: auto;
}
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .post--row {
    flex-direction: column;
  }
  .post--row img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* ---------- Substack ---------- */
.substack {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5) var(--space-6);
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
  padding: var(--space-6) var(--space-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius);
}
.substack__mark {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--clay);
}
.substack h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.substack p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 60ch;
}
@media (max-width: 760px) {
  .substack {
    grid-template-columns: auto 1fr;
    padding: var(--space-6);
  }
  .substack .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* ---------- Dialog ---------- */
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(760px, 92vw);
  width: 100%;
  margin: auto;
  max-height: 90vh;
}
dialog::backdrop {
  background: oklch(20% 0.02 150 / 0.6);
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal__close {
  float: right;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-left: var(--space-4);
}
.modal h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}
.modal .post__meta {
  margin-bottom: var(--space-5);
}
.modal p + p {
  margin-top: var(--space-5);
}
.modal__foot {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  justify-content: space-between;
}
.modal__foot p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 40ch;
}
.modal video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--space-6);
}
.quote {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-8);
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.45;
  margin-bottom: var(--space-5);
}
.quote figcaption {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 78ch;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: var(--space-5) 0;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}
.faq details[open] summary::after {
  content: '\2013';
}
.faq p {
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: var(--text-sm);
  max-width: 62ch;
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--accent);
  color: var(--accent-on);
}
.cta .wrap {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
}
.cta h2 {
  font-size: var(--text-xl);
}
.cta p {
  margin-top: var(--space-4);
  opacity: 0.86;
  max-width: 52ch;
}
.cta .btn--primary {
  background: var(--accent-on);
  color: var(--accent);
}
.cta .btn--ghost {
  border-color: color-mix(in oklab, var(--accent-on) 45%, transparent);
  color: var(--accent-on);
}
.cta .btn--ghost:hover {
  border-color: var(--accent-on);
  color: var(--accent-on);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .cta .wrap {
    grid-template-columns: 1fr;
  }
  .cta__actions {
    justify-content: flex-start;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--surface-2);
  padding-block: var(--space-16) var(--space-10);
  font-size: var(--text-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
}
.footer h4 {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.footer a {
  color: var(--text-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer a:hover {
  color: var(--accent);
}
.footer__about p {
  color: var(--text-muted);
  margin-top: var(--space-4);
  max-width: 34ch;
}
.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
@media (max-width: 980px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer__about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal[data-visible='true'] {
  opacity: 1;
  transform: none;
}
