/* The landing page prioritizes phone reading and thumb access. Desktop retains the approved composition. */
html { -webkit-text-size-adjust: 100%; }
main { overflow-x: clip; }
button, a, summary { touch-action: manipulation; }
.mobile-nav, .mobile-play { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .header {
    padding: calc(14px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px));
    gap: 8px;
    position: relative;
    z-index: 12;
  }
  .header > nav, .nav-cta { display: none; }
  .header .logo { font-size: clamp(21px, 5.7vw, 28px); gap: 4px; letter-spacing: -1.5px; }
  .header .logo-symbol { width: 42px; height: 42px; margin-right: 6px; }
  .language { margin-left: auto; }
  .language summary { min-width: 48px; min-height: 48px; text-align: center; }
  .language p { width: min(245px, calc(100vw - 40px)); font-size: 14px; }
  .mobile-nav { display: block; position: relative; font-size: 13px; }
  .mobile-nav summary {
    min-width: 52px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    border: var(--line);
    border-radius: 5px;
    cursor: pointer;
    background: var(--cream);
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] summary { background: var(--yellow); }
  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: var(--cream);
    border: var(--line);
    border-radius: 6px;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .mobile-nav nav a { padding: 17px 20px; min-height: 52px; font-size: 15px; }
  .mobile-nav nav a:first-child { background: var(--yellow); }
  .mobile-play {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--cream);
    border-top: var(--line);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  .mobile-play > span { font-size: 13px; font-weight: 700; line-height: 1.5; }
  .mobile-play small { display: block; font-size: 11px; font-weight: 400; }
  .mobile-play .button { min-height: 52px; padding: 14px 18px; font-size: 14px; white-space: nowrap; }
  .hero { min-height: 0; padding-top: 24px; }
  .hero-description { font-size: 16px; }
  .hero .small-note { font-size: 14px; line-height: 1.7; max-width: none; }
  .section-intro > p:last-child, .steps p, .manifesto > div > p:not(.eyebrow):not(.handwritten), .campaign > p:not(.eyebrow) { font-size: 16px; line-height: 1.75; }
  .section .eyebrow, .hero .eyebrow { font-size: 11px; letter-spacing: 1.2px; }
  .manifesto-bottom span, footer p, footer > a:last-child { font-size: 14px; }
  .manifesto-bottom b { font-size: 16px; }
  footer > a:last-child { display: flex; align-items: center; min-height: 48px; }
  .share-status { overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
  .hero { padding-left: 6%; padding-right: 6%; }
  h1 { font-size: clamp(44px, 12.7vw, 86px); }
  .hero-actions { gap: 18px; }
  .hero-actions .button { min-height: 56px; font-size: 16px; }
  .hero-actions .text-link { font-size: 14px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .section h2 { font-size: clamp(30px, 8.5vw, 48px); letter-spacing: -1.7px; }
  .steps h3 { font-size: 23px; }
  .campaign h2 { font-size: clamp(36px, 10.6vw, 62px); }
  .brand-stage .art-footnote { font-size: 12px; line-height: 1.5; max-width: 95%; }
  .brand-stage .art-caption { bottom: 48px; }
  .boot-showcase span { font-size: 12px; }
}
@media (max-width: 360px) {
  .mobile-play { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .mobile-play > span { font-size: 12px; }
  .mobile-play small { font-size: 10px; }
  .mobile-play .button { font-size: 13px; padding: 14px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  h1 { font-size: clamp(64px, 11vw, 86px); }
  .brand-stage { width: min(100%, 520px); height: 680px; margin: 24px auto 0; }
  .brand-stage .orbit { top: 90px; }
  .brand-stage .character { width: 50%; left: 50%; top: 0; }
  .boot-showcase { top: 140px; }
  .brand-stage .art-caption { top: auto; bottom: 45px; }
  .brand-stage .satire-stamp { bottom: 90px; }
}
/* Angled poster strips may bleed without creating sideways document scrolling. */
@media (max-width: 900px) { body { overflow-x: clip; } }
@media (max-width: 900px) {
  .logo { min-height: 48px; }
  .mobile-nav summary { touch-action: manipulation; }
}
@media (max-width: 900px) {
  .mobile-nav nav { max-height: calc(100svh - 170px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; }
}
/* Put the brand artwork immediately after the headline on phones; play stays reachable in the dock. */
@media (max-width: 700px) {
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; position: relative; z-index: 6; }
  .hero .brand-stage { order: 3; height: clamp(430px, calc(82vw + 110px), 620px); margin-top: 16px; margin-bottom: 22px; }
  .hero-description { order: 4; }
  .hero-actions { order: 5; }
  .hero .small-note { order: 6; }
  .boot-showcase { top: 100px; width: 82%; }
  .brand-stage .satire-stamp { bottom: 66px; }
  .brand-stage .art-caption { bottom: 45px; }
}
@media (max-width: 700px) { .hero .eyebrow { position: relative; z-index: 6; } }

.language select{max-width:100%;min-height:48px;font:inherit;border:1px solid #28183d;border-radius:8px;padding:8px;background:#fff6e8}.language label{display:block;margin:10px 0;font-weight:700}.language[open]{max-width:min(300px,calc(100vw - 32px))}

/* Keep the entire roster in a single independently scrollable mobile strip. */
.home-roster { padding: clamp(32px,6vw,80px) max(20px,calc((100vw - 1240px)/2)); min-width:0; overflow:hidden; }
.home-roster-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.home-roster h2 { font-size:clamp(30px,5vw,60px); line-height:1.03; margin:12px 0; letter-spacing:-.045em; }
.home-roster .eyebrow { font-size:12px; letter-spacing:.13em; }
.home-roster-hint { margin:10px 0 22px; }
.home-roster-navigation { display:flex; gap:8px; flex-shrink:0; }
.home-roster-navigation button { width:48px; height:48px; border:2px solid #2a193d; border-radius:50%; background:#ffda43; color:#2a193d; font-size:24px; cursor:pointer; }
.home-character-list { display:flex; flex-wrap:nowrap; gap:16px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scrollbar-width:thin; padding:8px 4px 22px; margin:0; list-style:none; min-width:0; min-height:310px; }
.home-character-list li { flex:0 0 clamp(150px,42vw,192px); scroll-snap-align:start; min-width:0; }
.home-character { display:flex; flex-direction:column; align-items:center; height:100%; text-decoration:none; color:#2a193d; background:#fff8eb; border:2px solid #2a193d; border-radius:20px; padding:14px 10px 18px; box-shadow:3px 4px 0 #2a193d; text-align:center; }
.home-character img { width:124px; height:124px; max-width:100%; object-fit:contain; border-radius:14px; margin-bottom:12px; }
.home-character-name { font-size:15px; font-weight:800; min-height:3.6em; line-height:1.2; overflow-wrap:anywhere; }
.home-character strong { font-size:clamp(23px,5vw,32px); color:#c53d4e; font-weight:900; font-variant-numeric:tabular-nums; line-height:1.2; overflow-wrap:anywhere; max-width:100%; }
.home-character small { font-size:12px; margin-top:3px; }
.home-character:focus-visible,.home-character-list:focus-visible,.home-roster-navigation button:focus-visible { outline:3px solid #c53d4e; outline-offset:5px; }
.home-character:hover { background:#ffedab; }
.home-roster-status { font-size:12px; opacity:.75; margin:10px 0 0; }
@media(max-width:600px) { .home-roster-heading { display:block; text-align:center; } .home-roster-navigation { justify-content:center; margin-top:18px; } .home-roster-hint,.home-roster-status { text-align:center; } }

/* Public standings are visible next to play on the mobile-first home. */
.ranking-ticket { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:58px; padding:14px 18px; border:3px solid var(--ink,#28183d); border-radius:14px; background:#9ce6d4; color:#28183d; font-weight:700; text-align:center; text-decoration:none; box-shadow:4px 4px 0 #28183d; }
.ranking-ticket:focus-visible { outline:3px solid #ff766b; outline-offset:5px; }
