:root {
  color-scheme: light;
  --bg: #f8f6fb; --surface: #fff; --soft: #efebf6; --ink: #221e2e;
  --secondary: #555065; --muted: #696075; --line: #e2dcef;
  --accent: #6f5aa7; --accent-strong: #584489; --shadow: 0 14px 36px #37255408;
  --gradient: linear-gradient(110deg, #6f5aa7, #b04f78 65%, #ad873c);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111820; --surface: #1a2430; --soft: #202d3a; --ink: #f2f6f8;
  --secondary: #d5e0e5; --muted: #a8bac3; --line: #35434f;
  --accent: #5ac9b8; --accent-strong: #76dacb; --shadow: none;
  --gradient: linear-gradient(110deg, #54d1be, #a394f0 65%, #e0b45a);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.65 "Segoe UI", Arial, sans-serif; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 12px 20px; background: var(--surface); border: 2px solid var(--accent); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 21px; line-height: 1.3; }
.brand small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.brand img { object-fit: contain; flex-shrink: 0; }
:root[data-theme="dark"] .brand img { background: #fff; border-radius: 10px; padding: 4px; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; flex-shrink: 0; }
.nav-active { color: var(--accent); }
#theme-toggle { display: grid; place-items: center; width: 40px; min-width: 40px; height: 40px; font-size: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
.hero { padding: 56px 0 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; line-height: 1.5; color: var(--accent); }
.hero h1 { font-size: clamp(32px, 4.1vw, 52px); line-height: 1.15; letter-spacing: -1.8px; font-weight: 650; margin: 16px 0; }
.hero h1 span { background: var(--gradient); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero p { max-width: 600px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.season-stamp { padding: 10px 0 10px 25px; border-left: 1px solid var(--line); flex-shrink: 0; display: grid; gap: 2px; }
.season-stamp strong { font-size: 34px; font-weight: 500; letter-spacing: -1.5px; line-height: 1.2; }
.season-stamp span { color: var(--muted); font-size: 12px; }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.catalog-heading h2 { font-size: 20px; font-weight: 600; letter-spacing: -.4px; }
.catalog-heading p { font-size: 12px; color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.event-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); transition: box-shadow .18s, transform .18s; }
.event-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px #38245113; }
.poster-link { display: block; background: var(--soft); border-bottom: 1px solid var(--line); }
.poster-link img { width: 100%; height: auto; aspect-ratio: 850/1200; object-fit: contain; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 13px; }
.card-meta time { min-width: 0; font-size: 12px; line-height: 1.5; font-weight: 600; color: var(--secondary); }
.status { display: inline-flex; align-items: center; flex-shrink: 0; gap: 6px; white-space: nowrap; color: var(--secondary); background: var(--soft); padding: 3px 9px; border-radius: 6px; font-size: 10px; font-weight: 600; letter-spacing: .3px; }
.card-body h3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.6px; overflow-wrap: break-word; }
.card-body h3 a:hover { color: var(--accent); }
.card-subtitle { color: var(--muted); font-size: 12px; margin-top: 8px; min-height: 40px; }
.location { display: flex; align-items: center; gap: 7px; margin-top: 16px; margin-bottom: 20px; color: var(--secondary); font-size: 13px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; }
.card-footer a { font-size: 13px; font-weight: 600; color: var(--accent); }
.card-footer small { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.card-footer .arrow { font-size: 18px; margin-left: 4px; }
.about-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; margin-top: 55px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.about-section h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.6px; margin: 10px 0; }
.about-section p { color: var(--muted); font-size: 13px; }
.archive-help { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.archive-help h3 { font-size: 18px; font-weight: 600; }
.site-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 32px 0; margin-top: 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer p { max-width: 460px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.site-footer a:hover, .service-contact a:hover { text-decoration: underline; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--accent); }
.detail-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 54px; align-items: start; }
.detail-poster { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.detail-poster img { width: 100%; height: auto; }
.detail-poster-caption { padding: 12px; text-align: center; color: var(--muted); font-size: 11px; }
.detail-title .eyebrow { margin-top: 18px; }
.detail-title h1 { font-size: clamp(30px, 3.7vw, 46px); line-height: 1.14; font-weight: 650; letter-spacing: -1.4px; margin: 14px 0 16px; overflow-wrap: break-word; }
.detail-title > p { max-width: 630px; color: var(--muted); font-size: 14px; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 27px 0; }
.detail-facts dt { color: var(--muted); font-size: 11px; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.detail-facts dd { margin: 0; font-size: 15px; font-weight: 500; }
.detail-facts dd small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-strong); }
:root[data-theme="dark"] .button.primary { color: #111820; }
.registration-note { padding: 18px 20px; margin-top: 24px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--soft); }
.registration-note strong { font-size: 14px; font-weight: 600; }
.registration-note p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.detail-section { margin-top: 40px; }
.detail-section h2 { font-size: 24px; font-weight: 600; letter-spacing: -.6px; margin-bottom: 16px; }
.detail-section p { color: var(--muted); font-size: 14px; }
.program-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.program-tags span { font-size: 12px; background: var(--soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 8px; }
.detail-section details { margin-top: 22px; border-block: 1px solid var(--line); padding: 15px 0; }
.detail-section summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.fee-list { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; font-size: 13px; margin: 18px 0; }
.fee-list dd { text-align: right; margin: 0; font-weight: 600; }
.detail-section .fine-print { font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.detail-title > .service-contact { margin-top: 22px; font-size: 12px; }
.service-contact a { color: var(--accent); }
.document-section { margin-top: 48px; }
.document-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.document-head h2 { font-size: 26px; font-weight: 600; letter-spacing: -.6px; }
.document-head p { font-size: 12px; color: var(--muted); }
.pdf-viewer { border: 1px solid var(--line); background: var(--soft); border-radius: 18px; overflow: hidden; }
.viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 18px; }
.page-title { font-size: 12px; color: var(--secondary); }
.page-nav { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 12px; }
.page-nav button { width: 44px; min-height: 44px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; font-size: 18px; }
.page-nav button:disabled { opacity: .35; }
.viewer-page { margin: 0; }
.viewer-page figcaption { padding: 0 20px 20px; text-align: center; color: var(--muted); font-size: 11px; }
.viewer-image { padding: 24px; display: flex; justify-content: center; }
.viewer-image a { display: block; width: min(800px, 100%); }
.viewer-image img { width: 100%; height: auto; object-fit: contain; background: #fff; box-shadow: 0 5px 18px #00000014; }
.document-note { color: var(--muted); font-size: 12px; margin-top: 12px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 40px); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .detail-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 30px; }
  .detail-facts { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .season-stamp strong { font-size: 28px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 84px; gap: 12px; }
  .brand { font-size: 18px; gap: 8px; min-width: 0; }
  .brand img { width: 33px; height: 36px; }
  .brand small { font-size: 9px; max-width: 138px; }
  .site-header nav { gap: 12px; font-size: 12px; }
  .header-contact { display: none; }
  #theme-toggle { width: 36px; min-width: 36px; height: 36px; border-radius: 10px; }
  .hero { padding: 32px 0 12px; gap: 20px; }
  .hero h1 { letter-spacing: -1px; margin: 12px 0; font-size: 34px; }
  .hero p { font-size: 13px; line-height: 1.7; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .season-stamp { display: none; }
  .catalog-heading { align-items: flex-start; padding: 22px 0 18px; gap: 10px; }
  .catalog-heading h2 { font-size: 17px; line-height: 1.5; }
  .catalog-heading p { font-size: 10px; text-align: right; max-width: 110px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 24px; }
  .card-body { padding: 20px; }
  .card-body h3 { font-size: 25px; }
  .card-subtitle { min-height: 0; font-size: 13px; }
  .about-section { grid-template-columns: 1fr; padding: 24px; gap: 28px; margin-top: 36px; }
  .about-section h2 { font-size: 24px; }
  .site-footer { flex-direction: column; gap: 14px; margin-top: 35px; padding: 24px 0; }
  .detail-layout { display: flex; flex-direction: column; gap: 28px; }
  .detail-poster { width: min(320px, 100%); margin-inline: auto; }
  .detail-title { width: 100%; }
  .detail-title h1 { font-size: 36px; letter-spacing: -1px; }
  .detail-facts { gap: 18px; }
  .detail-title .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .breadcrumb { font-size: 11px; margin: 22px 0; }
  .actions .button { flex: 1; white-space: nowrap; padding-inline: 12px; }
  .document-head { align-items: flex-start; flex-direction: column; }
  .document-head h2 { font-size: 24px; }
  .document-head .button { width: 100%; }
  .viewer-controls { padding: 12px; gap: 8px; }
  .page-title { font-size: 11px; }
  .viewer-image { padding: 8px; }
  .viewer-page figcaption { padding-bottom: 12px; }
  .page-nav { gap: 9px; font-size: 11px; }
  .document-note { font-size: 11px; }
  .fee-list { font-size: 12px; gap: 12px; }
  .detail-section h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .event-card { transition: none; }
  .event-card:hover { transform: none; }
}
