/* LiterMuzica — the homepage stage. Shared interior styles remain independent. */
.home-page {
  --ink: #123c2b;
  --forest: #184a35;
  --deep: #092b21;
  --cream: #f4f2e8;
  --lime: #d4f46a;
  --muted: #56675b;
  --gutter: clamp(20px, 4.4vw, 72px);
  --page: min(1320px, calc(100% - var(--gutter) * 2));
  background: var(--cream);
}
.home-page ::selection { background: var(--lime); color: var(--deep); }
.home-page :focus-visible { outline: 3px solid #557a21; outline-offset: 6px; }
.home-page .reading-progress { background: var(--lime); }
.home-page .button { min-height: 56px; font-size: 13px; font-weight: 600; }
.home-page .button .arrow { transition: transform .45s var(--ease), background .3s; }
.home-page .button:hover .arrow { transform: rotate(45deg); }

/* Opening composition: typography, photographs and a drawn musical staff. */
.home-page .hero.stage {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 810px; padding: 166px 0 28px;
  background: #103c2b; color: var(--cream);
}
.home-page .hero.stage::before {
  content: ''; position: absolute; z-index: -2; inset: 0;
  width: auto; height: auto; border: 0; border-radius: 0; animation: none;
  background: radial-gradient(ellipse at 83% 35%, #46783c55, transparent 60%);
}
.home-page .hero.stage::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  width: auto; height: auto; border: 0; border-radius: 0; animation: none;
  opacity: .15; background-image: radial-gradient(#f4f2e8 0.6px, transparent .8px);
  background-size: 28px 28px; pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 20%, black);
}
.stage-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 6%; min-height: 570px; }
.stage-copy { position: relative; z-index: 3; padding-bottom: 15px; }
.stage-kicker { display: flex; align-items: center; gap: 13px; color: #d4f46a; font: 10px/1.7 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.stage-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px #d4f46a13; flex-shrink: 0; }
.home-page .hero .stage-title {
  font: 400 clamp(74px, 7.7vw, 118px)/.98 var(--serif);
  letter-spacing: -.055em; margin: 30px 0 25px;
}
.stage-title > span { display: block; overflow: hidden; padding: .055em .06em .12em 0; margin-bottom: -.12em; }
.stage-title .stage-word { display: block; animation: stage-word-in 1.15s cubic-bezier(.18,.85,.25,1) both; }
.stage-title > span:nth-child(2) .stage-word { animation-delay: .12s; }
.stage-title > span:nth-child(3) .stage-word { animation-delay: .24s; color: var(--lime); font-weight: 400; }
.stage-description { max-width: 370px; color: #d7e4d6; font-size: 14px; line-height: 1.85; animation: stage-fade-in 1s .45s both; }
.stage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 19px 28px; margin-top: 30px; animation: stage-fade-in 1s .55s both; }
.stage-actions .button { background: var(--lime); color: var(--deep); box-shadow: 0 8px 28px #061e2426; }
.stage-actions .button .arrow { background: #113d2a; color: var(--lime); }
.stage-actions .quiet-link { margin: 0; color: var(--cream); font-size: 12px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.stage-actions .quiet-link:hover { color: var(--lime); }
.stage-copy :focus-visible, .stage-floor :focus-visible, .home-page .media-home :focus-visible { outline-color: var(--lime); }
.stage-score { position: absolute; inset: 16% -12% auto auto; width: 77%; height: 80%; z-index: -1; opacity: .35; overflow: visible; pointer-events: none; transform: translateY(var(--score-shift, 0px)); }
.stage-score path { fill: none; stroke: #b5d879; stroke-width: .7; stroke-dasharray: 1800; stroke-dashoffset: 0; animation: score-in 3s .2s both; }
.stage-score path:nth-child(2) { animation-delay: .35s; }
.stage-score path:nth-child(3) { animation-delay: .5s; }
.stage-score path:nth-child(4) { animation-delay: .65s; }
.stage-score path:nth-child(5) { animation-delay: .8s; }
.stage-scene { position: relative; width: 100%; aspect-ratio: 1; perspective: 1300px; transform: translateY(var(--scene-scroll, 0px)); }
.stage-layers { position: absolute; inset: 0; transform: rotateX(var(--scene-rx, 0deg)) rotateY(var(--scene-ry, 0deg)); transition: transform .6s var(--ease); transform-style: preserve-3d; }
.stage-poster { position: absolute; margin: 0; padding: 9px; background: #f4f2e8; box-shadow: 0 24px 70px #001c2147; border-radius: 4px; }
.stage-poster img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.stage-poster-main { left: 13%; top: 4%; width: 71%; aspect-ratio: .79; z-index: 2; transform: rotate(-7deg); animation: poster-main-in 1.4s .2s both; }
.stage-poster-main::after { content: ''; position: absolute; inset: 50% 9px 9px; background: linear-gradient(transparent, #082b21bd); pointer-events: none; }
.stage-poster-main figcaption { position: absolute; z-index: 1; bottom: 27px; left: 25px; right: 20px; color: white; font: 28px/1.05 var(--serif); letter-spacing: -.02em; }
.stage-poster-main figcaption small { display: block; margin-bottom: 10px; font: 8px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .16em; }
.stage-poster-back { right: -1%; top: 12%; width: 37%; aspect-ratio: .71; z-index: 1; transform: rotate(10deg); animation: poster-back-in 1.5s .4s both; }
.stage-sticker { position: absolute; width: clamp(80px, 7.7vw, 112px); aspect-ratio: 1; top: -4%; left: 0; z-index: 4; display: grid; place-items: center; color: #173b26; background: var(--lime); border-radius: 50%; box-shadow: 0 8px 32px #001d2426; animation: stage-fade-in 1s .7s both; }
.stage-sticker > svg { position: absolute; inset: 6%; width: 88%; height: 88%; animation: stage-spin 28s linear infinite; }
.stage-sticker > span { display: grid; place-items: center; font: 47px/1 var(--serif); transform: translateY(-1px); }
.stage-sticker .icon { display: block; }
.stage-note { position: absolute; left: -4%; bottom: 8%; z-index: 4; width: 40%; padding: 20px 23px; background: var(--lime); color: var(--deep); transform: rotate(5deg); box-shadow: 0 10px 30px #00231833; animation: stage-note-in 1.25s .65s both; }
.stage-note small { font: 8px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.stage-note p { font: 31px/.98 var(--serif); letter-spacing: -.04em; margin: 9px 0 14px; }
.stage-note-line { display: block; width: 100%; height: 2px; background: currentColor; transform: rotate(-3deg); transform-origin: left; }
.stage-side-label { position: absolute; right: -5%; bottom: 9%; writing-mode: vertical-rl; font: 9px/1.5 var(--mono); letter-spacing: .16em; color: #d3dfca; text-transform: uppercase; }
.stage-floor { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 37px; padding-top: 20px; border-top: 1px solid #d6e8ca33; }
.stage-scroll { display: inline-flex; align-items: center; gap: 13px; font: 9px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.stage-scroll > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #e5f2ce55; border-radius: 50%; }
.stage-scroll svg { width: 15px; animation: stage-nudge 2.6s ease-in-out infinite; }
.stage-signature { display: flex; align-items: center; gap: 13px; color: #cfdec7; font: 8px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.stage-bars { display: flex; height: 22px; align-items: center; gap: 3px; }
.stage-bars i { width: 2px; height: 20px; background: var(--lime); transform: scaleY(.4); animation: stage-bars 1.8s ease-in-out infinite alternate; }
.stage-bars i:nth-child(2n) { animation-delay: -.9s; height: 14px; }
.stage-bars i:nth-child(3n) { animation-delay: -.4s; height: 26px; }
.stage-motion-toggle { display: none; align-items: center; gap: 9px; min-height: 36px; border: 1px solid #d8ebba55; border-radius: 99px; background: transparent; color: #e8edda; padding: 7px 12px; font: 9px/1.4 var(--mono); cursor: pointer; }
.home-enhanced .stage-motion-toggle { display: inline-flex; }
.stage-motion-toggle:hover { background: #ffffff0c; }
.stage-motion-toggle:disabled { cursor: default; }
.stage-motion-toggle svg { width: 12px; height: 12px; }

/* Oversized moving ribbon, followed by quiet, readable editorial content. */
.home-page .discipline-strip { position: relative; z-index: 2; background: var(--lime); border: 0; padding: 24px 0; color: var(--deep); }
.home-page .marquee-track { animation-duration: 27s; }
.home-page .marquee-set { gap: 45px; padding-right: 45px; }
.home-page .marquee-set span { font-size: clamp(26px, 3.4vw, 48px); }
.home-page .marquee-set i { color: var(--deep); font-size: 28px; }
.home-page .marquee-set .icon { animation: stage-spin 16s linear infinite; }
.home-page .section { padding-block: 110px; }
.home-page .section-heading h2 { font-size: clamp(42px, 5.1vw, 74px); }
.home-page .section-heading .eyebrow { color: #41632d; font-size: 9px; }
.home-page .intro-section { gap: 10%; align-items: center; }
.home-page .intro-text { max-width: 520px; padding-top: 0; font-size: 14px; }
.home-page .intro-text .large-copy { font-size: clamp(28px, 3vw, 42px); line-height: 1.18; margin-bottom: 24px; }
.lit-word { color: #75816f; transition: color .35s ease; }
.lit-word.is-lit { color: var(--ink); }
.home-page .intro-section .section-heading h2 em { color: #467421; }
.home-page .text-link { font-size: 12px; font-weight: 600; }

/* The events get their own darker stage. */
.home-page .media-home {
  width: 100%; max-width: none; position: relative; isolation: isolate; overflow: hidden;
  padding: 94px max(var(--gutter), calc((100% - 1320px) / 2)) 100px;
  background: #173f2e; color: var(--cream);
}
.home-page .media-home::before { content: '02'; position: absolute; z-index: -1; right: 3%; top: -100px; font: 400 350px/1 var(--serif); letter-spacing: -.07em; color: #c5e4a90a; }
.home-page .media-home .section-heading { margin-bottom: 58px; }
.home-page .media-home .eyebrow { color: var(--lime); }
.home-page .media-home h2 em { color: var(--lime); }
.home-page .media-home .text-link { color: var(--cream); border-color: #c6e9a759; }
.home-page .media-home .text-link:hover { color: var(--lime); border-color: var(--lime); }
.home-page .media-grid { gap: 32px; align-items: start; }
.home-page .media-card:nth-child(2) { padding-top: 65px; --delay: .1s; }
.home-page .media-card:nth-child(3) { padding-top: 130px; --delay: .2s; }
.home-page .media-card-visual { border-radius: 4px; aspect-ratio: 1; border: 6px solid #eeefdf; box-shadow: 0 14px 38px #001a2133; }
.home-page .media-card-visual img { transition: transform 1.2s var(--ease); }
.home-page .media-card-visual:hover img { transform: scale(1.07); }
.home-page .media-card-visual > video { object-fit: contain; background: #0c231d; }
.home-page .media-label { border-radius: 99px; background: var(--lime); color: var(--deep); border: 0; backdrop-filter: none; box-shadow: 0 4px 16px #092b2133; }
.home-page .media-card > .eyebrow { margin-top: 26px; font-size: 8px; letter-spacing: .08em; }
.home-page .media-card h3 { color: var(--cream); font-size: clamp(28px, 2.7vw, 39px); }
.home-page .media-card h3 a:hover { color: var(--lime); }
.home-page .media-card > p:not(.eyebrow) { color: #c8d6c7; font-size: 13px; }
.home-page .media-card .text-link { margin-top: 23px; font-size: 11px; }
.home-page .reveal-ready { transform: translateY(48px); transition-duration: 1.05s; }
.home-page .reveal-ready.is-visible { transform: translateY(0); }

.home-page .people-section { position: relative; }
.home-page .person { border-top-color: #194c2e4d; padding-top: 29px; }
.home-page .person-index { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; border-radius: 50%; background: var(--lime); color: var(--deep); margin-top: 0; }
.home-page .person h3 { font-size: clamp(25px, 2.6vw, 37px); }
.home-page .institutions { gap: 35px; border-top: 0; margin-top: 28px; }
.home-page .partner-logo-frame { border-radius: 4px; border-color: #184a351c; box-shadow: none; background: #fffef8; }
.home-page .partners-section { border-top: 1px solid #1c4b2c40; padding-top: 80px; }
.home-page .partner-grid { border-top-color: #184a3533; border-bottom-color: #184a3533; }
.home-page .partner { transition: translate .45s var(--ease); }
.home-page .partner:hover { translate: 0 -6px; }
.home-page .partner-category { color: #4b6a3d; }
.home-page .closing { background: #082b20; padding-block: 100px; }
.home-page .closing h2 { font-size: clamp(48px, 7.4vw, 108px); max-width: 1100px; }
.home-page .closing::before { width: 720px; height: 720px; border-color: #d4f46a26; right: -180px; top: -220px; }
.home-page .closing::after { width: 520px; height: 520px; border-color: #d4f46a33; right: -80px; top: -120px; }
.home-page .closing-bottom { margin-top: 45px; }
.home-page .closing .button-lime .arrow { background: #133f2b; color: var(--lime); }
.home-page .footer-bottom { margin-top: 0; }

@keyframes stage-word-in { from { transform: translateY(116%) rotate(3deg); } to { transform: translateY(0) rotate(0); } }
@keyframes stage-fade-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes poster-main-in { from { opacity: 0; transform: translate(55px, 90px) rotate(9deg) scale(.92); } to { opacity: 1; transform: rotate(-7deg); } }
@keyframes poster-back-in { from { opacity: 0; transform: translate(-30px, 70px) rotate(-8deg); } to { opacity: 1; transform: rotate(10deg); } }
@keyframes stage-note-in { from { opacity: 0; transform: translateY(35px) rotate(-8deg); } to { opacity: 1; transform: rotate(5deg); } }
@keyframes score-in { from { stroke-dashoffset: 1800; } to { stroke-dashoffset: 0; } }
@keyframes stage-spin { to { transform: rotate(360deg); } }
@keyframes stage-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes stage-bars { from { transform: scaleY(.3); } to { transform: scaleY(1); } }

@media (min-width: 1600px) {
  .home-page .hero.stage { padding-top: 176px; min-height: 900px; }
  .stage-grid { min-height: 620px; }
}
@media (max-width: 1100px) and (min-width: 981px) {
  .stage-grid { gap: 5%; }
  .home-page .hero .stage-title { font-size: 7.8vw; }
  .stage-actions { gap: 16px; }
  .stage-actions .button { font-size: 11px; padding-left: 16px; gap: 12px; }
  .stage-scene { align-self: center; }
  .stage-note { padding: 17px; }
  .stage-note p { font-size: 26px; }
}
@media (max-width: 980px) {
  .home-page .hero.stage { padding-top: 145px; min-height: 0; }
  .stage-grid { grid-template-columns: 1fr; gap: 48px; min-height: 0; }
  .stage-copy { padding-bottom: 0; }
  .home-page .hero .stage-title { font-size: clamp(80px, 12.5vw, 120px); margin-top: 26px; }
  .stage-description { max-width: 430px; font-size: 15px; }
  .stage-scene { width: min(550px, 83%); margin: 0 3% 0 auto; }
  .stage-sticker { width: 100px; }
  .stage-note { width: 38%; }
  .stage-side-label { right: -7%; }
  .stage-floor { margin-top: 42px; }
  .stage-score { width: 140%; height: 65%; inset: auto -30% 5% auto; }
  .home-page .section { padding-block: 80px; }
  .home-page .intro-section { gap: 7%; }
  .home-page .section-heading h2 { font-size: clamp(40px, 6vw, 58px); }
  .home-page .media-home { padding-block: 75px 85px; }
  .home-page .media-grid { gap: 21px; }
  .home-page .media-card:nth-child(2) { padding-top: 40px; }
  .home-page .media-card:nth-child(3) { padding-top: 80px; }
  .home-page .media-card h3 { font-size: 27px; }
  .home-page .media-card > .eyebrow { min-height: 26px; }
  .home-page .media-card .text-link { gap: 10px; }
  .stage-signature { display: none; }
}
@media (max-width: 640px) {
  .home-page .hero.stage { padding: 128px 0 23px; }
  .stage-grid { gap: 46px; }
  .stage-kicker { font-size: 8px; letter-spacing: .11em; }
  .home-page .hero .stage-title { font-size: clamp(60px, 17vw, 104px); line-height: .98; margin: 25px 0 25px; }
  .stage-description { max-width: 340px; font-size: 13px; line-height: 1.85; }
  .stage-actions { gap: 18px; margin-top: 24px; }
  .stage-actions .button { font-size: 11px; min-height: 51px; gap: 18px; }
  .stage-actions .quiet-link { font-size: 11px; }
  .stage-scene { width: 94%; margin: 0 0 0 auto; }
  .stage-poster { padding: 6px; }
  .stage-poster-main { left: 12%; top: 5%; }
  .stage-poster-main::after { inset: 45% 6px 6px; }
  .stage-poster-main figcaption { bottom: 19px; left: 18px; font-size: 23px; }
  .stage-poster-main figcaption small { font-size: 6px; margin-bottom: 6px; }
  .stage-sticker { width: 74px; top: -4%; }
  .stage-sticker > span { font-size: 35px; }
  .stage-note { width: 40%; left: -5%; bottom: 5%; padding: 16px; }
  .stage-note p { font-size: 25px; margin: 7px 0 12px; }
  .stage-note small { font-size: 6px; }
  .stage-side-label { display: none; }
  .stage-floor { gap: 12px; margin-top: 35px; }
  .stage-scroll { font-size: 7px; letter-spacing: .03em; gap: 8px; }
  .stage-motion-toggle { font-size: 8px; padding: 7px 10px; gap: 6px; }
  .home-page .discipline-strip { padding: 20px 0; }
  .home-page .marquee-set { gap: 25px; padding-right: 25px; }
  .home-page .marquee-set span { font-size: 30px; }
  .home-page .marquee-set i { font-size: 20px; }
  .home-page .section { padding-block: 65px; }
  .home-page .intro-section { grid-template-columns: 1fr; gap: 30px; }
  .home-page .intro-text .large-copy { font-size: 32px; }
  .home-page .section-heading h2 { font-size: clamp(38px, 10.5vw, 58px); }
  .home-page .media-home { padding-block: 65px; }
  .home-page .media-home .section-heading { margin-bottom: 34px; display: block; }
  .home-page .media-grid { grid-template-columns: 1fr; gap: 46px; }
  .home-page .media-card:nth-child(2), .home-page .media-card:nth-child(3) { padding-top: 0; --delay: 0s; }
  .home-page .media-card-visual { aspect-ratio: 1.08; }
  .home-page .media-card > .eyebrow { min-height: 0; margin-top: 24px; }
  .home-page .media-card h3 { font-size: 35px; }
  .home-page .media-card > p:not(.eyebrow) { max-width: 390px; }
  .home-page .media-home::before { font-size: 250px; top: -40px; }
  .home-page .people-section .section-heading { display: block; }
  .home-page .people-section .section-description { margin-top: 22px; }
  .home-page .person { gap: 15px; }
  .home-page .person h3 { font-size: 27px; }
  .home-page .institutions { gap: 22px; }
  .home-page .partners-section { padding-top: 60px; }
  .home-page .closing { padding-block: 68px; }
  .home-page .closing h2 { font-size: clamp(40px, 10.7vw, 65px); }
  .home-page .closing-bottom { align-items: flex-start; gap: 25px; }
}
@media (max-width: 360px) {
  .stage-floor { align-items: flex-start; flex-direction: column; }
  .stage-poster-main figcaption { font-size: 20px; }
  .stage-note p { font-size: 22px; }
  .home-page .hero .stage-title { font-size: 16.6vw; }
}

/* Stopping motion also reveals every entrance frame, including on reload. */
.motion-paused .home-page .stage-word,
.motion-paused .home-page .stage-description,
.motion-paused .home-page .stage-actions,
.motion-paused .home-page .stage-sticker { animation: none !important; opacity: 1; transform: none; }
.motion-paused .home-page .stage-poster-main { animation: none !important; opacity: 1; transform: rotate(-7deg); }
.motion-paused .home-page .stage-poster-back { animation: none !important; opacity: 1; transform: rotate(10deg); }
.motion-paused .home-page .stage-note { animation: none !important; opacity: 1; transform: rotate(5deg); }
.motion-paused .home-page .stage-score path { animation: none !important; stroke-dashoffset: 0; }
.motion-paused .home-page .stage-scene, .motion-paused .home-page .stage-score, .motion-paused .home-page .stage-layers { transform: none !important; }
.motion-paused .home-page .reveal-ready { opacity: 1; transform: none; }
.motion-paused .home-page .lit-word { color: var(--ink); }
.motion-paused .home-page *, .motion-paused .home-page *::before, .motion-paused .home-page *::after { transition: none !important; }
.motion-paused .home-page .partner:hover { translate: none; }
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .home-page .stage-word, .home-page .stage-description, .home-page .stage-actions, .home-page .stage-sticker, .home-page .reveal-ready { opacity: 1; transform: none; }
  .home-page .stage-score path { stroke-dashoffset: 0; }
  .home-page .stage-scene, .home-page .stage-layers, .home-page .stage-score { transform: none !important; }
  .home-page .lit-word { color: var(--ink); }
  .home-page .partner:hover { translate: none; }
}
@media print {
  .home-page .hero.stage { padding: 25px 0; min-height: 0; background: white; color: #123c2b; }
  .home-page .stage-title .stage-word { animation: none !important; transform: none; color: #123c2b !important; }
  .stage-grid { display: block; }
  .stage-scene, .stage-score, .stage-floor { display: none; }
  .home-page .stage-description, .home-page .stage-actions { animation: none; opacity: 1; color: #123c2b; }
  .home-page .media-home { background: white; color: #123c2b; padding: 35px 3%; }
  .home-page .media-card h3, .home-page .media-card p, .home-page .media-home .text-link { color: #123c2b !important; }
}
