:root {
  --ink: #4b1729;
  --wine: #8e153b;
  --berry: #b32855;
  --red: #d24a62;
  --pink: #f3a7b7;
  --blush: #f9d8da;
  --cream: #fff8f3;
  --paper: #fffdfb;
  --blue: #c8dce8;
  --shadow: 0 24px 70px rgba(100, 26, 48, 0.14);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); overflow-x: hidden; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }

.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; min-height: 100dvh; padding: 24px; overflow: hidden; background: linear-gradient(145deg, #fffaf6 0%, #fbdde0 53%, #e9bbc5 100%); transition: opacity .7s ease, visibility .7s ease; }
.gate.is-unlocked { opacity: 0; visibility: hidden; pointer-events: none; }
.gate::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(142, 21, 59, .17); border-radius: 32px; }
.gate-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; animation: drift 8s ease-in-out infinite alternate; }
.gate-glow-one { width: 46vw; height: 46vw; max-width: 500px; max-height: 500px; background: #f197aa; top: -14%; right: -6%; }
.gate-glow-two { width: 38vw; height: 38vw; max-width: 430px; max-height: 430px; background: #fff0cf; bottom: -9%; left: -6%; animation-delay: -3s; }
.gate-card { position: relative; width: min(100%, 480px); min-height: 490px; padding: 60px 52px 42px; border: 1px solid rgba(255,255,255,.8); border-radius: 36px; background: rgba(255, 250, 247, .72); backdrop-filter: blur(24px); box-shadow: var(--shadow); text-align: center; }
.tiny-heart { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 30px; border-radius: 50%; color: var(--cream); background: var(--wine); font-size: 20px; box-shadow: 0 10px 30px rgba(142, 21, 59, .22); }
.eyebrow { margin: 0 0 20px; color: var(--wine); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.gate-step { display: none; }
.gate-step.is-active { display: block; animation: stepIn .55s both; }
.gate-card h1 { margin: 14px 0; font: 400 clamp(2.8rem, 9vw, 4.5rem)/.98 var(--serif); }
.gate-card p:not(.eyebrow):not(.form-error):not(.gentle-message) { margin: 0 auto 32px; max-width: 310px; color: rgba(75,23,41,.66); line-height: 1.6; }
.primary-button { width: 100%; min-height: 58px; padding: 0 24px; border: 0; border-radius: 999px; color: white; background: var(--wine); font-weight: 600; cursor: pointer; box-shadow: 0 14px 34px rgba(142,21,59,.2); transition: transform .25s, background .25s; }
.primary-button:hover { transform: translateY(-2px); background: #74102f; }
.primary-button span { margin-left: 10px; }
.text-button { margin-top: 16px; border: 0; background: transparent; color: rgba(75,23,41,.54); cursor: pointer; }
.gentle-message { min-height: 24px; margin: 10px 0 0; color: var(--berry); font-size: .88rem; }
.back-button { position: absolute; top: 28px; left: 28px; width: 42px; height: 42px; border: 1px solid rgba(75,23,41,.12); border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
#password-step label { display: block; margin: 28px 0 9px; text-align: left; font-size: .82rem; font-weight: 600; }
.password-wrap { display: flex; align-items: center; height: 58px; margin-bottom: 6px; padding: 0 14px 0 19px; border: 1px solid rgba(75,23,41,.18); border-radius: 17px; background: white; }
.password-wrap:focus-within { border-color: var(--berry); box-shadow: 0 0 0 4px rgba(179,40,85,.1); }
.password-wrap input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); }
.password-wrap button { border: 0; background: transparent; color: var(--berry); font-size: .8rem; cursor: pointer; }
.form-error { min-height: 34px; margin: 7px 0; color: var(--berry); font-size: .84rem; text-align: left; }
.password-wrap.shake { animation: shake .35s; }

.site { opacity: 0; transition: opacity .8s .25s; }
.site.is-visible { opacity: 1; }
.floating-header { position: fixed; z-index: 20; top: max(18px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(calc(100% - 32px), 1100px); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.brand-pill, .sound-pill, .quiz-pill { pointer-events: auto; min-height: 45px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(255,249,245,.76); backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(75,23,41,.09); }
.brand-pill { display: flex; align-items: center; gap: 9px; padding: 0 18px; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; font: 400 1rem var(--serif); }
.brand-pill span { color: var(--berry); font-size: .78rem; }
.header-actions { display: flex; align-items: center; gap: 8px; pointer-events: none; }
.quiz-pill { display: flex; align-items: center; gap: 8px; padding: 0 17px; border-color: rgba(142,21,59,.14); color: white; background: rgba(142,21,59,.9); cursor: pointer; transition: transform .25s, background .25s; }
.quiz-pill:hover { transform: translateY(-2px); background: var(--wine); }
.quiz-pill span { color: #ffd5dc; }.quiz-pill b { font-size: .75rem; font-weight: 600; letter-spacing: .03em; }
.sound-pill { display: flex; align-items: center; gap: 7px; padding: 0 15px; color: rgba(75,23,41,.62); cursor: pointer; }
.sound-lines { color: var(--berry); }
.sound-label { font-size: .75rem; }

.section { position: relative; min-height: 100svh; padding: 130px max(24px, calc((100vw - 1120px)/2)); }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 7vw; overflow: hidden; background: radial-gradient(circle at 80% 16%, #ffd9dc 0, transparent 35%), linear-gradient(180deg, #fffaf7, #fcedec); }
.hero::before { content: "tanto tanto"; position: absolute; left: -2vw; bottom: 2vh; color: rgba(160,32,72,.045); font: 400 15vw/.7 var(--serif); white-space: nowrap; }
.hero-copy { position: relative; z-index: 2; }
.hero h1, .section-heading h2, .together h2, .timeline-intro h2 { margin: 0; font: 400 clamp(3.5rem, 6.3vw, 6.4rem)/.91 var(--serif); letter-spacing: -.045em; }
.hero h1 em, .section-heading h2 em, .together h2 em, .timeline-intro h2 em { color: var(--berry); font-weight: 400; }
.hero-note { max-width: 390px; margin: 35px 0 0 10%; color: rgba(75,23,41,.65); font: 400 1rem/1.7 var(--sans); }
.mosaic-one { position: relative; display: grid; grid-template-rows: repeat(2, minmax(0,1fr)); grid-auto-flow: column; grid-auto-columns: max-content; gap: 4px; width: 100%; height: min(55vw, 610px); overflow-x: auto; overflow-y: hidden; padding-bottom: 8px; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity; scrollbar-color: rgba(142,21,59,.38) transparent; scrollbar-width: thin; }
.rail-photo { width: 185px; min-width: 185px; height: 100%; margin: 0; overflow: hidden; border: 1px solid rgba(75,23,41,.16); scroll-snap-align: start; }
.rail-photo.rail-tall { grid-row: 1 / 3; width: 255px; min-width: 255px; }
.rail-photo.rail-wide { width: 285px; min-width: 285px; }
.rail-photo.rail-narrow { width: 155px; min-width: 155px; }
.rail-photo img { width: 100%; height: 100%; object-fit: contain; }
.gallery-all { grid-row: 1 / 3; align-self: stretch; width: 74px; min-width: 74px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 25px 0 20px; border: 1px solid rgba(75,23,41,.24); background: var(--wine); color: #fff9f5; cursor: pointer; scroll-snap-align: end; }
.gallery-all span { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 1.22rem/1 var(--serif); }
.gallery-all i { font-style: normal; font-size: 1.2rem; }
.memory-clusters { position: relative; display: grid; gap: 28px; width: 100%; }
.physics-cluster { position: relative; z-index: 2; width: 100%; height: 360px; transition: height .65s cubic-bezier(.22,.8,.25,1); }
.cluster-field { position: absolute; inset: 0; }
.cluster-image { position: absolute; z-index: var(--z); top: var(--compact-top); left: var(--compact-left); width: var(--compact-size); aspect-ratio: var(--ratio,.78); padding: 0; overflow: hidden; border: 0; border-radius: 1px; background: transparent; box-shadow: 0 12px 27px rgba(75,23,41,.19); cursor: zoom-in; transform: translate(-50%,-50%) rotate(var(--compact-rotation)); transition: top .72s cubic-bezier(.2,.8,.2,1), left .72s cubic-bezier(.2,.8,.2,1), width .72s cubic-bezier(.2,.8,.2,1), transform .72s cubic-bezier(.2,.8,.2,1), opacity .45s, filter .45s, box-shadow .45s; user-select: none; -webkit-user-select: none; touch-action: manipulation; will-change: transform; }
.cluster-image img { display: block; width: 100%; height: auto; object-fit: contain; pointer-events: none; }
.cluster-image:nth-child(1) { --compact-size: 43%; --open-size: 25%; --ratio: .78; --compact-left: 43%; --compact-top: 45%; --compact-rotation: -5deg; --open-left: 15%; --open-top: 19%; --open-rotation: -3deg; --focus-left: 6%; --focus-top: 7%; --z: 1; --float-time: 19s; }
.cluster-image:nth-child(2) { --compact-size: 34%; --open-size: 25%; --ratio: .73; --compact-left: 57%; --compact-top: 39%; --compact-rotation: 3deg; --open-left: 50%; --open-top: 17%; --open-rotation: 2deg; --focus-left: 35%; --focus-top: 7%; --z: 2; --float-time: 23s; }
.cluster-image:nth-child(3) { --compact-size: 40%; --open-size: 25%; --ratio: .82; --compact-left: 42%; --compact-top: 57%; --compact-rotation: -2deg; --open-left: 84%; --open-top: 20%; --open-rotation: 4deg; --focus-left: 65%; --focus-top: 7%; --z: 3; --float-time: 21s; }
.cluster-image:nth-child(4) { --compact-size: 39%; --open-size: 25%; --ratio: .8; --compact-left: 59%; --compact-top: 55%; --compact-rotation: 4deg; --open-left: 16%; --open-top: 51%; --open-rotation: 2deg; --focus-left: 94%; --focus-top: 7%; --z: 4; --float-time: 24s; }
.cluster-image:nth-child(5) { --compact-size: 29%; --open-size: 25%; --ratio: .72; --compact-left: 50%; --compact-top: 65%; --compact-rotation: 1deg; --open-left: 50%; --open-top: 49%; --open-rotation: -2deg; --focus-left: 94%; --focus-top: 50%; --z: 5; --float-time: 20s; }
.cluster-image:nth-child(6) { --compact-size: 36%; --open-size: 25%; --ratio: .78; --compact-left: 48%; --compact-top: 40%; --compact-rotation: -1deg; --open-left: 84%; --open-top: 50%; --open-rotation: -4deg; --focus-left: 94%; --focus-top: 93%; --z: 6; --float-time: 25s; }
.cluster-image:nth-child(7) { --compact-size: 33%; --open-size: 25%; --ratio: .74; --compact-left: 55%; --compact-top: 61%; --compact-rotation: 5deg; --open-left: 16%; --open-top: 82%; --open-rotation: 3deg; --focus-left: 65%; --focus-top: 93%; --z: 7; --float-time: 22s; }
.cluster-image:nth-child(8) { --compact-size: 38%; --open-size: 25%; --ratio: .8; --compact-left: 45%; --compact-top: 52%; --compact-rotation: -4deg; --open-left: 50%; --open-top: 81%; --open-rotation: -3deg; --focus-left: 35%; --focus-top: 93%; --z: 8; --float-time: 26s; }
.cluster-image:nth-child(9) { --compact-size: 31%; --open-size: 25%; --ratio: .78; --compact-left: 56%; --compact-top: 46%; --compact-rotation: 2deg; --open-left: 84%; --open-top: 81%; --open-rotation: 2deg; --focus-left: 6%; --focus-top: 93%; --z: 9; --float-time: 18s; }
.cluster-image:nth-child(10) { --compact-size: 35%; --open-size: 22%; --ratio: .8; --compact-left: 49%; --compact-top: 57%; --compact-rotation: -3deg; --open-left: 50%; --open-top: 50%; --open-rotation: -2deg; --focus-left: 6%; --focus-top: 50%; --z: 10; --float-time: 20s; }
.cluster-image:nth-child(11) { --compact-size: 30%; --open-size: 18%; --ratio: .78; --compact-left: 53%; --compact-top: 42%; --compact-rotation: 4deg; --open-left: 8%; --open-top: 68%; --open-rotation: 3deg; --focus-left: 5%; --focus-top: 65%; --z: 11; --float-time: 24s; }
.cluster-image:nth-child(12) { --compact-size: 38%; --open-size: 18%; --ratio: .8; --compact-left: 46%; --compact-top: 60%; --compact-rotation: -4deg; --open-left: 8%; --open-top: 42%; --open-rotation: -4deg; --focus-left: 5%; --focus-top: 35%; --z: 12; --float-time: 21s; }
.cluster-image:nth-child(13) { --compact-size: 33%; --open-size: 18%; --ratio: .78; --compact-left: 51%; --compact-top: 48%; --compact-rotation: 2deg; --open-left: 50%; --open-top: 50%; --open-rotation: 1deg; --focus-left: 50%; --focus-top: 6%; --z: 13; --float-time: 27s; }
.cluster-image:nth-child(3n+1) { --orbit-x: 15px; --orbit-y: 10px; --float-direction: normal; --float-delay: -2.5s; }
.cluster-image:nth-child(3n+2) { --orbit-x: 11px; --orbit-y: 16px; --float-direction: reverse; --float-delay: -6s; }
.cluster-image:nth-child(3n) { --orbit-x: 17px; --orbit-y: 12px; --float-direction: normal; --float-delay: -9s; }
.cluster-ten .cluster-image { --open-size: 19%; }
.cluster-ten .cluster-image:nth-child(1) { --open-left: 10%; --open-top: 23%; }
.cluster-ten .cluster-image:nth-child(2) { --open-left: 30%; --open-top: 15%; }
.cluster-ten .cluster-image:nth-child(3) { --open-left: 50%; --open-top: 21%; }
.cluster-ten .cluster-image:nth-child(4) { --open-left: 70%; --open-top: 15%; }
.cluster-ten .cluster-image:nth-child(5) { --open-left: 90%; --open-top: 23%; }
.cluster-ten .cluster-image:nth-child(6) { --open-left: 90%; --open-top: 77%; }
.cluster-ten .cluster-image:nth-child(7) { --open-left: 70%; --open-top: 85%; }
.cluster-ten .cluster-image:nth-child(8) { --open-left: 50%; --open-top: 79%; }
.cluster-ten .cluster-image:nth-child(9) { --open-left: 30%; --open-top: 85%; }
.cluster-ten .cluster-image:nth-child(10) { --open-left: 10%; --open-top: 77%; }
.cluster-thirteen .cluster-image { --open-size: 16%; }
.cluster-thirteen .cluster-image:nth-child(1) { --open-left: 8%; --open-top: 15%; --focus-left: 5%; --focus-top: 6%; }
.cluster-thirteen .cluster-image:nth-child(2) { --open-left: 36%; --open-top: 11%; --focus-left: 35%; --focus-top: 6%; }
.cluster-thirteen .cluster-image:nth-child(3) { --open-left: 64%; --open-top: 11%; --focus-left: 65%; --focus-top: 6%; }
.cluster-thirteen .cluster-image:nth-child(4) { --open-left: 92%; --open-top: 15%; --focus-left: 95%; --focus-top: 6%; }
.cluster-thirteen .cluster-image:nth-child(5) { --open-left: 92%; --open-top: 42%; --focus-left: 95%; --focus-top: 35%; }
.cluster-thirteen .cluster-image:nth-child(6) { --open-left: 92%; --open-top: 68%; --focus-left: 95%; --focus-top: 65%; }
.cluster-thirteen .cluster-image:nth-child(7) { --open-left: 92%; --open-top: 89%; --focus-left: 95%; --focus-top: 94%; }
.cluster-thirteen .cluster-image:nth-child(8) { --open-left: 64%; --open-top: 89%; --focus-left: 65%; --focus-top: 94%; }
.cluster-thirteen .cluster-image:nth-child(9) { --open-left: 36%; --open-top: 89%; --focus-left: 35%; --focus-top: 94%; }
.cluster-thirteen .cluster-image:nth-child(10) { --open-left: 8%; --open-top: 89%; --focus-left: 5%; --focus-top: 94%; }
.cluster-thirteen .cluster-image:nth-child(11) { --open-left: 8%; --open-top: 68%; --focus-left: 5%; --focus-top: 65%; }
.cluster-thirteen .cluster-image:nth-child(12) { --open-left: 8%; --open-top: 42%; --focus-left: 5%; --focus-top: 35%; }
.cluster-thirteen .cluster-image:nth-child(13) { --open-left: 50%; --open-top: 50%; --focus-left: 50%; --focus-top: 6%; }
.cluster-twelve .cluster-image { --open-size: 17%; }
.cluster-twelve .cluster-image:nth-child(1) { --open-left: 12%; --open-top: 16%; --focus-left: 5%; --focus-top: 6%; }
.cluster-twelve .cluster-image:nth-child(2) { --open-left: 36%; --open-top: 10%; --focus-left: 35%; --focus-top: 6%; }
.cluster-twelve .cluster-image:nth-child(3) { --open-left: 64%; --open-top: 10%; --focus-left: 65%; --focus-top: 6%; }
.cluster-twelve .cluster-image:nth-child(4) { --open-left: 88%; --open-top: 16%; --focus-left: 95%; --focus-top: 6%; }
.cluster-twelve .cluster-image:nth-child(5) { --open-left: 93%; --open-top: 40%; --focus-left: 95%; --focus-top: 35%; }
.cluster-twelve .cluster-image:nth-child(6) { --open-left: 93%; --open-top: 68%; --focus-left: 95%; --focus-top: 65%; }
.cluster-twelve .cluster-image:nth-child(7) { --open-left: 78%; --open-top: 88%; --focus-left: 95%; --focus-top: 94%; }
.cluster-twelve .cluster-image:nth-child(8) { --open-left: 50%; --open-top: 91%; --focus-left: 65%; --focus-top: 94%; }
.cluster-twelve .cluster-image:nth-child(9) { --open-left: 22%; --open-top: 88%; --focus-left: 35%; --focus-top: 94%; }
.cluster-twelve .cluster-image:nth-child(10) { --open-left: 7%; --open-top: 68%; --focus-left: 5%; --focus-top: 94%; }
.cluster-twelve .cluster-image:nth-child(11) { --open-left: 7%; --open-top: 40%; --focus-left: 5%; --focus-top: 65%; }
.cluster-twelve .cluster-image:nth-child(12) { --open-left: 50%; --open-top: 50%; --focus-left: 5%; --focus-top: 35%; }
.physics-cluster.is-expanded { z-index: 14; height: 650px; }
.physics-cluster.is-expanded .cluster-image { top: var(--open-top); left: var(--open-left); width: var(--open-size); transform: translate(-50%,-50%) rotate(var(--open-rotation)); box-shadow: 0 15px 34px rgba(75,23,41,.15); animation: clusterOrbit var(--float-time) ease-in-out var(--float-delay, 0s) infinite var(--float-direction, normal); }
.physics-cluster.has-focus .cluster-image { animation: none; }
.physics-cluster.has-focus .cluster-image:not(.is-focused) { top: var(--focus-top); left: var(--focus-left); opacity: .48; filter: saturate(.6); transform: translate(-50%,-50%) rotate(var(--open-rotation)) scale(.56); }
.cluster-thirteen.has-focus .cluster-image:not(.is-focused),
.cluster-twelve.has-focus .cluster-image:not(.is-focused) { transform: translate(-50%,-50%) rotate(var(--open-rotation)) scale(.38); }
.physics-cluster.has-focus .cluster-image.is-focused { z-index: 30; top: 50%; left: 50%; width: min(62%, 430px); opacity: 1; filter: none; cursor: default; transform: translate(-50%,-50%) rotate(0); box-shadow: 0 28px 60px rgba(75,23,41,.33); }
.couple-placeholder small { position: absolute; bottom: 15px; font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; opacity: .6; }
.scroll-cue { position: absolute; bottom: 32px; left: 50%; display: flex; align-items: center; gap: 14px; transform: translateX(-50%); color: var(--ink); text-decoration: none; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue i { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(75,23,41,.2); border-radius: 50%; font-style: normal; animation: bob 1.8s infinite; }

.explore { background: #a91f49; color: #fff9f5; }
.section-heading { max-width: 750px; margin-bottom: 70px; }
.explore .eyebrow { color: #ffd4dc; }
.explore .section-heading h2 em { color: #ffc1ce; }
.story-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.experience-card { position: relative; min-height: 620px; padding: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.35); border-radius: 34px; text-align: left; cursor: pointer; transition: transform .35s, box-shadow .35s; }
.experience-card:hover { transform: translateY(-8px); box-shadow: 0 24px 70px rgba(46,5,18,.25); }
.earth-card { color: #5a1830; background: radial-gradient(circle at 50% 42%, #fff8f1 0, #f6d4d5 46%, #eba2b3 100%); }
.timeline-card { color: #4c1930; background: linear-gradient(145deg, #d5e6ec, #efc2cc 70%, #ffe7dd); }
.card-number { position: absolute; top: 28px; right: 28px; width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .72rem; opacity: .55; }
.planet-shell { position: relative; width: min(87%, 420px); aspect-ratio: 1; margin: 18px auto 4px; }
.planet-shell img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 28px rgba(95,31,49,.22)); transition: transform .8s ease; }
.earth-card:hover .planet-shell img { transform: rotate(8deg) scale(1.03); }
.planet-orbit { position: absolute; inset: 8% -8%; border: 1px solid rgba(93,25,48,.3); border-radius: 50%; transform: rotate(-15deg); }
.planet-dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 7px rgba(142,21,59,.12); }
.dot-one { top: 31%; left: 8%; }.dot-two { right: 10%; bottom: 30%; }
.timeline-preview { position: relative; height: 410px; margin: 18px 4px 0; }
.preview-track { position: absolute; left: 50%; top: 8%; bottom: 8%; width: 2px; background: rgba(75,23,41,.33); transform: translateX(-50%); }
.preview-track::before, .preview-track::after { content: ""; position: absolute; left: 50%; width: 11px; height: 11px; border: 3px solid #f7dce0; background: var(--wine); transform: translateX(-50%) rotate(45deg); }.preview-track::before { top: 0; }.preview-track::after { bottom: 0; }
.preview-memory { position: absolute; width: 178px; margin: 0; padding: 8px 8px 12px; border: 1px solid rgba(75,23,41,.16); background: #fffaf7; box-shadow: 9px 11px 0 rgba(142,21,59,.09); transform: rotate(var(--tilt)); }
.preview-memory::after { content: ""; position: absolute; top: 50%; width: 34px; height: 1px; background: rgba(75,23,41,.32); }.preview-memory:nth-of-type(1)::after, .preview-memory:nth-of-type(3)::after { left: 100%; }.preview-memory:nth-of-type(2)::after { right: 100%; }
.preview-memory img { display: block; width: 100%; height: 115px; object-fit: contain; }.preview-memory figcaption { display: flex; align-items: baseline; gap: 8px; padding: 9px 3px 0; }.preview-memory figcaption b { color: var(--berry); font: 400 1rem var(--serif); }.preview-memory figcaption span { font-size: .68rem; letter-spacing: .04em; }.pm-one { --tilt: -3deg; top: 0; left: 3%; }.pm-two { --tilt: 3deg; top: 123px; right: 2%; }.pm-three { --tilt: -2deg; bottom: 0; left: 5%; }
.card-copy { position: absolute; inset: auto 30px 30px; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.card-kicker { grid-column: 1 / -1; margin-bottom: 3px; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; opacity: .68; }
.card-copy strong { font: 400 3.2rem/1 var(--serif); }
.card-action { align-self: center; font-size: .84rem; }
.card-action i { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: 8px; border: 1px solid currentColor; border-radius: 50%; font-style: normal; }

.together { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 7vw; background: #fff9f5; }
.together-copy > p:last-child { max-width: 420px; margin-top: 30px; color: rgba(75,23,41,.65); line-height: 1.7; }
.mosaic-two { grid-template-columns: 1fr .8fr 1fr; grid-template-rows: 260px 220px; gap: 12px; }
.couple-placeholder, .mosaic-note { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 26px; text-align: center; box-shadow: 0 15px 44px rgba(75,23,41,.09); }
.couple-placeholder span { font: italic 400 2rem/1 var(--serif); }
.cp-one { grid-row: 1/3; background: #f2b2bd; }
.cp-two { background: #c7dce5; }.cp-three { grid-row: 1/3; background: #bd3b5e; color: white; }.cp-four { background: #f8d7c7; }
.mosaic-note { gap: 14px; padding: 20px; background: transparent; border: 1px solid rgba(75,23,41,.14); box-shadow: none; }
.mosaic-note span { font: 400 3rem var(--serif); color: var(--berry); }.mosaic-note p { margin: 0; font: 400 1.1rem/1.15 var(--serif); text-align: left; }
footer { position: relative; min-height: 55svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px 24px; color: #fff7f4; background: var(--ink); text-align: center; }
.footer-heart { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--pink); }
footer p { margin: 0 0 8px; font: 400 2.5rem var(--serif); } footer small { opacity: .6; }

.panel { position: fixed; inset: 0; z-index: 80; overflow: auto; background: var(--cream); animation: panelIn .55s cubic-bezier(.22,.8,.25,1) both; }
.panel[hidden] { display: none; }
.panel-topbar { position: sticky; z-index: 5; top: 0; height: 88px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: max(14px, env(safe-area-inset-top)) max(20px, calc((100vw - 1180px)/2)); border-bottom: 1px solid rgba(75,23,41,.1); background: rgba(255,248,243,.88); backdrop-filter: blur(18px); }
.close-panel { width: 48px; height: 48px; border: 1px solid rgba(75,23,41,.16); border-radius: 50%; background: white; cursor: pointer; }
.panel-topbar div { display: flex; flex-direction: column; }.panel-topbar div span { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }.panel-topbar div strong { font: 400 1.4rem var(--serif); }
.panel-count { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .55; }
.map-canvas { position: relative; height: calc(100dvh - 142px); min-height: 520px; overflow: hidden; background: #d6e6e9; }
#map-panel { overflow: hidden; overscroll-behavior: none; }
.memory-map { width: 100%; height: 100%; touch-action: none; overscroll-behavior: contain; cursor: grab; font-family: var(--sans); background: #d6e6e9; }
.memory-map:active { cursor: grabbing; }
.map-photo-cluster { position: absolute; z-index: 700; inset: 0; pointer-events: none; }
.map-photo-cluster[hidden] { display: none; }
.map-cluster-image { position: absolute; z-index: 2; left: var(--cluster-x); top: var(--cluster-y); width: var(--size); padding: 3px 3px 8px; border: 0; border-radius: 1px; color: var(--ink); background: #fff9f5; box-shadow: 0 18px 38px rgba(45,21,30,.32); cursor: zoom-in; pointer-events: auto; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--rotate)); transition: width .5s cubic-bezier(.18,.82,.25,1), transform .5s cubic-bezier(.18,.82,.25,1), opacity .4s, filter .4s, box-shadow .4s; animation: mapClusterOpen .48s cubic-bezier(.18,.82,.25,1) var(--delay) both; }
.map-cluster-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.map-cluster-image span { display: block; min-height: 28px; padding: 7px 5px 0; font: 500 .68rem/1.25 var(--sans); text-align: left; }
.map-photo-cluster.has-focus .map-cluster-image:not(.is-focused) { z-index: 1; opacity: .62; filter: saturate(.65); transform: translate(calc(-50% + var(--fx)), calc(-50% + var(--fy))) rotate(var(--rotate)) scale(.62); }
.map-photo-cluster.has-focus .map-cluster-image.is-focused { z-index: 20; width: min(53vw, 210px); opacity: 1; filter: none; cursor: default; transform: translate(-50%,-50%) rotate(0); box-shadow: 0 25px 55px rgba(45,21,30,.4); }
.map-photo-cluster.has-focus .map-cluster-image.is-focused span { min-height: 34px; padding: 9px 8px 2px; font-size: .78rem; }
.memory-map .leaflet-tile-pane { filter: saturate(.62) sepia(.08) hue-rotate(315deg); }
.memory-map .leaflet-control-zoom { border: 1px solid rgba(75,23,41,.2); border-radius: 1px; box-shadow: none; }
.memory-map .leaflet-control-zoom a { color: var(--wine); background: #fff9f5; }
.memory-map .leaflet-popup-content-wrapper { padding: 0; overflow: hidden; border-radius: 2px; color: var(--ink); background: #fff9f5; box-shadow: 12px 14px 35px rgba(75,23,41,.2); }
.memory-map .leaflet-popup-content { width: 260px !important; margin: 0; }
.memory-map .leaflet-popup-tip { background: #fff9f5; }
.memory-pin-shell { border: 0; background: transparent; }
.memory-pin { position: relative; width: 60px; height: 68px; display: block; padding: 4px 4px 12px; background: #fff9f5; border: 1px solid rgba(75,23,41,.25); box-shadow: 0 8px 22px rgba(75,23,41,.24); transform: rotate(-2deg); }
.memory-pin::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 15px; height: 15px; transform: translateX(-50%) rotate(45deg); border: 1px solid rgba(75,23,41,.25); border-width: 0 1px 1px 0; background: #fff9f5; }
.memory-pin img { width: 100%; height: 100%; object-fit: contain; }
.memory-pin b { position: absolute; z-index: 2; top: -8px; right: -8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--wine); font-size: .7rem; box-shadow: 0 4px 12px rgba(75,23,41,.22); }
.memory-popup-photos { display: grid; height: 185px; gap: 2px; overflow: hidden; background: #f2dadd; }
.memory-popup-photos.count-2 { grid-template-columns: 1fr 1fr; }
.memory-popup-photos.count-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.memory-popup-photos.count-3 img:first-child { grid-row: 1 / 3; }
.memory-popup-photos.count-5 { grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(2,1fr); }
.memory-popup-photos.count-5 img:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.memory-popup-photos img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.memory-popup small { display: block; margin: 16px 18px 3px; color: var(--berry); font-size: .66rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.memory-popup h3 { margin: 0 18px 5px; font: 400 1.75rem/1 var(--serif); }
.memory-popup p { margin: 0; padding: 0 18px 18px; color: rgba(75,23,41,.64); font-size: .78rem; line-height: 1.45; }
.map-error { display: grid; place-items: center; height: 100%; margin: 0; color: rgba(75,23,41,.65); }
.map-memory { position: absolute; left: 50%; bottom: 30px; width: min(calc(100% - 32px), 370px); display: flex; align-items: center; gap: 13px; padding: 10px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.8); border-radius: 21px; color: var(--ink); background: rgba(255,250,247,.92); box-shadow: var(--shadow); text-align: left; cursor: pointer; }
.map-memory img { width: 65px; height: 65px; border-radius: 15px; object-fit: contain; }.map-memory span { display: flex; flex-direction: column; }.map-memory b { font: 400 1.35rem var(--serif); }.map-memory small { margin-top: 4px; opacity: .6; }
.map-bottom { min-height: 54px; display: grid; place-items: center; padding: 8px 20px; color: rgba(75,23,41,.66); font-size: .78rem; }.map-bottom p { margin: 0; }.map-bottom span { color: var(--berry); }
.timeline-view { padding: 90px max(24px, calc((100vw - 960px)/2)) 120px; background: radial-gradient(circle at 15% 8%, #f8cfd4, transparent 27%), var(--cream); }
.timeline-intro { margin-bottom: 80px; }.timeline-intro > p:last-child { max-width: 430px; color: rgba(75,23,41,.62); line-height: 1.6; }
.storyline { position: relative; margin: 0; padding: 0; list-style: none; }.storyline::before { content: ""; position: absolute; left: 100px; top: 12px; bottom: 40px; width: 1px; background: rgba(142,21,59,.25); }
.storyline li { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 70px; margin-bottom: 70px; }.storyline li::before { content: ""; position: absolute; left: 94px; top: 7px; width: 13px; height: 13px; border: 4px solid var(--cream); border-radius: 50%; background: var(--berry); box-shadow: 0 0 0 1px var(--berry); }
.story-date { padding-top: 2px; color: var(--wine); font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; text-align: right; }
.story-card { min-height: 260px; overflow: hidden; border-radius: 28px; background: white; box-shadow: 0 18px 55px rgba(75,23,41,.09); }
.story-card-photo { display: grid; grid-template-columns: .9fr 1.1fr; }.story-card-photo img { height: 100%; max-height: 390px; object-fit: contain; }.story-card > div { padding: 38px; align-self: center; }.story-card small { color: var(--berry); letter-spacing: .12em; text-transform: uppercase; }.story-card h3 { margin: 10px 0 12px; font: 400 2.2rem/1 var(--serif); }.story-card p { margin: 0; color: rgba(75,23,41,.62); line-height: 1.6; }
.story-photo-pair { display: grid; grid-template-columns: 1fr 1fr; height: 100%; padding: 0 !important; align-self: stretch !important; }.story-photo-pair img { width: 100%; max-height: none; object-fit: contain; }.story-card-double { grid-template-columns: 1.1fr .9fr; }
.empty-story { display: grid; grid-template-columns: 170px 1fr; align-items: stretch; background: #f6d5d8; }.empty-story > span { display: grid; place-items: center; color: var(--berry); background: rgba(255,255,255,.32); font: 400 4rem var(--serif); }.final-story { background: #cbdfe6; }

.gallery-view { min-height: calc(100dvh - 88px); padding: 72px max(18px,calc((100vw - 1120px)/2)) 110px; background: radial-gradient(circle at 92% 5%, #f4cbd2 0, transparent 25%), #fff9f5; }
.gallery-intro { margin-bottom: 54px; }
.gallery-intro h2 { margin: 0; font: 400 clamp(3.4rem,6vw,6rem)/.92 var(--serif); letter-spacing: -.04em; }
.gallery-intro h2 em { color: var(--berry); font-weight: 400; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; align-items: start; }
.gallery-grid figure { margin: 0; overflow: hidden; aspect-ratio: .8; background: #f4e5e3; }
.gallery-grid figure:nth-child(3n+2) { aspect-ratio: 1; }
.gallery-grid figure:nth-child(5n) { aspect-ratio: .72; }
.gallery-grid img { width: 100%; height: 100%; object-fit: contain; }

.quiz-panel { background: radial-gradient(circle at 14% 14%, #f5c7cf 0, transparent 27%), radial-gradient(circle at 86% 90%, #cbdfe7 0, transparent 28%), #fff9f5; }
.quiz-shell { width: min(calc(100% - 40px), 1120px); min-height: calc(100dvh - 88px); display: grid; place-items: center; margin: 0 auto; padding: 60px 0 80px; }
.quiz-screen { display: none; width: 100%; }.quiz-screen.is-active { display: grid; animation: stepIn .55s both; }
.quiz-welcome { grid-template-columns: 1fr .8fr; align-items: center; gap: 8vw; }
.quiz-intro-copy h2, .quiz-result h2 { margin: 0; font: 400 clamp(3.8rem, 6.2vw, 6.4rem)/.91 var(--serif); letter-spacing: -.045em; }.quiz-intro-copy h2 em, .quiz-result h2 em { color: var(--berry); font-weight: 400; }
.quiz-intro-copy > p:not(.eyebrow) { max-width: 530px; margin: 30px 0; color: rgba(75,23,41,.64); line-height: 1.7; }
.quiz-meta { display: flex; gap: 30px; margin: 35px 0; }.quiz-meta span { display: flex; flex-direction: column; color: rgba(75,23,41,.58); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }.quiz-meta b { color: var(--ink); font: 400 2.3rem var(--serif); letter-spacing: 0; }
.quiz-start { width: min(100%, 370px); }
.locked-prize { position: relative; min-height: 510px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(142,21,59,.13); border-radius: 38px; background: rgba(255,255,255,.53); box-shadow: var(--shadow); text-align: center; overflow: hidden; }
.locked-prize::before { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(179,40,85,.13); border-radius: 50%; box-shadow: 0 0 0 40px rgba(179,40,85,.04), 0 0 0 80px rgba(179,40,85,.025); }
.gift-box, .gift-lid { position: relative; z-index: 1; background: var(--berry); box-shadow: 0 18px 45px rgba(142,21,59,.22); }
.gift-box { width: 180px; height: 145px; display: grid; place-items: center; border-radius: 12px 12px 22px 22px; }.gift-lid { width: 202px; height: 42px; margin-bottom: -2px; border-radius: 12px 12px 6px 6px; }
.gift-box i, .gift-lid i { position: absolute; left: 50%; width: 30px; height: 100%; transform: translateX(-50%); background: #ffc6d0; }.gift-box b { position: relative; z-index: 2; color: white; font: 400 3rem var(--serif); }
.locked-prize p { z-index: 1; margin: 32px 0 3px; font: 400 1.7rem var(--serif); }.locked-prize small { z-index: 1; opacity: .55; }
.prize-sparkle { position: absolute; color: var(--berry); animation: bob 2s infinite; }.ps-one { top: 18%; left: 19%; }.ps-two { right: 16%; bottom: 22%; animation-delay: -.7s; }
.quiz-game { max-width: 820px; }
.quiz-progress-wrap { margin-bottom: 22px; }.quiz-progress-copy { display: flex; justify-content: space-between; margin-bottom: 10px; color: rgba(75,23,41,.6); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }.quiz-progress-copy b { color: var(--berry); font-weight: 600; }.quiz-progress { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(142,21,59,.1); }.quiz-progress i { display: block; width: 10%; height: 100%; border-radius: inherit; background: var(--berry); transition: width .45s ease; }
.question-card { padding: 58px; border: 1px solid rgba(255,255,255,.8); border-radius: 35px; background: rgba(255,253,251,.78); box-shadow: var(--shadow); backdrop-filter: blur(14px); }.question-kicker { margin: 0 0 14px; color: var(--berry); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }.question-card h2 { max-width: 690px; min-height: 118px; margin: 0 0 35px; font: 400 clamp(2.4rem, 4vw, 3.6rem)/1.02 var(--serif); }
.answer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.answer-option { min-height: 64px; display: flex; align-items: center; gap: 13px; padding: 12px 17px; border: 1px solid rgba(75,23,41,.13); border-radius: 17px; background: white; text-align: left; cursor: pointer; transition: border .2s, background .2s, transform .2s; }.answer-option:hover { transform: translateY(-2px); border-color: rgba(179,40,85,.45); }.answer-option i { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(75,23,41,.14); border-radius: 50%; color: var(--berry); font-style: normal; font-size: .76rem; }.answer-option.is-correct { border-color: var(--berry); background: #fce1e5; }.answer-option.is-wrong { opacity: .55; background: #f1e8e6; }.answer-option:disabled { cursor: default; transform: none; }
.answer-feedback { min-height: 27px; margin: 17px 0 8px; color: var(--berry); font-size: .9rem; }.next-question { width: 100%; }.next-question:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.quiz-result { max-width: 880px; justify-items: center; text-align: center; }.quiz-result .eyebrow { margin-bottom: 17px; }.result-score { margin: 25px 0 35px; color: rgba(75,23,41,.62); }.prize-voucher { width: min(100%, 760px); overflow: hidden; border: 1px solid rgba(142,21,59,.18); border-radius: 28px; background: white; box-shadow: var(--shadow); }.prize-voucher img { display: block; width: 100%; height: auto; }.prize-voucher-copy { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 24px 28px 27px; border-top: 1px solid rgba(142,21,59,.12); }.prize-voucher-copy small { color: var(--berry); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }.prize-voucher-copy strong { font: 400 clamp(1.8rem,4vw,2.8rem)/1 var(--serif); }.prize-voucher-copy span { color: rgba(75,23,41,.54); font-size: .78rem; }
.ticket-stub { min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px; color: white; background: var(--wine); }.ticket-stub span { writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .25em; }.ticket-stub b { font-size: 1.4rem; }.ticket-main { display: flex; flex-direction: column; justify-content: center; padding: 35px 42px; border-left: 1px dashed rgba(75,23,41,.22); }.ticket-main small { color: var(--berry); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }.ticket-main strong { margin: 7px 0; font: 400 2.7rem/1 var(--serif); }.ticket-main p { margin: 0 0 20px; color: rgba(75,23,41,.62); }.ticket-main span { font-size: .72rem; opacity: .54; }.mockup-note { margin: 22px 0; color: rgba(75,23,41,.5); font-size: .78rem; }.outline-button { min-height: 48px; padding: 0 24px; border: 1px solid rgba(75,23,41,.22); border-radius: 99px; background: transparent; cursor: pointer; }.confetti-field { position: absolute; inset: 110px 5% auto; display: flex; justify-content: space-between; pointer-events: none; }.confetti-field i { color: var(--berry); font-style: normal; animation: bob 1.8s infinite; }.confetti-field i:nth-child(2n) { color: #8aaebe; animation-delay: -.7s; }.confetti-field i:nth-child(3) { animation-delay: -1.2s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }.reveal.is-revealed { opacity: 1; transform: none; }
body.panel-open, body.celebration-open, body.gift-open { overflow: hidden; }

.food-launcher { position: fixed; z-index: 65; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 6px 13px 6px 7px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; color: white; background: rgba(142,21,59,.93); box-shadow: 0 12px 36px rgba(75,23,41,.26); backdrop-filter: blur(12px); cursor: pointer; transition: transform .25s, background .25s; }
.site[aria-hidden="true"] ~ .food-launcher { opacity: 0; visibility: hidden; pointer-events: none; }
.food-launcher:hover { transform: translateY(-3px); }.food-launcher.is-active { background: #5b1730; }.food-launcher.is-active > i { transform: rotate(45deg); }
.food-launcher-art { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: #fff6f1; overflow: hidden; }.food-launcher-art img { width: 42px; height: 42px; object-fit: contain; }
.food-launcher-copy { display: flex; flex-direction: column; align-items: flex-start; }.food-launcher-copy small { color: #f7cbd3; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }.food-launcher-copy b { font: 400 1rem var(--serif); }.food-launcher > i { margin-left: 5px; font-style: normal; font-size: 1.2rem; transition: transform .3s; }
.food-flight-layer { position: fixed; z-index: 55; inset: 0; overflow: hidden; pointer-events: none; }.food-sprite { position: fixed; left: 0; top: 0; width: var(--size); height: var(--size); padding: 0; border: 0; background: transparent; filter: drop-shadow(0 12px 12px rgba(75,23,41,.2)); cursor: pointer; pointer-events: auto; animation: foodFlight var(--duration) cubic-bezier(.3,.06,.65,.95) forwards; }.food-sprite img { width: 100%; height: 100%; object-fit: contain; }.food-sprite:hover { animation-play-state: paused; filter: drop-shadow(0 15px 16px rgba(75,23,41,.35)); }
.food-eaten { position: fixed; z-index: 2; transform: translate(-50%,-50%); padding: 8px 13px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; color: white; background: rgba(142,21,59,.94); box-shadow: 0 9px 28px rgba(75,23,41,.24); font: 600 .78rem/1 var(--sans); letter-spacing: .04em; pointer-events: none; animation: foodEaten .9s ease-out forwards; }

.footer-gift-button { position: absolute; right: max(28px, env(safe-area-inset-right)); bottom: max(28px, env(safe-area-inset-bottom)); width: 58px; height: 58px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.5); color: white; background: transparent; cursor: pointer; transition: color .22s, background .22s, transform .22s; }
.footer-gift-button svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.footer-gift-button:hover { color: var(--ink); background: white; transform: translateY(-3px); }
.footer-gift-button:focus-visible { outline: 3px solid #f3a8b8; outline-offset: 4px; }
.footer-gift-button.is-active { animation: footerGiftPulse .5s cubic-bezier(.2,.8,.25,1); }
.footer-gift-button:disabled { cursor: wait; }
@keyframes footerGiftPulse { 45% { transform: scale(1.15) rotate(5deg); background: rgba(255,255,255,.16); } }
.gift-flight-layer { position: fixed; z-index: 56; inset: 0; overflow: hidden; pointer-events: none; }.gift-sprite { position: fixed; left: 0; top: 0; width: var(--size); height: var(--gift-height); padding: 0; border: 0; background: transparent; filter: drop-shadow(0 18px 14px rgba(75,23,41,.24)); cursor: pointer; pointer-events: auto; animation: foodFlight var(--duration) cubic-bezier(.3,.06,.65,.95) forwards; }.gift-sprite img { width: 100%; height: 100%; object-fit: contain; }.gift-sprite:hover { animation-play-state: paused; filter: drop-shadow(0 22px 18px rgba(75,23,41,.38)); }
.gift-surprise { position: fixed; z-index: 2; transform: translate(-50%,-50%); padding: 10px 15px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; color: white; background: rgba(142,21,59,.96); box-shadow: 0 9px 28px rgba(75,23,41,.24); font: 600 .78rem/1 var(--sans); letter-spacing: .04em; white-space: nowrap; pointer-events: none; animation: giftSurprise 1.2s ease-out forwards; }
.gift-modal { position: fixed; z-index: 160; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(24,8,14,.86); backdrop-filter: blur(10px); }
.gift-modal[hidden] { display: none; }
.gift-modal-card { position: relative; width: min(92vw, 670px); max-height: calc(100dvh - 48px); overflow: auto; padding: 48px 48px 42px; border: 1px solid rgba(142,21,59,.2); color: var(--ink); background: #fff9f5; box-shadow: 18px 18px 0 rgba(142,21,59,.18); text-align: center; animation: giftModalIn .5s cubic-bezier(.2,.8,.25,1) both; }
.gift-modal-card > p { margin: 0 0 15px; color: var(--berry); font-size: .68rem; font-weight: 700; letter-spacing: .22em; }
.gift-modal-card h2 { margin: 0; font: 400 clamp(2.65rem,6vw,5.4rem)/.9 var(--serif); letter-spacing: -.04em; }
.gift-modal-card h2 em { color: var(--berry); font-weight: 400; }
.gift-modal-card figure { width: min(100%, 500px); margin: 32px auto 0; }
.gift-modal-card img { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(75,23,41,.2)); }
.gift-modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 1px solid rgba(75,23,41,.24); color: var(--ink); background: transparent; font: 300 1.8rem/1 var(--sans); cursor: pointer; }
@keyframes giftModalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }

/* Preserve every photograph's original aspect ratio instead of cropping it. */
.rail-photo img,
.cluster-image img,
.map-cluster-image img,
.memory-pin img,
.memory-popup-photos img,
.map-memory img,
.preview-memory img,
.story-card-photo img,
.story-photo-pair img,
.gallery-grid img { object-fit: contain; }

.map-cluster-image img { height: auto; aspect-ratio: auto; }
.map-photo-cluster.has-focus .map-cluster-image.is-focused { width: min(58vw, 360px); }

.memory-popup-photos { height: auto; display: block; }
.memory-popup-photos img { display: block; width: 100%; height: auto; max-height: 62vh; }

.story-card-photo > img,
.story-photo-pair img { width: 100%; height: auto; max-height: none; align-self: start; }
.story-photo-pair { height: auto; align-items: start; }

.gallery-grid { display: block; columns: 4; column-gap: 5px; }
.gallery-grid figure,
.gallery-grid figure:nth-child(3n+2),
.gallery-grid figure:nth-child(5n) { margin: 0 0 5px; aspect-ratio: auto; break-inside: avoid; }
.gallery-grid img { display: block; width: 100%; height: auto; }

.image-lightbox { position: fixed; z-index: 140; inset: 0; display: grid; place-items: center; padding: 54px 24px 28px; background: rgba(24,8,14,.94); backdrop-filter: blur(8px); }
.image-lightbox[hidden] { display: none; }
.image-lightbox figure { max-width: calc(100vw - 48px); max-height: calc(100dvh - 82px); display: grid; justify-items: center; gap: 12px; margin: 0; }
.image-lightbox img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 125px); object-fit: contain; }
.image-lightbox figcaption { max-width: min(720px, 90vw); color: rgba(255,255,255,.8); font-size: .82rem; line-height: 1.4; text-align: center; }
.image-lightbox-close { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); color: white; background: transparent; font: 300 2rem/1 var(--sans); cursor: pointer; }

/* Birthday pill celebration */
.birthday-celebration { position: fixed; z-index: 150; inset: 0; overflow: hidden; color: white; background: radial-gradient(circle at 50% 42%, rgba(173,47,85,.92), rgba(50,10,25,.97) 68%); backdrop-filter: blur(12px); }
.birthday-celebration[hidden] { display: none; }
.celebration-stage { position: relative; width: 100%; height: 100%; min-height: 100dvh; overflow: hidden; isolation: isolate; }
.celebration-close { position: absolute; z-index: 10; top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.56); border-radius: 50%; color: white; background: rgba(35,5,16,.22); cursor: pointer; font: 300 2rem/1 var(--sans); backdrop-filter: blur(8px); transition: transform .2s ease, background .2s ease; }
.celebration-close:hover { transform: rotate(6deg) scale(1.06); background: rgba(255,255,255,.16); }
.celebration-copy { position: absolute; z-index: 5; inset: 50% auto auto 50%; width: min(62vw, 900px); transform: translate(-50%,-50%) rotate(-2deg); text-align: center; pointer-events: none; text-shadow: 0 3px 24px rgba(42,3,16,.42); }
.celebration-copy p { margin: 0 0 8px; font: 700 .72rem/1 var(--sans); letter-spacing: .28em; }
.celebration-copy h2 { margin: 0; font: 400 clamp(4rem,10vw,9.5rem)/.76 var(--serif); letter-spacing: -.055em; }
.celebration-copy h2 em { color: #ffd3db; font-weight: 400; }
.celebration-copy span { display: inline-block; margin-top: 24px; font: 600 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.celebration-photo { --photo-rotation: -5deg; --float-x: 9px; --float-y: -12px; position: absolute; z-index: 4; width: min(24vw, 320px); margin: 0; padding: 7px 7px 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.9); background: #fffaf6; box-shadow: 0 22px 70px rgba(24,2,10,.38); transform: rotate(var(--photo-rotation)); cursor: default; }
.celebration-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cp-one { top: 7%; left: 5%; --photo-rotation: -8deg; --float-x: 10px; --float-y: -11px; }
.cp-two { top: 6%; right: 5%; --photo-rotation: 7deg; --float-x: -8px; --float-y: -13px; }
.cp-three { bottom: 5%; left: 10%; --photo-rotation: 5deg; --float-x: -10px; --float-y: 9px; }
.cp-four { right: 9%; bottom: 4%; --photo-rotation: -6deg; --float-x: 9px; --float-y: 12px; }
.is-celebrating .celebration-photo { animation: celebration-pop .65s both cubic-bezier(.2,.82,.25,1.18), celebration-float 4.5s .7s ease-in-out infinite alternate; }
.is-celebrating .cp-two { animation-delay: .1s, .8s; animation-duration: .65s, 5s; }
.is-celebrating .cp-three { animation-delay: .2s, .9s; animation-duration: .65s, 4.7s; }
.is-celebrating .cp-four { animation-delay: .3s, 1s; animation-duration: .65s, 5.2s; }
@keyframes celebration-pop { from { opacity: 0; transform: scale(.68) rotate(-14deg); } to { opacity: 1; transform: scale(1) rotate(var(--photo-rotation)); } }
@keyframes celebration-float { from { transform: translate(0,0) rotate(var(--photo-rotation)); } to { transform: translate(var(--float-x),var(--float-y)) rotate(calc(var(--photo-rotation) + 2deg)); } }
.celebration-confetti { position: absolute; z-index: 8; inset: 0; overflow: hidden; pointer-events: none; }
.celebration-confetti i { --confetti-x: 5%; --confetti-delay: 0s; --confetti-duration: 5s; position: absolute; top: -12vh; left: var(--confetti-x); color: #ffd05d; font: 700 1.05rem/1 var(--sans); opacity: .95; animation: confetti-fall var(--confetti-duration) var(--confetti-delay) linear infinite; }
.celebration-confetti i:nth-child(4n+2) { color: #ffb6c6; }
.celebration-confetti i:nth-child(4n+3) { color: #fff5e9; }
.celebration-confetti i:nth-child(4n) { color: #e26085; }
.celebration-confetti i:nth-child(1) { --confetti-x: 3%; --confetti-delay: -.7s; }.celebration-confetti i:nth-child(2) { --confetti-x: 8%; --confetti-delay: -3.2s; --confetti-duration: 6s; }.celebration-confetti i:nth-child(3) { --confetti-x: 13%; --confetti-delay: -1.6s; }.celebration-confetti i:nth-child(4) { --confetti-x: 18%; --confetti-delay: -4.2s; --confetti-duration: 6.4s; }.celebration-confetti i:nth-child(5) { --confetti-x: 23%; --confetti-delay: -2.1s; }.celebration-confetti i:nth-child(6) { --confetti-x: 28%; --confetti-delay: -.2s; --confetti-duration: 5.6s; }.celebration-confetti i:nth-child(7) { --confetti-x: 33%; --confetti-delay: -3.7s; }.celebration-confetti i:nth-child(8) { --confetti-x: 38%; --confetti-delay: -1.2s; --confetti-duration: 6.2s; }.celebration-confetti i:nth-child(9) { --confetti-x: 43%; --confetti-delay: -4.6s; }.celebration-confetti i:nth-child(10) { --confetti-x: 48%; --confetti-delay: -2.5s; --confetti-duration: 5.7s; }.celebration-confetti i:nth-child(11) { --confetti-x: 53%; --confetti-delay: -.9s; }.celebration-confetti i:nth-child(12) { --confetti-x: 58%; --confetti-delay: -4s; --confetti-duration: 6.5s; }.celebration-confetti i:nth-child(13) { --confetti-x: 63%; --confetti-delay: -1.8s; }.celebration-confetti i:nth-child(14) { --confetti-x: 68%; --confetti-delay: -3.1s; --confetti-duration: 5.8s; }.celebration-confetti i:nth-child(15) { --confetti-x: 73%; --confetti-delay: -.4s; }.celebration-confetti i:nth-child(16) { --confetti-x: 78%; --confetti-delay: -4.8s; --confetti-duration: 6.3s; }.celebration-confetti i:nth-child(17) { --confetti-x: 82%; --confetti-delay: -2.3s; }.celebration-confetti i:nth-child(18) { --confetti-x: 86%; --confetti-delay: -3.6s; --confetti-duration: 5.5s; }.celebration-confetti i:nth-child(19) { --confetti-x: 90%; --confetti-delay: -1s; }.celebration-confetti i:nth-child(20) { --confetti-x: 94%; --confetti-delay: -4.4s; --confetti-duration: 6.1s; }.celebration-confetti i:nth-child(21) { --confetti-x: 16%; --confetti-delay: -2.8s; }.celebration-confetti i:nth-child(22) { --confetti-x: 36%; --confetti-delay: -5s; --confetti-duration: 6.6s; }.celebration-confetti i:nth-child(23) { --confetti-x: 61%; --confetti-delay: -1.4s; }.celebration-confetti i:nth-child(24) { --confetti-x: 88%; --confetti-delay: -3.9s; --confetti-duration: 5.9s; }
@keyframes confetti-fall { 0% { transform: translate3d(0,-8vh,0) rotate(0); } 100% { transform: translate3d(35px,124vh,0) rotate(620deg); } }

@media (max-width: 760px) {
  .celebration-copy { width: 92vw; }
  .celebration-copy h2 { font-size: clamp(3.2rem,17vw,5.6rem); line-height: .8; }
  .celebration-copy p { font-size: .6rem; }
  .celebration-copy span { margin-top: 15px; font-size: .58rem; }
  .celebration-photo { width: 39vw; max-width: 180px; padding: 4px 4px 12px; }
  .cp-one { top: 8%; left: 3%; }.cp-two { top: 13%; right: 3%; }.cp-three { bottom: 7%; left: 4%; }.cp-four { right: 4%; bottom: 9%; }
}

@keyframes foodFlight {
  0% { opacity: 0; transform: translate3d(var(--start-x), var(--start-y), 0) rotate(var(--start-r)) scale(.8); }
  9% { opacity: 1; }
  48% { opacity: 1; transform: translate3d(var(--mid-x), var(--mid-y), 0) rotate(var(--mid-r)) scale(1.08); }
  91% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--end-x), var(--end-y), 0) rotate(var(--end-r)) scale(.88); }
}
@keyframes foodEaten {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.55); }
  22% { opacity: 1; transform: translate(-50%,-62%) scale(1.08); }
  100% { opacity: 0; transform: translate(-50%,-125%) scale(.94); }
}
@keyframes giftSurprise {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.55); }
  22% { opacity: 1; transform: translate(-50%,-68%) scale(1.08); }
  100% { opacity: 0; transform: translate(-50%,-155%) scale(.94); }
}

@keyframes drift { to { transform: translate(7%, 9%) scale(1.08); } }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes shake { 25% { transform: translateX(-7px); } 50% { transform: translateX(7px); } 75% { transform: translateX(-4px); } }
@keyframes bob { 50% { transform: translateY(6px); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(35px) scale(.985); } }
@keyframes mapClusterOpen { from { opacity: 0; transform: translate(-50%,-50%) rotate(0) scale(.42); } }
@keyframes clusterOrbit {
  0% { transform: translate(-50%, calc(-50% - var(--orbit-y))) rotate(calc(var(--open-rotation) - 1.4deg)); }
  25% { transform: translate(calc(-50% + var(--orbit-x)), -50%) rotate(calc(var(--open-rotation) + 1.8deg)); }
  50% { transform: translate(-50%, calc(-50% + var(--orbit-y))) rotate(calc(var(--open-rotation) + .4deg)); }
  75% { transform: translate(calc(-50% - var(--orbit-x)), -50%) rotate(calc(var(--open-rotation) - 1.9deg)); }
  100% { transform: translate(-50%, calc(-50% - var(--orbit-y))) rotate(calc(var(--open-rotation) - 1.4deg)); }
}

@media (prefers-reduced-motion: reduce) {
  .physics-cluster.is-expanded .cluster-image { animation: none; }
}

@media (max-width: 760px) {
  .gate { padding: 14px; }.gate::before { inset: 8px; border-radius: 25px; }.gate-card { min-height: 470px; padding: 52px 25px 34px; border-radius: 30px; }.gate-card h1 { font-size: 3.35rem; }
  .floating-header { width: calc(100% - 24px); }.brand-pill { max-width: calc(100vw - 142px); padding: 0 13px; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.sound-pill { display: none; }.quiz-pill { width: 118px; padding: 0 13px; justify-content: center; }.quiz-pill b { font-size: .7rem; }
  .section { min-height: auto; padding: 118px 18px 90px; }
  .hero { min-height: 100svh; display: block; padding-top: 126px; }.hero h1 { font-size: clamp(3.25rem, 14vw, 4.75rem); }.hero-note { margin: 25px 0 40px; max-width: 92%; }.mosaic-one { width: calc(100vw - 18px); height: 410px; margin-right: -18px; padding-right: 18px; gap: 3px; }.rail-photo { width: 142px; min-width: 142px; }.rail-photo.rail-tall { width: 205px; min-width: 205px; }.rail-photo.rail-wide { width: 225px; min-width: 225px; }.rail-photo.rail-narrow { width: 120px; min-width: 120px; }.gallery-all { width: 66px; min-width: 66px; }.scroll-cue { display: none; }
  .explore { padding-top: 95px; }.section-heading { margin-bottom: 45px; }.section-heading h2, .together h2, .timeline-intro h2 { font-size: 3.6rem; }.story-choices { grid-template-columns: 1fr; }.experience-card { min-height: 520px; border-radius: 27px; }.planet-shell { width: 88%; }.timeline-preview { height: 330px; }.preview-memory { width: 156px; }.preview-memory img { height: 96px; }.card-copy strong { font-size: 2.7rem; }.card-action { font-size: 0; }.card-action i { font-size: .84rem; }
  .together { display: block; padding-top: 100px; }.together-copy { margin-bottom: 38px; }.memory-clusters { gap: 12px; }.physics-cluster { height: 330px; }.physics-cluster.is-expanded { height: 520px; }.physics-cluster.has-focus .cluster-image.is-focused { width: min(76%, 390px); }.cluster-image { --open-size: 27%; }.cluster-image:nth-child(1) { --compact-size: 44%; --open-left: 16%; --open-top: 18%; }.cluster-image:nth-child(2) { --compact-size: 35%; --open-left: 50%; --open-top: 17%; }.cluster-image:nth-child(3) { --compact-size: 42%; --open-left: 84%; --open-top: 19%; }.cluster-image:nth-child(4) { --compact-size: 40%; --open-left: 16%; --open-top: 50%; }.cluster-image:nth-child(5) { --compact-size: 31%; --open-left: 50%; --open-top: 49%; }.cluster-image:nth-child(6) { --compact-size: 36%; --open-left: 84%; --open-top: 50%; }.cluster-image:nth-child(7) { --compact-size: 33%; --open-left: 16%; --open-top: 82%; }.cluster-image:nth-child(8) { --compact-size: 38%; --open-left: 50%; --open-top: 81%; }.cluster-image:nth-child(9) { --compact-size: 31%; --open-left: 84%; --open-top: 82%; }
  .cluster-thirteen .cluster-image { --open-size: 18%; }
  .cluster-twelve .cluster-image { --open-size: 19%; }
  footer { min-height: 48svh; } footer p { font-size: 2rem; }
  .panel-topbar { height: 82px; padding-left: 14px; padding-right: 14px; }.panel-count { display: none; }.map-canvas { height: calc(100dvh - 136px); }
  .timeline-view { padding: 70px 20px 90px; }.timeline-intro { margin-bottom: 55px; }.storyline::before { left: 8px; }.storyline li { display: block; margin-left: 35px; }.storyline li::before { left: -33px; }.story-date { display: block; margin-bottom: 13px; text-align: left; }.story-card-photo { grid-template-columns: 1fr; }.story-card-photo > img { width: 100%; height: 300px; }.story-photo-pair { height: 300px; }.story-card > div { padding: 28px; }.story-card h3 { font-size: 1.9rem; }.empty-story { grid-template-columns: 90px 1fr; }.empty-story > span { font-size: 2.5rem; }
  .gallery-view { padding: 55px 12px 80px; }.gallery-intro { padding: 0 8px; margin-bottom: 38px; }.gallery-intro h2 { font-size: 3.45rem; }.gallery-grid { grid-template-columns: repeat(2,1fr); gap: 3px; }
  .quiz-shell { width: calc(100% - 30px); min-height: calc(100dvh - 82px); padding: 35px 0 70px; }.quiz-welcome { grid-template-columns: 1fr; gap: 38px; }.quiz-intro-copy h2, .quiz-result h2 { font-size: 3.5rem; }.quiz-meta { justify-content: space-between; gap: 12px; }.quiz-meta b { font-size: 1.9rem; }.locked-prize { min-height: 420px; }.question-card { padding: 30px 20px; border-radius: 27px; }.question-card h2 { min-height: 0; margin-bottom: 27px; font-size: 2.45rem; }.answer-list { grid-template-columns: 1fr; }.answer-option { min-height: 58px; }.prize-ticket { grid-template-columns: 76px 1fr; }.prize-ticket::before, .prize-ticket::after { left: 61px; }.ticket-stub { min-height: 250px; }.ticket-main { padding: 28px 22px; }.ticket-main strong { font-size: 2rem; }.confetti-field { top: 90px; }
}

/* Editorial redesign — straighter, quieter, more like a printed love album. */
body { background-color: #fff9f5; background-image: linear-gradient(rgba(142,21,59,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(142,21,59,.025) 1px, transparent 1px); background-size: 38px 38px; }

.gate { background: linear-gradient(118deg, #fffaf6 0 51%, #f1c7ce 51% 100%); }
.gate::before { inset: 18px; border-radius: 0; border-color: rgba(75,23,41,.23); }
.gate-card { border-radius: 2px; border: 1px solid rgba(75,23,41,.2); background: rgba(255,250,247,.88); box-shadow: 18px 18px 0 rgba(142,21,59,.1); backdrop-filter: blur(10px); }
.tiny-heart { border-radius: 2px; box-shadow: none; transform: rotate(45deg); }
.tiny-heart::first-letter { display: inline-block; transform: rotate(-45deg); }
.primary-button { border-radius: 2px; box-shadow: none; letter-spacing: .025em; }
.text-button { border-bottom: 1px solid rgba(75,23,41,.28); }
.back-button, .close-panel { border-radius: 2px; background: transparent; }
.password-wrap { border-radius: 2px; }

.floating-header { top: max(16px, env(safe-area-inset-top)); left: 50%; width: min(calc(100% - 32px), 1100px); height: auto; padding: 0; transform: translateX(-50%); border: 0; background: transparent; backdrop-filter: none; }
.brand-pill, .quiz-pill { min-height: 45px; border-radius: 999px; border: 1px solid rgba(255,255,255,.86); box-shadow: 0 8px 30px rgba(75,23,41,.1); backdrop-filter: blur(18px); }
.brand-pill { padding: 0 18px; background: rgba(255,249,245,.84); font-size: 1rem; }
.brand-pill span { width: auto; height: auto; display: inline; border: 0; }
.quiz-pill { padding: 0 18px; border-color: rgba(255,255,255,.7); color: white; background: rgba(142,21,59,.9); }
.quiz-pill:hover { color: white; background: #73102f; }

.section { border-bottom: 1px solid rgba(75,23,41,.12); }
.hero { background: linear-gradient(90deg, #fffaf7 0 49.95%, rgba(142,21,59,.1) 50%, #f8e8e7 50.05%); }
.hero::before { left: 1vw; bottom: 4vh; font-size: 12vw; }
.hero-copy { padding-right: 2vw; }
.hero-note { margin-left: 0; padding-left: 22px; border-left: 1px solid var(--berry); }
.rail-photo { border-radius: 1px; box-shadow: none; }
.scroll-cue i { border-radius: 0; }

.explore { background: #991c42; }
.story-choices { gap: 1px; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.32); }
.experience-card { min-height: 640px; border: 0; border-radius: 0; box-shadow: none; }
.experience-card:hover { transform: translateY(-4px); box-shadow: none; }
.card-number { top: 0; right: 0; width: 52px; height: 52px; border-width: 0 0 1px 1px; border-radius: 0; }
.card-copy { inset: auto 30px 30px; padding-top: 18px; border-top: 1px solid currentColor; }
.card-action i { border-radius: 0; }
.planet-dot { border-radius: 0; transform: rotate(45deg); }
.memory-dot { border-radius: 2px; box-shadow: none; transform: rotate(3deg); }
.md-two { transform: rotate(-4deg); }.md-three { transform: rotate(2deg); }

.together { background: rgba(255,249,245,.96); }
.mosaic-note { border-radius: 0; }
footer { border-top: 1px solid rgba(255,255,255,.18); }
.footer-heart { border-radius: 0; transform: rotate(45deg); }

.panel-topbar { border-radius: 0; }
.map-memory { border-radius: 2px; border-color: rgba(75,23,41,.23); box-shadow: 10px 10px 0 rgba(75,23,41,.1); }
.map-memory img { border-radius: 0; }
.story-card { border-radius: 2px; border: 1px solid rgba(75,23,41,.13); box-shadow: none; }
.storyline li::before { border-radius: 0; transform: rotate(45deg); }

.quiz-welcome { gap: 6vw; }
.locked-prize { border-radius: 2px; border-color: rgba(75,23,41,.2); box-shadow: 14px 14px 0 rgba(142,21,59,.09); }
.gift-box { border-radius: 0; }.gift-lid { border-radius: 0; }
.quiz-progress, .quiz-progress i { border-radius: 0; }
.question-card { border-radius: 2px; border-color: rgba(75,23,41,.17); box-shadow: 14px 14px 0 rgba(142,21,59,.08); backdrop-filter: none; }
.answer-option { border-radius: 1px; }
.answer-option i { border-radius: 0; }
.prize-ticket, .prize-voucher { border-radius: 2px; box-shadow: 14px 14px 0 rgba(142,21,59,.09); }
.outline-button { border-radius: 1px; }

@media (max-width: 760px) {
  .gate { background: linear-gradient(165deg, #fffaf6 0 65%, #f1c7ce 65%); }.gate::before { inset: 8px; border-radius: 0; }.gate-card { border-radius: 1px; box-shadow: 9px 9px 0 rgba(142,21,59,.1); }
  .floating-header { top: max(10px, env(safe-area-inset-top)); width: calc(100% - 20px); height: auto; padding: 0; }.brand-pill { max-width: calc(100vw - 142px); padding: 0 13px; font-size: .84rem; }.brand-pill span { width: auto; height: auto; }.quiz-pill { width: 118px; padding: 0 12px; }
  .hero { padding-top: 112px; background: linear-gradient(180deg, #fffaf7 0 46%, #f8e8e7 46%); }.hero-copy { padding-right: 0; }.hero-note { padding-left: 15px; }
  .rail-photo { border-radius: 0; }.story-choices { grid-template-columns: 1fr 1fr; gap: 4px; border: 0; background: transparent; }.experience-card { min-height: 390px; padding: 12px; border-radius: 0; }.earth-card .planet-shell { width: 112%; margin-left: -6%; margin-top: 42px; }.timeline-preview { height: 250px; margin-top: 42px; }.preview-memory { width: 105px; padding: 5px 5px 8px; box-shadow: 5px 6px 0 rgba(142,21,59,.09); }.preview-memory img { height: 70px; }.preview-memory figcaption { padding-top: 5px; gap: 4px; }.preview-memory figcaption b { font-size: .8rem; }.preview-memory figcaption span { font-size: .48rem; }.pm-one { left: -4%; }.pm-two { top: 78px; right: -5%; }.pm-three { left: -2%; }.preview-memory::after { width: 18px; }.card-number { width: 38px; height: 38px; }.card-copy { inset: auto 13px 14px; padding-top: 10px; }.card-copy strong { font-size: 1.72rem; }.card-kicker { font-size: .58rem; letter-spacing: .1em; }.card-action { display: none; }
  .question-card { border-radius: 1px; padding: 30px 20px; box-shadow: 8px 8px 0 rgba(142,21,59,.08); }.locked-prize { border-radius: 1px; box-shadow: 8px 8px 0 rgba(142,21,59,.09); }.prize-ticket, .prize-voucher { border-radius: 1px; box-shadow: 8px 8px 0 rgba(142,21,59,.09); }
  .food-launcher { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 54px; padding: 5px 11px 5px 6px; }.food-launcher-art { width: 42px; height: 42px; }.food-launcher-art img { width: 39px; height: 39px; }.food-launcher-copy small { display: none; }
  .footer-gift-button { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 52px; height: 52px; }.footer-gift-button svg { width: 26px; height: 26px; }.gift-modal { padding: 16px; }.gift-modal-card { width: 100%; padding: 48px 20px 30px; box-shadow: 9px 9px 0 rgba(142,21,59,.18); }.gift-modal-card h2 { font-size: clamp(2.35rem,12vw,3.6rem); }.gift-modal-card figure { margin-top: 24px; }
  .story-card-photo > img { height: auto; }
  .story-photo-pair { height: auto; }
  .gallery-grid { display: block; columns: 2; column-gap: 3px; }
  .gallery-grid figure { margin-bottom: 3px; }
  .map-photo-cluster.has-focus .map-cluster-image.is-focused { width: min(76vw, 330px); }
}

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

/* Natural, tightly packed photo mosaic for the landing. */
.mosaic-one { display: flex; align-items: flex-start; gap: 4px; height: min(55vw, 610px); overflow-x: auto; overflow-y: hidden; padding-bottom: 8px; }
.mosaic-stack { flex: 0 0 clamp(180px, 18vw, 210px); display: flex; flex-direction: column; gap: 4px; }
.rail-photo,
.rail-photo.rail-tall,
.rail-photo.rail-wide,
.rail-photo.rail-narrow { display: block; width: 100%; min-width: 0; height: auto; margin: 0; overflow: hidden; border: 0; background: transparent; }
.rail-photo img { display: block; width: 100%; height: auto; object-fit: initial; }
.gallery-all { display: flex; width: 100%; min-width: 0; height: 116px; margin: 0; padding: 18px; flex-direction: row; align-items: center; justify-content: space-between; }
.gallery-all span { writing-mode: horizontal-tb; transform: none; font-size: 1.08rem; }
.gallery-grid figure { border: 0; background: transparent; cursor: zoom-in; }
.gallery-grid figure:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }
.gallery-grid figure:hover img { opacity: .92; }
.memory-popup-photos,
.memory-popup-photos img { background: transparent; }

@media (max-width: 760px) {
  .mosaic-one { gap: 3px; width: calc(100vw - 18px); height: 430px; margin-right: -18px; padding-right: 18px; }
  .mosaic-stack { flex-basis: 138px; gap: 3px; }
  .rail-photo,
  .rail-photo.rail-tall,
  .rail-photo.rail-wide,
  .rail-photo.rail-narrow { width: 100%; min-width: 0; margin: 0; }
  .gallery-all { width: 100%; min-width: 0; height: 100px; margin: 0; }
  .image-lightbox { padding: 58px 12px 18px; }
  .image-lightbox figure { max-width: calc(100vw - 24px); }
}
