
:root {
  color-scheme: dark;
  color: #f5f9fb;
  background: #041821;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-size: 16px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  min-height: 100%;
}
body {
  background: radial-gradient(circle at top left, rgba(0, 173, 148, 0.18), transparent 24%),
              radial-gradient(circle at 95% 20%, rgba(37, 157, 171, 0.12), transparent 20%),
              linear-gradient(180deg, #05202b 0%, #03131a 100%);
}
button, a, input, textarea, select {
  font: inherit;
}
.page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}
.topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
}
.topbar-wave {
  width: 100%;
  height: 38px;
  margin-top: -10px;
  pointer-events: none;
}
.topbar-wave svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.topbar-wave .wave-soft {
  fill: none;
  stroke: url(#waveGrad);
  stroke-width: 9;
  opacity: 0.45;
  filter: blur(5px);
}
.topbar-wave .wave-line {
  fill: none;
  stroke: url(#waveGrad);
  stroke-width: 1.6;
  stroke-dasharray: 60 940;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgba(109, 230, 204, 0.95))
          drop-shadow(0 0 14px rgba(0, 198, 160, 0.55));
  animation: waveTravel 5s linear infinite;
}
@keyframes waveTravel {
  to { stroke-dashoffset: -1000; }
}
.topbar-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .topbar-wave .wave-line { animation: none; }
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.hero-video {
  display: flex;
  justify-content: center;
  margin: 8px 0 36px;
}
.hero-video video {
  width: clamp(280px, 32vw, 380px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  background: #03131a;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  object-fit: cover;
  display: block;
}
nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
nav a {
  color: rgba(245,249,251,0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}
nav a:hover,
nav a.active {
  color: #ffffff;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 24px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  min-width: 160px;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  background: linear-gradient(135deg, #00c6a0, #00a8ff);
  color: #041821;
}
.button.secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: #f5f9fb;
}
.button.quote {
  border-color: rgba(94,227,201,0.35);
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 80px 0 48px;
  position: relative;
  overflow: hidden;
}

/* ---------- Cinematic hero banner (home page, above the fold) ---------- */
.hero-cinema-banner {
  position: relative;
  isolation: isolate;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  min-height: clamp(420px, 62vh, 640px);
  margin: 0 0 48px;
}
.hero-cinema-banner .cinema-stage {
  border-radius: 28px;
}

/* The overlay text — pinned to the lower-left of the video, flush with page content */
.cinema-overlay-text {
  position: absolute;
  z-index: 3;
  left: clamp(16px, 3vw, 60px);
  bottom: clamp(20px, 4vw, 44px);
  width: min(440px, calc(100% - clamp(36px, 7vw, 110px)));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Brand row: small logo + company name eyebrow */
.cinema-overlay-text .cinema-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.cinema-overlay-text .cinema-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(2, 8, 18, 0.5), 0 0 0 1px rgba(94, 227, 201, 0.35);
  flex-shrink: 0;
}
.cinema-overlay-text .cinema-eyebrow {
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.74rem;
  font-weight: 600;
  color: #6de6cc;
  margin: 0;
  text-shadow: 0 2px 10px rgba(2, 12, 26, 0.6);
}
.cinema-overlay-text .cinema-tagline {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  max-width: none;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(2, 12, 26, 0.8);
}
.cinema-overlay-text .cinema-tagline em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #6de6cc;
}
.cinema-overlay-text .cinema-subline {
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  color: rgba(245, 249, 251, 0.92);
  margin: 0 0 14px;
  max-width: 440px;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 2px 12px rgba(2, 12, 26, 0.65);
}
.cinema-overlay-text .cinema-email-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(6, 18, 30, 0.55);
  border: 1px solid rgba(94, 227, 201, 0.45);
  color: #f5f9fb;
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  margin: 0;
}
.cinema-overlay-text .cinema-email-cta:hover {
  transform: translateY(-2px);
  background: rgba(94, 227, 201, 0.18);
  border-color: rgba(94, 227, 201, 0.8);
}
.cinema-overlay-text .cinema-email-cta svg {
  flex-shrink: 0;
  color: #6de6cc;
  width: 12px;
  height: 12px;
}

/* Full-bleed cinema stage that holds video + grading layers */
.cinema-stage {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  z-index: 0;
}
.cinema-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: cinemaKenBurns 60s ease-in-out infinite alternate;
}
.cinema-video-missing { display: none; }

/* CSS-only fallback "travel mood" backdrop — visible when no video file present */
.cinema-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 22% 32%, rgba(255, 168, 96, 0.32), transparent 62%),
    radial-gradient(55% 45% at 78% 68%, rgba(94, 227, 201, 0.25), transparent 62%),
    radial-gradient(80% 60% at 50% 50%, rgba(28, 70, 130, 0.45), transparent 72%),
    linear-gradient(135deg, #07223a 0%, #0a1a30 45%, #122140 100%);
  filter: saturate(1.05);
}
.cinema-video:not(.cinema-video-missing) ~ .cinema-fallback {
  /* When a real video is present, fade the fallback to a thin tint */
  opacity: 0.35;
}

/* Color-grade overlay: cool teal at top, warm amber at bottom (cinematic LUT) */
.cinema-grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 28, 48, 0.55) 0%, rgba(8, 22, 38, 0.18) 38%, rgba(82, 38, 12, 0.18) 75%, rgba(10, 18, 28, 0.7) 100%),
    radial-gradient(120% 80% at 50% 110%, rgba(255, 168, 96, 0.18), transparent 60%);
  mix-blend-mode: screen;
}

/* Soft static film grain — no animation, just subtle texture */
.cinema-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Vignette to focus the eye on the copy */
.cinema-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 38%, rgba(2, 8, 18, 0.55) 78%, rgba(2, 8, 18, 0.85) 100%);
}

/* Section reveal-on-scroll */
.page-shell main section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.page-shell main section.is-visible,
.page-shell main section.hero,
.page-shell main section.hero-cinema-banner {
  opacity: 1;
  transform: none;
}

@keyframes cinemaKenBurns {
  0%   { transform: scale(1.03); }
  100% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-video { animation: none !important; }
  .page-shell main section { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 880px) {
  .hero-cinema-banner { padding: 56px 20px; min-height: 50vh; }
  .cinema-tagline { font-size: clamp(2.2rem, 8vw, 3.4rem); }
}
.hero-copy .eyebrow,
.eyebrow,
.section-label {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6de6cc;
}
.hero-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.02;
  max-width: 56ch;
}
.hero-copy p {
  max-width: 640px;
  color: rgba(245,249,251,0.88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.hero-panel {
  position: relative;
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: radial-gradient(circle at top right, rgba(0,199,154,0.14), transparent 32%),
              linear-gradient(180deg, rgba(7, 36, 54, 0.95), rgba(3, 18, 26, 0.9));
  pointer-events: none;
}

/* animated lighting sweep for the hero */
.hero::after {
  content: '';
  position: absolute;
  left: -40%;
  top: -20%;
  width: 160%;
  height: 160%;
  background: radial-gradient(800px 200px at 10% 20%, rgba(255,255,255,0.04), rgba(0,0,0,0) 35%),
              radial-gradient(600px 200px at 80% 60%, rgba(0,166,255,0.06), rgba(0,0,0,0) 30%);
  transform: rotate(-12deg);
  animation: lightSweep 12s linear infinite;
  pointer-events: none;
}

@keyframes lightSweep {
  0% { transform: translateX(-30%) rotate(-12deg); }
  50% { transform: translateX(10%) rotate(-12deg); }
  100% { transform: translateX(120%) rotate(-12deg); }
}
.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #c8f9ec;
  margin-bottom: 24px;
  width: fit-content;
}
.hero-card-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.hero-card {
  position: relative;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94,227,201,0.32);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(94,227,201,0.14);
  margin-bottom: 18px;
}
.hero-card h3 {
  margin: 0 0 12px;
}
.hero-card p {
  margin: 0;
  color: rgba(245,249,251,0.82);
}
.supporting-section,
.tracks,
.who-we-serve,
.reviews-section,
.contact-section {
  padding: 80px 0;
}
.page-shell main section h1,
.page-shell main section h2,
.hero-copy h1,
.supporting-section h2,
.tracks h2,
.who-we-serve h2,
.reviews-section h2,
.contact-copy h2,
.teacher-portal h2 {
  margin: 18px auto 18px;
  max-width: 26ch;
  text-align: center;
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #f5f9fb;
}
.page-shell main section h1,
.page-shell main section h2,
.page-shell main section .section-label,
.page-shell main section .eyebrow {
  text-align: center;
}
.page-shell main section .section-label,
.page-shell main section .eyebrow {
  display: block;
  margin-bottom: 20px;
}
.supporting-section p,
.tracks p,
.who-we-serve p,
.reviews-section p,
.contact-copy p {
  max-width: 720px;
  color: rgba(245,249,251,0.78);
}
.service-cards,
.track-grid,
.industry-grid,
.review-grid {
  display: grid;
  gap: 20px;
}
.service-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  background: rgba(94,227,201,0.1);
  border-color: rgba(94,227,201,0.3);
}
.service-card.accent {
  background: linear-gradient(180deg, rgba(0,199,154,0.16), rgba(4,26,41,0.95));
  border-color: rgba(94,227,201,0.24);
}
.service-card h3 {
  margin: 0 0 14px;
}
.track-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.track-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.track-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94,227,201,0.3);
}
.track-card h3 {
  margin: 0 0 16px;
}
.track-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(245,249,251,0.78);
}
.track-card li {
  margin-bottom: 12px;
}
.industry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.industry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}
.industry-card strong {
  color: #ffffff;
}
.industry-card span {
  color: rgba(245,249,251,0.75);
}
.statistics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 48px 0;
}
.statistics-row div {
  text-align: center;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.statistics-row strong {
  display: block;
  font-size: 2.4rem;
  color: #5ee3c9;
}
.statistics-row span {
  display: block;
  margin-top: 12px;
  color: rgba(245,249,251,0.78);
}
.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.review-card {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}
.review-card p {
  margin: 0 0 22px;
  color: rgba(245,249,251,0.85);
}
.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(245,249,251,0.75);
}
.review-card strong {
  color: #ffffff;
}
.contact-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
  justify-items: center;
  text-align: center;
}
.contact-copy {
  max-width: 540px;
}
.contact-card {
  padding: 32px;
  border-radius: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  width: 100%;
}
.contact-pill {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: #5ee3c9;
  background: rgba(94,227,201,0.1);
  margin-bottom: 24px;
}
form {
  display: grid;
  gap: 16px;
}
label {
  font-weight: 600;
  color: #f5f9fb;
}
input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  color: #f5f9fb;
}
input::placeholder,
textarea::placeholder {
  color: rgba(245,249,251,0.5);
}
textarea {
  min-height: 140px;
  resize: vertical;
}
footer.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-top: 38px;
  padding-bottom: 110px;
  color: rgba(245,249,251,0.65);
  font-size: 0.95rem;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: rgba(245,249,251,0.72);
  text-decoration: none;
}
.social-links {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(94,227,201,0.5);
  background: rgba(94,227,201,0.12);
}
.social-links img {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}
.posts {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}
.post-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}
.post-card {
  padding: 28px 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.post-card:hover {
  border-color: rgba(94, 227, 201, 0.32);
}
.post-card .post-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6de6cc;
  font-weight: 600;
  margin-bottom: 12px;
}
.post-card .post-title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.25;
  color: #ffffff;
  text-align: left;
  max-width: none;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.post-card .post-meta {
  color: rgba(245, 249, 251, 0.55);
  font-size: 0.85rem;
  margin: 0 0 14px;
}
.post-card .post-excerpt {
  color: rgba(245, 249, 251, 0.86);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 18px;
}
.post-card .post-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(94, 227, 201, 0.12);
  border: 1px solid rgba(94, 227, 201, 0.42);
  color: #6de6cc;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.post-card .post-toggle:hover {
  background: rgba(94, 227, 201, 0.22);
  border-color: rgba(94, 227, 201, 0.7);
  transform: translateY(-1px);
}
.post-card .post-body {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(94, 227, 201, 0.18);
  color: rgba(245, 249, 251, 0.88);
  line-height: 1.7;
  font-size: 0.96rem;
}
.post-card .post-body p {
  margin: 0 0 14px;
}
.post-card .post-body h3 {
  margin: 22px 0 10px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.post-card .post-body ul,
.post-card .post-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.post-card .post-body li {
  margin-bottom: 6px;
}
.post-card .post-body li::marker {
  color: #6de6cc;
}
.post-card .post-body strong {
  color: #f5f9fb;
}
.post-card .post-body a {
  color: #6de6cc;
  text-decoration: underline;
  text-decoration-color: rgba(94, 227, 201, 0.4);
  text-underline-offset: 3px;
}
.post-card .post-body a:hover {
  text-decoration-color: #6de6cc;
}
.post-card .post-body .post-cta {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(94, 227, 201, 0.08);
  border: 1px solid rgba(94, 227, 201, 0.28);
  font-size: 0.96rem;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .post-card { padding: 22px 20px; }
  .post-card .post-body { font-size: 0.92rem; }
}
.ceo-photo {
  width: 200px;
  height: 240px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(94,227,201,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  margin-bottom: 18px;
}
.ceo-card .ceo-photo {
  width: 100%;
  max-width: 260px;
  height: 320px;
}
.hero-headshot-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.hero-headshot-copy {
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
}
.hero-ceo {
  grid-template-columns: 1fr;
}
.hero-ceo .hero-copy {
  max-width: 980px;
  margin: 0 auto;
}
.hero-ceo .hero-headshot-wrap {
  justify-items: center;
  justify-content: center;
}
.hero-headshot-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.02;
}
.ceo-position {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-family: 'Lucida Handwriting', 'Segoe Script', cursive;
  color: #8ee1ce;
  letter-spacing: 0.03em;
  font-style: normal;
}
.profile-copy {
  display: grid;
  justify-items: center;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  gap: 18px;
  width: 100%;
}
.profile-copy h2 {
  margin-top: 0;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  text-align: center;
}
.profile-copy p {
  margin: 0;
  max-width: 860px;
  width: 100%;
  line-height: 1.9;
  color: rgba(245,249,251,0.84);
}
.ceo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  gap: 22px;
  padding: 40px 24px 24px;
  text-align: center;
}

/* Founder video — embedded talking-head clip above the mission section */
.founder-video {
  max-width: 860px;
  margin: 24px auto 8px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.founder-video .section-label {
  text-align: center;
}
.founder-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #04121d;
  box-shadow: 0 26px 60px rgba(2, 8, 18, 0.45), 0 0 0 1px rgba(94, 227, 201, 0.18);
  aspect-ratio: 16 / 9;
}
.founder-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #04121d;
}

/* Founder's mission section on the CEO page */
.founders-mission {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.founders-mission .profile-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 18px;
}
.founders-mission .profile-copy p {
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.75;
  color: rgba(245, 249, 251, 0.88);
  max-width: 760px;
  margin: 0;
}
.founders-mission .profile-copy p em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: #6de6cc;
}

/* Three-pillar grid summarizing the model */
.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  margin-top: 24px;
}
.mission-pillar {
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(94, 227, 201, 0.05);
  border: 1px solid rgba(94, 227, 201, 0.22);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mission-pillar .pillar-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #6de6cc;
  font-weight: 600;
}
.mission-pillar strong {
  font-size: 1rem;
  color: #f5f9fb;
  line-height: 1.3;
}
.mission-pillar p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(245, 249, 251, 0.78);
}

@media (max-width: 720px) {
  .mission-pillars {
    grid-template-columns: 1fr;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 40px 0 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94,227,201,0.32);
}
.team-card h3 {
  margin: 4px 0 0;
  font-size: 1.15rem;
  color: #ffffff;
}
.team-card p {
  margin: 0;
  color: rgba(245,249,251,0.84);
  line-height: 1.55;
  font-size: 0.95rem;
}
.team-card .profile-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(94,227,201,0.12);
  border: 1px solid rgba(94,227,201,0.32);
  color: #6de6cc;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* Featured profile card — compact, centered, doesn't span the entire row */
.team-card-featured {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 22px;
}
.team-card-featured .team-photo {
  min-height: 220px;
  height: 100%;
  align-self: stretch;
}
.team-card-featured .featured-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.team-card-featured h3 {
  font-size: 1.25rem;
  margin: 0;
}
.team-card-featured .profile-role {
  margin: 0;
  color: #6de6cc;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.team-card-featured .profile-availability {
  margin: 2px 0 0;
  color: rgba(245,249,251,0.78);
  font-size: 0.82rem;
}
.team-card-featured .profile-availability strong {
  color: #f5f9fb;
}
.team-card-featured .profile-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team-card-featured .lang-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  background: rgba(94,227,201,0.12);
  border: 1px solid rgba(94,227,201,0.36);
  color: #f5f9fb;
}
.team-card-featured .profile-skills-title {
  margin: 6px 0 2px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #6de6cc;
  font-weight: 600;
}
.team-card-featured .profile-skills {
  margin: 0;
  padding-left: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  color: rgba(245,249,251,0.84);
  font-size: 0.8rem;
  line-height: 1.4;
}
.team-card-featured .profile-skills li {
  break-inside: avoid;
}
.team-card-featured .profile-skills strong {
  color: #f5f9fb;
}
.team-card-featured .profile-tag {
  margin-top: 4px;
  padding: 4px 10px;
  font-size: 0.7rem;
}

@media (max-width: 720px) {
  .team-card-featured {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .team-card-featured .team-photo {
    min-height: 220px;
  }
  .team-card-featured .profile-skills {
    grid-template-columns: 1fr;
  }
}
.team-photo.team-photo-ceo {
  background: url('assets/ceo.jpg') center/cover no-repeat;
  min-height: 320px;
}
.team-photo {
  width: 100%;
  min-height: 220px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  background-size: cover;
  background-position: center;
}
.claude-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.claude-launcher {
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00c6a0, #00a8ff);
  color: #041821;
  border: none;
  cursor: pointer;
  box-shadow: 0 22px 40px rgba(0,0,0,0.28);
}
.claude-panel {
  width: 340px;
  max-height: 520px;
  background: rgba(4, 18, 34, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}
.claude-panel.open {
  display: flex;
}
.claude-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.claude-header h4 {
  margin: 0;
  font-size: 1rem;
  color: #ffffff;
}
.claude-close {
  background: transparent;
  border: none;
  color: #f5f9fb;
  font-size: 1.35rem;
  cursor: pointer;
}
.claude-messages {
  padding: 18px 20px;
  gap: 14px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.claude-bubble {
  padding: 14px 16px;
  border-radius: 20px;
  max-width: 100%;
  line-height: 1.5;
}
.claude-bubble.user {
  margin-left: auto;
  background: rgba(0,198,160,0.16);
  color: #f5f9fb;
}
.claude-bubble.assistant {
  margin-right: auto;
  background: rgba(255,255,255,0.08);
  color: #f5f9fb;
}
.claude-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.claude-form input {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: #f5f9fb;
}
.claude-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(94,227,201,0.06);
  font-size: 0.88rem;
}
.claude-contact-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: #6de6cc;
  margin-bottom: 2px;
}
.claude-contact a {
  color: #f5f9fb;
  text-decoration: none;
  word-break: break-word;
}
.claude-contact a:hover {
  color: #6de6cc;
  text-decoration: underline;
}

/* Teacher portal styles */
.teacher-portal {
  margin-top: 42px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}
.teacher-portal h2 {
  margin: 0 0 12px;
}
.portal-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 12px;
}
.portal-box input[type="text"], .portal-box input[type="password"], .portal-box textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #f5f9fb;
}
.portal-box textarea { min-height: 120px; width: 100%; }
.muted { color: rgba(245,249,251,0.6); margin-top: 6px; }
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .service-cards,
  .track-grid,
  .industry-grid,
  .review-grid,
  .statistics-row,
  .contact-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .page-shell {
    padding: 24px 16px 48px;
  }
  .hero-copy h1 {
    font-size: 2.6rem;
  }
  .topbar {
    flex-direction: column;
    align-items: center;
  }
  .button {
    min-width: auto;
  }
  .hero-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Podcast page
   ============================================================ */
.podcast-featured {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.podcast-featured .section-label {
  margin-bottom: 14px;
}
.podcast-featured h2 {
  margin: 0 0 24px;
}
.podcast-player {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #04121d;
  box-shadow: 0 26px 60px rgba(2, 8, 18, 0.5),
              0 0 0 1px rgba(94, 227, 201, 0.2);
  margin: 0 auto 28px;
}
.podcast-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.podcast-episodes {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.podcast-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.podcast-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 227, 201, 0.4);
  box-shadow: 0 18px 40px rgba(2, 8, 18, 0.4);
}
.podcast-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.podcast-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #04121d;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.podcast-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 18, 0) 50%, rgba(2, 8, 18, 0.5) 100%);
  pointer-events: none;
}
.podcast-play {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(6, 18, 30, 0.7);
  border: 2px solid rgba(245, 249, 251, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  font-size: 1.15rem;
  color: #fff;
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.podcast-card:hover .podcast-play {
  transform: scale(1.08);
  background: rgba(94, 227, 201, 0.92);
  color: #04121d;
  border-color: #6de6cc;
}
.podcast-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.podcast-body .podcast-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: #6de6cc;
  font-weight: 600;
}
.podcast-body h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #f5f9fb;
  line-height: 1.3;
}
.podcast-meta {
  color: rgba(245, 249, 251, 0.55);
  font-size: 0.8rem;
  margin: 0;
}
.podcast-body p:not(.podcast-meta) {
  color: rgba(245, 249, 251, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.podcast-subscribe {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.podcast-subscribe h2 {
  margin: 0 0 14px;
}
.podcast-subscribe p {
  color: rgba(245, 249, 251, 0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.podcast-subscribe-actions {
  margin: 28px 0 24px;
}
.podcast-subscribe .podcast-social {
  margin-top: 8px;
  width: 100%;
}
