@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --paper: #fff8fb;
  --white: #fffefe;
  --pink-050: #fff1f6;
  --pink-100: #fde2ec;
  --pink-200: #f8bfd4;
  --pink-300: #f19abb;
  --pink-500: #d65385;
  --pink-700: #8e2f56;
  --berry: #4f1830;
  --ink: #34252d;
  --muted: #755f6b;
  --line: rgba(142,47,86,.2);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.72 var(--sans); overflow-x: hidden; }
body.menu-open, body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; color: white; background: var(--berry); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255,248,251,.9); backdrop-filter: blur(18px); }
.school-lockup { display: flex; align-items: center; gap: 11px; }
.school-lockup img:first-child { width: 76px; height: auto; }
.school-lockup img:last-child { width: 44px; height: 44px; object-fit: contain; }
.school-lockup span { width: 1px; height: 28px; background: var(--line); }
.desktop-nav { display: flex; justify-self: center; justify-content: center; gap: clamp(22px,3vw,52px); }
.desktop-nav a { position: relative; text-decoration: none; color: var(--berry); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: -8px; height: 2px; background: var(--pink-500); transition: left .25s ease, right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { left: 0; right: 0; }
.initial-mark { display: grid; place-items: center; justify-self: end; width: 48px; aspect-ratio: 1; border: 1px solid var(--pink-500); border-radius: 50%; color: var(--pink-700); font: italic 19px/1 var(--serif); text-decoration: none; }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(430px,1.08fr) minmax(470px,.92fr); align-items: stretch; gap: clamp(28px,4vw,78px); padding: 104px clamp(32px,6.5vw,124px) 0; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 17% 35%,rgba(248,191,212,.3),transparent 31%), linear-gradient(135deg,#fffafd 0%,#fff4f8 56%,#fffafd 100%); }
.hero::before { content: ''; position: absolute; z-index: 0; width: 42vw; aspect-ratio: 1; left: -13vw; top: 12%; border: 1px solid rgba(214,83,133,.13); border-radius: 50%; box-shadow: 0 0 0 52px rgba(214,83,133,.025),0 0 0 104px rgba(214,83,133,.018); }
.hero-copy { position: relative; z-index: 6; align-self: center; max-width: 760px; padding: 66px 0 92px; }
.hero-kicker, .hero-role, .hero-school, .eyebrow, .ribbon-label, .dialog-meta { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker { color: var(--pink-700); }
h1 { margin: 26px 0; font-family: var(--serif); font-weight: 400; line-height: .82; letter-spacing: -.055em; }
.hero-copy h1 { position: relative; margin: 25px 0 28px; color: var(--berry); }
.hero-copy h1 span, .hero-copy h1 em { display: block; font-size: clamp(76px,7.2vw,138px); font-weight: 400; }
.hero-copy h1 em { margin-top: .06em; }
.hero-copy h1 strong { position: absolute; left: min(66%,470px); bottom: .08em; color: var(--pink-500); font: 700 clamp(24px,2vw,38px)/1 var(--sans); letter-spacing: .04em; white-space: nowrap; }
.hero-role { display: inline-block; padding: 9px 14px; color: var(--berry); background: var(--pink-100); line-height: 1.45; }
.hero-school { margin-top: 18px; color: var(--muted); line-height: 1.6; }
.hero-school span { color: var(--pink-700); }
.hero-copy blockquote { max-width: 590px; margin: 34px 0 28px; padding-left: 24px; border-left: 2px solid var(--pink-300); color: var(--berry); font: italic clamp(20px,1.65vw,29px)/1.42 var(--serif); }
.enter-link { display: inline-flex; gap: 14px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid var(--pink-700); color: var(--pink-700); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.enter-link span { font-size: 18px; transition: transform .25s ease; }
.enter-link:hover span { transform: translateY(4px); }
.hero-portrait { position: relative; z-index: 4; align-self: center; height: min(calc(100svh - 150px),760px); min-height: 600px; display: flex; align-items: flex-end; justify-content: center; }
.portrait-main, .portrait-shadow { position: absolute; bottom: 0; left: 46%; width: min(52vw,840px); max-width: none; max-height: 90%; object-fit: contain; object-position: center bottom; transform: translateX(-50%); }
.portrait-main { z-index: 4; filter: drop-shadow(0 24px 24px rgba(79,24,48,.14)); }
.portrait-shadow { z-index: 2; transform: translate(calc(-50% + 18px),14px) scale(1.015); filter: brightness(.28) saturate(.7) blur(24px); opacity: .2; }
.portrait-ribbon { position: absolute; z-index: 1; left: -20%; top: 43%; width: 128%; max-width: none; transform: rotate(-8deg); opacity: .82; filter: drop-shadow(0 18px 22px rgba(142,47,86,.12)); }
.copy-ribbon { position: absolute; z-index: -1; width: 330px; right: -80px; top: 28px; transform: rotate(11deg); opacity: .28; }
.molecule-trace { position: absolute; z-index: 2; display: flex; align-items: center; gap: 45px; opacity: .45; }
.molecule-trace i { position: relative; display: block; width: 10px; aspect-ratio: 1; border: 2px solid var(--pink-700); border-radius: 50%; }
.molecule-trace i + i::before { content: ''; position: absolute; right: 8px; top: 3px; width: 47px; height: 1px; background: var(--pink-700); transform-origin: right; }
.molecule-one { right: 5%; top: 18%; transform: rotate(14deg); }
.molecule-two { right: 8%; bottom: 11%; transform: rotate(-20deg); }

.section-pad { position: relative; padding: 120px clamp(28px,7vw,134px); }
.ribbon-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 65px; color: var(--pink-700); }
.ribbon-label span { display: grid; place-items: center; width: 38px; height: 30px; color: white; background: var(--pink-500); clip-path: polygon(0 0,100% 0,86% 50%,100% 100%,0 100%,10% 50%); }
.eyebrow { color: var(--pink-500); }
h2 { margin: 15px 0 0; color: var(--berry); font: 400 clamp(48px,5vw,94px)/1.02 var(--serif); letter-spacing: -.04em; }

.about { background: var(--white); }
.about::after { content: ''; position: absolute; right: 0; bottom: 0; width: 34%; height: 12px; background: linear-gradient(90deg,var(--pink-100),var(--pink-500)); }
.about-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: 9vw; align-items: start; }
.about-heading { position: sticky; top: 130px; }
.about-heading h2 { max-width: 760px; }
.about-story { max-width: 760px; padding-top: 42px; }
.about-story p { margin: 0 0 27px; color: var(--muted); font-size: 17px; }
.about-story p:first-child::first-letter { float: left; margin: 8px 10px 0 0; color: var(--pink-500); font: 86px/.65 var(--serif); }
.purpose-line { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 90px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--pink-700); font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.purpose-line i { width: min(9vw,130px); height: 1px; background: var(--pink-300); }

.education { position: relative; min-height: 920px; padding: 130px clamp(28px,7vw,134px); color: white; overflow: hidden; background: var(--berry); }
.education-word { position: absolute; left: -12px; bottom: 28px; color: rgba(255,255,255,.035); font: clamp(100px,15vw,280px)/.8 var(--serif); letter-spacing: -.05em; }
.education .ribbon-label { margin-bottom: 58px; color: var(--pink-200); }
.education .eyebrow { color: var(--pink-300); }
.education h2 { color: white; }
.education-copy { position: relative; z-index: 2; max-width: 980px; }
.credential-track { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 100px; border-top: 1px solid rgba(255,255,255,.25); }
.credential-track article { position: relative; min-height: 270px; padding: 48px 48px 40px 0; }
.credential-track article + article { padding-left: 48px; border-left: 1px solid rgba(255,255,255,.2); }
.credential-track article::before { content: ''; position: absolute; top: -8px; left: 0; width: 14px; aspect-ratio: 1; border: 2px solid var(--berry); border-radius: 50%; background: var(--pink-300); box-shadow: 0 0 0 1px var(--pink-300); }
.credential-track article + article::before { left: 48px; }
.credential-track time, .credential-track span { color: var(--pink-200); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.credential-track h3 { max-width: 430px; margin: 20px 0 10px; font: 400 clamp(29px,2.4vw,44px)/1.15 var(--serif); }
.credential-track p { margin: 0 0 22px; color: rgba(255,255,255,.7); }
.credential-track .current { background: linear-gradient(180deg,rgba(214,83,133,.2),transparent); }

.journey { background: linear-gradient(180deg,var(--paper),var(--pink-050)); }
.journey-intro { max-width: 920px; }
.journey-intro > p:last-child { max-width: 740px; margin: 28px 0 0; color: var(--muted); font-size: 17px; }
.chapter-index { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-top: 95px; padding: 1px; background: var(--line); }
.chapter-card { position: relative; min-height: 300px; padding: 28px; border: 0; color: var(--ink); background: var(--white); text-align: left; cursor: pointer; overflow: hidden; transition: transform .35s ease, background .35s ease, color .35s ease; }
.chapter-card::after { content: 'Read entry ↗'; position: absolute; left: 28px; bottom: 25px; color: var(--pink-700); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.chapter-card:hover, .chapter-card:focus-visible { z-index: 2; transform: translateY(-10px); color: white; background: var(--pink-700); outline: none; }
.chapter-card:hover::after, .chapter-card:focus-visible::after, .chapter-card:hover time, .chapter-card:focus-visible time { color: var(--pink-100); }
.chapter-card > span { position: absolute; right: 20px; top: 12px; color: rgba(214,83,133,.12); font: 86px/1 var(--serif); }
.chapter-card time { color: var(--pink-500); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.chapter-card h3 { position: relative; max-width: 260px; margin: 42px 0 15px; font: 400 29px/1.13 var(--serif); }
.chapter-card p { position: relative; margin: 0; color: inherit; font-size: 14px; line-height: 1.55; opacity: .72; }
.chapter-card.milestone { background: var(--pink-100); }
.chapter-card.passed { grid-column: span 2; color: white; background: var(--pink-500); }
.chapter-card.passed::after, .chapter-card.passed time { color: white; }
.chapter-card.passed > span { color: rgba(255,255,255,.16); }

.gallery { background: var(--white); }
.gallery-copy { display: grid; grid-template-columns: .45fr 1.1fr .8fr; gap: 5vw; align-items: end; }
.gallery-copy .ribbon-label { align-self: start; }
.gallery-copy h2 { margin: 0; }
.gallery-copy > p:last-child { margin: 0 0 8px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: .8fr 1.2fr .8fr; grid-template-rows: 360px 360px; gap: 18px; margin-top: 80px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; background: var(--pink-100); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; left: 18px; bottom: 18px; padding: 7px 12px; color: white; background: rgba(79,24,48,.72); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: 2 / 3; }

.reflection { position: relative; min-height: 100svh; display: grid; grid-template-columns: .95fr 1.05fr; color: white; background: var(--pink-700); }
.closing-image { position: sticky; top: 82px; height: calc(100svh - 82px); overflow: hidden; }
.closing-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s ease; }
.closing-image:hover img { transform: scale(1.025); }
.reflection-story { display: flex; flex-direction: column; justify-content: center; padding: 120px clamp(32px,6vw,110px); }
.reflection .ribbon-label, .reflection .eyebrow { color: var(--pink-100); }
.reflection .ribbon-label span { color: var(--pink-700); background: white; }
.reflection h2 { color: white; font-size: clamp(46px,4.4vw,80px); }
.reflection-story > p:not(.eyebrow):not(.closing-line) { max-width: 800px; color: rgba(255,255,255,.78); }
.reflection-story blockquote { max-width: 820px; margin: 35px 0; padding: 24px 0 24px 30px; border-left: 3px solid var(--pink-200); color: white; font: italic clamp(24px,2vw,34px)/1.4 var(--serif); }
.reflection-story .closing-line { color: var(--pink-100); font: italic 30px/1.4 var(--serif); }

.contact { min-height: 540px; display: grid; grid-template-columns: 1fr .8fr; gap: 8vw; align-items: center; color: var(--berry); background: var(--pink-100); }
.contact h2 { font-size: clamp(52px,5.7vw,105px); }
.contact address { display: flex; flex-direction: column; gap: 14px; font-style: normal; }
.contact address a { width: fit-content; padding-bottom: 5px; border-bottom: 1px solid var(--pink-700); color: var(--pink-700); text-decoration: none; font-size: clamp(18px,1.6vw,27px); }
.contact address span { color: var(--muted); }
.copyright { position: absolute; left: clamp(28px,7vw,134px); right: clamp(28px,7vw,134px); bottom: 26px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--pink-700); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.story-dialog { width: min(760px,calc(100% - 30px)); max-height: calc(100svh - 32px); margin: auto 0 auto auto; padding: 0; border: 0; color: var(--ink); background: var(--white); box-shadow: -24px 0 80px rgba(79,24,48,.25); }
.story-dialog[open] { animation: sheet-in .45s cubic-bezier(.2,.75,.2,1); }
.story-dialog::backdrop { background: rgba(64,18,38,.55); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; z-index: 4; top: 0; width: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 9px; padding: 20px 28px; border: 0; border-bottom: 1px solid var(--line); color: var(--pink-700); background: rgba(255,254,254,.94); cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.dialog-close span { font-size: 24px; font-weight: 400; }
.dialog-ribbon { height: 16px; background: linear-gradient(90deg,var(--pink-100),var(--pink-500),var(--pink-200)); }
#dialog-content { padding: 56px clamp(28px,6vw,74px) 80px; }
#dialog-content h2 { margin-bottom: 40px; font-size: clamp(47px,5vw,72px); }
#dialog-content > p { color: var(--muted); }
#dialog-content blockquote { margin: 42px 0 0; padding: 26px 30px; color: var(--berry); background: var(--pink-050); font: italic 24px/1.45 var(--serif); }
#dialog-content blockquote strong { display: block; margin-bottom: 10px; color: var(--pink-500); font: 700 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.dialog-meta { color: var(--pink-500) !important; }
@keyframes sheet-in { from { transform: translateX(100%); opacity: .4; } to { transform: translateX(0); opacity: 1; } }

.music-player { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: grid; grid-template-columns: 42px auto 130px; align-items: center; gap: 12px; min-width: 330px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: white; background: rgba(79,24,48,.88); box-shadow: 0 12px 32px rgba(79,24,48,.2); backdrop-filter: blur(14px); }
.music-toggle { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border: 0; border-radius: 50%; color: var(--berry); background: var(--pink-100); cursor: pointer; }
.play-icon { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.music-toggle.is-paused .play-icon { width: 0; height: 0; margin-left: 3px; border: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; }
.track-copy { display: flex; flex-direction: column; min-width: 90px; line-height: 1.25; }
.track-copy strong { font-size: 12px; }
.track-copy span { color: rgba(255,255,255,.65); font-size: 11px; }
.volume-control { display: grid; grid-template-columns: 1fr 34px; align-items: center; gap: 7px; }
.volume-control input { width: 100%; height: 3px; appearance: none; border-radius: 99px; background: linear-gradient(90deg,var(--pink-200) 70%,rgba(255,255,255,.25) 70%); cursor: pointer; }
.volume-control input::-webkit-slider-thumb { width: 15px; height: 15px; appearance: none; border: 3px solid var(--berry); border-radius: 50%; background: white; box-shadow: 0 0 0 1px var(--pink-200); }
.volume-control input::-moz-range-thumb { width: 10px; height: 10px; border: 3px solid var(--berry); border-radius: 50%; background: white; }
.volume-control output { font-size: 11px; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto 1fr; padding-inline: 22px; }
  .school-lockup img:first-child { width: 66px; }
  .school-lockup img:last-child { width: 39px; height: 39px; }
  .desktop-nav { gap: 22px; }
  .hero { grid-template-columns: minmax(390px,1fr) minmax(410px,.9fr); padding-inline: 30px; }
  .hero-copy h1 span, .hero-copy h1 em { font-size: clamp(70px,7vw,98px); }
  .portrait-main, .portrait-shadow { left: 46%; width: min(55vw,720px); }
  .chapter-index { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery-copy { grid-template-columns: .35fr 1fr .75fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 70px; grid-template-columns: 1fr auto; padding-inline: 18px; }
  .desktop-nav, .initial-mark { display: none; }
  .school-lockup img:first-child { width: 68px; }
  .school-lockup img:last-child { width: 38px; height: 38px; }
  .menu-toggle { display: flex; align-items: center; gap: 11px; padding: 8px 0; border: 0; color: var(--berry); background: transparent; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .menu-toggle i, .menu-toggle i::after { display: block; width: 24px; height: 1px; background: currentColor; content: ''; transition: transform .3s ease; }
  .menu-toggle i::after { transform: translateY(7px); }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { transform: rotate(-90deg); }
  .mobile-menu { position: fixed; z-index: 90; inset: 70px 0 0; display: flex; flex-direction: column; gap: 18px; padding: 46px 24px; background: rgba(255,248,251,.98); transform: translateY(-110%); transition: transform .4s ease; }
  .mobile-menu.is-open { transform: none; }
  .mobile-menu a { color: var(--berry); font: 38px/1.2 var(--serif); text-decoration: none; }

  .hero { min-height: 0; grid-template-columns: 1fr; gap: 0; padding: 92px 22px 68px; }
  .hero-portrait { order: 1; width: min(100%,620px); height: 62svh; min-height: 500px; margin: 0 auto; }
  .portrait-main, .portrait-shadow { left: 50%; width: min(120%,680px); max-height: 94%; }
  .portrait-ribbon { left: -15%; top: 43%; width: 130%; }
  .hero-copy { order: 2; width: min(100%,620px); max-width: none; margin: 0 auto; padding: 42px 0 0; }
  .hero-copy h1 span, .hero-copy h1 em { font-size: clamp(72px,20vw,108px); }
  .hero-copy h1 strong { left: min(69%,430px); font-size: clamp(22px,6vw,34px); }
  .hero-role { font-size: 10px; }
  .hero-copy blockquote { margin-top: 28px; font-size: clamp(20px,5.8vw,28px); }
  .copy-ribbon { width: 240px; right: -58px; top: 18px; }
  .molecule-one { right: 4%; top: 14%; }
  .molecule-two { right: 3%; bottom: 8%; }

  .section-pad { padding: 88px 24px; }
  .ribbon-label { margin-bottom: 45px; }
  h2 { font-size: clamp(46px,13vw,68px); }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-heading { position: static; }
  .about-story { padding-top: 0; }
  .purpose-line { gap: 10px; margin-top: 62px; font-size: 10px; }
  .purpose-line i { width: 26px; }

  .education { min-height: auto; padding: 90px 24px; }
  .credential-track { grid-template-columns: 1fr; margin-top: 70px; border-top: 0; border-left: 1px solid rgba(255,255,255,.25); }
  .credential-track article, .credential-track article + article { min-height: 0; padding: 0 0 58px 40px; border-left: 0; }
  .credential-track article::before, .credential-track article + article::before { top: 4px; left: -8px; }
  .credential-track h3 { font-size: 34px; }

  .chapter-index { grid-template-columns: 1fr 1fr; margin-top: 65px; }
  .chapter-card { min-height: 280px; padding: 22px; }
  .chapter-card::after { left: 22px; }
  .chapter-card h3 { font-size: 25px; }
  .chapter-card.passed { grid-column: span 2; }

  .gallery-copy { display: block; }
  .gallery-copy h2 { margin: 15px 0 26px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 280px 360px; gap: 12px; margin-top: 60px; }
  .gallery-tall { grid-row: auto; }
  .gallery-item:first-child { grid-row: span 2; }
  .gallery-wide { grid-column: 1 / -1; }

  .reflection { min-height: auto; grid-template-columns: 1fr; }
  .closing-image { position: relative; top: 0; height: 72svh; }
  .reflection-story { padding: 88px 24px; }
  .reflection-story blockquote { padding-left: 22px; }
  .reflection-story .closing-line { font-size: 26px; }

  .contact { min-height: 650px; grid-template-columns: 1fr; align-content: center; gap: 60px; padding-bottom: 140px; }
  .copyright { left: 24px; right: 24px; bottom: 110px; }

  .music-player { right: 12px; bottom: 12px; grid-template-columns: 40px auto 96px; gap: 9px; min-width: 0; width: min(390px,calc(100% - 24px)); }
  .music-toggle { width: 40px; }
  .track-copy { min-width: 72px; }
  .story-dialog { width: 100%; max-width: none; max-height: 100svh; }
}

@media (max-width: 540px) {
  .hero { padding-inline: 18px; }
  .hero-portrait { height: 57svh; min-height: 460px; }
  .portrait-main, .portrait-shadow { width: min(126%,620px); }
  .hero-copy h1 span, .hero-copy h1 em { font-size: clamp(66px,20vw,90px); }
  .chapter-index { grid-template-columns: 1fr; }
  .chapter-card, .chapter-card.passed { grid-column: auto; min-height: 245px; }
  .gallery-grid { display: block; }
  .gallery-item { height: 420px; margin-bottom: 12px; }
  .gallery-item.gallery-wide { height: 300px; }
  .music-player { grid-template-columns: 40px 1fr 90px; }
  .track-copy span { display: none; }
}

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