/* ============================================================
   R+A Wedding — Site-level styles
   Extends tokens.css. Page composition, sections, components
   not in the base system.
   ============================================================ */

/* Universal border-box — the design-system tokens.css doesn't ship
   a reset, so percentage widths + padding overflow without this. */
*, *::before, *::after { box-sizing: border-box; }

/* Smooth scroll for in-page anchors only — never globally. */
html { scroll-behavior: smooth; }

/* Body kept at ivory. */
body { background: var(--ivory); color: var(--fg); }

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter-d);
}
@media (max-width: 720px) {
  .container { padding: 0 var(--gutter-m); }
}

.section {
  padding: var(--space-11) 0;   /* 160px top/bottom desktop */
}
@media (max-width: 720px) {
  .section { padding: var(--space-9) 0; }   /* 96 mobile */
}

.section--snug   { padding: var(--space-9) 0; }
.section--inverted {
  background: var(--pine);
  color: var(--ivory);
}

.reading {
  max-width: 680px;
  margin: 0 auto;
}

.measure {
  max-width: 560px;
}

.stack > * + * { margin-top: var(--stack, var(--space-4)); }

/* ============================================================
   Eyebrow with hairline detail (system motif)
   ============================================================ */

.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--fg);
}
.eyebrow-row::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--antique-brass);
}
.eyebrow-row--center { justify-content: center; }
.eyebrow-row--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--antique-brass);
}

/* On dark backgrounds */
.section--inverted .eyebrow,
.section--inverted .eyebrow-row { color: var(--ivory); }
.section--inverted .eyebrow-row::before,
.section--inverted .eyebrow-row::after { background: var(--antique-brass); }

/* ============================================================
   Ornament — fleuron divider
   ============================================================ */

.fleuron {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: var(--antique-brass);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: var(--space-7) 0;
}
.fleuron::before,
.fleuron::after {
  content: "";
  width: 64px;
  height: 1px;
  background: var(--antique-brass);
  opacity: 0.5;
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav.is-scrolled {
  border-bottom-color: var(--bone);
  background: rgba(248, 244, 236, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter-d);
}
@media (max-width: 720px) {
  .nav-inner { padding: 0 var(--gutter-m); height: 64px; }
}

.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--hunter-green);
  text-decoration: none;
  border: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.brand .amp {
  color: var(--antique-brass);
  margin: 0 4px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}
@media (max-width: 980px) {
  .nav-links { gap: var(--space-5); }
}
.nav-links a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--hunter-green);
  text-decoration: none;
  border: 0;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--hunter-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-base);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-rsvp,
.nav-rsvp:link,
.nav-rsvp:visited,
.nav-rsvp[aria-current="page"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  background: var(--crimson);
  color: var(--ivory);
  border: 1px solid var(--crimson);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
/* Hover: invert to ghost — transparent fill, crimson outline,
   crimson copy. Beats the global a:hover (which only flips color)
   and gives the CTA a clear two-state read. */
.nav-rsvp:hover {
  background: transparent;
  border-color: var(--crimson);
  color: var(--crimson);
}
.nav-rsvp::after { display: none; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--hunter-green);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: var(--hunter-green);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

/* Right-side action cluster — always visible, holds the RSVP CTA
   and (on mobile) the hamburger toggle. The RSVP lives here rather
   than in .nav-links so it reads as a distinct CTA, not the 8th
   nav item. */
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

/* Hamburger kicks in well above the squish point: 7 nav links + the RSVP
   CTA need ~940px of width, and with --gutter-d eating 128px the squish
   extends up to roughly 1100px viewport. Below this we go straight to the
   hamburger drawer. */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--gutter-m);
  /* Lock the drawer to the actual viewport height (dynamic vh handles
     iOS Safari's collapsing address bar); also disables the drawer's own
     scroll so the links auto-fit. */
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: contain;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}
.nav-mobile.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  flex: 0 0 auto;
}
.nav-mobile-close {
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--hunter-green);
  font-size: 28px;
  font-family: var(--serif);
  line-height: 1;
}
/* The link list grows to fill available space so the RSVP CTA always sits
   pinned to the bottom and the whole drawer fits a single screen height. */
.nav-mobile-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  flex: 1 1 auto;
  min-height: 0;
}
.nav-mobile-links a {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 6vw, 28px);
  letter-spacing: -0.01em;
  color: var(--hunter-green);
  text-decoration: none;
  border: 0;
  padding: 6px 0;
}
.nav-mobile-links a + a { border-top: 1px solid var(--bone); padding-top: 10px; margin-top: 4px; }
.nav-mobile-rsvp {
  flex: 0 0 auto;
  padding: var(--space-4) 0 var(--space-5);
}

/* ============================================================
   Page hero — shared by RSVP, Schedule, Travel, etc.
   Compact, ivory, eyebrow + display title + optional intro line.
   ============================================================ */

.page-hero {
  padding: var(--space-11) 0 var(--space-9);
  text-align: center;
  border-bottom: 1px solid var(--bone);
}
@media (max-width: 720px) {
  .page-hero { padding: var(--space-9) 0 var(--space-7); }
}
.page-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter-d);
}
@media (max-width: 720px) {
  .page-hero-inner { padding: 0 var(--gutter-m); }
}
.page-hero .eyebrow-row { margin-bottom: var(--space-5); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--display-lg);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--hunter-green);
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 300;
}
.page-hero-intro {
  margin-top: var(--space-5);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  color: var(--sage);
}

/* ============================================================
   Hero (homepage only)
   Two variants — controlled by the .hero--cinematic / .hero--editorial
   classes applied via the Tweaks panel on the homepage.
   Default: cinematic (full-bleed photo, centred lockup).
   Alt:     editorial (split — pine flood + content left, photo right).
   ============================================================ */

.hero {
  position: relative;
  height: 92vh;
  min-height: 680px;
  max-height: 920px;
  overflow: hidden;
  color: var(--ivory);
  background: var(--pine);
}
@media (max-width: 720px) {
  .hero { height: auto; min-height: 0; max-height: none; padding-top: 0; }
}

/* Cinematic placeholder backdrop — moody, candlelit-feel until
   the user replaces with engagement photography. Layered tint
   over a subtle radial vignette. */
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-mystic-snow.jpg");
  background-size: cover;
  background-position: center 30%;
  background-color: #1a2820;
}
.hero-photo::after {
  /* Soft top-and-bottom inkwell shading to anchor type, plus
     a subtle warm tint to fight the cool blue of the snow shot
     so the brass + ivory still feel like they belong. */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(14, 24, 18, 0.45) 0%,
      rgba(14, 24, 18, 0.18) 28%,
      rgba(14, 24, 18, 0.18) 55%,
      rgba(14, 24, 18, 0.72) 100%),
    radial-gradient(140% 100% at 50% 70%, rgba(168, 136, 79, 0.16), transparent 55%);
}

.hero-photo-label {
  position: absolute;
  left: var(--gutter-d);
  bottom: var(--space-5);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.55);
  z-index: 2;
}
@media (max-width: 720px) { .hero-photo-label { left: var(--gutter-m); } }

.hero-monogram {
  position: absolute;
  top: var(--space-7);
  right: var(--gutter-d);
  z-index: 4;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(248, 244, 236, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--ivory);
}
.hero-monogram .amp {
  font-style: italic;
  color: var(--antique-brass);
  margin: 0 3px;
  font-weight: 400;
}
@media (max-width: 720px) {
  .hero-monogram {
    top: var(--space-5);
    right: var(--gutter-m);
    width: 56px;
    height: 56px;
    font-size: 16px;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--gutter-d);
}
@media (max-width: 720px) {
  .hero-content { padding: 25vh var(--gutter-m) 14vh; min-height: 100vh; }
}

.hero-eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.78);
  margin-bottom: var(--space-7);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--antique-brass);
}

.hero-names {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 9.5vw, 152px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
  /* Beat the global `h1 { color: var(--fg) }` from tokens.css. */
  color: var(--ivory);
}
.hero-names .amp {
  font-style: italic;
  font-weight: 300;
  color: var(--antique-brass);
  display: inline-block;
  padding: 0 0.06em;
}

.hero-meta {
  margin-top: var(--space-6);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.1vw, 26px);
  letter-spacing: 0.02em;
  color: var(--ivory);
  opacity: 0.92;
}
.hero-meta .sep {
  display: inline-block;
  margin: 0 0.6em;
  color: var(--antique-brass);
  font-style: normal;
}

/* Countdown — italic Seraphine label plus the big tabular number.
   Brass for the number so the accent reads warm against both the
   cinematic photo and the pine-green editorial flood. */
.hero-countdown {
  margin-top: var(--space-7);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  color: rgba(248, 244, 236, 0.85);
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
}
.hero-countdown .num {
  font-style: normal;
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -0.01em;
  color: var(--antique-brass);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-7);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(248, 244, 236, 0.7);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: none;
}
.hero-scroll-arrow {
  width: 22px;
  height: 32px;
  /* Same drift rhythm as before. Drop-shadow ties it visually to
     the gallery ribbons. */
  animation: scrollArrow 2.4s var(--ease) infinite;
  filter: drop-shadow(0 2px 4px rgba(20, 16, 12, 0.28));
  overflow: visible;
}
.hero-scroll-arrow .rib-body  { fill: var(--crimson); }
.hero-scroll-arrow .rib-fold  {
  fill: none;
  stroke: rgba(0, 0, 0, 0.20);
  stroke-width: 1;
}
.hero-scroll-arrow .rib-arrow {
  fill: none;
  stroke: var(--ivory);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes scrollArrow {
  0%, 100% { transform: translateY(-3px); opacity: 0.6; }
  50%      { transform: translateY(3px);  opacity: 1;   }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-arrow { animation: none; }
}
@media (max-width: 720px) { .hero-scroll { display: none; } }

/* ============================================================
   Hero variant — EDITORIAL (split layout)
   Pine green flood on the left half with all content stacked,
   image fills the right half. The hero-photo is the same image
   layer; we just stop it being absolutely positioned and put
   it in a grid cell.
   ============================================================ */

.hero--editorial {
  display: grid;
  /* minmax(0, 1fr) — not bare 1fr — forces a literal 50/50 split
     even when the content cell's min-content (nowrap names) wants
     to push the photo column smaller. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--pine);
  height: auto;
  min-height: 720px;
  max-height: 940px;
}
@media (max-width: 860px) {
  .hero--editorial {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 44vh) auto;
    min-height: 0;
    max-height: none;
  }
}

.hero--editorial .hero-photo {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
}
.hero--editorial .hero-photo::after {
  /* Lighter scrim — image gets to speak. Just a soft inset shadow
     down the left edge so it meets the green flood without a hard
     line. */
  background: linear-gradient(
    90deg,
    rgba(14, 24, 18, 0.22) 0%,
    rgba(14, 24, 18, 0.04) 12%,
    transparent 30%);
}
@media (max-width: 860px) {
  .hero--editorial .hero-photo {
    grid-column: 1;
    grid-row: 1;
  }
}

.hero--editorial .hero-photo-label {
  bottom: var(--space-3);
  left: var(--space-3);
  font-size: 10px;
}

/* ============================================================
   Editorial monogram — sits on the seam between the two halves,
   sized up so it reads as a wax-seal medallion. Ivory fill so
   the R+A pops against both the green flood and the photo.
   ============================================================ */

.hero--editorial .hero-monogram {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  width: 144px;
  height: 144px;
  border-color: var(--antique-brass);
  border-width: 1.5px;
  background: var(--ivory);
  color: var(--hunter-green);
  font-size: 40px;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(14, 24, 18, 0.28);
}
.hero--editorial .hero-monogram .amp {
  color: var(--antique-brass);
  margin: 0 4px;
}
@media (max-width: 860px) {
  /* On mobile the seam is horizontal — sit the medallion on the
     border between image (top) and content (below). */
  .hero--editorial .hero-monogram {
    top: calc(44vh);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    font-size: 28px;
  }
}

/* Re-layout the content cell as a left-aligned editorial block */
.hero--editorial .hero-content {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  /* Right padding clears the 144px seam medallion (72px intrusion + gap)
     so the names and date never run under it. */
  padding: var(--space-10) var(--space-9) var(--space-10) var(--space-8);
}
@media (max-width: 1100px) {
  .hero--editorial .hero-content { padding: var(--space-9) var(--space-9) var(--space-9) var(--space-6); }
}
@media (max-width: 860px) {
  .hero--editorial .hero-content {
    grid-column: 1;
    grid-row: 2;
    padding: var(--space-9) var(--gutter-m) var(--space-9);
    min-height: 0;
  }
}

/* Eyebrow loses the symmetric rules — leftward stripe only */
.hero--editorial .hero-eyebrow {
  margin-bottom: var(--space-6);
}
.hero--editorial .hero-eyebrow::after { display: none; }

/* Names — one line, never wrap. Sized to fit a true half-column;
   the upper clamp comes from the names' rendered width in the
   narrowest 50/50 viewport (~860px). */
.hero--editorial .hero-names {
  font-size: clamp(40px, 4.8vw, 92px);
  text-align: left;
  line-height: 0.95;
  white-space: nowrap;
}

/* Date meta — also one line. Smaller than cinematic so it fits. */
.hero--editorial .hero-meta {
  text-align: left;
  /* Wrap to a second line in the tight 2-column range rather than
     running under the seam medallion. */
  white-space: normal;
  font-size: clamp(14px, 1.4vw, 20px);
}

/* Below ~540px the half-column is too narrow even for the small
   size — let the date stack onto two lines and drop the brass dot
   so the punctuation looks clean. */
@media (max-width: 540px) {
  .hero--editorial .hero-names { white-space: normal; }
  .hero--editorial .hero-meta { white-space: normal; }
  .hero--editorial .hero-meta .sep { display: none; }
  .hero--editorial .hero-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
}

.hero--editorial .hero-countdown {
  padding-top: var(--space-5);
  margin-top: var(--space-7);
  border-top: 1px solid rgba(168, 136, 79, 0.35);
  width: 100%;
  max-width: 360px;
}

/* Scroll cue — center-bottom of the whole hero, sitting on the seam */
.hero--editorial .hero-scroll {
  position: absolute;
  bottom: var(--space-7);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(248, 244, 236, 0.78);
}
@media (max-width: 860px) {
  .hero--editorial .hero-scroll { display: none; }
}

/* ============================================================
   Our Story — chapter book
   ============================================================ */

.story {
  background: var(--ivory);
  /* Tighter tail before the teaser than the shared .section bottom padding */
  padding-bottom: var(--space-8);
}

.story-header {
  text-align: center;
  margin-bottom: var(--space-6);
}
.story-header .eyebrow-row { margin-bottom: var(--space-5); }
.story-header h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--display-lg);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--hunter-green);
}
.story-header h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--hunter-green);
}
.story-intro {
  max-width: 520px;
  margin: var(--space-5) auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  color: var(--sage);
}

/* Chapter — column-anchored, photos break out occasionally */
.chapter {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-8) 0;
  position: relative;
  /* Reveal in */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms var(--t-base), transform 700ms var(--t-base);
}
.chapter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chapter-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--antique-brass);
  letter-spacing: 0.02em;
}
.chapter-date {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: var(--space-2);
}
.chapter-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--hunter-green);
  margin-top: var(--space-5);
}
.chapter-title em { font-style: italic; }
.chapter-body {
  margin-top: var(--space-6);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pine);
}
.chapter-body p + p { margin-top: var(--space-4); }

.chapter-photo {
  margin-top: var(--space-7);
  position: relative;
}
.chapter-photo .placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
}
.chapter-photo--landscape .placeholder { aspect-ratio: 5 / 3; }
.chapter-photo-caption {
  margin-top: var(--space-3);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--sage);
  text-align: center;
}

/* Featured chapters break out of the column — full-bleed photo
   spanning the page, with text returning to the column below. */
.chapter--featured {
  max-width: none;
  padding: var(--space-9) 0;
}
.chapter--featured .chapter-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--gutter-d);
}
@media (max-width: 720px) {
  .chapter--featured .chapter-inner { padding: 0 var(--gutter-m); }
}
.chapter--featured .chapter-photo {
  width: 100%;
  margin: var(--space-8) 0 0;
}
.chapter--featured .chapter-photo .placeholder {
  aspect-ratio: 16 / 9;
}
.chapter--featured .chapter-title {
  font-size: clamp(40px, 5.5vw, 72px);
}

/* Chapter rule between sections */
.chapter-rule {
  border: 0;
  border-top: 1px solid var(--bone);
  max-width: 96px;
  margin: 0 auto;
}

/* ============================================================
   Placeholder photo — system component
   ============================================================ */

.placeholder {
  position: relative;
  width: 100%;
  background:
    radial-gradient(120% 70% at 30% 35%, rgba(168, 136, 79, 0.1), transparent 55%),
    linear-gradient(180deg, #243429 0%, #14211a 100%);
  border: 1px solid var(--bone);
  overflow: hidden;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(168, 136, 79, 0.35);
  pointer-events: none;
}

/* A placeholder that's had a real image dropped/applied. The image is
   set inline as a background; hide the FPO chrome and label. */
.placeholder.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.placeholder.has-image::before { display: none; }
.placeholder.has-image .placeholder-label { display: none; }
.placeholder-label {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  right: var(--space-5);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.7);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.placeholder-label .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(248, 244, 236, 0.5);
}
.placeholder--light {
  background: var(--mist);
  border-color: var(--bone);
}
.placeholder--light::before {
  border-color: rgba(53, 94, 59, 0.25);
}
.placeholder--light .placeholder-label { color: var(--sage); }
.placeholder--light .placeholder-label .tag { color: var(--sage); }

/* ============================================================
   Teaser blocks (Weekend, Mystic)
   ============================================================ */

.teaser {
  padding: var(--space-11) 0;
}
.teaser-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter-d);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}
@media (max-width: 860px) {
  .teaser-inner { grid-template-columns: 1fr; gap: var(--space-7); padding: 0 var(--gutter-m); }
}
.teaser--reverse .teaser-inner > :first-child { order: 2; }
@media (max-width: 860px) {
  .teaser--reverse .teaser-inner > :first-child { order: initial; }
}

.teaser-copy h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--hunter-green);
  margin-top: var(--space-5);
}
.teaser-copy h3 em { font-style: italic; }
.teaser-copy p {
  margin-top: var(--space-5);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--pine);
}
.teaser-cta {
  margin-top: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hunter-green);
  border: 0;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hunter-green);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.teaser-cta:hover { color: var(--crimson); border-bottom-color: var(--crimson); }
.teaser-cta svg { transition: transform var(--t-fast); }
.teaser-cta:hover svg { transform: translate(2px, -2px); }

.teaser-art .placeholder {
  aspect-ratio: 5 / 6;
}

.teaser--inverted {
  background: var(--pine);
  color: var(--ivory);
}
.teaser--inverted .eyebrow-row { color: var(--ivory); }
.teaser--inverted .eyebrow-row::before,
.teaser--inverted .eyebrow-row::after { background: var(--antique-brass); }
.teaser--inverted .teaser-copy h3 { color: var(--ivory); }
.teaser--inverted .teaser-copy p { color: rgba(248, 244, 236, 0.86); }
.teaser--inverted .teaser-cta {
  color: var(--ivory);
  border-bottom-color: rgba(248, 244, 236, 0.6);
}
.teaser--inverted .teaser-cta:hover { color: var(--antique-brass); border-bottom-color: var(--antique-brass); }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ivory);
  border-top: 1px solid var(--bone);
  padding: var(--space-11) 0 var(--space-8);
  text-align: center;
}
.footer-monogram {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  color: var(--antique-brass);
  letter-spacing: 0.02em;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  padding: var(--space-3);
  margin-bottom: var(--space-3);
  transition: transform var(--t-base);
}
.footer-monogram .amp {
  font-style: italic;
  font-weight: 400;
  margin: 0 4px;
}
.footer-monogram:hover { transform: translateY(-1px); }

.footer-date {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--hunter-green);
  letter-spacing: 0.04em;
}
.footer-date .sep {
  display: inline-block;
  margin: 0 0.5em;
  color: var(--antique-brass);
  font-style: normal;
}
.footer-line {
  margin-top: var(--space-7);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  color: var(--sage);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.footer-meta {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--bone);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}
.footer-meta a {
  color: var(--sage);
  text-decoration: none;
  border: 0;
}
.footer-meta a:hover { color: var(--crimson); }
@media (max-width: 720px) {
  .footer-meta { flex-direction: column; gap: var(--space-3); }
}

/* ============================================================
   Snowfall easter egg
   ============================================================ */

.snowfall {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}
.snowfall span {
  position: absolute;
  top: -10vh;
  width: 6px;
  height: 6px;
  background: rgba(248, 244, 236, 0.85);
  border-radius: 50%;
  animation: fall linear forwards;
  opacity: 0;
}
@keyframes fall {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(110vh) translateX(var(--drift, 24px)); }
}

/* ============================================================
   Scroll reveal — sections fade in on first view
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms var(--t-base), transform 700ms var(--t-base);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal],
  .chapter { opacity: 1; transform: none; }
}

/* ============================================================
   Gold shimmer — a slow glint across the brass ampersands + the
   countdown number, in the hero header AND the nav "R&A" lockup
   only. Original brass (#A8884F) base. Footer monogram + the
   site's fleurons stay solid. Falls back to solid brass under
   reduced-motion.
   ============================================================ */
.brand .amp,
.hero-names .amp,
.hero-countdown .num,
.hero-monogram .amp,
.hero--editorial .hero-monogram .amp,
.footer-monogram {
  background-image: linear-gradient(105deg,
    #A8884F 0%, #A8884F 34%, #ead7a8 47%, #fbf3da 50%, #ead7a8 53%, #A8884F 66%, #A8884F 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: ra-gold-shimmer 3.5s linear infinite;
}
@keyframes ra-gold-shimmer {
  0%   { background-position: 145% 0; }
  100% { background-position: -45% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .brand .amp,
  .hero-names .amp,
  .hero-countdown .num,
  .hero-monogram .amp,
  .hero--editorial .hero-monogram .amp,
  .footer-monogram {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--antique-brass);
    color: var(--antique-brass);
  }
}

/* ============================================================
   Secret-blur — for private values (e.g. a home address) we want
   visible-but-obscured on the public site. NOTE: cosmetic only —
   the real value is still in the page source. A future password
   page sets `is-unlocked` on <html> (persisted in localStorage) to
   reveal everything.
   ============================================================ */
.secret-blur {
  filter: blur(6px);
  -webkit-filter: blur(6px);
  user-select: none;
  cursor: default;
  transition: filter var(--t-base);
}
.is-unlocked .secret-blur {
  filter: none;
  -webkit-filter: none;
  user-select: auto;
}
