/* ==========================================================================
   Template #1 — LOVER’S DIARY (Élodie Laurent & Gabriel Moreau · Paris)
   Inspired by the 4 tactile scrapbook, Polaroid, stamp & lined-diary references
   ========================================================================== */

:root {
  --paper: #f3f0e8;
  --paper-warm: #ede8dc;
  --paper-card: #fbf9f4;
  --ink: #1e1b18;
  --ink-soft: #4a433d;
  --muted: #786f66;
  --burgundy: #7b231f;
  --burgundy-deep: #5e1714;
  --crimson-tape: #c81912;
  --red-ink: #a11b17;
  --gold-light: #f0d78c;
  --gold-mid: #c79c3e;
  --gold-dark: #7d5b18;
  --rule-line: rgba(140, 152, 168, 0.28);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-typewriter: 'Courier Prime', 'Courier New', monospace;
  --font-hand: 'Caveat', cursive;
  --font-script: 'Homemade Apple', cursive;
  --font-calligraphy: 'Imperial Script', cursive;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(123, 35, 31, 0.03) 1px, transparent 0),
    radial-gradient(rgba(30, 27, 24, 0.025) 1px, transparent 0);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Subtle paper grain overlay */
.paper-texture {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
}

body.is-locked {
  overflow: hidden;
  height: 100vh;
}

body.is-locked .diary-main {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  pointer-events: none;
}

.diary-main {
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   OPENING COVER GATE — LOVER’S DIARY BOOK COVER & WAX SEAL
   ========================================================================== */
.diary-cover-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  overflow-y: auto;
  perspective: 1800px;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s;
}

.diary-cover-gate.is-opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Blurred B&W Parisian backdrop behind the diary cover */
.cover-gate-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at center, rgba(28, 22, 19, 0.42) 0%, rgba(16, 12, 10, 0.82) 100%),
    url('images/photo_2026-10-21_18-13-29 (2).jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.06);
  transform: scale(1.04);
}

.cover-book-stage {
  position: relative;
  width: min(100%, 440px);
  margin: auto;
  transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease;
}

.diary-cover-gate.is-opening .cover-book-stage {
  transform: rotateY(-28deg) translateY(-14px) scale(1.04);
  opacity: 0;
}

/* Lined spiral-notebook sheet peeking out from behind the burgundy diary cover */
.cover-lined-sheet {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 92%;
  height: 96%;
  z-index: 1;
  padding: 18px 22px 18px 42px;
  background-color: #f6f2e8;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 27px,
    rgba(130, 142, 158, 0.28) 28px
  );
  border-radius: 4px 16px 16px 4px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  transform: rotate(3.8deg);
  pointer-events: none;
}

.cover-spiral-holes {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 10px;
  width: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cover-spiral-holes span {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: rgba(30, 27, 24, 0.72);
}

.cover-marginalia-note {
  margin: 0;
  text-align: right;
  font-family: var(--font-hand);
  font-size: 19px;
  color: #4a433d;
}

/* Main Burgundy Leather-Textured Diary Cover (#7b231f) */
.cover-burgundy-board {
  position: relative;
  z-index: 2;
  padding: clamp(18px, 3.5vw, 26px);
  background:
    radial-gradient(circle at 25% 18%, rgba(162, 52, 46, 0.34) 0%, transparent 58%),
    linear-gradient(145deg, #832622 0%, #6d1d19 54%, #561411 100%);
  border-radius: 6px 16px 16px 6px;
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.58),
    inset 0 1px 1px rgba(255, 236, 209, 0.22);
  transform-origin: left center;
}

/* Bookbinding stitched spine along the left edge */
.cover-spine-stitch {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 12px;
  width: 4px;
  border-left: 1.5px dashed rgba(240, 215, 140, 0.38);
  pointer-events: none;
}

/* Black Metal Binder Clip on the left spine */
.cover-binder-clip {
  position: absolute;
  left: -30px;
  top: 34px;
  width: 96px;
  height: 68px;
  z-index: 6;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

/* Inner gold-foiled border frame */
.cover-gold-frame {
  position: relative;
  padding: clamp(20px, 3.5vw, 28px) clamp(16px, 3vw, 24px) clamp(22px, 3.5vw, 28px);
  border: 1px solid rgba(240, 215, 140, 0.42);
  outline: 1px solid rgba(240, 215, 140, 0.18);
  outline-offset: -5px;
  text-align: center;
  color: #f9f4eb;
}

.cover-kicker {
  margin: 0 0 4px;
  font-family: var(--font-typewriter);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 226, 178, 0.88);
}

.cover-diary-title {
  margin: 0 0 16px;
  font-family: var(--font-calligraphy);
  font-size: clamp(46px, 8vw, 60px);
  font-weight: 400;
  line-height: 1.02;
  color: #f8e7be;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}

/* Center Polaroid + Mini Postage Stamp Cluster */
.cover-polaroid-cluster {
  position: relative;
  width: min(84%, 256px);
  margin: 0 auto 18px;
}

.cover-polaroid-card {
  position: relative;
  margin: 0;
  padding: 11px 11px 38px;
  background: #fbf9f4;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  transform: rotate(-3.2deg);
}

.cover-crimson-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(3.5deg);
  width: 82px;
  height: 24px;
  background: linear-gradient(115deg, #d81e15 0%, #c4160e 46%, #ef3b31 48%, #b8140d 52%, #cf1b12 100%);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.28);
  clip-path: polygon(2% 4%, 98% 0%, 100% 94%, 49% 100%, 0% 92%);
  z-index: 3;
}

.cover-brass-pin {
  position: absolute;
  top: -8px;
  right: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4c2 0%, #dfb856 42%, #9a701c 85%, #65460b 100%);
  border: 1px solid #f7e3a3;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
  z-index: 4;
}

.cover-polaroid-img-wrap {
  overflow: hidden;
  background: #181615;
}

.cover-polaroid-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  display: block;
}

.cover-polaroid-caption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  font-family: var(--font-hand);
  font-size: 20px;
  font-weight: 600;
  color: #1c1917;
  line-height: 1.1;
}

/* Mini Perforated Postage Stamp on bottom-right of cover Polaroid */
.cover-mini-stamp {
  position: absolute;
  right: -22px;
  bottom: -10px;
  width: 78px;
  padding: 6px;
  background: #faf8f3;
  -webkit-mask-image:
    linear-gradient(#000 0 0),
    radial-gradient(circle at 5px 5px, transparent 3px, #000 3.5px);
  -webkit-mask-origin: content-box, border-box;
  -webkit-mask-clip: content-box, border-box;
  -webkit-mask-position: 0 0, -5px -5px;
  -webkit-mask-size: 100% 100%, 10px 10px;
  -webkit-mask-repeat: no-repeat, repeat;
  mask-image:
    linear-gradient(#000 0 0),
    radial-gradient(circle at 5px 5px, transparent 3px, #000 3.5px);
  mask-origin: content-box, border-box;
  mask-clip: content-box, border-box;
  mask-position: 0 0, -5px -5px;
  mask-size: 100% 100%, 10px 10px;
  mask-repeat: no-repeat, repeat;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.36));
  transform: rotate(8.5deg);
  z-index: 5;
}

.cover-mini-stamp-inner {
  border: 1px solid rgba(30, 27, 24, 0.16);
  padding: 3px;
  background: #ffffff;
}

.cover-mini-stamp-inner img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
}

.cover-mini-stamp-inner span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-typewriter);
  font-size: 9px;
  font-weight: 700;
  color: #2c2825;
}

/* Typewriter strip with venue & date */
.cover-typewriter-strip {
  margin: 0 auto 18px;
  padding: 10px 14px;
  background: rgba(251, 249, 244, 0.95);
  color: var(--ink);
  border-left: 3px solid var(--gold-mid);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.cover-venue-line {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--burgundy);
}

.cover-date-line {
  margin: 0;
  font-family: var(--font-typewriter);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

/* Interactive Gold Wax Seal & Open Invitation CTA Button */
.cover-open-btn {
  position: relative;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid rgba(240, 215, 140, 0.65);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(42, 11, 9, 0.72) 0%, rgba(28, 7, 6, 0.88) 100%);
  color: #fbf5e6;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cover-open-btn:hover {
  transform: translateY(-2px);
  border-color: #f8e7be;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48), 0 0 20px rgba(223, 180, 83, 0.25);
}

.cover-wax-seal-wrap {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  animation: seal-pulse 2.4s infinite ease-in-out;
}

@keyframes seal-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.07) rotate(3deg); }
}

.cover-wax-seal-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cover-open-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cover-open-text strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff6df;
}

.cover-open-text small {
  font-family: var(--font-typewriter);
  font-size: 10.5px;
  color: rgba(248, 231, 190, 0.82);
}

/* Top navigation bar */
.diary-topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(243, 240, 232, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 27, 24, 0.1);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.diary-topbar-brand {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.diary-topbar-center {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.32em;
}

.diary-topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.diary-topbar-links a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.diary-topbar-links a:hover {
  color: var(--burgundy);
  border-color: var(--burgundy);
}

/* Floating Audio Button — Delicate Circular Vintage Medallion on Right */
.diary-audio-fab {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 38;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(123, 35, 31, 0.42);
  background: radial-gradient(circle at 32% 28%, #fdfbf6 0%, #f3ede0 100%);
  box-shadow:
    0 6px 18px rgba(30, 27, 24, 0.16),
    inset 0 0 0 2px rgba(199, 156, 62, 0.28);
  color: var(--burgundy);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.diary-audio-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 10px 22px rgba(30, 27, 24, 0.22),
    inset 0 0 0 2px rgba(199, 156, 62, 0.5);
}

.diary-audio-fab.is-playing {
  background: radial-gradient(circle at 32% 28%, #8f2a25 0%, #681a17 100%);
  border-color: rgba(240, 215, 140, 0.75);
  color: #fbf3dc;
  box-shadow:
    0 8px 20px rgba(94, 23, 20, 0.32),
    inset 0 0 0 1.5px rgba(240, 215, 140, 0.42);
}

.diary-audio-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(199, 156, 62, 0.45);
  opacity: 0;
  pointer-events: none;
}

.diary-audio-fab.is-playing .diary-audio-ring {
  animation: diary-audio-pulse 2.2s infinite ease-out;
}

.diary-audio-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.diary-audio-fab.is-playing .diary-audio-icon {
  animation: diary-vinyl-spin 7.5s linear infinite;
}

.diary-audio-mute-slash {
  transition: opacity 0.2s ease;
  opacity: 0.85;
}

.diary-audio-fab.is-playing .diary-audio-mute-slash {
  opacity: 0;
}

.diary-audio-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes diary-vinyl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes diary-audio-pulse {
  0% { transform: scale(0.92); opacity: 0.65; }
  100% { transform: scale(1.26); opacity: 0; }
}

/* Main Wrapper */
.diary-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 32px) 96px;
}

/* ==========================================================================
   SPREAD 1 — THE "WHO / WHERE / WHEN" POLAROID TRIO (Reference Image 3)
   ========================================================================== */
.spread-polaroid-trio {
  position: relative;
  margin: 28px auto 88px;
  padding: clamp(32px, 5vw, 60px) clamp(18px, 4.5vw, 54px) clamp(44px, 6vw, 68px);
  background: #ffffff;
  border: 1px solid rgba(30, 27, 24, 0.08);
  box-shadow: 0 22px 60px rgba(30, 27, 24, 0.06);
}

.trio-brand-header {
  margin: 0 0 clamp(28px, 4.5vw, 48px);
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.6vw, 17px);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
}

.trio-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: 24px;
  align-items: start;
}

/* Authentic White Polaroid Card */
.polaroid-white {
  position: relative;
  padding: clamp(12px, 1.8vw, 18px) clamp(12px, 1.8vw, 18px) clamp(44px, 5.6vw, 64px);
  background:
    radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 0),
    linear-gradient(180deg, #f7f6f2 0%, #efeee9 100%);
  background-size: 16px 16px, 100% 100%;
  border: 1px solid rgba(30, 27, 24, 0.09);
  box-shadow:
    0 16px 36px rgba(20, 18, 15, 0.14),
    0 3px 8px rgba(20, 18, 15, 0.07);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}

.polaroid-white:hover {
  box-shadow:
    0 22px 44px rgba(20, 18, 15, 0.2),
    0 4px 12px rgba(20, 18, 15, 0.1);
}

.polaroid-photo-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #181615;
}

.polaroid-photo-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.polaroid-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: clamp(10px, 1.4vw, 16px);
  margin: 0;
  text-align: center;
  font-family: var(--font-hand);
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 600;
  line-height: 1.1;
  color: #151413;
  letter-spacing: 0.01em;
}

/* Polaroid 1: Top-left ("Who : Élodie Laurent & Gabriel Moreau") */
.trio-polaroid-who {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  width: 108%;
  z-index: 3;
  transform: rotate(-5.5deg);
}

.trio-polaroid-who:hover {
  transform: rotate(-4deg) translateY(-3px);
}

/* Editorial Story Note: Top-right (matching "Bespoke Bridal" block) */
.trio-editorial-note {
  grid-column: 7 / 13;
  grid-row: 1 / 2;
  padding: clamp(8px, 2vw, 22px) 0 12px clamp(4px, 1vw, 12px);
  text-align: left;
}

.trio-note-script {
  margin: 0 0 14px;
  font-family: var(--font-hand);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.trio-note-quote {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: clamp(13.5px, 1.45vw, 16px);
  font-weight: 300;
  line-height: 1.58;
  color: #3a3530;
}

.trio-note-author {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Polaroid 2: Bottom-left ("Where : Église Saint-Sulpice, Paris") */
.trio-polaroid-where {
  grid-column: 1 / 6;
  grid-row: 3 / 5;
  width: 108%;
  z-index: 2;
  margin-top: -12px;
  transform: rotate(-0.5deg);
}

.trio-polaroid-where:hover {
  transform: rotate(0.5deg) translateY(-3px);
}

.trio-polaroid-where .polaroid-photo-wrap img {
  filter: grayscale(100%) contrast(1.06);
}

/* Polaroid 3: Right tilted ("When : 24th October 2026") */
.trio-polaroid-when {
  grid-column: 6 / 13;
  grid-row: 2 / 5;
  width: 96%;
  z-index: 4;
  margin-top: 4px;
  margin-left: 2%;
  transform: rotate(8.5deg);
}

.trio-polaroid-when:hover {
  transform: rotate(7deg) translateY(-3px);
}

/* Bottom CTA inside Spread 1 */
.trio-footer-cta {
  margin-top: clamp(36px, 5vw, 56px);
  text-align: center;
}

.trio-footer-script {
  margin: 0 0 16px;
  font-family: var(--font-hand);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  color: var(--ink);
}

.trio-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 13px 32px;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.trio-outline-btn:hover {
  background: var(--ink);
  color: #ffffff;
}

/* ==========================================================================
   SPREAD 2 — BURGUNDY POLAROIDS, BINDER CLIP & WAX SEAL (Reference Image 1)
   ========================================================================== */
.spread-burgundy-diary {
  position: relative;
  margin: 0 auto 92px;
  padding: clamp(28px, 4.5vw, 54px) clamp(16px, 4vw, 48px);
}

.burgundy-diary-sheet {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(26px, 4.5vw, 52px) clamp(20px, 4.5vw, 50px) clamp(36px, 5vw, 56px);
  background: #f8f5ee;
  border-left: 3px dashed rgba(120, 111, 102, 0.22);
  box-shadow:
    0 20px 50px rgba(30, 27, 24, 0.09),
    -8px 8px 0 rgba(255, 255, 255, 0.65);
  isolation: isolate;
}

/* Lined notebook paper backing on top-right (like Image 1) */
.burgundy-lined-backing {
  position: absolute;
  top: -18px;
  right: -12px;
  width: 64%;
  height: 62%;
  z-index: -1;
  background-color: #fcfbf8;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 27px,
    rgba(130, 145, 165, 0.22) 28px
  );
  border: 1px solid rgba(30, 27, 24, 0.08);
  box-shadow: 0 10px 28px rgba(30, 27, 24, 0.06);
}

.burgundy-collage-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

/* Burgundy Polaroid Frame (#7b231f) */
.polaroid-burgundy {
  position: relative;
  padding: clamp(12px, 1.8vw, 18px);
  background: var(--burgundy);
  box-shadow: 0 16px 34px rgba(35, 12, 10, 0.24);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.polaroid-burgundy.has-chin {
  padding-bottom: clamp(46px, 6vw, 68px);
}

.polaroid-burgundy img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  display: block;
}

.burgundy-chin-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: clamp(10px, 1.3vw, 14px);
  margin: 0;
  text-align: center;
  font-family: var(--font-hand);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.08;
  color: #f7efe8;
}

/* Item 1: Top-left burgundy frame */
.diary-item-tl {
  grid-column: 1 / 6;
  grid-row: 1 / 2;
  width: 106%;
  z-index: 2;
  margin-top: 10px;
  transform: rotate(-4.5deg);
}

/* Item 2: Top-right burgundy polaroid with brass stud & caption */
.diary-item-tr {
  grid-column: 6 / 13;
  grid-row: 1 / 2;
  z-index: 3;
  transform: rotate(0.5deg);
}

/* Metallic Brass Pin at top-center of TR frame */
.brass-pin {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4c2 0%, #dfb856 42%, #9a701c 85%, #65460b 100%);
  border: 1.5px solid #f7e3a3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.32), inset 0 1px 2px rgba(255, 255, 255, 0.7);
  z-index: 6;
  pointer-events: none;
}

/* Item 3: Middle-left burgundy B&W frame with Black Binder Clip */
.diary-item-ml {
  grid-column: 1 / 6;
  grid-row: 2 / 3;
  width: 106%;
  z-index: 3;
  margin-top: -18%;
  transform: rotate(-4deg);
}

.diary-item-ml img {
  filter: grayscale(100%) contrast(1.08);
}

/* Black Metal Binder Clip SVG on the left edge */
.binder-clip-svg {
  position: absolute;
  left: -34px;
  top: -18px;
  width: 118px;
  height: 82px;
  z-index: 8;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

/* Item 4: Center tilted White Polaroid B&W */
.diary-item-center {
  grid-column: 5 / 11;
  grid-row: 2 / 3;
  z-index: 4;
  margin-top: -10%;
  padding: 11px 11px 32px;
  background: #fbfaf7;
  box-shadow: 0 16px 34px rgba(20, 18, 15, 0.22);
  transform: rotate(6deg);
  cursor: pointer;
}

.diary-item-center img {
  width: 100%;
  aspect-ratio: 3 / 3.8;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06);
}

/* Item 5: Bottom-right Burgundy Frame with Gold Wax Seal & Washi Tape */
.diary-item-br {
  grid-column: 6 / 13;
  grid-row: 3 / 4;
  width: 95%;
  margin-left: auto;
  z-index: 5;
  margin-top: -14%;
}

.diary-item-br img {
  aspect-ratio: 3 / 3.9;
  filter: grayscale(100%) contrast(1.06);
}

/* Gold Wax Seal overlapping top-left of BR frame */
.gold-wax-seal {
  position: absolute;
  top: -26px;
  left: 24px;
  width: 68px;
  height: 68px;
  z-index: 9;
  filter: drop-shadow(0 6px 12px rgba(45, 30, 8, 0.35));
  pointer-events: none;
}

/* Translucent masking tape across top-left of BR frame */
.washi-tape-strip {
  position: absolute;
  top: 22px;
  left: -46px;
  width: 135px;
  height: 36px;
  background: rgba(238, 233, 221, 0.68);
  border-left: 2px dotted rgba(180, 172, 158, 0.55);
  border-right: 2px dotted rgba(180, 172, 158, 0.55);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: rotate(-28deg);
  backdrop-filter: blur(1.5px);
  z-index: 7;
  pointer-events: none;
}

/* Bottom-left Typewriter Note ("my mini family" / "our Parisian story") */
.diary-typewriter-block {
  grid-column: 1 / 7;
  grid-row: 3 / 4;
  padding: 12px 14px 8px 4px;
  align-self: center;
}

.diary-calligraphy-heading {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-family: var(--font-calligraphy);
  font-size: clamp(38px, 4.8vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  -webkit-text-stroke: 0.25px var(--burgundy);
}

.diary-typewriter-text {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-typewriter);
  font-size: clamp(11.5px, 1.3vw, 13.5px);
  line-height: 1.68;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   SPREAD 3 — POSTAGE STAMPS & HANDWRITTEN MARGINALIA (Reference Image 2)
   ========================================================================== */
.spread-stamp-marginalia {
  position: relative;
  margin: 0 auto 96px;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 64px);
  background: #f5f2ea;
  border: 1px solid rgba(30, 27, 24, 0.08);
  box-shadow: 0 18px 48px rgba(30, 27, 24, 0.05);
  overflow: hidden;
}

.stamp-stage {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 58px 0 64px;
}

/* Top-left tilted handwritten note above the main photo */
.marginalia-top-left {
  position: relative;
  z-index: 3;
  max-width: 340px;
  margin: 0 0 10px 4%;
  font-family: var(--font-hand);
  font-size: clamp(19px, 2.5vw, 25px);
  line-height: 1.18;
  color: #3e3a35;
  transform: rotate(-6.5deg);
}

/* Center Feature Photo */
.stamp-center-photo {
  position: relative;
  z-index: 2;
  width: min(86%, 520px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: #1d1b18;
  box-shadow: 0 18px 42px rgba(24, 20, 16, 0.16);
  cursor: pointer;
}

.stamp-center-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  display: block;
}

/* Perforated Postage-Stamp Frame (radial-gradient scalloped outer edges only) */
.postage-stamp-frame {
  position: absolute;
  z-index: 4;
  width: clamp(118px, 25vw, 210px);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.postage-stamp-card {
  padding: 10px;
  background-color: #faf8f3;
  /* Keep inner content-box 100% solid opaque while perforating only the outer border-box */
  -webkit-mask-image:
    linear-gradient(#000 0 0),
    radial-gradient(circle at 7px 7px, transparent 4.2px, #000 4.8px);
  -webkit-mask-origin: content-box, border-box;
  -webkit-mask-clip: content-box, border-box;
  -webkit-mask-position: 0 0, -7px -7px;
  -webkit-mask-size: 100% 100%, 14px 14px;
  -webkit-mask-repeat: no-repeat, repeat;
  mask-image:
    linear-gradient(#000 0 0),
    radial-gradient(circle at 7px 7px, transparent 4.2px, #000 4.8px);
  mask-origin: content-box, border-box;
  mask-clip: content-box, border-box;
  mask-position: 0 0, -7px -7px;
  mask-size: 100% 100%, 14px 14px;
  mask-repeat: no-repeat, repeat;
  filter: drop-shadow(0 10px 20px rgba(20, 18, 15, 0.18));
}

.postage-stamp-inner {
  border: 1px solid rgba(30, 27, 24, 0.12);
  padding: 4px;
  background: #ffffff;
}

.postage-stamp-inner img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
  display: block;
}

.stamp-label {
  margin: 5px 0 3px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: clamp(15px, 2.3vw, 25px);
  font-weight: 600;
  color: #2c2825;
}

/* Top-right postage stamp ("Mon amour.") */
.stamp-top-right {
  top: 6px;
  right: 0;
}

.stamp-top-right:hover {
  transform: translateY(-3px) rotate(2deg);
}

/* Bottom-left postage stamp ("Our forever begins!") */
.stamp-bottom-left {
  bottom: 4px;
  left: 0;
}

.stamp-bottom-left:hover {
  transform: translateY(-3px) rotate(-2deg);
}

/* Bottom-right tilted handwritten note */
.marginalia-bottom-right {
  position: relative;
  z-index: 3;
  max-width: 280px;
  margin: 12px 6% 0 auto;
  text-align: left;
  font-family: var(--font-hand);
  font-size: clamp(19px, 2.5vw, 25px);
  line-height: 1.18;
  color: #3e3a35;
  transform: rotate(-6deg);
}

.marginalia-bottom-right small {
  display: block;
  margin-top: 4px;
  text-align: right;
  font-size: 0.78em;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   SPREAD 4 — TORN SPIRAL NOTEBOOK CARD & RED TAPE OVER B&W (Reference Image 4)
   ========================================================================== */
.spread-red-tape-note {
  position: relative;
  margin: 0 auto 96px;
  padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 48px);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 60px rgba(20, 18, 15, 0.18);
}

/* Blurred B&W ambient photo backdrop (like Image 4) */
.red-tape-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('images/photo_2026-10-21_18-13-29 (2).jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.05) brightness(0.68);
  transform: scale(1.04);
}

.red-tape-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(20, 18, 16, 0.15) 0%, rgba(20, 18, 16, 0.52) 100%);
}

/* Square Polaroid at top with bright crimson red tape */
.red-tape-polaroid {
  position: relative;
  z-index: 3;
  width: min(74%, 310px);
  margin: 0 auto -36px;
  padding: 14px 14px 26px;
  background: #f8f7f3;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  transform: rotate(-4.5deg);
  cursor: pointer;
}

.red-tape-polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Bright Red Tape with diagonal fold crease at top-center */
.crimson-tape {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
  width: 96px;
  height: 32px;
  background: linear-gradient(115deg, #d81e15 0%, #c4160e 46%, #ef3b31 48%, #b8140d 52%, #cf1b12 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.26);
  clip-path: polygon(2% 4%, 98% 0%, 100% 94%, 49% 100%, 0% 92%);
  z-index: 5;
  pointer-events: none;
}

/* Torn Spiral-Notebook Lined Paper Card */
.spiral-notebook-card {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 62px) clamp(24px, 5vw, 48px) clamp(32px, 4.5vw, 44px) clamp(46px, 7vw, 64px);
  background-color: #f3efe4;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 33px,
    rgba(138, 132, 122, 0.36) 34px
  );
  background-position: 0 26px;
  border-radius: 4px 22px 22px 4px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
}

/* Authentic punched spiral holes along the left margin */
.spiral-holes {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 10px;
  width: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.spiral-holes span {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: rgba(32, 30, 28, 0.82);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.65);
  position: relative;
}

/* Torn notch from each hole to the left edge */
.spiral-holes span::before {
  content: '';
  position: absolute;
  top: 3px;
  left: -11px;
  width: 12px;
  height: 9px;
  background: rgba(32, 30, 28, 0.82);
  transform: rotate(-8deg);
}

/* Red Fountain-Pen Cursive Ink Message */
.red-cursive-message {
  margin: 0;
  text-align: center;
  color: var(--red-ink);
  font-family: var(--font-calligraphy);
  font-size: clamp(31px, 4.3vw, 40px);
  line-height: 34px;
  -webkit-text-stroke: 0.35px var(--red-ink);
}

/* ==========================================================================
   SPREAD 5 — PARISIAN CEREMONY INVITATION & RSVP POSTCARD (No Parents' Names)
   ========================================================================== */
.spread-invitation-rsvp {
  position: relative;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.paris-invitation-card,
.paris-rsvp-card {
  position: relative;
  padding: clamp(32px, 4.5vw, 52px) clamp(24px, 4vw, 44px);
  background: #fbf9f4;
  border: 1px solid rgba(30, 27, 24, 0.1);
  box-shadow: 0 18px 44px rgba(30, 27, 24, 0.06);
}

.paris-invitation-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.invitation-kicker {
  margin: 0 0 12px;
  font-family: var(--font-typewriter);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.invitation-couple-names {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
}

.invitation-couple-names span {
  display: block;
  margin: 6px 0;
  font-family: var(--font-calligraphy);
  font-size: 0.95em;
  color: var(--burgundy);
}

.invitation-invite-line {
  margin: 20px auto;
  max-width: 340px;
  font-family: var(--font-typewriter);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.invitation-date-box {
  margin: 12px auto 22px;
  padding: 16px 24px;
  border-top: 1px solid rgba(123, 35, 31, 0.22);
  border-bottom: 1px solid rgba(123, 35, 31, 0.22);
}

.invitation-date-main {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--burgundy);
}

.invitation-schedule {
  margin: 8px 0 0;
  font-family: var(--font-typewriter);
  font-size: 12px;
  color: var(--ink-soft);
}

.invitation-venue-box h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 500;
  color: var(--ink);
}

.invitation-venue-box p {
  margin: 0 0 18px;
  font-family: var(--font-typewriter);
  font-size: 12.5px;
  color: var(--muted);
}

.paris-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-family: var(--font-typewriter);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 0.2s, color 0.2s;
}

.paris-map-btn:hover {
  background: var(--burgundy);
  color: #ffffff;
}

/* RSVP Postcard Form */
.paris-rsvp-card h2 {
  margin: 4px 0 8px;
  font-family: var(--font-calligraphy);
  font-size: clamp(38px, 4.5vw, 48px);
  font-weight: 400;
  color: var(--burgundy);
  -webkit-text-stroke: 0.25px var(--burgundy);
}

.paris-rsvp-sub {
  margin: 0 0 22px;
  font-family: var(--font-typewriter);
  font-size: 12px;
  color: var(--muted);
}

.diary-rsvp-form {
  display: grid;
  gap: 14px;
}

.diary-field label,
.diary-field legend {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-typewriter);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.diary-field input[type="text"],
.diary-field input[type="number"],
.diary-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(30, 27, 24, 0.2);
  background: #f6f3eb;
  font-family: var(--font-typewriter);
  font-size: 13px;
  color: var(--ink);
}

.diary-field input:focus,
.diary-field textarea:focus {
  outline: 2px solid var(--burgundy);
  background: #ffffff;
}

.diary-radio-group {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.diary-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-typewriter);
  font-size: 12.5px;
  cursor: pointer;
}

.diary-submit-btn {
  margin-top: 4px;
  padding: 13px 24px;
  border: 1px solid var(--burgundy);
  background: var(--burgundy);
  color: #fbf9f4;
  font-family: var(--font-typewriter);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.diary-submit-btn:hover {
  background: var(--burgundy-deep);
}

.diary-rsvp-status {
  margin: 4px 0 0;
  font-family: var(--font-hand);
  font-size: 21px;
  color: var(--burgundy);
  min-height: 26px;
}

/* Footer */
.diary-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(30, 27, 24, 0.12);
  text-align: center;
  font-family: var(--font-typewriter);
  font-size: 12px;
  color: var(--muted);
}

.diary-footer strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink);
}

/* Lightbox Modal */
.diary-lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(92vw, 860px);
  max-height: 90vh;
}

.diary-lightbox::backdrop {
  background: rgba(18, 15, 13, 0.86);
  backdrop-filter: blur(4px);
}

.diary-lightbox-frame {
  position: relative;
  padding: 16px 16px 48px;
  background: #fbf9f4;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.diary-lightbox-frame img {
  max-height: 76vh;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.diary-lightbox-caption {
  margin: 14px 0 0;
  font-family: var(--font-hand);
  font-size: 24px;
  color: var(--ink);
}

.diary-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(30, 27, 24, 0.78);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE DESIGN — PRESERVE EXACT DESKTOP COLLAGE LAYOUT ON MOBILE
   ========================================================================== */
@media (max-width: 760px) {
  .diary-topbar {
    padding: 10px 12px;
    font-size: 10px;
  }

  .diary-topbar-center {
    display: none;
  }

  .diary-main {
    padding: 0 8px 64px;
  }

  /* Spread 1: Keep exact 12-column Trio Polaroid + Top-Right Quote layout */
  .spread-polaroid-trio {
    margin: 16px auto 44px;
    padding: 22px 12px 28px;
  }

  .trio-brand-header {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.34em;
  }

  .trio-stage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    row-gap: 10px;
  }

  .polaroid-white {
    padding: 6px 6px 26px;
  }

  .polaroid-caption {
    left: 4px;
    right: 4px;
    bottom: 5px;
    font-size: clamp(11px, 3.2vw, 15px);
  }

  .trio-polaroid-who {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    width: 108%;
    transform: rotate(-5.5deg);
  }

  .trio-editorial-note {
    grid-column: 7 / 13;
    grid-row: 1 / 2;
    padding: 2px 0 6px 6px;
    text-align: left;
  }

  .trio-note-script {
    margin-bottom: 6px;
    font-size: clamp(20px, 5.4vw, 28px);
  }

  .trio-note-quote {
    margin-bottom: 8px;
    font-size: clamp(9.5px, 2.5vw, 12px);
    line-height: 1.45;
  }

  .trio-note-author {
    font-size: 8.5px;
  }

  .trio-polaroid-where {
    grid-column: 1 / 6;
    grid-row: 3 / 5;
    width: 108%;
    margin-top: -8px;
    transform: rotate(-0.5deg);
  }

  .trio-polaroid-when {
    grid-column: 6 / 13;
    grid-row: 2 / 5;
    width: 96%;
    margin-top: 2px;
    margin-left: 2%;
    transform: rotate(8.5deg);
  }

  .trio-footer-cta {
    margin-top: 24px;
  }

  .trio-footer-script {
    margin-bottom: 10px;
    font-size: clamp(20px, 5.2vw, 26px);
  }

  .trio-outline-btn {
    min-width: 170px;
    padding: 9px 20px;
    font-size: 11px;
  }

  /* Spread 2: Keep exact 12-column Burgundy Collage + Binder Clip + Wax Seal layout */
  .spread-burgundy-diary {
    margin: 0 auto 48px;
    padding: 14px 6px;
  }

  .burgundy-diary-sheet {
    padding: 18px 12px 24px;
  }

  .burgundy-collage-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px;
  }

  .polaroid-burgundy {
    padding: 6px;
  }

  .polaroid-burgundy.has-chin {
    padding-bottom: 30px;
  }

  .burgundy-chin-caption {
    left: 4px;
    right: 4px;
    bottom: 5px;
    font-size: clamp(10.5px, 3vw, 14px);
  }

  .diary-item-tl {
    grid-column: 1 / 6;
    grid-row: 1 / 2;
    width: 106%;
    margin-top: 6px;
  }

  .diary-item-tr {
    grid-column: 6 / 13;
    grid-row: 1 / 2;
  }

  .brass-pin {
    top: -8px;
    width: 18px;
    height: 18px;
  }

  .diary-item-ml {
    grid-column: 1 / 6;
    grid-row: 2 / 3;
    width: 106%;
    margin-top: -18%;
  }

  .binder-clip-svg {
    left: -18px;
    top: -10px;
    width: 64px;
    height: 45px;
  }

  .diary-item-center {
    grid-column: 5 / 11;
    grid-row: 2 / 3;
    margin-top: -10%;
    padding: 6px 6px 18px;
  }

  .diary-typewriter-block {
    grid-column: 1 / 7;
    grid-row: 3 / 4;
    padding: 8px 4px 4px 2px;
    align-self: center;
  }

  .diary-calligraphy-heading {
    margin-bottom: 6px;
    font-size: clamp(24px, 6.2vw, 34px);
  }

  .diary-typewriter-text {
    font-size: clamp(8.8px, 2.3vw, 11px);
    line-height: 1.52;
  }

  .diary-item-br {
    grid-column: 6 / 13;
    grid-row: 3 / 4;
    width: 96%;
    margin-left: auto;
    margin-top: -12%;
  }

  .gold-wax-seal {
    top: -16px;
    left: 12px;
    width: 42px;
    height: 42px;
  }

  .washi-tape-strip {
    top: 12px;
    left: -26px;
    width: 82px;
    height: 22px;
  }

  /* Spread 3: Keep exact Postage Stamps & Marginalia layout */
  .spread-stamp-marginalia {
    margin: 0 auto 48px;
    padding: 28px 12px;
  }

  .stamp-stage {
    padding: 32px 0 36px;
  }

  .stamp-center-photo {
    width: 90%;
  }

  .postage-stamp-frame {
    width: clamp(108px, 31vw, 152px);
  }

  .postage-stamp-card {
    padding: 7px;
  }

  .stamp-label {
    font-size: clamp(12px, 3.4vw, 17px);
  }

  .marginalia-top-left {
    max-width: 220px;
    margin: 0 0 6px 4%;
    font-size: clamp(13px, 3.6vw, 18px);
  }

  .marginalia-bottom-right {
    max-width: 200px;
    margin: 8px 4% 0 auto;
    font-size: clamp(13px, 3.6vw, 18px);
  }

  /* Spread 4: Keep exact Red Tape Polaroid & Torn Spiral Notebook Card layout */
  .spread-red-tape-note {
    margin: 0 auto 48px;
    padding: 32px 12px;
  }

  .red-tape-polaroid {
    width: min(76%, 250px);
    margin: 0 auto -24px;
    padding: 9px 9px 18px;
  }

  .crimson-tape {
    top: -11px;
    width: 68px;
    height: 22px;
  }

  .spiral-notebook-card {
    padding: 32px 16px 24px 34px;
    background-image: repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 25px,
      rgba(138, 132, 122, 0.36) 26px
    );
    background-position: 0 20px;
  }

  .spiral-holes {
    left: 7px;
    width: 16px;
  }

  .spiral-holes span {
    width: 11px;
    height: 11px;
  }

  .red-cursive-message {
    font-size: clamp(21px, 5.5vw, 28px);
    line-height: 26px;
  }

  /* Spread 5: Keep side-by-side 2-column Ceremony Invitation & RSVP Postcard layout */
  .spread-invitation-rsvp {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 10px;
  }

  .paris-invitation-card,
  .paris-rsvp-card {
    padding: 18px 10px;
  }

  .invitation-kicker {
    margin-bottom: 6px;
    font-size: 8.5px;
    letter-spacing: 0.14em;
  }

  .invitation-couple-names {
    font-size: clamp(20px, 5.4vw, 30px);
  }

  .invitation-invite-line {
    margin: 10px auto;
    font-size: 9.5px;
    line-height: 1.5;
  }

  .invitation-date-box {
    margin: 8px auto 12px;
    padding: 8px 6px;
  }

  .invitation-date-main {
    font-size: clamp(13px, 3.6vw, 18px);
  }

  .invitation-schedule {
    font-size: 9px;
  }

  .invitation-venue-box h3 {
    font-size: clamp(15px, 4vw, 20px);
  }

  .invitation-venue-box p {
    margin-bottom: 10px;
    font-size: 9.5px;
  }

  .paris-map-btn {
    padding: 7px 10px;
    font-size: 9px;
  }

  .paris-rsvp-card h2 {
    font-size: clamp(22px, 5.8vw, 32px);
  }

  .paris-rsvp-sub {
    margin-bottom: 10px;
    font-size: 9.5px;
  }

  .diary-rsvp-form {
    gap: 8px;
  }

  .diary-field label,
  .diary-field legend {
    margin-bottom: 3px;
    font-size: 9px;
  }

  .diary-field input[type="text"],
  .diary-field input[type="number"],
  .diary-field textarea {
    padding: 6px 8px;
    font-size: 10.5px;
  }

  .diary-radio-label {
    font-size: 9.5px;
  }

  .diary-submit-btn {
    padding: 8px 12px;
    font-size: 10px;
  }
}
