@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@400;500;600;700;800&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  --rose: #E39E86;
  --coral: #FA956E;
  --olive: #AB8831;
  --teal: #2F5250;
  --teal-deep: #1E3634;
  --cream: #FBF6EF;
  --cream-deep: #F4ECDE;
  --ink: #2A2420;
  --line: rgba(47, 82, 80, 0.16);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Shippori Mincho B1', serif;
  color: var(--teal-deep);
  line-height: 1.25;
  font-weight: 600;
  margin: 0;
}

a {
  color: var(--teal-deep);
  text-decoration: none;
}

button[data-page] {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.brand-mark, .btn { cursor: pointer; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark img { height: 40px; width: auto; }

.brand-mark span {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.15rem;
  color: var(--teal-deep);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a, .nav-links button {
  font-size: 0.94rem;
  color: var(--teal);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a.active,
.nav-links a:hover,
.nav-links button.active,
.nav-links button:hover {
  color: var(--teal-deep);
}

.nav-links a.active::after,
.nav-links button.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--olive);
  font-size: 0.92rem;
  margin-bottom: 18px;
  font-style: italic;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: 1.18rem;
  max-width: 46ch;
  color: var(--teal-deep);
  margin-bottom: 30px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img { width: 100%; max-width: 460px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--teal-deep);
  color: var(--cream);
}
.btn-primary:hover { background: var(--teal); }

.btn-outline {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}
.btn-outline:hover { background: var(--cream-deep); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Wave divider ---------- */
.wave-divider {
  width: 100%;
  height: 46px;
  display: block;
}

/* ---------- Sections ---------- */
section { padding: 78px 0; }

.section-alt { background: var(--cream-deep); }

.section-teal {
  background: var(--teal-deep);
  color: var(--cream);
}
.section-teal h2, .section-teal h3 { color: var(--cream); }

.eyebrow {
  color: var(--olive);
  font-style: italic;
  font-size: 0.92rem;
  margin-bottom: 12px;
  display: block;
}

.section-teal .eyebrow { color: var(--rose); }

h2.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  max-width: 20ch;
  margin-bottom: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.copy-block p { max-width: 58ch; }

.pull-quote {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.5rem;
  color: var(--teal-deep);
  border-left: 3px solid var(--coral);
  padding-left: 24px;
  line-height: 1.5;
  max-width: 34ch;
}

.section-teal .pull-quote { color: var(--rose); border-left-color: var(--rose); }

/* ---------- Host strip (home) ---------- */
.host-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.host-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 30px 26px;
  border-radius: 3px;
}

.initial {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cream);
  font-family: 'Shippori Mincho B1', serif;
  background: var(--host-color, var(--teal-deep));
}

.host-card .initial {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.avatar {
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--host-color, var(--teal-deep));
  background: var(--cream);
}

.host-card .avatar {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}

.host-avatar-lg {
  width: 240px;
  height: 240px;
  border-width: 6px;
  margin-bottom: 24px;
}

/* Per-founder brand colour: gold = Sellisha, orange = Lana, pink = Nanako */
.host-sellisha { --host-color: var(--olive); }
.host-lana { --host-color: var(--coral); }
.host-nanako { --host-color: var(--rose); }

.host-card { border-top: 4px solid var(--host-color, var(--line)); }
.host-card .role { color: var(--host-color, var(--olive)); }

section.host-sellisha, section.host-lana, section.host-nanako {
  border-top: 4px solid var(--host-color);
}

.host-sellisha .eyebrow, .host-lana .eyebrow, .host-nanako .eyebrow {
  color: var(--host-color);
}

.ep-mod.host-sellisha, .ep-mod.host-lana, .ep-mod.host-nanako {
  color: var(--host-color);
  font-weight: 500;
}

.host-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.host-card p { font-size: 0.96rem; margin-bottom: 16px; }
.host-card a.outlink { font-size: 0.9rem; border-bottom: 1px solid var(--coral); padding-bottom: 1px; }

/* ---------- Episode list ---------- */
.episode-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.episode-row:last-child { border-bottom: 1px solid var(--line); }

.ep-num {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 2.1rem;
  color: var(--coral);
}

.episode-row h3 { font-size: 1.35rem; margin-bottom: 8px; }
.episode-row .ep-message {
  font-style: italic;
  color: var(--teal);
  margin-bottom: 10px;
  font-size: 0.98rem;
}
.episode-row .ep-mod {
  font-size: 0.85rem;
  color: var(--olive);
}

/* ---------- Immersion cards (grant page) ---------- */
.immersion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.immersion-card {
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 3px;
  background: var(--cream);
}
.immersion-card { position: relative; }
.immersion-card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.trip-status {
  display: inline-block;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.trip-status.confirmed { background: var(--teal-deep); color: var(--cream); }
.trip-status.planning { background: var(--cream-deep); color: var(--teal); border: 1px solid var(--line); }
.immersion-card h4 { font-size: 1.08rem; margin-bottom: 8px; }
.immersion-card .place { color: var(--olive); font-size: 0.85rem; margin-bottom: 10px; display: block; }
.immersion-card p { font-size: 0.94rem; margin: 0; }

/* ---------- Stat row ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat { border-top: 2px solid var(--coral); padding-top: 14px; }
.stat .num { font-family: 'Shippori Mincho B1', serif; font-size: 2rem; color: var(--teal-deep); display: block; }
.section-teal .stat .num { color: var(--cream); }
.stat .label { font-size: 0.86rem; color: var(--teal); }
.section-teal .stat .label { color: var(--rose); }

/* ---------- SDG list ---------- */
.sdg-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.sdg-list li {
  border-left: 3px solid var(--olive);
  padding-left: 20px;
}
.sdg-list strong { color: var(--teal-deep); font-family: 'Shippori Mincho B1', serif; font-weight: 600; }

/* ---------- Platform links ---------- */
.platform-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.platform-row a {
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 0.92rem;
}
.platform-row a:hover { background: var(--cream-deep); }

/* ---------- Footer ---------- */
footer {
  background: var(--teal-deep);
  color: var(--rose);
  padding: 60px 0 34px;
}
footer .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
footer h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 16px;
}
footer p, footer li { color: var(--rose); font-size: 0.92rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a, footer button[data-page] { color: var(--cream); }
footer a:hover, footer button[data-page]:hover { color: var(--coral); }
.footer-bottom {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(251,246,239,0.16);
  font-size: 0.82rem;
  color: rgba(251,246,239,0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 280px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .host-strip { grid-template-columns: 1fr; }
  .immersion-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr; }
  .episode-row { grid-template-columns: 56px 1fr; }

  .site-nav .wrap { flex-wrap: wrap; row-gap: 12px; padding-bottom: 12px; }
  .nav-links {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .nav-links a { white-space: nowrap; font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

/* ---------- Added in review round 2 ---------- */
.platform-row .soon { border: 1px dashed var(--line); padding: 10px 20px; border-radius: 3px; font-size: 0.92rem; opacity: 0.7; cursor: default; }
.gbsf-slot { border: 1.5px dashed var(--olive); border-radius: 3px; background: var(--cream); min-height: 270px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--teal); font-size: 0.9rem; font-style: italic; }
.gbsf-slot img { max-width: 100%; max-height: 230px; }
.lead + .lead { margin-top: -10px; }
