/* Readability pass: real 1920 × 1080 viewing, with no text truncation. */
:root {
  --read-body: 24px;
  --read-label: 16px;
  --chapter-size: clamp(90px, 5.8vw, 112px);
}
body { font-size: var(--read-body); line-height: 1.6; }
.desktop-nav { font-size: 18px; gap: 34px; }
.language { font-size: 18px; }
.menu-toggle b { font-size: 16px; }
.motion .motion-state { font-size: 16px; }
.header-tools .motion { min-width: 106px; }
.eyebrow,
.hero-type .eyebrow,
.utility,
.side-note,
.project-facts > span,
.wide-shot figcaption,
.wide-shot figcaption span:last-child,
.frame-category,
.frame-tabs small,
.frame-counter span,
.render-note,
.weapon-type,
.combat-tabs button span,
.combat-description li,
.combat-description > p.media-note,
.capture-label,
.play-disc small,
.gallery-grid small,
.core-list summary > b,
.weapon-growth li span,
.backpack-line small,
.compatibility-note,
.route-scenes span,
.route-steps small,
.footer,
.footer > span,
.dialog-top,
.dialog-top button,
.menu-dialog nav small,
.menu-home,
.lightbox-controls span,
.no-js { font-size: var(--read-label); line-height: 1.5; }
.hero-description,
.overview-text > p:not(.lead),
.run-loop p,
.frame-description > p:not(.frame-category):not(.frame-local):not(.render-note),
.combat-description > p,
.systems-heading > p,
.system-rows p,
.growth-intro p,
.core-list details p,
.weapon-growth > p,
.backpack-line p > span,
.route-heading p,
.route-description,
.dev-grid > div > p:last-child,
.specs > div,
.controls dl > div,
.media-caption p { font-size: var(--read-body); line-height: 1.6; }
.frame-description > p.media-note,
.credits { font-size: 18px; line-height: 1.6; }
.credits p { max-width: 1150px; }
.cut-button,
.film-link,
.underline-link,
.controls summary { font-size: 20px; }
.cut-button { min-height: 64px; padding: 14px 34px; }
.play-small { width: 38px; height: 38px; font-size: 14px; }
.display-title,
.frames .display-title,
.combat-heading .display-title,
.route-heading .display-title { font-size: var(--chapter-size); line-height: .95; }
.chinese-title,
.overview .chinese-title,
.development .chinese-title,
html[lang=en] .chinese-title,
html[lang=en] .overview .chinese-title,
html[lang=en] .development .chinese-title { font-size: var(--chapter-size); line-height: 1.08; }
.lead { font-size: 34px; line-height: 1.4; }
.run-loop h3,
.system-rows h3,
.growth-intro h3,
.weapon-growth h3,
.combat-description h3,
.route-steps b { font-size: 32px; line-height: 1.35; }
.dev-lead { font-size: 28px; line-height: 1.45; }
.gallery-grid b { font-size: 28px; line-height: 1.4; }
.combat-tabs button { font-size: 38px; }
.core-list summary > span { font-size: 38px; }
.core-list summary { min-height: 92px; }
.weapon-growth b { font-size: 56px; }
.backpack-line b { font-size: 40px; }
.chapter-rail span { display: none; }
.chapter-hud small { font-size: 16px; letter-spacing: .05em; }
.chapter-hud b { font-size: 30px; }
html[data-chapter="frames"] .chapter-hud { display: none; }
.menu-dialog nav span { font-size: clamp(54px, 4.8vw, 90px); }
.menu-dialog nav a { padding: 12px 0; }
.media-caption { gap: 35px; }
.media-caption p { max-width: 860px; }
.media-dialog { width: min(1500px, 94vw); }
.lightbox-controls button { width: 56px; height: 56px; }

/* Wide layouts use two quiet columns instead of scattering small labels. */
@media (min-width: 1101px) {
  :root { --gutter: clamp(64px, 5vw, 108px); }
  .masthead { height: 84px; }
  html { scroll-padding-top: 84px; }
  .section { padding: 100px var(--gutter) 90px; }
  .section-top { margin-bottom: 45px; }
  .utility { max-width: 420px; }
  .side-note { max-width: 360px; margin-top: 7px; }
  .overview-heading { gap: 6vw; margin-bottom: 55px; }
  .overview-text { max-width: 760px; }
  .project-facts { margin-top: 28px; gap: 12px; }
  .project-facts > span { padding: 7px 12px; }
  .wide-shot { max-width: 1320px; margin: 0 auto; }
  .wide-shot figcaption { gap: 30px; padding-top: 13px; }
  .run-loop { gap: 50px; padding-top: 55px; }
  .loop-step { font-size: 64px; }
  .run-loop h3 { margin: 14px 0 13px; }
  .system-rows article { grid-template-columns: 180px 1fr 1.6fr 30px; gap: 36px; padding: 36px 0; }
  .system-tag { font-size: 36px; }
  .growth-lab { gap: 6vw; padding-top: 65px; }
  .growth-intro h3 { margin: 20px 0; }
  .core-list details p { padding-bottom: 26px; }
  .weapon-growth { padding: 40px; }
  .weapon-growth h3 { margin-bottom: 35px; }
  .backpack-line > div { gap: 40px; }
  .backpack-line small { display: block; margin: 6px 0 12px; }
  .combat-heading { gap: 80px; margin-bottom: 45px; }
  .combat-heading > p { font-size: 28px; max-width: 480px; }
  .combat-layout { grid-template-columns: 1.5fr 1fr; gap: 60px; }
  .combat-description h3 { margin: 15px 0 20px; }
  .combat-description ul { gap: 12px; margin: 25px 0; }
  .combat-description li { padding: 7px 11px; }
  .capture-label { padding: 7px 10px; }
  .gallery-grid { gap: 35px; }
  .gallery-grid button > span { padding: 22px 28px; }
  .gallery-grid i { top: 26px; }
  .dev-grid { grid-template-columns: 1.2fr 1fr; gap: 6vw; }
  .dev-grid > div > p:last-child { max-width: 800px; }
  .specs > div { grid-template-columns: 120px 1fr; padding: 20px 0; }
  .controls summary { padding: 26px 0; }
  .controls dl { gap: 0 60px; }
  .controls dl > div { grid-template-columns: 175px 1fr; padding: 16px 0; }
  .route-heading { margin-bottom: 40px; }
  .route-heading p { max-width: 550px; }
  .route-description { max-width: 1200px; }
  .route-steps { gap: 45px; }
  .route-steps b { margin-top: 12px; }
  .footer { padding: 30px var(--gutter); }

  /* First screen: separate the copy lane from the right-hand pose. */
  .hero { height: 100svh; min-height: 800px; max-height: none; }
  .hero-type { left: var(--gutter); top: 17svh; }
  .hero-type .eyebrow > span { display: none; }
  .hero h1 { font-size: clamp(180px, min(13.2vw, 23svh), 260px); margin-top: 26px; }
  .hero h1 .rogue { margin-left: 44px; }
  .hero-copy { left: var(--gutter); top: auto; bottom: 130px; max-width: 660px; }
  .hero-copy .hero-chinese,
  html[lang=en] .hero-copy .hero-chinese { font-size: 52px; line-height: 1.15; max-width: 650px; }
  .hero-description { margin: 20px 0 25px; max-width: 640px; }
  .hero-actions { gap: 35px; }
  .hero-id,
  .hero-signature { display: none; }
  .hero-foot { padding: 21px var(--gutter); font-size: 16px; }
  .scroll-cue { font-size: 16px; }
  .hero-mech.pose-art {
    width: 55%;
    height: calc(100svh - 130px);
    max-width: none;
    top: 92px;
    right: -1%;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(18px 12px 0 rgba(0,0,40,.2));
  }

  /* Machines: heading, image/copy stage and tabs fit the 1080p viewport. */
  .frames {
    display: flex;
    flex-direction: column;
    height: calc(100svh - 84px);
    min-height: calc(100svh - 84px);
    padding: 100px var(--gutter) 35px;
  }
  .frames > .section-top { flex: 0 0 auto; margin-bottom: 8px; }
  .frames .display-title { margin-top: 10px; }
  .frames .side-note { display: none; }
  .frame-stage { flex: 1 1 auto; height: auto; min-height: 520px; max-height: none; }
  .frame-ghost { top: 8%; left: 1%; font-size: clamp(160px, 16vw, 280px); opacity: .5; }
  .frame-slash { left: 49%; top: 9%; height: 75%; }
  .frame-description { width: 36%; right: 0; top: 15%; bottom: auto; padding: 0; }
  .frame-description h3 { font-size: 96px; margin: 18px 0 8px; line-height: .95; }
  .frame-local { font-size: 30px; margin-bottom: 24px; }
  .frame-description > p:not(.frame-category):not(.frame-local):not(.render-note) { font-size: 24px; line-height: 1.55; max-width: 100%; }
  .frame-category { letter-spacing: .08em; }
  .render-note { margin: 22px 0; }
  .frame-counter { left: 0; right: auto; bottom: 1%; gap: 12px; }
  .frame-counter b { font-size: 66px; line-height: 1; }
  .frame-controls { flex: 0 0 auto; padding-top: 16px; gap: 30px; }
  .frame-tabs { gap: 28px; }
  .frame-tabs button { padding: 9px 25px 10px 18px; }
  .frame-tabs button > span { font-size: 40px; line-height: 1.15; }
  .frame-tabs small { margin-bottom: 4px; }
  .frame-arrows button { width: 60px; height: 60px; font-size: 30px; }

  /* Tight alpha crops use their own box; old 147% transparent margins stay off. */
  .frame-stage[data-frame-index] #frame-image.pose-art {
    width: 61%;
    height: 100%;
    max-width: none;
    left: 0;
    top: 0;
    transform: none;
    object-fit: contain;
    object-position: center center;
  }
}

/* 1440/900 keeps readable copy and gives the stage the remaining screen height. */
@media (min-width: 1101px) and (max-width: 1699px) {
  :root { --read-body: 22px; --chapter-size: 90px; }
  .desktop-nav { gap: 22px; }
  .header-tools { gap: 10px; }
  .hero-copy { max-width: 550px; bottom: 115px; }
  .hero-copy .hero-chinese,
  html[lang=en] .hero-copy .hero-chinese { font-size: 46px; }
  .hero-description { max-width: 510px; }
  .hero h1 { font-size: clamp(170px, min(13.2vw, 22svh), 220px); }
  .hero-mech.pose-art { width: 54%; right: -1%; }
  .frame-description { width: 37%; top: 15%; }
  .frame-description h3 { font-size: 84px; }
  .frame-description > p:not(.frame-category):not(.frame-local):not(.render-note) { font-size: 22px; }
  .frame-local { font-size: 26px; margin-bottom: 17px; }
  .render-note { margin: 16px 0; }
  .frame-tabs { gap: 18px; }
  .frame-tabs button > span { font-size: 36px; }
  .frame-tabs button { padding-left: 13px; padding-right: 17px; }
  .combat-layout { gap: 40px; }
  .system-rows article { grid-template-columns: 145px 1fr 1.4fr 25px; gap: 28px; }
  .system-tag { font-size: 32px; }
  .system-rows h3 { font-size: 28px; }
  .core-list summary > span { font-size: 32px; }
  .chapter-hud { display: none; }
}
@media (min-width: 1101px) and (max-height: 980px) {
  .frames { min-height: 0; padding-top: 95px; padding-bottom: 25px; }
  .frames .display-title { font-size: 84px; margin-top: 7px; }
  .frame-stage { min-height: 0; }
  .frame-description { top: 10%; }
  .frame-description h3 { font-size: 84px; }
  .frame-description .render-note { display: none; }
  .frame-local { margin-bottom: 15px; }
  .frame-description .underline-link { margin-top: 20px; }
  .frame-counter { display: none; }
}

/* Tablet and mobile retain the stacked reading flow and touch controls. */
@media (max-width: 1100px) {
  :root { --read-body: 20px; --chapter-size: 74px; }
  .chapter-hud { display: none; }
  .desktop-nav { gap: 16px; font-size: 16px; }
  .header-tools .motion { min-width: 78px; }
  .motion .motion-state { font-size: 16px; }
  .hero-mech.pose-art { width: 61%; height: 72%; top: 16%; right: -3%; object-fit: contain; object-position: center; }
  .frame-stage[data-frame-index] #frame-image.pose-art { width: 62%; height: 88%; max-width: none; top: 0; left: -2%; transform: none; object-fit: contain; object-position: center; }
  .frame-description { width: 38%; }
  .frame-description h3 { font-size: 70px; }
  .frame-description > p:not(.frame-category):not(.frame-local):not(.render-note) { font-size: 20px; }
  .frame-tabs button > span { font-size: 31px; }
  .frame-tabs small { font-size: 16px; }
  .system-rows article { grid-template-columns: 120px 1fr 1.4fr 25px; gap: 20px; }
  .system-rows h3 { font-size: 25px; }
  .core-list summary { gap: 12px; }
  .core-list summary > span { font-size: 30px; }
  .core-list summary > b { font-size: 16px; }
  .combat-layout { grid-template-columns: 1.25fr 1fr; }
  .combat-description h3 { font-size: 27px; }
}
@media (max-width: 760px) {
  :root { --read-body: 18px; --read-label: 16px; --chapter-size: 54px; }
  body { line-height: 1.65; }
  .masthead { height: 68px; padding: 0 18px; }
  .brand { font-size: 24px; gap: 7px; }
  .brand-project { font-size: 17px; }
  .language { font-size: 16px; }
  .header-tools .motion { min-width: 53px; font-size: 18px; gap: 4px; padding: 0 4px; }
  .motion .motion-state { font-size: 16px; }
  .header-tools .motion > span[aria-hidden] { display: none; }
  .header-tools { gap: 7px; }
  .section { padding-top: 60px; padding-bottom: 65px; }
  .section-top { margin-bottom: 30px; }
  .utility,
  .side-note,
  .hero-type .eyebrow,
  .hero-id,
  .hero-signature,
  .frame-counter,
  .frame-ghost,
  .capture-label,
  .gallery-grid small,
  .wide-shot figcaption span:last-child { display: none; }
  .hero { min-height: 880px; height: 100svh; max-height: none; }
  .hero-type { top: 110px; left: 26px; }
  .hero h1 { font-size: 27vw; margin-top: 0; }
  .hero-copy { left: 26px; bottom: 105px; width: calc(100% - 52px); max-width: none; }
  .hero-copy .hero-chinese,
  html[lang=en] .hero-copy .hero-chinese { font-size: 36px; max-width: none; line-height: 1.2; }
  .hero-description { font-size: 18px; margin: 15px 0 23px; line-height: 1.5; max-width: 480px; }
  .hero-mech.pose-art { width: 86%; height: 43%; right: -5%; top: 29%; object-fit: contain; object-position: center; }
  .hero-actions { gap: 22px; }
  .cut-button { font-size: 16px; min-height: 56px; padding: 12px 24px; gap: 20px; }
  .film-link { font-size: 16px; }
  .play-small { width: 31px; height: 31px; }
  .hero-foot { font-size: 16px; padding: 20px 25px; }
  .scroll-cue { font-size: 16px; gap: 8px; }
  .hero-foot .prototype { font-size: 16px; }
  .overview .chinese-title,
  html[lang=en] .overview .chinese-title { font-size: 60px; }
  .development .chinese-title,
  html[lang=en] .development .chinese-title { font-size: 49px; }
  .lead { font-size: 25px; }
  .project-facts { gap: 9px; }
  .project-facts > span { font-size: 16px; padding: 6px 8px; }
  .wide-shot figcaption { font-size: 16px; }
  .run-loop { gap: 28px; }
  .run-loop h3 { font-size: 24px; }
  .run-loop p { font-size: 18px; }
  .frames { height: auto; min-height: 0; }
  .frames > .section-top { margin-bottom: 20px; }
  .frames .display-title { font-size: 53px; }
  .frame-stage { height: 900px; min-height: 0; max-height: none; margin: 0; }
  .frame-stage[data-frame-index] #frame-image.pose-art { width: 100%; height: 52%; left: 0; top: 0; transform: none; object-fit: contain; object-position: center; }
  .frame-slash { left: 65%; height: 43%; top: 3%; }
  .frame-description { top: auto; bottom: 20px; left: 0; right: 0; width: 100%; }
  .frame-description h3 { font-size: 72px; margin: 12px 0; }
  .frame-local { font-size: 24px; margin-bottom: 15px; }
  .frame-description > p:not(.frame-category):not(.frame-local):not(.render-note) { font-size: 20px; max-width: none; line-height: 1.55; }
  .render-note { font-size: 16px; margin: 18px 0; }
  .underline-link { font-size: 18px; }
  .frame-tabs { overflow-x: auto; padding: 4px 8px 12px; gap: 14px; scrollbar-width: thin; }
  .frame-tabs button { flex: 0 0 150px; min-width: 150px; padding: 12px; }
  .frame-tabs small { font-size: 16px; }
  .frame-tabs button > span { font-size: 32px; }
  .frame-arrows button { width: 50px; height: 46px; }
  .combat-heading .display-title { font-size: 70px; }
  .combat-heading > p { font-size: 20px; }
  .combat-tabs { gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
  .combat-tabs button { flex: 0 0 126px; padding: 12px 10px; font-size: 30px; }
  .combat-tabs button span { font-size: 16px; }
  .combat-layout { grid-template-columns: 1fr; gap: 25px; }
  .combat-description h3 { font-size: 28px; }
  .combat-description li { font-size: 16px; padding: 6px 9px; }
  .systems-heading > p { font-size: 18px; }
  .system-rows article { grid-template-columns: 1fr 30px; gap: 13px; }
  .system-rows h3 { font-size: 27px; }
  .system-tag { font-size: 28px; }
  .growth-intro h3,
  .weapon-growth h3 { font-size: 30px; }
  .core-list summary > span { font-size: 29px; }
  .core-list summary > b { font-size: 16px; }
  .core-list summary { min-height: 86px; }
  .core-list details p { font-size: 18px; padding-right: 0; }
  .weapon-growth { padding: 25px 22px; }
  .weapon-growth b { font-size: 48px; }
  .backpack-line b { font-size: 36px; }
  .backpack-line small { font-size: 16px; }
  .route-heading .display-title { font-size: 60px; }
  .route-steps b { font-size: 28px; }
  .gallery-grid b { font-size: 24px; padding-right: 23px; }
  .dev-lead { font-size: 23px; }
  .specs > div { grid-template-columns: 80px 1fr; font-size: 18px; }
  .controls summary { font-size: 18px; }
  .controls dl > div { grid-template-columns: 110px 1fr; font-size: 16px; }
  .credits { font-size: 16px; }
  .footer { gap: 18px; }
  .footer > span { font-size: 16px; }
  .menu-dialog nav span { font-size: 37px; }
  .menu-dialog nav small { font-size: 16px; }
  .menu-dialog nav a { gap: 6px 15px; padding: 13px 0; flex-wrap: wrap; }
  .dialog-top { font-size: 16px; }
  .dialog-top button { font-size: 16px; }
  .media-caption p { font-size: 16px; }
  .lightbox-controls span { font-size: 16px; }
}
@media (max-width: 420px) {
  .brand { font-size: 23px; }
  .brand-project { font-size: 15px; }
  .hero { min-height: 900px; }
  .hero-actions { gap: 15px; }
  .cut-button { padding-left: 21px; padding-right: 21px; }
  .film-link { gap: 7px; font-size: 16px; }
  .scroll-cue { font-size: 16px; }
  .hero-foot .prototype { display: none; }
  .frame-stage { height: 920px; }
  .frames .display-title { font-size: 48px; }
  .frame-description h3 { font-size: 66px; }
  .core-list summary { grid-template-columns: 1fr 22px; }
  .core-list summary > b { grid-column: 1; }
  .core-list summary > i { grid-column: 2; grid-row: 1 / 3; }
  .menu-dialog nav span { font-size: 32px; }
  .menu-dialog nav small { font-size: 16px; }
}

.backpack-more{margin-top:45px;border-top:1px solid #c5cde2;border-bottom:1px solid #c5cde2}.backpack-more>summary{padding:24px 0;cursor:pointer;font-size:24px;font-weight:700}.backpack-more .backpack-line{margin-top:0;padding-bottom:25px}@media(max-width:760px){.backpack-more>summary{font-size:20px}}
