/* ============================================================
   Rebstock la petite provence — zine preset
   Paper-feel · Editorial · Provence-Kochbuch-Charakter
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Brand */
  --c-brand: #5a4587;
  --c-brand-dark: #3f2f63;
  --c-brand-light: #7e6aab;
  --c-brand-soft: rgba(90, 69, 135, 0.08);

  /* Paper / Ink */
  --c-paper: #faf6ee;
  --c-paper-warm: #f2ecde;
  --c-paper-deep: #ebe2cf;
  --c-ink: #1f1b1b;
  --c-ink-mute: rgba(31, 27, 27, 0.62);
  --c-ink-faint: rgba(31, 27, 27, 0.32);
  --c-rule: rgba(31, 27, 27, 0.18);

  /* Accents */
  --c-olive: #6B8F4A;
  --c-olive-dark: #4f6c34;
  --c-red: #a82222;

  /* Spacing rhythm */
  --gap-xs: 0.5rem;
  --gap-sm: 0.875rem;
  --gap-md: 1.5rem;
  --gap-lg: 2.5rem;
  --gap-xl: 4rem;
  --gap-2xl: 7rem;

  /* Type */
  --f-display: "Cormorant Garamond", "Source Serif Pro", Georgia, serif;
  --f-body: "Source Serif Pro", Georgia, serif;
  --f-ui: "Inter", system-ui, -apple-system, sans-serif;
  --f-hand: "Caveat", "Brush Script MT", cursive;

  /* Sizes */
  --size-hero: clamp(3.5rem, 9vw, 8rem);
  --size-h1: clamp(2.4rem, 5vw, 4.2rem);
  --size-h2: clamp(1.7rem, 3vw, 2.6rem);
  --size-h3: clamp(1.2rem, 2vw, 1.6rem);
  --size-eyebrow: 0.78rem;
  --size-body: clamp(1rem, 1.1vw, 1.075rem);
  --size-small: 0.875rem;

  --line-tight: 1.05;
  --line-snug: 1.25;
  --line-normal: 1.55;
  --line-loose: 1.75;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--size-body);
  line-height: var(--line-normal);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* paper texture — subtle grain */
  background-image:
    radial-gradient(rgba(31,27,27,0.025) 1px, transparent 1px),
    radial-gradient(rgba(31,27,27,0.018) 1px, transparent 1px);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px, 24px 24px;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-brand); }

/* Selection */
::selection { background: var(--c-brand); color: var(--c-paper); }

/* --- Typography helpers --- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: var(--line-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--gap-md);
  color: var(--c-ink);
}
.h-hero { font-size: var(--size-hero); font-weight: 400; letter-spacing: -0.025em; }
.h-1 { font-size: var(--size-h1); }
.h-2 { font-size: var(--size-h2); }
.h-3 { font-size: var(--size-h3); }
.eyebrow {
  font-family: var(--f-ui);
  font-size: var(--size-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-brand);
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--gap-sm);
}
.eyebrow.ink { color: var(--c-ink-mute); }
em, .italic { font-style: italic; }
.handwritten {
  font-family: var(--f-hand);
  font-weight: 500;
  font-size: 1.5em;
  color: var(--c-brand);
}
.drop-cap::first-letter {
  font-family: var(--f-display);
  font-size: 4.4em;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 0;
  color: var(--c-brand);
  font-weight: 400;
}

/* --- Layout containers --- */
.shell { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.shell-tight { max-width: 880px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.shell-wide { max-width: 1480px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

section { padding: var(--gap-2xl) 0; }
section.tight { padding: var(--gap-xl) 0; }

/* Rule lines — zine feature */
.rule { border-top: 1px solid var(--c-rule); margin: 0; }
.rule-thick { border-top: 2px solid var(--c-ink); margin: 0; }
.rule-brand { border-top: 1px solid var(--c-brand); margin: 0; }
.rule-haircline { height: 1px; background: var(--c-ink); position: relative; }
.rule-haircline::after {
  content: ""; position: absolute; left: 0; top: 50%; height: 1px; background: var(--c-brand);
  width: 0; transition: width 1.2s cubic-bezier(.2,.7,.2,1);
}
.in-view .rule-haircline::after { width: 100%; }

/* --- Navigation --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--c-rule);
}
.nav-inner {
  max-width: 1480px; margin: 0 auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md);
}
.nav-brand { display: inline-flex; align-items: center; gap: 14px; }
.nav-logo { height: 44px; width: auto; flex-shrink: 0; transition: transform .35s; }
.nav-brand:hover .nav-logo { transform: scale(1.05) rotate(-1.5deg); }
.nav-wordmark {
  display: flex; flex-direction: column; line-height: 1.05;
}
.nav-wordmark strong {
  font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; color: var(--c-brand);
}
.nav-wordmark .sub {
  font-family: var(--f-ui); font-size: 0.65rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-ink-mute);
}
.nav-menu { display: flex; gap: var(--gap-md); align-items: center; }
.nav-menu a {
  font-family: var(--f-ui); font-size: 0.85rem; font-weight: 500;
  color: var(--c-ink); padding: 0.4rem 0; position: relative;
  letter-spacing: 0.02em;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--c-brand); transition: right .3s;
}
.nav-menu a:hover::after, .nav-menu a.active::after { right: 0; }
.nav-cta {
  font-family: var(--f-ui); font-size: 0.82rem; font-weight: 600;
  padding: 0.55rem 1.05rem; border: 1px solid var(--c-brand);
  color: var(--c-brand); border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--c-brand); color: var(--c-paper); }

@media (max-width: 880px) {
  .nav-menu { display: none; }
  .nav-burger { display: inline-flex; }
}
.nav-burger {
  display: none; flex-direction: column; gap: 4px; padding: 8px; cursor: pointer; background: transparent; border: 0;
}
.nav-burger span { width: 22px; height: 1.5px; background: var(--c-ink); }
.nav-mobile {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--c-paper); border-bottom: 1px solid var(--c-rule);
  padding: var(--gap-md);
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 0.6rem 0; font-family: var(--f-ui); font-size: 0.95rem; }

/* --- Hero · scroll-narrative --- */
.hero {
  min-height: 92vh;
  display: grid; place-items: center;
  position: relative;
  padding: var(--gap-xl) 0 var(--gap-2xl);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 20%, rgba(90,69,135,0.06), transparent 60%),
    radial-gradient(40% 30% at 85% 80%, rgba(107,143,74,0.06), transparent 70%);
}
.hero-inner { text-align: center; position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--f-ui); font-size: 0.85rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--c-brand); margin-bottom: var(--gap-md);
}
.hero-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: var(--size-hero); line-height: 0.95; letter-spacing: -0.025em;
  color: var(--c-ink); margin: 0 0 var(--gap-md);
}
.hero-title em { color: var(--c-brand); }
.hero-title .word {
  display: inline-block;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity 1s;
}
.hero-sub {
  font-family: var(--f-body); font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-style: italic; color: var(--c-ink-mute);
  max-width: 50ch; margin: 0 auto var(--gap-lg);
  line-height: 1.5;
}
.hero-meta {
  display: inline-flex; gap: var(--gap-md); align-items: center;
  font-family: var(--f-ui); font-size: 0.82rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--c-ink-mute);
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-brand); }
.hero-olive {
  position: absolute; right: 4%; bottom: 8%; width: clamp(80px, 12vw, 180px);
  opacity: 0.28; transform: rotate(15deg);
  pointer-events: none;
}
.hero-olive.left {
  right: auto; left: 4%; top: 12%; transform: rotate(-22deg) scaleX(-1);
}
.scroll-cue {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-ui); font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--c-ink-mute);
  margin-top: var(--gap-lg);
  animation: pulse-down 2.5s ease-in-out infinite;
}
.scroll-cue::after { content: "↓"; font-size: 1rem; }
@keyframes pulse-down {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* --- Image treatment: sepia-provence --- */
.img-sepia, .img-treated img, .gallery img, .story img, .magazine-split img, .hero-image img {
  filter: sepia(0.18) saturate(0.92) brightness(0.98) contrast(1.04);
  transition: filter .6s;
}
.img-treated:hover img { filter: sepia(0.05) saturate(1.05) brightness(1.0) contrast(1.02); }

/* --- Magazine Split (Baukasten) --- */
.magazine-split {
  display: grid; gap: var(--gap-xl);
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: var(--gap-2xl);
}
.magazine-split.reverse > .ms-text { order: 2; }
.magazine-split .ms-text { padding: var(--gap-md) 0; }
.magazine-split .ms-image {
  position: relative; overflow: hidden;
  border: 1px solid var(--c-rule);
  background: var(--c-paper-warm);
}
.magazine-split .ms-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.magazine-split .ms-image::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(31,27,27,0.08);
}
@media (max-width: 880px) {
  .magazine-split { grid-template-columns: 1fr; }
  .magazine-split.reverse > .ms-text { order: 0; }
}

/* --- Editorial list (Baukasten) --- */
.editorial-list { list-style: none; margin: 0; padding: 0; }
.editorial-list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--gap-md);
  align-items: baseline;
  padding: var(--gap-md) 0;
  border-bottom: 1px solid var(--c-rule);
}
.editorial-list li:first-child { border-top: 1px solid var(--c-rule); }
.editorial-list .num {
  font-family: var(--f-ui); font-size: 0.78rem; color: var(--c-ink-faint);
  letter-spacing: 0.15em; min-width: 2.5rem;
}
.editorial-list .item-title {
  font-family: var(--f-display); font-size: var(--size-h3); font-weight: 500;
  color: var(--c-ink);
}
.editorial-list .item-desc {
  font-family: var(--f-body); font-style: italic; color: var(--c-ink-mute);
  font-size: 0.96rem; margin-top: 0.25rem; line-height: 1.5;
}
.editorial-list .price {
  font-family: var(--f-display); font-size: 1.2rem; color: var(--c-brand);
  white-space: nowrap;
}

/* --- Bold editorial statement --- */
.bold-statement {
  padding: var(--gap-2xl) 0;
  text-align: center;
  position: relative;
}
.bold-statement .quote {
  font-family: var(--f-display); font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.1; font-weight: 400; font-style: italic;
  color: var(--c-ink); max-width: 22ch; margin: 0 auto var(--gap-md);
  letter-spacing: -0.015em;
}
.bold-statement .quote em { color: var(--c-brand); font-style: italic; }
.bold-statement .attribution {
  font-family: var(--f-hand); color: var(--c-brand); font-size: 1.5rem;
}

/* --- Scroll Story Pin (Wir-Page) --- */
.story-pin {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl);
  align-items: start;
  padding: var(--gap-2xl) 0;
}
.story-pin .pin-image {
  position: sticky; top: 100px;
  border: 1px solid var(--c-rule);
  background: var(--c-paper-warm);
}
.story-pin .pin-image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.story-pin .pin-image .caption {
  padding: var(--gap-sm) var(--gap-md);
  font-family: var(--f-ui); font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--c-ink-mute);
  border-top: 1px solid var(--c-rule);
}
.story-pin .pin-text > * + * { margin-top: var(--gap-md); }
.story-pin .pin-text h3 { margin-top: var(--gap-lg); }
.story-pin .pin-text p { font-size: 1.05rem; line-height: 1.7; }
@media (max-width: 880px) {
  .story-pin { grid-template-columns: 1fr; }
  .story-pin .pin-image { position: relative; top: auto; }
}

/* --- Newspaper cards (Presse) --- */
.newspaper-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-md);
}
.newspaper-card {
  background: var(--c-paper-warm);
  padding: var(--gap-md);
  border: 1px solid var(--c-rule);
  transform: rotate(var(--rot, -0.5deg));
  transition: transform .35s;
  display: flex; flex-direction: column; gap: var(--gap-sm);
}
.newspaper-card:nth-child(2n) { --rot: 0.6deg; }
.newspaper-card:nth-child(3n) { --rot: -0.8deg; }
.newspaper-card:hover { transform: rotate(0deg) translateY(-4px); }
.newspaper-card .masthead {
  font-family: var(--f-ui); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-brand);
  padding-bottom: var(--gap-xs); border-bottom: 1px solid var(--c-rule);
}
.newspaper-card .headline {
  font-family: var(--f-display); font-size: 1.4rem; line-height: 1.15;
  color: var(--c-ink); font-weight: 500;
}
.newspaper-card .body {
  font-family: var(--f-body); font-style: italic; font-size: 0.9rem;
  color: var(--c-ink-mute); line-height: 1.55;
}
.newspaper-card .meta {
  font-family: var(--f-ui); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--c-ink-faint);
  margin-top: auto; padding-top: var(--gap-xs);
}
.newspaper-card .clip {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: var(--c-paper-deep);
}
.newspaper-card .clip img { width: 100%; height: 100%; object-fit: cover; }

/* --- Gallery --- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap-sm);
}
.gallery .tile {
  overflow: hidden; border: 1px solid var(--c-rule);
  background: var(--c-paper-warm); aspect-ratio: 1;
  transition: transform .35s;
}
.gallery .tile:hover { transform: translateY(-3px); }
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery .tile:hover img { transform: scale(1.04); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0.85rem 1.4rem;
  font-family: var(--f-ui); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; transition: all .25s;
  cursor: pointer; border: 0;
}
.btn-primary { background: var(--c-brand); color: var(--c-paper); }
.btn-primary:hover { background: var(--c-brand-dark); color: var(--c-paper); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--c-ink); border: 1px solid var(--c-ink); }
.btn-ghost:hover { background: var(--c-ink); color: var(--c-paper); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Footer --- */
.footer {
  background: var(--c-paper-warm);
  border-top: 1px solid var(--c-rule);
  padding: var(--gap-2xl) 0 var(--gap-md);
  margin-top: var(--gap-2xl);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap-xl);
  align-items: start;
}
.footer-brand h3 { font-size: 1.6rem; color: var(--c-brand); margin-bottom: var(--gap-sm); }
.footer-brand p { color: var(--c-ink-mute); font-style: italic; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--f-ui); font-size: 0.75rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-ink-mute); margin-bottom: var(--gap-md);
  font-weight: 600;
}
.footer-col a, .footer-col p {
  display: block; padding: 0.3rem 0;
  font-family: var(--f-body); font-size: 0.9rem; color: var(--c-ink);
  text-decoration: none; line-height: 1.6;
}
.footer-col a:hover { color: var(--c-brand); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--gap-md);
  padding-top: var(--gap-md); margin-top: var(--gap-xl);
  border-top: 1px solid var(--c-rule);
  font-family: var(--f-ui); font-size: 0.78rem; color: var(--c-ink-faint);
  letter-spacing: 0.05em;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Scroll-Reveal entrance --- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }

/* --- Two-column body text --- */
.two-col {
  column-count: 2; column-gap: var(--gap-xl); column-rule: 1px solid var(--c-rule);
}
.two-col p { break-inside: avoid; margin-bottom: var(--gap-md); }
@media (max-width: 700px) {
  .two-col { column-count: 1; }
}

/* --- Section header --- */
.section-head { text-align: center; margin-bottom: var(--gap-xl); }
.section-head .ornament {
  display: inline-block; width: 40px; height: 1px; background: var(--c-brand);
  margin: 0 var(--gap-sm); vertical-align: middle;
}
.section-head h2 { margin: 0 auto; max-width: 30ch; }
.section-head p { font-style: italic; color: var(--c-ink-mute); max-width: 55ch; margin: var(--gap-sm) auto 0; }

/* --- Print-like accents --- */
.kicker {
  font-family: var(--f-ui); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-brand); font-weight: 600;
}
.dateline {
  font-family: var(--f-ui); font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--c-ink-faint);
}

/* --- Contact card --- */
.contact-card {
  background: var(--c-paper-warm);
  border: 1px solid var(--c-rule);
  padding: var(--gap-xl);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl);
}
.contact-card h3 { font-size: 2rem; color: var(--c-brand); margin-bottom: var(--gap-md); }
.contact-card .field { margin-bottom: var(--gap-md); }
.contact-card .field strong {
  display: block; font-family: var(--f-ui); font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-ink-mute);
  margin-bottom: 4px;
}
.contact-card .field a { color: var(--c-ink); border-bottom: 1px solid var(--c-rule); }
.contact-card .field a:hover { color: var(--c-brand); border-color: var(--c-brand); }
@media (max-width: 700px) {
  .contact-card { grid-template-columns: 1fr; padding: var(--gap-lg); }
}

/* --- Anchor focus visible --- */
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }

/* ============================================================
   Cinematic Layer — Parallax · Scroll-Zoom · Full-Bleed · Vignette
   ============================================================ */

/* --- Scroll-progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--c-brand);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 100;
  pointer-events: none;
}

/* --- Hero cinematic upgrade --- */
.hero { min-height: 100vh; }
.hero-inner { will-change: transform; }
.hero-olive {
  will-change: transform;
  transition: opacity 1.2s;
}
.hero::after {
  /* vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 40%, transparent, rgba(31,27,27,0.18));
}

/* --- Parallax image wrapper --- */
.parallax {
  overflow: hidden; position: relative;
}
.parallax img {
  will-change: transform;
  transition: transform .15s linear;
}

/* --- Cinematic scroll-zoom into magazine-split --- */
.magazine-split .ms-image {
  overflow: hidden;
}
.magazine-split .ms-image img {
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1), filter .6s;
  transform: scale(1.08);
}
.magazine-split.in-view .ms-image img,
.magazine-split.reveal.in-view .ms-image img {
  transform: scale(1.0);
}
.magazine-split .ms-image::before {
  /* corner frame ornament */
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(250,246,238,0.35);
  pointer-events: none; z-index: 2;
  opacity: 0; transition: opacity .8s 0.4s;
}
.magazine-split.in-view .ms-image::before { opacity: 1; }

/* --- Full-bleed atmospheric strip --- */
.bleed-strip {
  position: relative; height: 70vh; min-height: 480px;
  margin: 0; overflow: hidden;
  display: grid; place-items: center;
  isolation: isolate;
}
.bleed-strip > img {
  position: absolute; inset: 0; width: 100%; height: 130%;
  object-fit: cover;
  z-index: -1; will-change: transform;
  filter: sepia(0.24) saturate(0.88) brightness(0.62) contrast(1.08);
}
.bleed-strip::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(90,69,135,0.32), rgba(31,27,27,0.65));
  mix-blend-mode: multiply;
}
.bleed-strip .bleed-inner {
  text-align: center; color: var(--c-paper);
  padding: 0 var(--gap-lg); max-width: 800px;
}
.bleed-strip .bleed-inner .eyebrow { color: var(--c-paper); opacity: 0.85; }
.bleed-strip .bleed-inner h2 {
  color: var(--c-paper);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-style: italic; font-weight: 400;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  margin: 0 auto var(--gap-md);
}
.bleed-strip .bleed-inner p {
  color: rgba(250,246,238,0.85); font-style: italic;
  font-size: 1.1rem; max-width: 50ch; margin: 0 auto;
}

/* --- Pin-image upgrade: parallax-y while scrolling --- */
.story-pin .pin-image {
  overflow: hidden;
}
.story-pin .pin-image img {
  will-change: transform; transition: transform .15s linear;
  transform-origin: center top;
}

/* --- Hero portrait small-frame mosaic (for low-res original images) --- */
.portrait-mosaic {
  display: grid; gap: var(--gap-sm);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 720px; margin: 0 auto;
}
.portrait-mosaic .tile {
  aspect-ratio: 3/4;
  border: 1px solid var(--c-rule);
  overflow: hidden; position: relative;
  background: var(--c-paper-warm);
}
.portrait-mosaic .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.portrait-mosaic .tile:hover img { transform: scale(1.05); }
.portrait-mosaic .tile .frame-label {
  position: absolute; bottom: 8px; left: 8px;
  font-family: var(--f-ui); font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-paper);
  background: rgba(31,27,27,0.7); padding: 4px 8px;
}

/* --- Clip-path reveal on entrance --- */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s cubic-bezier(.2,.7,.2,1);
}
.clip-reveal.in-view { clip-path: inset(0 0 0 0); }

/* --- Word-by-word reveal --- */
.word-reveal .w {
  display: inline-block; opacity: 0; transform: translateY(20px);
  transition: opacity .8s, transform .8s;
}
.word-reveal.in-view .w { opacity: 1; transform: translateY(0); }
.word-reveal.in-view .w:nth-child(1)  { transition-delay: 0.0s; }
.word-reveal.in-view .w:nth-child(2)  { transition-delay: 0.08s; }
.word-reveal.in-view .w:nth-child(3)  { transition-delay: 0.16s; }
.word-reveal.in-view .w:nth-child(4)  { transition-delay: 0.24s; }
.word-reveal.in-view .w:nth-child(5)  { transition-delay: 0.32s; }
.word-reveal.in-view .w:nth-child(6)  { transition-delay: 0.40s; }
.word-reveal.in-view .w:nth-child(7)  { transition-delay: 0.48s; }
.word-reveal.in-view .w:nth-child(8)  { transition-delay: 0.56s; }
.word-reveal.in-view .w:nth-child(9)  { transition-delay: 0.64s; }
.word-reveal.in-view .w:nth-child(10) { transition-delay: 0.72s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress, .hero-title .word, .parallax img, .bleed-strip > img, .story-pin .pin-image img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- Print --- */
@media print {
  .nav, .footer, .scroll-cue, .scroll-progress { display: none; }
}
