/* Handwritten lettering follows rising curves beside the animated heart. */
@font-face{font-family:'Heart Handwriting';src:url('assets/heart-handwriting.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
.hero{--hero-accent:#ff3049;min-height:800px}
.hero-title{left:5%;top:48%;width:44%;transform:translateY(-43%)}
.hero-chapter{display:block;font-size:8px;letter-spacing:2px;color:#d3c7c9;margin:0 0 24px 3px}
.hero-title h1{font-size:clamp(72px,7.4vw,140px);line-height:.86;letter-spacing:-3px}
.hero-title h1>span{animation:none;white-space:nowrap}
.hero-title h1>span:nth-child(2),.hero-title h1>span:nth-child(3){margin-top:8px}
.hero-title .red-text{color:var(--hero-accent);transition:color 1.2s}
.hero-title p{animation:none;font-size:11px;line-height:1.9;margin-top:27px;min-height:42px;color:#d0cdd0}
.hero-title.slide-enter h1>span{animation:hero-line-reveal 1.05s cubic-bezier(.16,1,.3,1) both}
.hero-title.slide-enter h1>span:nth-child(2){animation-delay:.09s}
.hero-title.slide-enter h1>span:nth-child(3){animation-delay:.18s}
.hero-title.slide-enter p{animation:fade-up .9s .2s both}
.heart-stage{right:.5%;top:20%;width:56%;height:60%;z-index:2;opacity:1}
.heart-wordmark{position:absolute;top:50%;left:0;transform:translateY(-50%);width:100%;height:auto;aspect-ratio:900/520;isolation:isolate}
.heart-wordmark canvas{position:absolute;left:10%;top:0;width:66%;height:100%;filter:drop-shadow(0 0 10px var(--hero-accent));transition:filter 1s}
.heart-lettering{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:2;filter:drop-shadow(0 3px 8px #0009)}
/* The first slide’s handwritten treatment is shared by every scene. */
.heart-word{font-family:'Heart Handwriting',cursive;font-weight:400;font-style:normal;fill:#fff8f2;letter-spacing:-1px}
.heart-i{font-size:156px}
.heart-events{font-size:114px}
.heart-signature-stroke{fill:none;stroke:#fff8f2;stroke-width:3.5;stroke-linecap:round;opacity:.85}
.heart-label{bottom:1%;left:49%;display:flex;align-items:center;gap:10px;font-size:6px;letter-spacing:1.7px;color:#ccc3c8}
.heart-label .live-dot{background:var(--hero-accent)}
.hero-bottom{gap:22px;z-index:4}
.hero-navigation{display:flex;align-items:center;gap:10px;flex-shrink:0}
.hero-navigation button{display:grid;place-items:center;width:36px;height:36px;border:1px solid #eae7df36;border-radius:50%;background:#ffffff04;transition:background .3s,border-color .3s}
.hero-navigation button:hover{background:#ffffff10;border-color:#eae7df80}
.hero-navigation .ui-icon{width:15px;height:15px}
#hero-count{font-size:8px;letter-spacing:1.2px;min-width:42px;text-align:center;color:#c7c5c8;font-variant-numeric:tabular-nums}
.universe-switch{gap:17px;flex-wrap:wrap;justify-content:center}
.universe-switch button{font-size:8px;min-height:40px;white-space:nowrap}
.universe-switch button>span{margin-right:4px;font-size:5px}
.universe-switch button.active:after,.hero-progress span{background:var(--hero-accent)}
.hero-vignette{background:linear-gradient(90deg,#060709ee 0%,#0607098a 48%,#06070935 100%),linear-gradient(0deg,#090a0c 0%,#090a0c00 48%,#090a0c99 100%)}
.experience-orb{bottom:140px;width:126px;height:126px;right:5%}
@keyframes hero-line-reveal{from{opacity:0;transform:translateY(24px);clip-path:inset(0 0 100%)}to{opacity:1;transform:none;clip-path:inset(-8%)}}
@media(min-width:1700px){.hero-title h1{font-size:138px}.heart-stage{width:56%;right:.5%}.hero-title{left:5%}}
@media(max-width:1100px){
  .hero{min-height:780px}.hero-title{left:5%;width:45%}.hero-title h1{font-size:7.7vw;letter-spacing:-2px}
  .heart-stage{right:.5%;width:56%;top:23%;height:54%}
  .hero-bottom{gap:15px}.universe-switch{gap:8px}.universe-switch button{font-size:7px}
  .hero-navigation{gap:6px}.hero-navigation button{width:32px;height:32px}
}
@media(max-width:760px){
  .hero{display:flex;flex-direction:column;height:auto;min-height:850px;max-height:none;padding:148px 7% 27px}
  .hero-title{position:relative;left:auto;top:auto;transform:none;width:100%;flex-shrink:0;z-index:3}
  .hero-chapter{font-size:6px;letter-spacing:1.5px;margin-bottom:18px}
  .hero-title h1{font-size:clamp(42px,12.6vw,74px);line-height:.86;letter-spacing:-1.6px}
  .hero-title h1>span:nth-child(2),.hero-title h1>span:nth-child(3){margin-top:5px}
  .hero-title p{margin-top:20px;font-size:10px;line-height:1.8;min-height:36px}
  .heart-stage{position:relative;top:auto;right:auto;margin-top:10px;width:100%;height:245px;flex-shrink:0;z-index:2}
  .heart-label{display:flex;bottom:5px;font-size:5px;letter-spacing:1px;left:50%;gap:6px}
  .experience-orb{position:relative;right:auto;bottom:auto;align-self:flex-end;margin-top:-3px;width:78px;height:78px;flex-shrink:0}
  .experience-orb>span:not(.sr-only){width:39px;height:39px}.experience-orb>span>.ui-icon{width:18px;height:18px}
  .hero-bottom{position:relative;left:auto;right:auto;bottom:auto;width:100%;margin-top:auto;padding-top:20px;gap:12px;flex-shrink:0;align-items:center}
  .hero-navigation{order:0;gap:9px}.hero-navigation button{width:34px;height:34px}
  #hero-count{font-size:8px}#motion-toggle{order:1;margin-left:auto}
  .universe-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:2px 9px;order:2;text-align:left}
  .universe-switch button{text-align:left;font-size:7px;padding:9px 0;min-height:34px}
  .universe-switch button>span{font-size:5px;margin-right:3px}
  .hero-bg{object-position:center}.hero-vignette{background:linear-gradient(90deg,#090a0ce0,#090a0c65),linear-gradient(0deg,#090a0c 0%,transparent 80%)}
}
@media(max-width:370px){.universe-switch{gap:2px 5px}.universe-switch button{font-size:6px}}
@media(prefers-reduced-motion:reduce){.hero-title.slide-enter h1>span,.hero-title.slide-enter p{animation:none;opacity:1;transform:none;clip-path:none}}
body.motion-paused .hero-title.slide-enter h1>span,body.motion-paused .hero-title.slide-enter p{animation:none!important;opacity:1;transform:none;clip-path:none}
@media(min-width:761px) and (max-width:960px){header nav{display:none}.menu-toggle{display:block;margin-left:auto}#mobile-menu{overflow-y:auto}}
header nav{gap:22px}header nav>a{white-space:nowrap;font-size:12px}
.footer-bottom{flex-wrap:wrap;row-gap:14px}
header#header{position:fixed;height:94px;background:#090a0cdd;backdrop-filter:blur(20px);border-bottom-color:#ffffff18}
header#header .header-brief{white-space:nowrap;font-size:11.5px;gap:12px}
@media(max-width:760px){header#header{height:88px}.hero-topline{top:110px}}
