:root {
  --bg: oklch(98.6% 0.004 250);
  --surface: oklch(100% 0 0);
  --surface-dim: oklch(88.5% 0.004 250);
  --surface-soft: oklch(96.3% 0.005 250);
  --surface-raised: oklch(92.8% 0.005 250);
  --fg: oklch(18% 0.02 250);
  --muted: oklch(42% 0.018 250);
  --border: oklch(80% 0.012 250);
  --accent: oklch(61% 0.21 27);
  --accent-strong: oklch(54% 0.22 27);
  --accent-soft: oklch(77% 0.14 28);
  --coral-wash: oklch(91% 0.045 20);
  --navy: oklch(22% 0.071 260);
  --navy-deep: oklch(14% 0.055 260);
  --navy-soft: oklch(31% 0.058 260);
  --success: oklch(58% 0.13 155);
  --warning: oklch(73% 0.14 78);
  --danger: oklch(58% 0.19 27);

  --font-display: "Hanken Grotesk", "Avenir Next", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;

  --container: min(100% - clamp(32px, 6vw, 96px), 1280px);
  --radius: 4px;
  --radius-lg: 8px;
  --section: clamp(56px, 8vw, 96px);
  --nav-height: clamp(78px, 6.2vw, 92px);
  --step--1: clamp(0.86rem, 0.82rem + 0.16vw, 0.96rem);
  --step-0: clamp(1rem, 0.95rem + 0.24vw, 1.13rem);
  --step-1: clamp(1.16rem, 1.04rem + 0.55vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.28rem + 1.16vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.54rem + 2.4vw, 3.45rem);
  --step-4: clamp(2.7rem, 1.8rem + 4vw, 5.3rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--fg);
  background:
    radial-gradient(circle at 7% 38%, color-mix(in oklch, var(--coral-wash), transparent 74%) 0 280px, transparent 281px),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 54%, var(--surface-soft) 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  position: relative;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 80;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
  font-weight: 800;
  transition: transform 160ms ease;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid color-mix(in oklch, var(--border), transparent 30%);
  background: color-mix(in oklch, var(--surface), transparent 8%);
  backdrop-filter: blur(16px);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    transform 420ms cubic-bezier(0.22, 0.8, 0.24, 1),
    opacity 320ms ease,
    background 180ms ease,
    border-color 180ms ease;
  will-change: transform, opacity;
}

.topbar.is-scrolled {
  background: color-mix(in oklch, var(--surface), transparent 3%);
  border-bottom-color: color-mix(in oklch, var(--border), transparent 12%);
}

.topbar.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(-100% - 10px), 0);
}

.topbar.is-returning {
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 160ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: clamp(230px, 25vw, 356px);
  height: clamp(62px, 5.8vw, 84px);
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.brand-logo {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  padding: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--navy);
  align-items: center;
  justify-content: center;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-button {
  flex-direction: column;
  gap: 4px;
}

.menu-open .menu-button span {
  opacity: 0;
}

.menu-open .menu-button::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-button::after {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 30px color-mix(in oklch, var(--accent), transparent 80%);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
  box-shadow: 0 16px 34px color-mix(in oklch, var(--accent), transparent 72%);
}

.button-secondary {
  border-color: color-mix(in oklch, var(--navy), white 34%);
  color: var(--navy);
  background: color-mix(in oklch, var(--surface), transparent 8%);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--navy);
  background: color-mix(in oklch, var(--navy), white 94%);
}

.hero {
  position: relative;
  min-height: 921px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary, #000515);
  color: white;
  isolation: isolate;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img,
.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background video {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: saturate(0.94) contrast(1.04);
  transition: opacity 260ms ease;
  will-change: opacity;
}

.hero-background video.is-active {
  opacity: 0.6;
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 5, 21, 0.4) 0%, rgba(0, 5, 21, 0.2) 48%, rgba(0, 5, 21, 0.6) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(96px, 12vw, 148px);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin-bottom: 32px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #d93537;
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  backdrop-filter: blur(12px);
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.hero-title {
  max-width: 980px;
  margin: 0 auto 24px;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero-title span {
  font-style: italic;
  font-weight: 300;
}

.hero-lede {
  max-width: 672px;
  margin: 0 auto 40px;
  color: var(--surface-variant, #e1e3e4);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.5;
}

.reference-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.reference-actions .button {
  min-height: 64px;
  padding: 20px 40px;
  border-radius: 999px;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.28;
  font-weight: 700;
}

.reference-actions .button-primary {
  background: #b51921;
  color: white;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.reference-actions .button-primary:hover,
.reference-actions .button-primary:focus-visible {
  background: #d93537;
  transform: translateY(-4px);
}

.reference-actions .button-secondary {
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  backdrop-filter: blur(12px);
}

.reference-actions .button-secondary:hover,
.reference-actions .button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.86fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

h1 {
  max-width: 760px;
  margin-top: 22px;
  font-size: var(--step-4);
  line-height: 0.98;
  font-weight: 800;
}

.hero h1:not(.hero-title) {
  max-width: 880px;
  color: white;
  font-size: clamp(3.2rem, 8.2vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-shadow: 0 18px 48px color-mix(in oklch, black, transparent 58%);
}

.hero .eyebrow {
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid color-mix(in oklch, white, transparent 78%);
  border-radius: 999px;
  background: color-mix(in oklch, var(--accent), transparent 8%);
  color: white;
  backdrop-filter: blur(12px);
}

.hero .eyebrow::before {
  display: none;
}

.hero-copy {
  max-width: 670px;
  margin-top: 24px;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.hero .hero-copy {
  max-width: 720px;
  color: color-mix(in oklch, white, transparent 14%);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.live-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 540px;
  margin-top: 36px;
  padding: 18px;
  border: 1px solid color-mix(in oklch, var(--border), transparent 22%);
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--surface), transparent 10%);
}

.hero .live-note {
  border-color: color-mix(in oklch, white, transparent 78%);
  background: color-mix(in oklch, var(--navy-deep), transparent 18%);
  backdrop-filter: blur(14px);
}

.hero .live-note b {
  color: white;
}

.hero .live-note p {
  color: color-mix(in oklch, white, transparent 20%);
}

.live-note b {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.live-note p {
  color: var(--muted);
  line-height: 1.45;
}

.live-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px color-mix(in oklch, var(--accent), transparent 86%);
}

.hero-visual {
  position: relative;
  min-height: clamp(430px, 52vw, 640px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, color-mix(in oklch, white, transparent 96%), color-mix(in oklch, var(--navy), transparent 52%) 58%, color-mix(in oklch, var(--accent), var(--navy) 72%));
  color: white;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--navy), white 22%);
  box-shadow: 0 38px 90px color-mix(in oklch, black, transparent 62%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in oklch, white, transparent 94%) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklch, white, transparent 94%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.orbital {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  right: -22%;
  top: -12%;
  border: 1px solid color-mix(in oklch, white, transparent 72%);
  border-radius: 50%;
}

.poly-heart {
  position: absolute;
  width: min(84%, 470px);
  right: clamp(20px, 5vw, 62px);
  top: clamp(28px, 7vw, 86px);
  filter: drop-shadow(0 20px 42px color-mix(in oklch, black, transparent 72%));
}

.visual-card {
  position: absolute;
  left: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 42px);
  width: min(82%, 380px);
  padding: 20px;
  border: 1px solid color-mix(in oklch, white, transparent 70%);
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--navy-deep), transparent 12%);
  backdrop-filter: blur(14px);
}

.visual-card .eyebrow {
  color: var(--accent-soft);
  font-size: 0.72rem;
}

.visual-card h2 {
  margin-top: 16px;
  color: white;
  font-size: clamp(1.5rem, 1.12rem + 1.55vw, 2.35rem);
  line-height: 1.03;
}

.visual-card p {
  margin-top: 14px;
  color: color-mix(in oklch, white, transparent 20%);
  line-height: 1.5;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 22px;
  border: 1px solid color-mix(in oklch, white, transparent 78%);
  background: color-mix(in oklch, white, transparent 78%);
}

.metric {
  min-height: 82px;
  padding: 12px;
  background: color-mix(in oklch, var(--navy-deep), transparent 4%);
}

.metric strong {
  display: block;
  color: white;
  font-size: 1rem;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: color-mix(in oklch, white, transparent 32%);
  font-size: 0.78rem;
  line-height: 1.3;
}

.section {
  padding-block: var(--section);
}

.course-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 6%, color-mix(in oklch, var(--accent), transparent 72%) 0 260px, transparent 261px),
    radial-gradient(circle at 84% 22%, color-mix(in oklch, var(--accent-soft), transparent 78%) 0 220px, transparent 221px),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 52%, var(--navy-deep) 100%);
  color: white;
}

.course-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(120deg, transparent 0 48%, color-mix(in oklch, white, transparent 82%) 49% 50%, transparent 51% 100%),
    linear-gradient(60deg, transparent 0 48%, color-mix(in oklch, var(--accent-soft), transparent 76%) 49% 50%, transparent 51% 100%);
  background-size: 142px 142px;
  pointer-events: none;
}

.course-shell {
  position: relative;
  z-index: 1;
}

.course-section .eyebrow,
.course-section .section-head h2 {
  color: white;
}

.course-section .section-head p {
  color: color-mix(in oklch, white, transparent 24%);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.52fr);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section-head h2 {
  margin-top: 14px;
  font-size: var(--step-3);
  line-height: 1.05;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  line-height: 1.65;
  font-size: var(--step-0);
  text-wrap: pretty;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklch, white, transparent 72%);
  background: color-mix(in oklch, white, transparent 92%);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: color-mix(in oklch, var(--accent-soft), white 14%);
  background: color-mix(in oklch, white, transparent 84%);
}

.filter-button[aria-pressed="true"]:hover,
.filter-button[aria-pressed="true"]:focus-visible {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.3vw, 28px);
  align-items: stretch;
}

.course-card {
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, white, transparent 78%);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--fg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 50px color-mix(in oklch, black, transparent 82%);
}

.course-card[hidden] {
  display: none;
}

.course-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -58px;
  top: -58px;
  background:
    linear-gradient(135deg, transparent 49%, color-mix(in oklch, var(--accent-soft), transparent 44%) 50%, transparent 51%),
    radial-gradient(circle at 50% 50%, color-mix(in oklch, var(--coral-wash), transparent 8%), transparent 68%);
  border-radius: 50%;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

.course-card.is-wide {
  display: flex;
}

.course-card.is-tall {
  min-height: 0;
}

.course-card.is-featured {
  background: var(--surface);
  color: var(--fg);
  border-color: color-mix(in oklch, white, transparent 78%);
}

.course-card.is-featured h3,
.course-card.is-featured .course-fit {
  color: var(--navy);
}

.course-card.is-featured p,
.course-card.is-featured li {
  color: var(--muted);
}

.course-card.is-featured .course-chip {
  background: color-mix(in oklch, var(--coral-wash), white 40%);
  color: var(--navy);
}

.course-media {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, color-mix(in oklch, var(--accent), transparent 65%) 0 120px, transparent 121px),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
}

.course-card.is-wide .course-media {
  min-height: 0;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.course-card:hover .course-media img {
  transform: scale(1.045);
}

.course-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.74;
  background-image:
    url("data:image/svg+xml,%3Csvg width='560' height='560' viewBox='0 0 560 560' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ff6b6b' stroke-width='1.5' stroke-opacity='.62'%3E%3Cpath d='M389 74 491 167 451 329 303 462 154 328 78 181 181 82 282 151Z'/%3E%3Cpath d='M181 82 154 328 303 462 282 151 451 329 491 167 282 151 389 74 451 329 154 328 78 181 282 151'/%3E%3Cpath d='M78 181 181 82 389 74 491 167'/%3E%3C/g%3E%3Cg fill='%23ff6b6b' fill-opacity='.8'%3E%3Ccircle cx='181' cy='82' r='4'/%3E%3Ccircle cx='282' cy='151' r='4'/%3E%3Ccircle cx='451' cy='329' r='4'/%3E%3Ccircle cx='303' cy='462' r='4'/%3E%3Ccircle cx='78' cy='181' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 108% -24%;
  background-size: min(86%, 420px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--navy-deep), transparent 92%) 0%, transparent 34%, color-mix(in oklch, var(--navy-deep), transparent 18%) 100%),
    linear-gradient(135deg, color-mix(in oklch, var(--accent), transparent 82%), transparent 58%);
  pointer-events: none;
}

.course-overlay-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
}

.course-type {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.course-card h3 {
  margin-top: 16px;
  font-size: clamp(1.32rem, 1.12rem + 0.74vw, 1.78rem);
  line-height: 1.1;
  max-width: 17ch;
}

.course-card.is-wide h3,
.course-card.is-tall h3 {
  max-width: 17ch;
  font-size: clamp(1.32rem, 1.12rem + 0.74vw, 1.78rem);
  letter-spacing: -0.02em;
}

.course-card p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.48;
}

.course-fit {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--navy);
}

.course-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--coral-wash), white 40%);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.course-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in oklch, var(--border), transparent 18%);
}

.course-action span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-action a {
  color: var(--accent);
  font-weight: 900;
  white-space: nowrap;
}

.course-action a:hover,
.course-action a:focus-visible {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.method {
  background: var(--surface);
  border-block: 1px solid color-mix(in oklch, var(--border), transparent 28%);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.method-panel {
  display: grid;
  gap: 14px;
}

.method-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.method-step strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.method-step p {
  margin-top: 5px;
  line-height: 1.5;
  color: var(--muted);
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-family: var(--font-mono);
  font-weight: 800;
}

.bio-card {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--navy), white 62%);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, color-mix(in oklch, var(--navy), white 5%), var(--navy-deep));
  color: white;
  padding: clamp(22px, 4vw, 34px);
}

.bio-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklch, var(--accent-soft), transparent 48%);
  background: radial-gradient(circle, color-mix(in oklch, var(--accent), transparent 70%), transparent 66%);
}

.bio-card > * {
  position: relative;
  z-index: 1;
}

.bio-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  object-position: 25% 42%;
  border-radius: 50%;
  border: 2px solid color-mix(in oklch, white, transparent 25%);
  background: white;
  filter: grayscale(20%);
}

.bio-card h3 {
  margin-top: 24px;
  color: white;
  font-size: var(--step-2);
  line-height: 1.08;
}

.bio-card p {
  margin-top: 16px;
  color: color-mix(in oklch, white, transparent 22%);
  line-height: 1.62;
}

.bio-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.bio-list li {
  display: flex;
  gap: 10px;
  color: color-mix(in oklch, white, transparent 18%);
  line-height: 1.35;
}

.bio-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-soft);
}

.live-format {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: clamp(24px, 6vw, 70px);
  align-items: start;
}

.format-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(22px, 4vw, 32px);
}

.format-card h3 {
  font-size: var(--step-2);
  line-height: 1.05;
}

.format-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.format-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  line-height: 1.48;
}

.format-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in oklch, var(--accent), white 86%);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
}

.session-map {
  display: grid;
  gap: 12px;
}

.session-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid color-mix(in oklch, var(--border), transparent 10%);
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--surface), transparent 4%);
}

.session-row time {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.session-row strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.session-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.session-pill {
  min-width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--surface-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.consultation {
  padding: var(--section) 0 clamp(42px, 7vw, 78px);
  background: linear-gradient(180deg, var(--surface-soft), var(--bg));
}

.consult-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 7vw, 82px);
  align-items: start;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid color-mix(in oklch, var(--navy), white 68%);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, color-mix(in oklch, var(--surface), transparent 2%), color-mix(in oklch, var(--coral-wash), white 55%));
}

.consult-copy h2 {
  margin-top: 14px;
  font-size: var(--step-3);
  line-height: 1.06;
}

.consult-copy p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.62;
  max-width: 600px;
}

.contact-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--navy);
  line-height: 1.42;
}

.contact-line span:first-child {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.consult-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--surface), transparent 0%);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid color-mix(in oklch, var(--border), transparent 10%);
  border-radius: var(--radius);
  padding: 12px 12px;
  background: var(--surface);
  color: var(--fg);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--navy), transparent 88%);
}

.form-status {
  min-height: 28px;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.form-status.is-success {
  color: color-mix(in oklch, var(--success), black 16%);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--danger);
  font-weight: 800;
}

.footer {
  padding: 32px 0;
  border-top: 1px solid color-mix(in oklch, var(--border), transparent 25%);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner strong {
  color: var(--navy);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-color: color-mix(in oklch, var(--accent), transparent 40%);
  text-underline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1120px) {
  .hero-grid,
  .method-grid,
  .consult-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

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

  .live-format {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar {
    position: sticky;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: calc(var(--nav-height) - 1px) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 14px var(--container);
    background: color-mix(in oklch, var(--surface), transparent 2%);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .menu-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a,
  .nav-links .button {
    width: 100%;
    justify-content: flex-start;
    border-radius: 0;
    padding: 14px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero {
    padding-top: 0;
  }

  h1 {
    line-height: 1.02;
  }

  .hero-actions,
  .filters {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 220px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .poly-heart {
    width: min(82%, 390px);
    right: 10px;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card,
  .course-card.is-wide,
  .course-card.is-tall {
    min-width: 0;
  }

  .session-row {
    grid-template-columns: 1fr;
  }

  .session-pill {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 32px, 1280px);
  }

  .brand-mark {
    width: clamp(196px, 62vw, 258px);
    height: 62px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .live-note {
    padding: 14px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-inner {
    padding-block: 88px;
  }

  .hero-title {
    font-size: clamp(44px, 12.5vw, 56px);
    line-height: 1.08;
  }

  .reference-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .reference-actions .button {
    width: 100%;
    min-height: 60px;
    padding: 18px 24px;
    font-size: 22px;
  }

  .visual-card {
    width: calc(100% - 36px);
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 62px;
  }

  .method-step {
    grid-template-columns: 1fr;
  }

  .consult-shell,
  .consult-form {
    padding: 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
