/* Mr. Panas landing page
   Desktop: every section is a 1920×1080 design frame scaled with CSS zoom (--z set in main.js).
   Below 900px wide the frames drop the fixed size and stack. */

:root {
  color-scheme: dark;
  --beige: #ceab85;
  --cream: #fee9c3;
  --dark-brown: #2f1902;
  --amber-brown: #7d4a14;
  --mid-brown: #856647;
  --ink: #1a1a1c;
  --w75: rgba(255, 255, 255, .75);
  --w50: rgba(255, 255, 255, .5);
  --w25: rgba(255, 255, 255, .25);
  --w08: rgba(255, 255, 255, .08);
  --b50: rgba(0, 0, 0, .5);
  --b25: rgba(0, 0, 0, .25);
  --serif: "Lora", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --z: 1;
  --dw: 1920px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #120a04; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #120a04;
  color: #fff;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 20px;
  letter-spacing: .25px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.flip { transform: scaleX(-1); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 auto auto 0; z-index: 50;
  zoom: var(--z);
  width: var(--dw); height: 106px;
  display: flex; align-items: center;
  padding: 32px 100px;
  transition: background .3s, backdrop-filter .3s;
}
.site-header.is-scrolled { background: linear-gradient(rgba(18, 10, 4, .85), rgba(18, 10, 4, 0)); }
.brand { display: flex; align-items: center; gap: 24px; }
.brand-studio { display: flex; align-items: center; }
/* The wordmark is dark carved wood made for parchment; lift it so it reads on the dark site. */
.brand-studio img, .footer-studio img { filter: brightness(2.2) drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
.brand-divider { width: 1px; height: 52.5px; background: var(--w25); }
.brand-divider, .brand-game { transition: opacity .3s, transform .3s; }
body.at-home .brand-divider, body.at-home .brand-game { opacity: 0; transform: translateX(-8px); pointer-events: none; }
.main-nav { margin-left: auto; display: flex; gap: 25px; }
.main-nav a { position: relative; padding: 4px 0; color: var(--w75); transition: color .2s; }
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--beige); transform: scaleX(0); transition: transform .25s; }
.main-nav a.is-active::after { transform: scaleX(1); }
.lang { position: relative; margin-left: 86px; }
.lang-btn { display: flex; align-items: center; gap: 24px; padding: 10px 16px; border: 1px solid #fff; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 180px; background: rgba(18, 10, 4, .95); border: 1px solid var(--beige); padding: 6px 0; }
.lang-menu li { padding: 10px 16px; cursor: pointer; }
.lang-menu li[aria-selected="true"] { color: var(--cream); }
.lang-menu li[aria-disabled="true"] { color: var(--w50); cursor: default; }
.lang-menu small { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-left: 6px; }
.menu-toggle { display: none; }

/* ---------- Right-side progress ---------- */
.page-nav {
  position: fixed; right: 0; top: 50%; z-index: 40;
  zoom: var(--z);
  width: 100px; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.page-count { font-size: 16px; }
.page-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.page-bars a { display: block; width: 20px; height: 4px; border-radius: 100px; background: var(--w25); transition: background .3s, width .3s; }
.page-bars a:hover { background: var(--w75); }
.page-bars a.is-active { background: #fff; }
.mouse { width: 24px; height: 32px; border: 2px solid #fff; border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.mouse span { width: 3px; height: 7px; border-radius: 2px; background: #fff; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.screen { position: relative; overflow: hidden; height: calc(1080px * var(--z)); min-height: 0; }
.screen-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.frame { position: relative; zoom: var(--z); width: 1920px; height: 1080px; margin: 0 auto; }
.screen-inner { position: absolute; inset: 0; }
.home-vignette { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .35), transparent 18%, transparent 80%, rgba(0, 0, 0, .55)); }

/* Shared bits */
.divider { position: relative; display: inline-block; width: 120px; height: 16px; flex: none;
  background: linear-gradient(var(--beige), var(--beige)) center / calc(100% - 16px) 1px no-repeat; background-position: 0 50%; }
.divider::before, .divider::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%) rotate(45deg); }
.divider::before { right: 2px; width: 9px; height: 9px; border: 1px solid var(--beige); }
.divider::after { left: 0; width: 5px; height: 5px; background: var(--beige); }
.divider-left { background-position: 100% 50%; }
.divider-left::before { right: auto; left: 2px; }
.divider-left::after { left: auto; right: 0; }

.eyebrow { display: flex; align-items: center; justify-content: center; gap: 16px; font: 500 16px/20px var(--mono); letter-spacing: 2px; text-transform: uppercase; color: var(--cream); }
.section-head { position: absolute; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.section-head h2 { font-size: 44px; line-height: 56px; font-weight: 700; }
.lede { max-width: 900px; font-size: 18px; line-height: 28px; color: var(--w75); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 322px; height: 68px; flex: none;
  border: 1px solid var(--beige); background: var(--b50);
  font: 600 20px/32px var(--serif); color: #fff; letter-spacing: .25px; white-space: nowrap;
  transition: background .25s, transform .25s, box-shadow .25s;
  isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 3px; background: url(assets/btn-frame.svg) center / 100% 100% no-repeat; pointer-events: none; z-index: -1; }
.btn:hover { background: rgba(125, 74, 20, .55); box-shadow: 0 0 24px rgba(224, 112, 58, .35); }
.btn:active { transform: translateY(1px); }
.btn img { position: relative; top: -1px; }
.btn-dark { background: var(--dark-brown); }
.btn-dark:hover { background: #4a2a08; }

/* ---------- 1. Home ---------- */
.home-center { position: absolute; left: 50%; top: 252px; transform: translateX(-50%); width: 656px; display: flex; flex-direction: column; align-items: center; }
.home-logo img { width: 337px; height: 225px; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .45)); }
.home-tagline { margin-top: 44px; font-size: 24px; line-height: 32px; font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.btn-row { margin-top: 36px; display: flex; gap: 12px; }
.btn-wide { margin-top: 12px; width: 656px; }
.trailer { margin-top: 72px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.trailer-row { display: flex; align-items: center; gap: 8px; }
.trailer-row .divider { width: 200px; }
.trailer .play { width: 100px; height: 100px; transition: transform .3s, filter .3s; }
.trailer:hover .play { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(254, 233, 195, .45)); }
.trailer-label { font-weight: 500; font-size: 16px; text-shadow: 0 1px 8px #000; }
.home-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 44px 100px; font-size: 16px; }
.status { display: flex; align-items: center; gap: 12px; font: 500 16px/20px var(--mono); letter-spacing: 2px; text-transform: uppercase; }
.status-dot { width: 16px; height: 16px; border-radius: 50%; background: #e0703a; border: 2px solid #ffa77d; box-shadow: 0 0 12px #e0703a; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 20px 3px #e0703a; } }

/* ---------- 2. Overview ---------- */
#overview .section-head { top: 138px; }
.overview-cards { position: absolute; top: 358px; left: 100px; width: 1720px; display: flex; justify-content: space-between; }
.ov-card { position: relative; width: 564px; height: 492px; transition: transform .35s; }
.ov-card:hover { transform: translateY(-8px) rotate(-.4deg); }
.ov-card:nth-child(2):hover { transform: translateY(-8px) rotate(.4deg); }
.ov-card img { width: 564px; height: 499px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.ov-text { position: absolute; left: 62px; top: 360px; width: 435px; display: flex; flex-direction: column; gap: 4px; color: #000; }
.ov-text h3 { font-size: 28px; line-height: 36px; font-weight: 700; color: var(--dark-brown); }
.ov-text p { font-size: 18px; line-height: 28px; }
.screen-foot { position: absolute; left: 0; right: 0; bottom: 52px; padding: 0 100px; display: flex; justify-content: space-between; align-items: center; color: var(--w75); }

/* ---------- 3. Characters ---------- */
#characters .section-head { top: 138px; gap: 16px; }
.char-tabs { display: flex; align-items: center; gap: 25px; }
.char-tab { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 120px; font-size: 16px; opacity: .5; transition: opacity .3s; }
.char-tab img { width: 100px; height: 100px; transition: transform .3s, filter .3s; }
.char-tab:hover { opacity: .8; }
.char-tab.is-active { opacity: 1; }
.char-tab.is-active img { filter: drop-shadow(0 0 14px rgba(224, 112, 58, .55)); }
.char-tabs-sep { width: 1px; height: 120px; background: linear-gradient(transparent, var(--w50), transparent); }
.char-layout { position: absolute; top: 328px; left: 100px; right: 100px; display: flex; justify-content: center; gap: 95px; }
.char-copy, .char-info { padding-top: 60px; }
.char-copy { width: 476px; }
.char-copy h2 { font-size: 44px; line-height: 56px; font-weight: 700; }
.char-copy p { margin-top: 17px; font-size: 16px; line-height: 20px; color: var(--w75); }
.char-info { width: 471px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.char-panel.is-entering { animation: panel-in .45s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.char-info .char-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.pill { font: 500 16px/20px var(--mono); letter-spacing: 2px; text-transform: uppercase; color: var(--cream); border: 1px solid var(--cream); border-radius: 100px; padding: 8px 16px; }
.abilities { display: flex; flex-direction: column; gap: 12px; }
.abilities li { position: relative; padding-left: 36px; font-size: 18px; line-height: 28px; font-weight: 500; color: var(--cream); }
.abilities li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; background: url(assets/star.svg) center / contain no-repeat; }
.abilities-dark li { color: var(--dark-brown); font-weight: 400; }
.abilities-dark li::before { background-image: url(assets/star-dark.svg); }

.char-stage { position: relative; width: 583px; height: 643px; flex: none; }
.stage-aura { position: absolute; left: 19px; top: 0; width: 544px; height: 636px; opacity: .9; animation: aura 5s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes aura { 50% { opacity: .7; } }
.stage-podium { position: absolute; left: 0; top: 345px; width: 583px; height: 298px; }
.stage-poster { position: absolute; left: 50%; bottom: 150px; height: 520px; width: auto; transform: translateX(-50%); transition: opacity .4s; }
.stage-poster.is-whisper { height: 400px; }
#charCanvas { position: absolute; left: -120px; top: -140px; width: 823px; height: 783px; opacity: 0; transition: opacity .6s; cursor: grab; touch-action: pan-y; }
#charCanvas { pointer-events: none; }
.char-stage.has-3d { cursor: grab; touch-action: pan-y; }
.char-stage.has-3d:active { cursor: grabbing; }
.char-stage.has-3d #charCanvas { opacity: 1; }
.char-stage.has-3d .stage-poster { opacity: 0; }
.stage-hint { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font: 500 13px/16px var(--mono); letter-spacing: 2px; text-transform: uppercase; color: var(--w50); opacity: 0; transition: opacity .6s; pointer-events: none; }
.char-stage.has-3d .stage-hint { opacity: 1; }
.char-stage.has-3d.touched .stage-hint { opacity: 0; }

.carousel-nav { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; justify-content: center; gap: 44px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--w75); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.round-btn:hover { background: rgba(254, 233, 195, .12); border-color: var(--cream); }

/* ---------- 4. House Rules ---------- */
#rules .section-head { top: 135px; }
.rules-grid { position: absolute; top: 252px; left: 200px; width: 1520px; display: grid; grid-template-columns: repeat(3, 484px); justify-content: space-between; row-gap: 28px; }
.rule-card { position: relative; width: 484px; height: 248px; padding: 26px 35px; background: var(--bg) center / 100% 100% no-repeat; color: #000; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35)); transition: transform .3s; }
.rule-card:hover { transform: translateY(-4px); }
.rule-card h3 { font-size: 28px; line-height: 36px; font-weight: 700; color: var(--dark-brown); }
.rule-card p { margin-top: 8px; width: 413px; font-size: 16px; line-height: 20px; }
.fest { position: absolute; top: 804px; left: 200px; width: 1520px; height: 247px; padding: 60px 74px 0; display: flex; align-items: flex-start; gap: 24px; background: url(assets/fest-bg.webp) center / 100% 100% no-repeat; color: var(--ink); }
.fest-coin { width: 88px; height: 88px; }
.fest-text h3 { font-size: 36px; line-height: 44px; font-weight: 500; color: var(--dark-brown); }
.fest-text p { margin-top: 4px; font-size: 18px; line-height: 28px; }
.fest-actions { margin-left: auto; display: flex; flex-direction: column; gap: 10px; margin-top: -14px; }
.fest-actions .btn { height: 60px; }
.fest-actions .btn:not(.btn-dark) { background: transparent; border: 1.5px solid var(--dark-brown); color: var(--dark-brown); box-shadow: none; }
.fest-actions .btn:not(.btn-dark)::before { display: none; }
.fest-actions .btn:not(.btn-dark):hover { background: var(--dark-brown); color: var(--cream); }

/* ---------- 5. Community ---------- */
#community .section-head { top: 145px; }
.community-grid { position: absolute; top: 278px; left: 200px; width: 1520px; display: flex; gap: 80px; }
.discord-card { position: relative; width: 720px; height: 446px; flex: none; }
.discord-card > img { position: absolute; }
.dc-back { left: -.68px; top: 0; width: 721px; height: 447px; }
.dc-front { left: 14.54px; top: 21.83px; width: 706px; height: 400px; }
.dc-logo-big { left: 523.64px; top: 54.64px; width: 197px; height: 197px; animation: bob 5s ease-in-out infinite; }
.dc-logo-small { left: 549.19px; top: 223.84px; width: 112px; height: 112px; animation: bob 5s ease-in-out -2.5s infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.dc-content { position: absolute; left: 59px; top: 50%; transform: translateY(-50%); width: 483px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.dc-content h3 { font-size: 36px; line-height: 44px; font-weight: 500; color: var(--dark-brown); }
.dc-content .btn { margin-top: 8px; }
.dc-content .abilities { max-width: 430px; }
.nights { width: 720px; display: flex; flex-direction: column; gap: 16px; }
.nights > h3 { font-size: 36px; line-height: 44px; font-weight: 500; }
.events li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--mid-brown); }
.events li:last-child { border-bottom: 1px solid var(--mid-brown); }
.date { width: 54px; height: 54px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--w08); border: 1px solid var(--w08); font-size: 14px; line-height: 16px; color: var(--cream); }
.date b { font-size: 28px; line-height: 30px; font-weight: 600; background: linear-gradient(#f3dbab, #e4c970); -webkit-background-clip: text; background-clip: text; color: transparent; }
.events div { width: 420px; display: flex; flex-direction: column; color: var(--cream); }
.events strong { font-size: 18px; line-height: 28px; font-weight: 600; }
.events span { font-size: 16px; line-height: 20px; }
.rsvp { margin-left: auto; border: 1px solid var(--cream); border-radius: 4px; padding: 8px 32px; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--cream); transition: background .2s, color .2s; }
.rsvp:hover, .rsvp.is-done { background: var(--cream); color: var(--dark-brown); }
.streamed { display: flex; align-items: center; gap: 16px; padding: 16px 24px; background: var(--b25); border: 1px solid var(--w08); }
.streamed img { width: 56px; height: 56px; }
.streamed div { display: flex; flex-direction: column; }
.streamed strong { font-size: 20px; line-height: 32px; font-weight: 700; color: var(--cream); }
.streamed b { font-weight: 600; }

.site-footer { position: absolute; left: 0; right: 0; bottom: 0; padding: 54px 200px 40px; background: var(--b25); box-shadow: 0 -12px 24px rgba(100, 67, 0, .25); display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; }
.footer-top h3 { font-size: 36px; line-height: 44px; font-weight: 500; color: var(--cream); }
.footer-top p { margin-top: 4px; color: var(--w75); }
.footer-actions { display: flex; align-items: center; gap: 44px; }
.subscribe { display: flex; width: 360px; height: 48px; background: var(--dark-brown); border: 1px solid var(--amber-brown); }
.subscribe input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 16px; font: 16px var(--serif); color: #fff; outline: none; }
.subscribe input::placeholder { color: var(--w50); }
.subscribe button { padding: 0 20px; background: var(--amber-brown); color: var(--cream); font-weight: 600; transition: background .2s; }
.subscribe button:hover { background: #955a1b; }
.subscribe button:disabled { opacity: .6; cursor: wait; }
.subscribe .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.subscribe { position: relative; }
.form-note.is-error { color: #ffa77d; }
.form-note { min-height: 0; margin-top: -12px; color: var(--cream); text-align: right; }
.form-note:empty { display: none; }
.socials { display: flex; gap: 12px; }
.socials a { transition: transform .2s; }
.socials a:hover { transform: translateY(-2px); }
.socials img { width: 44px; height: 44px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--w08); align-items: center; color: var(--w75); }
.footer-studio { display: flex; align-items: center; gap: 16px; }
.footer-links { display: flex; gap: 16px; align-items: center; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links a[href^="mailto"] { font-style: italic; }
.footer-links i { font-style: normal; }

/* ---------- Trailer modal ---------- */
.trailer-modal { border: 1px solid var(--beige); background: #000; padding: 0; width: min(1120px, 92vw); max-width: none; overflow: visible; }
.trailer-modal::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(4px); }
.trailer-video { aspect-ratio: 16 / 9; }
.trailer-video iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Sits above the video so it never covers the player's own controls. */
.modal-close { position: absolute; right: 0; bottom: 100%; padding: 4px 0 6px 12px; font-size: 32px; line-height: 1; color: var(--w75); }
.modal-close:hover { color: #fff; }

/* ---------- Hero-only launch page ----------
   body.hero-only shows just the first screen; the other sections and their navigation stay in the
   markup and come back when the class is removed. */
.hero-only main > .screen:not(#home), .hero-only .main-nav, .hero-only .menu-toggle, .hero-only .page-nav { display: none; }
/* Fill the window and centre the design frame, so there is no empty band under it. */
.hero-only .screen-home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
/* The section links are hidden, so the language picker takes their place at the right. */
.hero-only .lang { margin-left: auto; }
/* Phones: a little tighter, so the three buttons and the trailer fit one screen. */
@media (max-width: 899px) { .hero-only .screen-home .frame { padding-top: 84px; padding-bottom: 28px; gap: 24px; } }

/* ---------- Mobile / narrow ---------- */
@media (max-width: 899px) {
  .site-header { zoom: 1; width: 100%; height: 64px; padding: 12px 16px; background: rgba(18, 10, 4, .8); backdrop-filter: blur(8px); }
  .brand { gap: 12px; }
  .brand-studio img { width: 89px; height: 30px; }
  .brand-divider { height: 32px; }
  .brand-game { width: 54px; height: 36px; }
  .main-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; margin: 0; background: rgba(18, 10, 4, .97); padding: 8px 16px 16px; transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility 0s .3s; }
  .main-nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--w08); }
  body.menu-open .main-nav { transform: none; visibility: visible; transition: transform .3s; }
  .lang { margin-left: auto; }
  .lang-btn { padding: 6px 10px; gap: 10px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; margin-left: 12px; padding: 0 8px; }
  .menu-toggle span { height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .page-nav { display: none; }

  .screen { height: auto; }
  .frame { zoom: 1; width: auto; height: auto; padding: 96px 16px 56px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
  .screen-inner, .section-head, .home-center, .home-bottom, .overview-cards, .screen-foot, .char-layout, .carousel-nav, .rules-grid, .fest, .community-grid, .site-footer { position: static; transform: none; }
  .screen-inner { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 32px; }
  .section-head h2 { font-size: 30px; line-height: 38px; }
  .eyebrow { font-size: 13px; gap: 10px; }
  .eyebrow .divider { width: 48px; }
  .lede { font-size: 16px; line-height: 24px; }
  .lede br { display: none; }
  .btn { width: 100%; max-width: 322px; }

  .screen-home .frame { min-height: 100svh; justify-content: center; }
  .home-center { width: 100%; }
  .home-logo img { width: 240px; height: auto; }
  .home-tagline { margin-top: 24px; font-size: 20px; text-align: center; }
  .btn-row { flex-direction: column; width: 100%; align-items: center; }
  .trailer { margin-top: 40px; }
  .trailer-row .divider { width: 56px; }
  .trailer .play { width: 72px; height: 72px; }
  .home-bottom { padding: 0; flex-direction: column; gap: 10px; text-align: center; font-size: 14px; }
  .status { font-size: 12px; }

  .overview-cards { width: 100%; flex-direction: column; align-items: center; gap: 24px; }
  .ov-card { width: 100%; max-width: 564px; height: auto; }
  .ov-card img { width: 100%; height: auto; }
  .ov-text { left: 11%; top: 72%; width: 78%; }
  .ov-text h3 { font-size: clamp(18px, 5vw, 28px); line-height: 1.25; }
  .ov-text p { font-size: clamp(13px, 3.4vw, 18px); line-height: 1.45; }
  .screen-foot { flex-direction: column; gap: 14px; padding: 0; text-align: center; }

  .char-layout { flex-direction: column; align-items: center; gap: 24px; width: 100%; }
  .char-copy, .char-info { padding-top: 0; width: 100%; max-width: 520px; }
  .char-copy { text-align: center; }
  .char-copy h2 { font-size: 28px; line-height: 36px; }
  .char-stage { order: -1; width: 100%; max-width: 420px; height: auto; aspect-ratio: 583 / 643; }
  .stage-aura { left: 3.3%; width: 93.3%; height: auto; }
  .stage-podium { top: 53.6%; width: 100%; height: auto; }
  .stage-poster { bottom: 23%; height: 80%; }
  .stage-poster.is-whisper { height: 62%; }
  #charCanvas { left: -20.6%; top: -21.8%; width: 141.2%; height: 121.8%; }
  .char-tab img { width: 72px; height: 72px; }
  .char-tabs-sep { height: 80px; }
  .char-info { align-items: center; }
  .char-info .char-panel { align-items: center; }
  .abilities li { font-size: 16px; line-height: 24px; }
  .carousel-nav { order: 5; }

  .rules-grid { width: 100%; grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .rule-card { width: 100%; max-width: 484px; height: auto; min-height: 200px; padding: 22px 24px 70px; }
  .rule-card h3 { font-size: 22px; line-height: 30px; }
  .rule-card p { width: auto; max-width: 75%; }
  .fest { width: 100%; height: auto; flex-direction: column; align-items: center; text-align: center; padding: 36px 24px; gap: 16px; background-size: cover; }
  .fest-text h3 { font-size: 26px; line-height: 34px; }
  .fest-actions { margin: 0; width: 100%; align-items: center; }

  .community-grid { width: 100%; flex-direction: column; align-items: center; gap: 40px; }
  .discord-card { width: 100%; max-width: 560px; height: auto; padding: 36px 28px; background: url(assets/discord-card.webp) center / 100% 100% no-repeat; }
  .discord-card > img { display: none; }
  .dc-content { position: static; transform: none; width: 100%; }
  .dc-content h3, .nights > h3, .footer-top h3 { font-size: 28px; line-height: 36px; }
  .nights { width: 100%; max-width: 560px; }
  .events li { flex-wrap: wrap; }
  .events div { width: auto; flex: 1; }
  .events span { font-size: 14px; }
  .rsvp { padding: 6px 18px; font-size: 16px; }
  .site-footer { margin: 0 -16px -56px; width: calc(100% + 32px); padding: 40px 16px 32px; }
  .footer-top, .footer-actions { flex-direction: column; align-items: stretch; gap: 20px; }
  .subscribe { width: 100%; }
  .socials { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: center; text-align: center; font-size: 14px; }
  .footer-studio { flex-direction: column; gap: 8px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .form-note { text-align: center; margin: 0; }
}
