﻿:root {
        --ink: #244737;
        --ink-deep: #183426;
        --muted: #44594f;
        --soft: #7e8c79;
        --cream: #f6f0e2;
        --cream-2: #efe7d5;
        --sky: #c8eaf8;
        --sky-2: #eaf7ff;
        --green: #365d46;
        --green-2: #4f6d54;
        --green-3: #69835e;
        --orange: #df7a39;
        --orange-deep: #c55e22;
        --card: rgba(255, 255, 255, 0.88);
        --card-strong: rgba(255, 255, 255, 0.96);
        --border: rgba(65, 96, 72, 0.15);
        --shadow: 0 24px 70px rgba(34, 59, 44, 0.12);
        --shadow-strong: 0 30px 90px rgba(22, 32, 22, 0.22);
      }

      * {
        box-sizing: border-box;
      }

      html {
        min-height: 100%;
        background: #f6f0e2;
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        min-height: 100vh;
        color: var(--ink);
        font-family:
          Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        background: linear-gradient(180deg, #f8f2e6 0%, #f6f0e2 100%);
        overflow-x: hidden;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      .page {
        position: relative;
        max-width: 1540px;
        margin: 0 auto;
        padding: 0 22px 30px;
      }

      .hero-shell,
      .section-shell,
      .split-shell {
        position: relative;
        overflow: hidden;
        border-radius: 34px;
        box-shadow: var(--shadow);
      }

      .hero-shell {
        min-height: 860px;
        background:
          linear-gradient(90deg, rgba(247, 241, 229, 0.94) 0%, rgba(247, 241, 229, 0.84) 16%, rgba(247, 241, 229, 0.34) 38%, rgba(247, 241, 229, 0.08) 62%, rgba(247, 241, 229, 0.02) 100%),
          url("assets/hero-camp.webp") center center / cover no-repeat;
        border: 1px solid rgba(49, 82, 58, 0.08);
        border-radius: 34px 34px 0 0;
      }

      .hero-shell::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.28), transparent 18%),
          radial-gradient(circle at 16% 56%, rgba(255, 255, 255, 0.32), transparent 24%);
        pointer-events: none;
      }

      .hero-shell::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 24%, transparent 72%, rgba(245, 239, 226, 0.48) 100%);
        pointer-events: none;
      }

      .hero-topbar,
      .hero-main,
      .section-shell,
      .split-shell,
      .cards-grid,
      footer {
        position: relative;
        z-index: 1;
      }

      .hero-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 18px 24px 0;
      }

      .brand {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.75rem;
        font-weight: 700;
        letter-spacing: -0.03em;
        color: var(--ink-deep);
      }

      .brand-mark {
        width: 54px;
        height: 54px;
        flex: 0 0 auto;
        display: block;
        object-fit: contain;
      }

      .nav {
        display: flex;
        align-items: center;
        gap: 34px;
        margin-left: auto;
        font-size: 1rem;
        color: var(--ink-deep);
      }

      .nav a {
        opacity: 0.92;
        transition: opacity 160ms ease, transform 160ms ease;
      }

      .nav a:hover {
        opacity: 1;
        transform: translateY(-1px);
      }

      .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
        padding: 0 20px;
        border-radius: 999px;
        border: 1px solid transparent;
        font-weight: 700;
        transition:
          transform 160ms ease,
          box-shadow 160ms ease,
          background-color 160ms ease,
          border-color 160ms ease;
        white-space: nowrap;
      }

      .button:hover {
        transform: translateY(-1px);
      }

.button:disabled,
.button:disabled:hover {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.button.is-disabled,
.button.is-disabled:hover {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.is-hidden {
  display: none !important;
}

      .button-primary {
        background: var(--green);
        color: #f7f2ea;
        box-shadow: 0 14px 30px rgba(33, 66, 43, 0.24);
      }

      .button-primary:hover {
        background: #2d533d;
      }

      .button-accent {
        background: var(--orange);
        color: #fff6ef;
        box-shadow: 0 14px 28px rgba(223, 122, 57, 0.3);
      }

      .button-accent:hover {
        background: var(--orange-deep);
      }

      .button-ghost {
        background: rgba(255, 255, 255, 0.45);
        border-color: rgba(46, 74, 51, 0.14);
        color: var(--ink-deep);
        backdrop-filter: blur(10px);
      }

      .hero-main {
        display: block;
        min-height: 780px;
        padding: 90px 24px 24px;
      }

      .hero-copy {
        position: relative;
        z-index: 1;
        max-width: 660px;
        padding: 48px 8px 54px 18px;
      }

      .eyebrow {
        margin: 0 0 18px;
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--green);
      }

      h1,
      h2,
      h3 {
        margin: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-weight: 700;
        letter-spacing: -0.045em;
        line-height: 0.96;
      }

      h1 {
        font-size: clamp(3.15rem, 5.05vw, 6.2rem);
        color: var(--ink-deep);
        max-width: 600px;
      }

      .hero-copy p {
        margin: 0;
      }

      .hero-text {
        margin-top: 24px;
        max-width: 560px;
        font-size: clamp(1.08rem, 1.3vw, 1.32rem);
        line-height: 1.8;
        color: #314538;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 28px;
      }

      .orb .scene-orb > img,
      .split-panel .scene-panel > img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
      }

      .section-shell {
        margin-top: 0;
        padding: 50px 32px 36px;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 20%),
          linear-gradient(180deg, #f8f2e6 0%, #f7f0e4 100%);
        border: 1px solid rgba(61, 89, 67, 0.08);
        border-radius: 0 0 34px 34px;
      }

      .section-head {
        text-align: center;
        max-width: 820px;
        margin: 0 auto 26px;
      }

      .section-kicker {
        margin: 0 0 12px;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--green);
      }

      .section-title {
        font-size: clamp(2.3rem, 3.3vw, 4rem);
        color: var(--ink-deep);
      }

      .section-subtitle {
        margin: 14px auto 0;
        max-width: 720px;
        font-size: 1.05rem;
        line-height: 1.8;
        color: var(--muted);
      }

      .steps {
        position: relative;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 22px;
        padding: 8px 8px 2px;
      }

      .steps.is-marquee {
        display: block;
        overflow: hidden;
        padding: 14px 0 6px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
      }

      .steps-track {
        display: flex;
        width: max-content;
        gap: 26px;
        animation: routeScroll 95s linear infinite;
        will-change: transform;
      }

      .steps.is-marquee:hover .steps-track {
        animation-play-state: paused;
      }

      .steps.is-marquee .step {
        flex: 0 0 214px;
      }

      @keyframes routeScroll {
        from {
          transform: translateX(0);
        }

        to {
          transform: translateX(calc(-50% - 13px));
        }
      }

      @media (prefers-reduced-motion: reduce) {
        .steps.is-marquee {
          overflow-x: auto;
          -webkit-mask-image: none;
          mask-image: none;
          scroll-snap-type: x proximity;
        }

        .steps-track {
          animation: none;
        }

        .steps.is-marquee .step {
          scroll-snap-align: center;
        }
      }

      .step {
        position: relative;
        text-align: center;
      }

      .orb {
        position: relative;
        width: 184px;
        height: 184px;
        margin: 0 auto 14px;
        border-radius: 50%;
        overflow: hidden;
        border: 8px solid rgba(255, 255, 255, 0.95);
        box-shadow: 0 14px 30px rgba(54, 82, 59, 0.18);
        background: linear-gradient(180deg, #d9eef5, #c5d6d9);
      }

      .orb .scene-orb {
        width: 100%;
        height: 100%;
        display: block;
      }

      .step-num {
        position: absolute;
        left: -4px;
        bottom: -6px;
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        background: #344f38;
        color: #f4efe7;
        font-size: 0.9rem;
        font-weight: 700;
        box-shadow: 0 10px 20px rgba(35, 55, 39, 0.2);
      }

      .step h3 {
        margin-top: 8px;
        font-size: 1.18rem;
        color: var(--ink-deep);
      }

      .step p {
        margin: 8px auto 0;
        max-width: 190px;
        font-size: 0.98rem;
        line-height: 1.6;
        color: var(--muted);
      }

      .split-shell {
        margin-top: 18px;
        display: grid;
        grid-template-columns: minmax(320px, 0.48fr) minmax(0, 1fr);
        gap: clamp(28px, 4vw, 58px);
        align-items: center;
        padding: clamp(34px, 4.5vw, 72px);
        background:
          radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.78), transparent 30%),
          linear-gradient(135deg, #fbf6e9 0%, #f7f0df 58%, #f1e4c7 100%);
        border: 1px solid rgba(36, 75, 53, 0.08);
      }

      .intro-shell {
        grid-template-columns: minmax(0, 1fr);
        background: url("assets/background-forrest1.webp") center center / cover no-repeat;
      }

      .intro-copy {
        width: min(520px, 100%);
        max-width: 520px;
        padding: clamp(24px, 3vw, 36px);
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(36, 75, 53, 0.08);
        box-shadow: 0 22px 54px rgba(36, 75, 53, 0.1);
        color: #244b35;
      }

      .mini-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
        color: rgba(36, 75, 53, 0.78);
        font-size: 0.82rem;
        font-weight: 800;
        letter-spacing: 0.18em;
        text-transform: uppercase;
      }

      .mini-brand img {
        width: 54px;
        height: 54px;
        object-fit: contain;
        opacity: 0.72;
      }

      .intro-copy h2 {
        max-width: 380px;
        font-size: 4.75rem;
        line-height: 1.04;
        color: #244b35;
        margin-bottom: 18px;
      }

      .heading-mark {
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 8px 0 28px;
        color: #dfc99b;
      }

      .heading-mark span {
        width: 34px;
        height: 1px;
        background: currentColor;
      }

      .heading-mark img {
        width: 28px;
        height: 28px;
        opacity: 0.45;
      }

      .intro-lead {
        max-width: 390px;
        margin: 0;
        font-size: 1.08rem;
        line-height: 1.7;
        color: rgba(36, 75, 53, 0.74);
      }

      .intro-points {
        display: grid;
        gap: 22px;
        margin-top: 34px;
      }

      .intro-point {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 18px;
        align-items: center;
      }

      .intro-point strong {
        display: block;
        color: #244b35;
        font-size: 1.05rem;
        line-height: 1.2;
        margin-bottom: 6px;
      }

      .intro-point p {
        margin: 0;
        color: rgba(36, 75, 53, 0.72);
        font-size: 0.94rem;
        line-height: 1.55;
      }

      .point-icon {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #edf3e4;
        color: #244b35;
      }

      .point-icon::before {
        content: "";
        width: 28px;
        height: 28px;
        display: block;
        background: currentColor;
        mask: var(--icon) center / contain no-repeat;
      }

      .point-icon-leaf {
        --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 4C12 4 6 8 5 16c4-5 8-7 13-8-5 3-8 7-10 12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 16c0 2 2 4 5 4 6 0 10-7 10-16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      }

      .point-icon-sun {
        --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 2v3M12 19v3M4.9 4.9 7 7M17 17l2.1 2.1M2 12h3M19 12h3M4.9 19.1 7 17M17 7l2.1-2.1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
        background: #f5ead0;
        color: #b88321;
      }

      .point-icon-compass {
        --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m15.5 8.5-2 5-5 2 2-5 5-2Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
        background: #dfedf2;
        color: #315a71;
      }

      .intro-note {
        margin-top: 34px;
        padding: 20px 22px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.42);
        border: 1px solid rgba(36, 75, 53, 0.08);
        box-shadow: 0 18px 45px rgba(36, 75, 53, 0.06);
        color: rgba(36, 75, 53, 0.72);
      }

      .intro-note strong {
        color: #244b35;
      }

      .intro-note span {
        display: block;
        margin-top: 4px;
      }

      .intro-cta {
        margin-top: 28px;
        min-width: 250px;
        background: #d96f3d;
        box-shadow: 0 18px 36px rgba(217, 111, 61, 0.24);
      }

      .intro-cta:hover {
        background: #c95e31;
      }

      .intro-cta span {
        font-size: 1.4rem;
        line-height: 1;
      }

      .intro-footnote {
        margin: 16px 0 0;
        color: rgba(36, 75, 53, 0.52);
        font-size: 0.88rem;
      }

      .intro-map {
        min-height: 640px;
        align-self: stretch;
        border-radius: 28px;
        overflow: hidden;
        background: rgba(247, 240, 223, 0.24);
        box-shadow: 0 24px 70px rgba(36, 75, 53, 0.08);
      }

      .intro-map img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
      }

      .teaser-shell {
        margin-top: 18px;
        padding: clamp(28px, 4vw, 52px);
        border-radius: 30px;
        background:
          linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)), url(assets/locked.webp) center center / cover no-repeat;
        border: 1px solid rgba(36, 75, 53, 0.08);
        box-shadow: var(--shadow);
      }

      .teaser-shell::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(247, 240, 223, 0.8) 0%, rgba(247, 240, 223, 0.52) 26%, rgba(247, 240, 223, 0.14) 62%, rgba(247, 240, 223, 0.04) 100%);
        pointer-events: none;
      }

      .teaser-shell > * {
        position: relative;
        z-index: 1;
      }

      .teaser-head {
        max-width: 760px;
        margin-bottom: 24px;
      }

      .teaser-head h2 {
        font-size: clamp(2.2rem, 3vw, 3.7rem);
        color: var(--ink-deep);
        margin: 6px 0 12px;
      }

      .teaser-head p {
        margin: 0;
        max-width: 620px;
        font-size: 1.05rem;
        line-height: 1.8;
        color: var(--muted);
      }

      .teaser-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
      }

      .teaser-card {
        padding: 24px 22px 22px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(61, 89, 67, 0.1);
        box-shadow: 0 16px 36px rgba(36, 75, 53, 0.08);
        min-height: 220px;
      }

      .teaser-icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        display: grid;
        place-items: center;
        margin-bottom: 16px;
        background: #edf3e4;
        color: #244b35;
      }

      .teaser-icon::before {
        content: "";
        width: 28px;
        height: 28px;
        display: block;
        background: currentColor;
        mask: var(--icon) center / contain no-repeat;
      }

      .teaser-icon-route {
        background: #edf3e4;
        color: #244b35;
        --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 19c4-8 7-10 10-10 2 0 4 1 4 4 0 3-3 5-8 5H6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 5h10M17 5l-3-3M17 5l-3 3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      }

      .teaser-icon-bag {
        background: #f5ead0;
        color: #b88321;
        --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 8h10l1 12H6L7 8Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
      }

      .teaser-icon-fire {
        background: #fde9dc;
        color: #d96f3d;
        --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3c1 3-1 4-1 6 0 1 1 2 2 3 2 2 3 3 3 6a4 4 0 0 1-8 0c0-2 1-4 3-6 1-1 1-2 1-3 0-1 0-3 0-6Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 19c0-2 1-3 3-3s3 1 3 3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
      }

      .teaser-icon-album {
        background: #dfedf2;
        color: #315a71;
        --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='4' width='14' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
      }

      .teaser-card h3 {
        margin: 0 0 10px;
        font-size: 1.18rem;
        line-height: 1.3;
        color: var(--ink-deep);
      }

      .teaser-card p {
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.68;
        color: var(--muted);
      }

      .teaser-action {
        display: flex;
        justify-content: center;
        margin-top: 26px;
      }

      .teaser-button {
        min-width: 280px;
      }

      .cards-grid {
        margin-top: 18px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
      }

      .card {
        position: relative;
        overflow: hidden;
        padding: 28px;
        border-radius: 30px;
        border: 1px solid rgba(61, 89, 67, 0.1);
        box-shadow: var(--shadow);
      }

      .card-dark {
        background: #1f2d24;
        color: #f4eee5;
        box-shadow: var(--shadow-strong);
      }

      .card-light {
        background: rgba(255, 255, 255, 0.88);
      }

      .card-warm {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 242, 228, 0.95));
      }

      .card h2 {
        font-size: clamp(2rem, 2.8vw, 3.1rem);
        color: inherit;
      }

      .card p {
        margin: 0;
        font-size: 1.05rem;
        line-height: 1.85;
        color: inherit;
      }

      .card-dark .section-kicker,
      .card-light .section-kicker,
      .card-warm .section-kicker {
        text-align: left;
        margin-bottom: 12px;
      }

      .list {
        display: grid;
        gap: 12px;
        margin: 22px 0 0;
        padding: 0;
        list-style: none;
      }

      .list-item {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
      }

      .list-item span:first-child {
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #d7d0c3;
        font-size: 0.86rem;
        font-weight: 700;
        flex: 0 0 auto;
      }

      .list-item p {
        color: rgba(244, 238, 229, 0.94);
      }

      .notes {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin: 18px 0 16px;
      }

      .note {
        padding: 16px 16px 15px;
        border-radius: 18px;
        border: 1px solid rgba(61, 89, 67, 0.12);
        background: linear-gradient(135deg, #f8eed9, #ffffff);
        box-shadow: 0 10px 20px rgba(28, 42, 26, 0.06);
        font-weight: 700;
        color: var(--ink-deep);
      }

      .steps-list {
        display: grid;
        gap: 12px;
        margin-top: 18px;
      }

      .step-line {
        display: flex;
        gap: 14px;
        align-items: baseline;
        padding: 16px;
        border-radius: 20px;
        border: 1px solid rgba(61, 89, 67, 0.1);
        background: rgba(255, 255, 255, 0.6);
      }

      .step-line strong {
        color: var(--ink-deep);
      }

      .box {
        margin-top: 18px;
        padding: 18px;
        border-radius: 20px;
        border: 1px dashed rgba(61, 89, 67, 0.18);
        background: rgba(255, 255, 255, 0.72);
      }

      .box p + p {
        margin-top: 12px;
      }

      footer {
        padding: 16px 8px 0;
        color: rgba(48, 66, 57, 0.75);
        font-size: 0.95rem;
      }

      .sprite {
        position: absolute;
        width: 0;
        height: 0;
        overflow: hidden;
      }

      .scene-hero {
        display: block;
        width: 100%;
        height: 100%;
      }

      @media (max-width: 1320px) {
        .hero-main {
          grid-template-columns: 1fr;
          min-height: auto;
          padding-bottom: 0;
        }

        .hero-copy {
          padding: 12px 8px 26px 18px;
          max-width: 740px;
        }

        .hero-visual {
          min-height: 640px;
        }

        .hero-caption {
          right: 24px;
          bottom: 24px;
        }

        .steps {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .steps.is-marquee .step {
          flex-basis: 198px;
        }

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

        .cards-grid {
          grid-template-columns: 1fr;
        }

        .split-shell {
          grid-template-columns: 1fr;
          gap: 28px;
          padding: 36px;
        }

        .intro-copy {
          max-width: 620px;
        }

        .intro-map {
          min-height: 520px;
        }
      }

      @media (max-width: 820px) {
        .page {
          padding: 0 12px 20px;
        }

        .hero-shell {
          border-radius: 24px 24px 0 0;
        }

        .section-shell {
          border-radius: 0 0 24px 24px;
        }

        .card {
          border-radius: 24px;
        }

        .split-shell {
          border-radius: 24px;
          min-height: auto;
          padding: 26px 20px;
          gap: 24px;
        }

        .intro-copy h2 {
          font-size: 3.25rem;
        }

        .mini-brand {
          margin-bottom: 22px;
        }

        .intro-points {
          gap: 18px;
          margin-top: 26px;
        }

        .intro-point {
          grid-template-columns: 54px minmax(0, 1fr);
          gap: 14px;
        }

        .point-icon {
          width: 50px;
          height: 50px;
        }

        .intro-map {
          min-height: 360px;
          border-radius: 22px;
        }

        .intro-cta {
          width: 100%;
          min-width: 0;
        }

        .teaser-shell {
          padding: 24px 18px;
        }

        .teaser-grid {
          grid-template-columns: 1fr;
        }

        .teaser-button {
          width: 100%;
          min-width: 0;
        }

        .hero-topbar {
          flex-wrap: wrap;
          justify-content: center;
          padding: 16px 16px 0;
        }

        .nav {
          order: 3;
          width: 100%;
          justify-content: center;
          flex-wrap: wrap;
          gap: 16px 22px;
          font-size: 0.95rem;
        }

        .brand {
          font-size: 1.45rem;
        }

        .hero-main {
          padding: 72px 16px 16px;
        }

        .hero-copy {
          max-width: 680px;
          padding: 36px 4px 44px 4px;
        }

        .hero-copy h1 {
          font-size: clamp(2.55rem, 10.2vw, 3.95rem);
        }

        .hero-text,
        .section-subtitle,
        .split-copy p,
        .card p {
          font-size: 1rem;
          line-height: 1.72;
        }

        .section-shell,
        .card {
          padding: 22px;
        }

        .steps {
          grid-template-columns: 1fr;
        }

        .steps.is-marquee .step {
          flex-basis: 176px;
        }

        .orb {
          width: 164px;
          height: 164px;
        }

        .notes {
          grid-template-columns: 1fr;
        }

        .step-line {
          flex-direction: column;
          gap: 6px;
        }

        .hero-actions {
          gap: 12px;
        }

        .button {
          width: 100%;
        }
      }

      body.dashboard-page {
        background:
          radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.9), transparent 30%),
          radial-gradient(circle at 86% 10%, rgba(223, 121, 57, 0.12), transparent 24%),
          linear-gradient(180deg, #fcf8ef 0%, #f6f0e2 100%);
      }

      .dashboard-shell {
        display: grid;
        gap: 18px;
        padding-top: 20px;
        padding-bottom: 28px;
      }

      .dashboard-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 0 8px;
      }

      .dashboard-logout {
        font-size: 0.95rem;
        font-weight: 700;
        color: rgba(36, 75, 53, 0.72);
        transition: color 160ms ease, transform 160ms ease;
      }

      .dashboard-logout:hover {
        color: var(--orange-deep);
        transform: translateY(-1px);
      }

      .dashboard-hero {
        position: relative;
        overflow: hidden;
        min-height: clamp(760px, 88vh, 1080px);
        padding: clamp(18px, 2.6vw, 34px);
        border-radius: 34px;
        background:
          radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.55), transparent 22%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: var(--shadow);
      }

      .dashboard-copy {
        position: relative;
        z-index: 2;
        width: min(640px, 100%);
        margin: clamp(12px, 2vw, 28px);
        padding: clamp(22px, 2.7vw, 34px);
        border-radius: 32px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: 0 20px 60px rgba(36, 75, 53, 0.1);
        backdrop-filter: blur(10px);
      }

      .dashboard-copy h1 {
        max-width: 620px;
        font-size: clamp(2.25rem, 3.8vw, 4.25rem);
        line-height: 0.98;
      }

      .dashboard-story {
        display: grid;
        gap: 12px;
        margin-top: 22px;
        max-width: 620px;
        color: var(--muted);
        font-size: 1.03rem;
        line-height: 1.82;
      }

      .dashboard-story p {
        margin: 0;
      }

      .dashboard-actions {
        margin-top: 30px;
      }

      .dashboard-cta {
        min-width: 270px;
      }

      .dashboard-subtext {
        margin: 14px 0 0;
        color: rgba(48, 66, 57, 0.72);
        font-size: 0.92rem;
      }

      .dashboard-visual {
        position: absolute;
        inset: 0;
        margin: 0;
        padding: 0;
        border-radius: inherit;
        overflow: hidden;
        background: #f7f0e4;
        box-shadow: none;
      }

      .dashboard-visual img {
        width: 100%;
        height: 100%;
        min-height: 0;
        display: block;
        object-fit: cover;
        object-position: center center;
        border-radius: 0;
      }

      .dashboard-sparks {
        position: absolute;
        left: var(--spark-left, 76%);
        bottom: var(--spark-bottom, 30%);
        width: var(--spark-width, 180px);
        height: var(--spark-height, 220px);
        pointer-events: none;
        z-index: 3;
        transform: translateX(-50%);
      }

      .hero-shell .dashboard-sparks {
        z-index: 0;
      }

      .hero-shell .landing-sparks {
        --spark-left: 76%;
        --spark-bottom: 28%;
        --spark-width: 186px;
        --spark-height: 228px;
      }

      .campfire-page .campfire-sparks {
        --spark-left: 72%;
        --spark-bottom: 27%;
        --spark-width: 172px;
        --spark-height: 210px;
      }

      .dashboard-sparks span {
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 5px;
        height: 5px;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(255, 249, 224, 1) 0%, rgba(255, 190, 92, 0.98) 42%, rgba(255, 119, 41, 0) 76%);
        box-shadow: 0 0 10px rgba(250, 106, 10, 0.26), 0 0 18px rgba(255, 162, 72, 0.12);
        opacity: 0;
        transform: translateX(-50%) translateY(0) scale(0.35);
        filter: blur(0.1px);
        animation: spark-rise 5.4s cubic-bezier(0.16, 0.84, 0.38, 1) infinite;
      }

      .dashboard-sparks span:nth-child(1) {
        width: 4px;
        height: 4px;
        left: 44%;
        --spark-drift: -12px;
        animation-delay: 2.4s;
        animation-duration: 5.1s;
      }

      .dashboard-sparks span:nth-child(2) {
        width: 5px;
        height: 5px;
        left: 54%;
        --spark-drift: 7px;
        animation-delay: 1.5s;
        animation-duration: 5.9s;
      }

      .dashboard-sparks span:nth-child(3) {
        width: 4px;
        height: 4px;
        left: 60%;
        --spark-drift: -5px;
        animation-delay: 3.4s;
        animation-duration: 4.9s;
      }

      .dashboard-sparks span:nth-child(4) {
        width: 5px;
        height: 5px;
        left: 66%;
        --spark-drift: 13px;
        animation-delay: 4.2s;
        animation-duration: 6.2s;
      }

      .dashboard-sparks span:nth-child(5) {
        width: 2px;
        height: 2px;
        left: 72%;
        --spark-drift: 21px;
        animation-delay: 5.1s;
        animation-duration: 5.7s;
      }

      .dashboard-sparks span:nth-child(6) {
        width: 3px;
        height: 3px;
        left: 79%;
        --spark-drift: -8px;
        animation-delay: 0.9s;
        animation-duration: 5.6s;
      }

      .dashboard-sparks span:nth-child(7) {
        width: 4px;
        height: 4px;
        left: 61%;
        --spark-drift: 16px;
        animation-delay: 3.9s;
        animation-duration: 6.1s;
      }

      .dashboard-sparks span:nth-child(8) {
        width: 3px;
        height: 3px;
        left: 48%;
        --spark-drift: -18px;
        animation-delay: 2.1s;
        animation-duration: 5.2s;
      }

      .campfire-page .campfire-embers span {
        width: 4px;
        height: 4px;
        background: radial-gradient(circle, rgb(245, 138, 67) 0%, rgba(182, 100, 75, 0.95) 36%, rgba(248, 89, 40, 0.78)8)8)8)8) 62%, rgba(187, 100, 33, 0) 100%);
        box-shadow: 0 0 4px rgba(255, 200, 122, 0.18);
        opacity: 0;
        transform: translateX(-50%) scale(0.6);
        filter: blur(0);
        animation: ember-pulse 4.8s ease-in-out infinite;
      }

      .campfire-page .campfire-embers span:nth-child(1) {
        left: 34%;
        bottom: -85px;
        animation-delay: 0.2s;
        animation-duration: 4.5s;
      }

      .campfire-page .campfire-embers span:nth-child(2) {
        left: 39%;
        bottom: -85px;
        animation-delay: 1.1s;
        animation-duration: 5.2s;
      }

      .campfire-page .campfire-embers span:nth-child(3) {
        left: 41%;
        bottom: -87px;
        animation-delay: 2.3s;
        animation-duration: 4.9s;
      }

      .campfire-page .campfire-embers span:nth-child(4) {
        left: 35%;
        bottom: -81px;
        animation-delay: 0.8s;
        animation-duration: 5.6s;
      }

      .campfire-page .campfire-embers span:nth-child(5) {
        left: 40%;
        bottom: -90px;
        animation-delay: 3.1s;
        animation-duration: 5s;
      }

      .campfire-page .campfire-embers span:nth-child(6) {
        left: 46%;
        bottom: -78px;
        animation-delay: 1.7s;
        animation-duration: 5.4s;
      }

      .campfire-page .campfire-embers span:nth-child(7) {
        left: 31%;
        bottom: -85px;
        animation-delay: 2.8s;
        animation-duration: 4.7s;
      }

      .campfire-page .campfire-embers span:nth-child(8) {
        left: 56%;
        bottom: -87px;
        animation-delay: 0.5s;
        animation-duration: 5.8s;
      }

      @keyframes spark-rise {
        0% {
          opacity: 0;
          transform: translateX(-50%) translateY(0) scale(0.35);
        }

        8% {
          opacity: 1;
        }

        28% {
          opacity: 0.95;
          transform: translateX(calc(-50% + var(--spark-drift, 0px))) translateY(-28px) scale(0.95);
        }

        55% {
          opacity: 0.45;
          transform: translateX(calc(-50% + var(--spark-drift, 0px))) translateY(-92px) scale(0.68);
        }

        78% {
          opacity: 0.08;
          transform: translateX(calc(-50% + var(--spark-drift, 0px))) translateY(-154px) scale(0.3);
        }

        100% {
          opacity: 0;
          transform: translateX(calc(-50% + var(--spark-drift, 0px))) translateY(-186px) scale(0.15);
        }
      }

      @keyframes ember-pulse {
        0% {
          opacity: 0;
          transform: translateX(-50%) scale(0.58);
        }

        18% {
          opacity: 1;
        }

        42% {
          opacity: 0.92;
          transform: translateX(-50%) scale(1.05);
          box-shadow: 0 0 6px rgba(255, 204, 129, 0.28);
        }

        62% {
          opacity: 0.48;
          transform: translateX(-50%) scale(0.92);
          box-shadow: 0 0 3px rgba(255, 204, 129, 0.16);
        }

        82% {
          opacity: 0.16;
          transform: translateX(-50%) scale(0.72);
        }

        100% {
          opacity: 0;
          transform: translateX(-50%) scale(0.58);
        }
      }

      .dashboard-visual figcaption {
        position: absolute;
        right: clamp(18px, 2.4vw, 28px);
        bottom: clamp(18px, 2.4vw, 28px);
        margin: 0;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: 0 12px 30px rgba(36, 75, 53, 0.12);
        color: var(--ink-deep);
        font-size: 0.92rem;
        line-height: 1.6;
        backdrop-filter: blur(6px);
        max-width: min(560px, calc(100% - 36px));
        text-align: right;
      }

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

      .dashboard-card {
        min-height: 220px;
      }

      .dashboard-card h2 {
        margin: 0 0 10px;
        font-size: clamp(1.8rem, 2.7vw, 2.8rem);
        line-height: 1.04;
        color: inherit;
      }

      .dashboard-card p {
        margin: 0;
        line-height: 1.8;
        color: inherit;
      }

.dashboard-card .section-kicker {
  text-align: left;
  margin-bottom: 12px;
}

.dashboard-route-panel {
  display: grid;
  gap: 18px;
}

.dashboard-route-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.dashboard-route-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.dashboard-route-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  color: var(--ink-deep);
}

.dashboard-route-card > p:not(.section-kicker) {
  color: var(--muted);
}

.dashboard-route-card .chapter-chip-grid {
  margin-top: 6px;
}

.dashboard-route-form {
  display: flex;
  margin-top: auto;
}

.dashboard-route-button {
  width: 100%;
  min-width: 0;
}

.dashboard-route-summary {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(61, 89, 67, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 242, 228, 0.96));
  box-shadow: 0 18px 34px rgba(31, 53, 40, 0.08);
}

.dashboard-route-summary h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  color: var(--ink-deep);
}

.dashboard-route-summary > p:not(.dashboard-route-summary-label) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.dashboard-route-summary-label {
  margin: 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dashboard-route-kiosk-wrap {
  display: grid;
  gap: 14px;
}

.dashboard-route-kiosk {
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 48vw, 720px);
  border-radius: 28px;
  border: 1px solid rgba(61, 89, 67, 0.1);
  background: linear-gradient(180deg, #f7f0df, #efe6d2);
  box-shadow: 0 22px 44px rgba(31, 53, 40, 0.12);
}

.dashboard-route-kiosk-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.dashboard-route-kiosk-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(18px, 2.6vw, 28px);
  background: linear-gradient(90deg, rgba(247, 240, 223, 0.08) 0%, rgba(247, 240, 223, 0.03) 46%, rgba(247, 240, 223, 0.12) 70%, rgba(247, 240, 223, 0.76) 100%);
}

.dashboard-route-kiosk-rail {
  width: clamp(220px, 24vw, 320px);
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(61, 89, 67, 0.14);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 36px rgba(31, 53, 40, 0.12);
  backdrop-filter: blur(10px);
}

.dashboard-route-kiosk-kicker {
  margin: 0 0 2px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dashboard-route-hotspot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(61, 89, 67, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(31, 53, 40, 0.08);
  text-align: left;
  color: var(--ink-deep);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.dashboard-route-hotspot:hover,
.dashboard-route-hotspot:focus-visible {
  transform: translateX(-2px);
  border-color: rgba(54, 93, 70, 0.28);
  box-shadow: 0 14px 28px rgba(31, 53, 40, 0.12);
  outline: none;
}

.dashboard-route-hotspot-index {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(54, 93, 70, 0.14);
  background: rgba(54, 93, 70, 0.1);
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dashboard-route-hotspot-text {
  display: grid;
  gap: 3px;
}

.dashboard-route-hotspot-text strong {
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-route-hotspot-text span {
  color: var(--soft);
  font-size: 0.92rem;
}

.dashboard-route-kiosk-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.dashboard-route-dialog {
  width: min(660px, calc(100% - 20px));
  border: 0;
  padding: 0;
  background: transparent;
}

.dashboard-route-dialog::backdrop {
  background: rgba(18, 26, 20, 0.56);
  backdrop-filter: blur(4px);
}

.dashboard-route-dialog-card {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 28px;
  border: 1px solid rgba(61, 89, 67, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 242, 228, 0.98));
  box-shadow: 0 30px 90px rgba(22, 32, 22, 0.32);
}

.dashboard-route-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(61, 89, 67, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-deep);
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.dashboard-route-dialog-close:hover {
  background: rgba(255, 255, 255, 0.98);
}

.dashboard-route-dialog-description {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
}

.dashboard-route-dialog-locations {
  margin-top: 16px;
}

.dashboard-route-dialog-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

      @media (max-width: 1120px) {
        .dashboard-hero {
          min-height: clamp(700px, 86vh, 980px);
          padding: 22px;
        }

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

        .dashboard-copy {
          width: min(620px, 100%);
          margin: 0;
        }

        .dashboard-route-kiosk {
          min-height: 520px;
        }

        .dashboard-route-kiosk-rail {
          width: clamp(210px, 30vw, 300px);
        }
      }

      @media (max-width: 720px) {
        .dashboard-shell {
          width: min(100% - 16px, 100%);
          padding-top: 14px;
        }

        .dashboard-topbar {
          flex-wrap: wrap;
          padding: 0 4px;
        }

        .dashboard-logout {
          margin-left: auto;
        }

        .dashboard-hero {
          padding: 22px;
          border-radius: 24px;
          min-height: clamp(680px, 84vh, 860px);
        }

        .dashboard-copy {
          padding: 22px;
          border-radius: 24px;
          width: min(100%, 540px);
          margin: 0;
        }

        .dashboard-copy h1 {
          font-size: clamp(2.1rem, 10vw, 3.8rem);
        }

        .dashboard-route-kiosk {
          min-height: 460px;
          border-radius: 24px;
        }

        .dashboard-route-kiosk-overlay {
          align-items: flex-end;
          padding: 14px;
          background: linear-gradient(180deg, rgba(247, 240, 223, 0.04) 0%, rgba(247, 240, 223, 0.16) 40%, rgba(247, 240, 223, 0.72) 100%);
        }

        .dashboard-route-kiosk-rail {
          width: 100%;
          max-width: 420px;
        }

        .dashboard-route-hotspot {
          padding: 11px 13px;
        }

        .dashboard-route-dialog {
          width: calc(100% - 16px);
        }

        .dashboard-route-dialog-form {
          justify-content: stretch;
        }

        .dashboard-route-dialog-form .button {
          width: 100%;
        }

        .dashboard-story {
          font-size: 1rem;
          line-height: 1.75;
        }

        .dashboard-actions {
          margin-top: 24px;
        }

        .dashboard-cta {
          width: 100%;
          min-width: 0;
        }

        .dashboard-visual {
          border-radius: 22px;
        }

        .dashboard-visual img {
          border-radius: 18px;
        }

        .dashboard-grid {
          grid-template-columns: 1fr;
        }
      }

      body.backpack-page {
        background:
          radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.92), transparent 28%),
          radial-gradient(circle at 88% 10%, rgba(216, 119, 62, 0.12), transparent 24%),
          linear-gradient(180deg, #fcf8ef 0%, #f6f0e2 100%);
      }

      .backpack-shell {
        display: grid;
        gap: 20px;
        width: min(1440px, calc(100% - 24px));
        margin: 24px auto 32px;
        padding-top: 20px;
        padding-bottom: 28px;
      }

      .backpack-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 0 8px;
      }

      .backpack-hero {
        position: relative;
        overflow: hidden;
        min-height: clamp(520px, 60vw, 760px);
        border-radius: 36px;
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: var(--shadow-strong);
        background: #f7f0e4;
      }

      .backpack-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(90deg, rgba(247, 241, 229, 0.88) 0%, rgba(247, 241, 229, 0.66) 18%, rgba(247, 241, 229, 0.28) 36%, rgba(247, 241, 229, 0.06) 58%, rgba(247, 241, 229, 0.04) 100%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%, rgba(245, 239, 226, 0.36) 100%);
        pointer-events: none;
        z-index: 1;
      }

      .backpack-hero-media {
        position: absolute;
        inset: 0;
        margin: 0;
        z-index: 0;
      }

      .backpack-hero-media img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center center;
      }

      .backpack-birds {
        position: absolute;
        inset: 0;
        overflow: hidden;
        pointer-events: none;
        z-index: 2;
      }

      .backpack-bird {
        position: absolute;
        left: 0;
        top: 0;
        width: 16px;
        height: 7px;
        color: rgba(28, 42, 33, 0.7);
        opacity: 0;
        filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.12));
        animation: backpack-bird-fly 120s linear infinite;
        transform: translate3d(-20vw, 0, 0) scale(var(--bird-scale, 1));
      }

      .backpack-bird::before,
      .backpack-bird::after {
        content: "";
        position: absolute;
        top: 3px;
        width: 9px;
        height: 2px;
        background: currentColor;
        border-radius: 999px;
        animation: backpack-wing-left 1.45s ease-in-out infinite;
      }

      .backpack-bird::before {
        left: 0;
        transform-origin: right center;
        transform: rotate(-26deg);
      }

      .backpack-bird::after {
        right: 0;
        transform-origin: left center;
        transform: rotate(26deg);
        animation-name: backpack-wing-right;
        animation-delay: -0.16s;
      }

      .backpack-bird--one {
        top: 11%;
        animation-duration: 96s;
        animation-delay: -10s;
        --bird-scale: 0.62;
      }

      .backpack-bird--two {
        top: 12%;
        animation-duration: 96s;
        animation-delay: -11.4s;
        --bird-scale: 0.57;
      }

      .backpack-bird--three {
        top: 19%;
        animation-duration: 112s;
        animation-delay: -24s;
        --bird-scale: 0.48;
      }

      .backpack-bird--four {
        top: 20%;
        animation-duration: 112s;
        animation-delay: -25.6s;
        --bird-scale: 0.42;
      }

      .backpack-bird--five {
        top: 15%;
        animation-duration: 88s;
        animation-delay: -6s;
        --bird-scale: 0.56;
      }

      .backpack-bird--six {
        top: 16%;
        animation-duration: 88s;
        animation-delay: -7.1s;
        --bird-scale: 0.5;
      }

      .backpack-bird--seven {
        top: 23%;
        animation-duration: 92s;
        animation-delay: -18s;
        --bird-scale: 0.42;
      }

      .backpack-bird--eight {
        top: 24%;
        animation-duration: 92s;
        animation-delay: -19.2s;
        --bird-scale: 0.37;
      }

      @keyframes backpack-bird-fly {
        0% {
          transform: translate3d(-20vw, 0, 0) scale(var(--bird-scale, 1));
          opacity: 0;
        }

        8% {
          opacity: 0.55;
        }

        50% {
          opacity: 0.42;
        }

        92% {
          opacity: 0.5;
        }

        100% {
          transform: translate3d(calc(120vw + 160px), -10px, 0) scale(var(--bird-scale, 1));
          opacity: 0;
        }
      }

      @keyframes backpack-wing-left {
        0%,
        100% {
          transform: rotate(-28deg) scaleY(1);
        }

        50% {
          transform: rotate(-12deg) scaleY(0.72);
        }
      }

      @keyframes backpack-wing-right {
        0%,
        100% {
          transform: rotate(28deg) scaleY(1);
        }

        50% {
          transform: rotate(12deg) scaleY(0.72);
        }
      }

      .backpack-hero-copy {
        position: absolute;
        left: clamp(20px, 4vw, 48px);
        top: clamp(20px, 4vw, 48px);
        width: min(620px, calc(100% - 40px));
        padding: clamp(22px, 3vw, 36px);
        border-radius: 32px;
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: 0 22px 54px rgba(30, 48, 34, 0.12);
        backdrop-filter: blur(10px);
        z-index: 3;
      }

      .backpack-hero-copy h1 {
        font-size: clamp(2.4rem, 4.8vw, 5.1rem);
      }

      .backpack-lead {
        margin: 16px 0 0;
        max-width: 620px;
        font-size: 1.06rem;
        line-height: 1.82;
        color: var(--muted);
      }

      .backpack-meter {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 22px;
      }

      .backpack-count,
      .backpack-status-pill {
        display: inline-flex;
        align-items: center;
        padding: 10px 14px;
        border-radius: 999px;
        font-size: 0.92rem;
        font-weight: 800;
      }

      .backpack-count {
        background: var(--green);
        color: #f7f2ea;
        box-shadow: 0 12px 24px rgba(33, 66, 43, 0.18);
      }

      .backpack-status-pill {
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(61, 89, 67, 0.12);
        color: var(--ink-deep);
      }

      .backpack-workbench {
        display: grid;
        grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
        grid-template-areas:
          "items panel"
          "actions panel";
        gap: 20px;
        align-items: start;
      }

      .backpack-items {
        grid-area: items;
      }

      .backpack-panel {
        grid-area: panel;
        position: sticky;
        top: 24px;
        display: grid;
        gap: 16px;
        padding: 20px;
        border-radius: 32px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 243, 231, 0.96));
        border: 1px solid rgba(61, 89, 67, 0.1);
        box-shadow: var(--shadow);
      }

      .backpack-panel-copy h2 {
        font-size: clamp(1.7rem, 2.7vw, 2.7rem);
      }

      .backpack-panel-copy p {
        margin: 10px 0 0;
        color: var(--muted);
        line-height: 1.78;
      }

      .backpack-stage {
        position: relative;
        overflow: hidden;
        min-height: 460px;
        padding: 18px 18px 0;
        border-radius: 28px;
        background: linear-gradient(180deg, #dff1fb 0%, #f7f0e4 40%, #f2e3c8 100%);
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
      }

      .backpack-stage::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 60% 18%, rgba(255, 255, 255, 0.42), transparent 18%);
        pointer-events: none;
      }

      .backpack-stage::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 94px;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.08)),
          repeating-linear-gradient(90deg, #c89358 0 24px, #b67e46 24px 48px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
        opacity: 0.88;
        pointer-events: none;
      }

      .backpack-badges {
        position: relative;
        z-index: 3;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        min-height: 104px;
        padding: 0 8px 12px;
      }

      .backpack-empty {
        display: inline-flex;
        align-items: center;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.76);
        border: 1px dashed rgba(61, 89, 67, 0.18);
        color: var(--muted);
        font-size: 0.95rem;
      }

      .backpack-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 9px 12px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 235, 0.94));
        border: 1px solid rgba(95, 74, 42, 0.14);
        box-shadow: 0 12px 24px rgba(37, 52, 33, 0.09);
        color: var(--ink-deep);
        font-size: 0.9rem;
        font-weight: 800;
        transform-origin: center;
      }

      .backpack-chip.is-entering {
        animation: chip-pop 0.4s ease;
      }

      .backpack-illustration {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 330px;
        padding-top: 0;
      }

      .backpack-visual {
        position: relative;
        z-index: 2;
        width: min(100%, 420px);
        max-height: 320px;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 24px 42px rgba(66, 44, 18, 0.24));
      }
      .backpack-shadow {
        position: absolute;
        bottom: 50px;
        width: 250px;
        height: 40px;
        border-radius: 50%;
        background: rgba(72, 53, 24, 0.18);
        filter: blur(12px);
      }

      .backpack-dock {
        position: absolute;
        left: 7%;
        right: 7%;
        bottom: 0;
        height: 94px;
        border-radius: 24px 24px 0 0;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.12)),
          repeating-linear-gradient(90deg, #c89358 0 24px, #b67e46 24px 48px);
      }

      .backpack-body {
        position: relative;
        width: 246px;
        height: 292px;
        margin-bottom: 22px;
        border-radius: 42px 42px 34px 34px;
        background: linear-gradient(180deg, #d79b55 0%, #b96f2c 100%);
        border: 1px solid rgba(92, 59, 19, 0.18);
        box-shadow: 0 24px 50px rgba(86, 56, 23, 0.24);
      }

      .backpack-flap {
        position: absolute;
        top: -16px;
        left: 30px;
        right: 30px;
        height: 68px;
        border-radius: 28px 28px 18px 18px;
        background: linear-gradient(180deg, #e0a767, #bf7938);
        border: 1px solid rgba(92, 59, 19, 0.18);
        box-shadow: 0 14px 24px rgba(86, 56, 23, 0.14);
      }

      .backpack-handle {
        position: absolute;
        top: -34px;
        left: 50%;
        width: 82px;
        height: 28px;
        transform: translateX(-50%);
        border-radius: 999px 999px 24px 24px;
        border: 7px solid #8b5427;
        border-bottom: 0;
        background: transparent;
      }

      .backpack-strap {
        position: absolute;
        top: 52px;
        width: 34px;
        height: 210px;
        border-radius: 18px;
        background: linear-gradient(180deg, #8b572c, #6f4120);
      }

      .backpack-strap-left {
        left: 16px;
        transform: rotate(7deg);
      }

      .backpack-strap-right {
        right: 16px;
        transform: rotate(-7deg);
      }

      .backpack-pocket {
        position: absolute;
        left: 50%;
        top: 134px;
        width: 144px;
        height: 104px;
        transform: translateX(-50%);
        border-radius: 22px;
        background: linear-gradient(180deg, #bc712f, #a65d23);
        border: 1px solid rgba(92, 59, 19, 0.18);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
      }

      .backpack-seam {
        position: absolute;
        top: 18px;
        bottom: 18px;
        left: 50%;
        width: 4px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: rgba(255, 248, 235, 0.28);
      }

      .backpack-stage.is-ready {
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.65),
          0 24px 48px rgba(61, 89, 67, 0.12);
      }

      .backpack-stage.is-ready .backpack-body {
        box-shadow: 0 26px 54px rgba(61, 89, 67, 0.18);
      }

      .backpack-panel-note {
        margin: 0;
        text-align: center;
        color: var(--muted);
        font-size: 0.95rem;
        line-height: 1.6;
      }

      .backpack-summary {
        display: grid;
        gap: 16px;
        padding: 18px;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(247, 239, 224, 0.96));
        border: 1px solid rgba(61, 89, 67, 0.12);
        box-shadow: 0 18px 40px rgba(40, 53, 37, 0.08);
      }

      .backpack-summary-head h3 {
        margin-top: 8px;
        font-size: clamp(1.7rem, 2.8vw, 2.55rem);
      }

      .backpack-summary-intro,
      .backpack-summary-closing,
      .backpack-summary-question {
        margin: 0;
        color: var(--muted);
        line-height: 1.8;
      }

      .backpack-summary-themes {
        display: grid;
        gap: 12px;
      }

      .backpack-summary-theme {
        padding: 14px 15px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.76);
        border: 1px solid rgba(61, 89, 67, 0.1);
      }

      .backpack-summary-theme-head {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
      }

      .backpack-summary-theme-head h4 {
        margin: 0;
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 1.22rem;
        line-height: 1.1;
        color: var(--ink-deep);
      }

      .backpack-summary-theme p {
        margin: 0;
        color: var(--muted);
        line-height: 1.72;
      }

      .backpack-summary-count {
        display: inline-flex;
        align-items: center;
        padding: 5px 10px;
        border-radius: 999px;
        background: rgba(54, 93, 70, 0.09);
        color: var(--green);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }

      .backpack-summary-question {
        padding-top: 2px;
        font-weight: 700;
        color: var(--ink-deep);
      }

      .backpack-stage.is-ready + .backpack-panel-note {
        color: var(--green);
        font-weight: 700;
      }

      .backpack-section-head {
        max-width: 720px;
      }

      .backpack-section-head h2 {
        margin-top: 8px;
        font-size: clamp(1.9rem, 3vw, 3.2rem);
        line-height: 1.08;
      }

      .backpack-section-head p {
        margin: 12px 0 0;
        color: var(--muted);
        line-height: 1.84;
        font-size: 1.03rem;
      }

      .backpack-alert {
        margin-top: 16px;
        padding: 14px 16px;
        border-radius: 18px;
        background: #fff3ec;
        border: 1px solid rgba(208, 106, 77, 0.2);
        color: #a3472d;
        box-shadow: 0 14px 28px rgba(163, 71, 45, 0.08);
      }

      .gear-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-top: 20px;
      }

      .gear-card {
        position: relative;
        display: block;
        cursor: pointer;
      }

      .gear-card-input {
        position: absolute;
        inset: 0;
        opacity: 0;
        pointer-events: none;
      }

      .gear-card-content {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        min-height: 154px;
        padding: 18px;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
        border: 1px solid rgba(61, 89, 67, 0.12);
        box-shadow: 0 14px 34px rgba(30, 48, 34, 0.08);
        transition:
          transform 180ms ease,
          box-shadow 180ms ease,
          border-color 180ms ease;
      }

      .gear-card:hover .gear-card-content {
        transform: translateY(-2px);
        box-shadow: 0 18px 38px rgba(30, 48, 34, 0.12);
      }

      .gear-card.is-selected .gear-card-content {
        border-color: rgba(61, 89, 67, 0.5);
        box-shadow: 0 18px 38px rgba(61, 89, 67, 0.16);
      }

      .gear-card.is-animating .gear-card-content {
        animation: gear-pop 0.4s ease;
      }

      .gear-card.is-limit .gear-card-content {
        animation: gear-shake 0.3s ease;
      }

      .gear-card-input:focus-visible ~ .gear-card-content {
        outline: 3px solid rgba(61, 89, 67, 0.18);
        outline-offset: 3px;
      }

      .gear-icon {
        width: 58px;
        height: 58px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border-radius: 18px;
        background: rgba(61, 89, 67, 0.08);
        color: var(--green);
        font-size: 1.75rem;
        box-shadow: inset 0 0 0 1px rgba(61, 89, 67, 0.06);
      }

      .gear-copy {
        display: grid;
        gap: 10px;
        min-width: 0;
      }

      .gear-title-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
      }

      .gear-title-row strong {
        color: var(--ink-deep);
        font-size: 1.08rem;
        line-height: 1.2;
      }

      .gear-selected-badge {
        display: inline-flex;
        align-items: center;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(77, 106, 86, 0.12);
        color: var(--green);
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        opacity: 0;
        transform: translateY(-2px);
        transition:
          opacity 160ms ease,
          transform 160ms ease;
        white-space: nowrap;
      }

      .gear-card.is-selected .gear-selected-badge {
        opacity: 1;
        transform: translateY(0);
      }

      .gear-description {
        color: var(--muted);
        line-height: 1.7;
        font-size: 0.96rem;
      }

      .backpack-actions {
        grid-area: actions;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 4px;
      }

      .backpack-submit {
        min-width: 300px;
      }

      .backpack-helper {
        margin: 0;
        color: var(--muted);
        line-height: 1.7;
      }

      .backpack-logout {
        font-size: 0.95rem;
        font-weight: 700;
        color: rgba(36, 75, 53, 0.72);
        transition:
          color 160ms ease,
          transform 160ms ease;
      }

      .backpack-logout:hover {
        color: var(--orange-deep);
        transform: translateY(-1px);
      }

      .backpack-count,
      .backpack-status-pill,
      .backpack-chip,
      .backpack-empty,
      .backpack-panel-note,
      .backpack-alert {
        backdrop-filter: blur(6px);
      }

      @keyframes gear-pop {
        0% {
          transform: translateY(0) scale(1);
        }

        45% {
          transform: translateY(-3px) scale(1.02);
        }

        100% {
          transform: translateY(0) scale(1);
        }
      }

      @keyframes gear-shake {
        0% {
          transform: translateX(0);
        }

        25% {
          transform: translateX(-2px);
        }

        50% {
          transform: translateX(2px);
        }

        75% {
          transform: translateX(-1px);
        }

        100% {
          transform: translateX(0);
        }
      }

      @keyframes chip-pop {
        0% {
          transform: translateY(-8px) scale(0.9);
          opacity: 0.1;
        }

        60% {
          transform: translateY(2px) scale(1.03);
          opacity: 1;
        }

        100% {
          transform: translateY(0) scale(1);
          opacity: 1;
        }
      }

      @media (max-width: 1120px) {
        .backpack-workbench {
          grid-template-columns: 1fr;
          grid-template-areas:
            "panel"
            "items"
            "actions";
        }

        .backpack-panel {
          position: static;
        }

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

        .backpack-hero {
          min-height: 580px;
        }
      }

      @media (max-width: 720px) {
        .backpack-shell {
          width: min(100% - 16px, 100%);
          padding-top: 14px;
        }

        .backpack-topbar {
          flex-wrap: wrap;
          padding: 0 4px;
        }

        .backpack-hero {
          min-height: 620px;
          border-radius: 28px;
        }

        .backpack-hero-copy {
          left: 16px;
          right: 16px;
          top: auto;
          bottom: 16px;
          width: auto;
        }

        .backpack-hero-copy h1 {
          font-size: clamp(2.2rem, 10vw, 3.9rem);
        }

        .backpack-workbench {
          gap: 16px;
        }

        .backpack-panel {
          padding: 18px;
          border-radius: 26px;
        }

        .backpack-stage {
          min-height: 380px;
        }

        .backpack-illustration {
          min-height: 280px;
        }

        .backpack-body {
          width: 222px;
          height: 272px;
        }

        .backpack-pocket {
          width: 132px;
          height: 96px;
          top: 128px;
        }

        .backpack-dock {
          height: 86px;
        }

        .gear-grid {
          grid-template-columns: 1fr;
        }

        .gear-card-content {
          min-height: auto;
        }

        .backpack-submit {
          width: 100%;
          min-width: 0;
        }

        .backpack-actions {
          align-items: stretch;
        }
      }

      body.chapter-page {
        background:
          radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.9), transparent 26%),
          radial-gradient(circle at 86% 10%, rgba(216, 119, 62, 0.1), transparent 24%),
          linear-gradient(180deg, #fcf8ef 0%, #f6f0e2 100%);
      }

      .chapter-shell {
        display: grid;
        gap: 20px;
        width: min(1180px, calc(100% - 24px));
        margin: 24px auto 32px;
        padding-top: 20px;
        padding-bottom: 28px;
      }

      .chapter-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 0 8px;
      }

      .chapter-hero {
        position: relative;
        overflow: hidden;
        min-height: clamp(500px, 55vw, 720px);
        border-radius: 36px;
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: var(--shadow-strong);
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
          url("assets/landschap.webp") center center / cover no-repeat,
          linear-gradient(180deg, #fcf8ef 0%, #f7f0e4 100%);
      }

.chapter-hero::after {
  content: none;
}

      .chapter-hero-copy {
        position: absolute;
        left: clamp(20px, 4vw, 48px);
        top: clamp(20px, 4vw, 48px);
        width: min(620px, calc(100% - 40px));
        padding: clamp(22px, 3vw, 36px);
        border-radius: 32px;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: 0 22px 54px rgba(30, 48, 34, 0.12);
        backdrop-filter: blur(10px);
        z-index: 1;
      }

      .chapter-hero-copy h1 {
        font-size: clamp(2.3rem, 4.8vw, 5rem);
      }

      .chapter-chip-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 22px;
      }

      .chapter-chip {
        display: inline-flex;
        align-items: center;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid rgba(61, 89, 67, 0.12);
        box-shadow: 0 12px 24px rgba(30, 48, 34, 0.08);
        font-weight: 700;
        color: var(--ink-deep);
      }

      .chapter-lead {
        margin: 16px 0 0;
        color: var(--muted);
        line-height: 1.82;
        font-size: 1.04rem;
      }

      .chapter-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 24px;
      }

      .chapter-panel {
        display: grid;
        gap: 18px;
        padding: 20px;
        border-radius: 32px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 243, 231, 0.96));
        border: 1px solid rgba(61, 89, 67, 0.1);
        box-shadow: var(--shadow);
      }

      .chapter-panel p {
        margin: 0;
        color: var(--muted);
        line-height: 1.8;
      }

      .chapter5-page .chapter-hero {
        min-height: clamp(560px, 60vw, 760px);
        border-color: rgba(54, 93, 70, 0.08);
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
          url("assets/flessenpost.webp") center center / cover no-repeat;
      }

      .chapter5-page .chapter5-story-card {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 243, 231, 0.98));
      }

      .chapter5-page .chapter5-sign {
        max-width: min(820px, 100%);
        padding: 1.15rem 1.35rem;
        text-align: center;
      }

      .chapter5-page .chapter5-sign .wooden-note-kicker {
        display: none;
      }

      .chapter5-page .chapter5-sign .wooden-note-text {
        margin: 0 auto;
        font-size: 1.05rem;
        font-weight: 700;
      }

      .chapter5-bottle-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
      }

      .chapter5-bottle-card {
        display: grid;
        gap: 14px;
        padding: clamp(24px, 3vw, 34px);
        border-radius: 30px;
        border: 1px solid rgba(61, 89, 67, 0.1);
        box-shadow: var(--shadow);
      }

      .chapter5-bottle-card-found {
        background:
          radial-gradient(circle at 18% 16%, rgba(216, 119, 62, 0.08), transparent 16%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 223, 0.98));
      }

      .chapter5-bottle-card-form {
        background:
          radial-gradient(circle at 82% 12%, rgba(54, 93, 70, 0.06), transparent 14%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 243, 231, 0.96));
      }

      .chapter5-bottle-card h2 {
        margin-top: 6px;
        font-size: clamp(1.9rem, 3vw, 3.3rem);
        line-height: 1.08;
        color: var(--ink-deep);
      }

      .chapter5-bottle-quote {
        margin: 0;
        padding: 18px 20px;
        border-radius: 24px;
        background: rgba(61, 89, 67, 0.06);
        border: 1px solid rgba(61, 89, 67, 0.08);
      }

      .chapter5-bottle-quote p {
        margin: 0;
        color: var(--ink-deep);
        font-size: 1.08rem;
        line-height: 1.9;
        white-space: pre-wrap;
      }

      .chapter5-bottle-meta,
      .chapter5-bottle-intro,
      .chapter5-form-note {
        margin: 0;
        color: var(--muted);
        line-height: 1.8;
      }

      .chapter5-bottle-form {
        display: grid;
        gap: 14px;
      }

      .chapter5-form-field {
        display: grid;
        gap: 8px;
      }

      .chapter5-form-label {
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--green);
      }

.chapter5-form-textarea {
  width: 100%;
  min-height: 190px;
  padding: 16px 18px;
  border-radius: 22px;
        border: 1px solid rgba(61, 89, 67, 0.16);
        background: rgba(255, 255, 255, 0.94);
        color: var(--ink-deep);
  line-height: 1.75;
  resize: vertical;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  outline: none;
  margin-bottom: 2.5rem;
}

      .chapter5-form-textarea:focus {
        border-color: rgba(223, 119, 62, 0.54);
        box-shadow: 0 0 0 4px rgba(223, 119, 62, 0.14);
      }

      .chapter5-form-actions {
        display: flex;
        justify-content: flex-end;
      }

      .chapter5-submit {
        min-width: 240px;
      }

      .chapter5-saved-message {
        display: grid;
        gap: 10px;
        padding: 18px 20px;
        border-radius: 22px;
        background: rgba(54, 93, 70, 0.08);
        border: 1px solid rgba(54, 93, 70, 0.12);
      }

      .chapter5-saved-label {
        margin: 0;
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--green);
      }

      .chapter5-saved-text {
        margin: 0;
        color: var(--ink-deep);
        line-height: 1.8;
        white-space: pre-wrap;
      }

      .chapter5-page .campfire-end.is-night {
        min-height: clamp(560px, 58vw, 760px);
        background: url("assets/mistmeercamp.webp") center center / cover no-repeat;
        border-color: rgba(14, 19, 24, 0.16);
        box-shadow: 0 34px 110px rgba(11, 16, 24, 0.34);
      }

      .chapter5-page .campfire-end.is-night .campfire-end-copy {
        max-width: min(46rem, 52%);
        padding: clamp(22px, 3vw, 34px);
        border-radius: 28px;
        background: rgba(16, 21, 28, 0.64);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        box-shadow: 0 24px 54px rgba(8, 11, 17, 0.3);
      }

      .chapter5-page .campfire-end.is-night .section-kicker,
      .chapter5-page .campfire-end.is-night h2,
      .chapter5-page .campfire-end.is-night .campfire-end-text,
      .chapter5-page .campfire-end.is-night .campfire-end-note {
        color: #f8f1e4;
      }

      .chapter5-page .campfire-end.is-night .campfire-end-text {
        color: rgba(248, 241, 228, 0.88);
      }

      .chapter6-page .chapter-hero {
        min-height: clamp(560px, 60vw, 760px);
        border-color: rgba(54, 93, 70, 0.08);
        box-shadow: 0 26px 60px rgba(31, 53, 40, 0.16);
      }

      .chapter6-page .chapter6-hero-copy {
        max-width: min(560px, calc(100% - 40px));
        background: rgba(255, 252, 246, 0.9);
        border-color: rgba(61, 89, 67, 0.08);
      }

      .chapter6-route-summary {
        margin: 4px 0 0;
        color: rgba(36, 75, 53, 0.72);
        line-height: 1.7;
      }

      .chapter6-story-card {
        position: relative;
        overflow: hidden;
        min-height: clamp(520px, 58vw, 740px);
        padding: clamp(18px, 2.5vw, 30px);
        display: flex;
        align-items: center;
        background:
          linear-gradient(90deg, rgba(248, 243, 233, 0.14) 0%, rgba(248, 243, 233, 0.08) 36%, rgba(248, 243, 233, 0.02) 100%),
          url("assets/berghutbinnen.webp") center center / cover no-repeat;
      }

      .chapter6-story-copy {
        display: grid;
        gap: 0.95rem;
        width: min(100%, 44%);
        max-width: min(46rem, 44%);
        margin-right: auto;
        padding: clamp(1.25rem, 2.4vw, 1.85rem);
        border-radius: 24px;
        border: 1px solid rgba(61, 89, 67, 0.08);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 18px 34px rgba(36, 75, 53, 0.1);
        color: rgba(36, 75, 53, 0.88);
        line-height: 1.95;
      }

      .chapter6-story-copy p {
        margin: 0;
      }

      .chapter6-page .chapter6-story-card h2,
      .chapter6-page .chapter6-map-head h2,
      .chapter6-page .chapter6-choices-head h2,
      .chapter6-page .chapter6-end h2 {
        margin: 0;
        color: var(--ink-deep);
        font-family: var(--font-display);
        font-size: clamp(1.55rem, 3vw, 2.3rem);
        line-height: 1.06;
        letter-spacing: -0.04em;
      }

      .chapter6-page .chapter6-map-head > p:not(.section-kicker),
      .chapter6-page .chapter6-choices-head > p:not(.section-kicker) {
        margin: 0.75rem 0 0;
        color: rgba(36, 75, 53, 0.78);
        line-height: 1.8;
      }

      .chapter6-map-section {
        display: grid;
        gap: 16px;
      }

      .chapter6-map-board {
        position: relative;
        isolation: isolate;
        width: 100%;
        max-width: 1160px;
        margin: 0 auto;
        aspect-ratio: 3 / 2;
        min-height: 711px;
        padding: 20px;
        border-radius: 28px;
        border: 1px solid rgba(61, 89, 67, 0.1);
        background:
          linear-gradient(180deg, rgba(247, 240, 223, 0.32), rgba(247, 240, 223, 0.72)),
          url("assets/landkaart.webp") center center / cover no-repeat;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 36px rgba(31, 53, 40, 0.08);
        overflow: hidden;
      }

      .chapter6-map-board::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        background:
          radial-gradient(circle at 16% 28%, rgba(54, 93, 70, 0.08), transparent 16%),
          radial-gradient(circle at 76% 24%, rgba(54, 93, 70, 0.06), transparent 14%),
          repeating-linear-gradient(0deg, rgba(61, 89, 67, 0.03) 0, rgba(61, 89, 67, 0.03) 1px, transparent 1px, transparent 18px),
          repeating-linear-gradient(90deg, rgba(61, 89, 67, 0.03) 0, rgba(61, 89, 67, 0.03) 1px, transparent 1px, transparent 18px);
        opacity: 0.58;
        pointer-events: none;
      }

      .chapter6-map-path,
      .route-map-path {
        position: absolute;
        inset: 18px;
        z-index: 0;
        width: calc(100% - 36px);
        height: calc(100% - 36px);
        pointer-events: none;
        opacity: 0.8;
      }

      .chapter6-map-path polyline,
      .route-map-path polyline {
        fill: none;
        stroke: rgba(54, 93, 70, 0.24);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      .chapter6-map-empty {
        position: relative;
        z-index: 1;
        margin: 0;
        min-height: 300px;
        display: grid;
        place-items: center;
        padding: 28px;
        text-align: center;
        color: rgba(36, 75, 53, 0.7);
        line-height: 1.8;
      }

      .chapter6-map-grid {
        position: absolute;
        inset: 0;
        z-index: 1;
        list-style: none;
        margin: 0;
        padding: 0;
        min-height: 0;
      }

      .chapter6-map-node {
        position: absolute;
        left: var(--node-x);
        top: var(--node-y);
        z-index: 1;
        transform: translate(-50%, -50%);
        display: grid;
        gap: 6px;
        max-width: 220px;
        padding: 10px 12px 12px;
        border-radius: 18px;
        border: 1px solid rgba(61, 89, 67, 0.1);
        background: rgba(255, 255, 255, 0.88);
        box-shadow: 0 14px 24px rgba(31, 53, 40, 0.08);
        backdrop-filter: blur(8px);
        overflow: visible;
      }

      .chapter6-map-node.is-current {
        z-index: 2;
        border-color: rgba(54, 93, 70, 0.16);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 18px 34px rgba(31, 53, 40, 0.12);
      }

      .chapter6-map-node.is-future {
        opacity: 0.5;
        filter: saturate(0.82);
      }

      .chapter6-map-node.is-future .chapter6-map-node-link {
        cursor: not-allowed;
      }

      .chapter6-map-node-link {
        position: relative;
        display: grid;
        gap: 6px;
        color: inherit;
        text-decoration: none;
      }

      .chapter6-map-node-tooltip {
        position: absolute;
        left: 0;
        top: calc(100% + 10px);
        z-index: 3;
        width: min(240px, 32vw);
        padding: 10px 12px;
        border-radius: 14px;
        background: rgba(25, 41, 31, 0.94);
        color: #f7f1e6;
        font-size: 0.82rem;
        line-height: 1.55;
        box-shadow: 0 18px 34px rgba(22, 32, 22, 0.24);
        opacity: 0;
        transform: translateY(-4px);
        pointer-events: none;
        transition:
          opacity 160ms ease,
          transform 160ms ease;
      }

      .chapter6-map-node:hover .chapter6-map-node-tooltip,
      .chapter6-map-node:focus-within .chapter6-map-node-tooltip {
        opacity: 1;
        transform: translateY(0);
      }

      .chapter6-map-pin {
        width: 18px;
        height: 18px;
        border-radius: 999px;
        background: #365d46;
        border: 3px solid #f8f2e5;
        box-shadow:
          0 0 0 6px rgba(54, 93, 70, 0.14),
          0 10px 20px rgba(36, 75, 53, 0.16);
      }

      .chapter6-map-node-label {
        color: var(--ink-deep);
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.25;
      }

      .chapter6-map-node-meta {
        color: rgba(36, 75, 53, 0.72);
        font-size: 0.86rem;
        line-height: 1.6;
      }

      .chapter6-form {
        display: grid;
        gap: 18px;
      }

      .chapter6-choices {
        display: grid;
        gap: 18px;
      }

      .chapter6-choices-head {
        display: grid;
        gap: 8px;
      }

      .chapter6-choice-group {
        display: grid;
        gap: 12px;
        padding-top: 18px;
        border-top: 1px solid rgba(61, 89, 67, 0.1);
      }

      .chapter6-choice-group.has-divider {
        margin-top: 2px;
      }

      .chapter6-choice-group-head {
        display: grid;
        gap: 6px;
      }

      .chapter6-choice-note {
        margin: 0;
        color: rgba(36, 75, 53, 0.76);
        line-height: 1.8;
      }

      .chapter6-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0.5rem;
      }

      .chapter6-recap {
        display: grid;
        gap: 1rem;
        padding: clamp(1rem, 2.2vw, 1.5rem);
        border-radius: 24px;
        border: 1px solid rgba(61, 89, 67, 0.1);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 240, 223, 0.94));
      }

      .chapter6-recap h3 {
        margin: 0;
        color: var(--ink-deep);
        font-family: var(--font-display);
        font-size: clamp(1.2rem, 2.2vw, 1.65rem);
        line-height: 1.08;
      }

      .chapter6-recap-list {
        gap: 0.7rem;
      }

      .chapter6-recap-row {
        grid-template-columns: 12rem 1fr;
      }

      .chapter6-submit-row {
        justify-content: flex-end;
      }

      .chapter6-submit {
        min-width: 250px;
      }

      .chapter6-end {
        position: relative;
        overflow: hidden;
        min-height: clamp(520px, 58vw, 740px);
        padding: clamp(18px, 2.5vw, 30px);
        display: flex;
        align-items: center;
        background:
          linear-gradient(90deg, rgba(248, 243, 233, 0.14) 0%, rgba(248, 243, 233, 0.08) 36%, rgba(248, 243, 233, 0.02) 100%),
          url("assets/berghutsleep.webp") center center / cover no-repeat;
      }

      .chapter6-end-copy {
        display: grid;
        gap: 12px;
        width: min(100%, 44%);
        max-width: min(46rem, 44%);
        margin-right: auto;
        padding: clamp(1.25rem, 2.4vw, 1.85rem);
        border-radius: 24px;
        border: 1px solid rgba(61, 89, 67, 0.08);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 18px 34px rgba(36, 75, 53, 0.1);
        color: rgba(36, 75, 53, 0.88);
        line-height: 1.95;
      }

.chapter6-end-copy p {
  margin: 0;
}

.chapter7-emotion-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.chapter7-page .wooden-note {
  width: min(860px, 100%);
  margin: -0.05rem auto 1rem 0;
  padding: 1.8rem clamp(3rem, 4.5vw, 5rem) 1.2rem;
}

.chapter7-page .wooden-note-text {
  max-width: 38rem;
  padding: 10px 0 2px;
}

.chapter7-page .chapter5-form-field {
  width: min(34rem, 100%);
  margin-inline: auto;
}

.chapter7-page .chapter5-form-label {
  text-align: center;
}

.chapter7-page .chapter5-form-textarea {
  min-height: 170px;
}

@media (max-width: 720px) {
  .chapter7-emotion-grid {
    grid-template-columns: 1fr;
  }

  .chapter7-page .wooden-note {
    width: min(700px, 100%);
    margin: -0.05rem auto 1rem 0;
    padding: 1.55rem clamp(2.2rem, 5vw, 3.6rem) 1rem;
  }

  .chapter7-page .chapter5-form-field {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .chapter-shell {
    width: min(100% - 16px, 100%);
          padding-top: 14px;
        }

        .chapter-topbar {
          flex-wrap: wrap;
          padding: 0 4px;
        }

        .chapter-hero {
          min-height: 620px;
          border-radius: 28px;
        }

        .chapter-hero-copy {
          left: 16px;
          right: 16px;
          top: auto;
          bottom: 16px;
          width: auto;
        }

        .chapter6-page .chapter6-hero-copy {
          max-width: 100%;
        }

        .chapter6-story-card {
          min-height: 0;
          display: grid;
          align-items: stretch;
        }

        .chapter6-story-copy {
          width: 100%;
          max-width: 100%;
        }

        .chapter6-map-board {
          min-height: 300px;
          padding: 14px;
        }

        .chapter6-map-grid {
          inset: 0;
        }

        .chapter6-map-node {
          max-width: 170px;
        }

        .chapter6-end {
          min-height: 0;
          display: grid;
        }

        .chapter6-end-copy {
          width: 100%;
          max-width: 100%;
        }

        .chapter6-submit-row {
          justify-content: stretch;
        }

        .chapter6-submit {
          width: 100%;
          min-width: 0;
        }

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

      @media (max-width: 1080px) {
        .chapter5-bottle-grid {
          grid-template-columns: 1fr;
        }

      .chapter5-page .campfire-end.is-night .campfire-end-copy {
          max-width: 100%;
        }

        .chapter6-map-board {
          min-height: 320px;
        }
      }

      @media (max-width: 720px) {
        .chapter5-page .chapter5-sign {
          padding: 1rem 1.1rem;
        }

        .chapter5-form-actions {
          justify-content: flex-start;
        }

        .chapter5-submit {
          width: 100%;
          min-width: 0;
        }

        .chapter5-form-textarea {
          min-height: 160px;
        }
      }

      .chapter-page.campfire-page {
        background:
          radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.92), transparent 26%),
          radial-gradient(circle at 86% 10%, rgba(216, 119, 62, 0.1), transparent 24%),
          linear-gradient(180deg, #fcf8ef 0%, #f6f0e2 100%);
      }

      .campfire-shell {
        display: grid;
        gap: 20px;
        width: min(1360px, calc(100% - 24px));
        margin: 24px auto 32px;
        padding-top: 20px;
        padding-bottom: 28px;
      }

      .campfire-hero {
        position: relative;
        overflow: hidden;
        min-height: clamp(560px, 60vw, 760px);
        border-radius: 36px;
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: var(--shadow-strong);
        transition: box-shadow 900ms ease, border-color 900ms ease;
        background:
          linear-gradient(90deg, rgba(247, 241, 229, 0.88) 0%, rgba(247, 241, 229, 0.62) 24%, rgba(247, 241, 229, 0.08) 58%, rgba(247, 241, 229, 0.02) 100%),
          url("assets/hero-camp.webp") center center / cover no-repeat;
      }

      .campfire-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(180deg, rgba(7, 11, 20, 0.03) 0%, rgba(8, 14, 24, 0.18) 62%, rgba(3, 6, 12, 0.42) 100%),
          radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.06), transparent 16%);
        opacity: 0;
        transition: opacity 900ms ease;
        pointer-events: none;
        z-index: 1;
      }

      .campfire-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at 76% 16%, rgba(255, 255, 255, 0.32), transparent 16%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 36%, rgba(245, 239, 226, 0.42) 100%);
        opacity: 1;
        transition: opacity 900ms ease;
        pointer-events: none;
        z-index: 2;
      }

      .campfire-hero.is-complete {
        border-color: rgba(20, 27, 33, 0.1);
        box-shadow: 0 34px 110px rgba(11, 16, 24, 0.34);
      }

      .campfire-hero.is-complete::before {
        opacity: 1;
      }

      .campfire-hero.is-complete::after {
        opacity: 0;
      }

      .campfire-hero-copy {
        position: absolute;
        left: clamp(20px, 4vw, 48px);
        top: clamp(20px, 4vw, 48px);
        width: min(640px, calc(100% - 40px));
        padding: clamp(22px, 3vw, 36px);
        border-radius: 32px;
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid rgba(61, 89, 67, 0.08);
        box-shadow: 0 22px 54px rgba(30, 48, 34, 0.12);
        backdrop-filter: blur(10px);
        z-index: 3;
      }

      .campfire-hero-copy h1 {
        margin: 0;
        font-size: clamp(2.3rem, 4.8vw, 5rem);
      }

      .campfire-hero.is-complete .campfire-hero-copy {
        background: rgba(16, 21, 28, 0.68);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 24px 54px rgba(8, 11, 17, 0.32);
      }

      .campfire-hero.is-complete .campfire-hero-copy h1,
      .campfire-hero.is-complete .campfire-subtitle {
        color: #f8f1e4;
      }

      .campfire-hero.is-complete .campfire-hero-text {
        color: rgba(248, 241, 228, 0.84);
      }

      .campfire-hero-copy h1 span {
        display: block;
        margin-bottom: 8px;
        font-size: 0.9em;
      }

      .campfire-subtitle {
        margin: 14px 0 0;
        color: var(--green);
        font-size: clamp(1.15rem, 1.7vw, 1.55rem);
        font-weight: 700;
      }

      .campfire-hero-text {
        margin: 14px 0 0;
        max-width: 560px;
        color: var(--muted);
        line-height: 1.82;
        font-size: 1.05rem;
      }

      .campfire-story-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
      }

      .campfire-story,
      .campfire-choice-section,
      .campfire-recap,
      .campfire-end {
        position: relative;
        overflow: hidden;
        padding: clamp(26px, 3.6vw, 42px);
        border-radius: 30px;
        border: 1px solid rgba(61, 89, 67, 0.1);
        box-shadow: var(--shadow);
        background: rgba(255, 255, 255, 0.88);
      }

      .campfire-end > * {
        position: relative;
        z-index: 1;
      }

      .campfire-end.is-night {
        min-height: clamp(500px, 58vw, 760px);
        background:
          linear-gradient(180deg, rgba(5, 10, 18, 0.24) 0%, rgba(5, 10, 18, 0.52) 100%),
          url("assets/nighttop.webp") center center / cover no-repeat;
        border-color: rgba(14, 19, 24, 0.16);
        box-shadow: 0 34px 110px rgba(11, 16, 24, 0.34);
      }

      .campfire-end.is-night::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(180deg, rgba(6, 9, 17, 0.02) 0%, rgba(6, 9, 17, 0.24) 48%, rgba(3, 6, 12, 0.72) 100%),
          radial-gradient(circle at 66% 18%, rgba(255, 255, 255, 0.06), transparent 16%);
        pointer-events: none;
        z-index: 0;
      }

      .campfire-night-sky {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;
      }

      .campfire-night-star {
        position: absolute;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 252, 242, 1) 0 28%, rgba(255, 242, 194, 0.95) 42%, rgba(255, 242, 194, 0.2) 72%, rgba(255, 242, 194, 0) 78%);
        box-shadow: 0 0 10px rgba(255, 225, 150, 0.35);
        opacity: 0.35;
        animation: campfire-star-twinkle 4.8s ease-in-out infinite;
      }

      .campfire-night-star::before,
      .campfire-night-star::after {
        content: none;
      }

      .campfire-night-star--one {
        top: 12%;
        left: 68%;
        animation-delay: -0.8s;
      }

      .campfire-night-star--two {
        top: 18%;
        left: 77%;
        width: 10px;
        height: 10px;
        animation-delay: -2.1s;
      }

      .campfire-night-star--three {
        top: 9%;
        left: 84%;
        width: 8px;
        height: 8px;
        animation-delay: -1.4s;
      }

      .campfire-falling-star {
        position: absolute;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 1) 0 30%, rgba(255, 238, 190, 0.96) 45%, rgba(255, 238, 190, 0.15) 72%, rgba(255, 238, 190, 0) 78%);
        box-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
        opacity: 0;
        transform: translate3d(0, 0, 0);
        animation-duration: 240s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-fill-mode: both;
      }

      .campfire-falling-star--one {
        top: 12%;
        left: 74%;
        animation-name: campfire-falling-star-down-a;
        animation-delay: 6s;
      }

      .campfire-falling-star--two {
        top: 9%;
        left: 84%;
        animation-name: campfire-falling-star-down-b;
        animation-delay: 66s;
      }

      .campfire-falling-star--three {
        top: 16%;
        left: 67%;
        animation-name: campfire-falling-star-down-c;
        animation-delay: 126s;
      }

      .campfire-falling-star--four {
        top: auto;
        bottom: 16%;
        left: 64%;
        animation-name: campfire-falling-star-up;
        animation-delay: 186s;
      }

      @keyframes campfire-star-twinkle {
        0%,
        100% {
          opacity: 0.22;
          transform: scale(0.84);
        }

        45% {
          opacity: 0.95;
          transform: scale(1.15);
        }

        65% {
          opacity: 0.45;
          transform: scale(0.96);
        }
      }

      @keyframes campfire-falling-star-down-a {
        0% {
          opacity: 0;
          transform: translate3d(0, 0, 0) scale(0.9);
        }

        98.4% {
          opacity: 0;
        }

        98.7% {
          opacity: 1;
          transform: translate3d(0, 0, 0) scale(1);
        }

        99.2% {
          opacity: 1;
          transform: translate3d(72px, 34px, 0) scale(1.05);
        }

        99.6% {
          opacity: 0.9;
          transform: translate3d(160px, 84px, 0) scale(0.95);
        }

        100% {
          opacity: 0;
          transform: translate3d(232px, 128px, 0) scale(0.2);
        }
      }

      @keyframes campfire-falling-star-down-b {
        0% {
          opacity: 0;
          transform: translate3d(0, 0, 0) scale(0.9);
        }

        98.4% {
          opacity: 0;
        }

        98.7% {
          opacity: 1;
          transform: translate3d(0, 0, 0) scale(1);
        }

        99.2% {
          opacity: 1;
          transform: translate3d(-54px, 36px, 0) scale(1.04);
        }

        99.6% {
          opacity: 0.9;
          transform: translate3d(-124px, 92px, 0) scale(0.96);
        }

        100% {
          opacity: 0;
          transform: translate3d(-190px, 132px, 0) scale(0.2);
        }
      }

      @keyframes campfire-falling-star-down-c {
        0% {
          opacity: 0;
          transform: translate3d(0, 0, 0) scale(0.9);
        }

        98.4% {
          opacity: 0;
        }

        98.7% {
          opacity: 1;
          transform: translate3d(0, 0, 0) scale(1);
        }

        99.2% {
          opacity: 1;
          transform: translate3d(0, 42px, 0) scale(1.04);
        }

        99.6% {
          opacity: 0.9;
          transform: translate3d(0, 104px, 0) scale(0.96);
        }

        100% {
          opacity: 0;
          transform: translate3d(0, 164px, 0) scale(0.2);
        }
      }

      @keyframes campfire-falling-star-up {
        0% {
          opacity: 0;
          transform: translate3d(0, 0, 0) scale(0.9);
        }

        98.4% {
          opacity: 0;
        }

        98.7% {
          opacity: 1;
          transform: translate3d(0, 0, 0) scale(1);
        }

        99.2% {
          opacity: 1;
          transform: translate3d(-42px, -34px, 0) scale(1.04);
        }

        99.6% {
          opacity: 0.9;
          transform: translate3d(-106px, -92px, 0) scale(0.96);
        }

        100% {
          opacity: 0;
          transform: translate3d(-160px, -132px, 0) scale(0.2);
        }
      }

      .campfire-end-copy {
        max-width: 760px;
      }

      .campfire-end.is-night .campfire-end-copy {
        padding: clamp(22px, 3vw, 34px);
        border-radius: 28px;
        background: rgba(14, 18, 26, 0.62);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        box-shadow: 0 24px 54px rgba(8, 11, 17, 0.3);
      }

      .campfire-end.is-night .section-kicker,
      .campfire-end.is-night h2,
      .campfire-end.is-night .campfire-end-text,
      .campfire-end.is-night .campfire-end-note {
        color: #f8f1e4;
      }

      .campfire-end.is-night .campfire-end-text {
        color: rgba(248, 241, 228, 0.88);
      }

      .campfire-story-soft {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 244, 233, 0.96));
      }

      .campfire-story h2,
      .campfire-choice-head h2,
      .campfire-recap-copy h2,
      .campfire-end h2 {
        margin-top: 6px;
        font-size: clamp(1.9rem, 3vw, 3.3rem);
        line-height: 1.08;
        color: var(--ink-deep);
      }

      .campfire-story-body {
        display: grid;
        gap: 12px;
        margin-top: 14px;
        color: var(--muted);
        line-height: 1.82;
        font-size: 1.02rem;
      }

      .campfire-choice-section {
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 243, 231, 0.96));
      }

      .campfire-choice-head {
        max-width: 760px;
        margin-bottom: 20px;
      }

      .campfire-choice-head p {
        margin: 0;
        color: var(--muted);
        line-height: 1.8;
        font-size: 1.04rem;
      }

      .campfire-choice-head p + p {
        margin-top: 10px;
      }

      .campfire-alert {
        margin-bottom: 16px;
        padding: 14px 16px;
        border-radius: 18px;
        background: #fff3ec;
        border: 1px solid rgba(208, 106, 77, 0.2);
        color: #a3472d;
        box-shadow: 0 14px 28px rgba(163, 71, 45, 0.08);
      }

      .campfire-choice-form {
        display: grid;
        gap: 16px;
      }

      .campfire-card-grid {
        display: grid;
        gap: 14px;
      }

      .campfire-card-grid-meal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .campfire-meal-scene {
        position: relative;
        display: block;
        min-height: 720px;
        margin-top: 18px;
        padding: 18px;
        border-radius: 32px;
        border: 1px solid rgba(61, 89, 67, 0.1);
        overflow: hidden;
        background:
          linear-gradient(180deg, rgba(251, 246, 235, 0.72), rgba(247, 240, 223, 0.88)),
          url("assets/background-forrest1.webp") center center / cover no-repeat;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 18px 36px rgba(30, 48, 34, 0.08);
      }

      .campfire-meal-scene::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(90deg, rgba(247, 240, 223, 0.78) 0%, rgba(247, 240, 223, 0.28) 26%, rgba(247, 240, 223, 0.06) 58%, rgba(247, 240, 223, 0.04) 100%),
          radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.34), transparent 24%);
        pointer-events: none;
      }

      .campfire-meal-picker {
        position: relative;
        z-index: 2;
        display: grid;
        align-content: start;
        gap: 14px;
        padding: clamp(18px, 2.4vw, 24px);
        border-radius: 26px;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        width: min(520px, 48%);
        min-height: 100%;
        justify-self: start;
      }

      .campfire-meal-stage {
        position: absolute;
        inset: 18px;
        z-index: 1;
        overflow: hidden;
        min-height: 0;
        border-radius: 28px;
        border: 1px solid rgba(61, 89, 67, 0.1);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 36px rgba(30, 48, 34, 0.08);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 223, 0.98));
      }

      .campfire-meal-stage-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center center;
      }

      .campfire-meal-stage-overlay {
        position: absolute;
        inset: 0;
        z-index: 3;
      }

      .campfire-meal-empty,
      .campfire-meal-item {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
      }

      .campfire-meal-empty {
        top: 50%;
        left: 72%;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px dashed rgba(61, 89, 67, 0.18);
        color: var(--muted);
        font-size: 0.95rem;
        font-weight: 600;
        box-shadow: 0 12px 26px rgba(30, 48, 34, 0.12);
      }

      .campfire-meal-item {
        width: 66px;
        height: 66px;
        border-radius: 50%;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        color: var(--ink-deep);
        overflow: visible;
      }

      .campfire-meal-item-icon {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        filter: none;
        transform-origin: center center;
      }

      .campfire-meal-scene.is-night {
        background:
          url("assets/nacht-kampvuur.webp") center center / cover no-repeat;
        border-color: rgba(20, 27, 33, 0.14);
        box-shadow: 0 18px 36px rgba(30, 48, 34, 0.08);
      }

      .campfire-meal-scene.is-night .campfire-meal-picker {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
      }

      .campfire-meal-scene.is-night .campfire-card-content {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.82));
        border-color: rgba(61, 89, 67, 0.12);
      }

      .campfire-meal-scene.is-night .campfire-card-check {
        background: rgba(61, 89, 67, 0.1);
        color: transparent;
      }

      .campfire-meal-scene.is-night .campfire-card.is-selected .campfire-card-check {
        background: var(--green);
        color: #f7f2ea;
      }

      .campfire-meal-stage.is-night {
        background:
          url("assets/mealtablenight.webp") center center / cover no-repeat;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 36px rgba(30, 48, 34, 0.16);
      }

      .campfire-meal-stage.is-night .campfire-meal-stage-image {
        filter: none;
      }

      .campfire-meal-stage.is-night .campfire-meal-empty {
        display: none;
      }

      .campfire-card-grid-fire {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .campfire-card {
        position: relative;
        display: block;
        cursor: pointer;
      }

      .campfire-card input {
        position: absolute;
        inset: 0;
        opacity: 0;
        pointer-events: none;
      }

      .campfire-card-content {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        min-height: 154px;
        padding: 18px;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.82));
        border: 1px solid rgba(61, 89, 67, 0.12);
        box-shadow: 0 14px 34px rgba(30, 48, 34, 0.08);
        transition:
          transform 180ms ease,
          box-shadow 180ms ease,
          border-color 180ms ease;
      }

      .campfire-card-check {
        width: 36px;
        height: 36px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: rgba(61, 89, 67, 0.1);
        color: transparent;
        font-size: 1.08rem;
        font-weight: 900;
        line-height: 1;
        box-shadow: inset 0 0 0 1px rgba(61, 89, 67, 0.08);
        transition:
          background-color 180ms ease,
          color 180ms ease,
          transform 180ms ease;
      }

      .campfire-card:hover .campfire-card-content {
        transform: translateY(-2px);
        box-shadow: 0 18px 38px rgba(30, 48, 34, 0.12);
      }

      .campfire-card.is-selected .campfire-card-content {
        border-color: rgba(61, 89, 67, 0.5);
        box-shadow: 0 18px 38px rgba(61, 89, 67, 0.16);
      }

      .campfire-card.is-selected .campfire-card-check {
        background: var(--green);
        color: #f7f2ea;
        transform: scale(1.12);
        box-shadow: 0 10px 18px rgba(36, 75, 53, 0.18);
      }

      .campfire-card-content-fire {
        min-height: 132px;
      }

      .campfire-card-icon {
        width: 58px;
        height: 58px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border-radius: 18px;
        background: rgba(61, 89, 67, 0.08);
        color: var(--green);
        font-size: 1.75rem;
        box-shadow: inset 0 0 0 1px rgba(61, 89, 67, 0.06);
      }

      .campfire-card-copy {
        display: grid;
        gap: 6px;
        min-width: 0;
      }

      .campfire-card-copy strong {
        min-width: 0;
        color: var(--ink-deep);
        font-size: 1.08rem;
        line-height: 1.25;
      }

      .campfire-card-check {
        justify-self: start;
        margin-left: 0;
      }

      .campfire-card-description {
        color: var(--muted);
        line-height: 1.7;
        font-size: 0.96rem;
      }

      .campfire-choice-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
      }

      .campfire-choice-note {
        margin: 0;
        color: var(--muted);
        line-height: 1.7;
      }

      .campfire-choice-note strong {
        color: var(--ink-deep);
      }

      .campfire-story-single {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 242, 228, 0.96));
      }

      .campfire-recap {
        display: grid;
        gap: 18px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 223, 0.98));
      }

      .campfire-recap-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
      }

      .campfire-recap-card {
        padding: 18px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(61, 89, 67, 0.1);
      }

      .campfire-recap-card h3 {
        margin: 0 0 10px;
        font-size: 1.22rem;
        color: var(--ink-deep);
      }

      .campfire-chip-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .campfire-chip {
        display: inline-flex;
        align-items: center;
        padding: 9px 12px;
        border-radius: 999px;
        background: rgba(61, 89, 67, 0.08);
        color: var(--ink-deep);
        font-weight: 700;
      }

      .campfire-end {
        display: grid;
        gap: 18px;
        background:
          radial-gradient(circle at 18% 16%, rgba(216, 119, 62, 0.12), transparent 18%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 240, 223, 0.98));
      }

      .campfire-end-text {
        max-width: 760px;
        margin: 0;
        color: var(--muted);
        line-height: 1.86;
        font-size: 1.05rem;
      }

      .campfire-end-note {
        margin: 0;
        color: var(--soft);
      }

      .campfire-end.is-ready {
        box-shadow: 0 30px 90px rgba(22, 32, 22, 0.18);
      }

      @media (max-width: 1080px) {
        .campfire-story-grid,
        .campfire-recap-grid {
          grid-template-columns: 1fr;
        }

        .campfire-meal-scene {
          display: grid;
          grid-template-columns: 1fr;
          min-height: auto;
        }

        .campfire-card-grid-meal {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .campfire-meal-stage {
          position: relative;
          inset: auto;
          min-height: 360px;
          margin-top: 14px;
        }

        .campfire-card-grid-fire {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .campfire-meal-picker {
          width: 100%;
          min-height: auto;
          background: transparent;
        }
      }

      @media (max-width: 720px) {
        .campfire-shell {
          width: min(100% - 16px, 100%);
          padding-top: 14px;
        }

        .campfire-hero {
          min-height: 620px;
          border-radius: 28px;
        }

        .campfire-hero-copy {
          left: 16px;
          right: 16px;
          top: auto;
          bottom: 16px;
          width: auto;
        }

        .campfire-card-grid-meal,
        .campfire-card-grid-fire {
          grid-template-columns: 1fr;
        }

        .campfire-meal-scene {
          padding: 14px;
          border-radius: 26px;
        }

        .campfire-meal-stage {
          min-height: 300px;
        }

        .campfire-meal-picker {
          width: 100%;
          background: transparent;
        }

        .campfire-choice-footer {
          align-items: stretch;
        }

        .campfire-choice-footer .button {
          width: 100%;
        }
      }
/* Chapter 2 - Het Stille Bos */
.chapter2-shell {
  position: relative;
  padding-bottom: 4rem;
}

.chapter2-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.42fr);
  gap: 0;
  min-height: 620px;
  padding: 1.4rem;
  border-radius: 28px;
  overflow: hidden;
  background: #f7f0df;
  background-position: 68% center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 0;
  box-shadow: 0 22px 44px rgba(45, 63, 48, 0.12);
}

.chapter2-shell .campfire-hero {
  border: 0;
}

.chapter2-hero::before,
.chapter2-hero::after {
  content: none;
}

.chapter2-hero-image {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center center;
  border-radius: 0 24px 24px 0;
  display: block;
}

.chapter2-hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  z-index: 1;
  max-width: 100%;
  margin: 2.2rem 0 2.2rem 1rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.98);
  box-shadow: 0 14px 26px rgba(38, 58, 45, 0.08);
}

.chapter2-hero-copy .eyebrow {
  margin-bottom: 0.75rem;
}

.chapter2-hero-copy h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2.4rem, 4.9vw, 4.1rem);
  line-height: 0.96;
}

.chapter2-hero-copy p {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: rgba(36, 75, 53, 0.8);
  font-size: 1rem;
  line-height: 1.8;
}

.chapter2-content {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.chapter2-story-card,
.chapter2-choice-section,
.chapter2-recap,
.chapter2-end {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(86, 118, 90, 0.14);
  border-radius: 26px;
  box-shadow: 0 18px 36px rgba(31, 53, 40, 0.08);
  overflow: hidden;
}

.chapter2-story-card {
  padding: clamp(1.4rem, 2.6vw, 2rem);
}

.chapter2-story-bg {
  min-height: 460px;
  padding: clamp(1rem, 2vw, 1.4rem);
  background: url("assets/background-forrest1.webp") center center / cover no-repeat;
}

.chapter2-story-bg-one {
  margin-top: -0.25rem;
  background-image: url("assets/background-forrest2.webp");
}

.chapter2-story-bg-two {
  background-image: url("assets/lookarround.webp");
}

.chapter2-story-bg-three {
  background-image: url("assets/tree.webp");
}

.chapter2-end-bg {
  min-height: 560px;
  padding: clamp(1rem, 2vw, 1.4rem);
  background: url("assets/woodenbridge.webp") center center / cover no-repeat;
}

.chapter2-end-bg .campfire-end-copy {
  max-width: min(46rem, 84%);
  padding: clamp(1.15rem, 2.2vw, 1.7rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(36, 75, 53, 0.1);
}

.chapter10-end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 1rem;
}

.chapter10-end-actions .route-button {
  flex: 0 0 auto;
}

/* Chapter 3 - De Houten Brug */
.chapter3-shell {
  position: relative;
  padding-bottom: 4rem;
}

.chapter3-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.42fr);
  gap: 0;
  min-height: 620px;
  padding: 1.4rem;
  border-radius: 28px;
  overflow: hidden;
  background: #f7f0df;
  background-position: 64% center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 22px 44px rgba(45, 63, 48, 0.12);
}

.chapter3-hero::before,
.chapter3-hero::after {
  content: none;
}

.chapter3-hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  z-index: 1;
  max-width: min(42rem, 88%);
  margin: 2.2rem 0 2.2rem 1rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.98);
  box-shadow: 0 14px 26px rgba(38, 58, 45, 0.08);
}

.chapter3-hero-copy h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2.4rem, 4.9vw, 4.1rem);
  line-height: 0.96;
}

.chapter3-hero-copy .chapter-lead {
  margin: 1rem 0 0;
  color: rgba(36, 75, 53, 0.8);
  font-size: 1rem;
  line-height: 1.8;
}

.chapter3-story {
  margin-top: 1.25rem;
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(86, 118, 90, 0.14);
  box-shadow: 0 18px 36px rgba(31, 53, 40, 0.08);
}

.chapter3-story-card {
  position: relative;
  overflow: hidden;
}

.chapter3-story-card .chapter3-story-copy {
  display: grid;
  gap: 0.95rem;
}

.chapter3-story-card h2 {
  margin: 0;
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.9vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.chapter3-story-card .chapter3-story-copy p {
  margin: 0;
}

.chapter3-story-copy {
  display: grid;
  gap: 1rem;
  color: rgba(36, 75, 53, 0.88);
  font-size: 1.02rem;
  line-height: 1.95;
}

.chapter3-story-copy p {
  margin: 0;
}

.chapter3-story-bg {
  min-height: 460px;
  padding: clamp(1rem, 2vw, 1.4rem);
  background: url("assets/woodenbridge.webp") center center / cover no-repeat;
}

.chapter3-story-bg-two {
  background-image: url("assets/rivierwater.webp");
}

.chapter3-story-bg-three {
  background-image: url("assets/rivier.webp");
}

.chapter3-story-bg .chapter3-story-inner {
  max-width: 48rem;
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(36, 75, 53, 0.1);
}

.chapter3-story-bg-two .chapter3-story-inner {
  margin-left: 0;
  margin-right: auto;
}

.chapter3-story-bg-three .chapter3-story-inner {
  margin-left: auto;
  margin-right: 0;
}

.chapter3-story-bg-two .chapter3-story-inner,
.chapter3-story-bg-three .chapter3-story-inner {
  max-width: min(44rem, 42%);
}

.chapter4-page .chapter2-story-bg-two .chapter2-story-inner,
.chapter4-page .chapter2-story-bg-three .chapter2-story-inner {
  max-width: min(44rem, 42%);
}

.chapter4-page #chapter4-overnight .campfire-end-copy {
  max-width: min(44rem, 42%);
  padding: clamp(1.15rem, 2.2vw, 1.7rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(36, 75, 53, 0.1);
}

.chapter4-page #chapter4-overnight {
  min-height: 640px;
  background-position: center 28%;
  background-size: cover;
}

.chapter3-story-bg-three .chapter3-story-copy h2,
.chapter3-story-bg-two .chapter3-story-copy h2 {
  margin-bottom: 0.15rem;
}

.chapter3-story-bg-three .chapter3-story-copy p,
.chapter3-story-bg-two .chapter3-story-copy p {
  margin-top: 0;
}

.wooden-note {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(760px, 45%);
  margin: -0.1rem auto 0.95rem;
  padding: 1.55rem clamp(3rem, 5vw, 4.8rem) 0.95rem;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  text-align: center;
  background: url("assets/bord.webp") center center / 100% 100% no-repeat;
  box-shadow: none;
  color: #3f2716;
text-shadow:
        1px 1px 0 rgba(255,255,255,0.25),
        -1px -1px 2px rgba(0,0,0,0.85);

}

.wooden-note::before {
  content: none;
}

.wooden-note::after {
  content: none;
}

.wooden-note-left {
  margin-left: 0;
  margin-right: auto;
}

.wooden-note-right {
  margin-left: auto;
  margin-right: 0;
}

.wooden-note-kicker {
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.86rem;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  text-align: center;
}

.wooden-note-text {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 42rem;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.82;
  text-align: center;
  padding: 26px;
}

.wooden-note .chapter5-form-label {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color: rgba(58, 34, 15, 0.9);
  text-align: left;
}

.wooden-note .chapter5-form-textarea {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-shadow: none;
}

.chapter3-action {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.chapter3-submit {
  min-width: 280px;
}

@media (max-width: 960px) {
  .chapter3-hero {
    min-height: 560px;
  }

  .chapter3-hero-copy {
    max-width: 100%;
    margin: 1rem;
  }

  .wooden-note {
    margin-top: 0.05rem;
    width: min(700px, 100%);
    padding-inline: clamp(2.3rem, 5.4vw, 4rem);
  }
}

@media (max-width: 720px) {
  .chapter3-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .chapter3-submit {
    width: 100%;
    min-width: 0;
  }

  .wooden-note-left,
  .wooden-note-right {
    margin-left: 0;
    margin-right: 0;
  }
}

.chapter2-story-bg .chapter2-story-inner {
  max-width: 48rem;
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(36, 75, 53, 0.1);
}

.chapter2-story-bg-two .chapter2-story-inner,
.chapter2-story-bg-three .chapter2-story-inner {
  max-width: min(44rem, 88%);
}

.chapter2-story-bg-two .chapter2-story-inner {
  margin-left: 0;
  margin-right: auto;
}

.chapter2-story-bg-three .chapter2-story-inner {
  margin-left: auto;
  margin-right: 0;
}

.chapter2-story-body {
  display: grid;
  gap: 1rem;
  color: rgba(36, 75, 53, 0.88);
  font-size: 1.01rem;
  line-height: 1.95;
}

.chapter2-story-body p {
  margin: 0;
}

.chapter2-form {
  display: grid;
  gap: 1.25rem;
}

.chapter2-choice-section {
  padding: clamp(1.2rem, 2.4vw, 1.75rem);
}

.chapter2-choice-section h2,
.chapter2-recap h2,
.chapter2-end h2 {
  margin: 0;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.chapter2-choice-section p,
.chapter2-recap p,
.chapter2-end p {
  margin: 0.75rem 0 0;
  color: rgba(36, 75, 53, 0.78);
  line-height: 1.8;
}

.chapter2-choice-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.chapter2-choice-card {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(92, 117, 98, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 233, 0.96));
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.chapter2-choice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(38, 58, 45, 0.08);
}

.chapter2-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chapter2-choice-card-content {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-right: 2.5rem;
}

.chapter2-choice-card-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(223, 201, 155, 0.22);
  color: var(--green-dark);
  font-size: 1.35rem;
}

.chapter2-choice-card-title {
  grid-column: 2;
  display: block;
  padding-top: 0.05rem;
}

.chapter2-choice-card-title strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.02rem;
  line-height: 1.3;
}

.chapter2-choice-card-detail {
  grid-column: 2;
  display: block;
  margin-top: 0.45rem;
  color: rgba(36, 75, 53, 0.72);
  font-size: 0.9rem;
  line-height: 1.65;
}

.chapter2-choice-card-dot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.62rem;
  height: 1.62rem;
  border-radius: 999px;
  border: 2px solid rgba(36, 75, 53, 0.18);
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(255, 255, 255, 0.86);
}

.chapter2-choice-card-dot::after {
  content: '✓';
  color: #244b35b8;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  transform: scale(0.9);
  transition: transform 180ms ease;
  opacity: 0;
}

.chapter2-choice-card input:checked + .chapter2-choice-card-content .chapter2-choice-card-dot {
  border-color: var(--green-dark);
  background: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(36, 75, 53, 0.12);
}

.chapter2-choice-card input:checked + .chapter2-choice-card-content .chapter2-choice-card-dot::after {
  transform: scale(1);
  opacity: 1;
}

.chapter2-choice-card.is-selected .chapter2-choice-card-dot {
  border-color: var(--green-dark);
  background: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(36, 75, 53, 0.12);
}

.chapter2-choice-card.is-selected .chapter2-choice-card-dot::after {
  transform: scale(1);
  opacity: 1;
}

.chapter2-choice-card.is-selected {
  border-color: rgba(36, 75, 53, 0.62);
  box-shadow: 0 20px 34px rgba(36, 75, 53, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(240, 235, 220, 0.98));
}

.chapter2-choice-card.is-selected::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(36, 75, 53, 0.22);
  pointer-events: none;
}

.chapter2-choice-card:has(input:checked) {
  border-color: rgba(36, 75, 53, 0.62);
  box-shadow: 0 20px 34px rgba(36, 75, 53, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(240, 235, 220, 0.98));
}

.chapter2-choice-card input:checked ~ .chapter2-choice-card-content .chapter2-choice-card-title strong {
  color: var(--ink-deep);
}

.chapter2-choice-card input:checked ~ .chapter2-choice-card-content .chapter2-choice-card-detail {
  color: rgba(36, 75, 53, 0.9);
}

.chapter2-feedback {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(244, 235, 211, 0.72);
  color: var(--green-dark);
  line-height: 1.75;
}

.chapter2-feedback.is-muted {
  color: rgba(36, 75, 53, 0.66);
}

.chapter2-recap {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
}

.chapter2-recap-list {
  display: grid;
  gap: 0.8rem;
}

.chapter2-recap-row {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(247, 240, 223, 0.72);
}

.chapter2-recap-label {
  color: rgba(36, 75, 53, 0.7);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.chapter2-recap-value {
  color: var(--green-dark);
  font-weight: 700;
}

.chapter2-recap-note {
  padding: 0.95rem 1rem;
  border-left: 4px solid rgba(217, 111, 61, 0.5);
  background: rgba(255, 248, 239, 0.84);
  border-radius: 0 14px 14px 0;
  color: rgba(36, 75, 53, 0.82);
  line-height: 1.75;
}

.chapter2-submit-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.chapter2-submit {
  min-width: 220px;
}

.chapter2-end {
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
}

.chapter2-end .button {
  margin-top: 1rem;
}

.chapter7-end-bg {
  min-height: 560px;
  padding: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: url("assets/padnaargrot.webp") center center / cover no-repeat;
}

.chapter7-end-copy {
  max-width: min(46rem, 46%);
  padding: clamp(1.15rem, 2.2vw, 1.7rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(36, 75, 53, 0.1);
}

.chapter7-end-copy .route-button {
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .chapter7-end-copy {
    max-width: min(46rem, 72%);
  }
}

@media (max-width: 720px) {
  .chapter7-end-bg {
    min-height: 520px;
    align-items: flex-end;
  }

  .chapter7-end-copy {
    max-width: 100%;
  }
}

/* Route progress */
.route-progress {
  margin-top: 16px;
  padding: 12px 10px 10px;
  border-radius: 24px;
  border: 1px solid rgba(61, 89, 67, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 240, 223, 0.96));
  box-shadow: 0 16px 34px rgba(31, 53, 40, 0.08);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 75, 53, 0.24) transparent;
}

.route-progress::-webkit-scrollbar {
  height: 8px;
}

.route-progress::-webkit-scrollbar-thumb {
  background: rgba(36, 75, 53, 0.2);
  border-radius: 999px;
}

.route-progress-list {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: max-content;
  margin: 0;
  padding: 10px 8px 6px;
  list-style: none;
}

.route-progress-list::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 29px;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(36, 75, 53, 0.14) 0%, rgba(36, 75, 53, 0.34) 18%, rgba(36, 75, 53, 0.22) 52%, rgba(36, 75, 53, 0.34) 82%, rgba(36, 75, 53, 0.16) 100%);
  transform: skewX(-8deg);
  opacity: 0.86;
  pointer-events: none;
}

.route-progress-item {
  position: relative;
  flex: 0 0 128px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.route-progress-link,
.route-progress-current {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  color: inherit;
}

.route-progress-link {
  transition: transform 160ms ease, color 160ms ease;
}

.route-progress-link:hover {
  transform: translateY(-1px);
}

.route-progress-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(36, 75, 53, 0.34);
  background: #f8f2e5;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.6);
}

.route-progress-item.is-past .route-progress-dot {
  background: #365d46;
  border-color: #365d46;
  box-shadow: 0 0 0 6px rgba(54, 93, 70, 0.12);
}

.route-progress-item.is-current .route-progress-dot {
  width: 24px;
  height: 24px;
  background: #365d46;
  border-color: #365d46;
  box-shadow:
    0 0 0 8px rgba(54, 93, 70, 0.16),
    0 12px 24px rgba(36, 75, 53, 0.16);
}

.route-progress-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(36, 75, 53, 0.62);
}

.route-progress-title {
  max-width: 100%;
  color: var(--ink-deep);
  font-size: 0.98rem;
  line-height: 1.3;
  font-weight: 700;
}

.route-progress-item.is-current .route-progress-title {
  color: var(--ink-deep);
}

.route-progress-item.is-current .route-progress-label {
  color: rgba(36, 75, 53, 0.78);
}

.route-progress-intro {
  margin: 0 10px 10px;
  color: rgba(36, 75, 53, 0.72);
  font-size: 0.94rem;
  line-height: 1.7;
}

.route-progress-future {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  color: inherit;
  opacity: 0.68;
}

.route-progress-future .route-progress-dot {
  border-style: dashed;
  border-color: rgba(36, 75, 53, 0.2);
  background: rgba(255, 251, 243, 0.9);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.48);
}

.route-progress-future .route-progress-label {
  color: rgba(36, 75, 53, 0.52);
}

.route-progress-future .route-progress-title {
  color: rgba(36, 53, 41, 0.68);
}

.route-progress-item.is-past .route-progress-link:hover .route-progress-title {
  color: var(--orange-deep);
}

@media (max-width: 720px) {
  .route-progress {
    margin-top: 12px;
    padding: 10px 8px 8px;
  }

  .route-progress-list {
    gap: 12px;
    padding-inline: 4px;
  }

  .route-progress-list::before {
    left: 18px;
    right: 18px;
    top: 28px;
  }

  .route-progress-item {
    flex-basis: 116px;
  }
}

.album-page .chapter-shell {
  width: min(1380px, calc(100% - 24px));
  gap: 16px;
}

.album-page .album-hero {
  min-height: clamp(420px, 36vw, 560px);
}

.album-page .album-hero .chapter-hero-copy {
  max-width: min(640px, calc(100% - 40px));
}

.album-page .album-hero .chapter-lead {
  max-width: 540px;
}

.album-page .album-hero-chips {
  margin-top: 18px;
}

.album-page .route-progress {
  margin-top: 8px;
}

.album-page .chapter10-map-panel,
.album-page .album-memory-section,
.album-page .album-recap,
.album-page .album-end {
  gap: 14px;
  padding: clamp(16px, 2.2vw, 22px);
}

.album-page .chapter10-map-panel .chapter-choice-head,
.album-page .album-memory-section .chapter2-recap-copy,
.album-page .album-recap .chapter2-recap-copy,
.album-page .album-end .chapter2-recap-copy {
  max-width: 860px;
}

.album-page .cards-grid.album-memory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.album-page .cards-grid.album-reflection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.album-page .album-memory-card,
.album-page .album-reflection-card {
  padding: 22px;
}

.album-page .album-memory-card h3,
.album-page .album-reflection-card h3 {
  font-size: clamp(1.4rem, 1.9vw, 2rem);
  line-height: 1.08;
}

.album-page .album-memory-intro,
.album-page .album-memory-card .chapter2-recap-note,
.album-page .album-reflection-card > p:not(.section-kicker) {
  font-size: 0.98rem;
  line-height: 1.72;
}

.album-page .album-memory-card .chapter2-recap-row {
  grid-template-columns: 9rem 1fr;
  padding: 0.72rem 0.86rem;
}

.album-page .album-memory-card .chapter2-recap-label {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
}

.album-page .album-end .chapter2-submit-row {
  justify-content: flex-start;
}

@media (max-width: 960px) {
  .chapter2-choice-grid {
    grid-template-columns: 1fr;
  }

  .chapter2-recap-row {
    grid-template-columns: 1fr;
  }

  .album-page .cards-grid.album-memory-grid,
  .album-page .cards-grid.album-reflection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .chapter2-hero {
    min-height: 520px;
    align-items: flex-end;
  }

  .chapter2-hero-copy {
    max-width: 100%;
  }

  .chapter2-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .chapter2-submit-row {
    justify-content: stretch;
  }

  .chapter2-submit {
    width: 100%;
    min-width: 0;
  }

  .chapter2-choice-card-title strong,
  .chapter2-choice-card-title span {
    max-width: none;
  }

  .album-page .chapter-shell {
    width: calc(100% - 16px);
  }

  .album-page .album-hero {
    min-height: 500px;
  }

  .album-page .album-hero .chapter-hero-copy {
    max-width: 100%;
  }

  .album-page .cards-grid.album-memory-grid,
  .album-page .cards-grid.album-reflection-grid {
    grid-template-columns: 1fr;
  }

  .album-page .album-memory-card .chapter2-recap-row {
    grid-template-columns: 1fr;
  }
}

body.admin-page {
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 119, 62, 0.14), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(54, 93, 70, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf6ea 0%, #f5efe0 100%);
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.dashboard-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(61, 89, 67, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-deep);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.dashboard-admin:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(223, 119, 62, 0.2);
  color: var(--orange-deep);
  transform: translateY(-1px);
}

.admin-shell {
  display: grid;
  gap: 14px;
  width: min(1320px, calc(100% - 24px));
  margin: 24px auto 32px;
  padding-top: 20px;
  padding-bottom: 28px;
  position: relative;
  z-index: 1;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px;
}

.admin-hero {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.admin-hero h1 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink-deep);
}

.admin-hero p {
  margin: 0;
  max-width: 900px;
  color: var(--muted);
  line-height: 1.8;
}

.admin-message {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  line-height: 1.6;
}

.admin-message-error {
  background: rgba(193, 89, 35, 0.12);
  border-color: rgba(193, 89, 35, 0.18);
  color: #8b3a15;
}

.admin-message-success {
  background: rgba(54, 93, 70, 0.12);
  border-color: rgba(54, 93, 70, 0.18);
  color: #21412f;
}

.admin-section {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(61, 89, 67, 0.1);
}

.admin-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.03;
  color: var(--ink-deep);
}

.admin-intro {
  margin: 0;
  max-width: 860px;
  color: var(--muted);
  line-height: 1.75;
}

.admin-filter-bar {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(61, 89, 67, 0.1);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 34px rgba(31, 53, 40, 0.06);
}

.admin-filter-search {
  max-width: 420px;
}

.admin-filter-search .admin-control {
  background: rgba(255, 255, 255, 0.96);
}

.admin-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(61, 89, 67, 0.14);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.admin-filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(61, 89, 67, 0.24);
}

.admin-filter-chip:focus-visible,
.admin-card-summary:focus-visible {
  outline: 3px solid rgba(223, 122, 57, 0.32);
  outline-offset: 3px;
}

.admin-filter-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #f7f2ea;
  box-shadow: 0 12px 24px rgba(36, 75, 53, 0.18);
}

.admin-filter-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.admin-stat-card {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 22px;
}

.admin-stat-card strong {
  font-size: clamp(1.45rem, 2.2vw, 2.4rem);
  line-height: 1;
  color: var(--ink-deep);
}

.admin-stat-card span {
  color: var(--muted);
  line-height: 1.6;
}

.admin-user-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-route-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.admin-user-card,
.admin-bottle-card {
  overflow: hidden;
}

.admin-user-card {
  display: block;
  padding: 0;
}

.admin-user-card.is-attention,
.admin-bottle-card.is-attention {
  border-color: rgba(223, 122, 62, 0.2);
  box-shadow: 0 20px 38px rgba(223, 122, 62, 0.08);
}

.admin-card-summary {
  display: grid;
  gap: 14px;
  padding: 20px 22px 18px;
  cursor: pointer;
  list-style: none;
  outline: none;
}

.admin-card-summary::-webkit-details-marker {
  display: none;
}

.admin-card-summary-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.admin-card-summary-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-card-summary-copy h3 {
  margin: 4px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 1.8vw, 1.8rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink-deep);
}

.admin-card-summary-note,
.admin-bottle-preview {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

.admin-card-summary-note {
  font-size: 0.95rem;
}

.admin-card-summary-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(61, 89, 67, 0.08);
}

.admin-card-summary-meta {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.admin-card-summary-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(61, 89, 67, 0.08);
  color: var(--ink-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-card-body {
  display: grid;
  gap: 16px;
  padding: 0 22px 22px;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.admin-card-head h3 {
  margin: 4px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.9vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink-deep);
}

.admin-user-email,
.admin-route-key {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.admin-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-badge.is-admin {
  background: rgba(54, 93, 70, 0.14);
  border-color: rgba(54, 93, 70, 0.16);
  color: var(--green);
}

.admin-badge.is-user {
  background: rgba(61, 89, 67, 0.08);
  border-color: rgba(61, 89, 67, 0.12);
  color: var(--muted);
}

.admin-badge.is-active {
  background: rgba(54, 93, 70, 0.14);
  border-color: rgba(54, 93, 70, 0.16);
  color: var(--green);
}

.admin-badge.is-pending {
  background: rgba(216, 119, 62, 0.14);
  border-color: rgba(216, 119, 62, 0.18);
  color: var(--orange-deep);
}

.admin-badge.is-blocked {
  background: rgba(193, 89, 35, 0.14);
  border-color: rgba(193, 89, 35, 0.18);
  color: #8b3a15;
}

.admin-badge.is-unknown {
  background: rgba(125, 140, 120, 0.14);
  border-color: rgba(125, 140, 120, 0.18);
  color: var(--soft);
}

.admin-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-meta-grid div {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(61, 89, 67, 0.08);
}

.admin-meta-grid span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.admin-meta-grid strong {
  display: block;
  color: var(--ink-deep);
  line-height: 1.55;
}

.admin-meta-wide {
  grid-column: 1 / -1;
}

.admin-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(216, 119, 62, 0.12);
  border: 1px solid rgba(216, 119, 62, 0.18);
  color: var(--ink-deep);
  line-height: 1.7;
}

.admin-user-form,
.admin-route-form {
  display: grid;
  gap: 12px;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field-wide {
  grid-column: 1 / -1;
}

.admin-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.admin-control {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(49, 75, 54, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  outline: none;
}

.admin-control:focus {
  border-color: rgba(223, 119, 62, 0.54);
  box-shadow: 0 0 0 4px rgba(223, 119, 62, 0.16);
}

.admin-textarea {
  min-height: 96px;
  padding: 14px;
  line-height: 1.7;
  resize: vertical;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-submit {
  min-width: 160px;
}

.admin-helper {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 18px;
}

.admin-route-card-new {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 242, 228, 0.96));
}

.admin-route-builder {
  display: grid;
  gap: 18px;
}

.admin-route-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

@media (min-width: 1500px) {
  .admin-route-builder-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.admin-route-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(61, 89, 67, 0.08);
  background: rgba(255, 255, 255, 0.52);
  align-self: start;
}

.admin-route-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.admin-route-panel-head h4 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--ink-deep);
}

.admin-route-dropzone {
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 2px;
  border-radius: 18px;
  border: 1px dashed rgba(61, 89, 67, 0.12);
  background: rgba(255, 255, 255, 0.26);
  overflow: visible;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.admin-route-dropzone.is-dragover {
  border-color: rgba(223, 119, 62, 0.58);
  background: rgba(255, 248, 236, 0.94);
  box-shadow: inset 0 0 0 1px rgba(223, 119, 62, 0.12);
}

.admin-route-dropzone.is-empty {
  opacity: 0.94;
}

.route-location-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(61, 89, 67, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 242, 228, 0.9));
  box-shadow: 0 8px 20px rgba(61, 89, 67, 0.04);
  text-align: left;
  color: inherit;
  cursor: grab;
  user-select: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.route-location-card:active {
  cursor: grabbing;
}

.route-location-card.is-dragging {
  opacity: 0.46;
  transform: scale(0.985);
}

.route-location-card--selected {
  border-color: rgba(223, 119, 62, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(253, 244, 233, 0.92));
}

.route-location-card--available {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 242, 233, 0.9));
}

.route-location-card--fixed {
  cursor: default;
  border-style: solid;
  background: linear-gradient(180deg, rgba(243, 238, 225, 0.92), rgba(235, 227, 212, 0.94));
  box-shadow: none;
}

.route-location-card.is-missing {
  border-style: dashed;
}

.route-location-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.route-location-card-title {
  display: grid;
  gap: 4px;
}

.route-location-card-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.route-location-card h5 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink-deep);
}

.route-location-card-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.route-location-card-meta-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.route-location-card-meta-text code {
  font-size: 0.76rem;
}

.route-location-meta-sep {
  display: inline-block;
  padding: 0 8px;
  color: var(--soft);
}

.route-location-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
}

.route-location-action.button-primary {
  background: var(--orange);
  color: #fff;
  border-color: rgba(193, 89, 35, 0.18);
}

.route-location-action.button-accent {
  background: var(--green);
  color: #fff;
  border-color: rgba(54, 93, 70, 0.18);
}

.route-location-action.is-locked {
  background: rgba(61, 89, 67, 0.08);
  border-color: rgba(61, 89, 67, 0.08);
  color: var(--muted);
  cursor: default;
}

.route-location-action:hover {
  transform: translateY(-1px);
}

.route-location-action.is-locked:hover {
  transform: none;
}

.admin-location-map-form {
  display: grid;
  gap: 18px;
}

.admin-location-map-editor {
  display: grid;
  gap: 18px;
}

.admin-location-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-location-map-stage,
.admin-location-map-list {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(61, 89, 67, 0.08);
  background: rgba(255, 255, 255, 0.54);
  align-self: start;
}

.admin-location-map-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.admin-location-map-panel-head h3 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.admin-location-map-board {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  min-height: 711px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(61, 89, 67, 0.1);
  background:
    linear-gradient(180deg, rgba(247, 240, 223, 0.32), rgba(247, 240, 223, 0.72)),
    url("assets/landkaart.webp") center center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 36px rgba(31, 53, 40, 0.08);
  overflow: hidden;
}

.admin-location-map-board::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 28%, rgba(54, 93, 70, 0.08), transparent 16%),
    radial-gradient(circle at 76% 24%, rgba(54, 93, 70, 0.06), transparent 14%),
    repeating-linear-gradient(0deg, rgba(61, 89, 67, 0.03) 0, rgba(61, 89, 67, 0.03) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(90deg, rgba(61, 89, 67, 0.03) 0, rgba(61, 89, 67, 0.03) 1px, transparent 1px, transparent 18px);
  opacity: 0.58;
  pointer-events: none;
}

.admin-location-map-board .route-map-path {
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  opacity: 0.8;
}

.admin-location-map-board .route-map-path polyline {
  stroke: rgba(54, 93, 70, 0.24);
  stroke-width: 1.8;
}

.admin-map-marker {
  position: absolute;
  left: var(--node-x);
  top: var(--node-y);
  z-index: 1;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 6px;
  max-width: 220px;
  padding: 10px 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(61, 89, 67, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 24px rgba(31, 53, 40, 0.08);
  text-align: left;
  color: inherit;
  cursor: grab;
  user-select: none;
  backdrop-filter: blur(8px);
  overflow: visible;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease,
    border-color 160ms ease;
}

.admin-map-marker:hover,
.admin-map-marker:focus-visible {
  box-shadow: 0 18px 32px rgba(31, 53, 40, 0.12);
}

.admin-map-marker.is-dragging {
  cursor: grabbing;
  z-index: 3;
  transform: translate(-50%, -50%) scale(1.02);
  opacity: 0.9;
}

.admin-map-marker.is-missing {
  opacity: 0.68;
  border-style: dashed;
}

.admin-map-marker-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #365d46;
  border: 3px solid #f8f2e5;
  box-shadow:
    0 0 0 6px rgba(54, 93, 70, 0.14),
    0 10px 20px rgba(36, 75, 53, 0.16);
}

.admin-map-marker-label {
  color: var(--ink-deep);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.admin-map-marker-state {
  color: rgba(36, 75, 53, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-map-marker-tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 2;
  width: min(240px, 32vw);
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(25, 41, 31, 0.94);
  color: #f7f1e6;
  font-size: 0.82rem;
  line-height: 1.55;
  box-shadow: 0 18px 34px rgba(22, 32, 22, 0.24);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.admin-map-marker:hover .admin-map-marker-tooltip,
.admin-map-marker:focus-visible .admin-map-marker-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.admin-location-map-cards {
  display: grid;
  gap: 12px;
  max-height: 820px;
  overflow: auto;
  padding-right: 2px;
}

.admin-location-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(61, 89, 67, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 242, 228, 0.94));
  box-shadow: 0 10px 24px rgba(61, 89, 67, 0.04);
}

.admin-location-card.is-placeholder {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.78);
}

.admin-location-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-location-card-grid .admin-field-wide {
  grid-column: 1 / -1;
}

.admin-location-card-coordinates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-location-card .admin-user-email {
  max-width: 620px;
}

.admin-preview {
  display: grid;
  gap: 10px;
}

.admin-bottle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-bottle-card {
  display: block;
  padding: 0;
}

.admin-bottle-body {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(61, 89, 67, 0.08);
}

.admin-bottle-text {
  margin: 0;
  color: var(--ink-deep);
  line-height: 1.8;
  white-space: pre-wrap;
}

.admin-bottle-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-bottle-actions form {
  margin: 0;
}

.admin-bottle-actions .admin-submit {
  min-width: 180px;
}

.admin-bottle-empty {
  padding: 22px;
}

.dashboard-admin-note {
  max-width: 900px;
}

@media (max-width: 1180px) {
  .admin-route-grid {
    grid-template-columns: 1fr;
  }

  .admin-location-map-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .admin-card-head {
    flex-direction: column;
  }

  .admin-badge-row {
    justify-content: flex-start;
  }

  .admin-meta-grid {
    grid-template-columns: 1fr;
  }

  .admin-route-grid {
    grid-template-columns: 1fr;
  }

  .admin-bottle-grid {
    grid-template-columns: 1fr;
  }

  .admin-card-summary-main {
    flex-direction: column;
  }

  .admin-card-summary-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-location-map-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-location-card-grid,
  .admin-location-card-coordinates {
    grid-template-columns: 1fr;
  }

  .admin-location-map-board {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .admin-shell {
    width: min(100% - 16px, 100%);
    padding-top: 14px;
  }

  .admin-topbar {
    flex-wrap: wrap;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-user-grid,
  .admin-route-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    padding: 20px;
  }

  .admin-form-actions {
    justify-content: stretch;
  }

  .admin-submit {
    width: 100%;
    min-width: 0;
  }

  .dashboard-admin {
    width: 100%;
  }

  .route-location-card {
    padding: 14px;
  }

  .admin-bottle-actions {
    justify-content: stretch;
  }

  .admin-bottle-actions form,
  .admin-bottle-actions .admin-submit {
    width: 100%;
  }

  .admin-filter-bar {
    padding: 14px;
  }

  .admin-filter-search {
    max-width: none;
  }

  .admin-card-summary {
    padding: 16px 16px 14px;
  }

  .admin-card-body {
    padding: 0 16px 16px;
  }

  .admin-location-map-stage,
  .admin-location-map-list {
    padding: 14px;
  }

  .admin-location-map-board {
    min-height: 440px;
    padding: 14px;
  }

  .admin-map-marker {
    max-width: 170px;
    padding: 9px 10px 10px;
  }

  .admin-location-map-cards {
    max-height: none;
  }
}
