    :root {
      --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
      --bg: #ffffff;
      --ink: #1f4343;
      --ink-inverse: #ffffff;
      /* icons/small UI text on dark surfaces (footer, filled buttons, hero-contact) */
      --ink-inverse-soft: #efece6;
      /* body copy on dark surfaces — softer than pure white, easier to read at length */
      --paper: #ffffff;
      --accent: #c0512f;
      /* warm terracotta accent */
      --line: rgba(31, 67, 67, 0.16);
      --bookH: min(46vh, 430px);
      --spineW: clamp(36px, 3.4vw, 50px);
      --ease: cubic-bezier(0.16, 1, 0.3, 1);

      /* ---------- Type scale ---------- */
      --fs-display: clamp(40px, 7vw, 92px);
      /* hero wordmark */
      --fs-h1: clamp(40px, 4.5vw, 86px);
      --fs-h2: clamp(34px, 4.5vw, 64px);
      --fs-h3: clamp(22px, 2.6vw, 30px);
      --fs-h4: 18px;
      --fs-lead: clamp(16px, 1.5vw, 19px);
      --fs-body: 18px;
      --fs-small: 14px;
      --fs-eyebrow: 11px;
      /* Small-scale (UI chrome: nav, buttons, cards, footer) — fills the
         gap between --fs-eyebrow and --fs-small/--fs-h4. */
      --fs-3xs: 10px;
      --fs-xs: 12px;
      --fs-sm: 13px;
      --fs-md: 15px;
      --fs-lg: 16px;

      /* ---------- Radius scale ---------- */
      --radius-2xs: 2px;
      --radius-xs: 6px;
      --radius-sm: 10px;
      --radius-md: 16px;
      --radius-lg: 20px;
      --radius-pill: 30px;

      /* ---------- Spacing scale ---------- */
      /* Numbered (not semantic) — this codebase's spacing grew organically
         per-component rather than from a system, so these are the actual
         repeated values rather than an idealized geometric scale. */
      --space-1: 2px;
      --space-2: 8px;
      --space-3: 10px;
      --space-4: 12px;
      --space-5: 14px;
      --space-6: 16px;
      --space-7: 20px;
      --space-8: 22px;
      --space-9: 24px;
      --space-10: 26px;
      --space-11: 28px;
      --space-12: 30px;
      --space-13: 36px;
      --space-14: 40px;
      /* line heights */
      --lh-display: 0.92;
      --lh-tight: 0.95;
      --lh-snug: 1.25;
      --lh-body: 1.8;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-hyphens: none;
      -ms-hyphens: none;
      hyphens: none;
    }

    html {
      scroll-behavior: smooth;
      font-family: var(--font);
    }

    /* Global font — every element inherits Plus Jakarta Sans, incl. form controls */
    button,
    input,
    select,
    textarea {
      font-family: inherit;
    }

    body {
      font-family: var(--font);
      font-size: var(--fs-body);
      line-height: var(--lh-body);
      font-weight: 500;
      background: var(--bg);
      color: var(--ink);
      transition: background 0.8s var(--ease), color 0.8s var(--ease);
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
    }

    /* Keyboard focus — visible everywhere, styled everywhere */
    :focus-visible {
      outline: 2.5px solid var(--accent);
      outline-offset: 3px;
      border-radius: 3px;
    }

    /* Skip link — hidden until focused, first tab stop on every page */
    .skip-link {
      position: absolute;
      top: -100%;
      left: 1rem;
      z-index: 9999;
      padding: 0.6rem 1.2rem;
      background: var(--ink);
      color: var(--ink-inverse);
      text-decoration: none;
      font-size: var(--fs-sm);
      font-weight: 600;
      border-radius: 0 0 var(--radius-sm) var(--radius-sm);
      transition: top 0.2s var(--ease);
    }

    .skip-link:focus {
      top: 0;
    }

    /* ============================================================
       TYPOGRAPHY SYSTEM
       Semantic elements carry the type scale. Markup uses bare
       <h1>–<h4>, <p>, etc.; context-specific tweaks live in the
       relevant component, scoped to its container (not utility
       classes on the element).
       ============================================================ */
    h1,
    h2,
    h3,
    h4 {
      font-family: var(--font);
      font-weight: 500;
      letter-spacing: -0.01em;
      line-height: var(--lh-snug);
    }

    h1 {
      font-size: var(--fs-h1);
      line-height: var(--lh-tight);
    }

    h2 {
      font-size: var(--fs-h2);
      line-height: 1;
    }

    h3 {
      font-size: var(--fs-h3);
      font-weight: 700;
    }

    h4 {
      font-size: var(--fs-h4);
      font-weight: 700;
    }

    p {
      font-family: var(--font);
      font-size: var(--fs-body);
      line-height: var(--lh-body);
      font-weight: 500;
    }

    small {
      font-size: var(--fs-small);
    }

    /* Lead paragraph — larger intro copy */
    .lead {
      font-size: var(--fs-lead);
      line-height: 1.7;
      max-width: 60ch;
      margin-top: var(--space-8);
      opacity: 0.85;
      margin-bottom: var(--space-12);
    }

    /* Eyebrow / overline label */
    .eyebrow,
    .eyebrow-lbl {
      font-size: var(--fs-eyebrow);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      font-weight: 600;
    }

    .eyebrow-lbl {
      color: var(--accent);
    }

    /* ---------- Header (global, fixed) ---------- */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 80;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 22px 34px;
      font-size: var(--fs-xs);
      letter-spacing: 0.16em;
      font-weight: 700;
      text-transform: uppercase;
      background: transparent;
      transition: color 0.5s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    }

    /* White background once the page is scrolled */
    .site-header.scrolled {
      background: var(--bg);
      box-shadow: 0 1px 0 rgba(31, 67, 67, 0.1), 0 6px 20px rgba(31, 67, 67, 0.06);
    }

    .wordmark {
      font-weight: 800;
      text-decoration: none;
      letter-spacing: 0.12em;
      display: flex;
      align-items: center;
    }

    .wordmark img {
      height: 44px;
      width: auto;
      display: block;
    }

    .menu {
      display: flex;
      gap: var(--space-10);
      align-items: center;
    }

    .menu>a,
    .menu-item>a {
      color: inherit;
      text-decoration: none;
      opacity: 0.55;
      position: relative;
      transition: opacity 0.25s;
      white-space: nowrap;
    }

    .menu>a:hover,
    .menu-item>a:hover,
    .menu [data-route].active {
      opacity: 1;
    }

    .menu [data-route].active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -6px;
      height: 1.5px;
      background: currentColor;
    }

    .menu-item {
      position: relative;
      display: flex;
      align-items: center;
    }

    .has-sub>a::after {
      content: "▾";
      margin-left: 5px;
      font-size: var(--fs-3xs);
      opacity: 0.7;
      display: inline-block;
      transition: transform 0.25s;
    }

    .menu-item:hover.has-sub>a::after {
      transform: rotate(180deg);
    }

    .submenu {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      padding: 8px 0;
      min-width: 210px;
      background: var(--paper);
      color: var(--ink);
      border-radius: var(--radius-sm);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
      display: flex;
      flex-direction: column;
      opacity: 0;
      visibility: hidden;
      transform: translateY(6px);
      transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
      z-index: 60;
    }

    .submenu::before {
      content: "";
      position: absolute;
      top: -12px;
      left: 0;
      right: 0;
      height: 12px;
    }

    .menu-item:hover .submenu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .submenu a {
      opacity: 0.7;
      padding: 9px 18px;
      white-space: nowrap;
      text-decoration: none;
    }

    .submenu a:hover {
      opacity: 1;
    }

    /* Hamburger toggle — hidden on desktop, shown ≤860px */
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 42px;
      height: 42px;
      padding: 0;
      border: none;
      background: transparent;
      color: inherit;
      cursor: pointer;
      z-index: 90;
    }

    .nav-toggle span {
      display: block;
      width: 24px;
      height: 2px;
      background: currentColor;
      border-radius: var(--radius-2xs);
      transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
    }

    /* Off-canvas backdrop (inert until .show; only used on mobile) */
    .nav-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(31, 67, 67, 0.45);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s var(--ease);
      z-index: 65;
    }

    .nav-backdrop.show {
      opacity: 1;
      pointer-events: auto;
    }

    .wrap {
      max-width: none;
      margin: 0 auto;
      padding: 0 34px;
    }

    .section {
      padding-block: clamp(30px, 4vw, 110px);
    }

    [data-page="books"] .wrap.section { padding-top: 0; }
    [data-page="about"] .page-head { padding-bottom: 30px; }
    [data-page="about"] .wrap.section,
    [data-page="contact"] .wrap.section { padding-top: 20px; }

    .page-head {
      padding-top: 130px;
    }

    /* ---------- Home hero ---------- */
    .hero-stage {
      position: relative;
      height: 100vh;
      width: 100%;
      overflow: hidden;
      transition: background 0.8s var(--ease), color 0.8s var(--ease);
    }

    /* Right-side background image (smaller, flush right), faded at its edges */
    .hero-bg {
      position: absolute;
      opacity: 60%;
      right: 0;
      top: 44%;
      transform: translateY(-50%);
      width: 100%;
      height: 70%;
      z-index: 1;
      pointer-events: none;
      background: url("Images/Background.jpg") right center / cover no-repeat;
      -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 42%),
        linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
      -webkit-mask-composite: source-in;
      mask-image:
        linear-gradient(to right, transparent 0%, #000 42%),
        linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
      mask-composite: intersect;
    }


    .title {
      position: absolute;
      top: 17%;
      left: 0;
      right: 0;
      text-align: center;
      z-index: 10;
    }

    .title .eyebrow {
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      font-size: clamp(11px, 1.1vw, 14px);
      opacity: 0.85;
      pointer-events: none;
    }

    /* Hero wordmark — display variant of h1 */
    .title h1 {
      line-height: var(--lh-display);
      letter-spacing: -0.02em;
      font-size: var(--fs-display);
      margin-top: var(--space-2);
      font-weight: 800;
      pointer-events: none;
    }

    .hero-actions {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 60px;
      text-align: center;
      z-index: 25;
    }

    .shelf-wrap {
      position: absolute;
      bottom: 130px;
      left: 0;
      right: 0;
      width: auto;
      height: calc(var(--bookH) + 40px);
      z-index: 20;
      perspective: 2200px;
      perspective-origin: 50% 70%;
      cursor: grab;
      border-radius: var(--radius-xs);
    }

    @media (max-width: 860px) {
      .hero-bg { width: 100%; }
      .hero-bg::after { content: ""; }
      .shelf-wrap { width: 100%; }

      /* Prevent the off-canvas menu from creating horizontal scroll */
      body { overflow-x: hidden; }

      /* Tighter gutters on small screens (left/right only — keep vertical padding) */
      .site-header { padding: 16px 20px; }
      .wrap { padding-left: 20px; padding-right: 20px; }

      /* Smaller hero bookshelf so the active cover + spines fit */
      :root { --bookH: min(38vh, 320px); }

      /* ----- Hamburger / off-canvas nav ----- */
      .nav-toggle { display: flex; }

      .menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(82vw, 320px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: var(--space-1);
        padding: 92px 26px 28px;
        background: var(--paper);
        color: var(--ink);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
        overflow-y: auto;
        z-index: 70;
      }

      .site-header.nav-open .menu { transform: translateX(0); }

      .menu > a,
      .menu-item > a {
        font-size: var(--fs-lg);
        letter-spacing: 0.03em;
        text-transform: none;
        opacity: 0.85;
        padding: 12px 0;
        width: 100%;
      }

      .menu [data-route].active::after { display: none; }
      .menu [data-route].active { color: var(--accent); }

      .menu-item {
        display: block;
        width: 100%;
        align-items: stretch;
      }

      .has-sub > a::after { content: none; }

      .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        min-width: 0;
        padding: 0 0 6px 14px;
      }

      .submenu a {
        font-size: var(--fs-small);
        padding: 8px 0;
      }

      /* Hamburger → X when open */
      .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
      .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
      .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    }

    /* Phones: keep the catalog a tidy 2-column grid (vs one oversized column) */
    @media (max-width: 560px) {
      #booksGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 14px;
      }
    }

    .shelf-wrap.dragging {
      cursor: grabbing;
    }

    .book {
      position: absolute;
      bottom: 24px;
      height: var(--bookH);
      transform-origin: left center;
      cursor: pointer;
      transition: left 0.7s var(--ease), width 0.7s var(--ease);
      will-change: left, width;
    }

    .leaf {
      position: relative;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      transform-origin: left center;
      transition: transform 0.7s var(--ease);
    }

    .book .leaf {
      transform: rotateY(-90deg);
    }

    .book.active .leaf {
      transform: rotateY(0deg);
    }

    .face {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      backface-visibility: hidden;
      transform-origin: left center;
      overflow: hidden;
      border-radius: var(--radius-xs);
      box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
      background: var(--book-bg);
      color: var(--book-fg);
    }

    .cover {
      width: var(--coverW);
      transform: rotateY(0deg);
      box-shadow: 6px 8px 30px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    }

    .cover.has-img {
      padding: 0;
    }

    .c-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .c-upcoming {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      text-align: center;
      padding: 30px 22px;
    }

    .c-upcoming::before {
      content: "";
      position: absolute;
      inset: 14px;
      border: 1px dashed currentColor;
      opacity: 0.45;
      pointer-events: none;
    }

    .c-up-tag {
      font-size: var(--fs-eyebrow);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      opacity: 0.75;
    }

    .c-up-mark {
      font-weight: 700;
      font-size: clamp(20px, 2.2vw, 30px);
      line-height: 1.1;
      margin: auto 0;
      letter-spacing: -0.01em;
    }

    .c-up-foot {
      font-size: var(--fs-eyebrow);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      opacity: 0.6;
    }

    .spine {
      width: var(--spineW);
      transform: rotateY(90deg);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 0;
      box-shadow: -3px 6px 14px rgba(0, 0, 0, 0.22);
    }

    .spine .s-title {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      font-weight: 600;
      font-size: clamp(11px, 1vw, 15px);
      letter-spacing: 0.03em;
      text-transform: uppercase;
      white-space: nowrap;
      overflow: hidden;
      max-height: 88%;
      margin: 0 auto;
    }

    /* ---------- Cards / grids ---------- */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: clamp(24px, 3vw, 40px);
    }

    .card {
      cursor: pointer;
    }

    .card-cover {
      position: relative;
      aspect-ratio: 3 / 4;
      border-radius: var(--radius-xs);
      overflow: hidden;
      background: var(--c, #ddd);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
      transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    }

    .card:hover .card-cover {
      transform: translateY(-6px);
      box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
    }

    .card-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .card-ph {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: var(--space-7);
      color: rgba(28, 26, 23, 0.55);
      font-size: var(--fs-eyebrow);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      border: 1px dashed rgba(28, 26, 23, 0.3);
      border-radius: var(--radius-xs);
    }

    .badge,
    .chip {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(0, 0, 0, 0.6);
      color: var(--ink-inverse);
      font-size: var(--fs-3xs);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-weight: 600;
      padding: 5px 9px;
      border-radius: var(--radius-lg);
    }

    .card-title {
      font-weight: 700;
      font-size: var(--fs-lg);
      line-height: var(--lh-snug);
      margin-top: var(--space-5);
      letter-spacing: -0.01em;
    }

    .card-author {
      font-family: var(--font);
      font-size: var(--fs-small);
      opacity: 0.7;
      margin-top: 3px;
    }

    .card-blurb {
      font-family: var(--font);
      font-size: var(--fs-small);
      line-height: 1.5;
      opacity: 0.75;
      margin-top: var(--space-2);
      max-width: 36ch;
    }

    /* ---------- Catalog item tag (Buku / Merch) ---------- */
    .card-tag {
      font-size: var(--fs-3xs);
      letter-spacing: 0.16em;
      text-transform: uppercase;
      font-weight: 700;
      color: var(--accent);
      margin-top: var(--space-5);
    }

    .card-tag + .card-title {
      margin-top: 4px;
    }

    .card-date {
      font-size: var(--fs-eyebrow);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      opacity: 0.55;
      margin-top: var(--space-5);
    }

    /* ---------- Story cards (shared: teaser + magazine) ---------- */
    /* Default: dark text on white. Hover: dark-teal block with white text. */
    #teaserGrid {
      grid-template-columns: repeat(3, 1fr);
      column-gap: 2px;
      row-gap: 36px;
    }

    .story-card {
      cursor: pointer;
      display: flex;
      flex-direction: column;
      background: transparent;
    }

    .sc-photo {
      position: relative;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      background: var(--c, #ddd);
    }

    .sc-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s var(--ease);
    }

    .story-card:hover .sc-photo img {
      transform: scale(1.05);
    }

    .sc-arrow {
      position: absolute;
      top: 14px;
      left: 14px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--ink);
      color: var(--ink-inverse);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: var(--fs-small);
      opacity: 0;
      transform: scale(0.8);
      transition: opacity 0.25s, transform 0.25s;
    }

    .story-card:hover .sc-arrow {
      opacity: 1;
      transform: scale(1);
    }

    .sc-body {
      padding: 20px 18px 24px;
      transition: background 0.3s var(--ease), color 0.3s var(--ease);
    }

    .sc-date {
      font-family: var(--font);
      font-size: var(--fs-xs);
      opacity: 0.55;
    }

    .sc-title {
      font-weight: 700;
      font-size: var(--fs-h4);
      line-height: 1.22;
      letter-spacing: -0.01em;
      margin-top: var(--space-2);
    }

    .sc-excerpt {
      font-family: var(--font);
      font-size: var(--fs-md);
      font-weight: 600;
      line-height: 1.55;
      opacity: 0.72;
      margin-top: var(--space-3);
    }

    .story-card:hover .sc-body {
      background: var(--ink);
      color: var(--ink-inverse);
    }

    .story-card:hover .sc-date,
    .story-card:hover .sc-excerpt {
      color: var(--ink-inverse);
      opacity: 0.62;
    }

    .story-card:hover .sc-title {
      color: var(--ink-inverse);
    }

    @media (max-width: 760px) {
      #teaserGrid {
        grid-template-columns: 1fr;
      }
    }

    /* ---------- Stories: magazine layout (BENT reference) ---------- */
    /* Full-bleed container: horizontal padding matches the header (34px) so the
       masthead aligns with the logo on the left and the nav on the right. */
    .mag-shell {
      background: var(--bg);
      padding: 0 0 80px;
      min-height: 100vh;
    }

    .magazine {
      width: 100%;
    }

    .mag-filterbar {
      padding: 0 34px;
    }

    #storiesGrid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      column-gap: 2px;
      row-gap: 36px;
      padding: 0 34px 50px;
    }

    .magazine .story-reader {
      padding: 120px 34px 56px;
      max-width: 840px;
    }

    @media (max-width: 760px) {
      #storiesGrid {
        grid-template-columns: 1fr;
        row-gap: 22px;
        padding: 0 20px 40px;
      }

      .mag-shell {
        padding: 0 0 50px;
      }
    }

    /* ---------- Stories filters / reader ---------- */
    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-3);
      margin: 40px 0;
    }

    .filter {
      font: inherit;
      font-size: var(--fs-xs);
      font-weight: 600;
      letter-spacing: 0.04em;
      cursor: pointer;
      background: transparent;
      border: 1.5px solid var(--ink);
      border-radius: var(--radius-pill);
      padding: 9px 18px;
      color: var(--ink);
      opacity: 0.8;
      transition: all 0.2s;
    }

    .filter:hover {
      opacity: 1;
      background: var(--ink);
      color: var(--ink-inverse);
    }

    .filter.active {
      background: var(--ink);
      color: var(--ink-inverse);
      border-color: var(--ink);
      opacity: 1;
    }

    .pagination {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: var(--space-2);
      padding: 10px 34px 50px;
    }

    .page-btn {
      font: inherit;
      font-size: var(--fs-sm);
      font-weight: 600;
      cursor: pointer;
      background: transparent;
      border: 1.5px solid var(--ink);
      border-radius: 50%;
      width: 34px;
      height: 34px;
      color: var(--ink);
      opacity: 0.8;
      transition: all 0.2s;
    }

    .page-btn:hover:not(:disabled) {
      opacity: 1;
      background: var(--ink);
      color: var(--ink-inverse);
    }

    .page-btn.active {
      background: var(--ink);
      color: var(--ink-inverse);
      border-color: var(--ink);
      opacity: 1;
    }

    .page-btn:disabled {
      opacity: 0.3;
      cursor: default;
    }

    .page-btn.page-nav {
      border-color: transparent;
      font-size: var(--fs-lg);
    }

    @media (max-width: 760px) {
      .pagination { padding: 10px 20px 40px; }
    }

    .story-reader {
      display: none;
      max-width: 760px;
      margin: 0 auto;
    }

    .story-reader.show {
      display: block;
    }

    .story-reader .chip {
      position: static;
      display: inline-block;
      background: var(--ink);
      margin-bottom: var(--space-7);
    }

    .back {
      display: block;
      background: none;
      border: none;
      cursor: pointer;
      font: inherit;
      font-size: var(--fs-lg);
      font-weight: 600;
      opacity: 0.7;
      margin-bottom: var(--space-11);
    }

    .back:hover {
      opacity: 1;
    }

    .reader-img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      border-radius: var(--radius-sm);
      margin: 26px 0;
    }

    /* Article headline inside the story reader */
    .story-reader h1 {
      font-weight: 200;
      font-size: clamp(30px, 4.5vw, 52px);
      line-height: 1.05;
      letter-spacing: -0.01em;
      margin: 14px 0;
    }

    /* ---------- About ---------- */
    .about-layout {
      display: grid;
      grid-template-columns: 230px 1fr;
      gap: clamp(30px, 5vw, 70px);
      align-items: start;
    }

    .about-nav {
      position: sticky;
      top: 110px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .about-nav a {
      text-decoration: none;
      font-size: var(--fs-small);
      font-weight: 600;
      padding: 10px 0;
      opacity: 0.5;
      border-bottom: 1px solid var(--line);
      transition: opacity 0.2s;
    }

    .about-nav a:hover {
      opacity: 0.85;
    }

    .about-nav a.active {
      opacity: 1;
      color: var(--accent);
    }

    .about-panel {
      display: none;
    }

    .about-panel.show {
      display: block;
    }

    .about-panel h2 {
      font-weight: 600;
      font-size: clamp(28px, 4vw, 52px);
      letter-spacing: -0.01em;
      line-height: 1;
      margin: 0 0 40px 0;
    }

    .about-panel h3 {
      font-weight: 700;
      font-size: var(--fs-h4);
      margin: 30px 0 10px;
    }

    .about-body {
      max-width: 62ch;
    }

    /* Reseller terms — row rhythm with a dot bullet */
    .reseller-terms {
      list-style: none;
      margin: var(--space-6) 0 var(--space-2);
      max-width: 60ch;
    }

    .reseller-terms li {
      position: relative;
      padding: var(--space-5) 0 var(--space-5) 22px;
      border-bottom: 1px solid var(--line);
      font-family: var(--font);
      font-size: var(--fs-lg);
      line-height: 1.6;
    }

    .reseller-terms li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 22px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
    }

    /* Reseller registration steps — numbered circle + title + description */
    .reseller-steps {
      list-style: none;
      counter-reset: reseller-step;
      margin: var(--space-6) 0 var(--space-2);
      max-width: 60ch;
      display: flex;
      flex-direction: column;
      gap: var(--space-6);
    }

    .reseller-steps li {
      counter-increment: reseller-step;
      position: relative;
      padding-left: 40px;
    }

    .reseller-steps li::before {
      content: counter(reseller-step);
      position: absolute;
      left: 0;
      top: 2px;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: var(--accent);
      color: var(--ink-inverse);
      font-size: var(--fs-xs);
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .reseller-steps li strong {
      display: block;
      font-family: var(--font);
      font-size: var(--fs-lg);
      margin-bottom: 4px;
    }

    .reseller-steps li p {
      margin: 0;
      opacity: 0.75;
    }

    .photo-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-4);
      margin: 26px 0;
    }

    .photo-strip div,
    .photo-strip a.ig-post {
      aspect-ratio: 1;
      border-radius: var(--radius-sm);
      overflow: hidden;
      display: block;
      position: relative;
    }

    .photo-strip a.ig-post::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0);
      transition: background 0.2s;
      pointer-events: none;
    }

    .photo-strip a.ig-post:hover::after {
      background: rgba(0, 0, 0, 0.15);
    }

    .photo-strip img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-4);
      margin-top: var(--space-11);
    }

    .btn {
      display: inline-block;
      text-align: center;
      text-decoration: none;
      cursor: pointer;
      padding: 14px 24px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      font-size: var(--fs-small);
      letter-spacing: 0.02em;
      transition: transform 0.15s, opacity 0.2s;
      border: none;
    }

    .btn:active {
      transform: scale(0.985);
    }

    .btn-primary {
      background: var(--accent);
      color: var(--ink-inverse);
    }

    .btn-primary:hover {
      opacity: 0.9;
    }

    /* Uppercase tracked "explore more" link style — hero CTA, section headers */
    .btn-ghost {
      background: transparent;
      color: var(--ink);
      font-size: var(--fs-xs);
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      border: 1.5px solid currentColor;
      padding: 11px 24px;
      opacity: 0.75;
      transition: opacity 0.2s, background 0.2s, color 0.2s;
    }

    .btn-ghost:hover {
      opacity: 1;
      background: var(--ink);
      color: var(--ink-inverse);
    }

    .btn-soon {
      background: rgba(0, 0, 0, 0.06);
      color: var(--ink);
      cursor: default;
      opacity: 0.75;
    }

    /* ---------- Contact ---------- */
    .contact-list {
      margin-top: var(--space-13);
      max-width: 700px;
    }

    .contact-list a {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: var(--space-7);
      text-decoration: none;
      padding: 26px 0;
      border-top: 1px solid var(--line);
      transition: padding 0.25s var(--ease);
    }

    .contact-list a:last-child {
      border-bottom: 1px solid var(--line);
    }

    .contact-list a:hover {
      padding-left: var(--space-3);
    }

    .contact-list .ctype {
      font-size: var(--fs-xs);
      letter-spacing: 0.16em;
      text-transform: uppercase;
      opacity: 0.5;
      font-weight: 600;
    }

    .contact-list .cval {
      font-weight: 300;
      font-size: clamp(20px, 3vw, 34px);
      letter-spacing: -0.01em;
    }

    /* ---------- Teaser (home Stories) — same style as Stories page ---------- */
    .teaser {
      background: var(--bg);
    }

    .teaser-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: var(--space-6);
      margin-bottom: var(--space-14);
    }

    /* ---------- Event cards (home teaser + full calendar page) ---------- */
    .events-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: clamp(10px, 1vw, 32px);
    }

    .event-card {
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
      text-align: left;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      overflow: hidden;
      background: var(--bg);
      transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    }

    .event-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
    }

    /* Top: text block — title + date, left-aligned */
    .ev-text {
      padding: 20px 18px 22px;
    }

    .ev-title {
      font-weight: 700;
      font-size: var(--fs-h4);
      line-height: 1.3;
      letter-spacing: -0.01em;
      height: 2.6em;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Date row: day + month/year side by side */
    .ev-date {
      display: flex;
      align-items: flex-start;
      gap: var(--space-3);
      margin-top: var(--space-8);
    }

    .ev-day {
      font-size: 48px;
      font-weight: 700;
      line-height: 0.85;
      letter-spacing: -0.02em;
    }

    .ev-monyear {
      display: flex;
      flex-direction: column;
      font-size: var(--fs-sm);
      font-weight: 600;
      line-height: 1.3;
      opacity: 0.65;
    }

    /* Bottom: poster photo, cropped */
    .ev-poster {
      position: relative;
      aspect-ratio: 16 / 11;
      background: var(--c, #ddd);
      overflow: hidden;
    }

    .ev-poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .ev-ph {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: rgba(255, 255, 255, 0.75);
      font-size: var(--fs-eyebrow);
      letter-spacing: 0.16em;
      text-transform: uppercase;
      font-weight: 600;
    }

    .home-contact {
      background: var(--ink);
      color: var(--ink-inverse-soft);
    }

    .home-contact .wrap {
      text-align: center;
      max-width: 760px;
    }

    .home-contact .eyebrow-lbl {
      color: rgba(255, 255, 255, 0.65);
    }

    .home-contact h2 {
      font-size: clamp(32px, 5vw, 60px);
      margin-top: var(--space-4);
    }

    .home-contact .lead {
      margin: 22px auto 0;
      opacity: 0.8;
    }

    .home-contact .cta-row {
      justify-content: center;
      margin-top: var(--space-12);
    }

    .btn-ghost-light {
      background: transparent;
      color: var(--ink-inverse);
      box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
    }

    .btn-ghost-light:hover {
      box-shadow: inset 0 0 0 1.5px var(--ink-inverse);
    }

    /* Outline pill on a light surface — same type treatment as .btn-primary,
       for pairing as an equal-weight secondary action (not the uppercase
       link-style .btn-ghost, which is for "explore more" links). */
    .btn-outline {
      background: transparent;
      color: var(--ink);
      box-shadow: inset 0 0 0 1.5px rgba(31, 67, 67, 0.35);
    }

    .btn-outline:hover {
      box-shadow: inset 0 0 0 1.5px var(--ink);
      background: var(--ink);
      color: var(--ink-inverse);
    }

    /* ---------- Footer ---------- */
    .site-footer {
      background: var(--ink);
      color: var(--ink-inverse-soft);
      padding: 60px 0 40px;
    }

    .site-footer .wrap {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: var(--space-12);
    }

    .site-footer .f-brand {
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-size: var(--fs-small);
    }

    .site-footer nav {
      display: flex;
      flex-direction: column;
      gap: var(--space-2);
      font-size: var(--fs-small);
    }

    .site-footer a {
      text-decoration: none;
      opacity: 0.7;
    }

    .site-footer a:hover {
      opacity: 1;
    }

    .site-footer p {
      opacity: 0.6;
      font-size: var(--fs-small);
      margin-top: var(--space-3);
      max-width: 34ch;
    }

    .site-footer .copyright-row {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: var(--space-3);
      margin-top: var(--space-12);
    }

    .site-footer .copyright {
      opacity: 0.45;
      font-size: var(--fs-xs);
    }

    .site-footer .footer-credit {
      opacity: 0.6;
      font-size: var(--fs-small);
    }

    .site-footer .footer-credit .heart {
      color: var(--accent);
    }

    /* ---------- Detail modal (book) ---------- */
    .backdrop {
      position: fixed;
      inset: 0;
      z-index: 90;
      background: rgba(31, 67, 67, 0);
      pointer-events: none;
      transition: background 0.5s var(--ease);
    }

    .backdrop.open {
      background: rgba(31, 67, 67, 0.42);
      pointer-events: auto;
    }

    .modal-wrap {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: var(--space-9);
      pointer-events: none;
    }

    .modal {
      position: relative;
      display: flex;
      width: min(900px, 94vw);
      max-height: 86vh;
      background: var(--paper);
      color: var(--ink);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 40px 110px rgba(0, 0, 0, 0.45);
      opacity: 0;
      transition: opacity 0.45s var(--ease);
      pointer-events: none;
      --accent: var(--ink);
    }

    .modal-wrap.open .modal {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      z-index: 6;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      background: rgba(255, 255, 255, 0.88);
      color: var(--ink);
      font-size: var(--fs-h4);
      line-height: 1;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
      transition: background 0.2s;
    }

    .modal-close:hover {
      background: var(--bg);
    }

    .modal-cover {
      flex: 0 0 40%;
      align-self: stretch;
      background: var(--accent);
      overflow: hidden;
      transform: translateY(-100%);
      opacity: 0;
      transition: transform 0.6s var(--ease) 0.05s, opacity 0.5s var(--ease) 0.05s;
    }

    .modal-wrap.open .modal-cover {
      transform: translateY(0);
      opacity: 1;
    }

    .modal-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .modal-cover .ph {
      width: 100%;
      height: 100%;
      min-height: 340px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: var(--space-4);
      background: var(--book-bg);
      color: var(--book-fg);
      text-align: center;
      padding: var(--space-11);
    }

    .modal-cover .ph b {
      font-weight: 700;
      font-size: var(--fs-h3);
    }

    .modal-cover .ph span {
      font-size: var(--fs-eyebrow);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      opacity: 0.85;
    }

    /* Merch detail: photo slider (reuses .modal-cover sizing) */
    .slider {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .slider-track {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.4s var(--ease);
    }

    .slide {
      flex: 0 0 100%;
      height: 100%;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 5;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      background: rgba(255, 255, 255, 0.88);
      color: var(--ink);
      font-size: var(--fs-h4);
      line-height: 1;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
      transition: background 0.2s;
    }

    .slider-arrow:hover {
      background: var(--bg);
    }

    .slider-arrow.prev {
      left: 12px;
    }

    .slider-arrow.next {
      right: 12px;
    }

    .slider-dots {
      position: absolute;
      bottom: 14px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      display: flex;
      gap: 6px;
    }

    .slider-dot {
      width: 7px;
      height: 7px;
      padding: 0;
      border: none;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.55);
      cursor: pointer;
      transition: background 0.2s;
    }

    .slider-dot.active {
      background: var(--bg);
    }

    .modal-info {
      flex: 1 1 auto;
      overflow-y: auto;
      padding: 46px 42px;
      transform: translateX(100%);
      opacity: 0;
      transition: transform 0.6s var(--ease) 0.15s, opacity 0.5s var(--ease) 0.15s;
    }

    .modal-wrap.open .modal-info {
      transform: translateX(0);
      opacity: 1;
    }

    .sheet-eyebrow {
      font-size: var(--fs-eyebrow);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-weight: 600;
      color: var(--accent);
      margin-bottom: var(--space-4);
    }

    /* Book title inside the detail modal */
    .modal-info h2 {
      font-weight: 800;
      font-size: var(--fs-h3);
      line-height: 1.08;
      letter-spacing: -0.02em;
    }

    .sheet-author {
      margin-top: var(--space-2);
      font-size: var(--fs-md);
      font-weight: 500;
      opacity: 0.7;
    }

    .sheet-desc {
      margin-top: var(--space-7);
      font-size: var(--fs-md);
      line-height: 1.7;
      opacity: 0.85;
    }

    .sheet-meta {
      margin-top: var(--space-10);
      border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .sheet-meta .row {
      display: flex;
      justify-content: space-between;
      gap: var(--space-6);
      padding: 13px 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      font-size: var(--fs-sm);
    }

    .sheet-meta .row dt {
      opacity: 0.55;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: var(--fs-eyebrow);
      font-weight: 600;
      padding-top: var(--space-1);
    }

    .sheet-meta .row dd {
      text-align: right;
      font-weight: 500;
      max-width: 62%;
    }

    .sheet-cta {
      margin-top: var(--space-11);
      display: flex;
      flex-direction: column;
      gap: var(--space-3);
    }

    @media (max-width: 760px) {
      .about-layout {
        grid-template-columns: 1fr;
      }

      .about-nav {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 18px;
      }

      .about-nav a {
        border: none;
      }

      .modal {
        flex-direction: column;
        max-height: 92vh;
      }

      .modal-cover {
        flex: 0 0 auto;
        aspect-ratio: 3 / 4;
        max-height: 38vh;
      }

      .modal-info {
        padding: 30px 26px 38px;
      }

      .title h1 {
        font-size: 56px;
      }
    }
