:root {
  --cream: #fffaf3;
  --paper: #fffdf9;
  --blush: #f6e3df;
  --rose: #c9787d;
  --deep-rose: #9b555d;
  --wine: #5f3537;
  --ink: #4b3733;
  --muted: #8e7770;
  --gold: #b9935f;
  --night: #241f2d;
  --line: rgba(126, 87, 75, .2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); font-weight: 300; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; }
a { color: inherit; }

.paper-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.eyebrow { margin: 0 0 18px; color: var(--rose); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 10px 3px 0; background: currentColor; }
em { font-weight: 400; }

/* Entry and countdown */
.gate-body { min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at 15% 12%, #fff 0, transparent 32%), radial-gradient(circle at 88% 82%, #f7deda 0, transparent 30%), var(--blush); }
.app-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; isolation: isolate; }
.floating-hearts span { position: fixed; z-index: 0; color: rgba(171, 100, 105, .4); animation: float 7s ease-in-out infinite; }
.floating-hearts span:nth-child(1) { top: 12%; left: 8%; font-size: 25px; }
.floating-hearts span:nth-child(2) { top: 22%; right: 11%; animation-delay: -2s; }
.floating-hearts span:nth-child(3) { bottom: 13%; right: 8%; font-size: 32px; animation-delay: -4s; }
.floating-hearts span:nth-child(4) { bottom: 21%; left: 14%; font-size: 30px; }
.floating-hearts span:nth-child(5) { top: 62%; left: 4%; animation-delay: -3s; }
.floating-hearts span:nth-child(6) { bottom: 5%; left: 47%; animation-delay: -5s; }
@keyframes float { 50% { transform: translateY(-12px) rotate(8deg); opacity: .5; } }

.gate-card, .waiting-card {
  width: min(620px, 100%); min-height: 660px; padding: 84px 72px 54px; position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255, 253, 249, .92); border: 1px solid rgba(185, 147, 95, .35);
  box-shadow: 0 30px 90px rgba(95, 53, 55, .12);
}
.gate-card::before, .waiting-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201, 120, 125, .18); pointer-events: none; }
.gate-flower { position: absolute; color: #d99b9c; font-size: 24px; }
.flower-left { left: 28px; top: 28px; }
.flower-right { right: 28px; bottom: 28px; transform: rotate(22deg); }
.tiny-constellation { color: var(--gold); letter-spacing: .7em; margin: 0 0 24px .7em; }
.gate-card h1, .waiting-card h1 { margin: 0; color: var(--wine); font: 500 clamp(58px, 10vw, 88px)/.75 var(--serif); letter-spacing: -.045em; }
.gate-card h1 em, .waiting-card h1 em { color: var(--rose); font-size: 1.05em; }
.gate-copy, .waiting-copy { max-width: 390px; margin: 34px auto 38px; font: italic 400 19px/1.5 var(--serif); color: var(--muted); }
.code-form { width: min(390px, 100%); }
.code-form label { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.code-row { display: flex; border-bottom: 1px solid var(--gold); }
.code-row input { width: 100%; min-width: 0; padding: 15px 10px; color: var(--wine); background: transparent; border: 0; outline: 0; text-align: center; letter-spacing: .5em; font-size: 20px; }
.code-row input::placeholder { color: #d1b8b2; }
.code-row button { padding: 0 10px; color: var(--deep-rose); background: transparent; border: 0; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.code-row button span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.code-row button:hover span { transform: translateX(4px); }
.code-row button:disabled { opacity: .45; }
.gate-message { min-height: 20px; margin: 14px 0 0; color: var(--muted); font: italic 400 15px var(--serif); }
.gate-foot { position: absolute; bottom: 25px; margin: 0; color: #aa9189; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

.waiting-card { min-height: 690px; }
.waiting-orbit { width: 90px; height: 90px; margin-bottom: 18px; display: grid; place-items: center; border: 1px solid rgba(185, 147, 95, .55); border-radius: 50%; position: relative; color: var(--rose); }
.waiting-orbit::after { content: ""; position: absolute; width: 8px; height: 8px; top: -4px; background: var(--gold); border-radius: 50%; animation: orbit 6s linear infinite; transform-origin: 4px 49px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.waiting-card h1 { font-size: clamp(50px, 9vw, 72px); line-height: .88; }
.waiting-copy { margin: 26px auto; }
.countdown { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.countdown div { padding: 19px 6px 16px; border-right: 1px solid var(--line); }
.countdown div:last-child { border: 0; }
.countdown strong { display: block; color: var(--wine); font: 500 34px/1 var(--serif); }
.countdown span { color: var(--muted); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.opening-date { margin: 20px 0 0; color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .13em; }
.waiting-note { max-width: 380px; margin: 28px auto 0; color: var(--muted); font: italic 400 16px/1.5 var(--serif); }

.opening-screen { height: 100vh; display: grid; place-content: center; text-align: center; color: var(--rose); }
.opening-screen span { font: 50px var(--serif); animation: heartbeat 1.2s infinite; }
.opening-screen p { font: italic 20px var(--serif); }
@keyframes heartbeat { 50% { transform: scale(1.15); } }

/* Unlocked universe */
.universe-body { overflow-x: hidden; background: var(--cream); }
.universe-shell { min-height: 100vh; overflow: clip; }
.love-nav { height: 76px; padding: 0 clamp(20px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; position: absolute; top: 0; left: 0; right: 0; z-index: 20; border-bottom: 1px solid rgba(95, 53, 55, .12); }
.love-nav a { text-decoration: none; }
.nav-mark { color: var(--wine); font: 600 17px var(--serif); letter-spacing: .17em; }
.nav-mark span { color: var(--rose); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

.universe-hero { min-height: 100vh; padding: 120px clamp(24px, 7vw, 110px) 70px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 7vw; position: relative; background: radial-gradient(circle at 85% 15%, #f8e5df 0, transparent 32%), linear-gradient(135deg, #fffaf2, #fdf6ee); }
.universe-hero::before { content: "♡"; position: absolute; left: -5vw; bottom: -14vw; color: rgba(201, 120, 125, .07); font: 42vw/1 var(--serif); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { margin: 0; color: var(--wine); font: 500 clamp(75px, 10vw, 150px)/.67 var(--serif); letter-spacing: -.065em; }
.hero-copy h1 em { color: var(--rose); }
.hero-copy h1 span { font-size: .45em; color: var(--gold); }
.hero-intro { max-width: 500px; margin: 42px 0 32px; color: var(--muted); font: 400 21px/1.55 var(--serif); }
.soft-button, .primary-button { display: inline-flex; align-items: center; gap: 25px; padding: 16px 22px; color: var(--wine); background: transparent; border: 1px solid rgba(95, 53, 55, .25); text-decoration: none; cursor: pointer; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s; }
.soft-button:hover, .primary-button:hover { color: #fff; background: var(--wine); }
.hero-photo-wrap { justify-self: center; width: min(520px, 90%); position: relative; }
.hero-photo { margin: 0; padding: 15px 15px 52px; position: relative; z-index: 2; background: var(--paper); box-shadow: 0 25px 80px rgba(95, 53, 55, .19); transform: rotate(2deg); }
.hero-photo img { height: min(62vh, 650px); object-fit: cover; object-position: center 32%; filter: saturate(.88) contrast(.96); }
.hero-photo figcaption { position: absolute; bottom: 17px; width: calc(100% - 30px); text-align: center; color: var(--deep-rose); font: italic 18px var(--serif); }
.hero-orbit { position: absolute; border: 1px solid rgba(185, 147, 95, .35); border-radius: 50%; }
.orbit-one { inset: -6% -12%; transform: rotate(28deg); }
.orbit-two { inset: 10% -18%; transform: rotate(-18deg); }
.hand-note { position: absolute; z-index: 3; color: var(--deep-rose); font: italic 20px var(--serif); transform: rotate(-10deg); }
.note-one { left: -22%; top: 12%; }
.sparkle { position: absolute; z-index: 3; color: var(--gold); font-size: 26px; }
.sparkle-one { right: -14%; top: 7%; }
.sparkle-two { left: -10%; bottom: 7%; }
.scroll-whisper { position: absolute; bottom: 27px; left: 50%; transform: translateX(-50%); color: var(--muted); font: italic 14px var(--serif); }

.chapter { padding: 140px clamp(24px, 8vw, 130px); position: relative; }
.chapter-number { position: absolute; top: 110px; right: 9vw; color: rgba(201, 120, 125, .14); font: 500 180px/1 var(--serif); }
.chapter-heading h2, .section-title h2, .night-copy h2, .stayed-card h2, .nurse-copy h2, .distance-copy h2, .future-heading h2, .letter-intro h2 { margin: 0; color: var(--wine); font: 500 clamp(58px, 7vw, 100px)/.85 var(--serif); letter-spacing: -.045em; }
.her-grid { margin-top: 75px; display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: clamp(55px, 10vw, 150px); align-items: center; }
.taped-photo { margin: 0; padding: 13px 13px 50px; position: relative; background: #fff; box-shadow: 0 22px 60px rgba(72, 48, 42, .13); transform: rotate(-3deg); }
.taped-photo img { height: 560px; object-fit: cover; }
.taped-photo p { margin: 16px 0 0; text-align: center; color: var(--deep-rose); font: italic 18px var(--serif); }
.tape { position: absolute; z-index: 3; top: -22px; left: 50%; width: 110px; height: 42px; transform: translateX(-50%) rotate(1deg); background: rgba(227, 198, 169, .55); }
.her-copy { max-width: 680px; }
.large-serif { color: var(--wine); font: 400 clamp(27px, 3vw, 40px)/1.27 var(--serif); }
.her-copy > p:not(.large-serif), .nurse-copy > p:not(.large-serif), .distance-copy p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.her-copy blockquote { margin: 45px 0 0; padding: 25px 0 25px 32px; border-left: 1px solid var(--gold); color: var(--deep-rose); font: italic 27px/1.4 var(--serif); }

.timeline-section { padding: 130px clamp(24px, 8vw, 130px) 150px; background: #f5e7df; }
.section-title { max-width: 680px; margin: 0 auto 90px; text-align: center; }
.section-title h2 em { color: var(--rose); }
.section-title > p:last-child { color: var(--muted); font: 400 18px/1.6 var(--serif); }
.timeline { max-width: 1000px; margin: auto; position: relative; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(155, 85, 93, .28); }
.timeline-item { width: 50%; min-height: 180px; padding: 15px 70px 35px 0; position: relative; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; padding: 15px 0 35px 70px; text-align: left; }
.time-dot { position: absolute; z-index: 2; top: 20px; right: -6px; width: 13px; height: 13px; border: 3px solid #f5e7df; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
.timeline-item:nth-child(even) .time-dot { left: -6px; right: auto; }
.timeline-item.featured .time-dot, .timeline-item.future .time-dot { width: 35px; height: 35px; top: 9px; right: -17px; display: grid; place-items: center; color: #fff; border: 5px solid #f5e7df; }
.timeline-item:nth-child(even).featured .time-dot, .timeline-item:nth-child(even).future .time-dot { left: -17px; }
.timeline-item > p { margin: 0 0 8px; color: var(--rose); font-size: 9px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.timeline-item h3 { margin: 0 0 10px; color: var(--wine); font: 500 29px var(--serif); }
.timeline-item > span:last-child { color: var(--muted); font: 400 16px/1.6 var(--serif); }

.night-section { padding: 150px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: center; position: relative; overflow: hidden; color: #f9eee6; background: var(--night); }
.night-section::after { content: ""; position: absolute; inset: 0; opacity: .17; background: radial-gradient(circle at 20% 20%, #f7e6c5 0 1px, transparent 2px), radial-gradient(circle at 70% 55%, #fff 0 1px, transparent 2px); background-size: 110px 90px, 160px 140px; }
.night-stars { position: absolute; top: 7%; right: 8%; color: #d6b784; letter-spacing: .45em; }
.night-copy, .call-collage { position: relative; z-index: 2; }
.night-copy h2 { color: #fff8ef; }
.night-copy p:not(.eyebrow) { color: #c5b9bb; font-size: 15px; line-height: 1.9; }
.call-collage { min-height: 620px; }
.polaroid { margin: 0; padding: 12px 12px 44px; position: absolute; background: #faf7f2; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
.polaroid img { height: 410px; object-fit: cover; }
.polaroid figcaption { padding-top: 13px; color: var(--deep-rose); text-align: center; font: italic 16px var(--serif); }
.call-one { width: 47%; left: 4%; top: 9%; transform: rotate(-6deg); }
.call-two { width: 47%; right: 2%; bottom: 4%; transform: rotate(5deg); }
.call-line { position: absolute; left: 42%; top: 25%; width: 25%; height: 42%; border: 1px dashed rgba(214, 183, 132, .45); border-left: 0; border-radius: 0 50% 50% 0; }

.stayed-section { padding: 150px 24px; background: linear-gradient(rgba(255, 250, 243, .88), rgba(255, 250, 243, .88)), radial-gradient(circle, var(--blush), transparent); }
.stayed-card { width: min(860px, 100%); margin: auto; padding: clamp(50px, 8vw, 100px); position: relative; text-align: center; background: var(--paper); border: 1px solid rgba(185, 147, 95, .35); box-shadow: 0 35px 80px rgba(95, 53, 55, .1); }
.stayed-card::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(201, 120, 125, .15); }
.envelope-heart { position: absolute; top: -30px; left: 50%; width: 60px; height: 60px; display: grid; place-items: center; transform: translateX(-50%); color: #fff; background: var(--rose); border-radius: 50%; font: 28px var(--serif); box-shadow: 0 10px 25px rgba(155, 85, 93, .25); }
.stayed-card h2 { margin-bottom: 30px; }
.stayed-card > p:not(.eyebrow) { max-width: 650px; margin: 18px auto; color: var(--muted); font: 400 19px/1.8 var(--serif); }
.stayed-signoff { margin-top: 38px; color: var(--deep-rose); font: italic 20px var(--serif); }

.nurse-section { padding: 150px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .35fr 1fr .4fr; gap: 6vw; align-items: center; background: #eedbd4; }
.nurse-label { align-self: start; }
.nurse-label span { display: block; color: rgba(155, 85, 93, .25); font: 500 130px/.8 var(--serif); }
.nurse-label p { color: var(--deep-rose); font-size: 9px; font-weight: 600; letter-spacing: .22em; line-height: 1.6; }
.nurse-copy h2 { margin-bottom: 35px; }
.nurse-quote { padding: 55px 30px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); text-align: center; }
.nurse-quote span { color: var(--gold); font: 70px/.5 var(--serif); }
.nurse-quote p { color: var(--wine); font: italic 26px/1.35 var(--serif); }

.distance-section { min-height: 800px; padding: 140px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: center; background: var(--paper); }
.distance-visual { height: 460px; position: relative; border: 1px solid rgba(185, 147, 95, .25); background: radial-gradient(circle at 30% 50%, rgba(246, 227, 223, .85), transparent 35%), radial-gradient(circle at 70% 50%, rgba(242, 225, 211, .75), transparent 35%); }
.distance-visual::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(185, 147, 95, .18); }
.map-point { position: absolute; z-index: 2; display: grid; place-items: center; width: 74px; height: 74px; color: var(--wine); background: var(--paper); border: 1px solid var(--gold); border-radius: 50%; font-size: 9px; font-weight: 600; letter-spacing: .18em; box-shadow: 0 10px 25px rgba(95, 53, 55, .1); }
.point-one { left: 13%; top: 22%; }
.point-two { right: 13%; bottom: 19%; }
.dotted-journey { position: absolute; left: 23%; top: 36%; width: 57%; height: 35%; border-top: 2px dashed rgba(155, 85, 93, .4); border-radius: 50%; transform: rotate(12deg); }
.dotted-journey span { position: absolute; left: 47%; top: -18px; color: var(--rose); font: 28px var(--serif); background: var(--paper); }
.distance-copy h2 { margin-bottom: 35px; }
.distance-copy h2 em { color: var(--rose); }

.memories-section { padding: 150px clamp(20px, 5vw, 80px) 200px; background: #f3e4dd; }
.memory-wall { width: min(1160px, 100%); min-height: 1020px; margin: auto; position: relative; }
.memory { margin: 0; padding: 11px 11px 42px; position: absolute; background: #fffdf8; box-shadow: 0 22px 45px rgba(95, 53, 55, .13); }
.memory img { height: 300px; object-fit: cover; }
.memory figcaption { margin-top: 11px; color: var(--deep-rose); text-align: center; font: italic 17px var(--serif); }
.memory-a { width: 29%; left: 4%; top: 0; transform: rotate(-6deg); }
.memory-b { width: 27%; left: 37%; top: 70px; transform: rotate(3deg); }
.memory-c { width: 29%; right: 3%; top: 5px; transform: rotate(-2deg); }
.memory-d { width: 28%; left: 10%; top: 500px; transform: rotate(4deg); }
.memory-e { width: 27%; left: 42%; top: 545px; transform: rotate(-4deg); }
.memory-f { width: 28%; right: 2%; top: 485px; transform: rotate(5deg); }

.future-section { padding: 150px clamp(24px, 8vw, 130px); background: var(--wine); color: #f8eee6; }
.future-heading { max-width: 650px; margin-bottom: 80px; }
.future-heading h2 { color: #fff9f2; }
.future-heading h2 em { color: #e4aaa9; }
.future-cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(255, 255, 255, .2); }
.future-card { min-height: 420px; padding: 32px 28px; position: relative; border-right: 1px solid rgba(255, 255, 255, .2); }
.future-card:last-child { border: 0; }
.future-card > span { color: #c89a83; font-size: 10px; letter-spacing: .16em; }
.future-icon { margin: 60px 0 40px; color: #e7b8ab; font: 52px var(--serif); }
.future-card h3 { margin: 0 0 18px; color: #fff; font: 500 30px var(--serif); }
.future-card p { color: #d5c2bb; font: 400 15px/1.75 var(--serif); }

.letter-section { padding: 150px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .55fr 1fr; gap: 8vw; align-items: start; background: #f2dfd9; }
.letter-intro { position: sticky; top: 100px; }
.letter-intro h2 { margin-bottom: 30px; }
.letter-intro h2 em { color: var(--rose); }
.letter-intro > p:not(.eyebrow) { color: var(--muted); font: italic 19px/1.5 var(--serif); }
.letter-actions { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.primary-button { color: #fff; background: var(--wine); }
.primary-button:hover { color: var(--wine); background: transparent; }
.text-button { padding: 12px 0; color: var(--deep-rose); background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.love-letter { padding: clamp(45px, 7vw, 90px); position: relative; background: var(--paper); box-shadow: 0 30px 90px rgba(95, 53, 55, .12); }
.love-letter p { color: #5d4741; font: 400 17px/1.85 var(--serif); }
.love-letter .salutation { color: var(--wine); font: italic 500 32px var(--serif); }
.letter-stamp { position: absolute; top: 30px; right: 30px; width: 62px; height: 76px; display: grid; place-content: center; text-align: center; color: var(--rose); border: 1px dashed var(--rose); font-size: 8px; font-weight: 600; letter-spacing: .12em; transform: rotate(4deg); }
.letter-stamp span { font: 22px var(--serif); }
.letter-promise { margin: 45px -25px; padding: 30px; text-align: center; color: var(--deep-rose); border-top: 1px solid rgba(201, 120, 125, .35); border-bottom: 1px solid rgba(201, 120, 125, .35); font: italic 36px var(--serif); }
.love-letter .signature { margin-top: 35px; color: var(--deep-rose); font-style: italic; font-size: 22px; }
.love-letter .signature strong { font-size: 30px; font-weight: 500; }
.love-letter .postscript { margin: 35px -25px -25px; padding: 22px 25px; color: var(--muted); background: #f9ece8; font-style: italic; font-size: 15px; }

.promise-section { min-height: 90vh; padding: 140px 24px; display: grid; place-content: center; position: relative; text-align: center; background: var(--paper); overflow: hidden; }
.promise-section::before, .promise-section::after { content: "♡"; position: absolute; color: rgba(201, 120, 125, .08); font: 38vw/1 var(--serif); }
.promise-section::before { left: -15vw; top: -10vw; }
.promise-section::after { right: -15vw; bottom: -15vw; }
.promise-section > p { color: var(--muted); font: italic 20px/1.7 var(--serif); }
.promise-section h2 { margin: 25px 0; color: var(--wine); font: 500 clamp(76px, 12vw, 165px)/.65 var(--serif); letter-spacing: -.06em; }
.promise-section h2 em { color: var(--rose); }
.promise-heart { color: var(--gold); font: 50px var(--serif); }

.universe-footer { padding: 90px 24px; text-align: center; color: #d9c7c0; background: var(--night); }
.universe-footer p { margin: 12px 0; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.universe-footer h2 { margin: 20px 0; color: #fff9f2; font: italic 500 48px var(--serif); }
.universe-footer h2 span { color: #e3a5a7; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .universe-hero { grid-template-columns: 1fr; padding-top: 135px; text-align: center; }
  .hero-intro { margin-inline: auto; }
  .hero-photo-wrap { margin-top: 25px; }
  .note-one { left: -5%; }
  .her-grid, .night-section, .distance-section, .letter-section { grid-template-columns: 1fr; }
  .taped-photo { width: min(520px, 90%); margin: auto; }
  .her-copy { margin: auto; }
  .night-copy { max-width: 650px; }
  .nurse-section { grid-template-columns: .3fr 1fr; }
  .nurse-quote { grid-column: 2; }
  .distance-copy { grid-row: 1; max-width: 650px; }
  .future-cards { grid-template-columns: repeat(2, 1fr); }
  .future-card:nth-child(2) { border-right: 0; }
  .future-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .letter-intro { position: static; }
}

@media (max-width: 680px) {
  .gate-card, .waiting-card { min-height: 610px; padding: 70px 24px 48px; }
  .gate-card h1, .waiting-card h1 { font-size: 54px; }
  .gate-copy { margin: 28px auto; }
  .countdown strong { font-size: 26px; }
  .countdown div { padding-inline: 2px; }
  .nav-links { display: none; }
  .love-nav { height: 64px; }
  .universe-hero { min-height: auto; padding: 115px 22px 90px; gap: 55px; }
  .hero-copy h1 { font-size: clamp(67px, 23vw, 94px); }
  .hero-intro { margin-top: 32px; font-size: 18px; }
  .hero-photo-wrap { width: 92%; }
  .hero-photo img { height: 490px; }
  .scroll-whisper { display: none; }
  .chapter, .timeline-section, .night-section, .stayed-section, .nurse-section, .distance-section, .memories-section, .future-section, .letter-section { padding: 100px 22px; }
  .chapter-number { top: 80px; right: 15px; font-size: 115px; }
  .chapter-heading h2, .section-title h2, .night-copy h2, .stayed-card h2, .nurse-copy h2, .distance-copy h2, .future-heading h2, .letter-intro h2 { font-size: 57px; }
  .her-grid { margin-top: 55px; gap: 60px; }
  .taped-photo img { height: 430px; }
  .large-serif { font-size: 27px; }
  .section-title { margin-bottom: 65px; }
  .timeline::before { left: 9px; }
  .timeline-item, .timeline-item:nth-child(even) { width: 100%; min-height: 0; margin: 0; padding: 7px 0 58px 48px; text-align: left; }
  .time-dot, .timeline-item:nth-child(even) .time-dot, .timeline-item.featured .time-dot, .timeline-item:nth-child(even).featured .time-dot, .timeline-item.future .time-dot, .timeline-item:nth-child(even).future .time-dot { left: 3px; right: auto; }
  .timeline-item.featured .time-dot, .timeline-item.future .time-dot { left: -8px; }
  .night-section { gap: 50px; }
  .call-collage { min-height: 570px; }
  .call-one, .call-two { width: 67%; }
  .call-one { left: 0; }
  .call-two { right: 0; }
  .polaroid img { height: 340px; }
  .stayed-card { padding: 60px 28px; }
  .nurse-section { grid-template-columns: 1fr; gap: 35px; }
  .nurse-label span { font-size: 90px; }
  .nurse-quote { grid-column: auto; }
  .distance-section { min-height: auto; gap: 55px; }
  .distance-visual { height: 360px; }
  .map-point { width: 62px; height: 62px; }
  .memory-wall { min-height: 1830px; }
  .memory { width: 72%; }
  .memory img { height: 285px; }
  .memory-a { left: 2%; top: 0; }
  .memory-b { left: auto; right: 0; top: 290px; }
  .memory-c { left: 1%; right: auto; top: 590px; }
  .memory-d { left: auto; right: 0; top: 885px; }
  .memory-e { left: 2%; top: 1180px; }
  .memory-f { left: auto; right: 0; top: 1475px; }
  .future-cards { grid-template-columns: 1fr; }
  .future-card { min-height: 340px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .future-card:nth-child(3) { border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .future-icon { margin: 35px 0 25px; }
  .love-letter { padding: 62px 28px 40px; }
  .letter-stamp { top: 18px; right: 18px; width: 52px; height: 62px; }
  .letter-promise { margin-inline: -12px; padding-inline: 15px; font-size: 29px; }
  .love-letter .postscript { margin-inline: -12px; }
  .promise-section h2 { font-size: clamp(70px, 23vw, 105px); }
}

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

@media print {
  .love-nav, .universe-hero, .her-chapter, .timeline-section, .night-section, .stayed-section, .nurse-section, .distance-section, .memories-section, .future-section, .letter-intro, .promise-section, .universe-footer, .paper-noise { display: none !important; }
  .letter-section { display: block; padding: 0; background: #fff; }
  .love-letter { max-width: none; box-shadow: none; padding: 20mm; }
  .love-letter p { font-size: 12pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
