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

/* The existing static site, with a shared fullscreen slide rhythm. */
:root {
  --ink: #111011;
  --cream: #F7F0EA;
  --pink: #FF4F8B;
  --blush: #F8BBD0;
  --pale: #FFE4EC;
  --muted: #A7A1A4;
  --line: #f7f0ea29;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body { margin: 0; color: var(--cream); background: var(--ink); font: 16px/1.65 'DM Sans',Arial,sans-serif; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1,h2,h3,p,figure,blockquote { margin: 0; }
img { display: block; max-width: 100%; }
h1,h2 { font: 700 clamp(3rem,8vw,8rem)/.94 'Barlow Condensed',Impact,sans-serif; letter-spacing: -.025em; text-transform: uppercase; overflow-wrap: anywhere; }
h1 span,h2 span { color: var(--pink); }
h3 { font-weight: 500; }
p { max-width: 540px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; }
.cream :focus-visible,.pink :focus-visible,.blush :focus-visible { outline-color: var(--ink); }
.slide { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 34px max(7%,calc((100vw - 1180px)/2)); scroll-snap-align: start; border-bottom: 1px solid var(--line); }
.slide-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 38px 0; min-width: 0; }
.eyebrow { font-size: .7rem; letter-spacing: .15em; color: var(--muted); }
.dark { background: var(--ink); }
.cream { background: var(--cream); color: var(--ink); --muted: #655d61; --line: #11101124; }
.pink { background: var(--pink); color: var(--ink); --muted: #49202e; --line: #11101135; }
.blush { background: var(--blush); color: var(--ink); --muted: #5f3545; --line: #11101128; }
.next { align-self: flex-start; display: inline-flex; align-items: center; gap: 42px; padding: 13px 0; border-top: 1px solid var(--line); min-height: 48px; font-size: .85rem; font-weight: 500; max-width: 100%; }
.next span { font-size: 1.2rem; transition: transform .3s var(--ease); }
.next:hover span { transform: translateY(4px); }
.lead { margin-top: 28px; font-size: 1.05rem; max-width: 390px; }
.annotation { font-size: .78rem; color: var(--muted); margin-top: 22px; }
.punchline { font-size: 1rem; margin-top: 28px; }
.short-copy { font-size: .95rem; margin-top: 20px; max-width: 460px; }
.pretitle { font-size: 1.1rem; margin-bottom: 24px; }
.aside { font-size: clamp(1.2rem,2.5vw,2rem); margin-top: 32px; }

/* Small editorial masthead, not fixed over the slides. */
header { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 7%; }
.brand { font-size: 1.25rem; letter-spacing: -.07em; font-weight: 700; }
header>span { font-size: .6rem; letter-spacing: .13em; color: var(--muted); }
header>a:last-child { font-size: .8rem; }
.hero { padding-top: 90px; }
.hero-grid,.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10%; align-items: center; }
.hero h1 { font-size: clamp(3.5rem,7.5vw,7.5rem); }
#who h2 { font-size: clamp(3rem,7vw,7rem); }
.photo-card img { width: 100%; height: clamp(250px,48dvh,520px); object-fit: cover; }
.photo-card img[role="button"] { cursor: zoom-in; }
.photo-card figcaption { font-size: .6rem; letter-spacing: .08em; color: var(--muted); margin-top: 12px; }
.hero-photo img { object-position: center 32%; height: min(54dvh,560px); }
.portrait { width: 80%; justify-self: end; }
.portrait img { aspect-ratio: 3/4; height: auto; max-height: 54dvh; filter: grayscale(1); }
.nobre-carousel { width: min(76%,360px); }
.carousel-viewport { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #ddd4cc; touch-action: pan-y; }
.nobre-carousel .carousel-viewport img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: center; filter: none; opacity: 0; pointer-events: none; transform: scale(1.015); transition: opacity .32s var(--ease),transform .45s var(--ease); }
.nobre-carousel .carousel-viewport img:nth-child(1) { object-position: 42% 55%; }
.nobre-carousel .carousel-viewport img:nth-child(2) { object-position: 50% 42%; }
.nobre-carousel .carousel-viewport img:nth-child(3) { object-position: 68% 60%; }
.nobre-carousel .carousel-viewport img:nth-child(4) { object-position: 67% 48%; }
.nobre-carousel .carousel-viewport img:nth-child(5) { object-position: 68% 48%; }
.nobre-carousel .carousel-viewport img:nth-child(6) { object-position: 46% 68%; }
.nobre-carousel .carousel-viewport img:nth-child(7) { object-position: 47% 52%; }
.nobre-carousel .carousel-viewport img:nth-child(8) { object-position: 27% 58%; }
.nobre-carousel .carousel-viewport img:nth-child(9) { object-position: 47% 45%; }
.nobre-carousel .carousel-viewport img:nth-child(10) { object-position: 50% 45%; }
.nobre-carousel .carousel-viewport img.is-active { opacity: 1; pointer-events: auto; transform: scale(1); }
.carousel-controls { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin-top: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.carousel-controls button { min-height: 44px; border: 0; background: transparent; color: inherit; font-size: 1.15rem; }
.carousel-controls button:hover { color: var(--pink); }
.carousel-controls span { text-align: center; color: var(--muted); font-size: .65rem; letter-spacing: .12em; }
.facts { font-size: clamp(1rem,1.8vw,1.3rem); line-height: 1.8; margin-top: 28px; }
.profile-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; list-style: none; padding: 0; margin: 30px 0 0; max-width: 620px; }
.profile-facts li { display: grid; gap: 3px; padding: 13px 0; border-top: 1px solid var(--line); }
.profile-facts span { color: var(--muted); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.profile-facts strong { font-size: .95rem; font-weight: 600; line-height: 1.35; }
.small-photo { width: 65%; justify-self: end; }
.small-photo img { height: 220px; filter: grayscale(1); }

/* Personality metrics animate once when the existing slide observer marks entry. */
#personality .slide-body { padding-block: 24px; }
#personality h2 { font-size: clamp(2.7rem,5vw,4.9rem); }
.personality-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8%; align-items: end; }
.personality-intro p { font-size: clamp(1rem,1.8vw,1.3rem); padding-bottom: 7px; }
.personality-intro strong { color: var(--blush); font-weight: 500; }
.personality-visual { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8%; align-items: center; margin-top: 20px; }
.personality-chart { min-width: 0; }
.personality-chart svg { display: block; width: 100%; overflow: visible; }
.metric-key { display: flex; gap: 28px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.metric-key span::before { content: ''; display: inline-block; width: 18px; height: 2px; margin: 0 8px 3px 0; background: currentColor; }
.timidity-key { color: var(--muted); }
.boldness-key { color: var(--pink); }
.chart-axis,.cross-guide { stroke: var(--line); stroke-width: 1; }
.metric-line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.timidity-line { stroke: var(--muted); }
.boldness-line { stroke: var(--pink); }
.cross-point { fill: var(--cream); stroke: var(--pink); stroke-width: 3; }
.cross-label,.time-label { fill: var(--muted); font: 500 10px 'DM Sans',sans-serif; letter-spacing: .08em; }
.cross-label { fill: var(--cream); font-size: 12px; paint-order: stroke; stroke: var(--ink); stroke-width: 5px; stroke-linejoin: round; }
.unlock-timeline { list-style: none; padding: 0; margin: 0; }
.unlock-timeline li { display: grid; grid-template-columns: 58px 1fr; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.unlock-timeline small { grid-row: 1/3; color: var(--muted); font-size: .7rem; padding-top: 2px; }
.unlock-timeline strong { font-size: .88rem; font-weight: 500; }
.unlock-timeline span { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.unlock-timeline li:last-child strong { color: var(--pink); }
.unlock-success { margin-top: 14px; color: var(--pink); font-size: .9rem; font-weight: 600; }
.entered .metric-line { animation: draw-metric 2.2s var(--ease) both; }
.entered .cross-point,.entered .cross-label,.entered .cross-guide { animation: reveal-point .45s 1.35s var(--ease) both; }
.entered .unlock-timeline li { animation: text-enter .4s var(--ease) both; }
.entered .unlock-timeline li:nth-child(1) { animation-delay: .15s; }
.entered .unlock-timeline li:nth-child(2) { animation-delay: .55s; }
.entered .unlock-timeline li:nth-child(3) { animation-delay: .95s; }
.entered .unlock-timeline li:nth-child(4) { animation-delay: 1.35s; }
@keyframes draw-metric { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes reveal-point { from { opacity: 0; transform: scale(.7); transform-origin: 230px 105px; } to { opacity: 1; transform: scale(1); } }
#flags h2 { font-size: clamp(3rem,5vw,5rem); }
.flags-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; margin-top: 32px; }
.flags-grid>div { border-top: 1px solid var(--line); padding-top: 18px; }
.flags-grid h3 { font-size: .8rem; letter-spacing: .1em; }
.flags-grid h3 span { margin-left: 12px; }
.flags-grid ul { list-style: none; margin: 16px 0 0; padding: 0; }
.flags-grid li { font-size: .9rem; padding: 3px 0; max-width: 440px; }
.interlude h2 { max-width: 1100px; }
.interlude .slide-body { padding-block: 80px; }
#date h2 { font-size: clamp(3.5rem,7vw,7rem); }
.date-photo img { height: min(55dvh,540px); }
.date-layout .annotation { max-width: 380px; }

/* Music: plain typography and one cropped image. */
.music-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12%; align-items: center; }
#music h2 { font-size: clamp(3rem,6.5vw,6.5rem); }
.music-photo img { height: 180px; filter: grayscale(1); object-position: center 43%; }
.artist-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 22px; }
.artist-list a { padding: 12px 0; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.artist-list a span { color: var(--pink); }
.spotify-profile { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; margin-top: 28px; padding: 13px 18px; border: 1px solid var(--pink); color: var(--cream); font-size: .78rem; font-weight: 600; }
.spotify-profile span { color: var(--pink); font-size: 1rem; }
.spotify-profile:hover { background: var(--pink); color: var(--ink); }
.spotify-profile:hover span { color: var(--ink); }

.photo-lightbox { width: min(92vw,980px); max-width: none; height: min(90dvh,800px); padding: 54px 20px 20px; border: 0; background: var(--ink); color: var(--cream); overflow: hidden; }
.photo-lightbox::backdrop { background: #000c; backdrop-filter: blur(5px); }
.photo-lightbox img { width: 100%; height: calc(100% - 30px); object-fit: contain; }
.photo-lightbox button { position: absolute; top: 13px; right: 18px; border: 0; background: transparent; color: var(--cream); padding: 8px; font-size: .7rem; letter-spacing: .1em; }
.photo-lightbox button span { margin-left: 8px; color: var(--pink); font-size: 1.2rem; }
.photo-lightbox p { position: absolute; left: 20px; bottom: 12px; max-width: calc(100% - 40px); color: var(--muted); font-size: .6rem; letter-spacing: .08em; }

/* Disclosures and reviews: one statement at a time, no automatic rotation. */
.compact-title { font-size: clamp(2.5rem,4.6vw,4.5rem); max-width: 920px; }
.sequence { margin-top: 52px; max-width: 940px; }
.sequence-copy { min-height: 210px; }
.sequence-copy h3,.sequence-copy blockquote { font-size: clamp(1.6rem,3.4vw,3rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 500; max-width: 930px; }
.sequence-copy p { color: var(--muted); margin-top: 20px; font-size: .95rem; }
.sequence-controls { display: flex; gap: 24px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.sequence-actions { display: flex; align-items: center; gap: 28px; }
.sequence-count { font-size: .7rem; letter-spacing: .1em; color: var(--muted); }
.text-button { background: transparent; border: 0; color: inherit; min-height: 44px; padding: 8px 0 8px 12px; font-size: .7rem; letter-spacing: .06em; }
.text-button span { margin-left: 18px; }
.text-button[data-back] span { margin: 0 18px 0 0; }
.text-button:disabled { opacity: .55; cursor: default; }
.stars { display: block; font-size: 1rem; letter-spacing: .2em; margin-bottom: 20px; }
.review-sequence .sequence-copy { min-height: 240px; }
.sequence-copy.re-enter { animation: text-enter .5s var(--ease) both; }

/* Five numbers, without graphs. */
#analytics h2 { font-size: clamp(3rem,6vw,6rem); }
.analytics-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 32px; margin-top: 48px; }
.analytics-grid strong { display: block; font: 600 clamp(3rem,6vw,6rem)/1 'Barlow Condensed',sans-serif; letter-spacing: -.03em; }
.analytics-grid strong span { font-size: .45em; }
.analytics-grid p { margin-top: 18px; font-size: .8rem; line-height: 1.6; }

/* The application can grow taller: never clip fields to force a viewport. */
.apply-heading { display: flex; justify-content: space-between; gap: 36px; align-items: center; }
.apply h2 { font-size: clamp(3rem,6vw,6rem); }
.application-photo { width: 140px; flex: none; }
.application-photo img { height: 140px; filter: grayscale(1); }
.application-photo figcaption { display: none; }
.form-notice { font-size: .8rem; color: var(--muted); margin: 28px 0; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.form-grid label { display: flex; flex-direction: column; gap: 9px; font-size: .85rem; }
.form-grid input,.form-grid select,.form-grid textarea { font-size: 1rem; width: 100%; min-width: 0; padding: 14px; border: 1px solid #11101144; background: transparent; color: var(--ink); border-radius: 0; }
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid ::placeholder { color: #746970; }
.full { grid-column: 1/-1; }
.consent { display: flex; align-items: start; gap: 12px; font-size: .75rem; color: var(--muted); margin: 24px 0; max-width: 850px; }
.consent input { flex: none; width: 18px; height: 18px; accent-color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 56px; border: 0; padding: 18px 24px; background: var(--pink); color: var(--ink); font-weight: 600; font-size: .8rem; letter-spacing: .04em; }
.button:disabled { opacity: .6; cursor: wait; }
.small { font-size: .75rem; margin-top: 20px; color: var(--muted); }
#form-status:not(:empty) { border-left: 2px solid var(--ink); padding: 20px; margin-top: 28px; max-width: 800px; }
#form-status strong { display: block; font: 600 2rem/1.1 'Barlow Condensed',sans-serif; margin-bottom: 16px; }
#form-status small { display: block; margin-top: 14px; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 24px 7%; }
footer p { font-size: .65rem; color: var(--muted); }
.skip { position: fixed; left: 20px; top: -90px; z-index: 10; background: var(--pink); color: var(--ink); padding: 12px; }
.skip:focus { top: 12px; }

/* One entrance per slide. Content remains visible without JS. */
@keyframes text-enter { from { opacity: .15; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes photo-enter { from { opacity: .4; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
.entered h1,.entered h2 { animation: text-enter .6s var(--ease) both; }
.entered .slide-body>p,.entered .lead,.entered .facts,.entered .profile-facts,.entered .timeline,.entered .sequence { animation: text-enter .6s .09s var(--ease) both; }
.entered .annotation,.entered .punchline { animation: text-enter .6s .16s var(--ease) both; }
.entered .photo-card:not(.nobre-carousel) img,.entered .nobre-carousel img.is-active { animation: photo-enter .65s .06s var(--ease) both; }

@media(max-width:760px) {
  header { padding: 19px 6%; }
  header>span { display: none; }
  .slide { padding: 27px 7%; }
  .slide-body { padding: 32px 0; }
  .hero { padding-top: 80px; }
  .hero h1 { font-size: clamp(3.3rem,12.5vw,6rem); }
  .hero-grid,.split,.music-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid { grid-template-columns: 1fr .5fr; gap: 18px; }
  .hero h1 { font-size: clamp(3rem,9vw,5rem); }
  .hero-photo img { height: 230px; }
  .hero-photo figcaption { font-size: .55rem; }
  .lead { font-size: .95rem; }
  h2 { font-size: clamp(3rem,10vw,5rem); }
  .portrait { width: 110px; justify-self: start; }
  .portrait img { height: 100px; object-fit: cover; }
  #who .split { gap: 16px; }
  #who .profile-facts { margin-top: 20px; }
  #who .profile-facts li { padding: 9px 0; }
  #who .punchline { margin-top: 16px; }
  .nobre-carousel { position: relative; width: 160px; }
  .nobre-carousel .carousel-viewport { aspect-ratio: 1; }
  .nobre-carousel .carousel-viewport img { height: 100%; }
  .nobre-carousel .carousel-controls { position: absolute; inset: auto 0 0; z-index: 1; margin: 0; border: 0; background: #111011c9; color: var(--cream); }
  .portrait figcaption,.small-photo figcaption { display: none; }
  .small-photo { display: none; }
  .facts { margin-top: 24px; }
  #personality .slide-body { padding-block: 20px; }
  #personality h2 { font-size: clamp(2.5rem,9vw,4rem); }
  .personality-intro { grid-template-columns: 1fr; gap: 14px; }
  .personality-intro p { font-size: .9rem; }
  .personality-visual { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .personality-chart svg { max-height: 205px; }
  .metric-key { font-size: .62rem; }
  .unlock-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .unlock-timeline li { grid-template-columns: 45px 1fr; padding: 7px 0; }
  .unlock-timeline strong { font-size: .76rem; }
  .unlock-timeline span { font-size: .65rem; }
  .unlock-success { margin-top: 10px; }
  .flags-grid { gap: 22px; margin-top: 24px; }
  .flags-grid h3 { font-size: .68rem; letter-spacing: .04em; }
  .flags-grid li { font-size: .8rem; line-height: 1.65; padding: 5px 0; }
  .flags-grid h3 span { margin-left: 5px; }
  .punchline { margin-top: 22px; font-size: .95rem; }
  .interlude .slide-body { padding-block: 50px; }
  .date-layout { grid-template-columns: 1fr .42fr; gap: 20px; }
  #date h2 { font-size: clamp(3rem,9vw,5rem); }
  .date-photo img { height: 270px; }
  .date-photo figcaption { display: none; }
  .pretitle { font-size: .95rem; }
  .music-layout { gap: 28px; }
  .music-editorial { display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: center; }
  .music-photo img { height: 180px; }
  .music-photo figcaption { display: none; }
  .artist-list { margin: 0; gap: 0 18px; }
  .artist-list a { font-size: .8rem; }
  .sequence { margin-top: 36px; }
  .sequence-copy { min-height: 250px; }
  .review-sequence .sequence-copy { min-height: 320px; }
  .sequence-copy h3,.sequence-copy blockquote { font-size: clamp(1.8rem,6vw,2.4rem); }
  .sequence-copy p { font-size: .85rem; }
  .sequence-controls { gap: 12px; }
  .sequence-actions { gap: 14px; }
  .text-button { font-size: .64rem; }
  .text-button span { margin-left: 8px; }
  .text-button[data-back] span { margin: 0 8px 0 0; }
  .analytics-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 20px; margin-top: 32px; }
  .analytics-grid p { font-size: .72rem; margin-top: 10px; }
  .analytics-grid strong { font-size: 3.5rem; }
  .application-photo { width: 70px; }
  .application-photo img { height: 110px; }
  .apply-heading { gap: 20px; }
  .apply h2 { font-size: clamp(2.8rem,9vw,4rem); }
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .button { width: 100%; gap: 16px; padding: 18px; }
  .next { font-size: .8rem; gap: 24px; }
  footer { flex-wrap: wrap; }
}
@media(max-width:380px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-photo { width: 100%; }
  .hero-photo img { height: 110px; }
  .hero-photo figcaption { display: none; }
  .date-layout { grid-template-columns: 1fr; }
  .date-photo img { height: 100px; }
  .flags-grid { grid-template-columns: 1fr; }
  .profile-facts { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-height:650px) and (min-width:761px) {
  h1,h2,.hero h1 { font-size: 4rem; }
  .slide-body { padding-block: 24px; }
  .photo-card img { max-height: 300px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
