@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=DM+Sans:wght@400;600;700&display=swap');

:root { color-scheme:dark; --ink:#090809; --paper:#fff; --pink:#db2a6b; --muted:#c7c0c3; --line:#51484e; --gold:#e8c48d; font:100%/1.55 'DM Sans',system-ui,sans-serif; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; display:flex; flex-direction:column; background:var(--ink); color:var(--paper); }
a { color:inherit; }
a:focus-visible,button:focus-visible { outline:3px solid #ff9ac3; outline-offset:4px; }
.skip { position:fixed; transform:translateY(-150%); background:white; color:black; padding:.6rem; z-index:10; }
.skip:focus { transform:none; }
header,footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.5rem 1rem; padding:.75rem max(1rem,calc((100% - 75rem)/2)); }
header { border-bottom:1px solid #302930; }
nav { display:flex; flex-wrap:wrap; gap:.25rem .65rem; }
nav a,.brand { text-decoration:none; display:inline-flex; align-items:center; min-height:44px; }
nav a { padding:0 .4rem; font-size:.9rem; }
nav a[aria-current] { text-decoration:underline 2px #ff80ac; text-underline-offset:.35em; }
.brand { font:700 1.6rem 'Cormorant Garamond',Georgia,serif; white-space:nowrap; }
footer { margin-top:auto; color:var(--muted); border-top:1px solid #302930; font-size:.9rem; justify-content:flex-start; }
footer span { margin-inline-start:auto; }
main { flex:1; }
h1,h2,h3 { font-family:'Cormorant Garamond',Georgia,serif; line-height:1.05; margin:0 0 .65em; }
h1 { font-size:clamp(2.55rem,7vw,5rem); }
h2 { font-size:clamp(1.8rem,4vw,2.8rem); }
h3 { font-size:1.55rem; }
p { margin:.45rem 0 1rem; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.entrance { background:black; padding-bottom:1.2rem; }
.art { position:relative; width:min(100%,112rem,max(30rem,calc((100svh - 10rem) * 2.084))); aspect-ratio:1886/905; margin:auto; overflow:hidden; }
.art img { width:100%; height:auto; display:block; }
.portal { position:absolute; top:41%; width:8.4%; height:18.3%; border-radius:48% 48% 4% 4%; display:grid; place-items:center; text-decoration:none; }
.portal:nth-of-type(1) { left:32.2%; }
.portal:nth-of-type(2) { left:47.3%; }
.portal:nth-of-type(3) { left:63.5%; }
.portal:hover,.portal:focus-visible { box-shadow:0 0 24px #f65597; }
.portal span { position:absolute; top:18%; width:78%; min-height:45%; background:#fcfcfc; color:#120c10; display:grid; place-items:center; text-align:center; padding:.12em; font-weight:700; font-size:clamp(.65rem,1.26vw,1.35rem); line-height:1.1; }
.portal:first-of-type span { font-size:clamp(.45rem,1.03vw,1.12rem); }
.doors { display:flex; gap:.4rem; justify-content:center; align-items:stretch; padding:1rem .55rem 0; }
.doors a { flex:0 1 9rem; padding-inline:.55rem; text-align:center; }
.wrap { width:min(100% - 2rem, 69rem); margin:auto; padding:clamp(2rem,7vw,5rem) 0; }
.wrap.narrow { max-width:43rem; }
.frame { animation:arrive .5s ease-out both; }
@keyframes arrive { from { opacity:.35; transform:translateY(8px); } to { opacity:1; transform:none; } }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:1rem; }
.card { background:#151115; border:1px solid var(--line); border-radius:1.25rem; padding:clamp(1rem,3vw,1.75rem); min-width:0; }
a.card { display:block; text-decoration:none; }
a.card:hover { border-color:#f17ca6; }
.arch { border-radius:8rem 8rem 1.5rem 1.5rem; padding-top:3rem; min-height:9rem; text-align:center; background:radial-gradient(ellipse at 50% 0%,#4d1730,#151115 65%); }
.muted,.card p { color:var(--muted); }
.gold { color:var(--gold); }
.pill { display:inline-flex; min-height:44px; justify-content:center; align-items:center; border-radius:999px; border:1px solid var(--line); padding:.45rem 1.15rem; text-decoration:none; color:inherit; font:700 .93rem/1.3 'DM Sans',system-ui,sans-serif; background:#171217; cursor:pointer; }
.primary { background:#bd1856; border-color:var(--pink); color:white; }
.pill:hover { border-color:#ff8ab7; }
.actions { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1rem; }
.heart-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(1rem,5vw,4rem); align-items:center; }
.heart { aspect-ratio:517/390; margin:auto; width:min(100%,32rem); overflow:hidden; }
.heart img { width:100%; height:auto; display:block; }
.shortcuts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; margin-top:1.25rem; }
.shortcuts a { border:1px solid var(--line); padding:.8rem; border-radius:.85rem; text-decoration:none; }
.timeline { display:grid; gap:.75rem; margin-top:1.35rem; }
.calendar ul { display:grid; gap:.55rem; padding-inline-start:1.4rem; }
.stack { margin-top:2rem; }
@media(max-width:42rem) {
  header { justify-content:center; }
  nav { justify-content:center; }
  .art { width:100%; }
  .portal span { font-size:clamp(.42rem,1.6vw,.7rem); }
  .portal:first-of-type span { font-size:clamp(.34rem,1.34vw,.64rem); }
  .heart-layout { grid-template-columns:1fr; }
  .heart { width:min(75%,19rem); }
  footer span { margin-inline-start:0; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; scroll-behavior:auto!important; } }
