:root {
  color-scheme: dark;
  --navy: #030326;
  --night: #070742;
  --deep-blue: #10106a;
  --electric: #536dff;
  --pale-blue: #c4d0ff;
  --white: #fff;
  --muted: #aab4df;
  --glass: rgba(15, 20, 77, .44);
  --line: rgba(158, 177, 255, .18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(16, 16, 106, .42), transparent 55%),
    radial-gradient(ellipse at 92% 38%, rgba(19, 34, 112, .13), transparent 38%),
    var(--navy);
  color: var(--white);
  font-family: var(--sans);
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(147, 168, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 168, 255, .018) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  pointer-events: none;
}
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { color: white; background: rgba(83, 109, 255, .5); }

.ambient { position: fixed; z-index: 0; width: 35rem; height: 35rem; border-radius: 50%; filter: blur(115px); opacity: .16; pointer-events: none; }
.ambient-one { top: 18%; left: -23rem; background: #10106a; }
.ambient-two { top: 62%; right: -25rem; background: #2039a9; opacity: .1; }
.starfield, .intro-stars { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.starfield::before, .starfield::after, .intro-stars::before, .intro-stars::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 12% 21%, rgba(196, 208, 255, .65) 50%, transparent 100%), radial-gradient(1px 1px at 69% 37%, rgba(83, 109, 255, .8) 50%, transparent 100%), radial-gradient(1px 1px at 42% 77%, rgba(196, 208, 255, .5) 50%, transparent 100%), radial-gradient(2px 2px at 88% 81%, rgba(83, 109, 255, .5) 50%, transparent 100%), radial-gradient(1px 1px at 25% 54%, rgba(196, 208, 255, .45) 50%, transparent 100%);
  background-size: 390px 390px;
  content: "";
  animation: star-drift 32s linear infinite;
}
.starfield::after, .intro-stars::after { opacity: .45; transform: translateY(28px); animation-duration: 48s; animation-direction: reverse; }
.intro-stars { position: absolute; z-index: 0; }
.cursor-glow { position: fixed; z-index: 30; top: 0; left: 0; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(83, 109, 255, .105), transparent 70%); pointer-events: none; transform: translate(-50%, -50%); }
.music-toggle { position: fixed; z-index: 65; top: 1.25rem; right: 1.3rem; display: inline-flex; min-height: 2.5rem; align-items: center; gap: .55rem; padding: .55rem .85rem; border: 1px solid rgba(143, 162, 255, .32); border-radius: 999px; background: rgba(7, 7, 50, .78); color: var(--pale-blue); font-size: .67rem; letter-spacing: .04em; backdrop-filter: blur(12px); cursor: pointer; transition: background .25s ease, border-color .25s ease; }
.music-toggle:hover { border-color: var(--electric); background: rgba(24, 31, 105, .88); }
.music-icon { color: #aab8ff; font-size: 1rem; }
.music-toggle[aria-pressed="true"] .music-icon { animation: music-wave 1.1s ease-in-out infinite; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 52%, rgba(16, 16, 106, .28), transparent 47%),
    #030326;
  transition: opacity 1s ease, visibility 1s ease;
}
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro-content { position: relative; z-index: 2; width: min(90vw, 760px); text-align: center; }
.intro.is-revealing .intro-content { opacity: 0; visibility: hidden; transform: scale(.96); transition: opacity .45s ease, transform .45s ease, visibility .45s; }
.eyebrow { margin: 0 0 1.15rem; color: var(--pale-blue); font-size: .68rem; font-weight: 600; letter-spacing: .2em; line-height: 1.7; text-transform: uppercase; }
.intro-label { margin-bottom: 1.25rem; }
.intro-label span { padding-left: .35rem; color: var(--electric); }
.intro h1 { margin: 0; font: 500 clamp(3.2rem, 9vw, 7rem)/1.08 var(--serif); letter-spacing: -.055em; }
.blue-heart { color: var(--electric); text-shadow: 0 0 24px rgba(83, 109, 255, .65); }
.intro-subtitle { min-height: 2rem; margin: 1.15rem 0 1.9rem; color: var(--pale-blue); font-size: clamp(.95rem, 2vw, 1.1rem); letter-spacing: .02em; }
.intro-button[hidden] { display: none; }
.button {
  position: relative;
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: .9rem 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(115, 140, 255, .5);
  border-radius: 999px;
  background: rgba(15, 22, 86, .45);
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .025em;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.button span { color: #b7c5ff; font-size: 1.05rem; transition: transform .25s ease; }
.button:hover { transform: translateY(-3px); border-color: var(--electric); background: rgba(25, 37, 127, .64); box-shadow: 0 0 28px rgba(83, 109, 255, .22), inset 0 0 20px rgba(83, 109, 255, .08); }
.button:hover span { transform: translate(2px, -2px); }
.button-primary { border-color: rgba(130, 151, 255, .86); background: linear-gradient(115deg, rgba(51, 72, 196, .82), rgba(31, 41, 142, .88)); box-shadow: 0 0 25px rgba(83, 109, 255, .18), inset 0 1px rgba(255,255,255,.13); animation: button-glow 3.2s ease-in-out infinite; }
.button-outline { border-color: var(--line); background: rgba(10, 12, 49, .45); }
.intro-orbit { position: absolute; z-index: -1; top: 50%; left: 50%; width: min(80vw, 580px); aspect-ratio: 1; border: 1px solid rgba(83, 109, 255, .12); border-radius: 50%; transform: translate(-50%, -50%); animation: orbit 28s linear infinite; }
.intro-orbit::before, .intro-orbit::after { position: absolute; inset: 8%; border: 1px solid rgba(83, 109, 255, .08); border-radius: 50%; content: ""; }
.intro-orbit::after { inset: -8%; }
.intro-orbit i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #8397ff; box-shadow: 0 0 16px #536dff; }
.intro-orbit i:nth-child(1) { top: 13%; left: 24%; }
.intro-orbit i:nth-child(2) { right: 9%; bottom: 30%; }
.intro-orbit i:nth-child(3) { bottom: 8%; left: 37%; }
.reveal-sequence { position: absolute; z-index: 3; inset: 0; display: grid; align-content: center; justify-items: center; gap: .55rem; padding: 2rem; color: white; font: 500 clamp(1.7rem, 5vw, 3.8rem)/1.2 var(--serif); text-align: center; text-shadow: 0 0 35px rgba(83, 109, 255, .7); pointer-events: none; }
.reveal-sequence span { display: block; animation: text-arrive .6s both; }
.reveal-sequence span:last-child { color: #b7c5ff; font-weight: 700; }
.reveal-heart { position: absolute; z-index: 1; top: 50%; left: 50%; color: #8da1ff; font-size: 1rem; opacity: 0; text-shadow: 0 0 22px #536dff; transform: translate(-50%, -50%); }
.intro.is-revealing .reveal-heart { animation: heart-reveal 4.1s ease-in-out both; }

.topbar { position: absolute; top: 0; left: 0; z-index: 5; display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1.5rem clamp(1.3rem, 5.2vw, 5rem); }
.wordmark { font: 600 1.55rem var(--serif); }
.wordmark span { color: var(--electric); }
.topbar-note, .topbar-link { color: var(--muted); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.topbar-link { color: var(--pale-blue); }
.topbar-link span { padding-left: .45rem; color: var(--electric); }
.section-shell { position: relative; z-index: 1; width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.hero { display: grid; min-height: min(820px, 100svh); grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(2rem, 8vw, 8rem); padding-top: 7rem; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 2rem; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: .85rem; }
.eyebrow-line { width: 1.8rem; height: 1px; background: var(--electric); }
.hero h2, .gallery-heading h2, .reasons-copy h2 { margin: 0; font: 500 clamp(3.2rem, 6.7vw, 6.6rem)/1.02 var(--serif); letter-spacing: -.055em; }
.hero h2 em, .gallery-heading h2 em, .reasons-copy h2 em, .revelation-copy h2 em, .complaint-card h2 em, .question-card h2 em { color: #9fb0ff; font-weight: 500; }
.hero-description { max-width: 440px; margin: 1.5rem 0 1.8rem; color: var(--muted); font-size: .98rem; line-height: 1.8; }
.hero-description .blue-heart { font-size: .8rem; }
.hero-index { display: flex; align-items: center; gap: .75rem; margin-top: 4.5rem; color: #7d89bc; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-index span { color: #aab8ff; }
.hero-index i { width: 2.2rem; height: 1px; background: rgba(153, 171, 255, .4); }
.hero-portrait { position: relative; width: min(100%, 410px); justify-self: center; perspective: 1000px; }
.portrait-frame { position: relative; height: min(66svh, 610px); min-height: 450px; padding: .65rem; overflow: hidden; border: 1px solid rgba(147, 168, 255, .32); border-radius: 220px 220px 13px 13px; background: linear-gradient(155deg, rgba(105, 127, 255, .17), rgba(5, 6, 43, .2)); box-shadow: 0 25px 85px rgba(1, 2, 27, .45), 0 0 55px rgba(35, 54, 171, .18); transform-style: preserve-3d; }
.portrait-frame img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 50% 39%; }
.portrait-frame::after { position: absolute; inset: .65rem; border-radius: 220px 220px 10px 10px; background: linear-gradient(180deg, transparent 55%, rgba(3, 3, 38, .68)); content: ""; pointer-events: none; }
.portrait-shine { position: absolute; z-index: 1; top: 0; left: -100%; width: 65%; height: 100%; background: linear-gradient(105deg, transparent, rgba(198, 211, 255, .12), transparent); transform: skewX(-12deg); transition: left .9s ease; }
.hero-portrait:hover .portrait-shine { left: 145%; }
.portrait-caption { position: absolute; z-index: 2; right: 1.6rem; bottom: 1.75rem; left: 1.6rem; display: flex; justify-content: space-between; color: #eff2ff; font: italic 1rem var(--serif); }
.portrait-caption b { color: #aab8ff; }
.orbit-label { position: absolute; z-index: 3; padding: .55rem .85rem; border: 1px solid rgba(157, 175, 255, .18); border-radius: 99px; background: rgba(7, 7, 50, .72); color: var(--pale-blue); font-size: .63rem; letter-spacing: .08em; backdrop-filter: blur(12px); }
.orbit-label-top { top: 15%; right: -2.7rem; transform: rotate(5deg); }
.orbit-label-bottom { bottom: 17%; left: -3.1rem; transform: rotate(-5deg); }
.orbit-label-bottom span { padding-left: .3rem; color: var(--electric); }
.hero-coordinate { position: absolute; right: 0; bottom: 2.5rem; color: rgba(164, 176, 222, .4); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }

.revelation { padding-top: 6rem; }
.section-kicker { display: flex; align-items: center; gap: .8rem; color: #929ecf; font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; }
.section-kicker span { color: #a9b8ff; }
.section-kicker i { width: 2.25rem; height: 1px; background: rgba(112, 137, 255, .56); }
.revelation-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(3rem, 9vw, 8rem); padding: 4.5rem 4vw 0; }
.revelation-photo { position: relative; width: min(100%, 390px); height: 510px; justify-self: center; padding: .6rem; border: 1px solid rgba(131, 151, 255, .35); border-radius: 48% 48% 13px 13px; background: linear-gradient(145deg, rgba(83, 109, 255, .18), transparent); box-shadow: 0 0 65px rgba(35, 54, 171, .16); }
.revelation-photo img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center 30%; }
.photo-stamp { position: absolute; right: -2.4rem; bottom: 2rem; padding: .8rem 1rem; border: 1px solid rgba(154, 174, 255, .2); background: rgba(5, 5, 42, .78); color: var(--pale-blue); font-size: .6rem; letter-spacing: .1em; line-height: 1.6; text-transform: uppercase; transform: rotate(5deg); backdrop-filter: blur(10px); }
.photo-stamp b { color: white; font: 500 1.4rem var(--serif); }
.revelation-copy { max-width: 480px; }
.revelation-copy .eyebrow { margin-bottom: 1.5rem; }
.revelation-copy h2 { margin: 0; font: 600 clamp(2.4rem, 4.6vw, 4.7rem)/1.1 var(--serif); letter-spacing: -.04em; }
.revelation-copy > p:not(.eyebrow) { max-width: 360px; margin: 1.35rem 0 1.7rem; color: var(--muted); font-size: .94rem; line-height: 1.8; }

.gallery-section { padding-top: 11rem; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.gallery-heading h2 { margin-top: 1.35rem; font-size: clamp(2.65rem, 5.7vw, 5.4rem); }
.gallery-heading > p { margin: 0 0 .45rem; color: var(--muted); font: italic 1rem/1.7 var(--serif); text-align: right; }
.gallery { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 100px 220px 80px 230px; gap: 1.1rem; margin-top: 3.4rem; }
.photo-card { position: relative; display: block; align-self: stretch; padding: .65rem .65rem 2.8rem; border: 1px solid rgba(180, 193, 255, .16); background: linear-gradient(145deg, rgba(25, 30, 95, .76), rgba(9, 10, 47, .87)); box-shadow: 0 16px 40px rgba(0, 0, 15, .34); text-align: left; transition: z-index .2s, transform .38s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; }
.photo-card:hover, .photo-card:focus-visible { z-index: 3; border-color: rgba(143, 162, 255, .65); box-shadow: 0 20px 55px rgba(0, 0, 20, .5), 0 0 32px rgba(66, 87, 206, .2); transform: translateY(-9px) rotate(0) scale(1.035); }
.photo-card-one { grid-area: 1 / 1 / 3 / 5; transform: rotate(-3deg); }
.photo-card-two { grid-area: 1 / 5 / 2 / 9; transform: rotate(2deg); }
.photo-card-three { grid-area: 1 / 9 / 3 / 13; transform: rotate(3deg); }
.photo-card-four { grid-area: 3 / 1 / 5 / 5; transform: rotate(2deg); }
.photo-card-five { grid-area: 2 / 5 / 5 / 9; transform: rotate(-2deg); }
.photo-card-six { grid-area: 3 / 9 / 5 / 13; transform: rotate(-3deg); }
.card-image { display: block; height: 100%; min-height: 130px; overflow: hidden; background: #070742; }
.card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .7s ease; }
.photo-card:hover img { transform: scale(1.045); }
.photo-card-two img { object-position: center 67%; }
.photo-card-four img { object-position: center 38%; }
.photo-card-five img { object-position: center 28%; }
.card-note { position: absolute; right: .8rem; bottom: .7rem; left: .8rem; display: flex; justify-content: space-between; color: #d7ddff; font: italic .82rem var(--serif); }
.card-note b { align-self: center; color: #8797e2; font: 500 .56rem var(--sans); letter-spacing: .08em; }
.gallery-hint { display: none; color: #8d99c9; font-size: .7rem; letter-spacing: .08em; text-align: center; }
.gallery-hint span { padding: 0 .4rem; color: #aab8ff; }

.complaint-section { padding-top: 11rem; }
.complaint-card { position: relative; max-width: 850px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 2rem; overflow: hidden; border: 1px solid rgba(131, 151, 255, .2); border-radius: 8px; background: linear-gradient(140deg, rgba(15, 20, 83, .55), rgba(6, 7, 47, .62)); text-align: center; box-shadow: 0 30px 90px rgba(0, 0, 20, .2); }
.complaint-card::before, .complaint-card::after { position: absolute; width: 18rem; height: 18rem; border: 1px solid rgba(83, 109, 255, .11); border-radius: 50%; content: ""; pointer-events: none; }
.complaint-card::before { top: -13rem; left: -9rem; box-shadow: 0 0 0 25px rgba(83, 109, 255, .025), 0 0 0 50px rgba(83, 109, 255, .02); }
.complaint-card::after { right: -10rem; bottom: -14rem; }
.complaint-decoration { position: absolute; top: 1.2rem; right: 1.5rem; color: rgba(161, 177, 255, .16); font: italic 5rem var(--serif); }
.complaint-card .eyebrow, .complaint-card h2, .complaint-card button, .complaint-answer { position: relative; z-index: 1; }
.complaint-card h2 { margin: 0 auto 1.8rem; font: 500 clamp(2rem, 4.5vw, 3.7rem)/1.2 var(--serif); letter-spacing: -.03em; }
.complaint-answer { max-width: 650px; margin: 2rem auto 0; animation: text-arrive .6s both; }
.complaint-answer[hidden] { display: none; }
.complaint-answer h3 { margin: 0 0 1rem; color: #bac6ff; font: 700 clamp(1.55rem, 4vw, 2.8rem)/1.15 var(--sans); letter-spacing: .025em; }
.complaint-answer p { color: var(--muted); line-height: 1.8; }
.complaint-reaction { display: inline-block; margin-top: .6rem; color: #8096ff; font-size: 1.4rem; letter-spacing: .35rem; text-shadow: 0 0 22px #536dff; animation: heart-beat 1.3s ease-in-out infinite; }

.question-section { padding-top: 10rem; }
.question-card { position: relative; max-width: 800px; margin: 2.5rem auto 0; padding: clamp(2.5rem, 6vw, 5rem) 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.question-mark { position: absolute; top: 0; right: 4%; color: rgba(83, 109, 255, .13); font: italic 12rem/.8 var(--serif); pointer-events: none; }
.question-card .eyebrow, .question-card h2, .answer-buttons, .answer-message { position: relative; z-index: 1; }
.question-card h2 { margin: 0 0 2rem; font: 500 clamp(2.2rem, 5.2vw, 4.4rem)/1.14 var(--serif); letter-spacing: -.04em; }
.answer-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.answer-message { min-height: 1.5rem; margin: 1.4rem 0 0; color: #c5d0ff; font: italic 1.1rem var(--serif); }
.answer-message.is-visible { animation: text-arrive .4s both; }

.reasons-section { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); padding-top: 11rem; }
.reasons-copy h2 { max-width: 570px; margin: 1.5rem 0; font-size: clamp(2.8rem, 5.3vw, 5rem); }
.reasons-copy > p:not(.eyebrow) { max-width: 420px; margin-bottom: 1.8rem; color: var(--muted); font-size: .93rem; line-height: 1.8; }
.compliment-display { position: relative; min-height: 320px; display: flex; flex-direction: column; justify-content: center; padding: 2.3rem; overflow: hidden; border: 1px solid rgba(143, 162, 255, .22); background: radial-gradient(ellipse at 50% 0, rgba(28, 40, 134, .34), transparent 65%), rgba(9, 10, 51, .55); box-shadow: 0 25px 80px rgba(0, 0, 20, .2); }
.compliment-count { display: flex; align-items: baseline; gap: .4rem; }
.compliment-count strong { color: #c8d2ff; font: 500 clamp(3.5rem, 7vw, 6rem)/1 var(--serif); letter-spacing: -.05em; text-shadow: 0 0 28px rgba(83, 109, 255, .4); }
.compliment-count small { color: #8290c5; font-size: .8rem; }
.count-rule { width: 3rem; height: 1px; margin: 1.3rem 0; background: var(--electric); }
#complimentText { min-height: 4.5rem; max-width: 340px; margin: 0; color: #e3e8ff; font: italic 1.25rem/1.5 var(--serif); }
.compliment-display.is-changing #complimentText { animation: text-arrive .45s both; }
.display-sparkle { position: absolute; right: 1.3rem; bottom: .5rem; color: rgba(115, 137, 255, .23); font-size: 7rem; animation: orbit 30s linear infinite; }
#complimentButton:disabled { cursor: default; opacity: .65; animation: none; }

.final-section { padding-top: 12rem; }
.final-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 9vw, 8rem); padding: 4rem 4vw 0; }
.final-photo { position: relative; height: 540px; padding: .6rem; border: 1px solid rgba(131, 151, 255, .3); background: linear-gradient(145deg, rgba(83, 109, 255, .16), transparent); box-shadow: 0 0 75px rgba(31, 50, 163, .14); }
.final-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.final-photo-label { position: absolute; right: -1.2rem; bottom: 1.5rem; padding: .7rem 1rem; border: 1px solid rgba(157, 175, 255, .2); background: rgba(5, 5, 42, .84); color: var(--pale-blue); font: italic .8rem var(--serif); backdrop-filter: blur(12px); }
.final-photo-label span { padding-left: .4rem; color: var(--electric); }
.final-copy { max-width: 520px; }
.final-copy .eyebrow { margin-bottom: 1.7rem; }
.final-line { margin: 0 0 1rem; color: #b5c0ed; font: 500 clamp(1.25rem, 2.4vw, 1.85rem)/1.48 var(--serif); }
.final-line:first-of-type { color: white; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.final-emphasis { padding-top: .5rem; color: white; font-size: clamp(2rem, 4vw, 3.1rem); font-style: italic; }
.final-promise { color: white; }
.restart-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-top: 6rem; text-align: center; }
.final-heart { color: #8da1ff; font-size: 2.5rem; text-shadow: 0 0 28px rgba(83, 109, 255, .75); animation: heart-beat 1.8s ease-in-out infinite; }
.restart-wrap > p { margin: .25rem 0 0; color: #7f8bbd; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.footer { display: flex; justify-content: space-between; gap: 1rem; max-width: 1180px; margin: 6rem auto 0; padding: 1.5rem 1.5rem 2rem; border-top: 1px solid rgba(154, 171, 239, .1); color: #727da8; font-size: .64rem; letter-spacing: .04em; }
.footer > span:first-child { color: #c4d0ff; font: 600 1rem var(--serif); }
.footer i { color: var(--electric); font-style: normal; }

.photo-modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 2rem; background: rgba(1, 1, 25, .88); backdrop-filter: blur(18px); }
.photo-modal[hidden] { display: none; }
.modal-close { position: absolute; top: 1.4rem; right: 1.6rem; width: 2.8rem; height: 2.8rem; border: 1px solid rgba(177, 191, 255, .3); border-radius: 50%; background: rgba(13, 17, 69, .65); color: white; font-size: 1.6rem; }
.modal-content { width: min(90vw, 440px); max-height: 90svh; text-align: center; animation: text-arrive .35s both; }
.modal-content img { max-height: 60svh; width: 100%; border: 1px solid rgba(151, 170, 255, .38); border-radius: 4px; object-fit: contain; background: #060633; box-shadow: 0 20px 80px rgba(0,0,20,.6), 0 0 40px rgba(65, 87, 199, .17); }
.modal-content > p { margin: 1.4rem auto .7rem; color: #e6eaff; font: italic clamp(1.25rem, 3vw, 1.65rem)/1.5 var(--serif); }
.modal-hint { color: #8997ce; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.modal-hint span { color: #8ba0ff; }
.particle-layer { position: fixed; z-index: 90; inset: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; color: #93a6ff; text-shadow: 0 0 14px #536dff; animation: particle-rise 1.6s ease-out forwards; }

.reveal { opacity: 0; transform: translateY(26px); filter: blur(5px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1), filter .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.revelation-photo.reveal, .hero-portrait.reveal, .final-photo.reveal { transform: translateY(24px) scale(.98); }
.revelation-photo.reveal.is-visible, .hero-portrait.reveal.is-visible, .final-photo.reveal.is-visible { transform: translateY(0) scale(1); }
.final-line.reveal { transition-delay: var(--line-delay, 0s); }

@keyframes star-drift { to { transform: translateY(-70px); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes button-glow { 50% { box-shadow: 0 0 33px rgba(83, 109, 255, .27), inset 0 1px rgba(255,255,255,.13); } }
@keyframes heart-beat { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.12); } 65% { transform: scale(.98); } }
@keyframes heart-reveal { 0% { opacity: 0; font-size: 1rem; } 15% { opacity: 1; font-size: 2rem; } 75% { opacity: .85; font-size: min(60vw, 40rem); } 100% { opacity: 0; font-size: min(75vw, 55rem); } }
@keyframes text-arrive { from { opacity: 0; filter: blur(8px); transform: translateY(14px); } to { opacity: 1; filter: blur(0); transform: translateY(0); } }
@keyframes particle-rise { 0% { opacity: 0; transform: translate(0, 0) scale(.4) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--drift), -120px) scale(1.2) rotate(35deg); } }
@keyframes music-wave { 50% { transform: scale(1.2) rotate(10deg); } }

@media (min-width: 1500px) { .hero { min-height: 900px; } }
@media (max-width: 800px) {
  .section-shell { width: min(100% - 2.4rem, 600px); }
  .topbar { padding: 1.25rem 1.3rem; }
  .topbar-note { display: none; }
  .music-toggle { top: 1rem; right: 1rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2rem; padding-top: 8rem; padding-bottom: 5rem; }
  .hero-copy { padding: 0; }
  .hero h2 { font-size: clamp(3.2rem, 12vw, 5.7rem); }
  .hero-index { margin-top: 2.5rem; }
  .hero-portrait { width: min(83%, 380px); }
  .portrait-frame { height: min(80svh, 580px); min-height: 430px; }
  .hero-coordinate { bottom: 1.5rem; }
  .revelation { padding-top: 4rem; }
  .revelation-grid { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0 0; }
  .revelation-photo { width: min(88%, 360px); height: 460px; }
  .revelation-copy { max-width: 550px; }
  .gallery-section, .complaint-section, .question-section, .reasons-section { padding-top: 7.5rem; }
  .gallery-heading { align-items: start; flex-direction: column; gap: .7rem; }
  .gallery-heading > p { text-align: left; }
  .gallery { grid-template-rows: 90px 180px 70px 190px; gap: .75rem; margin-top: 2.5rem; }
  .photo-card { padding: .45rem .45rem 2.3rem; }
  .card-note { right: .55rem; bottom: .55rem; left: .55rem; font-size: .72rem; }
  .card-note b { font-size: .47rem; }
  .reasons-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .compliment-display { min-height: 275px; }
  .final-section { padding-top: 8rem; }
  .final-grid { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0 0; }
  .final-photo { width: min(100%, 420px); height: 490px; justify-self: center; }
  .final-copy { max-width: 600px; }
  .restart-wrap { padding-top: 4rem; }
  .footer { margin-top: 4rem; }
}
@media (max-width: 520px) {
  html { scroll-padding-top: 2rem; }
  .section-shell { width: calc(100% - 2rem); }
  .intro-content { width: calc(100% - 2rem); }
  .intro h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .intro-button { max-width: 100%; padding: .9rem 1.1rem; font-size: .74rem; }
  .hero { padding-top: 7rem; }
  .hero-description { max-width: 340px; font-size: .9rem; }
  .hero-portrait { width: 82%; }
  .portrait-frame { height: min(72svh, 500px); min-height: 380px; }
  .orbit-label-top { right: -1.6rem; }
  .orbit-label-bottom { left: -1.8rem; }
  .revelation-photo { height: 410px; }
  .photo-stamp { right: -1rem; }
  .gallery { display: flex; gap: .9rem; margin-right: -1rem; margin-left: -1rem; padding: .4rem 1rem 1.3rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(107, 129, 239, .45) transparent; }
  .photo-card { flex: 0 0 min(72vw, 270px); height: 370px; scroll-snap-align: center; }
  .photo-card:nth-child(even) { margin-top: 1.5rem; }
  .photo-card-three, .photo-card-four, .photo-card-five, .photo-card-six { transform: rotate(0); }
  .photo-card:hover { transform: translateY(-5px) scale(1.015); }
  .card-image { min-height: 0; }
  .gallery-hint { display: block; margin-top: .35rem; }
  .complaint-card { padding: 3.5rem 1.2rem; }
  .question-card { padding-right: .25rem; padding-left: .25rem; }
  .answer-buttons { flex-direction: column; align-items: stretch; padding: 0 .6rem; }
  .button { min-height: 3.25rem; }
  .final-photo { height: 440px; }
  .footer { flex-direction: column; align-items: center; text-align: center; }
  .cursor-glow { display: none; }
}
@media (pointer: coarse) { .cursor-glow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
