/* styles.css */

@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
  --trust-size: clamp(36px, 4.5vw, 42px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background full-bleed video */
.bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
  z-index: 0;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* Single-viewport page container */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: clamp(14px, 2vh, 24px) clamp(14px, 3vw, 32px);
  overflow: hidden;
}

/* ==========================================================================
   1) Header (Desktop)
   ========================================================================== */

.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  gap: clamp(14px, 2.2vw, 24px);
  flex-shrink: 0;
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo Button (Clean Geometric Monogram) */
.logo-btn {
  display: grid;
  place-items: center;
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  box-shadow: var(--nav-shadow);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-btn:hover {
  transform: scale(1.04);
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: -0.03em;
  color: #111111;
  line-height: 1;
}

/* Nav Pill */
.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #ffffff;
  height: clamp(44px, 5.2vw, 48px);
  max-width: 600px;
  flex: 1;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
}

.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12px, 1.25vw, 14px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  text-decoration: none;
  opacity: 0.55;
  padding: 6px clamp(6px, 1vw, 11px);
  transition: opacity 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: none;
}

.nav-link:hover {
  opacity: 0.85;
}

.nav-link.active {
  opacity: 1;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #000000;
  box-shadow: -5px 0 0 #000000, 5px 0 0 #000000;
}

/* WhatsApp / Contact Button */
.sign-in-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(16px, 2vw, 22px);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12.5px, 1.35vw, 14.5px);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sign-in-btn:hover {
  background: #323234;
  color: #ffffff;
  transform: translateY(-1px);
}

.sign-in-btn i {
  color: #25d366;
  font-size: 15px;
}

/* Burger Button (Hidden on desktop) */
.burger-btn {
  display: none;
}

/* ==========================================================================
   2) Tab Panels Area (Center Viewport)
   ========================================================================== */

.tab-panels-area {
  flex: 1;
  width: 100%;
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  min-height: 0;
}

.tab-panel {
  display: none;
  width: 100%;
  animation: panelIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Overview Panel (Hero View) */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

/* Trust row */
.trust-row {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(14px, 2.2vh, 24px);
}

.avatar-ring {
  width: var(--trust-size);
  height: var(--trust-size);
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 50%;
  padding: 4px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.35s ease;
}

.avatar-ring .avatar-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.avatar-ring .avatar-inner i {
  color: #111111;
  font-size: calc(var(--trust-size) * 0.38);
}

.avatar-1 {
  z-index: 1;
}

.avatar-2 {
  z-index: 2;
  margin-left: calc(var(--trust-size) * -0.42);
}

.avatar-3 {
  z-index: 4;
  margin-left: calc(var(--trust-size) * -0.42);
}

.avatar-1:hover {
  transform: translateY(-2px);
}

.avatar-2:hover {
  transform: translateY(-4px);
}

.avatar-3:hover {
  transform: translateY(-2px);
}

.trust-pill {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  height: var(--trust-size);
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: clamp(14px, 1.8vw, 22px);
}

.trust-pill span {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--trust-text);
  font-size: clamp(12px, 1.4vw, 13.5px);
  white-space: nowrap;
}

/* Headline */
.headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 5.8vw, 74px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-align: center;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-shadow: none;
}

.headline.anim {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.headline-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes headlineFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subhead */
.subhead {
  max-width: min(580px, 92%);
  margin: clamp(10px, 1.6vh, 16px) auto clamp(18px, 2.5vh, 26px);
  font-size: clamp(calc(13.5px + 2pt), calc(1.5vw + 2pt), calc(16.5px + 2pt));
  color: #d0d0d0;
  opacity: 0.85;
  line-height: 1.55;
  font-weight: 400;
  text-align: center;
}

/* CTA */
.cta-wrap {
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  padding: clamp(11px, 1.6vh, 13px) clamp(24px, 3vw, 32px);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15),
              0 0 22px rgba(255, 255, 255, 0.32),
              0 0 44px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25),
              0 0 28px rgba(255, 255, 255, 0.45),
              0 0 54px rgba(255, 255, 255, 0.2);
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 14px);
  padding: clamp(10px, 1.5vh, 12px) clamp(20px, 2.6vw, 28px);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.cta-anim {
  opacity: 0;
  animation: revealPulse 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0.4s);
}

@keyframes revealPulse {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(6px);
  }
  70% {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ==========================================================================
   Interactive Tab Panel Cards (Glassmorphism In-Place)
   ========================================================================== */

.panel-card {
  width: 100%;
  max-width: 780px;
  max-height: min(72vh, 580px);
  overflow-y: auto;
  background: rgba(20, 20, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  padding: clamp(20px, 3.2vw, 30px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.panel-card::-webkit-scrollbar {
  width: 6px;
}

.panel-card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #25d366;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.panel-title {
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.panel-subtitle {
  font-size: 13.5px;
  color: #a0a0a5;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Grids for Days & Pillars */
.curriculum-grid,
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  text-align: left;
}

.grid-card {
  background: #202024;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.grid-card-full {
  grid-column: span 2;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.card-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}

.card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.card-desc {
  font-size: 12px;
  color: #b0b0b5;
  line-height: 1.42;
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-group {
  margin-bottom: 12px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #c4c2c3;
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  height: 42px;
  background: #202024;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: #26262b;
}

select.form-input {
  cursor: pointer;
}

.form-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.form-submit-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.form-submit-btn i {
  color: #25d366;
  font-size: 16px;
}

.enquiry-contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  color: #8e8e8e;
}

.enquiry-contact-links a {
  color: #c4c2c3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.enquiry-contact-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   3) Stats Footer (Clinical & Practice Metrics)
   ========================================================================== */

.stats-footer {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}

.stat-top {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.stat-icon {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  color: #ffffff;
  line-height: 1;
  user-select: none;
}

.stat-value {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.2vw, 12.5px);
  color: var(--muted);
  white-space: nowrap;
}


/* ==========================================================================
   Founder Profile Section Styles
   ========================================================================== */

.founder-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 14px;
}

.founder-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.founder-image-wrapper {
  position: relative;
  width: 190px;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 255, 255, 0.08);
  background: #111113;
}

.founder-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-mini-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.founder-pill {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #d8d8d8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}

.founder-bio-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-align: left;
}

.founder-name {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.founder-tagline {
  font-size: clamp(12px, 1.3vw, 13.5px);
  color: #a0a0a0;
  line-height: 1.4;
}

.founder-roles-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #c4c2c3;
}

.role-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-item i {
  color: #ffffff;
  font-size: 12px;
  opacity: 0.8;
  flex-shrink: 0;
}

.founder-quote {
  border-left: 2px solid #ffffff;
  padding-left: 12px;
  margin: 2px 0;
  font-style: italic;
  font-size: 12px;
  line-height: 1.5;
  color: #e0e0e0;
}

.founder-description {
  font-size: 12px;
  line-height: 1.55;
  color: #b0b0b0;
}

.founder-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ==========================================================================
   Shared Entrance Animation
   ========================================================================== */

.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ==========================================================================
   Mobile Overlay & Sheet (Hidden on desktop)
   ========================================================================== */

.mobile-overlay {
  display: none;
}

.mobile-sheet {
  display: none;
}

/* ==========================================================================
   Responsive: Mobile (<= 720px)
   ========================================================================== */

@media (max-width: 720px) {
  .header {
    justify-content: space-between;
    max-width: 100%;
    gap: 0;
  }

  .logo-btn {
    width: 46px;
    height: 46px;
  }

  .nav-pill,
  .sign-in-btn {
    display: none !important;
  }

  /* Hamburger Button */
  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #28282a;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 0;
    transition: background 0.25s ease;
  }

  .burger-bar {
    width: 18px;
    height: 1.5px;
    background: #ffffff;
    border-radius: 1px;
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
  }

  /* Open state on burger */
  body.menu-open .burger-btn {
    background: #ffffff;
  }

  body.menu-open .burger-bar {
    background: #000000;
  }

  body.menu-open .burger-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  body.menu-open .burger-bar:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .burger-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* Mobile Overlay */
  .mobile-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99;
    animation: overlayIn 0.28s ease forwards;
  }

  @keyframes overlayIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Mobile Sheet */
  .mobile-sheet:not([hidden]) {
    display: block;
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    max-width: 400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 22px 18px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    z-index: 100;
    animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  @keyframes menuIn {
    from {
      opacity: 0;
      transform: translateY(-16px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 4px;
  }

  .mobile-nav-link {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 15px;
    color: var(--nav-text);
    text-decoration: none;
    padding: 10px 0;
    opacity: 0;
    animation: linkIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.06s * var(--i));
  }

  @keyframes linkIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #000000;
    box-shadow: -5px 0 0 #000000, 5px 0 0 #000000;
  }

  .mobile-signin-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #28282a;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-radius: 999px;
    height: 46px;
    line-height: 46px;
    margin-top: 12px;
    opacity: 0;
    animation: linkIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.06s * var(--i));
  }

  /* Headline Mobile */
  .headline {
    letter-spacing: -0.08em;
    line-height: 1.05;
  }

  /* Grids to single column */
  .curriculum-grid,
  .pillar-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .grid-card-full {
    grid-column: span 1;
  }

  .panel-card {
    max-height: 68vh;
    padding: 18px 16px;
    border-radius: 20px;
  }

    /* Founder Mobile Layout */
  .founder-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 16px;
  }

  .founder-bio-col {
    text-align: center;
    align-items: center;
  }

  .founder-quote {
    text-align: left;
  }

  .founder-action-row {
    justify-content: center;
  }

  /* Stats Footer 2-column grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
}

/* ==========================================================================
   Responsive: Small Mobile (<= 420px)
   ========================================================================== */

@media (max-width: 420px) {
  :root {
    --trust-size: 34px;
  }

  .trust-pill span {
    font-size: 12px;
  }

  .headline {
    letter-spacing: -0.09em;
    line-height: 1.04;
  }
}

/* ==========================================================================
   Responsive: Short viewport height (<= 700px)
   ========================================================================== */

@media (max-height: 700px) {
  .page {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .trust-row {
    margin-bottom: 8px;
  }

  .subhead {
    margin: 6px auto 12px;
  }

  .panel-card {
    max-height: 62vh;
  }

  .stats-grid {
    gap: 6px 12px;
  }
}

/* ==========================================================================
   Accessibility: Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }

  .anim,
  .headline-line,
  .header,
  .cta-anim,
  .mobile-nav-link,
  .mobile-signin-btn,
  .tab-panel {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
