/* ============================================================
   FREDRIKA & ESKIL — XV · VIII · MMXXVI
   Editorial Nordic Romance
   ============================================================ */

:root {
  /* Paper — airy garden, slightly cooler */
  --paper:       #EDF3E8;
  --paper-deep:  #DEE8D2;
  --paper-soft:  #FBFDF8;

  /* Ink — soft charcoal, slight blue undertone */
  --ink:         #1F2A26;
  --ink-soft:    #4D5A53;
  --ink-mute:    #8C988F;
  --hairline:      rgba(31, 42, 38, 0.13);
  --hairline-soft: rgba(31, 42, 38, 0.06);

  /* Accents — green + Nordic blue */
  --sage:        #6F8468;
  --sage-deep:   #4F6852;
  --rose:        #6B8FA3;  /* primary romantic accent — soft Nordic blue */
  --rose-soft:   #C5D5DD;
  --gold:        #7A9098;  /* desaturated steel-sage for editorial chrome */
  --mist:        #C2D1BD;

  /* Focus ring — soft blue */
  --ring:        rgba(107, 143, 163, 0.35);

  /* Type */
  --serif-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --serif-body:    'Cormorant Garamond', Georgia, serif;
  --serif-thin:    'Italiana', 'Fraunces', Georgia, serif;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Garden atmosphere — soft green highlight + cool blue whisper */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 8%,  rgba(248, 252, 244, 0.65), transparent 55%),
    radial-gradient(ellipse at 88% 82%, rgba(210, 224, 232, 0.35), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(225, 238, 235, 0.30), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grain — soft green tint, tactile but calm */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12   0 0 0 0 0.16   0 0 0 0 0.12   0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Vignette — nearly invisible green-tinted edge */
.paper-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(ellipse at center, transparent 72%, rgba(30, 45, 30, 0.06) 100%);
}

/* Make real content sit above atmospheric layers */
.masthead, .nav-overlay, .hero, .section, .ornament, .site-footer, .scroll-progress {
  position: relative;
  z-index: 5;
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  z-index: 50;
  transition: width 0.08s linear;
}

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.4rem 2.2rem;
  z-index: 40;
  pointer-events: none;
}

.masthead > * { pointer-events: auto; }

.masthead-mark {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--serif-display);
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  color: var(--ink);
  font-weight: 500;
  font-variation-settings: 'SOFT' 60, 'WONK' 0;
}

.masthead-mark .mark-amp {
  font-style: italic;
  font-weight: 400;
  color: var(--rose);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  transform: translateY(1px);
}

.lang-toggle {
  justify-self: center;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  min-height: 44px;
  font-family: var(--serif-display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--ink);
  background: rgba(26, 31, 28, 0.03);
}

.lang-toggle .lang-active { color: var(--ink); font-weight: 600; }
.lang-toggle .lang-inactive { color: var(--ink-mute); }
.lang-toggle .lang-sep { color: var(--ink-mute); opacity: 0.6; }

.nav-toggle {
  justify-self: end;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.4rem;
  min-height: 44px;
  font-family: var(--serif-display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.nav-toggle:hover { color: var(--ink); }

.nav-toggle-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle-lines span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease), transform 0.4s var(--ease);
}
.nav-toggle-lines span:nth-child(1) { width: 100%; }
.nav-toggle-lines span:nth-child(2) { width: 60%; align-self: flex-end; }
.nav-toggle:hover .nav-toggle-lines span:nth-child(2) { width: 100%; }

/* ============================================================
   NAV OVERLAY
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--paper-deep);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0.55s;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.nav-close {
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-close:hover { background: rgba(26, 31, 28, 0.04); transform: rotate(90deg); }

.nav-eyebrow {
  font-family: var(--serif-display);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1.4rem;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  text-align: center;
}

.nav-list li {
  margin: 0.35rem 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.nav-overlay.active .nav-list li { opacity: 1; transform: none; }
.nav-overlay.active .nav-list li:nth-child(1) { transition-delay: 0.12s; }
.nav-overlay.active .nav-list li:nth-child(2) { transition-delay: 0.18s; }
.nav-overlay.active .nav-list li:nth-child(3) { transition-delay: 0.24s; }
.nav-overlay.active .nav-list li:nth-child(4) { transition-delay: 0.30s; }
.nav-overlay.active .nav-list li:nth-child(5) { transition-delay: 0.36s; }
.nav-overlay.active .nav-list li:nth-child(6) { transition-delay: 0.42s; }
.nav-overlay.active .nav-list li:nth-child(7) { transition-delay: 0.48s; }

.nav-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 1.1rem;
  font-family: var(--serif-display);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
  font-variation-settings: 'SOFT' 80, 'WONK' 1, 'opsz' 120;
  transition: color 0.3s var(--ease), letter-spacing 0.4s var(--ease);
}
.nav-list a:hover { color: var(--rose); letter-spacing: 0.01em; }

.nav-num {
  font-family: var(--serif-thin);
  font-size: 0.55em;
  font-style: normal;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  min-width: 2.2em;
  text-align: right;
}

.nav-date {
  font-family: var(--serif-display);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--ink-mute);
  margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto 1fr auto;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: auto auto 0;
  font-family: var(--serif-display);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0 1.2rem;
  animation: fade-rise 1.2s var(--ease) 0.2s both;
}
.eyebrow-rule {
  width: clamp(2.5rem, 10vw, 6rem);
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.hero-stage {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 2rem auto 1rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sprig {
  position: absolute;
  width: 90px;
  height: auto;
  color: var(--sage);
  opacity: 0;
  animation: sprig-grow 1.6s var(--ease) 0.9s forwards;
}
.sprig-tl { top: -1.5rem; left: 4vw; transform: rotate(-8deg); }
.sprig-br { bottom: -1.5rem; right: 4vw; transform: rotate(172deg); }

@keyframes sprig-grow {
  0% { opacity: 0; transform: rotate(var(--r, -8deg)) translateY(-10px); }
  100% { opacity: 1; transform: rotate(var(--r, -8deg)) translateY(0); }
}
.sprig-tl { --r: -8deg; }
.sprig-br { --r: 172deg; }

.hero-title {
  position: relative;
  margin: 0;
  font-family: var(--serif-display);
  font-weight: 300;
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: baseline;
  line-height: 0.95;
  width: 100%;
}

.hero-title .name {
  font-size: clamp(3.2rem, 13vw, 10rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 144;
  opacity: 0;
  animation: name-rise 1.3s var(--ease) 0.45s forwards;
}

.hero-title .name-one {
  text-align: right;
  font-style: normal;
  margin-right: clamp(0.4rem, 1.6vw, 1.4rem);
}

.hero-title .name-two {
  text-align: left;
  font-style: italic;
  font-variation-settings: 'SOFT' 90, 'WONK' 1, 'opsz' 144;
  margin-left: clamp(0.5rem, 2vw, 1.7rem);
  animation-delay: 0.65s;
}

.hero-title .amp {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4.5rem, 18vw, 14rem);
  color: var(--rose);
  line-height: 1;
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  opacity: 0;
  transform: scale(0.85) rotate(-4deg);
  transform-origin: center;
  animation: amp-bloom 1.4s var(--ease) 1.0s forwards;
}

@keyframes name-rise {
  0%   { opacity: 0; transform: translateY(1.2em); }
  100% { opacity: 1; }
}
.hero-title .name-one { animation-name: name-rise-up; }
.hero-title .name-two { animation-name: name-rise-down; }
@keyframes name-rise-up {
  0%   { opacity: 0; transform: translateY(1.2em); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes name-rise-down {
  0%   { opacity: 0; transform: translateY(-1.2em); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes amp-bloom {
  0%   { opacity: 0; transform: scale(0.85) rotate(-4deg); }
  60%  { opacity: 1; transform: scale(1.05) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.hero-meta {
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  animation: fade-rise 1.2s var(--ease) 1.5s both;
}
.hero-meta-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--serif-body);
}
.meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-family: var(--serif-display);
}
.meta-value {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--ink);
  font-family: var(--serif-display);
  font-variation-settings: 'SOFT' 70, 'WONK' 1, 'opsz' 14;
}
.hero-meta-divider {
  width: 80px;
  height: 8px;
  color: var(--ink-mute);
  opacity: 0.7;
}

.hero-romans {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin: 2.5rem auto 0;
  font-family: var(--serif-thin);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  animation: fade-rise 1.2s var(--ease) 1.7s both;
}
.romans-dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-0.2em);
}

.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  color: var(--ink-soft);
  margin: auto auto 0;
  font-family: var(--serif-display);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  animation: fade-rise 1.2s var(--ease) 1.9s both;
}
.scroll-word { opacity: 0.8; }
.scroll-chevron {
  width: 18px;
  height: auto;
  opacity: 0.7;
  animation: scroll-nudge 2.6s var(--ease) infinite;
}
@keyframes scroll-nudge {
  0%, 100% { transform: translateY(0);   opacity: 0.55; }
  50%      { transform: translateY(6px); opacity: 1; }
}

@keyframes fade-rise {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section {
  padding: 9rem 1.5rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.section-num {
  display: none;
}
.nav-num,
.acc-num {
  display: none;
}

.section-title {
  margin: 0;
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1;
  color: var(--ink);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 0.3em;
  justify-content: center;
  font-variation-settings: 'SOFT' 60, 'WONK' 0, 'opsz' 120;
}
.title-italic {
  font-style: italic;
  color: var(--rose);
  font-weight: 300;
  font-variation-settings: 'SOFT' 95, 'WONK' 1, 'opsz' 144;
}
.title-roman {
  font-style: normal;
}

.section-kicker {
  margin: 0;
  font-family: var(--serif-display);
  font-size: 0.7rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   LETTER — personal welcome note (editorial)
   ============================================================ */
.letter {
  padding: 3.5rem 1.5rem 5rem;
  max-width: 720px;
  margin: 0 auto;
}

.letter-frame {
  text-align: center;
  position: relative;
}

/* Top crest — circular monogram with rose ampersand */
.letter-crest {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 3.4rem;
  color: var(--rose);
  opacity: 0.9;
}

/* Lead — italic Fraunces, biggest in the letter, opens like a warm welcome */
.letter-lead {
  margin: 0 auto 2.4rem;
  max-width: 28em;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: 0.005em;
  font-variation-settings: 'SOFT' 95, 'WONK' 1, 'opsz' 60;
}

/* Body paragraphs — italic Fraunces, lighter weight, calmer */
.letter-para {
  margin: 0 auto 1.6rem;
  max-width: 32em;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  color: var(--ink-soft);
  font-variation-settings: 'SOFT' 92, 'WONK' 1, 'opsz' 24;
}
.letter-para a {
  color: var(--rose);
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 143, 163, 0.4);
  padding-bottom: 1px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.letter-para a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Closing — italic display, sits between body and signature */
.letter-closing {
  margin: 2.6rem auto 3.2rem;
  max-width: 28em;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
  font-variation-settings: 'SOFT' 95, 'WONK' 1, 'opsz' 36;
}

/* Sign-off block — flush, three pieces */
.letter-signoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.signoff-label {
  margin: 0;
  font-family: var(--serif-display);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 14;
}

.signoff-names {
  margin: 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  color: var(--ink);
  letter-spacing: 0.005em;
  line-height: 1;
  font-variation-settings: 'SOFT' 95, 'WONK' 1, 'opsz' 144;
}
.signoff-names em {
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--rose);
  margin: 0 0.18em;
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
}

/* Hand-drawn flourish under the names */
.signoff-flourish {
  display: block;
  width: clamp(180px, 26vw, 240px);
  height: 14px;
  margin-top: 0.6rem;
  color: var(--rose);
  opacity: 0.55;
}

/* ============================================================
   MEMORIES — POLAROID SCATTER
   ============================================================ */
.polaroid-scatter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.6rem 1.8rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.6rem 0.5rem 3rem;
  perspective: 1200px;
}

.polaroid {
  position: relative;
  margin: 0;
  background: #FCFBF3;
  padding: 0.7rem 0.7rem 2.6rem;
  box-shadow:
    0 1px 1px rgba(31, 42, 38, 0.08),
    0 14px 28px -14px rgba(31, 42, 38, 0.32),
    0 4px 10px -6px rgba(31, 42, 38, 0.18);
  transition:
    transform 0.7s var(--ease),
    box-shadow 0.7s var(--ease);
  cursor: default;
  will-change: transform;
}

/* Each polaroid gets its own tilt + offset for the scatter feel */
.polaroid:nth-child(1) { transform: rotate(-5deg)   translateY(10px); }
.polaroid:nth-child(2) { transform: rotate(3deg)    translateY(-6px); }
.polaroid:nth-child(3) { transform: rotate(-2.5deg) translateY(14px); }
.polaroid:nth-child(4) { transform: rotate(6deg)    translateY(-2px); }
.polaroid:nth-child(5) { transform: rotate(-4deg)   translateY(8px); }
.polaroid:nth-child(6) { transform: rotate(2.5deg)  translateY(-8px); }
.polaroid:nth-child(7) { transform: rotate(-3.5deg) translateY(12px); }
.polaroid:nth-child(8) { transform: rotate(5deg)    translateY(0); }
.polaroid:nth-child(9) { transform: rotate(-1.5deg) translateY(6px); }

.polaroid:hover {
  transform: rotate(0) translateY(-12px) scale(1.05);
  box-shadow:
    0 1px 1px rgba(31, 42, 38, 0.08),
    0 30px 56px -16px rgba(31, 42, 38, 0.42),
    0 12px 22px -8px rgba(31, 42, 38, 0.24);
  z-index: 10;
}

.polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-deep);
  filter: saturate(0.92) contrast(1.02);
  transition: filter 0.6s var(--ease);
}
.polaroid:hover img { filter: saturate(1) contrast(1.04); }

/* Soft yellow tape strip — only on a few polaroids, varied placement */
.polaroid::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 14px;
  background: linear-gradient(180deg, rgba(255, 245, 200, 0.55), rgba(245, 230, 175, 0.45));
  box-shadow: 0 1px 2px rgba(31, 42, 38, 0.1);
  pointer-events: none;
  opacity: 0;
}
.polaroid:nth-child(2)::before {
  opacity: 0.95;
  top: -6px;
  left: 18%;
  transform: rotate(-22deg);
}
.polaroid:nth-child(5)::before {
  opacity: 0.95;
  top: -7px;
  right: 14%;
  transform: rotate(18deg);
}
.polaroid:nth-child(8)::before {
  opacity: 0.95;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
}

/* Memories section — slightly different rhythm */
.memories { padding-bottom: 4rem; }

@media (max-width: 1000px) {
  .polaroid-scatter {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem 1.4rem;
  }
}

@media (max-width: 720px) {
  .polaroid-scatter {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem 1.1rem;
    padding: 1rem 0.2rem 2rem;
  }
  .polaroid { padding: 0.55rem 0.55rem 1.9rem; }
  /* Calmer tilts on small screens — the rotations stack visually */
  .polaroid:nth-child(odd)  { transform: rotate(-2.5deg); }
  .polaroid:nth-child(even) { transform: rotate(2.5deg); }
  .polaroid:nth-child(3n)   { transform: rotate(-1deg); }
  .polaroid:hover {
    transform: rotate(0) translateY(-6px) scale(1.03);
  }
}

/* ============================================================
   ORNAMENTAL DIVIDER
   ============================================================ */
.ornament {
  max-width: 240px;
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--sage);
  opacity: 0.7;
}
.ornament svg { display: block; width: 100%; height: auto; }

/* ============================================================
   STORY
   ============================================================ */
.story-body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.story-lead {
  font-family: var(--serif-body);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 3rem;
  font-weight: 400;
}

/* Drop cap on the first letter */
.story-lead::first-letter {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 4.6em;
  line-height: 0.82;
  float: left;
  padding: 0.08em 0.14em 0 0;
  color: var(--rose);
  font-weight: 400;
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
}

.story-pullquote {
  margin: 3rem auto 3.5rem;
  padding: 0 1rem;
  border: none;
  position: relative;
}
.story-pullquote p {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  font-weight: 300;
  font-variation-settings: 'SOFT' 95, 'WONK' 1, 'opsz' 90;
}
.story-pullquote::before,
.story-pullquote::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}
.story-pullquote::after { margin: 1.5rem auto 0; }

.timeline {
  margin: 3.5rem auto 0;
}
.timeline ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.timeline li {
  display: grid;
  grid-template-columns: 5rem 1fr 1fr;
  align-items: baseline;
  gap: 1.2rem;
  text-align: left;
  padding: 0.4rem 0;
}
.timeline-year {
  font-family: var(--serif-thin);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.timeline-rule {
  height: 1px;
  background: var(--ink-mute);
  opacity: 0.3;
  transform: translateY(-0.25em);
}
.timeline-label {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  font-variation-settings: 'SOFT' 95, 'WONK' 1, 'opsz' 20;
}
.timeline-final .timeline-year { color: var(--rose); }
.timeline-final .timeline-label { color: var(--rose); }

/* ============================================================
   DETAILS
   ============================================================ */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.detail-card {
  position: relative;
  padding: 3rem 2.2rem 3.2rem;
  background: var(--paper-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: 3px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(26, 31, 28, 0.02), 0 16px 36px -28px rgba(26, 31, 28, 0.18);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.detail-card:hover {
  transform: translateY(-5px);
  border-color: var(--hairline);
  box-shadow: 0 1px 0 rgba(26, 31, 28, 0.04), 0 30px 54px -24px rgba(26, 31, 28, 0.22);
}
.detail-card-alt {
  background: linear-gradient(180deg, var(--paper-soft) 0%, #ECF1EE 100%);
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 0.6rem; bottom: 0.6rem;
  left: 0.6rem; right: 0.6rem;
  border: 1px solid var(--hairline-soft);
  pointer-events: none;
}

.detail-num {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
  font-family: var(--serif-thin);
  color: var(--gold);
  margin-bottom: 1.4rem;
  line-height: 1;
}
.num-small {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  transform: translateY(-0.6em);
}
.num-big {
  font-size: clamp(3rem, 7vw, 4.6rem);
  letter-spacing: 0.04em;
}

.detail-kicker {
  margin: 0 0 0.6rem;
  font-family: var(--serif-display);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.detail-place {
  margin: 0 0 0.4rem;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  font-variation-settings: 'SOFT' 90, 'WONK' 1, 'opsz' 60;
}

.detail-address {
  margin: 0 0 1.6rem;
  font-size: 1rem;
  color: var(--ink-soft);
  font-style: italic;
}

.detail-hour {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
}
.hour-label {
  font-family: var(--serif-display);
  font-size: 0.68rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hour-value {
  font-family: var(--serif-thin);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  letter-spacing: 0.08em;
  color: var(--ink);
}

/* Text variant — for "Efter vigseln" style phrases instead of times */
.detail-hour-text {
  border-top: 1px solid var(--hairline);
  padding-top: 1.2rem;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.hour-text {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--ink);
  letter-spacing: 0.01em;
  font-variation-settings: 'SOFT' 95, 'WONK' 1, 'opsz' 36;
}
.hour-end {
  font-family: var(--serif-display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 14;
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 6rem 4rem 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--hairline-soft);
  transition: padding 0.5s var(--ease);
}
.schedule-row:first-child { border-top: 1px solid var(--hairline-soft); }
.schedule-row:hover { padding-left: 0.6rem; }

.row-time {
  font-family: var(--serif-thin);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
}

.row-rule {
  height: 1px;
  background: var(--ink-mute);
  opacity: 0.35;
  align-self: center;
  transform-origin: left;
  transition: transform 0.6s var(--ease), background 0.6s var(--ease);
}
.schedule-row:hover .row-rule {
  background: var(--rose);
  transform: scaleX(1.08);
}

.row-body h3 {
  margin: 0 0 0.2rem;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  color: var(--ink);
  font-variation-settings: 'SOFT' 85, 'WONK' 1, 'opsz' 40;
}
.row-body p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.schedule-row-final .row-time { color: var(--rose); }
.schedule-row-final .row-body h3 { color: var(--rose); }

/* ============================================================
   RSVP FORM
   ============================================================ */
.rsvp-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3.2rem 2.8rem 3.4rem;
  background: var(--paper-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(31, 42, 38, 0.02),
    0 30px 60px -36px rgba(31, 42, 38, 0.18);
  position: relative;
}

/* Decorative corner ticks — soft blue, larger, only top corners (letterpress) */
.rsvp-form::before,
.rsvp-form::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--rose);
  opacity: 0.4;
}
.rsvp-form::before { top: 16px; left: 16px;  border-right: none; border-bottom: none; }
.rsvp-form::after  { top: 16px; right: 16px; border-left:  none; border-bottom: none; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border: none;
  padding: 0;
  margin: 0;
}

.field label,
.field legend {
  font-family: var(--serif-display);
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0;
  margin-bottom: 0.15rem;
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  font-family: var(--serif-body);
  font-size: 1.15rem;
  color: var(--ink);
  padding: 0.55rem 0.2rem;
  outline: none;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  resize: vertical;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-mute);
  opacity: 0.6;
  font-style: italic;
}
.field input:hover,
.field textarea:hover {
  border-color: var(--ink-mute);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 1px 0 0 var(--gold);
}

.field-choice legend {
  margin-bottom: 0.8rem;
}

.choice-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05rem 1.4rem;
  min-height: 56px;
  border: 1px solid color-mix(in oklab, var(--sage) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in oklab, var(--paper-soft) 60%, var(--sage) 6%);
  cursor: pointer;
  transition:
    border-color 0.4s var(--ease),
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
  font-family: var(--serif-display);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}
.choice::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.choice:hover {
  border-color: var(--sage);
  background: color-mix(in oklab, var(--paper-soft) 50%, var(--sage) 10%);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-mark { display: none; }
.choice:has(input:checked) {
  background: var(--sage-deep);
  color: var(--paper-soft);
  border-color: var(--sage-deep);
  box-shadow: 0 6px 20px -10px rgba(79, 104, 82, 0.55);
}
.choice:has(input:checked)::before {
  background: var(--paper-soft);
  border-color: var(--paper-soft);
}
.choice:has(input:focus-visible) {
  box-shadow: 0 0 0 3px var(--ring);
}

.choice-label {
  font-style: normal;
  letter-spacing: 0.32em;
}

.btn-submit {
  align-self: center;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--rose);
  color: var(--paper-soft);
  border: 1px solid var(--rose);
  border-radius: 999px;
  padding: 1.05rem 2.4rem;
  font-family: var(--serif-display);
  font-size: 0.74rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.5s var(--ease),
    color 0.5s var(--ease),
    letter-spacing 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    transform 0.5s var(--ease);
  box-shadow: 0 8px 22px -10px rgba(107, 143, 163, 0.55);
}
.btn-submit:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--paper-soft);
  letter-spacing: 0.42em;
  box-shadow: 0 10px 26px -10px rgba(79, 104, 82, 0.55);
}
.btn-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring), 0 8px 22px -10px rgba(107, 143, 163, 0.45);
}
.btn-submit:active { transform: translateY(1px); }
.btn-arrow { transition: transform 0.4s var(--ease); display: inline-block; }
.btn-submit:hover .btn-arrow { transform: translateX(6px); }

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion {
  max-width: 820px;
  margin: 0 auto;
}
.accordion-item {
  border-top: 1px solid var(--hairline);
}
.accordion-item:last-child { border-bottom: 1px solid var(--hairline); }

.accordion-header {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 0.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif-display);
  transition: padding 0.4s var(--ease);
}
.accordion-header:hover { padding-left: 0.8rem; }

.acc-num {
  font-family: var(--serif-thin);
  font-size: 1rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.acc-label {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--ink);
  font-variation-settings: 'SOFT' 90, 'WONK' 1, 'opsz' 40;
}

.acc-mark {
  position: relative;
  width: 20px;
  height: 20px;
  color: var(--ink-soft);
}
.acc-mark::before,
.acc-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}
.acc-mark::before {
  top: 9.5px; left: 0; width: 20px; height: 1px;
}
.acc-mark::after {
  left: 9.5px; top: 0; width: 1px; height: 20px;
}
.accordion-item.active .acc-mark::after {
  transform: rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease);
}
.accordion-body > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease) 0.1s, transform 0.6s var(--ease) 0.1s;
}
.accordion-item.active .accordion-body { max-height: 2400px; }
.accordion-item.active .accordion-body > * {
  opacity: 1;
  transform: none;
}

.accordion-body p {
  margin: 0 0 1rem;
  padding: 0 0 0 3.5rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 62ch;
}
.accordion-body > :first-child { padding-top: 0.4rem; }
.accordion-body > :last-child { padding-bottom: 1.8rem; margin-bottom: 0; }

.accent-line {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
  color: var(--ink) !important;
  font-variation-settings: 'SOFT' 90, 'WONK' 1, 'opsz' 20;
}

.accent-contact a {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--rose);
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 143, 163, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.accent-contact a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Dress code numbered list */
.dress-list {
  list-style: none;
  margin: 1.6rem 0 1.4rem;
  padding: 0 0 0 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 62ch;
}
.dress-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.1rem;
  align-items: baseline;
}
.dress-num {
  font-family: var(--serif-thin);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--rose);
  line-height: 1;
}
.dress-body h4 {
  margin: 0 0 0.35rem;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  font-variation-settings: 'SOFT' 95, 'WONK' 1, 'opsz' 36;
}
.dress-body p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Personal intro line above the formal description */
.dress-intro {
  font-style: italic !important;
  color: var(--ink-soft) !important;
  font-variation-settings: 'SOFT' 90, 'WONK' 1, 'opsz' 14;
}

/* Personal contextual note inside a dress-list item */
.dress-note {
  margin-top: 0.5rem !important;
  font-family: var(--serif-display) !important;
  font-style: italic !important;
  color: var(--ink) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  font-variation-settings: 'SOFT' 95, 'WONK' 1, 'opsz' 18;
}

/* Source attribution under the dress code */
.dress-source {
  margin: 2.4rem 0 0 !important;
  padding: 1.4rem 0 0 3.5rem !important;
  border-top: 1px solid var(--hairline-soft);
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 0.85rem !important;
  color: var(--ink-mute) !important;
  letter-spacing: 0.02em;
  font-variation-settings: 'SOFT' 80, 'WONK' 1, 'opsz' 14;
}
.dress-source a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.dress-source a:hover {
  color: var(--rose);
  border-color: var(--rose);
}

@media (max-width: 820px) {
  .dress-source { padding-left: 2.4rem !important; }
}

/* Subsection titles inside dress code */
.dress-section-title {
  margin: 2.4rem 0 0.8rem !important;
  padding: 0 0 0 3.5rem !important;
  font-family: var(--serif-display);
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rose);
  font-variation-settings: 'SOFT' 50, 'WONK' 0, 'opsz' 14;
}
.dress-section-title:first-of-type { margin-top: 1.2rem !important; }

@media (max-width: 820px) {
  .dress-list { padding-left: 2.4rem; }
  .dress-section-title { padding-left: 2.4rem !important; }
}

/* ============================================================
   GIFTS
   ============================================================ */
.gifts-body {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.gifts-text {
  margin: 0;
  font-family: var(--serif-body);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.8;
  color: var(--ink-soft);
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  margin-top: 3rem;
  border-top: 1px solid var(--hairline-soft);
  color: var(--ink);
}
.footer-ornament {
  width: 260px;
  height: auto;
  margin: 0 auto 2.2rem;
  display: block;
  color: var(--sage);
}
.footer-names {
  margin: 0 0 0.8rem;
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.01em;
  font-variation-settings: 'SOFT' 60, 'WONK' 0, 'opsz' 120;
}
.footer-names em {
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--rose);
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  margin: 0 0.1em;
}
.footer-date {
  margin: 0 0 0.4rem;
  font-family: var(--serif-display);
  font-size: 0.72rem;
  letter-spacing: 0.44em;
  color: var(--ink-mute);
}
.footer-place {
  margin: 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .masthead { padding: 1rem 1.2rem; }
  .masthead-mark { font-size: 0.92rem; }
  .nav-toggle-label { display: none; }

  .hero { padding: 5rem 1.2rem 2.5rem; }
  .sprig { width: 58px; }
  .sprig-tl { top: -0.6rem; left: 2vw; }
  .sprig-br { bottom: -0.6rem; right: 2vw; }

  .hero-title {
    flex-direction: column;
    align-items: center;
    line-height: 1;
    gap: 0.08em;
  }
  .hero-title .name-one,
  .hero-title .name-two {
    text-align: center;
    margin: 0;
    transform: none;
    line-height: 1;
  }
  .hero-title .name-one { animation-name: name-rise-center; }
  .hero-title .name-two { animation-name: name-rise-center-2; animation-delay: 0.8s; }
  @keyframes name-rise-center {
    0% { opacity: 0; transform: translateY(0.6em); }
    100% { opacity: 1; transform: none; }
  }
  @keyframes name-rise-center-2 {
    0% { opacity: 0; transform: translateY(0.6em); }
    100% { opacity: 1; transform: none; }
  }
  .hero-title .amp {
    font-size: clamp(3.8rem, 18vw, 6rem);
    margin: 0;
    line-height: 0.85;
    padding: 0.05em 0;
  }

  .section { padding: 6rem 1.2rem 3.5rem; }
  .section-head { margin-bottom: 3rem; }

  .details-grid { grid-template-columns: 1fr; }

  .schedule-row {
    grid-template-columns: 4.2rem 1.6rem 1fr;
    gap: 0.9rem;
    padding: 1.4rem 0;
  }
  .timeline li {
    grid-template-columns: 4rem 1fr 1fr;
    gap: 0.8rem;
  }

  .accordion-header { grid-template-columns: 1fr auto; }
  .accordion-body p { padding-left: 2.4rem; }
}

@media (max-width: 720px) {
  .rsvp-form { padding: 2.2rem 1.6rem 2.4rem; }
  .choice-group { grid-template-columns: 1fr; }
  .btn-submit { align-self: stretch; justify-content: center; }
}

@media (max-width: 500px) {
  .hero-romans { gap: 1rem; font-size: 1.2rem; }
  .polaroid-scatter {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    max-width: 320px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

