@font-face {
      font-family: "Nunito";
      src: url("/assets/fonts/nunito-400.woff2") format("woff2");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Nunito";
      src: url("/assets/fonts/nunito-600.woff2") format("woff2");
      font-weight: 600;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Nunito";
      src: url("/assets/fonts/nunito-800.woff2") format("woff2");
      font-weight: 800;
      font-style: normal;
      font-display: swap;
    }

    :root {
      --navy: #022C5D;
      --navy-deep: #01182F;
      --navy-soft: #0A3E72;
      --gold: #F6A916;
      --gold-deep: #D8900C;
      --gold-soft: #FFC44A;
      --coral: #F1826F;
      --peach: #F7B08A;
      --cream: #FFF8EE;
      --cream-deep: #FFF6DE;
      --ink: #1A2433;
      --ink-soft: #3A4555;
      --line: #E4D3B8;
      --white: #FFFFFF;
      --shadow: 0 16px 40px rgba(2, 44, 93, 0.18);
      --radius: 20px;
      --max: 1120px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
    }

    body {
      margin: 0;
      font-family: "Nunito", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
      font-size: 1.0625rem;
      line-height: 1.65;
      color: var(--ink);
      background: var(--cream);
      -webkit-font-smoothing: antialiased;
    }

    img { max-width: 100%; height: auto; display: block; }
    a { color: var(--navy); }
    a:hover { color: var(--navy-soft); }

    :focus-visible {
      outline: 3px solid var(--gold);
      outline-offset: 3px;
    }

    .skip {
      position: absolute;
      left: 1rem;
      top: -4rem;
      background: var(--navy);
      color: var(--white);
      padding: 0.6rem 1rem;
      border-radius: 8px;
      z-index: 100;
      text-decoration: none;
      font-weight: 800;
    }
    .skip:focus { top: 1rem; }

    .wrap {
      width: min(var(--max), calc(100% - 2rem));
      margin-inline: auto;
    }

    /* Header */
    header {
      background: rgba(255, 248, 238, 0.92);
      backdrop-filter: blur(10px);
      border-bottom: 3px solid var(--gold);
      position: sticky;
      top: 0;
      z-index: 20;
    }
    .header-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem 1.5rem;
      padding: 0.7rem 0;
    }
    .brand img {
      height: 40px;
      width: auto;
    }
    nav {
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
      width: 100%;
      gap: 0.5rem;
    }
    nav a {
      text-decoration: none;
      font-weight: 800;
      font-size: 0.86rem;
      color: var(--navy);
      padding: 0.45rem 0;
      white-space: nowrap;
    }
    nav a:hover { color: var(--gold-deep); }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: var(--gold);
      color: var(--navy);
      font-weight: 800;
      font-size: 1.05rem;
      text-decoration: none;
      padding: 0.9rem 1.5rem;
      border-radius: 999px;
      border: 3px solid var(--navy);
      box-shadow: 0 4px 0 var(--navy);
      min-height: 48px;
      transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }
    .btn:hover {
      background: var(--gold-soft);
      color: var(--navy);
      transform: translateY(-1px);
      box-shadow: 0 5px 0 var(--navy);
    }
    .btn:active {
      transform: translateY(2px);
      box-shadow: 0 1px 0 var(--navy);
    }
    .btn-wide { width: 100%; }

    /* Hero */
    .hero {
      position: relative;
      isolation: isolate;
      background:
        radial-gradient(ellipse 70% 55% at 78% 28%, rgba(255, 230, 140, 0.95) 0%, rgba(255, 230, 140, 0) 62%),
        linear-gradient(180deg, #F1826F 0%, #F4A04A 32%, #F6B816 58%, #F8D48A 82%, #FFF6DE 100%);
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-areas: "mascot" "copy";
      gap: 1.15rem 1.75rem;
      padding: 1.5rem 0 1.15rem;
      justify-items: center;
      text-align: center;
    }
    .hero-copy { grid-area: copy; }
    .mascot-block { grid-area: mascot; text-align: center; }
    .mascot {
      width: min(200px, 58vw);
      margin-inline: auto;
    }
    .mascot-caption {
      margin: 0.4rem 0 0;
      font-weight: 800;
      font-size: 0.95rem;
      color: var(--navy);
    }
    .hero-copy h1 {
      margin: 0 0 0.85rem;
      font-size: clamp(1.85rem, 6vw, 3.15rem);
      line-height: 1.15;
      letter-spacing: -0.03em;
      color: var(--navy);
    }
    .lead {
      margin: 0 0 1.5rem;
      font-size: 1.12rem;
      color: var(--navy);
      max-width: 34rem;
    }
    .hero-copy { max-width: 38rem; }

    .bridge-divider {
      display: block;
      width: 100%;
      height: 56px;
      margin-bottom: -1px;
    }

    /* Sections */
    section { padding: 3.25rem 0; scroll-margin-top: 6.5rem; }
    h1, h2, .lead { text-wrap: balance; }
    h2 {
      margin: 0 0 0.75rem;
      font-size: clamp(1.55rem, 4vw, 2.15rem);
      line-height: 1.2;
      letter-spacing: -0.02em;
      color: var(--navy);
    }
    .eyebrow {
      display: inline-block;
      margin: 0 0 0.45rem;
      font-weight: 800;
      font-size: 0.8rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gold-deep);
    }

    /* Book */
    #book { background: var(--cream-deep); }
    .book-grid {
      display: grid;
      gap: 2rem;
      align-items: center;
    }
    .cover-wrap {
      margin: 0 auto;
      width: min(300px, 80vw);
      filter: drop-shadow(0 18px 28px rgba(2, 44, 93, 0.28));
    }
    .cover-wrap img {
      width: 100%;
      border-radius: 4px;
    }
    .book-copy p { margin: 0 0 1.15rem; color: var(--ink-soft); }
    .facts {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin: 0 0 1.25rem;
      padding: 0;
      list-style: none;
    }
    .facts li {
      background: var(--navy);
      color: var(--white);
      font-weight: 800;
      font-size: 0.9rem;
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
    }
    .features {
      margin: 0 0 1.6rem;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 0.7rem;
    }
    .features li {
      display: grid;
      grid-template-columns: 1.75rem 1fr;
      gap: 0.7rem;
      align-items: start;
      color: var(--ink);
      font-weight: 600;
    }
    .features svg {
      width: 1.75rem;
      height: 1.75rem;
      flex-shrink: 0;
    }

    /* Sample */
    #sample { background: var(--cream); }
    .sample-card {
      background: var(--white);
      border: 3px solid var(--navy);
      border-radius: var(--radius);
      padding: 1.5rem 1.25rem 1.75rem;
      box-shadow: 0 8px 0 var(--navy);
      max-width: 36rem;
      margin: 0 auto;
      position: relative;
    }
    .sample-card h2 { text-align: center; }
    .sample-card > p { text-align: center; color: var(--ink-soft); }
    .soon {
      display: inline-block;
      background: var(--gold);
      color: var(--navy);
      font-weight: 800;
      font-size: 0.78rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 0.28rem 0.7rem;
      border-radius: 999px;
      border: 2px solid var(--navy);
    }
    .soon-wrap { text-align: center; margin-bottom: 0.85rem; }

    form.signup {
      display: grid;
      gap: 0.7rem;
      margin-top: 1.25rem;
      opacity: 0.72;
    }
    form.signup label {
      font-weight: 800;
      color: var(--navy);
      font-size: 0.95rem;
    }
    form.signup input[type="email"] {
      width: 100%;
      padding: 0.85rem 1rem;
      border: 2px solid var(--navy);
      border-radius: 12px;
      font: inherit;
      background: var(--cream);
      color: var(--ink);
      cursor: not-allowed;
    }
    form.signup button {
      font: inherit;
      font-weight: 800;
      background: var(--navy);
      color: var(--white);
      border: 0;
      border-radius: 999px;
      padding: 0.9rem 1.25rem;
      min-height: 48px;
      cursor: not-allowed;
    }
    .form-note {
      margin: 0.25rem 0 0;
      font-size: 0.9rem;
      color: var(--ink-soft);
      text-align: center;
    }

    /* Teachers */
    #teachers {
      background: var(--navy);
      color: var(--cream);
    }
    #teachers h2 { color: var(--white); }
    #teachers p { margin: 0; max-width: 40rem; font-size: 1.08rem; }
    #teachers a.mail {
      color: var(--gold);
      font-weight: 800;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    #teachers a.mail:hover { color: var(--gold-soft); }

    /* Coming next */
    #next { background: var(--cream-deep); }
    .next-intro { margin: 0 0 1.5rem; color: var(--ink-soft); max-width: 40rem; }
    .cards {
      display: grid;
      gap: 1rem;
    }
    .card {
      background: var(--white);
      border: 2px dashed var(--navy);
      border-radius: 16px;
      padding: 0;
    }
    .card-link {
      display: block;
      padding: 1.15rem 1.05rem 1.2rem;
      color: inherit;
      text-decoration: none;
      border-radius: 14px;
    }
    .card-link:hover h3,
    .card-link:focus-visible h3 { color: var(--navy-soft); }
    .card-link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
    .card img {
      width: min(200px, 70%);
      height: auto;
      display: block;
      margin: 0 auto 0.85rem;
      border: 3px solid var(--navy);
      border-radius: 8px;
      box-shadow: var(--shadow);
      background: var(--white);
    }
    .card h3 {
      margin: 0.45rem 0 0.4rem;
      color: var(--navy);
      font-size: 1.12rem;
      line-height: 1.25;
    }
    .card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

    /* Footer */
    footer {
      background: var(--navy-deep);
      color: #E8EEF6;
      padding: 2.5rem 0 2rem;
    }
    footer .brand img { height: 44px; margin-bottom: 1.1rem; }
    footer p { margin: 0 0 0.85rem; font-size: 0.95rem; max-width: 40rem; }
    footer .copy { color: #C5D0DE; margin-bottom: 0; }

    @media (min-width: 720px) {
      .wrap { width: min(var(--max), calc(100% - 3.5rem)); }
      .header-inner { flex-wrap: nowrap; padding: 0.85rem 0; }
      .brand img { height: 54px; }
      nav {
        width: auto;
        justify-content: flex-end;
        gap: 1.25rem;
      }
      nav a { font-size: 0.98rem; padding: 0.35rem 0; }
      .hero-grid {
        grid-template-columns: 1fr min(380px, 38%);
        grid-template-areas: "copy mascot";
        align-items: center;
        text-align: left;
        justify-items: start;
        gap: 2.5rem;
        padding: 3.5rem 0 2rem;
      }
      .mascot-block { justify-self: end; }
      .mascot { width: min(380px, 100%); }
      .lead { font-size: 1.2rem; }
      .btn-wide { width: auto; }
      .book-grid {
        grid-template-columns: min(360px, 38%) 1fr;
        gap: 3rem;
      }
      .cover-wrap { width: 100%; margin: 0; }
      .sample-card { padding: 2rem 2.25rem 2.15rem; }
      .cards { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
      .bridge-divider { height: 80px; }
    }

    @media (min-width: 1024px) {
      .hero-grid { padding: 4.25rem 0 2.4rem; }
      .mascot { width: 400px; }
    }


    /* ---- Added for multi-page site, printables, learn, tools ---- */
    @font-face {
      font-family: "Playwrite US Trad";
      src: url("/assets/fonts/playwrite-us-trad-400.woff2") format("woff2");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    .nav-toggle {
      display: none;
      background: var(--gold);
      color: var(--navy);
      font: inherit;
      font-weight: 800;
      font-size: 0.95rem;
      border: 3px solid var(--navy);
      border-radius: 999px;
      padding: 0.45rem 0.95rem;
      min-height: 44px;
      cursor: pointer;
      box-shadow: 0 3px 0 var(--navy);
    }
    .nav-toggle:hover { background: var(--gold-soft); }
    nav a[aria-current="page"] { color: var(--gold-deep); }

    .page-hero {
      background:
        radial-gradient(ellipse 70% 55% at 78% 28%, rgba(255, 230, 140, 0.85) 0%, rgba(255, 230, 140, 0) 62%),
        linear-gradient(180deg, #F1826F 0%, #F4A04A 40%, #F8D48A 78%, #FFF6DE 100%);
      padding: 2.2rem 0 0;
    }
    .page-hero .hero-copy h1 { font-size: clamp(1.7rem, 5vw, 2.7rem); }
    .page-hero .lead { max-width: 40rem; }

    .teaser-grid, .printable-grid, .article-grid, .tool-grid {
      display: grid;
      gap: 1.15rem;
    }
    .printable-card, .article-card, .tool-card, .teaser-card {
      background: var(--white);
      border: 3px solid var(--navy);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--navy);
      padding: 1.15rem 1.15rem 1.3rem;
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      color: inherit;
      text-decoration: none;
    }
    a.printable-card:hover, a.article-card:hover, a.tool-card:hover, a.teaser-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 0 var(--navy);
      color: inherit;
    }
    .printable-card img, .teaser-card img {
      width: 100%;
      border-radius: 12px;
      border: 2px solid var(--line);
      background: var(--white);
      aspect-ratio: 8.5 / 11;
      object-fit: cover;
      object-position: top;
    }
    .printable-card h3, .article-card h3, .tool-card h3, .teaser-card h3 {
      margin: 0;
      color: var(--navy);
      font-size: 1.2rem;
      line-height: 1.25;
    }
    .printable-card p, .article-card p, .tool-card p, .teaser-card p {
      margin: 0;
      color: var(--ink-soft);
      flex: 1;
    }
    .card-actions { margin-top: 0.25rem; }
    .btn-sm { font-size: 0.98rem; padding: 0.7rem 1.15rem; min-height: 44px; }
    .btn-navy {
      background: var(--navy);
      color: var(--white);
      box-shadow: 0 4px 0 var(--navy-deep);
      border-color: var(--navy-deep);
    }
    .btn-navy:hover { background: var(--navy-soft); color: var(--white); }

    #printables-teaser, #learn-teaser, #tools-teaser { background: var(--cream); }
    #letter-week { background: var(--cream-deep); }
    #meet-teaser { background: var(--cream-deep); }

    .week-card {
      display: grid;
      gap: 1.5rem;
      align-items: center;
      background: var(--white);
      border: 3px solid var(--navy);
      border-radius: var(--radius);
      box-shadow: 0 8px 0 var(--navy);
      padding: 1.4rem 1.25rem 1.5rem;
    }
    .week-letter {
      font-family: "Playwrite US Trad", cursive, serif;
      font-size: clamp(4rem, 16vw, 7rem);
      line-height: 1;
      color: var(--navy);
      text-align: center;
    }
    .muted { color: var(--ink-soft); }
    .kicker { margin: 0 0 0.4rem; }

    /* FAQ */
    .faq { display: grid; gap: 0.7rem; }
    .faq details {
      background: var(--white);
      border: 2px solid var(--navy);
      border-radius: 14px;
      padding: 0.7rem 1rem;
    }
    .faq summary {
      font-weight: 800;
      color: var(--navy);
      cursor: pointer;
    }
    .faq details p { margin: 0.6rem 0 0.2rem; color: var(--ink-soft); }

    /* Article typography */
    .article-wrap { max-width: 44rem; margin: 0 auto; }
    .article-meta { color: var(--ink-soft); font-weight: 600; margin: 0 0 1.5rem; }
    .article-body p { margin: 0 0 1.1rem; }
    .article-body h2 {
      font-size: 1.4rem;
      margin: 1.8rem 0 0.7rem;
    }
    .article-body ul, .article-body ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
    .article-body li { margin: 0 0 0.4rem; }
    .article-body a { font-weight: 700; }
    .next-reads { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 3px solid var(--gold); }

    /* Name generator */
    .generator {
      background: var(--white);
      border: 3px solid var(--navy);
      border-radius: var(--radius);
      box-shadow: 0 8px 0 var(--navy);
      padding: 1.4rem 1.2rem 1.5rem;
    }
    .generator label { font-weight: 800; color: var(--navy); display: block; margin-bottom: 0.4rem; }
    .generator input[type="text"] {
      width: 100%;
      padding: 0.85rem 1rem;
      border: 2px solid var(--navy);
      border-radius: 12px;
      font: inherit;
      font-size: 1.15rem;
      background: var(--cream);
      color: var(--ink);
    }
    .generator .row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
      margin-top: 1rem;
      align-items: center;
    }
    .sheet-wrap {
      margin-top: 1.4rem;
      background: var(--white);
      border: 2px dashed var(--line);
      border-radius: 12px;
      overflow: auto;
    }
    #name-sheet {
      display: block;
      width: 100%;
      height: auto;
      background: white;
    }

    /* Quiz */
    .quiz {
      background: var(--white);
      border: 3px solid var(--navy);
      border-radius: var(--radius);
      box-shadow: 0 8px 0 var(--navy);
      padding: 1.4rem 1.2rem 1.6rem;
      max-width: 40rem;
    }
    .quiz fieldset {
      border: 0;
      margin: 0 0 1.3rem;
      padding: 0;
    }
    .quiz legend {
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 0.55rem;
      font-size: 1.08rem;
    }
    .quiz label.choice {
      display: block;
      background: var(--cream);
      border: 2px solid var(--line);
      border-radius: 12px;
      padding: 0.65rem 0.8rem;
      margin: 0 0 0.45rem;
      cursor: pointer;
      font-weight: 600;
    }
    .quiz label.choice:has(input:checked) {
      border-color: var(--navy);
      background: #FFF1C8;
    }
    .quiz input[type="radio"] { margin-right: 0.5rem; accent-color: var(--navy); }
    .quiz-result {
      display: none;
      margin-top: 0.5rem;
    }
    .quiz-result.is-visible { display: block; }
    .quiz-result h2 { margin-top: 0; }

    /* Meet Bridger */
    .speech {
      background: var(--white);
      border: 3px solid var(--navy);
      border-radius: var(--radius);
      box-shadow: 0 8px 0 var(--navy);
      padding: 1.4rem 1.25rem;
      max-width: 40rem;
    }
    .bridger-panel {
      display: grid;
      gap: 1.4rem;
      align-items: center;
      justify-items: center;
    }
    .bridger-panel img { width: min(280px, 70vw); }

    .signup-slot { margin-top: 1.25rem; }

    footer .foot-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1.2rem;
      margin: 0 0 1rem;
    }
    footer .foot-links a { color: var(--gold); font-weight: 800; text-decoration: none; }
    footer .foot-links a:hover { color: var(--gold-soft); }

    .generator .form-note { text-align: left; }

    @media (max-width: 719px) {
      .nav-toggle { display: inline-flex; align-items: center; }
      nav#site-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        flex-basis: 100%;
        gap: 0;
        border-top: 2px solid var(--line);
        padding-top: 0.4rem;
      }
      nav#site-nav.is-open { display: flex; }
      nav#site-nav a { padding: 0.7rem 0; font-size: 1rem; }
      .header-inner { align-items: center; }
      .brand { margin-right: auto; }
      .brand img { height: 32px; }
    }

    @media (min-width: 720px) {
      .printable-grid { grid-template-columns: repeat(3, 1fr); }
      .article-grid { grid-template-columns: repeat(3, 1fr); }
      .tool-grid, .teaser-grid { grid-template-columns: repeat(2, 1fr); }
      .tool-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
      .week-card {
        grid-template-columns: 180px 1fr;
        padding: 1.6rem 1.8rem;
      }
      .bridger-panel { grid-template-columns: 240px 1fr; justify-items: start; }
      .page-hero { padding-top: 2.8rem; }
    }

    @media (min-width: 900px) {
      .teaser-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    }

    @media print {
      header, footer, .skip, .no-print, .nav-toggle { display: none !important; }
      body { background: white; }
      .sheet-wrap { border: 0; }
    }

/* ===== v3: gift banner, look inside, challenge, about, shop ===== */
.gift-banner {
  position: relative;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 0.55rem 3rem 0.55rem 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.35;
}
.gift-banner a { color: var(--white); text-decoration: none; }
.gift-banner a:hover { color: var(--gold-soft); }
.gift-banner .gb-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); color: var(--gold); margin-left: 0.35rem; white-space: nowrap; }
.gift-banner button {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.gift-banner button:hover { background: rgba(255, 255, 255, 0.14); }

/* Look inside */
.lookinside { margin-top: 2.2rem; }
.lookinside h3 { margin: 0 0 0.25rem; font-size: 1.35rem; color: var(--navy); }
.lookinside > p { margin: 0 0 1rem; color: var(--ink-soft); }
.li-wrap { position: relative; }
.li-track {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.4rem 0.2rem 0.9rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.li-slide {
  flex: 0 0 min(66vw, 280px);
  scroll-snap-align: start;
  margin: 0;
}
.li-slide button {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--navy);
  overflow: hidden;
  cursor: zoom-in;
}
.li-slide img { width: 100%; height: auto; aspect-ratio: 780 / 1085; object-fit: cover; }
.li-slide figcaption { margin-top: 0.55rem; font-size: 0.9rem; font-weight: 700; color: var(--ink-soft); line-height: 1.3; }
.li-nav {
  display: none;
  position: absolute;
  top: 38%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  background: var(--gold);
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--navy);
  z-index: 2;
}
.li-nav:hover { background: var(--gold-soft); }
.li-prev { left: -14px; }
.li-next { right: -14px; }
.li-js .li-nav { display: inline-flex; align-items: center; justify-content: center; }
.li-status { margin: 0.2rem 0 0; font-size: 0.92rem; color: var(--ink-soft); font-weight: 700; }
@media (min-width: 720px) {
  .li-slide { flex-basis: 230px; }
}
@media (min-width: 900px) {
  .li-slide { flex-basis: 250px; }
}

.li-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(1, 24, 47, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.li-overlay.is-open { display: flex; }
.li-overlay figure { margin: 0; max-width: min(92vw, 640px); text-align: center; }
.li-overlay img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; background: var(--white); }
.li-overlay figcaption { color: var(--white); margin-top: 0.7rem; font-weight: 700; }
.li-overlay button {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  background: var(--gold);
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 800;
  cursor: pointer;
}
.li-overlay .lo-prev { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.li-overlay .lo-next { right: 0.6rem; top: 50%; transform: translateY(-50%); }
.li-overlay .lo-close { right: 0.8rem; top: 0.8rem; }

/* Explorer challenge */
#challenge { background: var(--cream-deep); }
.challenge-card {
  display: grid;
  gap: 1.1rem 1.6rem;
  align-items: center;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--navy);
  padding: 1.3rem 1.2rem 1.4rem;
}
.challenge-badge {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--navy);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 8px var(--gold);
}
.challenge-badge small { display: block; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.15rem; }
.challenge-badge.is-done { background: var(--navy); color: var(--gold); }
.challenge-card h2 { margin: 0 0 0.4rem; font-size: clamp(1.35rem, 3.5vw, 1.8rem); text-align: left; }
.challenge-card p { margin: 0 0 0.8rem; color: var(--ink-soft); }
.challenge-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; }
.challenge-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-weight: 700;
}
.challenge-list li::before {
  content: "";
  flex: 0 0 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  background: var(--white);
}
.challenge-list li.is-done { background: #FFF1C9; border-color: var(--gold); }
.challenge-list li.is-done::before {
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23022C5D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.challenge-list a { color: var(--navy); }
.challenge-reward { display: grid; gap: 0.8rem; align-items: center; margin-top: 0.4rem; }
.challenge-reward img { width: 120px; border: 3px solid var(--navy); border-radius: 10px; }
.challenge-locked { font-weight: 700; color: var(--ink-soft); }
.challenge-reset {
  background: none;
  border: 0;
  padding: 0.3rem 0;
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: underline;
  cursor: pointer;
}
.challenge-note { margin-top: 1rem; font-weight: 700; color: var(--navy); }
.challenge-compact { grid-template-columns: auto 1fr; padding: 1rem 1.1rem; }
.challenge-compact .challenge-badge { width: 76px; height: 76px; font-size: 1.4rem; }
.challenge-compact h2 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.challenge-compact p { margin-bottom: 0.6rem; font-size: 0.98rem; }
@media (min-width: 720px) {
  .challenge-card { grid-template-columns: 130px 1fr; padding: 1.6rem 1.8rem; }
  .challenge-compact { grid-template-columns: 100px 1fr; }
  .challenge-reward { grid-template-columns: auto 1fr; gap: 1.2rem; }
}

/* About + shop */
.method-grid { display: grid; gap: 1rem; margin-top: 1.2rem; }
.method-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: 0 4px 0 var(--line);
}
.method-card .num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.method-card h3 { margin: 0 0 0.4rem; color: var(--navy); font-size: 1.2rem; }
.method-card p { margin: 0; color: var(--ink-soft); }
.method-card ul { margin: 0.5rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); }
.audience-grid { display: grid; gap: 1rem; margin-top: 1.2rem; }
.audience-card {
  background: var(--cream);
  border: 2px dashed var(--navy);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.audience-card h3 { margin: 0 0 0.4rem; color: var(--navy); }
.audience-card p { margin: 0; color: var(--ink-soft); }
.about-band { background: var(--cream-deep); }
.cta-band { background: var(--navy); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 36rem; margin: 0 auto 1.2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.cta-band .btn-navy { background: var(--cream); color: var(--navy); border-color: var(--cream); box-shadow: 0 4px 0 var(--gold); }
.honest-note {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border-left: 6px solid var(--gold);
  background: var(--white);
  border-radius: 0 14px 14px 0;
  color: var(--ink-soft);
}
.shop-grid { display: grid; gap: 1.4rem; }
.shop-card {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--navy);
  padding: 1.2rem;
}
.shop-card img { width: min(220px, 60vw); margin: 0 auto; border: 3px solid var(--navy); border-radius: 8px; box-shadow: var(--shadow); }
.shop-card h2 { text-align: left; margin: 0 0 0.3rem; font-size: 1.5rem; }
.shop-card .sub { margin: 0 0 0.6rem; font-weight: 700; color: var(--ink-soft); }
.shop-card p { color: var(--ink-soft); }
.shop-price { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin: 0 0 0.6rem; }
.shop-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 0.4rem; }
.gift-panel {
  display: grid;
  gap: 1rem;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.gift-panel h2 { color: var(--white); text-align: left; margin-top: 0; }
.gift-panel p { margin: 0 0 0.8rem; }
.gift-panel ul { margin: 0; padding-left: 1.2rem; }
.gift-panel li { margin: 0 0 0.4rem; }
.gift-panel a { color: var(--gold); font-weight: 800; }
@media (min-width: 720px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-card { grid-template-columns: 240px 1fr; align-items: start; padding: 1.5rem; }
  .shop-card img { margin: 0; }
  .shop-card .cover-placeholder { margin: 0; width: 220px; }
  .gift-panel { grid-template-columns: 1.1fr 1fr; padding: 2rem 2.2rem; gap: 2rem; }
}
.method-teaser-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.5rem; max-width: 40rem; }
.method-teaser-list li { padding-left: 0; }
.method-teaser-list strong { color: var(--navy); }

@media print {
  .gift-banner, .li-nav, .li-overlay { display: none !important; }
}
[hidden] { display: none !important; }
.shop-card .form-note, .challenge-card .form-note { text-align: left; }
.li-prev { left: -8px; }
.li-next { right: -8px; }


/* Coming-soon cover placeholder */
.cover-placeholder {
  width: min(220px, 60vw);
  aspect-ratio: 460 / 595;
  margin: 0 auto 0.85rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  border: 3px dashed var(--navy);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  padding: 1rem 0.75rem;
  gap: 0.35rem;
  box-sizing: border-box;
}
.card .cover-placeholder { width: min(200px, 70%); margin: 0 auto 0.85rem; }
.shop-card .cover-placeholder { margin: 0 auto; }
.cover-placeholder img {
  width: 88px !important;
  height: auto !important;
  margin: 0 0 0.35rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.cover-placeholder .ph-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cover-placeholder strong {
  font-size: 1.02rem;
  line-height: 1.25;
  max-width: 11.5rem;
}
.cover-placeholder .ph-soon {
  display: inline-block;
  margin-top: 0.35rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 2px solid var(--navy);
}

/* Adventure map */
.adv-card { display: grid; gap: 1.4rem; align-items: center; background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius); box-shadow: 0 6px 0 var(--navy); padding: 1.3rem 1.2rem; }
.adv-copy h2 { text-align: left; margin-top: 0; }
.adv-copy p { color: var(--ink-soft); }
.adv-route { list-style: none; margin: 1.1rem 0 1.3rem; padding: 0; display: grid; gap: 0.9rem; position: relative; }
.adv-route li { display: flex; align-items: flex-start; gap: 0.8rem; line-height: 1.35; position: relative; }
.adv-route li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: -0.85rem; border-left: 4px dashed var(--gold); }
.adv-n { flex: 0 0 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); border: 3px solid var(--navy); color: var(--navy); font-weight: 800; font-size: 1.25rem; }
.adv-soon .adv-n { background: var(--white); border-style: dashed; }
.adv-soon em { color: var(--ink-soft); font-weight: 700; }
.adv-thumb img { width: min(300px, 70vw); margin: 0 auto; border: 3px solid var(--navy); border-radius: 10px; box-shadow: var(--shadow); background: var(--white); }
@media (min-width: 720px) {
  .adv-card { grid-template-columns: 1.3fr 1fr; padding: 1.8rem 2rem; gap: 2rem; }
  .adv-route { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
  .adv-route li { flex-direction: column; align-items: flex-start; }
  .adv-route li:not(:last-child)::after { left: 54px; right: -0.4rem; top: 22px; bottom: auto; border-left: 0; border-top: 4px dashed var(--gold); }
}
.adv-n { width: 46px; }
.li-overlay figure { width: min(92vw, 560px); }
.li-overlay img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
@media (max-width: 719px) {
  .li-prev { left: 2px; }
  .li-next { right: 2px; }
  .li-nav { width: 40px; height: 40px; top: 36%; }
}

/* v3: intro video */
.video-section { padding: 2.25rem 0 1.5rem; }
.video-section .wrap { max-width: 820px; text-align: center; }
.video-section h2 { margin: 0 0 .35rem; }
.video-section .video-sub { margin: 0 auto 1.1rem; color: var(--ink-soft); max-width: 36rem; }
.video-frame { margin: 0 auto; border: 4px solid var(--navy); border-radius: 18px; overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy-deep); }
.video-frame figcaption { background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; padding: .55rem .9rem; }

/* v3: responsive intro video (vertical cut on phones) */
@media (max-width: 768px) {
  .video-section .video-frame { max-width: min(100%, 45vh); }
  .video-frame video { aspect-ratio: 9 / 16; max-height: 80vh; }
}
