/* ============================================================
   CultureLens Publishing — design system
   Gallery-white base (viction:ary) × serif editorial (vol.co)
   ============================================================ */

@view-transition { navigation: auto; }

:root {
  --paper: #f8f5ee;
  --paper-soft: #f1ebdf;
  --ink: #14110d;
  --ink-soft: #6e6557;
  --line: #e3dccc;
  --accent: #b8451f;
  --accent-soft: #f4e5d9;
  --blue: #3b4ed8;
  --gold: #ab8a55;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(20, 17, 13, 0.06), 0 6px 18px rgba(20, 17, 13, 0.07);
  --shadow-lg: 0 12px 24px rgba(20, 17, 13, 0.1), 0 32px 64px rgba(20, 17, 13, 0.15);
  --radius: 4px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

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

::selection { background: var(--accent); color: var(--paper); }

/* ---------- type utilities ---------- */

.overline {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.display {
  font-family: var(--serif);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--accent); color: var(--paper); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- announcement bar ---------- */

.announce {
  background: var(--invert);
  color: var(--on-invert);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.55rem var(--gutter);
}
.announce em { font-style: normal; color: var(--gold); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 245, 238, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.55s var(--ease);
}
.site-header.hide { transform: translateY(-101%); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}
.logo {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.575rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 5px;
  padding-left: 0.05em;
}
.main-nav { display: flex; gap: 2rem; }
.main-nav a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cart-btn:hover { color: var(--accent); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
}
.menu-btn { display: none; }

/* mobile nav */
@media (max-width: 880px) {
  .main-nav {
    position: fixed;
    inset: 0;
    top: 68px;
    z-index: 55;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    padding: 1rem var(--gutter);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: -0.01em;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }
  .menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px 2px;
  }
  .menu-btn i {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .menu-btn.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.open i:nth-child(2) { opacity: 0; }
  .menu-btn.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */

.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.9rem);
  margin: 1.1rem 0 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 32rem;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-stage { position: relative; display: flex; justify-content: center; }
.hero-stage > a { display: block; width: min(340px, 78%); }
.hero-stage .cover {
  width: 100%;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}
.hero-stage:hover .cover { transform: rotate(-1deg) translateY(-6px); }

.pass-chip {
  position: absolute;
  right: 2%;
  bottom: -6%;
  width: 215px;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #1c1914 0%, #363022 60%, #1c1914 100%);
  border: 1px solid rgba(171, 138, 85, 0.35);
  color: #f6f3ec;
  transform: rotate(4deg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.pass-chip .pc-row { display: flex; justify-content: space-between; align-items: center; }
.pass-chip .pc-dot { width: 26px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, var(--gold), #b3812a); }
.pass-chip .pc-brand { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; }
.pass-chip .pc-title { font-family: var(--serif); font-size: 1.05rem; margin: 0.7rem 0 0.1rem; }
.pass-chip .pc-sub { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-stage { margin-top: 1rem; padding-bottom: 2rem; }
}

/* ---------- ticker ---------- */

.ticker {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper-soft);
  padding: 0.7rem 0;
  white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: ticker 46s linear infinite; }
.ticker span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 1.6rem;
  color: var(--ink-soft);
}
.ticker span::after { content: '✳'; margin-left: 3.2rem; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- featured mosaic (vol.co-style full-bleed grid) ---------- */

.mosaic { border-bottom: 1px solid var(--line); background: var(--invert); }
.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
@media (max-width: 720px) { .mosaic-grid { grid-template-columns: 1fr; } }
.mosaic-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.4rem, 3vw, 2.6rem);
}
.mosaic-tile .motif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 1.6s var(--ease);
}
.mosaic-tile:hover .motif { transform: scale(1.08); }
.mosaic-tile .mt-text { transition: transform 0.7s var(--ease); }
.mosaic-tile:hover .mt-text { transform: translateY(-6px); }
.mosaic-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.38), transparent 55%);
}
.mt-text { position: relative; z-index: 1; }
.mt-text h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
}
.mt-text p { font-size: 0.82rem; opacity: 0.85; margin-top: 0.25rem; }
.mt-text span {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.95;
}

/* ---------- sections ---------- */

.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.4rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-top: 0.5rem; }
.view-all {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.view-all:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- book grid & cards ---------- */

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 2.5vw, 2.4rem);
}
@media (max-width: 1024px) { .book-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .book-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .book-grid { grid-template-columns: 1fr; } }

.book-card { position: relative; display: block; perspective: 800px; }
.book-card .cover {
  transition: transform 0.3s ease-out, box-shadow 0.7s var(--ease);
  box-shadow: var(--shadow-sm);
  will-change: transform;
}
.book-card:hover .cover { box-shadow: var(--shadow-lg); }

/* sheen sweep across covers on hover */
.cover::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.16) 49%, transparent 60%);
  transform: translateX(-140%);
  pointer-events: none;
}
.book-card:hover .cover::after,
.hero-stage:hover .cover::after {
  transform: translateX(140%);
  transition: transform 1s var(--ease);
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge--gold { background: var(--gold); color: var(--ink); }

.book-meta { padding-top: 0.95rem; }
.book-meta .bm-title { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; line-height: 1.25; }
.book-meta .bm-author { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.2rem; }
.book-meta .bm-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-top: 0.45rem;
}
.book-meta .bm-price { font-size: 0.92rem; font-weight: 600; }
.book-meta .bm-status {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: right;
}

/* ---------- generated covers ---------- */

.cover {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9% 9% 8%;
  container-type: inline-size;
}
.cover svg.motif { position: absolute; inset: 0; width: 100%; height: 100%; }
/* real photos dropped into covers / art / mosaic tiles */
.cover--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
img.motif { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .cv-top, .cover .cv-bottom { position: relative; z-index: 1; }
.cover .cv-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(0.55rem, 8.5cqw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.cover .cv-sub {
  font-size: clamp(0.4rem, 3.6cqw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-top: 0.55em;
  max-width: 90%;
}
.cover .cv-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
}
.cover .cv-author {
  font-size: clamp(0.4rem, 3.4cqw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.cover .cv-mark {
  font-family: var(--serif);
  font-size: clamp(0.42rem, 3.6cqw, 0.85rem);
  font-weight: 600;
  opacity: 0.85;
  white-space: nowrap;
}

/* ---------- lens pass panel ---------- */

.pass-panel { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.pass-panel-inner {
  background:
    radial-gradient(130% 100% at 100% 0%, rgba(255,255,255,0.05), transparent 55%),
    var(--invert);
  color: var(--on-invert);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.pass-visual { display: flex; justify-content: center; }
.pass-card {
  position: relative;
  overflow: hidden;
  width: min(330px, 100%);
  aspect-ratio: 8 / 5;
  border-radius: 18px;
  background: linear-gradient(130deg, #211e19 0%, #393327 55%, #211e19 100%);
  border: 1px solid rgba(171, 138, 85, 0.35);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.7s var(--ease);
}
.pass-visual:hover .pass-card { transform: rotate(0deg) translateY(-5px); }

/* slow foil shimmer across the pass cards */
@media (prefers-reduced-motion: no-preference) {
  .pass-card::after,
  .pass-chip::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 246, 225, 0.09) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: foil 6s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes foil {
    0%, 55% { transform: translateX(-120%); }
    85%, 100% { transform: translateX(120%); }
  }
}
.pass-card .pc-row { display: flex; justify-content: space-between; align-items: center; }
.pass-card .pc-dot { width: 34px; height: 24px; border-radius: 5px; background: linear-gradient(135deg, var(--gold), #b3812a); }
.pass-card .pc-brand { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; }
.pass-card .pc-title { font-family: var(--serif); font-size: 1.5rem; }
.pass-card .pc-sub { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 0.2rem; }

.pass-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin: 0.6rem 0 1rem; }
.pass-copy > p { color: rgba(250, 248, 244, 0.72); max-width: 36rem; margin-bottom: 1.8rem; }
.pass-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
  margin-bottom: 2rem;
}
.pass-features h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }
.pass-features h3::before { content: '✳ '; color: var(--accent); }
.pass-features p { font-size: 0.85rem; color: rgba(250, 248, 244, 0.65); }

@media (max-width: 880px) {
  .pass-panel-inner { grid-template-columns: 1fr; }
  .pass-features { grid-template-columns: 1fr; }
}

/* ---------- journal ---------- */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 880px) { .journal-grid { grid-template-columns: 1fr; } }
.journal-card {
  border-top: 1px solid var(--ink);
  padding-top: 1.2rem;
  display: block;
}
.journal-card .jc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.journal-card .jc-meta b { color: var(--gold); }
.journal-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.7rem;
  transition: color 0.15s ease;
}
.journal-card:hover h3 { color: var(--accent); }
.journal-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- newsletter ---------- */

.newsletter { background: var(--paper-soft); border-top: 1px solid var(--line); }
.newsletter .wrap {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.newsletter h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 0.6rem 0 0.8rem; }
.newsletter p { color: var(--ink-soft); max-width: 30rem; margin: 0 auto 1.8rem; }
.newsletter form {
  display: flex;
  gap: 0.6rem;
  max-width: 26rem;
  margin: 0 auto;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.2rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.newsletter input:focus { border-color: var(--gold); }
@media (max-width: 480px) { .newsletter form { flex-direction: column; } }

/* ---------- footer ---------- */

.site-footer { background: var(--invert); color: var(--on-invert); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 5vw, 4.5rem) 0 2.5rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo small { color: rgba(250, 248, 244, 0.5); }
.footer-blurb { font-size: 0.85rem; color: rgba(250, 248, 244, 0.6); max-width: 18rem; margin-top: 1rem; }
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.5);
  margin-bottom: 1rem;
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.88rem; color: rgba(250, 248, 244, 0.85); }
.footer-col a:hover { color: var(--accent); }
.footer-col address { font-style: normal; font-size: 0.88rem; color: rgba(250, 248, 244, 0.85); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(250, 248, 244, 0.14);
  padding: 1.4rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.75rem;
  color: rgba(250, 248, 244, 0.5);
}

/* ---------- shop page ---------- */

.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 0.6rem 0 0.9rem; }
.page-head p { color: var(--ink-soft); max-width: 36rem; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.2rem 0 0.4rem;
}
.filter-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.15s ease;
}
.filter-pill:hover { border-color: var(--ink); }
.filter-pill.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.shop-count { font-size: 0.78rem; color: var(--ink-soft); margin: 1rem 0 1.6rem; }

/* ---------- product page ---------- */

.product { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .product-layout { grid-template-columns: 1fr; } }

/* spread gallery (viction:ary-style interior carousel) */
.gallery { position: relative; }
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 14px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 5 / 4;
  background: var(--paper-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.4rem, 3.5vw, 3rem);
}
.slide--cover .cover { width: min(54%, 300px); box-shadow: var(--shadow-lg); }

.spread {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1.5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.spread::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 36px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), rgba(0,0,0,0.2), rgba(0,0,0,0.1), transparent);
  pointer-events: none;
}
.page {
  position: relative;
  background: #fdfcf9;
  padding: 9% 9.5%;
  overflow: hidden;
}
.page--bleed { padding: 0; }
.page--bleed svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spread--image { display: block; }
.spread--image > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.pg-num { position: absolute; bottom: 4.5%; font-size: 0.48rem; opacity: 0.55; }
.pg-num--l { left: 9.5%; }
.pg-num--r { right: 9.5%; }
.pg-overline { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.55rem; }
.pg-chapter { font-family: var(--serif); font-weight: 600; font-size: clamp(0.95rem, 1.9vw, 1.55rem); line-height: 1.1; color: #1a1a1a; }
.pg-dek { font-size: 0.52rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #8a857c; margin-top: 0.6rem; }
.pg-head { font-family: var(--serif); font-size: 0.78rem; font-weight: 600; color: #1a1a1a; margin-bottom: 0.5rem; }
.pg-cols {
  column-count: 2;
  column-gap: 9%;
  font-size: 7.5px;
  line-height: 1.6;
  text-align: justify;
  color: #44403a;
  hyphens: auto;
}
.pg-quote { font-family: var(--serif); font-style: italic; font-size: clamp(0.85rem, 1.6vw, 1.2rem); line-height: 1.35; }
.pg-caption {
  position: absolute;
  bottom: 4%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.pg-colophon {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
}
.pg-colophon .cv-mark { font-size: 0.85rem; }
.pg-colophon small { font-size: 0.5rem; letter-spacing: 0.06em; color: #8a857c; }

.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.gal-btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-50%) scale(1.08); }
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
.gal-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--paper);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- spread product layout (big-type, single column) ---------- */

.product-masthead { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.6rem, 3vw, 2.6rem); }
.product-masthead .crumbs { margin-bottom: 1.6rem; }
.p-mega {
  font-size: clamp(2.9rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.masthead-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.p-sub-lg {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--ink-soft);
}
.p-author-lg {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gallery-full { padding-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.gallery--full .slide { aspect-ratio: 16 / 9; }
.gallery--full .spread { max-width: 920px; }
.gallery--full .slide--cover .cover { width: min(24%, 300px); }
@media (max-width: 720px) {
  .gallery--full .slide { aspect-ratio: 4 / 3; }
  .gallery--full .slide--cover .cover { width: 50%; }
}

.buy-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0 1.4rem;
}
.buy-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem 2.5rem;
  flex-wrap: wrap;
}
.buy-left { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.buy-price { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 500; }
.fund-wrap--inline { width: min(220px, 100%); margin: 0; }
.buy-band .buy-row { flex: 0 1 460px; min-width: min(340px, 100%); }
.buy-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.service-row { display: flex; flex-wrap: wrap; gap: 0.4rem 2.2rem; }
.service-row li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.service-row li::before { content: '✳'; position: absolute; left: 0; color: var(--gold); }
.funding-note--inline { font-size: 0.75rem; color: var(--accent); margin: 0; text-align: left; }

.story { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.story-lede {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 58rem;
  margin-top: 1.2rem;
}
.story-body { max-width: 46rem; margin-top: 1.8rem; }
.story-body p { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 1.1rem; }

.unlock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 2.4rem;
  margin: 1.7rem 0 1.9rem;
}
@media (max-width: 720px) { .unlock-grid { grid-template-columns: 1fr; } }
.unlock-grid li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.45;
}
.unlock-grid li::before { content: '✳'; position: absolute; left: 0; color: var(--accent); }
.unlock-note {
  font-size: 0.78rem;
  color: rgba(248, 245, 238, 0.55);
  border-top: 1px dashed rgba(248, 245, 238, 0.2);
  padding-top: 1.1rem;
  max-width: 36rem;
}
.unlock-note a { text-decoration: underline; }
.unlock-note a:hover { color: var(--gold); }

.details-sec { border-top: 1px solid var(--line); }
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 880px) { .details-grid { grid-template-columns: 1fr; } }
.details-grid .spec-list { margin-top: 1.2rem; }
.details-grid .p-acc { margin-top: 0.55rem; }

/* editorial section below gallery */
.editorial-sec { border-top: 1px solid var(--line); }
.editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .editorial-grid { grid-template-columns: 1fr; } }
.editorial-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0.6rem 0 1rem; }
.editorial-copy p { color: var(--ink-soft); margin-bottom: 1rem; }
.spec-list { margin-top: 0.9rem; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.spec-row dt { color: var(--ink-soft); }
.spec-row dd { font-weight: 600; text-align: right; }

.crumbs { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--accent); }
.product-info h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.product-info .p-sub { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); margin-top: 0.5rem; }
.product-info .p-author { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1rem; }
.product-info .p-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 1.4rem 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-info .p-price { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.product-info .p-status { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.product-info .p-blurb { color: var(--ink-soft); margin-bottom: 1.6rem; }
.product-info .p-excerpt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 1.2rem;
}

/* funding progress */
.fund-wrap { margin: -0.3rem 0 1.3rem; }
.fund-bar {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.fund-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transition: width 1.4s var(--ease);
}
.fund-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fund-meta span:first-child { color: var(--accent); }

/* quantity + add to cart */
.buy-row { display: flex; gap: 0.8rem; align-items: stretch; }
.qty--lg {
  border: 1px solid var(--ink);
  border-radius: 999px;
  flex-shrink: 0;
}
.qty--lg button { width: 44px; height: 100%; min-height: 48px; font-size: 1.05rem; }
.qty--lg b { min-width: 26px; text-align: center; font-size: 0.95rem; }
.btn--grow { flex: 1; justify-content: center; }

/* service reassurance */
.service-list { display: grid; gap: 0.45rem; margin: 1.4rem 0 1.6rem; }
.service-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.79rem;
  color: var(--ink-soft);
}
.service-list li::before { content: '✳'; position: absolute; left: 0; color: var(--gold); }

/* compact product accordions */
.p-acc { margin-top: 1.6rem; border-bottom: 1px solid var(--line); }
.p-acc details { border-top: 1px solid var(--line); }
.p-acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s var(--ease);
}
.p-acc summary::-webkit-details-marker { display: none; }
.p-acc summary::after { content: '+'; font-size: 1.1rem; color: var(--gold); flex-shrink: 0; }
.p-acc details[open] summary::after { content: '–'; }
.p-acc summary:hover { color: var(--accent); }
.p-acc details p { font-size: 0.85rem; color: var(--ink-soft); padding-bottom: 1.15rem; }
@media (prefers-reduced-motion: no-preference) {
  .p-acc details[open] p { animation: rise 0.5s var(--ease); }
}

.specs { display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; margin-bottom: 1.8rem; }
.specs li { font-size: 0.78rem; color: var(--ink-soft); }
.specs li b { color: var(--ink); font-weight: 600; }

.pass-box {
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.8rem;
  background: var(--paper-soft);
}
.pass-box h3 { font-family: var(--serif); font-size: 1.15rem; margin: 0.3rem 0 0.9rem; }
.pass-box li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
}
.pass-box li::before { content: '✳'; position: absolute; left: 0; color: var(--accent); }
.pass-box .pb-note { font-size: 0.72rem; color: var(--ink-soft); margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed var(--line); }

.related { border-top: 1px solid var(--line); }

.funding-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
  text-align: center;
}

/* ---------- pass / about pages ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--ink); padding-top: 1.2rem; counter-increment: step; }
.step::before {
  content: '0' counter(step);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.step h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1.2rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s var(--ease);
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 40rem; }

.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 2.4rem 0 1rem; }
.prose p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.02rem; }
.prose p:first-of-type { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } }
.stat b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--gold); }
.stat span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- cart drawer ---------- */

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 20, 20, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(420px, 92vw);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.6s var(--ease);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem var(--gutter) 1.3rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--serif); font-size: 1.3rem; }
.cart-close { font-size: 1.6rem; line-height: 1; padding: 0.2rem 0.5rem; }
.cart-close:hover { color: var(--accent); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 3rem 1rem; }
.cart-empty .btn { margin-top: 1.2rem; }
.cart-item { display: flex; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.cart-item .cover { width: 64px; flex-shrink: 0; padding: 7%; border-radius: 3px; }
.cart-item .cover .cv-title { font-size: 0.42rem; }
.cart-item .cover .cv-sub, .cart-item .cover .cv-author, .cart-item .cover .cv-mark { display: none; }
.ci-body { flex: 1; min-width: 0; }
.ci-title { font-family: var(--serif); font-size: 0.95rem; font-weight: 600; }
.ci-pass { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-top: 0.15rem; }
.ci-row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 28px; height: 28px; font-size: 0.95rem; }
.qty button:hover { color: var(--accent); }
.qty b { min-width: 24px; text-align: center; font-size: 0.85rem; }
.ci-price { font-size: 0.9rem; font-weight: 600; }
.ci-remove { font-size: 0.7rem; color: var(--ink-soft); text-decoration: underline; margin-top: 0.4rem; }
.ci-remove:hover { color: var(--accent); }
.cart-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.5rem 1.6rem; }
.cart-ship { font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.cart-ship b { color: var(--accent); }
.cart-total { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- ecosystem: splits, passport, chat, events, tiers, dash ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split-copy { color: var(--ink-soft); margin: 1rem 0 1.5rem; max-width: 34rem; }
.split h2 { margin-top: 0.5rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }

.tick-list { display: grid; gap: 0.65rem; margin-bottom: 1.8rem; }
.tick-list li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.tick-list li::before { content: '✳'; position: absolute; left: 0; color: var(--gold); }

/* reader passport */
.passport {
  background: var(--paper-soft);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 1.6rem 1.7rem 1.4rem;
  box-shadow: var(--shadow-lg);
}
.passport-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed var(--gold);
  padding-bottom: 0.9rem;
  margin-bottom: 1.2rem;
}
.passport-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.passport-no { font-size: 0.68rem; letter-spacing: 0.18em; color: var(--ink-soft); }
.passport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.stamp {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp-mark {
  position: absolute;
  inset: auto 4% 8% 4%;
  text-align: center;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f6f3ec;
  background: rgba(20, 17, 13, 0.55);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.18rem 0;
  transform: rotate(-6deg);
}
.stamp--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--gold);
  color: var(--gold);
  font-size: 1.2rem;
  background: transparent;
}
.passport-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* lens companion chat */
.chat {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-soft);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.chat-head em {
  font-style: normal;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  font-size: 0.6rem;
}
.chat-body {
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 300px;
  overflow-y: auto;
}
.msg {
  max-width: 88%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.55;
}
.msg--ai { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--me {
  align-self: flex-end;
  background: var(--ink);
  color: var(--paper);
  border-bottom-right-radius: 4px;
}
.chat-q {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem 1.1rem;
  border-top: 1px solid var(--line);
}
.chat-q button {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.chat-q button:hover { background: var(--ink); color: var(--paper); }

/* achievements */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 880px) { .ach-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ach-grid { grid-template-columns: 1fr; } }
.ach { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.ach-icon { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.ach h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.ach p { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* feature grid (light) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid > div { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.feature-grid h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature-grid h3::before { content: '✳ '; color: var(--accent); }
.feature-grid p { font-size: 0.85rem; color: var(--ink-soft); }

/* events */
.events-list { border-top: 1px solid var(--line); }
.event-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
@media (max-width: 720px) { .event-row { grid-template-columns: 64px 1fr; } .event-row .ev-side { grid-column: 2; justify-content: flex-start; } }
.ev-date { text-align: center; }
.ev-date b { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 500; line-height: 1; }
.ev-date span { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.ev-type { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; }
.ev-main h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.ev-main p { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.25rem; }
.ev-side { display: flex; align-items: center; gap: 1.2rem; }
.ev-side > span { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.events-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 1.6rem; }

/* membership tiers */
.billing-toggle {
  display: inline-flex;
  gap: 0.4rem;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem;
}
.billing-toggle button {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.billing-toggle button.active { background: var(--ink); color: var(--paper); }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
  margin-bottom: 1.6rem;
}
@media (max-width: 960px) { .tiers-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }
.tier {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tier--featured {
  background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,0.05), transparent 55%), var(--invert);
  color: var(--on-invert);
  border-color: var(--invert-line);
}
.tier-flag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.tier h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.tier-tag { font-size: 0.82rem; color: var(--gold); margin-top: 0.15rem; }
.tier:not(.tier--featured) .tier-tag { color: var(--accent); }
.tier-price { margin: 1.2rem 0 1.3rem; display: flex; align-items: baseline; gap: 0.5rem; }
.tier-price b { font-family: var(--serif); font-size: 2.5rem; font-weight: 500; }
.tier-price span { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; }
.tier ul { display: grid; gap: 0.55rem; margin-bottom: 1.8rem; flex: 1; }
.tier li { position: relative; padding-left: 1.35rem; font-size: 0.84rem; opacity: 0.85; }
.tier li::before { content: '✳'; position: absolute; left: 0; color: var(--gold); }
.tier--featured .btn--accent:hover { background: var(--gold); color: var(--ink); }
.tier--featured .btn--ghost { color: var(--on-invert); box-shadow: inset 0 0 0 1.5px var(--on-invert); }

/* home membership band */
.member-band {
  background: radial-gradient(110% 120% at 90% 0%, rgba(255,255,255,0.045), transparent 55%), var(--invert);
  color: var(--on-invert);
}
.member-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
  flex-wrap: wrap;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.member-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0.4rem 0; }
.member-band p { color: rgba(248, 245, 238, 0.65); font-size: 0.92rem; max-width: 26rem; }
.member-tiers { display: flex; gap: 2.2rem; }
.member-tiers b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.member-tiers span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* creator dashboard */
.dash { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.dash-copy { color: rgba(248, 245, 238, 0.7); margin: 1rem 0 1.8rem; max-width: 32rem; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 2rem; }
.dash-stats b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--gold); }
.dash-stats span { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(248, 245, 238, 0.55); }
.dash-chart {
  background: rgba(248, 245, 238, 0.05);
  border: 1px solid rgba(248, 245, 238, 0.12);
  border-radius: 16px;
  padding: 1.6rem 1.6rem 1.1rem;
}
.dash-bars { display: flex; align-items: flex-end; gap: 7px; height: 190px; }
.dash-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--gold), var(--accent));
  transform-origin: bottom;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal.in .dash-bars i { animation: grow 1.1s var(--ease) backwards; }
  .dash-bars i:nth-child(n) { animation-delay: calc(var(--i, 0) * 1s); }
  @keyframes grow { from { transform: scaleY(0); } }
}
.dash-x { display: flex; justify-content: space-between; margin-top: 0.7rem; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(248, 245, 238, 0.45); }

/* pitch form */
.pitch-form { display: grid; gap: 1.1rem; }
.pitch-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pitch-form input, .pitch-form textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.2rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s var(--ease);
}
.pitch-form input:focus, .pitch-form textarea:focus { border-color: var(--gold); }

/* cta band */
.cta-band { border-top: 1px solid var(--line); text-align: center; }
.cta-band .wrap { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 0.6rem 0 1.6rem; }

/* quiz */
.quiz-note { font-size: 0.85rem; color: var(--ink-soft); margin: 1.4rem 0 1.6rem; }
.quiz-note a { text-decoration: underline; }
.quiz-note a:hover { color: var(--accent); }

/* ============================================================
   A24 reskin — neutral, stark, modern. Serif survives only
   inside the books (covers + printed spreads).
   ============================================================ */

:root {
  --paper: #faf9f6;
  --paper-soft: #efede8;
  --ink: #0b0a09;
  --ink-soft: #6f6b64;
  --line: #e4e1da;
  --accent: #eb3d01;
  --accent-soft: #ffe9e0;
  --gold: #0b0a09;
  /* semantic surfaces for intentionally-dark "feature" sections */
  --invert: #100f0d;
  --invert-2: #1c1a17;
  --on-invert: #f6f3ec;
  --on-invert-soft: rgba(246, 243, 236, 0.62);
  --invert-line: rgba(246, 243, 236, 0.16);
  /* lighting */
  --glow: transparent;
  --sheen: linear-gradient(160deg, rgba(255,255,255,0.04), transparent 55%);
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(20, 16, 12, 0.05), 0 6px 16px rgba(20, 16, 12, 0.06);
  --shadow-lg: 0 12px 24px rgba(20, 16, 12, 0.08), 0 32px 64px rgba(20, 16, 12, 0.13);
  --tt: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --paper: #0b0b0d;
  --paper-soft: #141418;
  --ink: #f3f1ea;
  --ink-soft: #97938b;
  --line: #27262b;
  --accent: #ff5a2c;
  --accent-soft: #2a160d;
  --gold: #c9aa6c;
  --invert: #16161a;
  --invert-2: #202025;
  --on-invert: #f3f1ea;
  --on-invert-soft: rgba(243, 241, 234, 0.6);
  --invert-line: rgba(243, 241, 234, 0.13);
  --glow: rgba(255, 90, 44, 0.13);
  --sheen: linear-gradient(160deg, rgba(255,255,255,0.05), transparent 55%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 22px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.55), 0 40px 80px rgba(0, 0, 0, 0.65);
}

::selection { background: var(--accent); color: #fff; }

/* smooth, scoped theme transition (not a blanket * transition) */
body, .site-header, .announce, .ticker, .pass-panel-inner, .member-band,
.ed-collections-sec, .site-footer, .tier, .passport, .chat, .cover, .art,
.book-card .cover, .filter-pill, .btn, .inline-book, .event-row, .pdp-media .slide {
  transition: background-color var(--tt), border-color var(--tt), color var(--tt), box-shadow var(--tt);
}

/* premium lighting + grain for dark mode */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 78% -8%, var(--glow), transparent 60%),
    radial-gradient(90% 60% at 0% 0%, var(--glow), transparent 55%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
[data-theme="dark"] body::before { opacity: 1; }
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  transition: opacity 0.6s ease;
}
[data-theme="dark"] body::after { opacity: 0.035; }

/* accessible focus ring, both themes */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* sans-serif display across the UI */
.display, .logo, .bm-title, .journal-card h3, .pass-card .pc-title, .pass-chip .pc-title,
.buy-price, .story-lede, .ach h3, .feature-grid h3, .ev-main h3, .ev-date b, .tier h3,
.tier-price b, .member-tiers b, .dash-stats b, .passport-title, .cart-head h3,
.ci-title, .faq summary, .step h3, .step::before, .stat b, .p-price, .pass-box h3,
.prose p:first-of-type, .p-sub, .p-sub-lg {
  font-family: var(--sans);
}
.book-meta .bm-title, .pass-features h3, .unlock-grid li, .mt-text h3 {
  font-family: var(--sans);
}
.book-meta .bm-title { font-weight: 650; letter-spacing: -0.01em; font-size: 0.98rem; }
.mt-text h3 { font-weight: 650; letter-spacing: -0.02em; }
.unlock-grid li { font-size: 0.92rem; }
.display { font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
.p-mega { font-weight: 700; letter-spacing: -0.04em; }
.logo { font-weight: 700; letter-spacing: -0.04em; font-size: 1.25rem; }
.hero h1 em, .newsletter h2 em { font-style: normal; color: var(--accent); }
.p-sub, .p-sub-lg { font-style: normal; }
.story-lede { font-weight: 600; letter-spacing: -0.02em; }
.faq summary { font-size: 1rem; font-weight: 600; }
.step h3, .ach h3, .feature-grid h3, .ev-main h3, .journal-card h3 { font-weight: 650; letter-spacing: -0.01em; }
.buy-price, .tier-price b, .dash-stats b, .stat b, .ev-date b { font-weight: 700; letter-spacing: -0.02em; }
.prose p:first-of-type { font-weight: 600; letter-spacing: -0.01em; font-size: 1.15rem; }
.overline { color: var(--ink); }
.pass-panel-inner .overline, .member-band .overline, .dash .overline { color: var(--accent); }

/* sharp geometry */
.btn, .filter-pill, .qty, .qty--lg, .chat-q button, .billing-toggle,
.billing-toggle button, .gal-counter, .badge, .stamp-mark, .chat-head em {
  border-radius: var(--radius);
}
.chat, .msg, .tier, .passport, .dash-chart { border-radius: 4px; }
.pass-panel-inner { border-radius: 8px; }
.pass-card { border-radius: 10px; }
.pass-chip { border-radius: 8px; }
.pass-box { border-radius: 4px; }

/* header + ticker */
.site-header { background: rgba(250, 249, 246, 0.82); }
[data-theme="dark"] .site-header { background: rgba(11, 11, 13, 0.72); border-bottom-color: var(--line); }

/* ---- dark-mode reconciliation for hardcoded-light spots ---- */
[data-theme="dark"] .passport { background: var(--paper-soft); }
[data-theme="dark"] .article-body p { color: #e7e3d9; }
[data-theme="dark"] .article-body blockquote,
[data-theme="dark"] .article-body h2 { color: var(--ink); }
[data-theme="dark"] .inline-book { background: var(--paper-soft); }
[data-theme="dark"] .chat { background: var(--paper-soft); }
[data-theme="dark"] .msg--ai { background: var(--invert-2); border-color: var(--line); }
/* lift cards with a hairline glow instead of shadow on dark */
[data-theme="dark"] .book-card:hover .cover,
[data-theme="dark"] .tier:hover,
[data-theme="dark"] .inline-book:hover { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,90,44,0.18); }
/* the generated book covers + spreads keep their own palettes in both themes (they are artifacts) */

/* theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(12deg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
.announce em { color: var(--accent); }
.ticker { background: var(--invert); border-bottom: 0; }
.ticker span { color: rgba(250, 250, 250, 0.8); }
.ticker span::after { color: var(--accent); }

/* graphite pass cards */
.pass-card, .pass-chip {
  background: linear-gradient(135deg, #141414 0%, #2d2d2d 60%, #141414 100%);
  border-color: rgba(255, 255, 255, 0.16);
}
.pass-card .pc-sub, .pass-chip .pc-sub { color: #bdbdbd; }
.pass-card .pc-dot, .pass-chip .pc-dot { background: linear-gradient(135deg, #dedede, #8f8f8f); }

/* monochrome + single accent details */
.fund-bar i { background: var(--accent); }
.dash-bars i { background: var(--accent); }
.dash-stats b { color: var(--on-invert); }
.member-tiers span { color: var(--accent); }
.ach-icon { color: var(--accent); }
.journal-card .jc-meta b { color: var(--accent); }
.tier-tag, .tier--featured .tier-tag { color: var(--accent); }
.tier--featured { border-color: #333; }
.tier-flag { background: var(--accent); color: #fafafa; }
.passport { background: #fff; border: 1px solid var(--line); }
.passport-head { border-bottom-color: var(--line); }
.stamp--empty { border-color: #bdbdbd; color: #9a9a96; }
.ev-date span { color: var(--ink-soft); }
.newsletter input:focus, .pitch-form input:focus, .pitch-form textarea:focus { border-color: var(--accent); }

/* ---------- product detail: big type masthead + image-first gallery ---------- */

/* oversized title masthead (Victionary big type) */
.pdp-masthead { padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(1.4rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); }
.pdp-masthead .crumbs { margin-bottom: 1.4rem; }
.pdp-megatitle {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 16ch;
}
.pdp-mast-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}
.pdp-mast-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  color: var(--ink-soft);
}
.pdp-mast-author { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }

.pdp { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1.5rem, 3.5vw, 4rem);
  align-items: start;
}
.pdp-media { margin-bottom: clamp(14px, 1.5vw, 22px); }
.pdp-media .slide {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
}
/* first spread reads as a big immersive hero */
.pdp-media--hero .slide { aspect-ratio: 16 / 11; }
.pdp-media--hero .slide--cover .cover { width: min(42%, 300px); }
.pdp-media .spread { transition: transform 0.8s var(--ease); }
.pdp-media:hover .spread { transform: scale(1.012); }

.pdp-info { position: sticky; top: 92px; padding-top: 0.4rem; }
.pdp-price { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.pdp-price b { font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; }
.pdp-member { font-size: 0.8rem; color: var(--ink-soft); margin: 0.5rem 0 1.2rem; }
.pdp-member a { text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s var(--ease); }
.pdp-member a:hover { color: var(--accent); }
.pdp-info .buy-row { display: flex; gap: 0.7rem; }
.pdp-info .fund-wrap { margin: 0.2rem 0 1.2rem; }
.pdp-block { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.3rem; }
.pdp-block h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.pdp-block p { font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }
.pdp-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.pdp-list li::before { content: '✳'; position: absolute; left: 0; color: var(--accent); }
.pdp-fine { font-size: 0.74rem !important; margin-top: 0.8rem; }
.pdp-fine a { text-decoration: underline; text-underline-offset: 3px; }
.pdp-fine a:hover { color: var(--accent); }
.pdp-specs li { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 0.35rem; }

@media (max-width: 880px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .pdp-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
  }
  .pdp-gallery::-webkit-scrollbar { display: none; }
  .pdp-media { flex: 0 0 86%; scroll-snap-align: center; margin-bottom: 0; }
}

/* NFC badge */
.nfc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.3rem 0 1.1rem;
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nfc-tag svg { color: var(--accent); flex-shrink: 0; }
.page-head .nfc-tag { margin-top: 1.4rem; }

/* ---------- smooth motion pass ---------- */

/* animated nav underline (desktop) */
@media (min-width: 881px) {
  .main-nav a { border-bottom: 0; position: relative; }
  .main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
  }
  .main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
}

/* cross-page fades */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vtOut 0.3s var(--ease) both; }
  ::view-transition-new(root) { animation: vtIn 0.5s var(--ease) both; }
  @keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
  @keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }
}

/* ============================================================
   The Journal — editorial layer. Magazine grid + long-form
   reader. Serif body sets it apart from the commerce UI.
   ============================================================ */

.art {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.art .motif { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.art--cover { aspect-ratio: 4 / 5; }
.art--hero { aspect-ratio: 16 / 9; border-radius: 0; }

.ac-kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.ac-by {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* masthead */
.journal-masthead { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.jm-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.jm-issue { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.jm-title { font-size: clamp(2.6rem, 7vw, 5.5rem); margin-top: 1rem; letter-spacing: -0.04em; }

/* cover story */
.cover-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
@media (max-width: 880px) { .cover-story { grid-template-columns: 1fr; gap: 1.5rem; } }
.cover-art .art { box-shadow: var(--shadow-lg); }
.cover-story:hover .cover-art .motif { transform: scale(1.05); }
.cover-text h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0.9rem 0 1.1rem; }
.cover-text > p { font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.3rem; line-height: 1.5; }
.cover-read {
  display: inline-block;
  margin-top: 1.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease);
}
.cover-story:hover .cover-read { color: var(--accent); }

/* article cards */
.art-card { display: block; }
.art-card-media .art { transition: box-shadow 0.5s var(--ease); }
.art-card:hover .art-card-media .art { box-shadow: var(--shadow-lg); }
.art-card:hover .motif { transform: scale(1.05); }
.art-card-body { padding-top: 1rem; }
.art-card-body h3 {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0.5rem 0 0.5rem;
  transition: color 0.3s var(--ease);
}
.art-card:hover .art-card-body h3 { color: var(--accent); }
.ac-dek { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 0.7rem; }
.art-card--feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.art-card--std h3 { font-size: 1.2rem; }
.art-card--std .ac-dek { font-size: 0.85rem; }

.feature-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 720px) { .feature-two { grid-template-columns: 1fr; } }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 880px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .article-grid { grid-template-columns: 1fr; } }

/* editorial collections */
.ed-collections-sec { background: var(--invert); color: var(--on-invert); }
.ed-collections-sec .overline { color: var(--accent); }
.ed-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(250,250,250,0.18); }
@media (max-width: 720px) { .ed-collections { grid-template-columns: 1fr; } }
.ed-collection {
  display: block;
  padding: 1.8rem 1.6rem 2rem;
  border-bottom: 1px solid rgba(250,250,250,0.18);
  border-right: 1px solid rgba(250,250,250,0.18);
  transition: background 0.4s var(--ease);
}
.ed-collection:hover { background: rgba(250,250,250,0.05); }
.ec-count { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.ed-collection h3 { font-family: var(--sans); font-weight: 650; font-size: 1.4rem; letter-spacing: -0.02em; margin: 0.8rem 0 0.5rem; }
.ed-collection p { font-size: 0.86rem; color: rgba(250,250,250,0.6); }

/* ---- article reader ---- */
.read-progress-track { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: transparent; }
#read-progress { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.article-head { max-width: 760px; margin: 0 auto; padding-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.article-head .crumbs { justify-content: center; }
.article-head .ac-kicker { margin: 1.4rem 0 0.8rem; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.035em; line-height: 1.04; }
.article-dek {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 1.3rem auto 0;
  max-width: 38rem;
}
.article-byline {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.article-byline b { color: var(--ink); font-weight: 600; }

.article-hero { margin: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.article-hero .art { box-shadow: var(--shadow-lg); }

.article-body {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-family: var(--serif);
}
.article-body p { font-size: 1.22rem; line-height: 1.72; color: #2a2723; margin-bottom: 1.5rem; }
.article-body p.lead { font-size: 1.3rem; }
.article-body p.lead::first-letter {
  font-size: 3.6em;
  font-weight: 600;
  line-height: 0.78;
  float: left;
  margin: 0.06em 0.1em 0 0;
  color: var(--accent);
}
.article-body h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 2.6rem 0 1rem;
  color: var(--ink);
}
.article-body blockquote {
  margin: 2.4rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article-body .end-mark { text-align: center; color: var(--accent); font-size: 1.4rem; margin-top: 2.5rem; }

/* inline book module — editorial → commerce */
.article-book-wrap { max-width: 44rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.inline-book {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.8rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-soft);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.inline-book:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
@media (max-width: 560px) { .inline-book { grid-template-columns: 100px 1fr; gap: 1.2rem; padding: 1.2rem; } }
.inline-book-cover .cover { box-shadow: var(--shadow-sm); }
.inline-book-text h3 { font-family: var(--sans); font-weight: 650; font-size: 1.3rem; letter-spacing: -0.02em; }
.ib-sub { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--ink-soft); margin: 0.2rem 0 0.6rem; }
.ib-blurb { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 0.8rem; }
.ib-cta { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* ============================================================
   The Archive — curated complete works, cascading full-bleed
   entries with a numbered curatorial sequence.
   ============================================================ */

.archive-masthead { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.am-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.am-range { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.am-title { font-size: clamp(2.6rem, 7vw, 5.5rem); margin-top: 1rem; letter-spacing: -0.04em; }
.am-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 40rem; margin-top: 1.4rem; line-height: 1.5; }

/* running index */
.archive-index-sec { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.archive-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 880px) { .archive-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .archive-index { grid-template-columns: 1fr; } }
.archive-index a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.85rem 1rem 0.85rem 0;
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.archive-index a:hover { color: var(--accent); padding-left: 0.5rem; }
.archive-index a span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.archive-index a:hover span { color: var(--accent); }

/* cascading entries */
.arch-entry { padding: clamp(3rem, 7vw, 6rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.arch-num {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.an-no { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; }
.an-of { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.an-tag {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: center;
}
.arch-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.arch-entry:nth-child(even) .arch-art { order: 2; }
@media (max-width: 820px) {
  .arch-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .arch-entry:nth-child(even) .arch-art { order: 0; }
}
.arch-art { display: block; }
.arch-art .cover { max-width: 360px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.arch-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; }
.arch-sub { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); margin-top: 0.5rem; }
.arch-by { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.9rem; }
.arch-desc { color: var(--ink-soft); line-height: 1.6; margin: 1.2rem 0; max-width: 38rem; }
.arch-praise {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding-left: 1.3rem;
  border-left: 2px solid var(--accent);
  margin: 1.5rem 0;
  max-width: 36rem;
}
.arch-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2rem;
  margin: 1.6rem 0;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 480px) { .arch-meta { grid-template-columns: 1fr; } }
.arch-meta dt { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.2rem; }
.arch-meta dd { font-size: 0.85rem; }
.arch-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.arch-jump { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.arch-jump:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   The Index — Slanted-inspired homepage. Dense ledger grid,
   mono metadata, oblique masthead, mixed-type feed wall.
   ============================================================ */

:root { --mono: 'Spline Sans Mono', ui-monospace, 'SF Mono', monospace; }

.index-masthead { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.im-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-transform: uppercase;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.im-meta span { position: relative; }
.im-meta span:not(:last-child)::after { content: '/'; position: absolute; right: -0.9rem; color: var(--accent); }
.index-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.8rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: clamp(1.4rem, 3vw, 2.6rem) 0 0;
}
.index-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
  padding-right: 0.08em;
}
.im-sub {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
}
.im-sub p { font-size: 1.05rem; color: var(--ink-soft); max-width: 30rem; }

/* slanted marquee */
.slant-marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--invert);
  color: var(--on-invert);
  padding: 0.7rem 0;
  border-top: 1px solid var(--invert-line);
  border-bottom: 1px solid var(--invert-line);
}
.sm-track { display: inline-flex; animation: ticker 40s linear infinite; }
.sm-track span {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 1.4rem;
}
.sm-track span::after { content: '✳'; margin-left: 2.8rem; color: var(--accent); font-style: normal; }

/* wall header + filters */
.index-wall-sec { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.wall-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.wall-head h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.03em; }
.wall-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.wall-filter {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.wall-filter:hover { border-color: var(--ink); color: var(--ink); }
.wall-filter.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* the ledger grid */
.index-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feed-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 0.9rem 0.9rem 1.1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background 0.3s var(--ease);
}
.feed-card.in { opacity: 1; transform: none; }
.feed-card:hover { background: var(--paper-soft); }

.fc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.fc-tag {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transform: skewX(-11deg);
}
.fc-tag > * { display: inline-block; transform: skewX(11deg); }
.fc-tag--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.fc-num { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-soft); letter-spacing: 0.04em; }
.feed-card:hover .fc-num { color: var(--accent); }

.fc-art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.fc-art .cover, .fc-art .art {
  position: absolute; inset: 0;
  width: 100% !important; height: 100%;
  aspect-ratio: auto; border-radius: 0;
}
.fc-art .motif { transition: transform 1.2s var(--ease); }
.feed-card:hover .fc-art .motif { transform: scale(1.06); }

.fc-body { padding-top: 0.85rem; }
.fc-title {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease);
}
.feed-card:hover .fc-title { color: var(--accent); }
.fc-sub { font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.35rem; line-height: 1.4; }
.fc-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

/* event tiles — accent block instead of cover */
.feed-card--event .fc-date {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
}
.feed-card--event .fc-date b { font-family: var(--sans); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; }
.feed-card--event .fc-date span { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; margin-top: 0.4rem; }

/* feature tile — wide, horizontal */
.feed-card--feature { grid-column: span 8; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto 1fr; gap: 0 1.3rem; min-height: clamp(300px, 26vw, 430px); }
.feed-card--feature .fc-top { grid-column: 2; grid-row: 1; margin-bottom: 0; }
.feed-card--feature .fc-art { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; height: auto; align-self: stretch; }
.feed-card--feature .fc-body { grid-column: 2; grid-row: 2; align-self: center; padding-top: 1rem; }
.feed-card--feature .fc-title { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 700; }
.feed-card--feature .fc-sub { font-size: 0.95rem; }

@media (max-width: 1024px) {
  .index-wall { grid-template-columns: repeat(8, 1fr); }
  .feed-card { grid-column: span 4; }
  .feed-card--feature { grid-column: span 8; }
}
@media (max-width: 680px) {
  .index-wall { grid-template-columns: repeat(2, 1fr); }
  .feed-card { grid-column: span 1; }
  .feed-card--feature { grid-column: span 2; grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .feed-card--feature .fc-top { grid-column: 1; grid-row: 1; margin-bottom: 0.85rem; }
  .feed-card--feature .fc-art { grid-column: 1; grid-row: 2; aspect-ratio: 16 / 10; }
  .feed-card--feature .fc-body { grid-column: 1; grid-row: 3; }
}
@media (max-width: 400px) {
  .index-wall { grid-template-columns: 1fr; }
  .feed-card, .feed-card--feature { grid-column: span 1; }
}

/* ============================================================
   Victionary-style home — bold thematic rows, price-forward
   cards, horizontal scroll, generous white space.
   ============================================================ */

.vic-hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.vic-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter);
}
@media (max-width: 900px) { .vic-hero-inner { grid-template-columns: 1fr; } }
.vic-hero-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 1rem 0 0;
}
.vic-hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  color: var(--ink-soft);
  margin-top: 0.8rem;
}
.vic-hero-blurb { color: var(--ink-soft); max-width: 32rem; margin-top: 1.4rem; font-size: 1.05rem; line-height: 1.5; }
.vic-hero-buy { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.8rem; }
.vic-price-lg { font-family: var(--sans); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; }
.vic-hero-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 1.3rem; }
.vic-hero-note::first-letter { color: var(--accent); }
.vic-hero-cover { display: block; justify-self: center; width: min(78%, 380px); }
.vic-hero-cover .cover { box-shadow: var(--shadow-lg); transform: rotate(2deg); transition: transform 0.6s var(--ease); }
.vic-hero-cover:hover .cover { transform: rotate(0) translateY(-6px); }

/* thematic rows */
.vic-row { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.vic-rowhead {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.vic-rownum { font-family: var(--sans); font-weight: 700; font-size: 0.9rem; color: var(--accent); letter-spacing: 0.02em; }
.vic-rowtitle {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.vic-viewall {
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.vic-viewall:hover { color: var(--accent); border-color: var(--accent); }

/* horizontal price-forward track */
.vic-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.vic-track::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .vic-track { grid-auto-columns: minmax(0, 1fr); grid-template-columns: repeat(4, 1fr); grid-auto-flow: row; overflow: visible; margin: 0; padding-left: 0; padding-right: 0; } }

.vic-card { scroll-snap-align: start; display: flex; flex-direction: column; }
.vic-cardtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.vic-price { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; transition: color 0.3s var(--ease); }
.vic-card:hover .vic-price { color: var(--accent); }
.vic-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 0.2rem 0.5rem;
}
.vic-tag--gold { color: var(--gold); border-color: var(--gold); }
.vic-cover { overflow: hidden; border-radius: 2px; }
.vic-cover .cover { box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.vic-card:hover .vic-cover .cover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vic-cover .motif { transition: transform 1.2s var(--ease); }
.vic-card:hover .vic-cover .motif { transform: scale(1.05); }
.vic-meta { padding-top: 0.9rem; }
.vic-meta h3 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.3s var(--ease);
}
.vic-card:hover .vic-meta h3 { color: var(--accent); }
.vic-meta p { font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* ============================================================
   Flagship UX layer — ⌘K palette, skip link, sort, praise,
   shipping progress, recently viewed.
   ============================================================ */

/* skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.1rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus-visible { top: 1rem; }

/* header search button */
.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 34px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.search-btn:hover { border-color: var(--accent); color: var(--accent); }
.search-btn kbd {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
}
@media (max-width: 880px) { .search-btn kbd { display: none; } .search-btn { padding: 0; width: 34px; justify-content: center; } }

/* command palette */
.palette-overlay[hidden] { display: none; }
.palette-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 10, 12, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 14vh, 10rem) var(--gutter) 2rem;
}
.palette {
  width: min(620px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: paletteIn 0.28s var(--ease);
}
@keyframes paletteIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } }
.palette-inputwrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.palette-inputwrap input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 1.02rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.palette-inputwrap kbd, .palette-foot kbd {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.12rem 0.4rem;
  color: var(--ink-soft);
}
.palette-results { max-height: min(46vh, 420px); overflow-y: auto; padding: 0.4rem; }
.palette-results li[role="option"] {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
}
.palette-results li.active { background: var(--paper-soft); }
.palette-results li.active .pr-go { opacity: 1; }
.pr-type {
  flex-shrink: 0;
  width: 62px;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.24rem 0;
  border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.pr-type--book { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pr-type--journal { border-color: var(--accent); color: var(--accent); }
.pr-main { min-width: 0; flex: 1; }
.pr-main b { display: block; font-weight: 650; font-size: 0.94rem; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-main small { display: block; font-size: 0.76rem; color: var(--ink-soft); margin-top: 0.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-go { opacity: 0; color: var(--accent); font-size: 0.9rem; transition: opacity 0.2s ease; }
.palette-empty { padding: 1.4rem 1rem; text-align: center; font-size: 0.88rem; color: var(--ink-soft); }
.palette-foot {
  display: flex;
  gap: 1.4rem;
  padding: 0.7rem 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  color: var(--ink-soft);
}
.palette-foot span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* Victionary-bold shop masthead + unified card sections */
.shop-mega {
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.2rem) !important;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
body[data-page='shop'] .section-head h2,
body[data-page='product'] .related .section-head h2,
#recent-sec .section-head h2 {
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
/* vic-cards inside standard grids need pointer target for tilt */
.book-grid .vic-card .cover { will-change: transform; transition: transform 0.3s ease-out, box-shadow 0.6s var(--ease); }

/* shop sort */
.shop-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.shop-sort select {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.shop-sort select:hover { border-color: var(--ink); }
.filters { align-items: center; }

/* praise on the buy path */
.pdp-praise {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -0.005em;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin: 0.4rem 0 1.3rem;
}

/* free-shipping progress */
.ship-bar {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 1rem;
}
.ship-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

/* ---------- motion: reveals, stagger, hero entrance ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }

  .stagger > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .stagger.in > * { opacity: 1; transform: none; }
  .stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
  .stagger.in > *:nth-child(2) { transition-delay: 0.13s; }
  .stagger.in > *:nth-child(3) { transition-delay: 0.21s; }
  .stagger.in > *:nth-child(4) { transition-delay: 0.29s; }
  .stagger.in > *:nth-child(5) { transition-delay: 0.37s; }
  .stagger.in > *:nth-child(6) { transition-delay: 0.45s; }
  .stagger.in > *:nth-child(7) { transition-delay: 0.53s; }
  .stagger.in > *:nth-child(8) { transition-delay: 0.61s; }
  .stagger.in > *:nth-child(n+9) { transition-delay: 0.69s; }

  [data-load] { opacity: 0; transform: translateY(28px); animation: rise 1.1s var(--ease) forwards; }
  [data-load='2'] { animation-delay: 0.12s; }
  [data-load='3'] { animation-delay: 0.24s; }
  [data-load='4'] { animation-delay: 0.38s; }
  .hero-stage { animation: stageIn 1.4s var(--ease) 0.3s both; }

  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes stageIn {
    from { opacity: 0; transform: translateY(36px) scale(0.97); }
    to { opacity: 1; transform: none; }
  }
}
