:root {
  color-scheme: dark;
  --night: #150d0d;
  --night-raised: #201414;
  --panel: #251818;
  --paper: #fffaf0;
  --ink: #211715;
  --muted: #c2b0a0;
  --red: #d93c36;
  --gold: #f3bf59;
  --line: rgba(255, 240, 215, .16);
  --shadow: 0 24px 72px rgba(0, 0, 0, .38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 50% -15%, #4a2020 0, var(--night) 45rem), var(--night); color: #fff9ef; font-family: "Aptos", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.5; }
button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1060px, calc(100% - 36px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff9ef; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: Impact, "Arial Narrow", sans-serif; font-size: 17px; font-weight: 800; box-shadow: 0 0 22px rgba(243, 191, 89, .2); }
.brand-name { font-family: Impact, "Arial Narrow", sans-serif; font-size: 20px; font-weight: 800; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.brand-subtitle { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.top-link { color: #f3bf59; font-size: 13px; font-weight: 700; text-decoration: none; }
.top-link:hover { color: white; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Impact, "Arial Narrow", sans-serif; text-transform: uppercase; }
h1 { margin-bottom: 12px; font-size: clamp(39px, 8vw, 68px); font-weight: 800; letter-spacing: -.015em; line-height: .94; }
h2 { margin-bottom: 8px; font-size: clamp(28px, 5vw, 42px); line-height: 1; }
.invite-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; margin: 20px 0 27px; border: 1px solid rgba(243, 191, 89, .48); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow); color: var(--ink); }
.invite-art-frame { min-height: 100%; overflow: hidden; background: #28130f; }
.invite-art-frame img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: top center; }
.invite-copy { padding: clamp(20px, 4vw, 34px); }
.invite-copy .eyebrow { color: #a73431; }
.invite-copy h2 { color: #221614; }
.invite-kicker { margin: 0 0 16px; color: #75645b; font-size: 14px; }
.event-details { display: grid; gap: 12px; margin-top: 17px; }
.event-row { display: grid; grid-template-columns: 76px 1fr; gap: 11px; padding-top: 10px; border-top: 1px solid rgba(33, 23, 21, .14); }
.event-label { color: #8d302d; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.event-value { font-size: 14px; font-weight: 650; line-height: 1.4; }
.event-value small { display: block; margin-top: 3px; color: #76655d; font-size: 12px; font-weight: 400; }
.event-value a { color: #8d302d; font-weight: 750; text-underline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid transparent; border-radius: 8px; background: var(--red); color: #fff; cursor: pointer; font-size: 12px; font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: #ee4c45; }
.button.secondary { border-color: rgba(33, 23, 21, .2); background: transparent; color: var(--ink); }
.button.secondary:hover { background: rgba(33, 23, 21, .06); }
.button.gold { background: var(--gold); color: #2b1914; }
.page-intro { padding: 8px 0 18px; }
.page-intro h1 { max-width: 800px; }
.page-intro .lede { max-width: 700px; margin-bottom: 0; color: #eadbca; font-size: 15px; }
.share-status { min-height: 18px; margin: 8px 0 0; color: #9d897c; font-size: 11px; }
.sheet-section { margin: 16px 0 38px; }
.sheet-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.sheet-heading h2 { margin: 0; }
.sheet-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.sheet-pages { display: grid; gap: 15px; }
.sheet-page { overflow: hidden; margin: 0; border: 1px solid rgba(255, 240, 215, .25); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.sheet-page img { width: 100%; height: auto; margin: 0 auto; }
.sheet-page figcaption { padding: 6px 10px; background: #201414; color: #c2b0a0; font-size: 10px; text-align: right; }
.hero { position: relative; display: grid; min-height: 335px; align-items: end; overflow: hidden; margin: 17px 0 28px; border: 1px solid rgba(255, 240, 215, .22); border-radius: 16px; background: #351818; box-shadow: var(--shadow); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; opacity: .58; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 10, 10, .94), rgba(19, 10, 10, .52) 57%, rgba(19, 10, 10, .15)), linear-gradient(0deg, rgba(19, 10, 10, .88), transparent 60%); content: ""; }
.hero-content { position: relative; z-index: 1; max-width: 720px; padding: clamp(24px, 6vw, 54px); }
.hero-content p:last-child { max-width: 560px; margin-bottom: 0; color: #f2e5d1; font-size: 15px; }
.hero-date { display: inline-flex; align-items: center; margin-bottom: 15px; padding: 8px 12px; border: 1px solid rgba(243, 191, 89, .52); border-radius: 999px; background: rgba(16, 8, 8, .54); color: #ffe0a0; font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 28px 0 15px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.character-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.character-card { min-height: 121px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(145deg, rgba(255,255,255,.05), transparent 70%), var(--night-raised); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.character-card:hover { transform: translateY(-3px); border-color: rgba(243, 191, 89, .65); }
.character-card[hidden] { display: none; }
.card-index { display: block; margin-bottom: 17px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.card-name { display: block; font-family: Impact, "Arial Narrow", sans-serif; font-size: 22px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.card-action { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.search-row { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.search { width: min(100%, 430px); min-height: 45px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: #201414; color: white; }
.search:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(243, 191, 89, .14); }
.result-count { color: var(--muted); font-size: 11px; white-space: nowrap; }
.empty-message { display: none; grid-column: 1 / -1; padding: 20px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); text-align: center; }
.empty-message.visible { display: block; }
.invite-page { padding-bottom: 40px; }
.invite-title { padding: 28px 0 3px; text-align: center; }
.invite-title h1 { font-size: clamp(40px, 8vw, 66px); }
.invite-title p:last-child { margin: 0; color: var(--muted); }
.invite-page .invite-card { grid-template-columns: 1fr; max-width: 810px; margin: 18px auto 22px; }
.invite-page .invite-art-frame { max-height: 380px; }
.invite-page .invite-art-frame img { min-height: 0; aspect-ratio: 2 / 1; }
.invite-page .invite-copy { padding: clamp(22px, 5vw, 42px); }
.site-footer { display: flex; justify-content: space-between; gap: 14px; padding: 18px 0 25px; border-top: 1px solid var(--line); color: #9d897c; font-size: 10px; }
.fine-print { margin: 0 0 35px; color: #9d897c; font-size: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 850px) { .character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .invite-card { grid-template-columns: 1fr; } .invite-art-frame img { max-height: 300px; min-height: 0; aspect-ratio: 2 / 1; } }
@media (max-width: 560px) {
  .shell { width: min(100% - 26px, 1060px); }
  .site-header { padding: 13px 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 16px; }
  .brand-subtitle { font-size: 8px; }
  .top-link { font-size: 11px; }
  .invite-card { margin: 15px 0 23px; border-radius: 11px; }
  .invite-art-frame img { aspect-ratio: 1.8 / 1; }
  .invite-copy { padding: 20px 17px; }
  .invite-kicker { font-size: 12px; }
  .event-row { grid-template-columns: 62px 1fr; gap: 8px; }
  .event-value { font-size: 12px; }
  .event-value small { font-size: 11px; }
  .actions { gap: 7px; }
  .button { min-height: 42px; padding: 0 12px; font-size: 11px; }
  .page-intro { padding-top: 3px; }
  .page-intro .lede { font-size: 13px; }
  .sheet-heading { display: block; }
  .sheet-heading p { margin-top: 6px; }
  .sheet-pages { gap: 10px; }
  .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .character-card { min-height: 110px; padding: 12px; }
  .card-index { margin-bottom: 16px; font-size: 9px; }
  .card-name { font-size: 20px; }
  .hero { min-height: 370px; margin: 14px 0 22px; border-radius: 12px; }
  .hero-art { object-position: 42% 24%; }
  .hero-content { padding: 22px; }
  .section-heading { display: block; margin-top: 25px; }
  .section-heading p { margin-top: 5px; }
  .search-row { align-items: start; flex-direction: column; gap: 7px; }
  .search { width: 100%; }
  .site-footer { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
