/* ============================================================
   THAT'S WHAT SHE SAID — University of Utah Women's Magazine
   Design system: retro-collage editorial, neo-brutalist cards,
   bold serif headlines, sticker/washi-tape accents.
   ============================================================ */

:root {
  /* ---- Brand palette: "Copper & Plum" ---- */
  --pink: #96274f;
  --pink-dark: #751e3e;
  --pink-light: #dab3c1;
  --teal: #2a5250;
  --teal-dark: #21403e;
  --teal-light: #b4c2c2;
  --orange: #ad5620;
  --orange-dark: #874319;
  --orange-light: #e2c4b1;
  --mustard: #b07d1f;
  --mustard-dark: #896218;
  --mustard-light: #e3d2b1;
  --sage: #47562c;
  --sage-dark: #374322;
  --sage-light: #bfc4b5;
  --navy: #3f2454;
  --navy-dark: #311c42;
  --navy-light: #bcb2c3;
  --cream: #fbf3e7;
  --cream-2: #f4e6cf;
  --paper: #fffcf6;
  --ink: #1c1712;
  --ink-soft: #4a4038;

  /* ---- Type ---- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lora", "Iowan Old Style", Georgia, serif;
  --font-hand: "Homemade Apple", "Segoe Script", cursive;
  --font-marker: "Shrikhand", "Segoe UI", cursive;

  /* ---- Structure ---- */
  --border: 2.5px solid var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-md: 7px 7px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1240px;
  --ease: cubic-bezier(.16,.8,.3,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);

  /* ---- Spacing scale (8px base) ----
     Use these for new work instead of one-off pixel values, so section
     rhythm stays consistent. Existing hand-placed decoration (stickers,
     tape, etc.) is intentionally left on its own pixel values — that's
     hand-art-direction, not layout, and isn't meant to snap to a grid. */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
}

/* ---- Shared breakpoints (reference) ----
   New responsive work should snap to these four widths rather than
   inventing new ones. Existing components still use a wider variety of
   one-off breakpoints (620/980/900/700/860/800/1620/780/640/540/520/480/
   380/1150px) — consolidating those is a larger, separate pass since it
   touches layout on every page and needs its own round of visual QA.
   max-width: 480px  -> phone
   max-width: 700px  -> large phone / small tablet
   max-width: 900px  -> tablet
   max-width: 1200px -> small desktop / laptop
*/

/* ---------------- Grain texture (Copper & Plum palette) ----------------
   Reusable .grain utility, applied to small UI surfaces (tag chips,
   buttons, category cards) so flat color reads as dyed fabric instead of
   flat digital fill. Large background areas (.hero, .page-hero, .bg-cream2)
   deliberately do NOT get grain or a background-image texture — solid
   color only, per explicit request. Skips .tint-* photo overlays (they
   already use their own ::before/::after slot) and neutral surfaces
   (.cat-card--4, .btn-dark). */
.grain,
.tag--pink, .tag--teal, .tag--orange, .tag--mustard, .tag--sage, .tag--navy,
.btn-pink, .btn-teal, .btn-mustard,
.cat-card--1, .cat-card--2, .cat-card--3, .cat-card--5, .cat-card--6, .cat-card--7, .cat-card--8 {
  position: relative;
}
.grain::after,
.tag--pink::after, .tag--teal::after, .tag--orange::after, .tag--mustard::after, .tag--sage::after, .tag--navy::after,
.btn-pink::after, .btn-teal::after, .btn-mustard::after,
.cat-card--1::after, .cat-card--2::after, .cat-card--3::after, .cat-card--5::after, .cat-card--6::after, .cat-card--7::after, .cat-card--8::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  animation: page-in .5s var(--ease) both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; line-height: 1.05; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

/* Custom heart cursor — mouse/trackpad devices only; touch devices keep the
   platform default since there's no pointer to skin there. */
@media (hover: hover) and (pointer: fine) {
  html, a, button, input, textarea, select, [role="button"], label {
    cursor: url("../img/cursor/heart-cursor.svg") 10 8, auto;
  }
}
input, textarea, select { font-family: inherit; font-size: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { position: relative; }

::selection { background: var(--mustard); color: var(--ink); }

/* ---------------- Paper grain overlay ---------------- */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 998; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------------- Skip link ---------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--cream); padding: 12px 20px;
  border-radius: 0 0 10px 0; font-family: var(--font-ui); font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 14px 26px; border-radius: 100px; border: var(--border);
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  min-height: 48px;
  position: relative;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); transition-duration: .1s; }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-mustard { background: var(--mustard); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 13px; min-height: 40px; }
.btn-block { width: 100%; }

/* ---------------- Badges / pills / tags ---------------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 100px; border: 2px solid var(--ink);
  background: var(--paper);
  position: relative;
}
.tag--pink { background: var(--pink-dark); color: #fff; border-color: var(--pink-dark); }
.tag--teal { background: var(--teal); color: #fff; border-color: var(--teal-dark); }
.tag--orange { background: var(--orange); color: var(--ink); border-color: var(--orange-dark); }
.tag--mustard { background: var(--mustard); color: var(--ink); border-color: var(--mustard-dark); }
.tag--sage { background: var(--sage); color: var(--ink); border-color: #5f6d38; }
.tag--navy { background: var(--navy); color: #fff; border-color: #17223f; }

/* ---------------- Washi tape & button stickers (real cut-outs) ---------------- */
.tape-img {
  position: absolute;
  width: 140px; height: auto;
  filter: drop-shadow(3px 6px 7px rgba(0,0,0,.28));
  pointer-events: none;
  user-select: none;
}
.sticker-btn {
  position: absolute;
  width: 60px; height: auto;
  filter: drop-shadow(3px 5px 6px rgba(0,0,0,.32));
  pointer-events: none;
  user-select: none;
}

/* ---------------- Site header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: var(--border);
  transition: box-shadow .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(20,16,12,.12); }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--max); margin: 0 auto;
  gap: 20px;
  transition: padding .35s var(--ease);
}
.site-header.is-scrolled .site-header__bar { padding: 9px 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--orange);
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  transform: rotate(-8deg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; color: #fff; font-size: 20px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__title { font-family: var(--font-display); font-weight: 900; font-size: 21px; }
.brand__sub {
  font-family: var(--font-ui); font-weight: 700; font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--pink-dark);
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 100px; border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] {
  border-color: var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}
.nav-toggle {
  display: none; background: var(--ink); color: var(--cream);
  border: none; border-radius: 10px; width: 44px; height: 44px;
  align-items: center; justify-content: center; font-size: 20px;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 68px 0 0 0; background: var(--cream);
    flex-direction: column; align-items: stretch; padding: 18px 24px; gap: 10px;
    transform: translateY(-110%); transition: transform .25s ease; border-top: var(--border);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { text-align: center; padding: 16px; font-size: 16px; }
}

/* ---------------- Marquee ticker ---------------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: var(--ink); color: var(--cream);
  border-bottom: var(--border);
  padding: 12px 0;
}
.marquee__track {
  display: inline-flex; gap: 40px;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 40px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Script marquee (oversized scrolling headline, editorial divider) ---------------- */
.script-marquee {
  overflow: hidden; white-space: nowrap;
  background: var(--cream-2);
  border-top: var(--border); border-bottom: var(--border);
  padding: 18px 0;
}
.script-marquee__track {
  display: inline-flex; gap: 60px;
  animation: marquee 34s linear infinite;
}
.script-marquee:hover .script-marquee__track { animation-play-state: paused; }
.script-marquee span {
  font-family: var(--font-hand); font-weight: 400; font-size: clamp(56px, 9vw, 130px); line-height: 1;
  color: var(--pink); display: inline-flex; align-items: center; gap: 60px;
}

/* ---------------- Hero ---------------- */
.hero {
  background: var(--pink) url('../img/hero-flier-collage.jpg') center / cover no-repeat;
  border-bottom: var(--border);
  overflow: hidden;
  position: relative;
}
.hero-pin {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e8927a 0%, #b8452a 55%, #8a2f1a 100%);
  border: 1.5px solid rgba(20,16,12,.4);
  box-shadow: 0 3px 5px rgba(20,16,12,.5);
  z-index: 2;
}
.hero__inner {
  max-width: var(--max); margin: 0 auto; padding: 64px 28px 80px; position: relative;
  min-height: clamp(560px, 82vh, 820px); display: flex; flex-direction: column; justify-content: center;
}
.hero__title {
  text-align: center; position: relative; z-index: 5; margin: 20px 0 0;
  color: #fff; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 8.5vw, 128px); line-height: .96; letter-spacing: -.01em;
  text-shadow:
    3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink),
    3px 3px 0 var(--ink), -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink),
    0 14px 32px rgba(20,16,12,.6);
  animation: hero-title-in .9s var(--bounce) .15s both;
  cursor: default;
}
.hero__title:hover { animation: hero-title-bounce .7s var(--bounce); }
.hero__title em { font-style: italic; color: var(--mustard); }
/* Confident single entrance beat on page load — settles into the same
   resting rotation the title has always had, so the keyframe's end state
   and the "static" look are the same value. */
@keyframes hero-title-in {
  0%   { opacity: 0; transform: translateY(26px) scale(.92) rotate(-1.4deg); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.03) rotate(-1.4deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(-1.4deg); }
}
@keyframes hero-title-bounce {
  0%   { transform: translateY(0) scale(1) rotate(-1.4deg); }
  30%  { transform: translateY(-18px) scale(1.05) rotate(-1.4deg); }
  55%  { transform: translateY(4px) scale(.98) rotate(-1.4deg); }
  75%  { transform: translateY(-6px) scale(1.02) rotate(-1.4deg); }
  100% { transform: translateY(0) scale(1) rotate(-1.4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title { animation: none; transform: rotate(-1.4deg); }
  .hero__title:hover { animation: none; }
}
.hero-intro { padding: 28px 0 12px; position: relative; }
.hero-intro__single { position: relative; max-width: 560px; margin: 0 auto; }
.hero__mini-card {
  position: absolute; z-index: 6; bottom: 24px; left: 4%; max-width: 300px;
  background: var(--cream); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 16px 20px;
}
.hero__mini-card p { margin: 0; font-size: 14px; line-height: 1.5; }
.hero__mini-card .hero__actions { margin-top: 12px; gap: 10px; }
.hero__mini-card .btn { padding: 9px 16px; font-size: 12.5px; }
.hero__mini-card .hero__secondary-link { font-size: 12px; }
@media (max-width: 700px) {
  .hero__mini-card { position: relative; bottom: auto; right: auto; max-width: none; margin: 16px 20px 24px; }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: var(--border); border-radius: 100px;
  padding: 8px 18px; font-family: var(--font-ui); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-top: 40px; }
.hero__card {
  background: var(--cream); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 28px 30px; font-size: 18px; max-width: 480px;
}
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.hero__secondary-link {
  font-family: var(--font-ui); font-weight: 700; font-size: 13.5px;
  text-decoration: underline; text-underline-offset: 3px; color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.hero__secondary-link:hover { color: var(--pink-dark); }
.hero__deco { position: absolute; }
.hero__badge {
  position: absolute; top: 235px; right: 5%; width: 175px; height: 175px; z-index: 2;
  border-radius: 50%; border: 7px solid var(--mustard); box-shadow: var(--shadow-lg);
  padding: 6px; background: var(--paper);
}
.hero__badge-photo {
  width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center;
  border: 2.5px solid var(--ink);
}
.disco {
  border-radius: 50%; border: 2.5px solid var(--ink); flex-shrink: 0;
  background-color: #eef1fb;
  background-image:
    repeating-linear-gradient(60deg, rgba(214,53,127,.5) 0 5px, transparent 5px 10px),
    repeating-linear-gradient(-60deg, rgba(21,123,111,.45) 0 5px, transparent 5px 10px),
    repeating-linear-gradient(0deg, rgba(28,23,18,.18) 0 1.5px, transparent 1.5px 9px);
  box-shadow: inset -6px -6px 14px rgba(0,0,0,.18), inset 4px 4px 10px rgba(255,255,255,.6);
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero__inner { padding: 26px 20px 52px; }
  .hero__eyebrow { font-size: 11px; padding: 6px 12px; margin-bottom: 16px; }
  .hero__title { font-size: clamp(34px, 10vw, 56px); }
  .hero .disco { width: 40px !important; height: 40px !important; }
  .deco-hero-disco { display: none !important; }
  .deco-friday-arrow { display: none !important; }
  .deco-form-photo { display: none !important; }
  .marquee { padding: 7px 0; }
  .marquee span { font-size: 11px; gap: 26px; }
}

/* Reviews search-section side-margin decorations only have room to breathe
   once the 880px-max-width container's side margins are wide enough —
   below this the margin narrows to the point of overlapping the container. */
@media (max-width: 1150px) {
  .deco-reviews-margin { display: none !important; }
}

/* ---------------- Section headers ---------------- */
.section { padding: 74px 0; }
.section--tight { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 {
  font-family: var(--font-marker); font-weight: 400;
  font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05; letter-spacing: 0;
}
.section-kicker {
  font-family: var(--font-ui); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pink-dark); display: block; margin-bottom: 10px;
}
.section-link { font-family: var(--font-ui); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* ---------------- Ransom-note heading (sparingly, one spot only) ---------------- */
.ransom-heading { display: flex; flex-wrap: wrap; gap: 10px .22em; align-items: baseline; }
.ransom-heading span {
  display: inline-block;
  padding: .05em .12em;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--paper);
}
.ransom-heading span:nth-child(1) { color: var(--pink); font-family: var(--font-marker); transform: rotate(-4deg); }
.ransom-heading span:nth-child(2) { color: var(--teal); font-family: var(--font-display); transform: rotate(3deg); font-style: italic; }
.ransom-heading span:nth-child(3) { color: var(--mustard-dark); font-family: var(--font-marker); transform: rotate(-2deg); }

/* alternating section backgrounds */
.bg-cream2 { background: var(--cream-2); border-top: var(--border); border-bottom: var(--border); }
.bg-ink { background: var(--ink); color: var(--cream); border-top: var(--border); border-bottom: var(--border); }
.bg-ink .section-kicker { color: var(--mustard); }
.bg-ink h2 { color: var(--paper); }

/* ---------------- Category grid ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-card {
  border: var(--border); border-radius: var(--radius-sm);
  padding: 26px 20px; min-height: 168px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-size .5s var(--ease);
  color: var(--ink); position: relative; overflow: hidden;
  background-size: 100%; background-position: center;
}
.cat-card:hover { transform: translate(-4px, -6px) rotate(-.4deg); box-shadow: var(--shadow-md); }
.cat-card.has-photo:hover { background-size: 114%; }
.cat-card__icon, .cat-card__title { transition: transform .4s var(--ease); }
.cat-card:hover .cat-card__title { transform: translateX(2px); }
.cat-card__icon { width: 34px; height: 34px; }
.cat-card__title { font-family: var(--font-display); font-weight: 900; font-size: 20px; margin-top: 14px; }
.cat-card--1 { background: var(--pink-light); }
.cat-card--2 { background: var(--teal-light); }
.cat-card--3 { background: var(--mustard); }
.cat-card--4 { background: #fff; }
.cat-card--5 { background: var(--orange); color: #fff; }
.cat-card--6 { background: var(--sage); color: #fff; }
.cat-card--7 { background: var(--pink); color: #fff; }
.cat-card--8 { background: var(--navy); color: #fff; }
.cat-card.has-photo { color: #fff; }
.cat-card.has-photo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sage); opacity: .55; mix-blend-mode: multiply; }
.cat-card.has-photo > * { position: relative; z-index: 1; }
.cat-card.has-photo.tint-pink::before { background: var(--pink); }
.cat-card.has-photo.tint-teal::before { background: var(--teal); }
.cat-card.has-photo.tint-orange::before { background: var(--orange); }
.cat-card.has-photo.tint-mustard::before { background: var(--mustard-dark); opacity: .5; }
.cat-card.has-photo.tint-sage::before { background: var(--sage); }
.cat-card.has-photo.tint-navy::before { background: var(--navy); }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------------- Article cards ---------------- */
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.article-card { display: block; position: relative; }
.article-card__media {
  border: var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3; position: relative; overflow: hidden; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  background-size: 100%; background-position: center;
}
.article-card:hover .article-card__media { transform: translate(-4px, -6px) rotate(-.3deg); box-shadow: var(--shadow-md); }
.article-card__media.has-photo { transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-size .6s var(--ease); }
.article-card:hover .article-card__media.has-photo { background-size: 115%; }
.article-card__media svg { width: 44%; height: 44%; opacity: .9; transition: transform .4s var(--ease); }
.article-card:hover .article-card__media svg { transform: scale(1.08) rotate(-4deg); }
.article-card h3 { transition: color .3s var(--ease); }
.article-card:hover h3 { color: var(--pink-dark); }
.article-card__tag { position: absolute; top: 12px; left: 12px; }
.article-card h3 { font-size: 22px; margin-bottom: 8px; }
.article-card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 10px; }
.article-card__meta { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }

.media-pink { background: radial-gradient(130% 130% at 24% 18%, var(--pink) 0%, var(--pink-dark) 100%); }
.media-teal { background: radial-gradient(130% 130% at 24% 18%, var(--teal) 0%, var(--teal-dark) 100%); }
.media-orange { background: radial-gradient(130% 130% at 24% 18%, var(--orange) 0%, var(--orange-dark) 100%); }
.media-mustard { background: radial-gradient(130% 130% at 24% 18%, var(--mustard) 0%, var(--mustard-dark) 100%); }
.media-sage { background: radial-gradient(130% 130% at 24% 18%, var(--sage) 0%, #5f6d38 100%); }
.media-navy { background: radial-gradient(130% 130% at 24% 18%, var(--navy) 0%, #141c33 100%); }

.article-card__media.has-photo { background-size: cover; background-position: center; }
.article-card__media.has-photo::after {
  content: ""; position: absolute; inset: 0;
  mix-blend-mode: multiply; opacity: .55;
}
.article-card__media.has-photo.tint-sage::after { background: var(--sage); }
.article-card__media.has-photo.tint-navy::after { background: var(--navy); }
.article-card__media.has-photo.tint-pink::after { background: var(--pink); }
.article-card__media.has-photo.tint-teal::after { background: var(--teal); }
.article-card__media.has-photo.tint-mustard::after { background: var(--mustard-dark); opacity: .45; }
.article-card__media.has-photo.tint-orange::after { background: var(--orange); }
.article-card__media.has-photo .article-card__tag { z-index: 2; }
.article-card__media.has-photo svg { display: none; }

@media (max-width: 980px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .article-grid { grid-template-columns: 1fr; } }

/* ---------------- Events strip ---------------- */
.events-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.event-day {
  background: var(--paper); border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); padding: 16px 14px; min-height: 190px;
  display: flex; flex-direction: column; gap: 10px;
}
.event-day:nth-child(7n+1) { background: var(--pink-light); }
.event-day:nth-child(7n+2) { background: var(--teal-light); }
.event-day:nth-child(7n+3) { background: var(--mustard-light); }
.event-day:nth-child(7n+4) { background: var(--sage-light); }
.event-day:nth-child(7n+5) { background: var(--orange-light); }
.event-day:nth-child(7n+6) { background: var(--navy-light); }
.event-day:nth-child(7n+7) { background: var(--pink-light); }
.event-day__label { font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); opacity: .65; }
.event-day__date { font-family: var(--font-display); font-weight: 900; font-size: 26px; }
.event-pill { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; padding: 8px 9px; font-size: 12.5px; line-height: 1.3; }
.event-pill strong { display: block; font-family: var(--font-ui); font-size: 12px; margin-bottom: 2px; }
@media (max-width: 980px) { .events-strip { grid-template-columns: repeat(4, 1fr); } .event-day:nth-child(n+5){display:none;} }
@media (max-width: 620px) { .events-strip { grid-template-columns: repeat(2, 1fr); } .event-day:nth-child(n+3){display:none;} }

/* ---------------- Newsletter / CTA banner ---------------- */
.cta-banner {
  background: var(--mustard); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 46px 44px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
}
.cta-banner h2 { font-size: clamp(32px, 5vw, 54px); line-height: 1.02; }
.cta-form { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-form input[type="email"] {
  flex: 1; min-width: 200px; padding: 14px 18px; border-radius: 100px; border: var(--border);
  font-size: 15px; background: var(--paper);
}
@media (max-width: 780px) { .cta-banner { grid-template-columns: 1fr; } }

/* ---------------- Stat strip (homepage credibility band) ---------------- */
.stat-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 0; max-width: var(--max); margin: 0 auto; padding: 8px 28px;
}
.stat-strip__item { display: flex; flex-direction: column; align-items: center; padding: 0 30px; position: relative; text-align: center; }
.stat-strip__item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 2px; height: 30px; background: var(--ink); opacity: .15;
}
.stat-strip__num { font-family: var(--font-display); font-weight: 900; font-size: 32px; color: var(--pink-dark); line-height: 1; }
.stat-strip__label { font-family: var(--font-ui); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-top: 5px; }
.stat-strip--light .stat-strip__num { color: #fff; }
.stat-strip--light .stat-strip__label { color: rgba(255,255,255,.72); }
.stat-strip--light .stat-strip__item:not(:last-child)::after { background: #fff; opacity: .25; }

/* ---------------- Category strip (homepage horizontal scroll) ---------------- */
.cat-strip {
  display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 22px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--pink) transparent;
}
.cat-strip::-webkit-scrollbar { height: 6px; }
.cat-strip::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 10px; }
.cat-strip::-webkit-scrollbar-track { background: transparent; }
.cat-strip .cat-card {
  flex: 0 0 auto; width: clamp(150px, 22vw, 190px); scroll-snap-align: start;
}
@media (max-width: 700px) { .cat-strip .cat-card { width: 42vw; } }

/* ---------------- Polaroid moment (homepage photo system) ---------------- */
.polaroid-moment { position: relative; padding: 60px 0 24px; overflow: hidden; }
.polaroid-moment .section-head h2 { font-style: italic; font-size: clamp(28px, 3.6vw, 44px); }
.polaroid-strip {
  position: relative; max-width: var(--max); margin: 36px auto 0; padding: 0 28px;
  min-height: 500px;
}
.polaroid {
  --rot: 0deg; --ty: 0px; --size: 220px;
  position: absolute; width: var(--size); background: #fff; padding: 12px 12px 44px;
  box-shadow: var(--shadow-lg); border-radius: 2px; display: block; cursor: pointer;
  transform: rotate(var(--rot)) translateY(var(--ty));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.polaroid:hover, .polaroid:focus-visible {
  transform: rotate(0deg) translateY(calc(var(--ty) - 10px)) scale(1.08);
  box-shadow: var(--shadow-lg), 0 28px 46px rgba(0,0,0,.26); z-index: 5;
}
.polaroid img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 1px; transition: filter .35s var(--ease); }
.polaroid:hover img, .polaroid:focus-visible img { filter: saturate(1.2) brightness(1.04); }
.polaroid figcaption, .polaroid .polaroid__cap {
  font-family: var(--font-hand); font-size: 20px; color: var(--ink); text-align: center;
  margin-top: 10px; line-height: 1.1; transition: color .35s var(--ease);
}
.polaroid:hover figcaption, .polaroid:hover .polaroid__cap { color: var(--pink-dark); }
.polaroid--1 { left: 1%; top: 0; --rot: -6deg; --size: clamp(210px, 23vw, 300px); }
.polaroid--2 { left: 26%; top: 70px; --rot: 4deg; --size: clamp(230px, 26vw, 340px); z-index: 2; }
.polaroid--3 { left: 57%; top: 2px; --rot: -3deg; --size: clamp(205px, 21vw, 265px); }
.polaroid--4 { left: 80%; top: 108px; --rot: 7deg; --size: clamp(205px, 21.5vw, 275px); }
@media (max-width: 900px) {
  .polaroid-strip { min-height: 780px; }
  .polaroid--1 { left: 1%; top: 0; }
  .polaroid--2 { left: 42%; top: 50px; }
  .polaroid--3 { left: 4%; top: 370px; }
  .polaroid--4 { left: 48%; top: 420px; }
}
@media (max-width: 520px) {
  .polaroid-strip { min-height: 660px; }
  .polaroid--1 { left: 1%; top: 0; --size: 50vw; }
  .polaroid--2 { left: 46%; top: 36px; --size: 54vw; }
  .polaroid--3 { left: 2%; top: 290px; --size: 50vw; }
  .polaroid--4 { left: 46%; top: 320px; --size: 50vw; }
}
@media (max-width: 620px) {
  .stat-strip { gap: 16px 0; }
  .stat-strip__item { padding: 0 14px; }
  .stat-strip__item:not(:last-child)::after { height: 22px; }
  .stat-strip__num { font-size: 26px; }
}

/* ---------------- Footer ---------------- */
.site-footer { position: relative; background: var(--ink); color: var(--cream); border-top: var(--border); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; margin-bottom: 46px; }
.footer-brand p { color: #cabfb4; max-width: 320px; }
.footer-col h4 { font-family: var(--font-ui); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mustard); margin-bottom: 14px; }
.footer-col a, .footer-col li { display: block; margin-bottom: 10px; color: #e9e2d8; font-size: 14.5px; }
.footer-col a:hover { color: var(--mustard); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1.5px solid #46392e; padding-top: 22px; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #b6ab9f; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  border-bottom: var(--border); padding: 56px 0 46px; position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(50px, 9.5vw, 116px); line-height: .95; letter-spacing: -.01em; }
.page-hero p.lede { font-size: 20px; max-width: 640px; color: var(--ink-soft); line-height: 1.6; }
.page-hero--pink { background: var(--pink-light); }
.page-hero--teal { background: var(--teal-light); }
.page-hero--mustard { background: var(--mustard); }
.page-hero--sage { background: var(--sage-light); }
.page-hero--navy { background: var(--navy-light); }
.page-hero--cream2 { background: var(--cream-2); }
.page-hero--photo { background-size: cover; background-repeat: no-repeat; background-position: center; color: #fff; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 12, .48); }
.page-hero--photo .container { position: relative; z-index: 1; }
.page-hero--photo .eyebrow-simple { color: var(--mustard); }
.page-hero--photo h1 { color: #fff; text-shadow: 3px 3px 0 rgba(0,0,0,.35); }
.page-hero--photo p.lede { color: #f3ece2; }

/* Stronger poster-style knockout for busier/higher-contrast photo heroes */
.page-hero--photo-strong h1 {
  color: #fff; max-width: 820px;
  font-size: clamp(42px, 7.5vw, 92px);
  text-shadow:
    3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink),
    3px 3px 0 var(--ink), -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink),
    0 14px 32px rgba(20,16,12,.55);
}
.page-hero--photo-strong::before { background: rgba(20, 16, 12, .32); }

/* ---------------- Slow-zoom background layer ----------------
   A dedicated absolutely-positioned layer that owns background-image +
   background-size: cover, with the "Ken Burns" zoom done via transform:
   scale() instead of animating background-size directly. Animating
   background-size (the old approach) isn't equivalent to cover once the
   image and container aspect ratios diverge, and can leave a gap — see
   the page-hero--photo fix earlier. transform:scale() on its own layer
   always covers correctly and composites on the GPU besides. */
.zoom-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-repeat: no-repeat;
  animation: slow-zoom-scale 22s var(--ease) infinite alternate;
  will-change: transform;
}
@keyframes slow-zoom-scale { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .zoom-bg { animation: none; }
}

/* ---------------- Full-bleed image banner ---------------- */
.image-banner {
  position: relative; overflow: hidden; border-bottom: var(--border);
  min-height: 360px; display: flex; align-items: flex-end;
}
.image-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,16,12,0) 25%, rgba(20,16,12,.82) 100%);
}
.image-banner__content { position: relative; z-index: 2; padding: 32px 0 38px; color: #fff; }
.image-banner__content .section-kicker { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.55), 0 0 16px rgba(0,0,0,.35); }
.image-banner__content h2 { color: #fff; font-style: italic; font-size: clamp(40px, 7vw, 84px); line-height: .98; max-width: 720px; }
.image-banner__content p { color: #f0e9df; max-width: 520px; font-size: 17px; }

/* ---------------- Filter tabs (Read page) ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 100px; border: 2px solid var(--ink); background: var(--paper);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--bounce), box-shadow .25s var(--ease);
}
.filter-btn:hover { transform: translateY(-2px); box-shadow: 2px 4px 0 rgba(20,16,12,.18); }
.filter-btn.is-active { background: var(--ink); color: var(--cream); }

/* ---------------- Generic content card ---------------- */
.card {
  background: var(--paper); border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); padding: 28px;
}

/* ---------------- Article single page ---------------- */
.article-header { padding: 54px 0 34px; border-bottom: var(--border); }
.article-header h1 { font-size: clamp(42px, 7.5vw, 88px); line-height: .98; max-width: 880px; }
.byline { display: flex; align-items: center; gap: 12px; font-family: var(--font-ui); font-size: 13.5px; font-weight: 700; text-transform: uppercase; color: var(--ink-soft); margin-top: 20px; }
.article-body { max-width: 720px; margin: 0 auto; padding: 50px 28px; font-size: 19px; line-height: 1.75; }
.article-body h2 { font-size: 30px; margin-top: 1.4em; }
.pull-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 28px;
  border-left: 6px solid var(--pink); padding: 6px 0 6px 26px; margin: 2em 0; color: var(--pink-dark);
}

/* ---------------- Team / about grid ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { text-align: center; }
.team-card__photo {
  aspect-ratio: 1; border-radius: 50%; border: var(--border); box-shadow: var(--shadow-sm);
  margin-bottom: 14px; display: flex; align-items: center; justify-content: center;
}
.team-card h3 { font-size: 18px; margin-bottom: 2px; }
.team-card .role { font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; text-transform: uppercase; color: var(--pink-dark); }
.team-card__bio { font-family: var(--font-ui); font-size: 11px; color: var(--ink-soft); margin-top: 8px; line-height: 1.45; }
.team-card__social {
  display: inline-block; margin-top: 8px; font-family: var(--font-ui); font-weight: 700;
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--pink-dark);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------------- Letter from the editor ---------------- */
.editor-letter {
  background: var(--paper); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 38px 44px; max-width: 720px; margin: 0 auto;
}
.editor-letter p { font-size: 17px; line-height: 1.7; color: var(--ink); margin: 0 0 1.1em; }
.editor-letter p:last-of-type { margin-bottom: 0; }
.editor-letter__sign { margin-top: 22px; font-family: var(--font-hand); font-size: 27px; color: var(--pink-dark); line-height: 1; }
.editor-letter__role { font-family: var(--font-ui); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 620px) { .editor-letter { padding: 26px 22px; } }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Stats row (About page) ---------------- */
@media (max-width: 620px) { .stats-row { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; } }
@media (max-width: 380px) { .stats-row { grid-template-columns: 1fr !important; } }

/* ---------------- Form (Submit page) ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 640px; }
.field label { display: block; font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: var(--border); border-radius: var(--radius-sm);
  background: var(--paper); font-size: 15.5px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; }
.form-success {
  display: none; background: var(--teal-light); border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); padding: 22px 26px; font-weight: 600;
}
.form-success.is-visible { display: block; }

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .4s; }
.reveal-d6 { transition-delay: .48s; }

/* Bolder scroll entrance for the occasional big beat (used alongside
   .reveal — the JS observer already watches every .reveal element, this
   just overrides how dramatically it moves). A stronger rise + scale-up
   with bounce easing, instead of the standard subtle fade+rise. */
.reveal-bold {
  transform: translateY(56px) scale(.94);
  transition: opacity .8s var(--ease), transform .8s var(--bounce);
}
.reveal-bold.is-visible { transform: translateY(0) scale(1); }

/* ---------------- Polaroid / collage gallery ---------------- */
.gallery {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 18px;
  padding: 10px 0 30px;
}
.gallery-item {
  background: var(--paper); border: var(--border); border-radius: 8px;
  box-shadow: var(--shadow-sm); padding: 10px 10px 0;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), z-index 0s;
  position: relative;
}
.gallery-item__photo {
  aspect-ratio: 1; background-size: cover; background-position: center;
  border-radius: 3px; overflow: hidden; position: relative;
  transition: background-size .6s var(--ease);
}
.gallery-item__cap {
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 14px;
  padding: 10px 4px 12px; color: var(--ink-soft); text-align: center;
}
.gallery-item:hover { transform: scale(1.05) rotate(0deg) !important; box-shadow: var(--shadow-lg); z-index: 5; }
.gallery-item:hover .gallery-item__photo { background-size: 112%; }

.gallery-item--a { grid-column: span 3; transform: rotate(-2.5deg); }
.gallery-item--b { grid-column: span 3; transform: rotate(1.8deg); }
.gallery-item--c { grid-column: span 2; transform: rotate(-1.4deg); }
.gallery-item--d { grid-column: span 2; transform: rotate(2.2deg); }
.gallery-item--e { grid-column: span 2; transform: rotate(1.6deg); }
.gallery-item--f { grid-column: span 2; transform: rotate(-2deg); }
.gallery-item--g { grid-column: span 3; transform: rotate(1.2deg); }
.gallery-item--h { grid-column: span 3; transform: rotate(-1.6deg); }

@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery-item--a, .gallery-item--b { grid-column: span 4; }
  .gallery-item--c, .gallery-item--d, .gallery-item--e, .gallery-item--f { grid-column: span 2; }
  .gallery-item--g, .gallery-item--h { grid-column: span 4; }
}
@media (max-width: 620px) {
  .gallery { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .gallery-item, .gallery-item--a, .gallery-item--b, .gallery-item--c, .gallery-item--d, .gallery-item--e, .gallery-item--f, .gallery-item--g, .gallery-item--h {
    grid-column: span 1 !important; grid-row: span 1 !important;
  }
}

/* Texture/pattern band using photo as background */
.texture-band {
  border-top: var(--border); border-bottom: var(--border);
  padding: 54px 0; position: relative; overflow: hidden;
}
.texture-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20,16,12,.58); }
.texture-band .container { position: relative; z-index: 2; text-align: center; }
.texture-band h2 { color: #fff; font-style: italic; font-size: clamp(36px, 6.2vw, 72px); line-height: 1; max-width: 820px; margin: 0 auto .3em; }
.texture-band .section-kicker { color: var(--mustard); }
.texture-band p { color: #f0e9df; max-width: 560px; margin: 0 auto; }

/* ---------------- Torn paper divider ---------------- */
.torn-edge {
  height: 30px; width: 100%; display: block;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30'%3E%3Cpolygon points='0,30 0,11 4,17 9,5 14,15 19,3 24,13 29,7 34,19 39,9 44,21 49,5 54,15 59,3 64,17 69,7 74,21 79,11 84,23 89,9 94,19 100,11 100,30' /%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30'%3E%3Cpolygon points='0,30 0,11 4,17 9,5 14,15 19,3 24,13 29,7 34,19 39,9 44,21 49,5 54,15 59,3 64,17 69,7 74,21 79,11 84,23 89,9 94,19 100,11 100,30' /%3E%3C/svg%3E");
  -webkit-mask-size: 110px 30px; mask-size: 110px 30px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.torn-edge--down { transform: scaleY(-1); }

/* ---------------- Stamp ---------------- */
.stamp {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 88px; height: 88px; flex-shrink: 0;
  border: 2.5px dashed var(--ink); border-radius: 6px;
  background: var(--paper); box-shadow: var(--shadow-sm);
  font-family: var(--font-ui); font-weight: 700; font-size: 10px; letter-spacing: .04em; text-transform: uppercase;
  text-align: center; padding: 6px; transform: rotate(-7deg);
}
.stamp span { font-family: var(--font-display); font-weight: 900; font-size: 20px; text-transform: none; letter-spacing: 0; }

/* ---------------- Handwritten note ---------------- */
.note {
  font-family: var(--font-hand); font-size: 23px; line-height: 1.25; color: var(--ink);
  background: #fff4cf; border: 2px solid var(--ink); border-radius: 3px;
  padding: 16px 20px 14px; box-shadow: var(--shadow-sm); display: inline-block; position: relative;
}
.note--pink { background: var(--pink-light); }
.note--teal { background: var(--teal-light); }

/* ---------------- Doodle underline / squiggle ---------------- */
.doodle-underline {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 9c15-9 25 3 40-3s25 3 38-2 25 3 38-3' fill='none' stroke='%2396274f' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 12px;
  padding-bottom: 8px;
}

/* ---------------- Callout card ---------------- */
.callout {
  border: var(--border); border-left-width: 7px; border-radius: var(--radius-sm);
  background: var(--paper); box-shadow: var(--shadow-sm); padding: 24px 28px;
  border-left-color: var(--pink);
}
.callout--teal { border-left-color: var(--teal); }
.callout--mustard { border-left-color: var(--mustard-dark); }
.callout--sage { border-left-color: var(--sage); }
.callout__label {
  font-family: var(--font-ui); font-weight: 700; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--pink-dark); display: block; margin-bottom: 8px;
}
.callout p:last-child { margin-bottom: 0; }
.callout--torn { position: relative; }
.callout--torn::before {
  content: "";
  position: absolute;
  top: -14px; left: 22px;
  width: 92px; height: 24px;
  background-color: var(--mustard-light);
  border: 2px solid var(--ink);
  transform: rotate(-3deg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30'%3E%3Cpolygon points='0,30 0,11 4,17 9,5 14,15 19,3 24,13 29,7 34,19 39,9 44,21 49,5 54,15 59,3 64,17 69,7 74,21 79,11 84,23 89,9 94,19 100,11 100,30' /%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30'%3E%3Cpolygon points='0,30 0,11 4,17 9,5 14,15 19,3 24,13 29,7 34,19 39,9 44,21 49,5 54,15 59,3 64,17 69,7 74,21 79,11 84,23 89,9 94,19 100,11 100,30' /%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  z-index: 0;
}

/* ---------------- Pull quote (scrapbook) ---------------- */
.pull-quote-deco {
  position: relative; font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(23px, 3.2vw, 32px); line-height: 1.3; color: var(--ink);
  text-align: center; max-width: 660px; margin: 2.6em auto; padding: 0 44px;
}
.pull-quote-deco::before {
  content: "\201C"; font-family: var(--font-display); font-style: normal; font-size: 100px;
  color: var(--pink-light); position: absolute; top: -46px; left: -6px; z-index: 0; line-height: 1;
}
.pull-quote-deco span { position: relative; z-index: 1; }
.pull-quote-deco cite {
  display: block; font-style: normal; font-family: var(--font-ui); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--pink-dark); margin-top: 16px;
}

/* ---------------- Pin dot (polaroid accent) ---------------- */
.pin-dot {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm); z-index: 3; pointer-events: none;
}
.pin-dot--pink { background: var(--pink); }
.pin-dot--teal { background: var(--teal); }
.pin-dot--mustard { background: var(--mustard); }
.pin-dot--sage { background: var(--sage); }
.pin-dot--orange { background: var(--orange); }

/* ---------------- CSS washi tape (pattern variants, no image assets needed) ---------------- */
.washi {
  position: absolute; height: 36px; min-width: 70px;
  box-shadow: 1px 2px 5px rgba(20,16,12,.28);
  opacity: .92; pointer-events: none; user-select: none;
  border-radius: 1px;
}
.washi::after { content:""; position:absolute; inset:0; background: rgba(255,255,255,.08); }
.washi--stripe-pink   { background: repeating-linear-gradient(45deg, var(--pink) 0 8px, #fff0 8px 16px), var(--pink-light); }
.washi--stripe-teal   { background: repeating-linear-gradient(45deg, var(--teal) 0 8px, #fff0 8px 16px), var(--teal-light); }
.washi--stripe-navy   { background: repeating-linear-gradient(-45deg, var(--navy) 0 7px, #fff0 7px 14px), #cfd6ea; }
.washi--dot-mustard   { background: radial-gradient(circle, var(--mustard-dark) 3px, transparent 3.5px) 0 0/16px 16px, var(--mustard); }
.washi--dot-orange    { background: radial-gradient(circle, #fff 3px, transparent 3.5px) 0 0/14px 14px, var(--orange); }
.washi--dot-sage      { background: radial-gradient(circle, #fff 3px, transparent 3.5px) 0 0/14px 14px, var(--sage); }
.washi--gingham-pink  { background: repeating-linear-gradient(90deg, rgba(214,53,127,.55) 0 6px, transparent 6px 12px), repeating-linear-gradient(0deg, rgba(214,53,127,.55) 0 6px, transparent 6px 12px), #fff; }
.washi--gingham-sage  { background: repeating-linear-gradient(90deg, rgba(138,154,91,.55) 0 6px, transparent 6px 12px), repeating-linear-gradient(0deg, rgba(138,154,91,.55) 0 6px, transparent 6px 12px), #fff; }
.washi--solid-mustard { background: var(--mustard); }
.washi--solid-navy    { background: var(--navy); }
.washi--cross-teal    { background: repeating-linear-gradient(45deg, var(--teal-dark) 0 3px, transparent 3px 13px), repeating-linear-gradient(-45deg, var(--teal-dark) 0 3px, transparent 3px 13px), var(--teal-light); }
.washi--zigzag-orange { background: linear-gradient(135deg, transparent 45%, var(--orange-dark) 45% 55%, transparent 55%) 0 0/12px 12px, var(--orange); }
.washi--holo-a { background: linear-gradient(115deg, var(--pink) 0%, var(--mustard) 30%, var(--sage) 55%, var(--teal) 78%, var(--navy) 100%); }
.washi--holo-b { background: linear-gradient(115deg, var(--teal) 0%, var(--sage) 25%, var(--mustard) 55%, var(--orange) 75%, var(--pink) 100%); }
.washi--holo-a::after, .washi--holo-b::after {
  background: repeating-linear-gradient(100deg, rgba(255,255,255,.4) 0 3px, transparent 3px 10px);
  mix-blend-mode: overlay;
}

/* ---------------- Paper scraps (large torn color-block accents) ---------------- */
.paper-scrap {
  position: absolute;
  width: 160px; height: 120px;
  pointer-events: none;
  filter: drop-shadow(3px 5px 6px rgba(20,16,12,.25));
  clip-path: polygon(4% 10%, 24% 0%, 51% 5%, 74% 0%, 96% 11%, 100% 32%, 95% 58%, 100% 80%, 88% 97%, 60% 100%, 35% 95%, 11% 100%, 0% 80%, 5% 50%, 0% 22%);
  z-index: 0;
}
.paper-scrap--pink    { background: var(--pink-light); }
.paper-scrap--teal    { background: var(--teal-light); }
.paper-scrap--mustard { background: var(--mustard-light); }
.paper-scrap--sage    { background: var(--sage-light); }
.paper-scrap--navy    { background: var(--navy-light); }
.paper-scrap--orange  { background: var(--orange-light); }
/* Saturated variants — for use on page-heroes that are themselves a -light
   tint (pink/teal/sage/navy page-heroes), where a -light scrap would read
   as washed-out or (navy-on-navy) literally invisible against the hero. */
.paper-scrap--pink-solid    { background: var(--pink); }
.paper-scrap--teal-solid    { background: var(--teal); }
.paper-scrap--mustard-solid { background: var(--mustard-dark); }
.paper-scrap--sage-solid    { background: var(--sage); }
.paper-scrap--navy-solid    { background: var(--navy); }
.paper-scrap--orange-solid  { background: var(--orange); }

/* ---------------- Cutout stickers (photo/illustration cutouts, no card frame) ---------------- */
.cutout {
  position: absolute; pointer-events: none; user-select: none;
  filter: drop-shadow(3px 6px 8px rgba(20,16,12,.35));
  transition: transform .45s var(--bounce);
}
.cutout.is-interactive { pointer-events: auto; cursor: default; }
.cutout.is-interactive:hover { transform: var(--cutout-hover, scale(1.1) rotate(-4deg)) !important; }

/* ---------------- Notebook / lined paper texture ---------------- */
.paper-lined {
  background-color: #fffef9;
  background-image:
    linear-gradient(90deg, transparent 46px, rgba(214,53,127,.35) 46px, rgba(214,53,127,.35) 48px, transparent 48px),
    repeating-linear-gradient(180deg, transparent 0 30px, rgba(43,58,103,.18) 30px 31px);
  background-size: 100% 100%, 100% 31px;
}

/* ---------------- Corkboard / graph paper texture ---------------- */
.paper-grid {
  background-color: var(--paper);
  background-image: linear-gradient(rgba(43,58,103,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(43,58,103,.09) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------------- Ticket stub ---------------- */
.ticket {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--paper); border: 2px dashed var(--ink); border-radius: 10px;
  padding: 12px 18px; box-shadow: var(--shadow-sm); position: relative;
  font-family: var(--font-ui);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 18px;
  background: var(--cream); border: 2px dashed var(--ink); border-radius: 50%; transform: translateY(-50%);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket__num { font-weight: 900; font-size: 22px; font-family: var(--font-display); }
.ticket__label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }

/* ---------------- Paper clip / staple ---------------- */
.paperclip {
  position: absolute; width: 34px; height: 62px; pointer-events: none;
  filter: drop-shadow(1px 3px 3px rgba(20,16,12,.3));
}
.staple {
  position: absolute; width: 26px; height: 14px; pointer-events: none;
  filter: drop-shadow(1px 2px 2px rgba(20,16,12,.4));
}

/* ---------------- Postage mark ---------------- */
.postmark {
  position: absolute; width: 78px; height: 78px; border-radius: 50%;
  border: 2px solid rgba(28,23,18,.55); display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--font-ui); font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(28,23,18,.6); pointer-events: none; transform: rotate(-12deg);
  background: repeating-radial-gradient(circle, transparent 0 32px, rgba(28,23,18,.08) 32px 34px);
}
.postmark::before {
  content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(28,23,18,.5); border-radius: 50%;
}

/* ---------------- Highlight marker text ---------------- */
.highlight {
  background-image: linear-gradient(104deg, transparent .5%, var(--mustard-light) .5%, var(--mustard-light) 99.5%, transparent 99.5%);
  background-repeat: no-repeat; background-size: 100% 52%; background-position: 0 68%;
  padding: 0 .12em;
}
.highlight--pink { background-image: linear-gradient(104deg, transparent .5%, var(--pink-light) .5%, var(--pink-light) 99.5%, transparent 99.5%); }
.highlight--teal { background-image: linear-gradient(104deg, transparent .5%, var(--teal-light) .5%, var(--teal-light) 99.5%, transparent 99.5%); }

/* ---------------- Doodle SVG helpers (arrows / circles / scribbles) ---------------- */
.doodle { position: absolute; pointer-events: none; overflow: visible; }
.doodle path, .doodle circle, .doodle ellipse { fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- Sticker pop-in entrance ---------------- */
@keyframes sticker-pop {
  0% { opacity: 0; transform: scale(.4) rotate(var(--pop-rot, -14deg)); }
  65% { opacity: 1; transform: scale(1.08) rotate(calc(var(--pop-rot, -14deg) * .3)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--pop-rot, -8deg)); }
}
.sticker-pop { opacity: 0; }
.sticker-pop.is-visible { animation: sticker-pop .7s var(--bounce) forwards; }

/* ---------------- Glitter badge (interactive hero pin, click for a sparkle burst) ---------------- */
.glitter-badge {
  position: absolute;
  width: 132px; height: 132px;
  cursor: pointer;
  border: none; background: none; padding: 0;
  filter: drop-shadow(2px 6px 9px rgba(20,16,12,.38));
  transition: transform .25s var(--bounce);
}
.glitter-badge:hover { transform: scale(1.08) rotate(-5deg); }
.glitter-badge:active { transform: scale(.94) rotate(3deg); }
.glitter-badge__shimmer {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.95) 48%, transparent 62%);
  background-size: 260% 260%;
  mix-blend-mode: overlay;
  animation: glitter-sweep 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glitter-sweep {
  0%   { background-position: 220% 10%; opacity: 0; }
  12%  { opacity: 1; }
  50%  { background-position: -60% 100%; opacity: 0; }
  100% { background-position: -60% 100%; opacity: 0; }
}
.glitter-badge__sparkle {
  position: absolute; color: #fff; font-size: 11px; line-height: 1;
  text-shadow: 0 0 3px rgba(255,255,255,.9);
  animation: glitter-twinkle 2.1s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glitter-twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(25deg); }
}
.sparkle-burst {
  position: fixed; width: 9px; height: 9px; pointer-events: none; z-index: 999;
  background: radial-gradient(circle, #fff 0%, var(--gb-color, var(--mustard)) 55%, transparent 72%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: sparkle-fly .75s ease-out forwards;
}
@keyframes sparkle-fly {
  0%   { transform: translate(0,0) scale(.5) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--sx), var(--sy)) scale(1.2) rotate(200deg); opacity: 0; }
}

/* ---------------- Photo-sticker wall (real-photo "vinyl sticker" treatment) ---------------- */
.photo-sticker-wall {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  padding: 8px 4px 4px;
}
.photo-sticker {
  position: relative;
  width: 104px; height: 104px;
  flex-shrink: 0;
  border-radius: 14px;
  border: 5px solid #fff;
  box-shadow: var(--shadow-md), 0 0 0 1.5px var(--ink);
  overflow: hidden;
  background: #fff;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .3s var(--bounce), box-shadow .3s var(--ease);
}
.photo-sticker img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo-sticker:hover {
  transform: rotate(0deg) scale(1.22);
  z-index: 5;
  box-shadow: var(--shadow-lg), 0 0 0 1.5px var(--ink);
}
@media (max-width: 700px) {
  .photo-sticker { width: 78px; height: 78px; border-width: 4px; }
}

/* ---------------- Sticker hover micro-interaction ---------------- */
.hover-lift { transition: transform .4s var(--bounce), filter .4s var(--ease); }
.hover-lift:hover { transform: translateY(-6px) rotate(var(--hover-rot, 3deg)) scale(1.06); filter: drop-shadow(4px 10px 12px rgba(20,16,12,.4)); }

/* ---------------- Parallax layer ---------------- */
[data-parallax] { will-change: transform; }

/* ---------------- Page transition overlay ---------------- */
.page-fade { animation: page-fade-in .6s var(--ease) both; }
@keyframes page-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------- Tab panel switch (Reviews: Books/Food) ---------------- */
[data-tab-panel].tab-panel-enter { animation: tab-panel-in .45s var(--ease) both; }
@keyframes tab-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   Scrapbook sticker system (PNG sticker pack)
   Dedicated component, separate from the .cutout sticker set.
   ============================================================ */
/* Wrapper owns position (top/left/right) + scroll-linked drift (JS writes its
   transform on scroll). The inner <img> owns only its one-shot entrance
   animation. Splitting these means the CSS entrance animation and the JS
   scroll effect never fight over the same element's transform property. */
.scrapbook-sticker-wrap {
  position: absolute;
  width: var(--sticker-size, 120px);
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}
.scrapbook-sticker {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(5px 11px 16px rgba(20,16,12,.38));
  opacity: 0;
  transform: scale(.5) rotate(var(--sticker-rot, -8deg));
  will-change: transform, opacity;
}
.scrapbook-sticker.is-visible {
  animation: scrapbook-enter .8s var(--bounce) forwards;
}
@keyframes scrapbook-enter {
  0%   { opacity: 0; transform: scale(.4) rotate(calc(var(--sticker-rot, -8deg) * 2.4)); }
  60%  { opacity: 1; transform: scale(1.08) rotate(calc(var(--sticker-rot, -8deg) * .35)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--sticker-rot, -8deg)); }
}

/* Small washi-tape accent, sibling element near a handful of stickers */
.scrapbook-sticker-tape {
  position: absolute; height: 26px; min-width: 60px;
  box-shadow: 1px 2px 4px rgba(20,16,12,.25);
  opacity: 0; z-index: 3; pointer-events: none;
  transition: opacity .5s var(--ease) .3s;
}
.scrapbook-sticker-tape.is-visible { opacity: .92; }

/* Torn-paper backing card, wraps a handful of stickers for a "taped-in photo" feel */
.scrapbook-sticker-card {
  position: relative; z-index: 1;
  background: var(--paper);
  box-shadow: 2px 5px 10px rgba(20,16,12,.28);
  clip-path: polygon(
    2% 6%, 12% 2%, 24% 5%, 36% 1%, 48% 4%, 60% 0%, 74% 3%, 88% 1%, 100% 5%,
    98% 22%, 100% 40%, 97% 58%, 100% 76%, 98% 94%, 88% 98%, 76% 96%, 64% 99%,
    50% 96%, 36% 100%, 22% 97%, 10% 100%, 2% 96%, 4% 78%, 1% 60%, 3% 42%, 0% 24%
  );
  opacity: 0;
  transform: scale(.85) rotate(var(--card-rot, -4deg));
  transition: opacity .6s var(--ease), transform .6s var(--bounce);
}
.scrapbook-sticker-card.is-visible { opacity: 1; transform: scale(1) rotate(var(--card-rot, -4deg)); }
.scrapbook-sticker-card .scrapbook-sticker { position: relative; opacity: 1; transform: none; animation: none; filter: none; }

/* Gutter placement: sits outside the centered .container (max 1240px), so it can
   never overlap page text/content by construction. Hidden once the gutter closes up. */
.scrapbook-sticker-wrap--gutter-l { left: 14px; }
.scrapbook-sticker-wrap--gutter-r { right: 14px; }
@media (max-width: 1620px) {
  .scrapbook-sticker-wrap--gutter-l,
  .scrapbook-sticker-wrap--gutter-r { display: none !important; }
}
/* Back-compat: earlier placements apply the gutter offset directly to the
   <img class="scrapbook-sticker"> rather than a wrapper div. Keep both working
   until those instances are migrated to the wrapper pattern. */
.scrapbook-sticker--gutter-l { position: absolute; left: 14px; width: var(--sticker-size, 120px); }
.scrapbook-sticker--gutter-r { position: absolute; right: 14px; width: var(--sticker-size, 120px); }
@media (max-width: 1620px) {
  .scrapbook-sticker--gutter-l,
  .scrapbook-sticker--gutter-r { display: none !important; }
}

/* ---------------- Sticker band ----------------
   A full-width strip that holds nothing but stickers — no text ever lives
   here, so large sizes are always safe by construction. Stickers flow as
   flex children (not absolutely positioned), so wrapping/reflow at narrow
   widths is free and automatic. */
.sticker-band {
  padding: 46px 0;
  overflow: visible;
}
.sticker-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 28px 36px;
  min-height: 160px;
}
.scrapbook-sticker-wrap--flow {
  position: relative;
  left: auto; right: auto; top: auto; bottom: auto;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .sticker-band { padding: 30px 0; }
  .sticker-band__inner { gap: 18px 22px; min-height: 0; }
}
/* Global prefers-reduced-motion rule near the top of this file already
   collapses all animation/transition durations to ~0, covering these too;
   the JS scroll-fx loop also checks the same media query before running. */

/* ---------------- Hero photo carousel (auto-crossfade, pure CSS) ---------------- */
.hero-carousel {
  position: absolute;
  width: 120px; height: 120px;
  box-sizing: border-box;
  background: var(--paper); border: var(--border); box-shadow: var(--shadow-md);
  padding: 6px 6px 16px;
}
.hero-carousel__frame { position: relative; width: 100%; height: 100%; overflow: hidden; }
.hero-carousel__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: hero-carousel-fade 9s infinite;
}
.hero-carousel__frame img:nth-child(1) { animation-delay: 0s; }
.hero-carousel__frame img:nth-child(2) { animation-delay: 3s; }
.hero-carousel__frame img:nth-child(3) { animation-delay: 6s; }
@keyframes hero-carousel-fade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  29% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel__frame img { animation: none !important; opacity: 0; }
  .hero-carousel__frame img:first-child { opacity: 1; }
}

/* ---------------- Hover-reveal list (text list + large image preview, editorial-studio style) ---------------- */
.hover-reveal-list { display: flex; gap: 48px; align-items: flex-start; }
.hover-reveal-list__names { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hover-reveal-list__item {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.6vw, 30px);
  padding: 16px 0; border-bottom: 1px solid rgba(28, 23, 18, .15);
  color: var(--ink); text-decoration: none; display: block;
  transition: color .2s var(--ease), padding-left .2s var(--ease), border-color .2s var(--ease);
}
.hover-reveal-list__item:first-child { padding-top: 0; }
.hover-reveal-list__item:hover, .hover-reveal-list__item:focus-visible {
  color: var(--pink-dark); padding-left: 14px; border-color: var(--pink-dark);
}
.hover-reveal-list__preview {
  width: 340px; height: 440px; flex-shrink: 0;
  border: var(--border); box-shadow: var(--shadow-md); background: var(--cream-2);
  overflow: hidden; position: sticky; top: 110px;
}
.hover-reveal-list__preview img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0;
}
.hover-reveal-list__preview img.is-active { opacity: 1; animation: preview-swap-in .45s var(--ease); }
@keyframes preview-swap-in {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 900px) {
  .hover-reveal-list { gap: 0; }
  .hover-reveal-list__preview { display: none; }
}

/* ---------------- Photo fan (3D perspective-tilted trio, editorial-studio arrangement) ---------------- */
.photo-fan {
  display: flex; justify-content: center; align-items: center;
  perspective: 1600px; padding: 30px 20px 44px;
  --tilt-x: 0deg; --tilt-y: 0deg;
}
.photo-fan__item {
  width: 220px; aspect-ratio: 3 / 4; flex-shrink: 0;
  border: var(--border); box-shadow: var(--shadow-lg);
  background-size: cover; background-position: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.photo-fan__item--left { transform: rotateY(24deg) scale(.9); margin-right: -54px; z-index: 1; }
.photo-fan__item--center {
  transform: rotateY(calc(var(--tilt-x) * 1)) rotateX(var(--tilt-y)) scale(1);
  z-index: 3; transition: transform .2s ease-out;
}
.photo-fan__item--right { transform: rotateY(-24deg) scale(.9); margin-left: -54px; z-index: 1; }
.photo-fan:hover .photo-fan__item--left { transform: rotateY(calc(30deg + var(--tilt-x))) scale(.86); }
.photo-fan:hover .photo-fan__item--right { transform: rotateY(calc(-30deg + var(--tilt-x))) scale(.86); }
.photo-fan__item--left:hover, .photo-fan__item--right:hover { transform: rotateY(0deg) scale(1.06) !important; z-index: 4; box-shadow: var(--shadow-lg), 0 20px 40px rgba(20,16,12,.35); }
.photo-fan__item--center:hover {
  transform: rotateY(calc(var(--tilt-x) * 1)) rotateX(var(--tilt-y)) scale(1.06);
  z-index: 4; box-shadow: var(--shadow-lg), 0 20px 40px rgba(20,16,12,.35);
}
@media (max-width: 800px) {
  .photo-fan { flex-direction: column; perspective: none; padding: 10px 0 20px; align-items: stretch; }
  .photo-fan__item, .photo-fan__item--left, .photo-fan__item--right {
    transform: none !important; margin: 0 auto 16px !important; width: min(260px, 100%) !important;
  }
  .photo-fan:hover .photo-fan__item--left, .photo-fan:hover .photo-fan__item--right { transform: none !important; }
}

/* ---------------- Photo deck (messy overlapping stack that spreads on hover) ---------------- */
.photo-deck { display: flex; justify-content: center; padding: 44px 20px 64px; }
.photo-deck__item {
  width: 190px; aspect-ratio: 4 / 5; flex-shrink: 0;
  border: var(--border); box-shadow: var(--shadow-lg);
  background-size: cover; background-position: center;
  transition: transform .45s var(--ease), box-shadow .3s var(--ease);
}
.photo-deck__item:not(:first-child) { margin-left: -130px; }
.photo-deck__item:nth-child(1) { transform: rotate(-9deg) translateY(12px); z-index: 1; }
.photo-deck__item:nth-child(2) { transform: rotate(5deg) translateY(-16px); z-index: 2; }
.photo-deck__item:nth-child(3) { transform: rotate(-4deg) translateY(8px); z-index: 3; }
.photo-deck__item:nth-child(4) { transform: rotate(10deg) translateY(-10px); z-index: 4; }
.photo-deck__item:nth-child(5) { transform: rotate(-6deg) translateY(4px); z-index: 5; }
.photo-deck__item:nth-child(6) { transform: rotate(7deg) translateY(-12px); z-index: 6; }
.photo-deck:hover .photo-deck__item { transform: rotate(0deg) translateY(0); }
.photo-deck:hover .photo-deck__item:not(:first-child) { margin-left: -30px; }
.photo-deck__item:hover { transform: scale(1.08) translateY(-6px) !important; z-index: 10 !important; box-shadow: var(--shadow-lg), 0 24px 40px rgba(20,16,12,.4); }
@media (max-width: 800px) {
  .photo-deck { flex-direction: column; align-items: center; padding: 20px 0 30px; }
  .photo-deck__item, .photo-deck:hover .photo-deck__item {
    transform: none !important; margin: 0 0 16px !important; width: min(240px, 100%);
  }
}

/* ---------------- Mobile decorative fixes (avoid stickers colliding with text) ---------------- */
@media (max-width: 700px) {
  .paper-scrap, .washi--holo-a, .washi--holo-b, .hero-carousel { display: none !important; }
  .deco-camera { top: auto !important; bottom: -14px !important; left: auto !important; right: 4% !important; width: 64px !important; }
  .deco-dice { display: none !important; }
  .deco-cowgirl-silhouette { display: none !important; }
  .deco-cta-button { top: -14px !important; left: auto !important; right: 6% !important; }
  .deco-desert-oval { display: none !important; }
  .deco-ski-figure { display: none !important; }
  .deco-hero-western { display: none !important; }
  .deco-skis-banner { display: none !important; }
  .deco-mission-icon { display: none !important; }
  .deco-team-icon { display: none !important; }
  .deco-fashion-boots { display: none !important; }
  .deco-events-cta { display: none !important; }
  .deco-cowgirl-05 { display: none !important; }
  .deco-cowgirl-02 { display: none !important; }
  .deco-banner-tape { display: none !important; }
}

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.eyebrow-simple {
  font-family: var(--font-ui); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-dark);
  display: block; margin-bottom: 10px;
}

/* ==================================================================
   Book Reviews page: search bar, genre chips, review cards, rating
   ================================================================== */

/* ---------------- Search bar ---------------- */
.review-search {
  position: relative;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 22px 24px 26px;
  transform: rotate(-0.6deg);
}
.review-search::before {
  content: "";
  position: absolute; top: -14px; left: 8%;
  width: 96px; height: 28px;
  background: repeating-linear-gradient(45deg, var(--mustard) 0 8px, #fff0 8px 16px), var(--mustard-light, var(--mustard));
  box-shadow: 1px 2px 5px rgba(20,16,12,.28);
  opacity: .92; transform: rotate(-4deg); border-radius: 1px;
}
.review-search__row { display: flex; align-items: center; gap: 12px; }
.review-search__icon { flex-shrink: 0; opacity: .7; }
.review-search input[type="search"] {
  flex: 1; min-width: 0;
  border: none; border-bottom: 2.5px dashed var(--ink);
  background: transparent;
  font-family: var(--font-hand); font-size: 24px; color: var(--ink);
  padding: 6px 4px;
}
.review-search input[type="search"]::placeholder { color: var(--ink-soft); opacity: .85; }
.review-search input[type="search"]:focus { outline: none; border-bottom-color: var(--pink-dark); }
.review-search__count {
  font-family: var(--font-ui); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 14px; display: block;
}

/* ---------------- Genre filter chips ---------------- */
.genre-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.genre-chip {
  position: relative;
  font-family: var(--font-ui); font-weight: 700; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 100px; border: 2px solid var(--ink); background: var(--cream);
  box-shadow: 1px 3px 0 rgba(20,16,12,.18);
  transition: transform .25s var(--bounce), box-shadow .2s var(--ease), background .2s var(--ease);
  cursor: pointer;
}
.genre-chip:nth-child(3n) { transform: rotate(-2deg); }
.genre-chip:nth-child(3n+1) { transform: rotate(1.5deg); }
.genre-chip:nth-child(3n+2) { transform: rotate(-1deg); }
.genre-chip:hover { transform: translateY(-2px) rotate(0deg) !important; box-shadow: 2px 5px 0 rgba(20,16,12,.22); }
.genre-chip.is-active {
  background: var(--pink); color: #fff; border-color: var(--ink);
  transform: rotate(0deg) scale(1.04) !important;
  box-shadow: inset 0 0 0 2px #fff, 1px 3px 0 rgba(20,16,12,.18);
}

/* ---------------- Book review card ---------------- */
.book-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px;
  margin-top: 8px;
}
@media (max-width: 980px) { .book-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .book-grid { grid-template-columns: 1fr; } }

.book-card {
  position: relative;
  background: var(--paper); border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 22px 20px 20px;
  transition: transform .35s var(--bounce), box-shadow .35s var(--ease);
}
.book-card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: var(--shadow-lg); }
.book-card__rating-badge {
  position: absolute; top: -14px; right: -10px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--mustard); border: 2.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  font-family: var(--font-display); font-weight: 900; transform: rotate(8deg);
  box-shadow: var(--shadow-sm);
}
.book-card__rating-badge strong { font-size: 17px; line-height: 1; }
.book-card__rating-badge span { font-size: 8px; font-family: var(--font-ui); font-weight: 700; letter-spacing: .03em; }
.book-card__rating-badge.is-unrated { background: var(--cream-2); font-size: 10px; text-align: center; padding: 4px; }
.book-card__stars { display: flex; gap: 3px; margin: 2px 0 10px; }
.book-card__stars svg { width: 18px; height: 18px; }
.book-card__title { font-family: var(--font-display); font-weight: 900; font-size: 19px; line-height: 1.15; margin: 0 0 2px; }
.book-card__author { font-family: var(--font-ui); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.book-card__date { font-family: var(--font-ui); font-size: 11px; color: var(--ink-soft); opacity: .75; }
.book-card__genres { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.book-card__genre-tag {
  font-family: var(--font-ui); font-weight: 700; font-size: 10px; letter-spacing: .03em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px; border: 1.5px solid var(--ink);
}
.book-card__blurb {
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 15px; line-height: 1.4;
  color: var(--ink); margin: 10px 0 0; position: relative; padding-left: 16px;
}
.book-card__blurb::before { content: "\201C"; position: absolute; left: -4px; top: -8px; font-size: 30px; color: var(--pink-light); font-family: var(--font-display); }
.book-card__note { font-family: var(--font-ui); font-size: 11.5px; color: var(--ink-soft); font-style: normal; margin-top: 8px; display: block; }
.book-card__map-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 14px;
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .02em;
  color: var(--teal-dark); text-underline-offset: 3px; text-decoration: underline;
  transition: color .2s var(--ease);
}
.book-card__map-link:hover { color: var(--pink-dark); }

.rate-widget { margin-top: 14px; border-top: 1.5px dashed #e4d6c1; padding-top: 12px; }
.rate-widget__comments { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.rate-widget__comment { background: var(--cream-2); border-radius: var(--radius-sm); padding: 8px 12px; }
.rate-widget__comment-stars { color: #875907; font-size: 12px; letter-spacing: 1px; }
.rate-widget__comment-name { font-family: var(--font-ui); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.rate-widget__comment-text { font-size: 13px; margin: 3px 0 0; }
.rate-widget__toggle {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .02em;
  color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px;
}
.rate-widget__toggle:hover { color: var(--pink-dark); }
.rate-widget__form { margin-top: 10px; }
.rate-widget__form[hidden] { display: none; }
.rate-widget__picker { display: flex; gap: 4px; margin-bottom: 8px; }
.rate-widget__picker button {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 22px; line-height: 1; color: #d8cdbe; transition: color .15s var(--ease), transform .15s var(--bounce);
}
.rate-widget__picker button:hover, .rate-widget__picker button.is-hover { transform: scale(1.15); }
.rate-widget__picker button.is-selected { color: #875907; }
.rate-widget__form textarea, .rate-widget__form input[type="text"] {
  width: 100%; padding: 8px 10px; border: 1.5px solid var(--ink); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 13.5px; margin-bottom: 8px; background: var(--paper);
}
.rate-widget__form textarea { min-height: 60px; resize: vertical; }
.rate-widget__msg { font-family: var(--font-ui); font-size: 12px; font-weight: 700; color: var(--pink-dark); margin: 6px 0 0; min-height: 14px; }
.book-card[hidden] { display: none; }

.like-btn {
  position: absolute; top: -12px; left: -10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 100px;
  padding: 6px 11px 6px 9px; box-shadow: var(--shadow-sm);
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; color: var(--ink-soft);
  transition: transform .25s var(--bounce), box-shadow .2s var(--ease), background .2s var(--ease);
}
.like-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: var(--shadow-md); }
.like-btn__icon { font-size: 15px; line-height: 1; color: var(--ink-soft); transition: color .2s var(--ease), transform .2s var(--bounce); }
.like-btn.is-liked { background: var(--pink-light); }
.like-btn.is-liked .like-btn__icon { color: var(--pink-dark); transform: scale(1.15); }
.like-btn.is-liked .like-btn__count { color: var(--pink-dark); }
.article-card .like-btn { top: 10px; right: 10px; left: auto; }
.book-empty {
  display: none; text-align: center; padding: 60px 20px; font-family: var(--font-hand); font-size: 22px; color: var(--ink-soft);
}
.book-empty.is-visible { display: block; }

/* ==================================================================
   Art Wall (About page): student artwork corkboard gallery
   ================================================================== */
.corkboard {
  background-color: #a97d51;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(0,0,0,.14) 0 2px, transparent 2px),
    radial-gradient(circle at 60% 72%, rgba(0,0,0,.11) 0 1.6px, transparent 1.6px),
    radial-gradient(circle at 85% 28%, rgba(255,255,255,.09) 0 1.4px, transparent 1.4px),
    radial-gradient(circle at 33% 88%, rgba(0,0,0,.1) 0 1.8px, transparent 1.8px),
    radial-gradient(circle at 75% 52%, rgba(255,255,255,.07) 0 1.2px, transparent 1.2px),
    radial-gradient(circle at 6% 62%, rgba(0,0,0,.09) 0 1.5px, transparent 1.5px),
    radial-gradient(circle at 94% 85%, rgba(255,255,255,.06) 0 1.3px, transparent 1.3px),
    linear-gradient(155deg, #b78a5e 0%, #a97d51 45%, #93693f 100%);
  background-size: 40px 40px, 55px 55px, 33px 33px, 47px 47px, 29px 29px, 37px 37px, 43px 43px, 100% 100%;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 54px 40px 48px;
  position: relative;
  overflow: hidden;
}
.corkboard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 70px rgba(20,16,12,.35); pointer-events: none;
}
.art-wall {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px 22px;
  position: relative; z-index: 1;
}
.art-wall-item {
  position: relative; grid-column: span 2;
  transition: transform .35s var(--bounce), z-index 0s;
}
.art-wall-item:hover { transform: scale(1.07) rotate(0deg) !important; z-index: 6; }
.art-wall-item__frame {
  background: #fdfaf4; border: 2px solid #2a2016; border-radius: 3px;
  padding: 10px 10px 0; box-shadow: 4px 9px 16px rgba(20,16,12,.4);
}
.art-wall-item__photo {
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  border-radius: 1px; transition: background-size .6s var(--ease);
}
.art-wall-item:hover .art-wall-item__photo { background-size: 112%; }
.art-wall-item__pad { height: 20px; }
.art-wall-item--torn .art-wall-item__photo {
  clip-path: polygon(
    1% 4%, 10% 1%, 22% 3%, 34% 0%, 47% 3%, 60% 0%, 73% 2%, 87% 0%, 100% 3%,
    99% 18%, 100% 35%, 98% 52%, 100% 69%, 99% 86%, 100% 100%,
    88% 98%, 75% 100%, 62% 97%, 49% 100%, 36% 98%, 23% 100%, 11% 97%, 0% 100%,
    2% 84%, 0% 67%, 2% 50%, 0% 33%, 1% 16%
  );
  box-shadow: 4px 9px 16px rgba(20,16,12,.4);
}
@media (max-width: 980px) {
  .art-wall { grid-template-columns: repeat(4, 1fr); }
  .art-wall-item { grid-column: span 2; }
}
@media (max-width: 620px) {
  .art-wall { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .corkboard { padding: 40px 20px 34px; }
}

/* ---------------- Reading assistant widget ---------------- */
.reading-assistant-toggle {
  position: fixed; bottom: 26px; right: 26px; z-index: 40;
  height: 58px; padding: 0 20px 0 16px; border-radius: 100px;
  background: var(--pink); border: 3px solid var(--ink); color: #fff;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: transform .3s var(--bounce), box-shadow .3s var(--ease);
}
.reading-assistant-toggle:hover { transform: scale(1.05) rotate(-2deg); }
.reading-assistant-toggle__icon { font-size: 21px; line-height: 1; }
@keyframes assistant-intro-pulse {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(214,53,127,.55); }
  50% { box-shadow: var(--shadow-md), 0 0 0 12px rgba(214,53,127,0); }
}
.reading-assistant-toggle.is-intro { animation: assistant-intro-pulse 1.5s ease-out 3; }
/* Below 700px the full pill (icon + "Ask me anything" label) is wide enough
   to sit on top of card text as it scrolls underneath — shrink to an
   icon-only circle so its footprint is small enough to not obscure content. */
@media (max-width: 700px) {
  .reading-assistant-toggle { bottom: 18px; right: 18px; height: 50px; width: 50px; padding: 0; justify-content: center; }
  .reading-assistant-toggle__label { display: none; }
  .reading-assistant-panel { bottom: 84px; right: 18px; }
}
.reading-assistant-panel {
  position: fixed; bottom: 100px; right: 26px; z-index: 41;
  width: min(340px, calc(100vw - 40px)); max-height: min(480px, calc(100vh - 160px));
  background: var(--paper); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--bounce);
  transform-origin: bottom right;
}
.reading-assistant-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.reading-assistant-panel__head {
  background: var(--navy); color: var(--paper); padding: 14px 16px; border-radius: 14px 14px 0 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 900; font-size: 15px;
}
.reading-assistant-panel__head button { background: none; border: none; color: var(--paper); font-size: 18px; line-height: 1; padding: 4px; }
.reading-assistant-panel__body { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.reading-assistant-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.reading-assistant-msg--bot { background: var(--teal-light); align-self: flex-start; border-bottom-left-radius: 3px; }
.reading-assistant-msg--user { background: var(--pink-light); align-self: flex-end; border-bottom-right-radius: 3px; }
.reading-assistant-msg strong { font-family: var(--font-display); font-size: 13.5px; }
.reading-assistant-msg strong.assistant-lead { display: block; margin-bottom: 2px; }
.reading-assistant-msg a { color: var(--pink-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.reading-assistant-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.reading-assistant-chips--inline { padding: 0 0 4px; margin-top: -2px; }
.reading-assistant-chip {
  font-family: var(--font-ui); font-size: 11px; font-weight: 700; padding: 6px 11px; border-radius: 100px;
  border: 1.5px solid var(--ink); background: var(--cream);
}
.reading-assistant-panel__form { display: flex; gap: 8px; padding: 12px; border-top: 2px solid #e4d6c1; }
.reading-assistant-panel__form input {
  flex: 1; min-width: 0; border: 2px solid var(--ink); border-radius: 100px; padding: 9px 14px; font-size: 13.5px; background: var(--cream);
}
.reading-assistant-panel__form button {
  background: var(--pink); border: 2px solid var(--ink); border-radius: 50%; width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
@media (max-width: 480px) {
  .reading-assistant-toggle { bottom: 18px; right: 18px; height: 50px; padding: 0 16px 0 13px; font-size: 12.5px; }
  .reading-assistant-toggle__icon { font-size: 18px; }
  .reading-assistant-panel { bottom: 78px; right: 14px; left: 14px; width: auto; }
}


/* ---------------- Club events calendar (Month/Week) ---------------- */
.wsp-calendar {
  background: var(--paper); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 28px; position: relative; overflow: hidden;
}
.wsp-calendar__toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px dashed #e4d6c1;
}
.wsp-calendar__view-toggle { display: flex; gap: 8px; }
.wsp-calendar__view-toggle button {
  font-family: var(--font-ui); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
  padding: 8px 18px; border: 2px solid var(--ink); border-radius: 30px; background: var(--cream); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.wsp-calendar__view-toggle button.is-active { background: var(--ink); color: var(--paper); }
.wsp-calendar__nav { display: flex; align-items: center; gap: 14px; }
.wsp-calendar__nav-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .15s var(--bounce), background .15s var(--ease);
}
.wsp-calendar__nav-btn:hover { transform: scale(1.1); background: var(--mustard-light); }
.wsp-calendar__label { font-family: var(--font-display); font-weight: 900; font-size: 22px; min-width: 210px; text-align: center; }
.wsp-calendar__today {
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--pink-dark); text-decoration: underline; text-underline-offset: 3px; background: none; border: none; cursor: pointer; padding: 0;
}

.wsp-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wsp-month__day, .wsp-month__pills { min-width: 0; }
.wsp-month__weekday {
  font-family: var(--font-ui); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-soft); text-align: center; padding-bottom: 8px;
}
.wsp-month__day {
  min-height: 96px; border: 1.5px solid #e4d6c1; border-radius: 10px; padding: 6px 6px 4px; background: var(--cream);
  display: flex; flex-direction: column;
}
.wsp-month__day.is-outside { opacity: .38; }
.wsp-month__day.is-today { border: 2px solid var(--pink-dark); background: var(--pink-light); }
.wsp-month__daynum { font-family: var(--font-ui); font-weight: 700; font-size: 13px; }
.wsp-month__day.is-today .wsp-month__daynum {
  background: var(--pink-dark); color: #fff; width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
}
.wsp-month__pills { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.wsp-pill {
  background: var(--pill, var(--teal)); color: #fff; font-family: var(--font-ui); font-weight: 600;
  font-size: 10px; line-height: 1.3; padding: 2px 6px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wsp-pill__time { font-weight: 700; opacity: .85; }
.wsp-month__more { font-family: var(--font-ui); font-size: 9.5px; font-weight: 700; color: var(--ink-soft); padding-left: 4px; }

.wsp-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; align-items: start; }
.wsp-week__day { display: flex; flex-direction: column; gap: 10px; }
.wsp-week__head { text-align: center; padding-bottom: 8px; border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; gap: 2px; }
.wsp-week__day.is-today .wsp-week__head { border-bottom-color: var(--pink-dark); }
.wsp-week__dayname { font-family: var(--font-ui); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.wsp-week__daynum { font-family: var(--font-display); font-weight: 900; font-size: 24px; }
.wsp-week__day.is-today .wsp-week__daynum { color: var(--pink-dark); }
.wsp-week__events { display: flex; flex-direction: column; gap: 8px; }
.wsp-event-card {
  background: var(--paper); border: 1.5px solid var(--ink); border-left: 5px solid var(--pill, var(--teal));
  border-radius: 8px; padding: 8px 10px; box-shadow: 2px 2px 0 rgba(28,23,18,.1);
}
.wsp-event-card__time { font-family: var(--font-ui); font-weight: 700; font-size: 10.5px; color: var(--ink-soft); }
.wsp-event-card h4 { font-family: var(--font-display); font-weight: 900; font-size: 14px; margin: 2px 0 3px; line-height: 1.2; }
.wsp-event-card__club { font-family: var(--font-ui); font-weight: 600; font-size: 10.5px; color: var(--pink-dark); margin: 0 0 4px; }
.wsp-event-card__blurb { font-size: 11.5px; color: var(--ink-soft); margin: 0; line-height: 1.4; }
.wsp-week__empty { font-family: var(--font-hand); font-size: 15px; color: var(--ink-soft); opacity: .6; text-align: center; margin-top: 20px; }

@media (max-width: 900px) {
  .wsp-calendar { padding: 20px; }
  .wsp-week { grid-template-columns: repeat(7, minmax(140px,1fr)); overflow-x: auto; padding-bottom: 8px; }
}
@media (max-width: 760px) {
  .wsp-calendar__label { font-size: 18px; min-width: 0; }
  .wsp-month__weekday { font-size: 8.5px; }
  .wsp-month__day { min-height: 60px; padding: 4px; }
  .wsp-month__daynum { font-size: 11px; }
  .wsp-pill { font-size: 8px; padding: 1px 4px; }
}

/* ---------------- Costume idea lists (Halloween article) ---------------- */
.costume-h2 { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.costume-count {
  font-family: var(--font-ui); font-size: 13px; font-weight: 700; letter-spacing: .04em;
  background: var(--mustard); color: var(--ink); border: 2px solid var(--ink);
  border-radius: 99px; padding: 3px 11px;
}
.costume-list {
  list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.costume-list li {
  background: var(--paper); border: var(--border); border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0 var(--ink); padding: 11px 14px; font-family: var(--font-ui);
  font-weight: 600; font-size: 15.5px; line-height: 1.35;
}
.costume-list--couples li { border-left: 8px solid var(--pink); }
.costume-list--groups li { border-left: 8px solid var(--teal); }
.costume-list--utah li { border-left: 8px solid var(--navy); }
.costume-list--2026 li { border-left: 8px solid var(--orange); }
.costume-list--random li { border-left: 8px solid var(--sage); }
@media (max-width: 620px) { .costume-list { grid-template-columns: 1fr; } }

/* ---------------- Halloween article decoration ---------------- */
.costume-block { position: relative; margin-top: 2.6em; }
.costume-block .costume-h2 { margin-top: 0; padding-right: 96px; }
.costume-block__sticker { position: absolute; top: -34px; right: -6px; width: 84px; z-index: 2; }
.costume-note {
  font-family: var(--font-hand); font-size: 19px; line-height: 1.4; margin: 6px 0 0;
  color: var(--pink-dark); transform: rotate(-1.2deg); transform-origin: left center;
}
.costume-note--intro { font-size: 20px; margin-top: -4px; }
.costume-count { transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--ink); }
.costume-block--utah .costume-count { background: var(--navy); color: #fff; }
.costume-block--2026 .costume-count { background: var(--orange); }
.costume-block--couples .costume-count { background: var(--pink); color: #fff; }
.costume-block--groups .costume-count { background: var(--teal); color: #fff; }
.costume-list li {
  transition: transform .25s var(--bounce), box-shadow .25s var(--ease), background .2s var(--ease);
}
.costume-list li:nth-child(odd)  { transform: rotate(-.7deg); }
.costume-list li:nth-child(even) { transform: rotate(.6deg); }
.costume-list li:nth-child(3n)   { transform: rotate(.2deg); }
.costume-list li:hover {
  transform: rotate(0) translateY(-3px) scale(1.03); box-shadow: 6px 6px 0 var(--ink);
  background: var(--cream-2); position: relative; z-index: 1;
}
.costume-block--couples .costume-list li:hover { background: var(--pink-light); }
.costume-block--groups .costume-list li:hover { background: var(--teal-light); }
.costume-block--2026 .costume-list li:hover { background: var(--orange-light); }
.costume-block--utah .costume-list li:hover { background: var(--navy-light); }
@media (prefers-reduced-motion: reduce) {
  .costume-list li, .costume-list li:hover { transition: none; }
}
@media (max-width: 620px) {
  .costume-block .costume-h2 { padding-right: 70px; }
  .costume-block__sticker { width: 62px; top: -22px; }
}

/* Halloween article: keep stickers off the hero and out of the text */
.header-stickers {
  position: absolute; right: 2%; bottom: -4px; display: flex; align-items: flex-end; gap: 6px; z-index: 2;
}
.header-stickers img { position: static; width: 66px; height: auto; }
@media (max-width: 620px) {
  .header-stickers { position: static; margin-top: 18px; justify-content: flex-start; }
  .header-stickers img { width: 54px; }
}
/* section stickers live in the heading row, never over the lists */
.costume-block { display: flex; flex-direction: column; }
.costume-block__sticker { top: -4px; right: 0; width: 68px; }
.costume-block .costume-h2 { padding-right: 84px; }
.costume-block__sticker--b {
  position: static; order: 99; align-self: flex-end; width: 62px; margin: 14px 4px 0 0;
}
@media (max-width: 620px) {
  .costume-block__sticker { width: 52px; }
  .costume-block .costume-h2 { padding-right: 62px; }
  .costume-block__sticker--b { width: 48px; }
}
@media (max-width: 620px) { .hide-on-phone { display: none !important; } }

/* ---------------- Dark page theme (Halloween article) ---------------- */
body.page-spooky {
  --spooky-bg: #1e1228;
  --spooky-bg-2: #2b1a3a;
  --spooky-line: rgba(251, 243, 231, .38);
  background: var(--spooky-bg); color: var(--cream);
}
body.page-spooky .site-header { background: var(--spooky-bg); border-bottom-color: var(--spooky-line); }
body.page-spooky .brand__title { color: var(--cream); }
body.page-spooky .brand__sub { color: var(--pink-light); }
body.page-spooky .nav a { color: var(--cream); }
body.page-spooky .nav a:hover, body.page-spooky .nav a[aria-current="page"] {
  background: var(--navy-dark); border-color: var(--pink-light); box-shadow: 3px 3px 0 var(--pink);
}
body.page-spooky .nav-toggle { background: var(--cream); color: var(--ink); }
@media (max-width: 860px) { body.page-spooky .nav { background: var(--spooky-bg); border-top-color: var(--spooky-line); } }

body.page-spooky .script-marquee { background: var(--spooky-bg-2); border-color: var(--spooky-line); }
body.page-spooky .script-marquee span { color: var(--pink-light); }

body.page-spooky .article-header { border-bottom-color: var(--spooky-line); }
body.page-spooky .article-header h1 { color: var(--cream); }
body.page-spooky .byline { color: var(--pink-light); }

body.page-spooky .article-body, body.page-spooky .article-body h2 { color: var(--cream); }
body.page-spooky .costume-note { color: var(--pink-light); }
body.page-spooky .costume-list li { color: var(--ink); }
body.page-spooky .costume-count { border-color: var(--cream); box-shadow: 2px 2px 0 rgba(0,0,0,.45); }
body.page-spooky .costume-list li { box-shadow: 3px 3px 0 rgba(0,0,0,.55); border-color: var(--ink); }
body.page-spooky .costume-list li:hover { box-shadow: 6px 6px 0 var(--pink); }

body.page-spooky .pull-quote-deco { color: var(--cream); }
body.page-spooky .pull-quote-deco::before { color: var(--pink); }

body.page-spooky .bg-cream2 { background: var(--spooky-bg-2); border-color: var(--spooky-line); }
body.page-spooky .section-kicker { color: var(--pink-light); }
body.page-spooky .section-head h2 { color: var(--cream); }
body.page-spooky .section-head p { color: rgba(251, 243, 231, .78) !important; }
body.page-spooky .section-link { color: var(--cream); }
body.page-spooky .article-card h3 { color: var(--cream); }
body.page-spooky .article-card p { color: rgba(251, 243, 231, .78); }
body.page-spooky .article-card__meta { color: var(--pink-light); }

/* die-cut cream edge so dark stickers (bat, cat, hat) stay visible on the dark page */
body.page-spooky img[src*="halloween/"] {
  filter: drop-shadow(2px 0 0 var(--cream)) drop-shadow(-2px 0 0 var(--cream))
          drop-shadow(0 2px 0 var(--cream)) drop-shadow(0 -2px 0 var(--cream))
          drop-shadow(0 6px 8px rgba(0,0,0,.45));
}
.costume-block--2026 .costume-block__sticker { width: 76px; }
.costume-block--couples .costume-block__sticker { width: 62px; }
@media (max-width: 620px) {
  .costume-block--2026 .costume-block__sticker { width: 54px; }
  .costume-block--couples .costume-block__sticker { width: 46px; }
}

/* Halloween article: scrapbook sticker strips between sections */
.sticker-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 28px; margin: 48px 0 6px; clear: both;
}
.sticker-strip img { position: static; height: auto; max-width: 44%; }
.sticker-strip img:nth-child(odd)  { margin-top: 10px; }
.sticker-strip img:nth-child(even) { margin-bottom: 8px; }
@media (max-width: 620px) {
  .sticker-strip { gap: 14px 16px; margin-top: 36px; }
  .sticker-strip img { max-width: 42%; }
}

/* Halloween article: on wide screens the stickers live in the side margins */
.gutter-sticker { display: none; position: absolute; height: auto; z-index: 1; max-width: none; }
@media (min-width: 1100px) {
  .gutter-sticker { display: block; width: min(var(--w, 130px), calc((100vw - 720px) / 2 - 46px)); }
  .gutter-sticker--l { right: 100%; margin-right: var(--off, 16px); }
  .gutter-sticker--r { left: 100%; margin-left: var(--off, 16px); }
  .sticker-strip { display: none; }
}


/* Home-page Halloween feature banner: darken the left so the title reads over the teeth */
.image-banner--halloween::before {
  background:
    linear-gradient(90deg, rgba(24,14,32,.9) 0%, rgba(24,14,32,.72) 42%, rgba(24,14,32,.12) 72%, rgba(24,14,32,0) 100%),
    linear-gradient(180deg, rgba(20,16,12,0) 30%, rgba(20,16,12,.7) 100%);
}
@media (max-width: 620px) {
  .image-banner--halloween::before { background: linear-gradient(180deg, rgba(24,14,32,.6) 0%, rgba(24,14,32,.82) 100%); }
}

/* ---------------- Bucket-list article (checklist) ---------------- */
.bucket-article { max-width: 760px; }
.bucket-progress {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 22px;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px;
}
.bucket-progress__bar {
  flex: 1 1 160px; height: 14px; border: var(--border); border-radius: 99px; background: var(--paper); overflow: hidden;
}
.bucket-progress__bar i { display: block; height: 100%; width: 0; background: var(--mustard); transition: width .35s var(--ease); }
.bucket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.bucket-item label {
  display: flex; align-items: center; gap: 12px; cursor: pointer; height: 100%;
  background: var(--paper); border: var(--border); border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0 var(--ink); padding: 11px 14px;
  font-family: var(--font-ui); font-weight: 600; font-size: 15.5px; line-height: 1.3;
  transition: transform .2s var(--bounce), box-shadow .2s var(--ease), background .2s var(--ease);
}
.bucket-item:nth-child(odd) label { transform: rotate(-.5deg); }
.bucket-item:nth-child(even) label { transform: rotate(.4deg); }
.bucket-item label:hover { transform: rotate(0) translateY(-2px); box-shadow: 5px 5px 0 var(--ink); background: var(--cream-2); }
.bucket-item input { position: absolute; opacity: 0; pointer-events: none; }
.bucket-num {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--cream);
  display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
}
.bucket-item input:focus-visible + .bucket-num { outline: 3px solid var(--pink); outline-offset: 2px; }
.bucket-item input:checked + .bucket-num { background: var(--mustard); }
.bucket-item input:checked + .bucket-num::before { content: "✓"; font-size: 16px; }
.bucket-item input:checked + .bucket-num { font-size: 0; }
.bucket-item input:checked ~ .bucket-text { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-soft); }
.bucket-note { font-family: var(--font-hand); font-size: 18px; color: var(--pink-dark); margin: 22px 0 0; text-align: center; }
@media (max-width: 620px) { .bucket-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .bucket-item label, .bucket-progress__bar i { transition: none; } }

/* ---------------- Red page theme (Utah bucket list) ---------------- */
body.page-red {
  overflow-x: clip;
  --red-bg: #a6192a;
  --red-bg-2: #8a1421;
  --red-line: rgba(255, 244, 232, .55);
  background: var(--red-bg); color: #fff6ec;
}
body.page-red .site-header { background: var(--red-bg-2); border-bottom-color: var(--red-line); }
body.page-red .brand__title, body.page-red .nav a { color: #fff6ec; }
body.page-red .brand__sub { color: #ffd3d6; }
body.page-red .nav a:hover, body.page-red .nav a[aria-current="page"] { background: var(--red-bg); border-color: #fff6ec; box-shadow: 3px 3px 0 rgba(0,0,0,.45); }
body.page-red .nav-toggle { background: #fff6ec; color: var(--ink); }
@media (max-width: 860px) { body.page-red .nav { background: var(--red-bg-2); border-top-color: var(--red-line); } }
body.page-red .script-marquee { background: var(--red-bg-2); border-color: var(--red-line); }
body.page-red .script-marquee span { color: #ffe3d2; }
body.page-red .article-header { border-bottom-color: var(--red-line); }
body.page-red .article-header h1 { color: #fff6ec; }
body.page-red .byline { color: #ffd3d6; }
body.page-red .tag--mustard { background: #fff6ec; color: var(--red-bg-2); border-color: #fff6ec; }
body.page-red .bucket-progress { color: #fff6ec; }
body.page-red .bucket-progress__bar { border-color: #fff6ec; background: rgba(0,0,0,.25); }
body.page-red .bucket-progress__bar i { background: #ffd24a; }
body.page-red .bucket-item label { background: #fff6ec; color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 rgba(0,0,0,.5); }
body.page-red .bucket-item label:hover { background: #ffe9d8; box-shadow: 5px 5px 0 rgba(0,0,0,.55); }
body.page-red .bucket-item input:checked + .bucket-num { background: #ffd24a; }
body.page-red .bucket-note { color: #ffd3d6; }
body.page-red .bg-cream2 { background: var(--red-bg-2); border-color: var(--red-line); }
body.page-red .section-kicker { color: #ffd3d6; }
body.page-red .section-head h2 { color: #fff6ec; }
body.page-red .section-head p { color: rgba(255,246,236,.82) !important; }
body.page-red .section-link { color: #fff6ec; }
body.page-red .article-card h3 { color: #fff6ec; }
body.page-red .article-card p { color: rgba(255,246,236,.85); }
body.page-red .article-card__meta { color: #ffd3d6; }
body.page-red .sticker-strip img { filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
/* die-cut cream edge so red stickers don't disappear into the red page */
body.page-red img[src*="stickers-bucket/"] {
  filter: drop-shadow(2px 0 0 #fff6ec) drop-shadow(-2px 0 0 #fff6ec) drop-shadow(0 2px 0 #fff6ec) drop-shadow(0 -2px 0 #fff6ec) drop-shadow(0 6px 8px rgba(0,0,0,.4));
}

/* ---------------- Green page theme + trail cards (hiking article) ---------------- */
body.page-green {
  overflow-x: clip;
  --green-bg: #1f5c3a;
  --green-bg-2: #174a2e;
  --green-line: rgba(246, 250, 238, .5);
  background: var(--green-bg); color: #f6faee;
}
body.page-green .site-header { background: var(--green-bg-2); border-bottom-color: var(--green-line); }
body.page-green .brand__title, body.page-green .nav a { color: #f6faee; }
body.page-green .brand__sub { color: #cfe8b8; }
body.page-green .nav a:hover, body.page-green .nav a[aria-current="page"] { background: var(--green-bg); border-color: #f6faee; box-shadow: 3px 3px 0 rgba(0,0,0,.4); }
body.page-green .nav-toggle { background: #f6faee; color: var(--ink); }
@media (max-width: 860px) { body.page-green .nav { background: var(--green-bg-2); border-top-color: var(--green-line); } }
body.page-green .script-marquee { background: var(--green-bg-2); border-color: var(--green-line); }
body.page-green .script-marquee span { color: #ffe27a; }
body.page-green .article-header { border-bottom-color: var(--green-line); }
body.page-green .article-header h1 { color: #f6faee; }
body.page-green .byline { color: #cfe8b8; }
body.page-green .tag--mustard { background: #f6faee; color: var(--green-bg-2); border-color: #f6faee; }
body.page-green .bg-cream2 { background: var(--green-bg-2); border-color: var(--green-line); }
body.page-green .section-kicker { color: #cfe8b8; }
body.page-green .section-head h2, body.page-green .section-link, body.page-green .article-card h3 { color: #f6faee; }
body.page-green .section-head p { color: rgba(246,250,238,.82) !important; }
body.page-green .article-card p { color: rgba(246,250,238,.85); }
body.page-green .article-card__meta { color: #cfe8b8; }

.trail-article { max-width: 900px; }
.trail-intro { font-size: 19px; line-height: 1.6; margin: 0 0 22px; }
.trail-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
body.page-green .filter-btn { background: #f6faee; color: var(--ink); border-color: var(--ink); }
body.page-green .filter-btn.is-active { background: #ffd24a; box-shadow: 3px 3px 0 rgba(0,0,0,.45); }
.trail-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trail-card[hidden] { display: none; }
.trail-card {
  background: #fffdf3; color: var(--ink); border: var(--border); border-radius: var(--radius);
  box-shadow: 5px 5px 0 rgba(0,0,0,.45); padding: 18px 20px 20px;
}
.trail-card:nth-child(odd) { transform: rotate(-.4deg); }
.trail-card:nth-child(even) { transform: rotate(.35deg); }
.trail-card__top { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.trail-card__num {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--ink); background: #ffd24a;
  display: grid; place-items: center; font-family: var(--font-ui); font-weight: 700; font-size: 14px;
}
.trail-card h3 { font-size: 22px; line-height: 1.1; margin: 4px 0 0; flex: 1 1 140px; color: var(--ink); }
.trail-badge {
  flex: none; font-family: var(--font-ui); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px; border: 2px solid var(--ink); margin-top: 4px;
}
.trail-badge--easy { background: #bfe3a5; }
.trail-badge--moderate { background: #ffe27a; }
.trail-badge--hard { background: #ffb56b; }
.trail-badge--veryhard { background: #ff8a80; }
.trail-card__stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 8px; font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; }
.trail-card__stats span { background: var(--cream-2); border: 2px solid var(--ink); border-radius: 8px; padding: 3px 9px; }
.trail-card__desc { font-size: 16px; line-height: 1.55; margin: 0; color: var(--ink-soft); }
.trail-guide {
  margin-top: 34px; background: rgba(0,0,0,.22); border: 2px dashed var(--green-line); border-radius: var(--radius); padding: 20px 24px;
}
.trail-guide h2 { font-size: 26px; margin: 0 0 10px; color: #f6faee; }
.trail-guide ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.trail-guide li { margin: 4px 0; font-size: 16.5px; }
.trail-fineprint { font-size: 14.5px; line-height: 1.55; color: rgba(246,250,238,.85); margin: 0; }
@media (max-width: 700px) { .trail-list { grid-template-columns: 1fr; } }
body.page-green img[src*="stickers-hike/"] {
  filter: drop-shadow(2px 0 0 #f6faee) drop-shadow(-2px 0 0 #f6faee) drop-shadow(0 2px 0 #f6faee) drop-shadow(0 -2px 0 #f6faee) drop-shadow(0 6px 8px rgba(0,0,0,.4));
}
body.page-green .sticker-strip img[src*="stickers-hike/"] { max-width: 42%; }


/* Hiking page margins: the article column narrows on mid-size screens so the side margins
   always have room for two sticker columns (stickers may touch a card edge slightly). */
.trail-article {
  max-width: clamp(640px, calc(100vw - 440px), 900px);
  --mw: calc((100vw - clamp(640px, calc(100vw - 440px), 900px)) / 2);
}
@media (min-width: 1100px) {
  .trail-article .gutter-sticker {
    --sw: min(var(--w, 100px), calc((var(--mw) - 30px) / 2));
    --off: 10px;
    width: var(--sw);
  }
  .trail-article .gutter-sticker--out { --off: calc(var(--sw) + 18px); }
}

/* ---------------- Women's clubs: floating bubbles + quiz (Events page) ---------------- */
.clubs-hint { font-family: var(--font-hand); font-size: 20px; color: var(--pink-dark); margin: -10px 0 18px; }
.club-stage {
  position: relative; height: clamp(600px, 64vw, 720px); overflow: hidden; border: var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md); touch-action: pan-y;
  background:
    radial-gradient(circle at 18% 20%, rgba(150,39,79,.10), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(42,82,80,.12), transparent 44%),
    var(--paper);
}
.club-bubble {
  position: absolute; left: 0; top: 0; padding: 0; margin: 0; border-radius: 50%; border: 3px solid var(--ink);
  background: var(--paper); box-shadow: 4px 5px 0 rgba(28,23,18,.85); overflow: visible; cursor: pointer;
  will-change: transform; display: block; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.club-bubble img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; pointer-events: none; user-select: none; }
.club-bubble__name {
  position: absolute; left: 50%; bottom: -10px; transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  white-space: nowrap; font-family: var(--font-ui); font-weight: 700; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
  background: var(--ink); color: var(--cream); padding: 4px 10px; border-radius: 99px; transition: opacity .2s, transform .2s;
}
.club-bubble:hover .club-bubble__name, .club-bubble:focus-visible .club-bubble__name { opacity: 1; transform: translate(-50%, 0); }
.club-bubble:focus-visible { outline: 4px solid var(--pink); outline-offset: 3px; }
.club-stage.is-static .club-bubble { transition: transform .25s var(--bounce); }
.club-stage.is-static .club-bubble:hover { transform: scale(1.12) !important; }
@media (hover: none) { .club-bubble__name { opacity: 1; transform: translate(-50%, 0); font-size: 10px; } }

.club-pop { position: fixed; inset: 0; z-index: 1200; background: rgba(28,23,18,.55); display: grid; place-items: center; padding: 20px; }
.club-pop[hidden] { display: none; }
.club-pop__card {
  position: relative; background: var(--paper); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 28px 28px 26px; max-width: 380px; width: 100%; text-align: center;
}
.club-pop__logo { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--ink); margin: 0 auto 14px; object-fit: cover; }
.club-pop h3 { font-size: 24px; margin: 0 0 4px; }
.club-pop__kind { font-family: var(--font-ui); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-dark); margin: 0 0 16px; }
.club-pop__links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.club-pop__soon { font-family: var(--font-hand); font-size: 18px; color: var(--ink-soft); margin: 0; }
.club-pop__close {
  position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--cream); font-size: 22px; line-height: 1; font-family: var(--font-ui);
}

.quiz {
  max-width: 820px; margin: 0 auto; background: var(--paper); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 30px 32px 28px;
}
.quiz__progress { display: flex; gap: 8px; margin-bottom: 12px; }
.quiz__progress span { flex: 1; height: 8px; border-radius: 99px; background: var(--cream-2); border: 1.5px solid var(--ink); }
.quiz__progress .is-done { background: var(--mustard); }
.quiz__progress .is-now { background: var(--pink-light); }
.quiz__count { font-family: var(--font-ui); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-dark); margin: 0 0 6px; }
.quiz__q { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.12; margin: 0 0 20px; }
.quiz__options { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.quiz__opt {
  text-align: left; font-family: var(--font-ui); font-weight: 600; font-size: 16.5px; line-height: 1.3; color: var(--ink);
  background: var(--cream); border: var(--border); border-radius: var(--radius-sm); padding: 15px 16px; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .2s var(--bounce), box-shadow .2s var(--ease), background .2s var(--ease);
}
.quiz__opt:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--pink-light); }
.quiz__opt:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.quiz__back { margin-top: 18px; background: none; border: 0; font-family: var(--font-ui); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-soft); }
.quiz__results { display: grid; gap: 14px; margin-bottom: 20px; }
.quiz__result { display: flex; gap: 18px; align-items: center; background: var(--cream); border: var(--border); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: 3px 3px 0 var(--ink); }
.quiz__result img { width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--ink); flex: none; object-fit: cover; }
.quiz__result h4 { font-size: 20px; margin: 2px 0 4px; }
.quiz__result p { font-size: 15px; color: var(--ink-soft); margin: 0 0 10px; }
.quiz__rank { font-family: var(--font-ui); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--mustard); border: 2px solid var(--ink); border-radius: 99px; padding: 2px 9px; }
.quiz__links { display: flex; gap: 10px; flex-wrap: wrap; }
.quiz__links .btn { padding: 8px 14px; font-size: 13px; }
.quiz__again { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.quiz__see { font-family: var(--font-ui); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .quiz { padding: 22px 18px; }
  .quiz__options { grid-template-columns: 1fr; }
  .quiz__result { flex-direction: column; text-align: center; }
  .club-stage { height: 700px; }
}
@media (prefers-reduced-motion: reduce) { .quiz__opt, .club-bubble__name { transition: none; } }

/* 20-question quiz: slimmer progress segments */
.quiz__progress { gap: 4px; }
.quiz__progress span { height: 7px; }

/* ---------------- Events page: colour bands + playful quiz/bubbles ---------------- */
.band { position: relative; overflow: hidden; border-top: var(--border); border-bottom: var(--border); }
.band::before {     /* confetti dots */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.55) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(255,255,255,.35) 0 2px, transparent 3px);
  background-size: 64px 64px, 38px 38px; background-position: 0 0, 19px 27px;
}
.band > .container { position: relative; z-index: 1; }
.band--sun  { background: #fffcf6 url('../img/clubs-bg-tile.jpg?v=berry') 0 0 / 1100px auto repeat; }
.band--sun::before { display: none; }   /* the gingham already has its own pattern */
.band--pink { background: linear-gradient(160deg, var(--pink) 0%, #b4376a 55%, #d9588a 100%); }
.band--teal { background: linear-gradient(160deg, var(--teal) 0%, #2f6f6a 60%, #4f8d7f 100%); }
.band .section-kicker { color: #fff6ec; background: rgba(0,0,0,.22); display: inline-block; padding: 5px 12px; border-radius: 99px; }
.band .section-head h2 { color: #fffaf0; text-shadow: 3px 3px 0 rgba(0,0,0,.22); }
.band .section-head p, .band .clubs-hint { color: #fff6ec !important; }
.band .clubs-hint { font-size: 22px; }

/* bubbles: every club gets its own colour */
.club-stage { background: rgba(255, 252, 246, .94); border-color: var(--ink); box-shadow: 8px 8px 0 rgba(0,0,0,.35); }
.club-bubble { --bc: var(--pink); --bd: var(--pink-dark); border-color: var(--bc); box-shadow: 5px 6px 0 var(--bd); border-width: 5px; }
.club-bubble:nth-child(6n+2) { --bc: var(--teal);    --bd: var(--teal-dark); }
.club-bubble:nth-child(6n+3) { --bc: var(--mustard); --bd: var(--mustard-dark); }
.club-bubble:nth-child(6n+4) { --bc: var(--orange);  --bd: var(--orange-dark); }
.club-bubble:nth-child(6n+5) { --bc: var(--sage);    --bd: var(--sage-dark); }
.club-bubble:nth-child(6n+6) { --bc: var(--navy);    --bd: var(--navy-dark); }
.club-bubble__name { background: var(--bc); color: #fff; border: 2px solid var(--ink); }

/* quiz: a card full of colour */
.band--pink .quiz { border-color: var(--ink); box-shadow: 8px 8px 0 rgba(0,0,0,.35); background: #fffcf6; }
.quiz__progress span { border-color: var(--ink); }
.quiz__progress span:nth-child(6n+1).is-done { background: var(--pink); }
.quiz__progress span:nth-child(6n+2).is-done { background: var(--orange); }
.quiz__progress span:nth-child(6n+3).is-done { background: var(--mustard); }
.quiz__progress span:nth-child(6n+4).is-done { background: var(--sage); }
.quiz__progress span:nth-child(6n+5).is-done { background: var(--teal); }
.quiz__progress span:nth-child(6n+6).is-done { background: var(--navy); }
.quiz__progress .is-now { background: #ffd24a; }
.quiz__count { background: var(--teal); color: #fff; display: inline-block; padding: 4px 12px; border-radius: 99px; border: 2px solid var(--ink); }
.quiz__q { color: var(--pink-dark); }
.quiz__opt { --o: #ffc2d9; --od: var(--pink); background: var(--o); }
.quiz__opt:nth-child(5n+2) { --o: #ffe27a; --od: var(--mustard); }
.quiz__opt:nth-child(5n+3) { --o: #b8ecd0; --od: var(--teal); }
.quiz__opt:nth-child(5n+4) { --o: #ffc9a3; --od: var(--orange); }
.quiz__opt:nth-child(5n+5) { --o: #d5c6ff; --od: var(--navy); }
.quiz__opt:hover, .quiz__opt:focus-visible { background: var(--od); color: #fff; }
.quiz__result:nth-child(1) { background: #ffe9a8; }
.quiz__result:nth-child(2) { background: #ffc2d9; }
.quiz__result:nth-child(3) { background: #b8ecd0; }
.quiz__rank { background: var(--pink); color: #fff; }
.quiz__result:nth-child(1) .quiz__rank { background: var(--mustard); color: var(--ink); }
.quiz__back, .quiz__see { color: var(--pink-dark); }

/* calendar on the teal band */
.band--teal .wsp-calendar { border-color: var(--ink); box-shadow: 8px 8px 0 rgba(0,0,0,.35); }
.band--teal .reveal.wsp-calendar { background: #fffcf6; }

/* page-wide bounce on hover for the little day pills at the top */
.events-strip .event-day:nth-child(7n+1) .event-pill { background: var(--pink-light); }
.events-strip .event-day:nth-child(7n+2) .event-pill { background: var(--mustard-light); }
.events-strip .event-day:nth-child(7n+3) .event-pill { background: var(--teal-light); }
.events-strip .event-day:nth-child(7n+4) .event-pill { background: var(--orange-light); }
.events-strip .event-day:nth-child(7n+5) .event-pill { background: var(--sage-light); }
.events-strip .event-day:nth-child(7n+6) .event-pill { background: var(--navy-light); }
.events-strip .event-day:nth-child(7n+7) .event-pill { background: var(--pink-light); }
@media (prefers-reduced-motion: no-preference) {
  .club-bubble:hover { filter: saturate(1.15); }
}

/* clubs band sits on a light gingham, so its heading text goes dark */
.band--sun .section-kicker { background: var(--ink); color: #fff6ec; }
.band--sun .section-head h2 { color: var(--ink); text-shadow: 3px 3px 0 #ffc2d9; }
.band--sun .clubs-hint {
  color: var(--ink) !important; background: rgba(255, 252, 246, .88); display: inline-block;
  padding: 6px 18px; border-radius: 18px; border: 2px solid var(--ink); margin: -6px 0 18px; line-height: 1.35;
}
.band--sun .club-stage { background: rgba(255, 252, 246, .88); }

/* ---------------- Home page: patterned section backgrounds (watercolour dots + gingham) ---------------- */
.bgx { border-top: var(--border); border-bottom: var(--border); background-color: var(--paper); background-repeat: repeat; }
/* keep headings legible and playful on the patterns */
.bgx .section-kicker { background: var(--ink); color: #fff6ec; display: inline-block; padding: 4px 12px; border-radius: 99px; }
.bgx .section-head h2 { text-shadow: 3px 3px 0 rgba(255, 252, 246, .85); }


/* text-heavy blocks get a soft cream panel so stars and dots never cut through the words */
.bgx .hover-reveal-list {
  background: rgba(255, 252, 246, .94); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 14px 28px 14px;
}
.bgx .cta-banner { box-shadow: var(--shadow-md); }
.bgx .section-head { display: flex; }
.bgx .section-head > div:first-child {
  background: rgba(255, 252, 246, .9); border: 2px solid var(--ink); border-radius: 18px; padding: 10px 18px 6px; box-shadow: 3px 3px 0 var(--ink);
}
.bgx .section-head h2 { text-shadow: none; }
.bgx .section-head > p {
  background: rgba(255, 252, 246, .92); border: 2px solid var(--ink); border-radius: 14px; padding: 8px 14px;
  color: var(--ink) !important; box-shadow: 3px 3px 0 var(--ink);
}

/* Home page palettes: Mint + Blush */
.bgx--mint-gingham  { background-image: url('../img/bg-mint-gingham.jpg');  background-size: 1000px auto; }
.bgx--blush-gingham { background-image: url('../img/bg-blush-gingham.jpg'); background-size: 1000px auto; }
.bgx--mint-dots     { background-image: url('../img/bg-mint-dots.jpg');     background-size: 1000px auto; }
.bgx--blush-dots    { background-image: url('../img/bg-blush-dots.jpg');    background-size: 1000px auto; }
.bgx--mint-polka    { background-image: url('../img/bg-mint-polka.jpg');    background-size: 700px auto; }
.bgx--blush-polka   { background-image: url('../img/bg-blush-polka.jpg');   background-size: 700px auto; }
@media (max-width: 700px) { [class*="bgx--"] { background-size: 600px auto !important; } }

/* =====================================================================
   MOTION + FUN LAYER
   - sticker-band backgrounds (pink halftone bursts / pink squiggles) that slowly zoom and drift
   - every sticker bobs and breathes (zoom in / out) using the independent `translate` and
     `scale` properties, so it never fights the pop-in or hover transforms
   - patterned section backgrounds drift sideways
   - cards, photos and headings zoom in as they scroll into view
   All of it switches off for people who prefer reduced motion.
   ===================================================================== */

/* ---- sticker-band backgrounds ---- */
.sticker-band { position: relative; isolation: isolate; overflow: hidden; border-top: var(--border); border-bottom: var(--border); }
.sticker-band::before {
  content: ""; position: absolute; inset: -12%; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; background-position: center; background-size: cover;
}
/* refined: six hues rotate band by band (berry, teal, plum, orange, sage-ish via squiggle/burst mix) */
.sticker-band::before { background-image: url('../img/snake-1.svg'), url('../img/bg-squiggle-1.jpg'); }
.sticker-band:nth-of-type(6n+2)::before { background-image: url('../img/snake-2.svg'), url('../img/bg-squiggle-2.jpg'); }
.sticker-band:nth-of-type(6n+3)::before { background-image: url('../img/bg-bursts-3.jpg'); }
.sticker-band:nth-of-type(6n+4)::before { background-image: url('../img/snake-4.svg'), url('../img/bg-squiggle-4.jpg'); }
.sticker-band:nth-of-type(6n+5)::before { background-image: url('../img/snake-5.svg'), url('../img/bg-squiggle-5.jpg'); }
.sticker-band:nth-of-type(6n+0)::before { background-image: url('../img/snake-8.svg'), url('../img/bg-squiggle-8.jpg'); }

/* ---- keyframes ---- */
@keyframes bg-breathe { from { transform: scale(1) translateX(-2%); } to { transform: scale(1.12) translateX(2%); } }
@keyframes bg-drift   { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--tile, 1000px) * -1), 0, 0); } }
@keyframes sticker-float {
  0%   { translate: 0 0;      scale: 1; }
  50%  { translate: 0 -10px;  scale: 1.07; }
  100% { translate: 0 2px;    scale: .97; }
}
@keyframes sticker-sway {
  0%   { translate: -5px 0;  scale: .98; }
  50%  { translate: 6px -7px; scale: 1.09; }
  100% { translate: -3px 3px; scale: 1; }
}
@keyframes pulse-zoom { 0%,100% { scale: 1; } 50% { scale: 1.06; } }
@keyframes wiggle     { 0%,100% { rotate: 0deg; } 25% { rotate: 3deg; } 75% { rotate: -3deg; } }

@media (prefers-reduced-motion: no-preference) {
  .sticker-band::before { animation: bg-breathe 18s ease-in-out infinite alternate; }

  /* patterned home sections drift sideways forever (tile width = the background-size) */
  .bgx { position: relative; isolation: isolate; overflow: hidden; background-image: none !important; }
  .bgx::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + var(--tile, 1000px) * 2);
    z-index: -1; pointer-events: none; background-repeat: repeat; background-position: 0 0;
    background-image: var(--bgimg); background-size: var(--tile, 1000px) auto;
    animation: bg-drift 70s linear infinite; will-change: transform;
  }
  .bgx--blush-dots    { --bgimg: url('../img/bg-blush-dots.jpg');    --tile: 1000px; }
  .bgx--mint-dots     { --bgimg: url('../img/bg-mint-dots.jpg');     --tile: 1000px; }
  .bgx--mint-gingham  { --bgimg: url('../img/bg-mint-gingham.jpg');  --tile: 1000px; }
  .bgx--blush-gingham { --bgimg: url('../img/bg-blush-gingham.jpg'); --tile: 1000px; }
  .bgx--mint-polka    { --bgimg: url('../img/bg-mint-polka.jpg');    --tile: 700px; }
  .bgx--blush-polka   { --bgimg: url('../img/bg-blush-polka.jpg');   --tile: 700px; }
  .bgx--berry         { --bgimg: url('../img/clubs-bg-tile.jpg?v=berry'); --tile: 1000px; }
  .bgx:nth-of-type(even)::before { animation-direction: reverse; animation-duration: 90s; }
  @media (max-width: 700px) { .bgx::before { --tile: 600px !important; } }

  /* stickers: bob + breathe forever (after their entrance) */
  .scrapbook-sticker.is-visible { animation: scrapbook-enter .8s var(--bounce) forwards, sticker-float var(--fd, 6s) ease-in-out .9s infinite alternate; }
  .cutout.sticker-pop.is-visible, .gutter-sticker.sticker-pop.is-visible, .sticker-strip img.sticker-pop.is-visible {
    animation: sticker-pop .7s var(--bounce) forwards, sticker-float var(--fd, 7s) ease-in-out .9s infinite alternate;
  }
  .scrapbook-sticker-wrap:nth-child(3n+1) .scrapbook-sticker.is-visible { --fd: 5.2s; }
  .scrapbook-sticker-wrap:nth-child(3n+2) .scrapbook-sticker.is-visible { --fd: 6.6s; animation-name: scrapbook-enter, sticker-sway; }
  .scrapbook-sticker-wrap:nth-child(3n)   .scrapbook-sticker.is-visible { --fd: 7.8s; animation-delay: 0s, 1.3s; }
  .cutout.sticker-pop.is-visible:nth-of-type(2n)   { --fd: 6s;   animation-name: sticker-pop, sticker-sway; }
  .cutout.sticker-pop.is-visible:nth-of-type(3n)   { --fd: 8.4s; }
  .cutout.sticker-pop.is-visible:nth-of-type(5n)   { --fd: 5s; animation-delay: 0s, 1.1s; }
  .gutter-sticker.sticker-pop.is-visible:nth-of-type(2n) { animation-name: sticker-pop, sticker-sway; --fd: 6.4s; }
  .sticker-strip img.sticker-pop.is-visible:nth-child(2n) { animation-name: sticker-pop, sticker-sway; --fd: 6.8s; }
  .hover-lift:hover { animation-play-state: running; }

  /* team photos + stickers on buttons gently pulse; hover wiggles */
  .team-card__photo img { transition: scale .5s var(--bounce); }
  .team-card:hover .team-card__photo img { scale: 1.12; }
  .team-card__photo { animation: pulse-zoom 7s ease-in-out infinite; }
  .team-card:nth-child(2n) .team-card__photo { animation-delay: 1.2s; }
  .team-card:nth-child(3n) .team-card__photo { animation-delay: 2.4s; }
  .sticker-btn, .real-button { animation: wiggle 5s ease-in-out infinite; }
  .brand__mark { animation: wiggle 6s ease-in-out infinite; }
  .btn:not(:hover) { animation: pulse-zoom 4.5s ease-in-out infinite; }
  .btn:hover { scale: 1.06; }

  /* cards / photos zoom as they scroll into view, and again on hover */
  .reveal:not(.is-visible) { scale: .93; }
  .reveal.is-visible { scale: 1; transition: scale .8s var(--bounce); }
  .article-card__media, .cat-card, .event-day, .polaroid { transition: scale .5s var(--bounce), filter .4s; }
  .article-card:hover .article-card__media { scale: 1.05; }
  .cat-card:hover { scale: 1.06; }
  .event-day:hover { scale: 1.07; }
  .article-card__media.has-photo { animation: pulse-zoom 11s ease-in-out infinite; }
  .article-card:nth-child(2n) .article-card__media { animation-delay: 1.5s; }
  .article-card:nth-child(3n) .article-card__media { animation-delay: 3s; }

  /* section headings and kickers pop in / out a hair */
  .section-head h2 { animation: pulse-zoom 9s ease-in-out infinite; transform-origin: left center; }
  .marquee, .script-marquee { animation: none; }
  .glitter-badge { animation: pulse-zoom 3.6s ease-in-out infinite; }
}

/* touch devices: calmer */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .section-head h2, .article-card__media.has-photo { animation: none; }
}

/* ---------------- Patterned backgrounds on the plain sections (refined) ----------------
   Six brand hues (berry, teal, plum, sage, orange, sky) alternate between crayon flowers and watercolour dots.
   A heavy cream veil turns them into quiet texture instead of competing with the content. */
main > .section:not(.bg-cream2):not(.bgx):not(.band):not(.bg-ink):not(.bg-teal-light):not(.clubs-section) {
  --flw: url('../img/bg-flowers-1.webp'); --ts: 900px; --veil: .90;
  background-image: linear-gradient(rgba(255,252,246,var(--veil)), rgba(255,252,246,var(--veil))), var(--flw);
  background-size: auto, var(--ts) auto; background-repeat: no-repeat, repeat;
}
main > .section:not(.bg-cream2):not(.bgx):not(.band):not(.bg-ink):not(.bg-teal-light):not(.clubs-section):nth-of-type(6n+2) { --flw: url('../img/bg-dots-2.jpg'); }
main > .section:not(.bg-cream2):not(.bgx):not(.band):not(.bg-ink):not(.bg-teal-light):not(.clubs-section):nth-of-type(6n+3) { --flw: url('../img/bg-flowers-3.webp'); }
main > .section:not(.bg-cream2):not(.bgx):not(.band):not(.bg-ink):not(.bg-teal-light):not(.clubs-section):nth-of-type(6n+4) { --flw: url('../img/bg-dots-4.jpg'); }
main > .section:not(.bg-cream2):not(.bgx):not(.band):not(.bg-ink):not(.bg-teal-light):not(.clubs-section):nth-of-type(6n+5) { --flw: url('../img/bg-flowers-5.webp'); }
main > .section:not(.bg-cream2):not(.bgx):not(.band):not(.bg-ink):not(.bg-teal-light):not(.clubs-section):nth-of-type(6n+0) { --flw: url('../img/bg-dots-8.jpg'); }

/* ---------------- Torn gingham-paper frame around each sticker wall ----------------
   Four corner pieces, each pinned to a real corner of the box, so the frame always fills the whole
   box at any size and the paper is never stretched. Every page gets its own colour (.frame-<name>). */
section:has(#photoStickerWall) { position: relative; overflow: hidden; }
section:has(#photoStickerWall)::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: no-repeat;
  background-size: clamp(150px, 30%, 460px) auto;
  background-position: left top, right top, left bottom, right bottom;
  background-image: var(--ftl), var(--ftr), var(--fbl), var(--fbr);
}
section:has(#photoStickerWall) > .container { position: relative; z-index: 1; }
.frame-berry { --ftl: url('../img/frame-berry-tl.webp'); --ftr: url('../img/frame-berry-tr.webp'); --fbl: url('../img/frame-berry-bl.webp'); --fbr: url('../img/frame-berry-br.webp'); }
.frame-teal { --ftl: url('../img/frame-teal-tl.webp'); --ftr: url('../img/frame-teal-tr.webp'); --fbl: url('../img/frame-teal-bl.webp'); --fbr: url('../img/frame-teal-br.webp'); }
.frame-plum { --ftl: url('../img/frame-plum-tl.webp'); --ftr: url('../img/frame-plum-tr.webp'); --fbl: url('../img/frame-plum-bl.webp'); --fbr: url('../img/frame-plum-br.webp'); }
.frame-sage { --ftl: url('../img/frame-sage-tl.webp'); --ftr: url('../img/frame-sage-tr.webp'); --fbl: url('../img/frame-sage-bl.webp'); --fbr: url('../img/frame-sage-br.webp'); }
.frame-blush { --ftl: url('../img/frame-blush-tl.webp'); --ftr: url('../img/frame-blush-tr.webp'); --fbl: url('../img/frame-blush-bl.webp'); --fbr: url('../img/frame-blush-br.webp'); }
.frame-mint { --ftl: url('../img/frame-mint-tl.webp'); --ftr: url('../img/frame-mint-tr.webp'); --fbl: url('../img/frame-mint-bl.webp'); --fbr: url('../img/frame-mint-br.webp'); }
.frame-sky { --ftl: url('../img/frame-sky-tl.webp'); --ftr: url('../img/frame-sky-tr.webp'); --fbl: url('../img/frame-sky-bl.webp'); --fbr: url('../img/frame-sky-br.webp'); }
.frame-lavender { --ftl: url('../img/frame-lavender-tl.webp'); --ftr: url('../img/frame-lavender-tr.webp'); --fbl: url('../img/frame-lavender-bl.webp'); --fbr: url('../img/frame-lavender-br.webp'); }
.frame-orange { --ftl: url('../img/frame-orange-tl.webp'); --ftr: url('../img/frame-orange-tr.webp'); --fbl: url('../img/frame-orange-bl.webp'); --fbr: url('../img/frame-orange-br.webp'); }
.frame-coral { --ftl: url('../img/frame-coral-tl.webp'); --ftr: url('../img/frame-coral-tr.webp'); --fbl: url('../img/frame-coral-bl.webp'); --fbr: url('../img/frame-coral-br.webp'); }
.frame-rose { --ftl: url('../img/frame-rose-tl.webp'); --ftr: url('../img/frame-rose-tr.webp'); --fbl: url('../img/frame-rose-bl.webp'); --fbr: url('../img/frame-rose-br.webp'); }
.frame-periwinkle { --ftl: url('../img/frame-periwinkle-tl.webp'); --ftr: url('../img/frame-periwinkle-tr.webp'); --fbl: url('../img/frame-periwinkle-bl.webp'); --fbr: url('../img/frame-periwinkle-br.webp'); }
@media (prefers-reduced-motion: no-preference) {
  section:has(#photoStickerWall)::after { animation: frame-breathe 14s ease-in-out infinite alternate; }
  @keyframes frame-breathe { from { background-size: clamp(150px, 30%, 460px) auto; } to { background-size: clamp(165px, 33%, 500px) auto; } }
}

/* home page: more colours */
.bgx--dots-lavender { background-image: url('../img/bg-dots-10.jpg'); background-size: 1000px auto; }
.bgx--dots-coral    { background-image: url('../img/bg-dots-9.jpg');  background-size: 1000px auto; }
@media (prefers-reduced-motion: no-preference) {
  .bgx--dots-lavender { --bgimg: url('../img/bg-dots-10.jpg'); --tile: 1000px; }
  .bgx--dots-coral    { --bgimg: url('../img/bg-dots-9.jpg');  --tile: 1000px; }
}

/* =====================================================================
   SCRAPBOOK LAYER
   - torn white paper edges along the top and bottom of every colour band / patterned section
   - the 7-day event cards ripple like a snake
   - the Submit form sits on a torn-paper collage
   ===================================================================== */
.sticker-band, .band, .bgx { position: relative; isolation: isolate; border-top: 0; border-bottom: 0; }
.sticker-band::after, .band::after, .bgx::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-repeat: repeat-x, repeat-x; background-position: left top, left bottom; background-size: 1400px 38px;
  background-image: url('../img/torn-t-1.webp'), url('../img/torn-b-1.webp');
}
.sticker-band:nth-of-type(2n)::after, .band:nth-of-type(2n)::after, .bgx:nth-of-type(2n)::after {
  background-image: url('../img/torn-t-2.webp'), url('../img/torn-b-2.webp');
}
@media (max-width: 700px) {
  .sticker-band::after, .band::after, .bgx::after { background-size: 900px 24px; }
}

@keyframes snake-wave {
  0%, 100% { translate: 0 0;     rotate: -1.4deg; }
  25%      { translate: 0 -16px; rotate: 0deg; }
  50%      { translate: 0 0;     rotate: 1.4deg; }
  75%      { translate: 0 16px;  rotate: 0deg; }
}
@media (prefers-reduced-motion: no-preference) {
  .events-strip .event-day { animation: snake-wave 3.8s ease-in-out infinite; }
  .events-strip .event-day:nth-child(2) { animation-delay: -.54s; }
  .events-strip .event-day:nth-child(3) { animation-delay: -1.08s; }
  .events-strip .event-day:nth-child(4) { animation-delay: -1.62s; }
  .events-strip .event-day:nth-child(5) { animation-delay: -2.16s; }
  .events-strip .event-day:nth-child(6) { animation-delay: -2.7s; }
  .events-strip .event-day:nth-child(7) { animation-delay: -3.24s; }
  .collage-bg { animation: collage-zoom 26s ease-in-out infinite alternate; }
  @keyframes collage-zoom { from { background-size: 100% auto; background-position: 50% 40%; } to { background-size: 112% auto; background-position: 46% 60%; } }
}
.section.collage-bg { background: #6b86a8 url('../img/bg-collage.jpg') center / cover no-repeat; border-top: 0; border-bottom: 0; }
.collage-bg .section-head h2 { text-shadow: 3px 3px 0 rgba(255, 252, 246, .9); }

/* ---------------- Washi tape, gems + glitter stars (scrapbook.js) ---------------- */
.scrap { position: absolute; z-index: 3; height: auto; pointer-events: none; user-select: none; }
.scrap--tape { filter: drop-shadow(2px 4px 4px rgba(20, 16, 12, .30)); opacity: .96; }
.scrap--gem  { filter: drop-shadow(2px 4px 5px rgba(20, 16, 12, .38)); }
@media (prefers-reduced-motion: no-preference) {
  .scrap--gem { animation: sticker-float var(--fd, 6s) ease-in-out infinite alternate; }
}

/* Events heading: big question + smaller reassurance */
.page-hero h1 .h1-sub { display: block; margin-top: .22em; font-size: .42em; line-height: 1.1; letter-spacing: 0; font-style: italic; }

/* Week strip: the little time boxes are always a different colour from the day card they sit in */
.events-strip .event-day:nth-child(7n+1) .event-pill { background: #cfe6dc; }   /* pink card  -> mint  */
.events-strip .event-day:nth-child(7n+2) .event-pill { background: #f3cddb; }   /* teal card  -> blush */
.events-strip .event-day:nth-child(7n+3) .event-pill { background: #cfe3ee; }   /* tan card   -> sky   */
.events-strip .event-day:nth-child(7n+4) .event-pill { background: #e0d4ee; }   /* sage card  -> lilac */
.events-strip .event-day:nth-child(7n+5) .event-pill { background: #cfe3ee; }   /* orange card-> sky   */
.events-strip .event-day:nth-child(7n+6) .event-pill { background: #cfe6dc; }   /* lilac card -> mint  */
.events-strip .event-day:nth-child(7n+7) .event-pill { background: #cfe3ee; }   /* pink card  -> sky   */

/* Text highlighting is switched off for now (delete this block to bring the marker back) */
.highlight, .highlight--pink, .highlight--teal { background: none !important; padding: 0 !important; }

/* =====================================================================
   PAGE TITLES: Londrina Solid caps, cream with an ink edge + hard shadow; the key words sit on a
   tilted deep-magenta label. Sizes are in em so the edge and label scale with every title.
   ===================================================================== */
.hero__title, .page-hero h1, .page-hero--photo h1, .page-hero--photo-strong h1 {
  font-family: 'Londrina Solid', 'Fraunces', sans-serif; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0; color: #f5e6d0; text-shadow: 0.028em 0em 0 #1c1712,-0.028em 0em 0 #1c1712,0em 0.028em 0 #1c1712,0em -0.028em 0 #1c1712,0.028em 0.028em 0 #1c1712,-0.028em -0.028em 0 #1c1712,0.028em -0.028em 0 #1c1712,-0.028em 0.028em 0 #1c1712,0.07em 0.07em 0 #1c1712;
}
.hero__title { font-size: clamp(60px, 12.5vw, 190px); line-height: .95; }
.page-hero h1, .page-hero--photo h1, .page-hero--photo-strong h1 {
  font-size: clamp(54px, 9.5vw, 138px); line-height: .98; max-width: 1080px;
}
.hero__title em, .page-hero h1 em {
  font-style: normal; display: inline-block; white-space: nowrap;
  background: #d6247a; color: #fff3e3; padding: .02em .22em .08em; margin-left: .08em;
  border: .025em solid #1c1712; border-radius: .14em; box-shadow: .05em .06em 0 #1c1712;
  transform: rotate(-4deg) translateY(.03em); text-shadow: 0.02em 0em 0 #1c1712,-0.02em 0em 0 #1c1712,0em 0.02em 0 #1c1712,0em -0.02em 0 #1c1712,0.02em 0.02em 0 #1c1712,-0.02em -0.02em 0 #1c1712,0.02em -0.02em 0 #1c1712,-0.02em 0.02em 0 #1c1712;
}
.page-hero h1 em:first-child { margin-left: 0; }
.page-hero h1 .h1-sub {
  font-family: var(--font-display); font-weight: 900; text-transform: none; font-style: italic; color: #fff;
  font-size: .3em; white-space: normal; text-shadow: 0.05em 0em 0 #1c1712,-0.05em 0em 0 #1c1712,0em 0.05em 0 #1c1712,0em -0.05em 0 #1c1712,0.05em 0.05em 0 #1c1712,-0.05em -0.05em 0 #1c1712,0.05em -0.05em 0 #1c1712,-0.05em 0.05em 0 #1c1712, 0.08em 0.08em 0 #1c1712;
}
/* small eyebrow above each title becomes a tilted cream pill so it is always readable */
.page-hero .eyebrow-simple {
  display: inline-block; background: #fff3e3; color: #96274f; border: 2px solid #1c1712; border-radius: 99px;
  padding: 5px 14px; box-shadow: 3px 3px 0 #1c1712; transform: rotate(-2deg); text-shadow: none;
}

/* Home title: two lines, kept to the left side so it never covers the ski photo on the right */
.hero__title { text-align: left; max-width: 58vw; margin: 20px 0 0 3vw; font-size: clamp(56px, 11.5vw, 180px); }
@media (max-width: 900px) { .hero__title { max-width: none; margin-left: 0; text-align: center; font-size: clamp(48px, 13vw, 110px); } }


/* ---------------- Photography wall + art/photo tabs (Read page) ---------------- */
.wall-tabs { margin-bottom: 26px; }
.wall-tab-btn {
  font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 100px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--bounce), box-shadow .25s var(--ease);
}
.wall-tab-btn:hover { transform: translateY(-2px); box-shadow: 2px 4px 0 rgba(20,16,12,.18); }
.wall-tab-btn.is-active { background: var(--ink); color: var(--cream); }

/* gallery (museum style): wide black masonry, captions only on hover, filters */
.photo-gallery { width: min(1480px, calc(100vw - 56px)); position: relative; left: 50%; transform: translateX(-50%); padding: 8px 0 24px; color: #f3ece1; }
.photo-gallery__head { max-width: 700px; margin: 0 0 30px; }
.photo-gallery__head .section-kicker { color: #ff9fc9; }
.photo-gallery__head h2 { color: #fff; font-size: clamp(40px, 6vw, 76px); margin: .15em 0 .3em; }
.photo-gallery__head p { margin: 0; color: rgba(243,236,225,.8); font-size: 18px; line-height: 1.6; }
.pw-filters { display: grid; gap: 12px; padding: 18px 0; margin-bottom: 26px; border-top: 1px solid rgba(243,236,225,.22); border-bottom: 1px solid rgba(243,236,225,.22); }
.pw-filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pw-filters__label { font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,236,225,.55); margin-right: 6px; }
.pw-chip { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 3px; border: 1px solid rgba(243,236,225,.35); background: transparent; color: #f3ece1; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pw-chip:hover { border-color: #fff; }
.pw-chip.is-active { background: #fff; color: #000; border-color: #fff; }
.pw-chip:focus-visible { outline: 3px solid #ff9fc9; outline-offset: 2px; }
.pw-count { margin-left: auto; font-family: var(--font-ui); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,236,225,.6); }
.pw-count b { color: #fff; }
.pw-fig { position: relative; margin: 0; overflow: hidden; background: #14110f; }
.pw-fig[hidden] { display: none; }
.pw-fig__btn { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.pw-fig__btn img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease), filter .4s; }
.pw-fig:hover .pw-fig__btn img, .pw-fig:focus-within .pw-fig__btn img { transform: scale(1.04); filter: brightness(.7); }
.pw-fig__btn:focus-visible { outline: 3px solid #ff9fc9; outline-offset: -3px; }
.pw-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 16px 14px; pointer-events: none; display: flex; flex-direction: column; gap: 3px;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.pw-fig:hover figcaption, .pw-fig:focus-within figcaption { opacity: 1; transform: none; }
.pw-fig figcaption b { font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.pw-fig figcaption span { font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,236,225,.75); }
.pw-feature { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 12px; }
.pw-fig--f2 { grid-column: span 3; }
.pw-fig--f3 { grid-column: span 2; }
.pw-feature:not(:has(.pw-fig:not([hidden]))) { display: none; }
.pw-feature .pw-fig figcaption b { font-size: 15px; }
.pw-feature .pw-fig figcaption { padding: 56px 20px 18px; }
.pw-feature .pw-fig__btn { aspect-ratio: 3 / 2; }
.pw-feature .pw-fig__btn img { height: 100%; object-fit: cover; }
.pw-grid { columns: 3; column-gap: 12px; }
.pw-grid .pw-fig { break-inside: avoid; margin-bottom: 12px; }
.pw-empty { text-align: center; padding: 60px 0; color: rgba(243,236,225,.7); }
@media (max-width: 980px) { .pw-grid { columns: 2; } .pw-count { width: 100%; margin: 4px 0 0; } }
@media (max-width: 980px) { .pw-fig--f3 { grid-column: span 3; } }
@media (max-width: 620px) { .pw-feature { grid-template-columns: 1fr; } .pw-fig--f2, .pw-fig--f3 { grid-column: 1 / -1; } .pw-grid { columns: 1; } .photo-gallery { width: calc(100vw - 40px); } }
@media (hover: none) { .pw-fig figcaption { display: none; } }

/* click-to-enlarge */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(5,4,3,.94); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 28px 20px 18px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(96vw, 1500px); max-height: calc(100vh - 120px); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox__cap { color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding-top: 14px; }
.lightbox__cap small { display: block; margin-top: 4px; font-family: var(--font-ui); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,236,225,.65); }
.lightbox button { position: absolute; border: 2px solid #fff; background: rgba(0,0,0,.4); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: #fff; color: #000; }
.lightbox__close { top: 16px; right: 16px; } .lightbox__prev { left: 16px; top: 50%; } .lightbox__next { right: 16px; top: 50%; }

/* Sign-off at the end of every article: outlined caps (cream on dark pages, berry on light ones) */
.sign-off { --so-stroke: #96274f; --so-script: var(--ink-soft); text-align: center; margin: 3em auto 0; max-width: 900px;
  font-family: 'Londrina Solid', var(--font-display); font-weight: 900; font-size: clamp(30px, 5vw, 62px); line-height: 1.02; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 3px var(--so-stroke); }
.sign-off span { display: block; font-family: var(--font-hand, 'Homemade Apple'); font-weight: 400; font-size: 28px; letter-spacing: 0; color: var(--so-script); -webkit-text-stroke: 0; margin-bottom: .3em; }
body.page-orange .sign-off, body.page-red .sign-off, body.page-green .sign-off, body.page-spooky .sign-off { --so-stroke: #fff6ec; --so-script: #ffe3c9; }

/* ---------------- Orange page theme (land conservation article) ---------------- */
body.page-orange {
  overflow-x: clip;
  --or-bg: #b04d12;
  --or-bg-2: #8c3c0c;
  --or-line: rgba(255, 244, 232, .55);
  background: var(--or-bg); color: #fff6ec;
}
body.page-orange .site-header { background: var(--or-bg-2); border-bottom-color: var(--or-line); }
body.page-orange .brand__title, body.page-orange .nav a { color: #fff6ec; }
body.page-orange .brand__sub { color: #ffe3c9; }
body.page-orange .nav a:hover, body.page-orange .nav a[aria-current="page"] { background: var(--or-bg); border-color: #fff6ec; box-shadow: 3px 3px 0 rgba(0,0,0,.45); }
body.page-orange .nav-toggle { background: #fff6ec; color: var(--ink); }
@media (max-width: 860px) { body.page-orange .nav { background: var(--or-bg-2); border-top-color: var(--or-line); } }
body.page-orange .script-marquee { background: var(--or-bg-2); border-color: var(--or-line); }
body.page-orange .script-marquee span { color: #ffe9d6; }
body.page-orange .article-header { border-bottom-color: var(--or-line); }
body.page-orange .article-header h1 { color: #fff6ec; }
body.page-orange .byline { color: #ffe3c9; }
body.page-orange .tag--mustard { background: #fff6ec; color: var(--or-bg-2); border-color: #fff6ec; }
body.page-orange .bg-cream2 { background: var(--or-bg-2); border-color: var(--or-line); }
body.page-orange .section-kicker { color: #ffe3c9; }
body.page-orange .section-head h2 { color: #fff6ec; }
body.page-orange .section-head p { color: rgba(255,246,236,.82) !important; }
body.page-orange .section-link { color: #fff6ec; }
body.page-orange .article-card h3 { color: #fff6ec; }
body.page-orange .article-card p { color: rgba(255,246,236,.85); }
body.page-orange .article-card__meta { color: #ffe3c9; }
body.page-orange .sticker-strip img { filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
body.page-orange .tag--orange { background: #fff6ec; color: #8c3c0c; border-color: #fff6ec; }
body.page-orange .article-body { color: #fff6ec; }


/* ---------------- Photography view: the whole page goes black ---------------- */
body.page-photo { background: #000; color: #f3ece1; }
body.page-photo .site-header { background: #0b0908; border-bottom-color: rgba(243,236,225,.28); }
body.page-photo .brand__title, body.page-photo .nav a { color: #fff; }
body.page-photo .brand__sub { color: #ff9fc9; }
body.page-photo .nav a:hover, body.page-photo .nav a[aria-current="page"] { background: #000; border-color: #fff; box-shadow: 3px 3px 0 rgba(255,255,255,.25); }
body.page-photo .nav-toggle { background: #fff; color: #000; }
@media (max-width: 860px) { body.page-photo .nav { background: #0b0908; border-top-color: rgba(243,236,225,.28); } }
body.page-photo .script-marquee { background: #0b0908; border-color: rgba(243,236,225,.28); }
body.page-photo .script-marquee span { color: #ffd0e4; }
body.page-photo main > .section, body.page-photo .bg-cream2, body.page-photo .texture-band { background: #000 !important; animation: none !important; border-color: rgba(243,236,225,.22); }
body.page-photo main > .section::before, body.page-photo main > .section::after { display: none; }
body.page-photo .filter-btn, body.page-photo .wall-tab-btn { background: transparent; color: #f3ece1; border-color: rgba(243,236,225,.6); }
body.page-photo .filter-btn:hover, body.page-photo .wall-tab-btn:hover { box-shadow: 2px 4px 0 rgba(255,255,255,.2); }
body.page-photo .filter-btn.is-active, body.page-photo .wall-tab-btn.is-active { background: #fff; color: #000; border-color: #fff; }
body.page-photo .section-kicker { color: #ff9fc9; }
body.page-photo .section-head h2, body.page-photo .article-card h3 { color: #fff; }
body.page-photo .section-head p, body.page-photo .article-card p { color: rgba(243,236,225,.78) !important; }
body.page-photo .article-card__meta { color: #ff9fc9; }
body.page-photo .section-link { color: #fff; }
body.page-photo .site-footer { background: #000; border-top-color: rgba(243,236,225,.28); }
body.page-photo .sticker-band { display: none; }

/* =====================================================================
   REFINEMENT PASS: calmer motion, quieter decoration, no collisions
   (this block sits last on purpose; delete it to return to the maximal look)
   ===================================================================== */

/* ---- 1. MOTION: one entrance per element, hover feedback, and the two signature moves (snake lines, slow marquee) ---- */
@media (prefers-reduced-motion: no-preference) {
  /* stickers pop in once and then sit still */
  .sticker-pop.is-visible, .scrapbook-sticker.is-visible { animation-iteration-count: 1 !important; }
  .cutout.sticker-pop.is-visible, .gutter-sticker.sticker-pop.is-visible, .sticker-strip img.sticker-pop.is-visible { animation: sticker-pop .6s var(--bounce) forwards !important; }
  .scrapbook-sticker.is-visible { animation: scrapbook-enter .7s var(--bounce) forwards !important; }
  /* ambient loops off */
  .team-card__photo, .sticker-btn, .real-button, .brand__mark, .btn:not(:hover), .btn,
  .article-card__media.has-photo, .section-head h2, .glitter-badge, .page-hero--photo,
  .sticker-band::before, .bgx::before, section:has(#photoStickerWall)::after, .collage-bg,
  .scrap--gem, .reading-assistant-toggle.is-intro { animation: none !important; }
  .glitter-badge::before, .glitter-badge::after { animation: none !important; }
  .page-hero--photo { background-size: cover !important; background-position: center !important; }
  .reveal:not(.is-visible) { scale: 1; }
  /* event cards: a slower, smaller ripple along the row */
  .events-strip .event-day { animation: snake-wave-soft 6s ease-in-out infinite; }
  @keyframes snake-wave-soft { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
}

/* ---- 2. TYPE SCALE: the big script marquees were louder than the page titles ---- */
.script-marquee span { font-size: clamp(34px, 5.4vw, 68px); }
.script-marquee { padding-block: 6px; }

/* ---- 3. DECORATION: thin out the stickers so the content leads ---- */
/* stickers that sat on story cards covered titles, tags and ratings */
.article-card > img.cutout, .article-card > .photo-sticker, .book-card > img.cutout, .book-card > .scrap,
.team-card > img.cutout, .card > img.cutout:nth-of-type(n+2) { display: none !important; }
/* decorative extras inside plain sections: keep the first two cut-outs and one paper scrap */
main > .section:not(.page-hero) > img.cutout:nth-of-type(n+3),
main > .section > .photo-sticker:nth-of-type(n+2),
main > .section > .paper-scrap:nth-of-type(n+2),
main > .section > .washi:nth-of-type(n+2),
main > .section > .scrapbook-sticker:nth-of-type(n+3) { display: none; }
/* hero scraps: one is enough */
.page-hero > .paper-scrap, .page-hero > .washi:nth-of-type(n+2) { display: none; }
/* the tape that holds a card is the only sticker allowed on the card itself */
.scrap--tape { opacity: 1; filter: drop-shadow(1px 3px 3px rgba(20,16,12,.25)); }

/* ---- 5. HOME PATTERNS: gingham, dots and polka are texture, not the main event ---- */
@media (prefers-reduced-motion: no-preference) { .bgx::before { opacity: .55; } }
.bgx { background-color: var(--paper); }
.zoom-bg { animation: none !important; }

