:root {
  --eliot-blue: #155eef;
  --deep-ink: #102a56;
  --warm-cream: #fff9f0;
  --discovery-orange: #ff8a34;
  --explorer-green: #55a66f;
  --wonder-yellow: #ffd65a;
  --ice-blue: #ddf3ff;
  --white: #ffffff;
  --font-display: "Eliot Emoji", "Fredoka", system-ui, sans-serif;
  --font-body: "Eliot Emoji", "Nunito Sans", system-ui, sans-serif;
  --radius-card: 28px;
  --radius-btn: 18px;
  --radius-pill: 999px;
  --shadow: 0 12px 32px rgba(16, 42, 86, 0.08);
  --header-height: 92px;
  --header-offset: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--deep-ink);
  background: var(--warm-cream);
  line-height: 1.55;
}

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

a {
  color: var(--eliot-blue);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 12px;
}

.wrap {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 249, 240, 0.94);
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--deep-ink);
  flex-shrink: 0;
}

.brand-badge {
  height: 80px;
  width: 80px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}

.brand-lockup {
  height: 72px;
  width: auto;
  max-width: min(340px, 72vw);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  color: var(--deep-ink);
  font-weight: 700;
}

.site-nav a.btn-primary {
  color: var(--white);
  font-weight: 600;
  padding: 14px 22px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--ice-blue);
  color: var(--deep-ink);
  border-radius: 16px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  padding: 14px 22px;
  cursor: pointer;
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--eliot-blue);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--discovery-orange);
  border-color: var(--discovery-orange);
}

.hero {
  position: relative;
  padding: 20px 0 32px;
  overflow: hidden;
  scroll-margin-top: var(--header-offset);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  grid-template-areas:
    "copy visual"
    "actions visual";
  gap: 16px 24px;
  align-items: center;
}

.hero-copy {
  grid-area: copy;
}

.hero-visual {
  grid-area: visual;
}

.hero-actions {
  grid-area: actions;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 16px;
  background: var(--ice-blue);
  color: var(--eliot-blue);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-copy .lede {
  margin: 0;
  max-width: 30rem;
  font-size: 1.08rem;
  color: var(--deep-ink);
}

.hero-copy .lede strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}

.hero-actions .btn {
  border-radius: 999px;
  padding: 13px 22px;
}

.btn-hero-ghost {
  background: var(--white);
  color: var(--deep-ink);
  border-color: rgba(16, 42, 86, 0.16);
}

.search-panel {
  margin-top: 28px;
  background: var(--white);
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.search-panel-wide {
  width: 100%;
  margin-top: 32px;
}

.eyebrow {
  display: inline-block;
  background: var(--wonder-yellow);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
}

.search-row {
  display: flex;
  gap: 8px;
}

.search-row input {
  flex: 1;
  border: 0;
  background: var(--ice-blue);
  border-radius: 18px;
  padding: 16px 18px;
  font: 600 1rem var(--font-body);
  color: var(--deep-ink);
}

.search-row input:focus {
  outline: 3px solid var(--eliot-blue);
}

.try-asking {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 4px 8px 8px;
}

.try-asking span {
  font-weight: 700;
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  text-decoration: none;
  color: var(--deep-ink);
  background: var(--ice-blue);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
}

.blob {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.blob-yellow {
  width: 180px;
  height: 180px;
  background: var(--wonder-yellow);
  right: -30px;
  top: -24px;
}

.blob-blue {
  width: 120px;
  height: 120px;
  background: var(--ice-blue);
  left: -28px;
  bottom: 20px;
}

.section {
  padding: 56px 0;
  scroll-margin-top: var(--header-offset);
}

.section-ice {
  background: var(--ice-blue);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

#experts-toggle {
  flex-shrink: 0;
  white-space: nowrap;
}

.muted {
  color: rgba(16, 42, 86, 0.72);
}

.expert-carousel {
  overflow: hidden;
  margin-top: 4px;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.expert-carousel[hidden] {
  display: none;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.expert-grid[hidden] {
  display: none;
}

.expert-grid .expert-card {
  flex: none;
  width: 100%;
}

.expert-track {
  display: flex;
  width: max-content;
  animation: expert-marquee 48s linear infinite;
}

.expert-carousel:hover .expert-track,
.expert-carousel:focus-within .expert-track {
  animation-play-state: paused;
}

.expert-set {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.expert-card {
  flex: 0 0 188px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 16px 14px 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
}

@keyframes expert-marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.expert-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  background: var(--ice-blue);
}

.expert-card h3 {
  margin-top: 12px;
  font-size: 1.15rem;
}

.expert-card p {
  margin: 0;
  font-size: 0.92rem;
}

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

.video-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.video-card-media {
  background: #eef3f8;
  overflow: hidden;
}

.video-card-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  padding: 0;
  display: block;
}

.video-card-body {
  padding: 16px 18px 20px;
}

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

.tag {
  background: var(--ice-blue);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.tag-soon {
  background: var(--wonder-yellow);
}

.story-grid,
.split,
.mission-grid,
.story-layout {
  display: grid;
  gap: 22px;
}

.story-grid,
.split {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.story-layout {
  grid-template-columns: minmax(22rem, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 36px;
}

.panel {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow);
}

.principle {
  font-family: var(--font-display);
  font-size: 1.35rem;
  background: var(--wonder-yellow);
  display: inline-block;
  border-radius: 20px;
  padding: 10px 14px;
  margin-top: 8px;
}

.story-visual {
  min-width: 0;
}

.story-visual img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

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

.mission-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 22px;
}

.mission-card span {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.dot-blue { background: var(--eliot-blue); }
.dot-orange { background: var(--discovery-orange); }
.dot-green { background: var(--explorer-green); }
.dot-yellow { background: var(--wonder-yellow); }

.audience-card h3 {
  margin-bottom: 8px;
}

.empty {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
}

.page-hero {
  padding: 40px 0 10px;
}

.form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

label {
  font-weight: 700;
  display: grid;
  gap: 6px;
}

input,
select,
textarea {
  font: 400 1rem var(--font-body);
  border: 2px solid rgba(16, 42, 86, 0.12);
  border-radius: 18px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--deep-ink);
}

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

.notice {
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.notice-ok {
  background: #e7f6ec;
}

.notice-err {
  background: #ffe4d6;
}

.player {
  background: #0b1b38;
  border-radius: 28px;
  min-height: 360px;
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
  margin-bottom: 22px;
}

.player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.coming-panel {
  text-align: center;
  padding: 40px 20px;
}

.world-filter {
  position: relative;
  flex-shrink: 0;
}

.world-filter summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 220px;
  background: var(--white);
  color: var(--deep-ink);
  border: 2px solid var(--discovery-orange);
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 600;
}

.world-filter summary::-webkit-details-marker {
  display: none;
}

.world-filter-label {
  font-size: 0.78rem;
  color: var(--discovery-orange);
  font-family: var(--font-body);
  font-weight: 700;
}

.world-filter-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 15;
  width: min(360px, calc(100vw - 40px));
  max-height: min(70vh, 520px);
  overflow: auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 8px;
}

.world-filter-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.world-filter-item:hover,
.world-filter-item.is-active {
  background: var(--ice-blue);
}

.world-filter-item img,
.world-filter-all {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--ice-blue);
}

.world-filter-all {
  display: grid;
  place-items: center;
  color: var(--eliot-blue);
  font-size: 1.1rem;
}

.world-filter-item em {
  font-style: normal;
  min-width: 1.8em;
  text-align: center;
  background: var(--wonder-yellow);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 0.85rem;
}

.story-headline {
  font-size: clamp(2.5rem, 4.8vw, 3.55rem);
  line-height: 1.06;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.story-headline-lead {
  display: block;
  white-space: nowrap;
}

.story-headline em {
  display: block;
  font-style: normal;
  color: var(--eliot-blue);
}

.story-underline {
  position: relative;
  display: inline-block;
}

.story-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: -6px;
  bottom: -0.08em;
  height: 0.32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 18 2 38 11 55 6 S 82 11 98 5' fill='none' stroke='%23FFD65A' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.story-copy p:not(.hero-kicker) {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 34rem;
  color: var(--deep-ink);
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.story-motto {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.story-motto-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--wonder-yellow);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
}

.story-motto-pill p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.3;
  color: var(--deep-ink);
  text-align: center;
}

.story-emark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--eliot-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 3px var(--white);
}

.story-spark {
  width: 16px;
  height: 34px;
  background:
    radial-gradient(circle at 50% 18%, var(--wonder-yellow) 3px, transparent 4px),
    radial-gradient(circle at 18% 72%, var(--wonder-yellow) 2.2px, transparent 3px),
    radial-gradient(circle at 82% 72%, var(--wonder-yellow) 2.2px, transparent 3px);
}

.site-footer {
  padding: 0 0 40px;
  background: var(--warm-cream);
  color: var(--deep-ink);
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-eliot {
  width: min(620px, 100%);
  height: auto;
  mix-blend-mode: multiply;
  margin: -8px 0 4px;
}

.footer-social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ice-blue);
  color: var(--deep-ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link:hover,
.footer-social-link:focus-visible,
.contact-social-list a:hover .footer-social-link {
  background: var(--eliot-blue);
  color: #fff;
}

.contact-modal {
  border: 0;
  border-radius: 28px;
  padding: 0;
  max-width: 420px;
  width: calc(100% - 32px);
  background: var(--warm-cream);
  color: var(--deep-ink);
  box-shadow: 0 18px 50px rgba(16, 42, 86, 0.18);
}

.contact-modal::backdrop {
  background: rgba(16, 42, 86, 0.45);
}

.contact-modal-inner {
  padding: 24px 24px 20px;
}

.contact-modal-inner h2 {
  font-family: var(--font-display);
  margin: 0 0 6px;
}

.contact-modal-inner p {
  margin: 0 0 16px;
}

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

.contact-social-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--deep-ink);
  font-weight: 700;
  border-radius: 16px;
  padding: 6px 8px 6px 6px;
  cursor: pointer;
}

.contact-social-list a:hover,
.contact-social-list a:focus-visible {
  background: var(--ice-blue);
}

@media (max-width: 900px) {
  .hero-grid,
  .story-grid,
  .split,
  .story-layout,
  .mission-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "visual"
      "actions";
    align-items: start;
  }

  .hero-actions {
    margin-top: 8px;
  }

  .hero-copy {
    text-align: left;
  }

  .story-headline-lead {
    white-space: normal;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .story-motto {
    gap: 6px;
  }

  .story-motto-pill {
    padding: 12px 18px;
  }

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

  .world-filter,
  .world-filter summary {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 20px;
    top: 96px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    padding: 16px;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

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

@media (max-width: 560px) {
  .video-grid,
  .search-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .search-row .btn {
    width: 100%;
  }

  .story-spark {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.crumb-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  background: var(--ice-blue);
  color: var(--deep-ink);
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
}

a.crumb-badge:hover {
  background: var(--eliot-blue);
  color: #fff;
}

.crumb-badge.is-current {
  background: var(--wonder-yellow);
  color: var(--deep-ink);
}

.crumb-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ice-blue);
  color: var(--eliot-blue);
  flex-shrink: 0;
}

.crumb-arrow svg {
  width: 16px;
  height: 16px;
}

.related-episodes {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.page-hero .btn-secondary {
  width: auto;
  margin: 0 8px 8px 0;
}

.video-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 6px;
}

@media (prefers-reduced-motion: reduce) {
  .expert-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .expert-set:last-child {
    display: none;
  }

  .expert-carousel {
    mask-image: none;
    -webkit-mask-image: none;
  }
}
