@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
    color-scheme: light;
    --ink: #3e2528;
    --muted: #876e6c;
    --pink: #f6a9ad;
    --pink-deep: #dc7079;
    --cream: #fff8f0;
    --yellow: #ffd976;
    --orange: #f59a58;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { width: min(1200px, calc(100% - 96px)); height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.35rem; font-weight: 700; letter-spacing: -.07em; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; color: white; background: var(--pink-deep); border-radius: 10px 10px 10px 3px; font-size: .86rem; transform: rotate(-8deg); }
.brand-period { color: var(--pink-deep); }
.main-nav { display: flex; gap: 39px; margin-left: 65px; color: #765d5c; font-size: .82rem; }
.main-nav a, .site-footer a { transition: color .2s ease; }
.main-nav a:hover, .site-footer a:hover { color: var(--pink-deep); }
.nav-cta { padding: 12px 17px; border: 1px solid #eadbd3; border-radius: 30px; font-size: .77rem; font-weight: 600; transition: background .2s, border-color .2s; }
.nav-cta:hover { background: #fff0e3; border-color: var(--orange); }
.nav-cta span { padding-left: 7px; color: var(--pink-deep); }
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; width: min(1200px, calc(100% - 96px)); min-height: 625px; margin: 0 auto; padding: 18px 0 76px; }
.hero-copy { position: relative; z-index: 2; padding: 14px 0 12px 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #866d68; font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.eyebrow-line { width: 25px; height: 1px; background: var(--pink-deep); }
.eyebrow-heart { color: var(--pink-deep); font-size: .8rem; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .section-heading h2, .celebration-copy h2 { margin-bottom: 22px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(3.2rem, 5vw, 4.55rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.09; }
.hero h1 span, .section-heading h2 span, .celebration-copy h2 span { color: var(--pink-deep); font-style: italic; }
.hero-description { max-width: 425px; margin-bottom: 28px; color: var(--muted); font-size: .93rem; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 48px; padding: 0 20px; border-radius: 30px; font-size: .77rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px #6f36331a; }
.button-primary { color: white; background: var(--pink-deep); }
.button-primary span { font-size: 1rem; }
.text-link { color: #6f5554; font-size: .73rem; font-weight: 600; }
.text-link span { margin-left: 4px; color: var(--pink-deep); }
.anniversary-note { display: flex; align-items: center; gap: 12px; margin-top: 47px; color: #614b48; font-size: .76rem; line-height: 1.5; }
.anniversary-note strong { font-size: .78rem; }
.anniversary-note small { color: #a38b83; font-size: .65rem; }
.note-star { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: #fff0cf; color: #e49a31; font-size: 1.2rem; }
.hero-art { position: relative; display: grid; min-height: 475px; place-items: center; }
.art-sun { position: absolute; top: 50%; left: 51%; width: 390px; height: 390px; border-radius: 50%; background: #ffe8c0; transform: translate(-50%, -50%); }
.photo-card { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; width: 295px; height: 370px; padding: 19px; overflow: hidden; border: 8px solid #fffdf7; border-radius: 150px 150px 18px 18px; background: linear-gradient(160deg, #f8bdad 0%, #ee9a91 48%, #e47f7a 100%); box-shadow: 0 25px 55px #8b50412b; transform: rotate(3deg); }
.photo-card::before, .photo-card::after { position: absolute; content: ''; border: 1px solid #fff5e4a8; border-radius: 50%; }
.photo-card::before { width: 255px; height: 255px; top: 50px; left: 11px; }
.photo-card::after { width: 204px; height: 204px; top: 75px; left: 36px; }
.photo-topline { position: relative; z-index: 2; display: flex; justify-content: center; color: #fff8e7; font-size: .49rem; font-weight: 700; letter-spacing: .11em; }
.photo-topline span:last-child { display: none; }
.heart-doodle { position: absolute; z-index: 3; top: 96px; left: 0; display: block; width: 100%; padding: 0; border: 0; background: transparent; color: #ffe7a7; font: inherit; font-size: 7.6rem; line-height: 1.2; text-align: center; text-shadow: 0 9px 24px #8c3f3a2b; cursor: pointer; transition: transform .2s, filter .2s; }
.heart-doodle:hover { transform: scale(1.08); filter: drop-shadow(0 5px 12px #8c3f3a55); }
.heart-doodle:focus-visible { border-radius: 50%; outline: 3px solid var(--pink-deep); outline-offset: 4px; }
.photo-caption { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; color: #fff8ec; }
.photo-caption span { font-size: .65rem; letter-spacing: .08em; }
.photo-caption strong { margin: 3px 0; font-family: 'Playfair Display', Georgia, serif; font-size: 1.56rem; }
.photo-caption i { color: #ffe8a5; font-size: .95rem; }
.photo-caption small { font-size: .55rem; letter-spacing: .12em; }
.floating-sticker { position: absolute; z-index: 2; display: flex; align-items: center; background: #fffaf0; box-shadow: 0 10px 25px #713c3020; }
.sticker-love { top: 99px; right: 2px; gap: 7px; padding: 11px 15px; border-radius: 30px; color: #765351; font-family: 'Playfair Display', Georgia, serif; font-size: .78rem; transform: rotate(7deg); }
.sticker-love span { color: var(--pink-deep); font-size: .95rem; }
.sticker-date { bottom: 75px; left: 12px; gap: 8px; padding: 9px 14px; border-radius: 8px; color: #987766; font-size: .55rem; font-weight: 700; line-height: 1.35; letter-spacing: .07em; transform: rotate(-8deg); }
.date-day { color: var(--pink-deep); font-family: 'Playfair Display', Georgia, serif; font-size: 1.8rem; }
.spark, .art-flower, .doodle-heart { position: absolute; color: #e49361; }
.spark-one { top: 39px; left: 91px; font-size: 1.55rem; }.spark-two { top: 106px; left: 27px; color: var(--pink-deep); font-size: 1rem; }.spark-three { right: 47px; bottom: 74px; color: #e9ae36; font-size: 1.35rem; }
.art-flower { z-index: 2; color: #fff3d7; text-shadow: 0 2px 8px #9d67522b; }.flower-one { top: 84px; left: 93px; font-size: 2rem; }.flower-two { right: 85px; bottom: 87px; color: #f8d890; font-size: 2.1rem; }
.doodle-heart { right: 36px; bottom: 92px; color: var(--pink-deep); font-size: 2.3rem; transform: rotate(13deg); }
.scroll-cue { position: absolute; bottom: 24px; left: 18px; display: flex; align-items: center; gap: 10px; color: #a1897e; font-size: .55rem; font-weight: 700; letter-spacing: .14em; }
.scroll-cue span { width: 27px; height: 1px; background: var(--pink-deep); }
.story-section { padding: 86px max(48px, calc((100% - 1120px) / 2)) 100px; background: #fffdf8; }
.section-heading { margin-bottom: 38px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.2; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.story-card { position: relative; min-height: 205px; padding: 25px 24px; border-radius: 13px; }
.story-card-pink { background: #fff0ed; }.story-card-yellow { background: #fff5d9; }.story-card-orange { background: #fff0e2; }
.card-number { color: #9a7770; font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.card-icon { position: absolute; top: 20px; right: 22px; color: var(--pink-deep); font-size: 1.5rem; }
.story-card h3 { margin: 25px 0 8px; font-family: 'Playfair Display', Georgia, serif; font-size: 1.27rem; }
.story-card p { max-width: 280px; margin-bottom: 0; color: #886e68; font-size: .78rem; line-height: 1.7; }
.story-card, .memory-card { transition: transform .25s ease, box-shadow .25s ease; }
.story-card:hover, .memory-card:hover { transform: translateY(-5px); }
.section-intro { margin: 13px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.album-section { padding: 92px max(48px, calc((100% - 1120px) / 2)) 105px; background: var(--cream); }
.album-section .section-heading { margin-bottom: 31px; }
.album-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.album-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 10px 15px; border: 1px solid #eadbd3; border-radius: 24px; background: transparent; color: #765d5c; font: inherit; font-size: .72rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.filter-button:hover { transform: translateY(-2px); border-color: var(--pink-deep); }
.filter-button.is-active { border-color: var(--pink-deep); background: var(--pink-deep); color: #fff; }
.album-hint { flex-shrink: 0; color: #9b827a; font-size: .66rem; }.album-hint span { color: var(--pink-deep); font-size: .95rem; }
.add-memory-link { display: inline-flex; align-items: center; background: #fff0ed; color: #9c555d; font-weight: 700; }
.album-notice { margin: -7px 0 20px; padding: 13px 16px; border: 1px solid #f0d7c4; border-radius: 10px; background: #fff5df; color: #765d58; font-size: .82rem; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.album-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 20px; }
.album-pagination[hidden] { display: none; }
.album-page-button { min-height: 36px; padding: 8px 14px; border: 1px solid #eadbd3; border-radius: 22px; background: #fffdf9; color: #765d5c; font: inherit; font-size: .68rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.album-page-button:hover:not(:disabled) { border-color: var(--pink-deep); background: #fff0ed; color: var(--pink-deep); }
.album-page-button:disabled { opacity: .48; cursor: not-allowed; }
.album-page-status { min-width: 100px; color: #8c736d; font-size: .68rem; text-align: center; }
.memory-card { position: relative; overflow: hidden; border: 1px solid #f0e5dc; border-radius: 13px; background: #fffdf9; box-shadow: 0 9px 22px #6f363309; }
.memory-card [hidden] { display: none !important; }
.memory-card:hover { box-shadow: 0 17px 32px #6f363315; }
.memory-card.is-filtered-out { display: none; }
.memory-open { display: block; width: 100%; padding: 9px 9px 15px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.memory-link { text-decoration: none; }
.memory-link-indicator { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border: 1px solid #fff9; border-radius: 20px; background: #fffaf0e8; color: var(--pink-deep); font-size: .58rem; font-weight: 700; letter-spacing: .04em; }
.memory-art { position: relative; display: grid; height: 205px; overflow: hidden; place-items: center; border-radius: 8px; isolation: isolate; }
.memory-art::before, .memory-art::after { position: absolute; z-index: -1; content: ''; border-radius: 50%; }
.memory-art::before { top: -35px; right: -28px; width: 155px; height: 155px; background: #fff7d84f; }
.memory-art::after { bottom: -52px; left: -25px; width: 190px; height: 100px; border-radius: 50% 50% 0 0; background: #fff9e473; }
.memory-art-first { background: linear-gradient(155deg, #ffc9a5, #ed8c83); }.memory-art-rain { background: linear-gradient(155deg, #b7c8df, #778eae); }.memory-art-sunset { background: linear-gradient(155deg, #ffd88c, #f39a79 62%, #dc7180); }.memory-art-night { background: linear-gradient(155deg, #635b85, #353b68 65%, #252b50); }
.memory-art-custom-blush { background: linear-gradient(145deg, #ffc9d2, #e98b9b); }.memory-art-custom-sunset { background: linear-gradient(145deg, #ffe49b, #f5a16e); }.memory-art-custom-lavender { background: linear-gradient(145deg, #dfc9f4, #a995d3); }.memory-art-custom-mint { background: linear-gradient(145deg, #c2ead5, #6fb99d); }.memory-art-custom-nonton { background: linear-gradient(145deg, #273b68, #10172f); }.memory-art-custom-nonton::before { z-index: 1; inset: 0; width: auto; height: auto; border-radius: inherit; background: linear-gradient(145deg, #17213c22, #10172fc9); }
.custom-memory-photo { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.memory-art-custom .memory-scene-icon { position: relative; z-index: 2; display: grid; min-width: 76px; min-height: 76px; padding: 8px; place-items: center; border-radius: 50%; background: #fffaf0c9; color: var(--pink-deep); font-size: 3.2rem; }
.memory-art-custom .memory-art-label { z-index: 2; }
.memory-cinema-label { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 5px 8px; border: 1px solid #ffe5a36b; border-radius: 4px; background: #10172fba; color: #ffe5a3; font-size: .48rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.memory-scene-icon { color: #fff8e8; font-family: Georgia, serif; font-size: 5.1rem; line-height: 1; filter: drop-shadow(0 8px 10px #673b3840); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.memory-card:hover .memory-scene-icon { transform: translateY(-5px) rotate(-7deg) scale(1.08); }
.memory-art-label { position: absolute; bottom: 14px; left: 14px; color: #fffaf0; font-size: .55rem; font-weight: 700; letter-spacing: .16em; text-shadow: 0 1px 6px #37231c75; }
.memory-sun, .sunset-sun, .night-moon, .rain-cloud, .memory-spark, .rain-drop, .sunset-bird, .night-star { position: absolute; }
.memory-sun { top: 29px; left: 30px; width: 37px; height: 37px; border-radius: 50%; background: #ffedbb; box-shadow: 0 0 0 9px #fff0b844; }
.rain-cloud { top: 28px; right: 26px; color: #edf3ffad; font-size: 3.6rem; }.rain-drop { top: 78px; right: 52px; color: #eaf3ff; font-size: 1.3rem; animation: rain-drift 2.5s ease-in-out infinite; }
.sunset-sun { top: 35px; right: 36px; width: 59px; height: 59px; border-radius: 50%; background: #ffe9a0; box-shadow: 0 0 0 12px #ffedb34f; }.sunset-bird { top: 48px; left: 44px; color: #fff5e1; font-size: 2rem; transform: rotate(-8deg); }
.night-moon { top: 22px; right: 31px; color: #ffe6a1; font-size: 3.6rem; }.night-star { top: 88px; left: 49px; color: #fff1bb; font-size: 1.1rem; animation: twinkle 1.8s ease-in-out infinite; }
.memory-spark { top: 46px; right: 46px; color: #fff6dd; font-size: 1.3rem; animation: twinkle 2s ease-in-out infinite; }
.memory-caption { display: flex; flex-direction: column; gap: 5px; padding: 15px 5px 0; }.memory-date { color: var(--pink-deep); font-size: .56rem; font-weight: 700; letter-spacing: .12em; }.memory-caption strong { font-family: 'Playfair Display', Georgia, serif; font-size: 1.12rem; }.memory-caption > span:last-child { color: #8c736d; font-size: .68rem; line-height: 1.55; }
.favorite-button { position: absolute; top: 17px; right: 17px; display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #fff9; border-radius: 50%; background: #fffaf0e8; color: var(--pink-deep); font-size: 1.25rem; cursor: pointer; transition: transform .2s, background .2s, color .2s; }.favorite-button:hover { transform: scale(1.12); }.favorite-button[aria-pressed="true"] { background: var(--pink-deep); color: white; animation: heart-pop .28s ease-out; }
.favorite-button[aria-pressed="true"] span { display: inline-block; }.album-empty { padding: 25px; border-radius: 10px; background: #fff0ed; color: var(--muted); text-align: center; font-size: .85rem; }
.album-empty a { display: inline-block; margin-left: 5px; color: var(--pink-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.letter-section { position: relative; display: grid; min-height: 390px; place-items: center; padding: 75px 24px; overflow: hidden; background: #fff1dc; text-align: center; }
.letter-content { position: relative; z-index: 1; max-width: 590px; }.letter-content .eyebrow { justify-content: center; }.letter-content h2 { margin: 0 0 13px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1.15; letter-spacing: -.04em; }.letter-content h2 span { color: var(--pink-deep); font-style: italic; }.letter-intro { margin: 0 auto 22px; color: var(--muted); font-size: .85rem; }.letter-trigger { border: 0; font-family: inherit; cursor: pointer; }.letter-trigger span { font-size: 1rem; }
.letter-decoration { position: absolute; top: -130px; right: 5%; color: #f7c8a76b; font-family: Georgia, serif; font-size: 25rem; line-height: 1; transform: rotate(13deg); pointer-events: none; }
.love-letter { max-width: 520px; margin: 23px auto 0; padding: 22px 25px; border: 1px solid #f0d7c4; border-radius: 12px; background: #fffaf3; box-shadow: 0 12px 32px #8c5a3220; color: #765d58; font-family: 'Playfair Display', Georgia, serif; font-size: .95rem; line-height: 1.8; text-align: left; animation: letter-open .5s cubic-bezier(.2,.8,.2,1) both; }.love-letter p:last-child { margin-bottom: 0; }.letter-signoff { color: var(--pink-deep); font-size: .88rem; font-style: italic; text-align: left; }
.typewriter-line { min-height: 1.8em; }.typewriter-line.is-typing::after { display: inline-block; width: .6em; color: var(--pink-deep); content: '▋'; animation: cursor-blink .8s steps(2, start) infinite; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.memory-dialog { position: fixed; width: min(460px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 40px); padding: 12px 12px 25px; overflow: auto; border: 1px solid #f1dfd3; border-radius: 18px; background: #fffaf3; color: var(--ink); box-shadow: 0 25px 90px #3e25284a; }.memory-dialog[open] { animation: dialog-in .25s ease-out both; }.memory-dialog::backdrop { background: #35232691; backdrop-filter: blur(4px); }
.youtube-dialog { position: fixed; inset: 50% auto auto 50%; box-sizing: border-box; width: min(900px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 24px); margin: 0; padding: 42px 14px 14px; overflow: hidden; border: 1px solid #f0d8cf; border-radius: 16px; background: #fffaf3; box-shadow: 0 25px 90px #3e252866; transform: translate(-50%, -50%); }
.youtube-dialog { max-height: calc(100dvh - 24px); }
.youtube-dialog::backdrop { background: #352326a6; backdrop-filter: blur(4px); }
.youtube-dialog-close { position: absolute; z-index: 1; top: 8px; right: 10px; display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 50%; background: #f5e5df; color: var(--ink); font: 1.35rem 'DM Sans', sans-serif; cursor: pointer; }
.youtube-video-frame { overflow: hidden; border-radius: 9px; background: #160f11; aspect-ratio: 16 / 9; }
.youtube-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dialog-close { position: absolute; z-index: 2; top: 19px; right: 19px; display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; background: #fffaf0e8; color: var(--ink); font-size: 1.5rem; cursor: pointer; }.dialog-art { height: 250px; overflow: hidden; border-radius: 11px; }.dialog-art .memory-art { height: 100%; border-radius: inherit; }.dialog-copy { padding: 20px 14px 0; }.dialog-copy .eyebrow { margin-bottom: 10px; font-size: .59rem; }.dialog-copy h2 { margin: 0 0 10px; font-family: 'Playfair Display', Georgia, serif; font-size: 1.75rem; }.dialog-copy > p:last-child { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.8; }
.dialog-audio { margin: 18px 14px 0; padding: 12px; border: 1px solid #eee0d1; border-radius: 11px; background: #fffdf9; }.dialog-audio audio { display: block; width: 100%; }.dialog-audio p { margin: 8px 0 0; color: var(--muted); font-size: .75rem; }
.has-js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }.album-grid .memory-card:nth-child(2) { transition-delay: .06s; }.album-grid .memory-card:nth-child(3) { transition-delay: .12s; }.album-grid .memory-card:nth-child(4) { transition-delay: .18s; }
.floating-heart { position: fixed; z-index: 20; color: var(--pink-deep); font-size: 1.2rem; pointer-events: none; animation: float-heart 1.1s ease-out forwards; }
@keyframes float-heart { 0% { opacity: 0; transform: translate(-50%, 0) scale(.4) rotate(-15deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--drift)), -90px) scale(1.35) rotate(15deg); } }
@keyframes heart-pop { 50% { transform: scale(1.25); } }
@keyframes twinkle { 50% { opacity: .45; transform: scale(.8) rotate(18deg); } }
@keyframes rain-drift { 50% { transform: translateY(8px); opacity: .65; } }
@keyframes letter-open { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cursor-blink { to { visibility: hidden; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.celebration-section { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 80px; padding: 91px max(48px, calc((100% - 1050px) / 2)) 100px; background: #f9d7d1; }
.celebration-copy .eyebrow { color: #86645d; }.celebration-copy h2 { margin-bottom: 15px; font-size: clamp(3rem, 4.8vw, 4.2rem); }
.celebration-copy > p:not(.eyebrow) { max-width: 390px; margin-bottom: 24px; color: #795e59; font-size: .85rem; line-height: 1.8; }
.button-dark { color: white; background: var(--ink); }
.event-card { position: relative; padding: 25px 30px 27px; overflow: hidden; border-radius: 13px; background: #fffaf2; box-shadow: 0 20px 45px #8b514019; }
.event-card-top { display: flex; justify-content: space-between; color: #a18074; font-size: .57rem; font-weight: 700; letter-spacing: .15em; }.event-card-top span:last-child { color: var(--orange); font-size: 1rem; }
.event-date { display: flex; align-items: center; gap: 15px; margin: 25px 0 19px; }.event-day { color: var(--pink-deep); font-family: 'Playfair Display', Georgia, serif; font-size: 4.6rem; line-height: 1; letter-spacing: -.08em; }.event-month { color: #9d8175; font-size: .72rem; line-height: 1.6; letter-spacing: .1em; }.event-month strong { color: var(--ink); font-size: .9rem; }
.event-divider { height: 1px; margin-bottom: 18px; background: #eee1d4; }.event-details { display: flex; gap: 40px; }.event-details div { display: flex; flex-direction: column; gap: 6px; }.event-details span { color: #ab8a7b; font-size: .55rem; font-weight: 700; letter-spacing: .13em; }.event-details strong { font-size: .72rem; }.event-heart { position: absolute; right: 24px; bottom: 23px; color: #f7ded6; font-size: 3.2rem; }
.home-music-section { display: grid; grid-template-columns: 1fr minmax(300px, 460px); align-items: center; gap: 48px; padding: 64px max(48px, calc((100% - 1000px) / 2)); background: #f5eef0; }
.home-music-heading h2 { margin: 0 0 14px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.7rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.045em; }.home-music-heading h2 span { color: #a5406a; font-style: italic; }.home-music-heading > p:last-child { color: var(--muted); font-size: .84rem; }
.home-music-player { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 24px; padding: 26px 30px 20px; border: 1px solid #302d2e; background: #151414; box-shadow: 0 24px 60px #371c2a35; color: #f4f1f2; }
.home-music-cover { display: grid; width: 150px; aspect-ratio: 1; place-items: center; overflow: hidden; background: radial-gradient(circle at 28% 25%, #dfacc3, transparent 38%), linear-gradient(145deg, #71384f, #242021 70%); }.home-music-cover img { width: 100%; height: 100%; object-fit: cover; }.home-music-cover img[hidden], .home-music-cover [hidden] { display: none; }.home-music-cover > span { color: #ffffffad; font-size: 4rem; }
.home-music-details { min-width: 0; }.home-music-kicker { margin: 0 0 5px; color: #c6aab6; font-size: .62rem; font-weight: 700; letter-spacing: .12em; }.home-music-details h3 { overflow: hidden; margin: 0; color: #fff; font-size: 1.15rem; text-overflow: ellipsis; white-space: nowrap; }.home-music-artist { overflow: hidden; margin: 4px 0 12px; color: #b6afb2; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.home-music-timeline input { display: block; width: 100%; height: 5px; margin: 6px 0 4px; accent-color: #e8e4e6; cursor: pointer; }.home-music-timeline input:disabled { cursor: not-allowed; opacity: .5; }.home-music-times { display: flex; justify-content: space-between; color: #e2dfe0; font-size: .62rem; font-variant-numeric: tabular-nums; }
.home-music-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }.home-music-controls button { display: grid; flex: 0 0 auto; place-items: center; width: 30px; height: 36px; padding: 0; border: 0; background: transparent; color: #e4e0e1; font: inherit; cursor: pointer; }.home-music-controls button:disabled { cursor: not-allowed; opacity: .4; }.home-music-controls .home-music-play { width: 54px; height: 54px; border-radius: 50%; background: #f4f1f2; color: #151414; font-size: 1.2rem; }.home-music-controls button.is-active { color: #a7e7bf; }.home-music-controls button:focus-visible, .home-music-timeline input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }.home-music-controls .spotify-code-trigger { width: 28px; font-size: 1.35rem; }
.home-music-status { min-height: 1.5em; margin: 12px 0 0; color: #aaa4a7; font-size: .61rem; line-height: 1.5; }.home-music-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; color: #aaa4a7; font-size: .61rem; }.home-music-add { color: #f4f1f2; text-decoration: underline; text-underline-offset: 3px; }.home-music-add:hover { color: #a7e7bf; }
.anniversary-spotify-dialog { position: fixed; inset: 50% auto auto 50%; width: min(520px, calc(100vw - 32px)); max-height: min(85vh, 620px); margin: 0; padding: 0; overflow: auto; border: 1px solid #f2bfd2; background: #fff7fa; box-shadow: 0 24px 70px #30162288; color: #71384f; transform: translate(-50%, -50%); }.anniversary-spotify-dialog::backdrop { background: #24151dcc; backdrop-filter: blur(4px); }.anniversary-spotify-content { position: relative; padding: 32px clamp(18px, 5vw, 38px) 30px; text-align: center; }.anniversary-spotify-close { position: absolute; top: 10px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #ebc4d2; border-radius: 50%; background: #fff; color: #71384f; font: 1.4rem 'DM Sans', sans-serif; cursor: pointer; }.anniversary-spotify-content .home-music-kicker { margin-top: 10px; color: #a5406a; }.anniversary-spotify-content h2 { margin: 7px 0 20px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 600; }.anniversary-spotify-content img { display: block; width: 100%; height: auto; border: 8px solid #f9dce8; box-shadow: 0 8px 25px #71384f24; }.anniversary-spotify-content > p:last-child { max-width: 350px; margin: 16px auto 0; color: #8c6475; font-size: .74rem; line-height: 1.6; }
.site-footer { display: flex; align-items: center; justify-content: space-between; width: min(1200px, calc(100% - 96px)); min-height: 78px; margin: auto; color: #8b716d; font-size: .68rem; }.site-footer .brand { color: var(--ink); font-size: 1.05rem; }.site-footer .brand-mark { width: 25px; height: 25px; font-size: .7rem; }.site-footer p { margin: 0; }.site-footer p span { color: var(--pink-deep); }

@media (max-width: 800px) {
    .site-header, .hero, .site-footer { width: min(100% - 48px, 620px); }
    .main-nav { gap: 20px; margin-left: 0; }.main-nav a { font-size: .72rem; }.nav-cta { display: none; }
    .hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 75px; }.hero-copy { padding-left: 0; }.hero h1 { font-size: clamp(3.25rem, 10vw, 4.3rem); }.hero-art { min-height: 455px; margin-top: 10px; }.scroll-cue { left: 0; }
    .story-section { padding: 75px 24px; }.story-grid { grid-template-columns: 1fr; }.story-card { min-height: 175px; }.story-card h3 { margin-top: 20px; }
    .celebration-section { grid-template-columns: 1fr; gap: 35px; padding: 75px 24px; }.event-card { max-width: 500px; width: 100%; }
    .site-footer { flex-wrap: wrap; gap: 12px; padding: 20px 0; }.site-footer p { order: 3; width: 100%; }
    .album-section { padding: 75px 24px; }.album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.album-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
    .home-music-section { grid-template-columns: 1fr; gap: 28px; padding: 65px 24px; }.home-music-player { width: min(100%, 560px); justify-self: center; }
}
@media (max-width: 480px) {
    .youtube-dialog { width: min(calc(100vw - 20px), calc((100dvh - 126px) * 9 / 16 + 18px)); padding: 42px 8px 8px; border-radius: 13px; }
    .youtube-video-frame { width: min(100%, calc((100dvh - 126px) * 9 / 16)); margin-inline: auto; aspect-ratio: 9 / 16; }
    .site-header, .hero, .site-footer { width: calc(100% - 36px); }
    .site-header { height: 72px; }.brand { font-size: 1.2rem; }.main-nav { gap: 14px; }.main-nav a { font-size: .65rem; }
    .hero { padding-top: 34px; }.hero h1 { font-size: 3.05rem; }.hero-description { font-size: .86rem; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }.anniversary-note { margin-top: 31px; }
    .hero-art { min-height: 390px; margin: 7px -8px 0; }.art-sun { width: 305px; height: 305px; }.photo-card { width: 240px; height: 315px; border-width: 7px; }.photo-card::before { width: 205px; height: 205px; left: 10px; }.photo-card::after { width: 165px; height: 165px; left: 30px; }.heart-doodle { top: 86px; font-size: 6rem; }.photo-caption strong { font-size: 1.35rem; }.sticker-love { top: 68px; right: -1px; }.sticker-date { bottom: 53px; left: 0; }.flower-one { top: 56px; left: 44px; }.flower-two { right: 47px; bottom: 57px; }.doodle-heart { right: 13px; bottom: 66px; }.spark-one { top: 19px; left: 53px; }.spark-two { top: 83px; left: 6px; }
    .section-heading h2 { font-size: 2.3rem; }.celebration-copy h2 { font-size: 3.2rem; }.event-card { padding: 22px 20px; }.event-details { gap: 22px; }.event-details strong { font-size: .65rem; }.site-footer { font-size: .62rem; }.home-music-section { padding: 58px 18px; }.home-music-player { grid-template-columns: 76px minmax(0, 1fr); gap: 13px; padding: 18px 15px 15px; }.home-music-cover { width: 76px; }.home-music-controls { gap: 5px; }.home-music-controls .home-music-play { width: 48px; height: 48px; }.anniversary-spotify-content { padding: 30px 16px 22px; }.anniversary-spotify-content img { border-width: 6px; }
    .main-nav { gap: 10px; }.main-nav a { font-size: .61rem; }.album-section { padding: 65px 18px; }.album-grid { gap: 10px; }.memory-art { height: 155px; }.memory-open { padding: 7px 7px 12px; }.memory-caption { padding: 12px 3px 0; }.memory-caption strong { font-size: .98rem; }.memory-caption > span:last-child { font-size: .62rem; }.memory-scene-icon { font-size: 4rem; }.filter-button { padding: 9px 12px; font-size: .66rem; }.album-hint { align-self: flex-end; }.letter-section { min-height: 360px; padding: 65px 18px; }.letter-content .eyebrow { font-size: .58rem; }.letter-decoration { right: -28%; font-size: 19rem; }.love-letter { padding: 18px; font-size: .87rem; }.dialog-art { height: 200px; }
}
@media (max-height: 500px) {
    .youtube-dialog { width: min(900px, calc((100dvh - 88px) * 16 / 9)); }
    .youtube-video-frame { width: 100%; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }.has-js .reveal { opacity: 1; transform: none; } }

.add-card-page { min-height: 100vh; background: radial-gradient(ellipse at top right, #ffe8c0 0, transparent 34%), var(--cream); }
.add-card-main { width: min(760px, calc(100% - 40px)); margin: 28px auto 86px; }
.add-card-back { display: inline-block; margin: 0 0 18px; color: #8d6d67; font-size: .78rem; transition: color .2s; }.add-card-back:hover { color: var(--pink-deep); }
.add-card-panel { padding: clamp(24px, 5vw, 48px); border: 1px solid #f0e1d5; border-radius: 20px; background: #fffdf9; box-shadow: 0 22px 60px #70453612; }
.add-card-panel > .eyebrow { margin-bottom: 13px; }.add-card-panel h1 { margin: 0 0 12px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.5rem, 7vw, 3.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }.add-card-panel h1 span { color: var(--pink-deep); font-style: italic; }
.add-card-intro { margin-bottom: 26px; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.form-errors { margin-bottom: 22px; padding: 14px 17px; border: 1px solid #edb4b3; border-radius: 10px; background: #fff0ed; color: #824951; font-size: .8rem; line-height: 1.65; }.form-errors p { margin-bottom: 5px; font-weight: 700; }.form-errors ul { margin: 0; padding-left: 19px; }
.memory-form { display: grid; gap: 25px; }.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 16px; }.form-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: #624b49; font-size: .76rem; font-weight: 700; }.memory-form [hidden] { display: none !important; }.form-field > span b { color: var(--pink-deep); }.form-field small { color: #a28a80; font-size: .66rem; font-weight: 400; line-height: 1.5; }.form-field-wide { grid-column: 1 / -1; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #eadbd3; border-radius: 9px; outline: none; background: #fffaf5; color: var(--ink); font: 500 .82rem 'DM Sans', sans-serif; transition: border-color .2s, box-shadow .2s; }.form-field textarea { min-height: 130px; resize: vertical; line-height: 1.65; }.form-field input[type="file"] { padding: 9px; font-size: .7rem; }.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--pink-deep); box-shadow: 0 0 0 3px #dc70791c; }.form-field ::placeholder { color: #b19a91; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 21px; border-top: 1px solid #f1e5dc; }.form-actions .button { border: 0; font-family: inherit; cursor: pointer; }
.admin-form { max-width: 420px; }.admin-form .button { justify-self: start; border: 0; font-family: inherit; cursor: pointer; }.admin-notice { margin-bottom: 20px; padding: 13px 16px; border: 1px solid #b8d9be; border-radius: 10px; background: #f1fbf1; color: #416a49; font-size: .82rem; }.admin-toggle-form { margin: 24px 0; }.admin-toggle-form .button { border: 0; font-family: inherit; cursor: pointer; }.admin-logout-form { padding-top: 18px; border-top: 1px solid #f1e5dc; }.admin-logout-form button { border: 0; background: none; font: inherit; cursor: pointer; }
@media (max-width: 560px) { .add-card-main { width: calc(100% - 28px); margin-top: 12px; }.add-card-panel { padding: 24px 19px; border-radius: 15px; }.form-grid { grid-template-columns: 1fr; gap: 16px; }.form-field-wide { grid-column: auto; }.form-actions { align-items: flex-start; flex-direction: column-reverse; }.form-actions .button { width: 100%; } }