:root {
  --paper: #f7f0ea;
  --paper-light: #fffaf6;
  --ink: #32272a;
  --muted: #796d6d;
  --wine: #783648;
  --rose: #b76478;
  --line: rgba(67, 46, 51, .14);
  --serif: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 99px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.topbar {
  position: absolute; inset: 0 0 auto; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; width: min(1420px, calc(100% - 64px)); margin: auto; padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.38); color: white;
}
.brand { display: inline-flex; width: max-content; align-items: center; gap: 13px; }
.brand-mark { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-family: var(--serif); font-size: 12px; letter-spacing: -.08em; }
.brand-mark i { padding: 0 2px; color: #f4bec9; font-size: 8px; font-style: normal; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.025em; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.desktop-nav a { opacity: .78; transition: opacity .2s ease; }
.desktop-nav a:hover { opacity: 1; }
.nav-heart { display: grid; width: 42px; height: 42px; justify-self: end; place-items: center; border: 1px solid rgba(255,255,255,.44); border-radius: 50%; color: #f4c4ce; transition: transform .2s ease, background .2s ease; }
.nav-heart:hover { background: rgba(255,255,255,.14); transform: rotate(8deg) scale(1.04); }

.hero { position: relative; min-height: max(720px, 100svh); overflow: hidden; color: white; background: #372e2e; isolation: isolate; }
.hero::before { position: absolute; inset: 0; z-index: -3; content: ""; background: linear-gradient(105deg, rgba(27,19,20,.95) 0%, rgba(48,33,35,.84) 44%, rgba(42,29,31,.25) 70%, rgba(31,23,24,.42) 100%), url('../media/photos/codex-clipboard-f811bddc-0974-4a69-b312-e025f8fae6ce.jpg') center 47% / cover; filter: saturate(.74); transform: scale(1.03); }
.hero::after { position: absolute; inset: 0; z-index: -1; content: ""; opacity: .3; background: radial-gradient(circle at 75% 18%, rgba(255,255,255,.13), transparent 34%), linear-gradient(125deg, transparent 40%, rgba(215,150,163,.08)); pointer-events: none; }
.hero-haze { position: absolute; z-index: -2; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.hero-haze-one { top: -150px; right: 22%; width: 420px; height: 420px; background: rgba(187,111,125,.16); }
.hero-haze-two { bottom: -220px; left: 5%; width: 520px; height: 520px; background: rgba(192,148,101,.1); }
.hero-copy { position: absolute; top: 50%; left: max(38px, calc((100vw - 1420px) / 2)); z-index: 2; width: min(550px, 42vw); transform: translateY(-45%); }
.eyebrow { margin: 0 0 23px; font-size: 10px; font-weight: 700; letter-spacing: .24em; opacity: .68; }
.hero h1 { max-width: 560px; margin: 0; font-family: var(--serif); font-size: clamp(65px, 7.6vw, 126px); font-weight: 400; letter-spacing: -.063em; line-height: .72; }
.hero h1 em { display: inline-block; margin-left: clamp(22px, 5vw, 76px); color: #f1cad1; font-size: .76em; font-weight: 400; }
.hero-lead { max-width: 470px; margin: 34px 0 0; color: rgba(255,255,255,.7); font-family: var(--serif); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 0 21px; font-size: 11px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #3b262c; background: #f5e7e2; }
.button-primary:hover { background: white; }
.button-primary span { font-size: 15px; }
.button-ghost { background: rgba(255,255,255,.04); backdrop-filter: blur(10px); }
.love-signature { display: flex; align-items: center; gap: 12px; margin-top: 36px; color: rgba(255,255,255,.54); font-family: var(--serif); font-size: 16px; font-style: italic; }
.signature-line { width: 36px; height: 1px; background: rgba(255,255,255,.34); }
.love-signature i { color: #efb8c3; }

.hero-gallery { position: absolute; top: 50%; right: max(34px, calc((100vw - 1420px) / 2)); width: min(670px, 48vw); height: min(650px, 72vh); transform: translateY(-44%); }
.photo-frame { position: absolute; margin: 0; padding: 9px 9px 40px; color: #5d464b; background: #f9f3ed; box-shadow: 0 24px 70px rgba(13,5,7,.28); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.96); transition: opacity .45s ease, transform .8s ease; }
.photo-frame img.is-changing { opacity: 0; transform: scale(1.025); }
.photo-frame figcaption { position: absolute; right: 11px; bottom: 7px; left: 11px; display: -webkit-box; min-height: 25px; overflow: hidden; font-family: var(--serif); font-size: 11px; font-style: italic; line-height: 1.12; text-align: center; text-overflow: ellipsis; transition: opacity .32s ease, transform .32s ease; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.photo-frame figcaption.is-changing { opacity: 0; transform: translateY(3px); }
.frame-one { top: 4%; left: 23%; z-index: 3; width: 42%; height: 69%; transform: rotate(2.4deg); }
.frame-two { top: 26%; left: 2%; z-index: 2; width: 31%; height: 54%; transform: rotate(-7deg); }
.frame-three { top: 16%; right: -1%; z-index: 1; width: 31%; height: 47%; transform: rotate(7deg); }
.frame-four { right: 12%; bottom: 1%; z-index: 4; width: 30%; height: 43%; transform: rotate(4deg); }
.hero-gallery:hover .frame-one { transform: rotate(.5deg) translateY(-8px); }
.hero-gallery:hover .frame-two { transform: rotate(-9deg) translate(-5px, 6px); }
.hero-gallery:hover .frame-three { transform: rotate(9deg) translateX(5px); }
.hero-gallery:hover .frame-four { transform: rotate(2deg) translateY(8px); }
.gallery-stamp { position: absolute; right: 5%; bottom: 9%; z-index: 5; display: grid; width: 82px; height: 82px; place-items: center; border: 1px solid rgba(120,54,72,.24); border-radius: 50%; padding: 0; color: var(--wine); background: rgba(255,248,242,.9); box-shadow: 0 12px 28px rgba(30,15,18,.17); font-family: var(--serif); line-height: .6; cursor: pointer; transform: rotate(-8deg); transition: transform .25s ease, box-shadow .25s ease; backdrop-filter: blur(8px); }
.gallery-stamp:hover, .gallery-stamp:focus-visible { box-shadow: 0 16px 35px rgba(30,15,18,.24); outline: none; transform: rotate(-3deg) scale(1.06); }
.gallery-stamp b { color: var(--rose); font-size: 15px; }
.gallery-stamp small { font-family: var(--sans); font-size: 7px; letter-spacing: .16em; }
.gallery-whisper { position: absolute; right: 1%; bottom: -19px; z-index: 6; max-width: 230px; margin: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 13px; color: rgba(255,255,255,.72); background: rgba(44,31,34,.72); font-family: var(--serif); font-size: 11px; font-style: italic; text-align: center; opacity: .7; transition: opacity .3s ease, transform .3s ease; transform: translateY(0); backdrop-filter: blur(12px); }
.gallery-whisper.is-visible { opacity: 1; transform: translateY(-3px); }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue i { font-size: 15px; font-style: normal; animation: nudge 1.8s ease-in-out infinite; }

.photo-ribbon { overflow: hidden; border-bottom: 1px solid var(--line); padding: 17px 0; background: #d8c5bd; }
.photo-ribbon-track { display: flex; width: max-content; gap: 12px; animation: ribbon 42s linear infinite; }
.photo-ribbon img { width: 180px; height: 118px; border: 5px solid rgba(255,250,246,.8); object-fit: cover; filter: saturate(.72); }
.photo-ribbon:hover .photo-ribbon-track { animation-play-state: paused; }
.world-intro { width: min(1260px, calc(100% - 48px)); margin: auto; padding: 120px 0 130px; text-align: center; }
.world-intro .eyebrow { color: var(--wine); }
.world-intro h2 { max-width: 770px; margin: 0 auto; font-family: var(--serif); font-size: clamp(49px, 6vw, 88px); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.world-intro h2 em { color: var(--rose); font-weight: 400; }
.world-intro > p:not(.eyebrow) { max-width: 590px; margin: 25px auto 0; color: var(--muted); font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.module-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 68px; text-align: left; }
.module-card { position: relative; min-height: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; padding: 34px; background: rgba(255,250,246,.46); transition: transform .25s ease, box-shadow .25s ease; }
.module-card:hover { box-shadow: 0 28px 70px rgba(69,43,48,.12); transform: translateY(-5px); }
.module-memory { grid-row: span 2; min-height: 660px; padding-top: 390px; background: #e4d4cc; }
.module-route { color: #f9f0ea; background: #713748; }
.module-valentine { background: #f0d9de; }
.module-number { position: absolute; top: 25px; left: 28px; z-index: 3; font-size: 9px; font-weight: 700; letter-spacing: .15em; opacity: .58; }
.module-arrow { position: absolute; top: 23px; right: 27px; z-index: 3; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 14px; opacity: .58; }
.module-copy { position: relative; z-index: 3; max-width: 480px; }
.module-copy > span { font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .64; }
.module-copy h3 { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(33px, 3.4vw, 52px); font-weight: 400; letter-spacing: -.045em; line-height: .96; }
.module-copy p { max-width: 390px; margin: 14px 0 0; font-family: var(--serif); font-size: 16px; line-height: 1.45; opacity: .68; }
.module-photo-stack { position: absolute; top: 50px; right: 5%; left: 5%; height: 320px; }
.module-photo-stack img { position: absolute; width: 46%; height: 88%; border: 8px solid #f8f0ea; object-fit: cover; box-shadow: 0 18px 40px rgba(56,36,41,.18); }
.module-photo-stack img:first-child { top: 3%; left: 17%; transform: rotate(-5deg); }
.module-photo-stack img:last-child { top: 8%; right: 13%; transform: rotate(5deg); }
.mini-wheel { position: absolute; right: 30px; bottom: -95px; display: grid; width: 260px; height: 260px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: repeating-conic-gradient(#9a5869 0 20deg, #7b4152 20deg 40deg); box-shadow: inset 0 0 0 50px #713748, inset 0 0 0 52px rgba(255,255,255,.3); }
.mini-wheel span { color: #f6d7de; font-size: 27px; }
.valentine-heart { position: absolute; right: 12%; bottom: -55px; color: rgba(163,74,97,.16); font-family: var(--serif); font-size: 260px; transform: rotate(10deg); }
.love-note { padding: 100px 24px; color: #f9eee9; background: #302629; text-align: center; }
.love-note-inner { max-width: 950px; margin: auto; transition: transform .35s ease, opacity .35s ease; }
.love-note-inner.is-changing { opacity: .84; transform: scale(.992); }
.love-note-kicker { margin-bottom: 24px !important; color: rgba(255,255,255,.5); }
.love-note p { margin: 0; color: #e7bec8; font-family: var(--serif); font-size: clamp(46px, 7vw, 92px); font-style: italic; letter-spacing: -.045em; }
.love-note span { display: block; margin-top: 20px; font-size: 9px; letter-spacing: .18em; opacity: .55; text-transform: uppercase; }
.note-button { position: relative; display: inline-flex; min-height: 42px; align-items: center; gap: 9px; margin-top: 30px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 0 17px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.04); font-size: 10px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.note-button:hover, .note-button:focus-visible { background: rgba(255,255,255,.1); outline: none; transform: translateY(-2px); }
.note-button i { color: #e8aebe; font-style: normal; }
.heart-burst { position: absolute; inset: 50% auto auto 50%; z-index: 20; width: 1px; height: 1px; pointer-events: none; }
.heart-burst i { position: absolute; color: #edafbf; font-size: 12px; font-style: normal; animation: tinyHeart 1s ease-out forwards; }
.heart-burst i:nth-child(1) { --heart-x:-34px; --heart-y:-38px; }
.heart-burst i:nth-child(2) { --heart-x:-15px; --heart-y:-55px; animation-delay: .04s; }
.heart-burst i:nth-child(3) { --heart-x:8px; --heart-y:-48px; animation-delay: .08s; }
.heart-burst i:nth-child(4) { --heart-x:29px; --heart-y:-32px; animation-delay: .12s; }
.heart-burst i:nth-child(5) { --heart-x:4px; --heart-y:-67px; animation-delay: .16s; }
.site-footer { display: flex; width: min(1260px, calc(100% - 48px)); min-height: 230px; align-items: center; justify-content: space-between; gap: 30px; margin: auto; }
.site-footer p { margin: 7px 0 0; color: var(--muted); font-family: var(--serif); font-size: 16px; }
.footer-made span { color: var(--rose); }
.mobile-nav { display: none; }

@keyframes ribbon { to { transform: translateX(-50%); } }
@keyframes nudge { 50% { transform: translateY(5px); } }
@keyframes tinyHeart { from { opacity: 0; transform: translate(-50%,-50%) scale(.5); } 22% { opacity: 1; } to { opacity: 0; transform: translate(calc(-50% + var(--heart-x)),calc(-50% + var(--heart-y))) rotate(12deg) scale(1.15); } }

@media (max-width: 1050px) {
  .hero-copy { width: 45vw; }
  .hero-gallery { width: 48vw; }
  .frame-two, .frame-three { display: none; }
  .frame-one { left: 5%; width: 66%; }
  .frame-four { right: 3%; width: 43%; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .module-memory { grid-column: span 2; grid-row: auto; min-height: 590px; padding-top: 350px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 70px; }
  .topbar { position: absolute; width: calc(100% - 34px); grid-template-columns: 1fr auto; padding: 16px 0; }
  .desktop-nav { display: none; }
  .brand-name { font-size: 23px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 860px; }
  .hero::before { background-position: 55% 50%; }
  .hero-copy { top: 118px; left: 24px; width: calc(100% - 48px); transform: none; }
  .hero h1 { font-size: clamp(66px, 19vw, 92px); line-height: .74; }
  .hero h1 em { margin-left: 12vw; }
  .hero-lead { max-width: 360px; margin-top: 24px; font-size: 18px; }
  .hero-actions { margin-top: 23px; }
  .hero-gallery { top: auto; right: 15px; bottom: 78px; left: 15px; width: auto; height: 330px; transform: none; }
  .frame-one { top: 8px; left: 23%; width: 47%; height: 83%; }
  .frame-two { display: block; top: 66px; left: 1%; width: 31%; height: 60%; }
  .frame-three { display: block; top: 48px; right: 0; width: 30%; height: 56%; }
  .frame-four { right: 8%; bottom: 0; width: 29%; height: 48%; }
  .frame-two figcaption, .frame-three figcaption, .frame-four figcaption { display: none; }
  .gallery-stamp { right: 0; bottom: 1%; width: 64px; height: 64px; }
  .gallery-whisper { right: 68px; bottom: 10px; max-width: 190px; font-size: 10px; opacity: 0; transform: translateY(4px); }
  .gallery-whisper.is-visible { opacity: 1; transform: translateY(0); }
  .love-signature { display: none; }
  .scroll-cue { display: none; }
  .photo-ribbon img { width: 135px; height: 92px; }
  .world-intro { width: calc(100% - 32px); padding: 86px 0 90px; }
  .module-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .module-memory { grid-column: auto; min-height: 535px; padding: 330px 25px 28px; }
  .module-card { min-height: 305px; padding: 30px 25px; }
  .module-photo-stack { height: 275px; }
  .module-copy h3 { font-size: 38px; }
  .love-note { padding: 82px 22px; }
  .love-note p { font-size: clamp(42px, 13vw, 66px); }
  .site-footer { min-height: 200px; flex-direction: column; justify-content: center; text-align: center; }
  .mobile-nav { position: fixed; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; z-index: 50; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(255,255,255,.48); border-radius: 20px; padding: 7px 5px; background: rgba(48,38,41,.92); box-shadow: 0 14px 40px rgba(29,18,21,.28); color: rgba(255,255,255,.68); backdrop-filter: blur(18px); }
  .mobile-nav a { display: grid; min-height: 45px; place-items: center; gap: 2px; border-radius: 14px; font-size: 8px; }
  .mobile-nav a span { font-size: 17px; line-height: 1; }
  .mobile-nav a.is-active { color: #f4d9df; background: rgba(255,255,255,.1); }
}

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