:root {
    --purple: rgb(76,57,111);
    --purple-deep: color-mix(in oklch, var(--purple) 78%, black);
    --purple-muted: color-mix(in oklch, var(--purple) 60%, white);
    --purple-pale: color-mix(in oklch, var(--purple) 18%, white);
    --purple-badge-bg: rgb(249,245,255);
    --purple-badge-bd: rgb(233,215,254);
    --cream: rgb(251,247,236);
    --cream-line: rgb(244,234,204);
    --coral: rgb(223,112,94);
    --serif: "Newsreader", "Source Serif 4", Georgia, serif;
    --sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: #fff; }
  body {
    font-family: var(--sans);
    color: var(--purple-deep);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  .canvas {
    position: relative;
    width: 1440px;
    height: 3692px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
  }

  .section {
    position: absolute;
    left: 10px;
    width: 1420px;
    border-radius: 16px;
    overflow: hidden;
  }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 24px;
    border-radius: 100px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
  }
  .btn--coral { background: var(--coral); color: #fff; }
  .btn--purple { background: var(--purple); color: #fff; }
  .btn--ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
  .btn--coral { transition: background 0.15s ease; }
  .btn--coral:hover { background: color-mix(in oklch, var(--coral) 88%, black); }
  .btn--purple { transition: background 0.15s ease; }
  .btn--purple:hover { background: color-mix(in oklch, var(--purple) 88%, black); }
  .btn--ghost-light { transition: background 0.15s ease, border-color 0.15s ease; }
  .btn--ghost-light:hover { background: #fff; color: var(--purple); border-color: #fff; }

  /* Badges */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    background: var(--purple-badge-bg);
    border: 1px solid var(--purple-badge-bd);
    border-radius: 16px;
    color: var(--purple);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
  }
  .badge .badge-pill {
    background: #fff;
    border: 1px solid var(--purple-badge-bd);
    border-radius: 16px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 18px;
  }
  .badge--plain {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--cream-line);
    border-radius: 16px;
    padding: 6px 10px;
    color: var(--coral);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
  }

  /* ─── 1. Hero (purple) ─── */
  .hero { top: 10px; height: 860px; background: var(--purple); }
  .hero-inner { position: absolute; inset: 20px 64px 0 64px; }
  .nav {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 36px;
  }
  .nav-menu a {
    color: #fff;
    text-decoration: none;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -0.005em;
    opacity: 0.85;
    transition: opacity 0.15s ease;
  }
  .nav-menu a:hover { opacity: 1; }
  .logo {
    color: #fff;
    line-height: 1.1;
    width: 139px;
    text-decoration: none;
  }
  .logo .l1 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 27.96px;
    letter-spacing: -0.035em;
    display: block;
    text-align: left;
  }
  .logo .l2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 17px;
    display: block;
    text-align: right;
  }
  .hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 818px;
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 80px;
    line-height: 1;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 32px 0 0;
  }
  .hero p.lede {
    margin: 32px 0 0;
    max-width: 573px;
    color: #fff;
    opacity: 0.7;
    font-size: 18px;
    line-height: 1.6;
  }
  .hero-cta { margin-top: 64px; display: flex; gap: 20px; }

  /* Lupines */
  .lupine { position: absolute; pointer-events: none; }
  .lupine svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .hero-lupine {
    top: 60px;
    right: 56px;
    width: 404px;
    height: 770px;
    pointer-events: none;
  }
  .hero-lupine img { width: 100%; height: 100%; display: block; }

  /* ─── 2. Stories (cream) ─── */
  .stories { top: 880px; height: 2052px; background: var(--cream); }
  .stories-inner { position: absolute; inset: 128px 54px 168px 54px; }
  .stories-head {
    display: grid;
    grid-template-columns: 528px 1fr;
    gap: 144px;
    align-items: start;
    margin-bottom: 96px;
  }
  .stories-head h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--purple-deep);
    margin: 0;
    max-width: 528px;
  }
  .stories-head p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--purple-deep);
    opacity: 0.7;
    margin: 8px 0 0;
    max-width: 528px;
  }
  .stories-list {
    margin-left: 336px;
    max-width: 976px;
  }
  .story-row {
    display: grid;
    grid-template-columns: 302px 641px;
    column-gap: 33px;
    padding: 42px 0;
    border-top: 1px solid var(--cream-line);
  }
  .story-row:last-of-type { border-bottom: 1px solid var(--cream-line); }
  .story-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .story-meta .row-title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--purple);
    max-width: 272px;
  }
  .story-meta .age {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.1;
    color: var(--purple);
    margin: 0;
    margin-top: -2px;
  }
  .story-meta .badge--plain { margin-top: 2px; }
  .story-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .story-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--purple-deep);
    opacity: 0.7;
  }

  .story-date {
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.4;
    color: var(--purple);
    opacity: 0.55;
    margin-top: 4px;
  }
  .story-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coral);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s ease;
  }
  .story-link:hover { opacity: 1; }
  .story-link svg { width: 10px; height: 10px; }

  /* Pagination */
  .pagination {
    margin-left: 336px;
    margin-top: 64px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid rgba(244,234,204,0.7);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 2px 4px -2px rgba(76,57,111,0.08);
  }
  .pagination-wrap {
    display: flex;
    justify-content: center;
  }
  .pg-arrow {
    width: 38px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--purple);
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .pg-arrow.disabled { color: rgba(46,35,67,0.4); cursor: default; }
  .pg-arrow svg { width: 7px; height: 11px; }
  .pg-num {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: transparent;
    color: var(--purple);
    font-family: var(--sans);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    border: 0;
    cursor: pointer;
    text-decoration: none;
  }
  .pg-num.active {
    background: var(--purple);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 4px -2px rgba(76,57,111,0.2);
  }
  .pg-num.ellipsis { cursor: default; }

  .stories-lupine {
    position: absolute;
    left: -80px;
    top: 200px;
    width: 274px;
    height: 808px;
    color: var(--purple);
    pointer-events: none;
  }
  .stories-lupine img { width: 100%; height: 100%; display: block; }

  /* ─── 3. Bottom CTA + 2026 ─── */
  .bottom { top: 2942px; height: 648px; background: var(--purple); }
  .bottom-card {
    position: absolute;
    left: 54px; top: 54px;
    width: 1312px; height: 162px;
    background: var(--coral);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px;
  }
  .bottom-card h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #fff;
    max-width: 800px;
  }
  .bottom-cta { display: flex; gap: 20px; }
  .year {
    position: absolute;
    left: 54px;
    top: 235px;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 500px;
    line-height: 1.1;
    letter-spacing: -0.036em;
    color: var(--purple-muted);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
  }
  .bottom-lupine {
    position: absolute;
    left: 475px;
    top: 401px;
    width: 133px;
    height: 247px;
    z-index: 2;
    pointer-events: none;
  }
  .bottom-lupine img { width: 100%; height: 100%; display: block; }

  /* Scaler */
  html, body { overflow-x: hidden; }
  body { background: #fff; }
  .viewport-host {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  .scaler {
    position: absolute;
    left: 50%;
    margin-left: -720px;
    width: 1440px;
    transform-origin: top center;
  }

  /* ════════════════════════════════════════════════════════
     FLUID LAYOUT — at/below 1024px
     ════════════════════════════════════════════════════════ */
  @media (max-width: 1024px) {
    .viewport-host { height: auto !important; overflow: visible !important; }
    .scaler {
      position: static !important;
      left: auto !important;
      margin-left: 0 !important;
      width: 100% !important;
      transform: none !important;
    }
    body { height: auto !important; }

    .canvas { width: 100%; height: auto; overflow: visible; padding: 10px; }
    .section {
      position: relative !important;
      top: auto !important;
      left: 0 !important;
      width: 100% !important;
      height: auto !important;
      border-radius: 16px;
      margin-bottom: 10px;
    }
    .section:last-of-type { margin-bottom: 0; }
    .btn { height: 52px; font-size: 15px; padding: 0 22px; }

    /* Hero */
    .hero { padding: 20px 0 64px; }
    .hero-inner { position: relative; inset: auto; padding: 0 24px; }
    .nav { height: auto; padding-top: 4px; }
    .logo { width: auto; }
    .logo .l1 { font-size: 22px; }
    .logo .l2 { font-size: 13px; }
    .hero-content { position: relative; top: auto; left: auto; transform: none; width: 100%; margin-top: 56px; }
    .hero h1 { font-size: 56px; margin-top: 24px; max-width: none; }
    .hero p.lede { font-size: 16px; margin-top: 20px; max-width: none; }
    .hero-cta { margin-top: 32px; flex-direction: column; gap: 12px; }
    .hero-cta .btn { width: 100%; }
    .hero-lupine { top: 280px; right: -40px; width: 220px; height: 420px; opacity: 0.18; }

    /* Stories */
    .stories { padding: 64px 0 80px; position: relative; }
    .stories-inner { position: relative; inset: auto; padding: 0 24px; }
    .stories-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
    .stories-head h2 { font-size: 36px; max-width: none; }
    .stories-head p { font-size: 15px; max-width: none; }
    .stories-list { margin-left: 0; max-width: none; }
    .story-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
    .story-meta .row-title { font-size: 26px; max-width: none; }
    .story-row p { font-size: 15px; }
    .stories-lupine { display: none; }
    .pagination { margin-left: 0; }
    .pagination-wrap { justify-content: center; }

    /* Bottom */
    .bottom { padding: 32px 0 48px; }
    .bottom-card {
      position: relative; left: 0; top: 0;
      width: calc(100% - 32px);
      margin: 0 16px;
      height: auto;
      padding: 28px 24px;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }
    .bottom-card h2 { font-size: 36px; max-width: none; }
    .bottom-cta { flex-direction: column; gap: 12px; width: 100%; }
    .bottom-cta .btn { width: 100%; }
    .year {
      position: relative; left: 0; top: 0;
      width: 100%;
      margin-top: 32px;
      padding: 0 16px;
      font-size: clamp(140px, 50vw, 200px);
      letter-spacing: -0.05em;
      text-align: left;
      overflow: hidden;
      white-space: normal;
    }
    .bottom-lupine { display: none; }
    /* Footer (mobile) */
    .footer {
      position: relative !important;
      left: 0 !important; top: 0 !important;
      width: 100% !important;
      padding: 24px 14px !important;
      font-size: 14px !important;
    }
    .footer-disclaimer { font-size: 12px; }
    .footer-row { padding-bottom: 0; flex-wrap: wrap; gap: 12px; }
    .footer .links { gap: 20px; }

  }

  /* Tablet enhancements */
  @media (min-width: 641px) and (max-width: 1024px) {
    .hero-inner,
    .stories-inner { padding-left: 48px !important; padding-right: 48px !important; }
    .bottom-card { width: calc(100% - 96px) !important; margin: 0 48px !important; padding: 40px 40px !important; flex-direction: row !important; align-items: center !important; }
    .bottom-card h2 { max-width: 60% !important; font-size: 44px !important; }
    .bottom-cta { flex-direction: row !important; width: auto !important; }
    .bottom-cta .btn { width: auto !important; }

    .hero h1 { font-size: 72px !important; }
    .hero-cta { flex-direction: row !important; }
    .hero-cta .btn { width: auto !important; }
    .hero-lupine { display: block; top: 200px !important; right: -20px !important; width: 320px !important; height: 560px !important; opacity: 0.18 !important; }

    .stories-head { grid-template-columns: 1fr 1fr !important; gap: 48px !important; margin-bottom: 64px !important; }
    .stories-head h2 { font-size: 48px !important; }
    .story-row { grid-template-columns: 280px 1fr !important; column-gap: 32px !important; gap: 32px !important; }
    .story-meta .row-title { font-size: 26px !important; }
    .pagination-wrap { justify-content: flex-start !important; }
  }
  .footer {
    position: absolute;
    left: 64px;
    top: 3600px;
    width: 1312px;
    padding: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 16px;
    color: var(--purple);
  }
  .footer-disclaimer {
    margin: 0;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
    color: var(--purple);
    opacity: 0.7;
    max-width: 880px;
  }
  .footer-disclaimer a { color: var(--coral); text-decoration: none; border-bottom: 1px solid currentColor; }
  .footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
  }
  .footer .links { display: flex; gap: 28px; }
  .footer a { color: var(--purple); text-decoration: none; }
