@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #F6F2E7;
  --cream-card: #FDFBF5;
  --forest: #16332B;
  --forest-light: #1F4436;
  --sea: #3B7060;
  --sea-light: #4E8A76;
  --mint: #8FCBA8;
  --mint-soft: #C9E8D6;
  --gold: #D8A63B;
  --ink: #16332B;
  --ink-soft: #4A5D55;
  --max-width: 1080px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px rgba(22, 51, 43, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Prompt', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

.script {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  line-height: 1.2;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

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

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(22, 51, 43, 0.08);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--forest);
}
.brand-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--forest);
  padding: 2px;
}
.brand-ring img { border-radius: 50%; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { opacity: 0.8; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid-cream { background: var(--cream-card); color: var(--forest); }
.btn-outline-mint { background: transparent; color: var(--mint-soft); border-color: var(--mint); }
.btn-outline-mint:hover { background: rgba(143, 203, 168, 0.1); }
.btn-forest { background: var(--forest); color: var(--cream-card); }
.btn-sea { background: var(--sea); color: var(--cream-card); }

/* Hero */
.hero {
  background: var(--forest);
  color: var(--cream-card);
  padding: 72px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow {
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--mint-soft);
  margin-bottom: 6px;
}
.hero h1 {
  font-size: 76px;
  margin: 0;
  color: var(--cream-card);
}
.hero .subscript {
  font-family: 'Pacifico', cursive;
  font-size: 34px;
  color: var(--mint-soft);
  margin-top: -14px;
}
.hero-photo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 3px solid var(--mint);
  padding: 6px;
  margin: 36px auto 22px;
}
.hero-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--forest);
}
.hero-photo-inner img { width: 100%; height: 100%; object-fit: cover; }
.hero-name {
  font-size: 26px;
  font-weight: 700;
}
.hero-name .handle { color: var(--mint-soft); }
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section shells */
.section { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-forest { background: var(--forest); color: var(--cream-card); }
.section-sea { background: var(--sea); color: var(--cream-card); }

.eyebrow-script {
  font-family: 'Pacifico', cursive;
  font-size: 26px;
  color: var(--sea);
  margin-bottom: 2px;
}
.section-forest .eyebrow-script, .section-sea .eyebrow-script { color: var(--mint-soft); }
.section h2.title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 28px;
}

.achieve-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(22, 51, 43, 0.08);
  font-size: 16px;
}
.section-forest .achieve-list li,
.section-sea .achieve-list li { border-bottom-color: rgba(255,255,255,0.14); }
.achieve-list .medal { font-size: 18px; }
.achieve-list b { font-weight: 700; }
.achieve-list .accent { color: var(--sea); font-weight: 700; }
.section-forest .achieve-list .accent { color: var(--mint-soft); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  max-width: 420px;
}
.stat-row .num { font-size: 34px; font-weight: 700; }
.stat-row .label { font-size: 13px; opacity: .85; margin-top: 2px; }

/* Subject cards */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.subject-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(22,51,43,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.subject-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(22,51,43,0.16); }
.subject-card .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--mint-soft);
  color: var(--forest);
}
.subject-card h3 { margin: 0 0 4px; font-size: 20px; }
.subject-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.subject-card .count { margin-top: 14px; font-size: 13px; color: var(--sea); font-weight: 600; }

/* CTA */
.cta-block { text-align: center; }
.cta-block .script { font-size: 44px; color: var(--mint-soft); margin-bottom: 10px; }
.cta-block h2 { font-size: 26px; margin: 0 0 8px; }
.cta-block p.sub { opacity: .85; max-width: 460px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-actions .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Footer */
.site-footer {
  background: var(--forest);
  color: var(--mint-soft);
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---- Learn portal ---- */
.portal-header {
  background: var(--forest);
  color: var(--cream-card);
  padding: 20px 0;
}
.portal-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.portal-header .who { font-size: 13px; opacity: .8; }
.breadcrumbs {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--sea); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }

.topic-list { display: flex; flex-direction: column; gap: 10px; }
.topic-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream-card);
  border: 1px solid rgba(22,51,43,0.08);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.topic-row:hover { border-color: var(--sea); transform: translateX(2px); }
.topic-row .dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mint-soft); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.topic-row .txt { flex: 1; }
.topic-row .txt .t-title { font-weight: 600; font-size: 15px; }
.topic-row .txt .t-sub { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.topic-row .arrow { color: var(--sea); font-size: 18px; }

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--forest);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--mint-soft);
  gap: 10px;
  text-align: center;
  padding: 20px;
}
.video-placeholder .big { font-size: 32px; }
.video-placeholder .txt { font-size: 14px; opacity: .8; max-width: 320px; }

.video-item .v-label { font-size: 13px; font-weight: 600; color: var(--sea); margin-bottom: 8px; }

.material-list { display: flex; flex-direction: column; gap: 10px; }
.material-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream-card);
  border: 1px solid rgba(22,51,43,0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.material-row .fi { font-size: 18px; color: var(--ink-soft); }
.material-row .fn { flex: 1; font-size: 14px; font-weight: 500; }
.material-row .dl { font-size: 13px; font-weight: 600; color: var(--sea); }
.material-row.disabled { opacity: .55; }
.material-row.disabled .dl { color: var(--ink-soft); }

.empty-note {
  font-size: 13px;
  color: var(--ink-soft);
  background: rgba(59,112,96,0.08);
  border: 1px dashed rgba(59,112,96,0.35);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 48px; }
  .hero .subscript { font-size: 24px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .nav-links { display: none; }
}
