/* HAO788 homepage style — extracted verbatim from final supplied HTML. */
:root {
   --bg: #111718;
   --bg2: #161d1e;
   --panel: #1b2424;
   --panel2: #202b2a;
   --border: #37443d;
   --border-hi: #627260;
   --cream: #f1ead9;
   --muted: #a6b0a5;
   --muted2: #7e9184;
   --gold: #ffc878;
   --gold-dark: #b87b39;
   --teal: #74d7c5;
   --teal-dark: #317e76;
   --danger: #ec8979;
   --pixel: 'Pixelify Sans', 'Courier New', monospace;
   --tiny: 'Press Start 2P', 'Courier New', monospace;
   --body: 'DM Sans', Arial, sans-serif;
   --wrap: 1340px;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 100px; }
  body { margin: 0; color: var(--cream); background: var(--bg); font: 400 16px/1.7 var(--body); overflow-x: hidden; }
  button, a { -webkit-tap-highlight-color: transparent; }
  button { font: inherit; }
  a { color: inherit; text-decoration: none; }
  button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
  ::selection { color: #151d1a; background: var(--gold); }
  .screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; z-index: 100; top: -90px; left: 12px; padding: 10px 15px; color: #111; background: var(--gold); font-weight: 800; }
  .skip-link:focus { top: 10px; }
  .site-wrap { width: min(var(--wrap), calc(100% - 72px)); margin-inline: auto; }
  .site-bg { position: relative; isolation: isolate; }
  .site-bg::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(to right, #8ca49609 1px, transparent 1px), linear-gradient(to bottom, #8ca49609 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to bottom,#000 0%,#000 35%,transparent 75%); }
  .section-label, .micro, .eyebrow, .terminal, .panel-tag, .metric-key { font: 400 9px/1.8 var(--tiny); letter-spacing: .015em; text-transform: uppercase; }
  .section-label { color: var(--teal); }
  .pixel-diamond { display: inline-block; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); margin-right: 10px; box-shadow: 0 0 16px #ffc87880; }
  .shine { color: var(--gold); }
  .pixel-card { position: relative; border: 1px solid var(--border); background: var(--panel); box-shadow: 6px 6px 0 #090e0e; }
  .pixel-card::before, .pixel-card::after { content: ''; position: absolute; z-index: 1; width: 9px; height: 9px; pointer-events: none; background: var(--border-hi); }
  .pixel-card::before { left: -1px; top: -1px; }
  .pixel-card::after { right: -1px; bottom: -1px; }
  .btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 22px; font: 700 21px/1.1 var(--pixel); letter-spacing: .015em; border: 2px solid var(--gold-dark); cursor: pointer; transition: background .18s, transform .18s, box-shadow .18s; text-align: center; }
  .btn:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 #0a0e0e; }
  .btn:active { transform: translate(1px,1px); box-shadow: none; }
  .btn-main { color: #16201c; background: var(--gold); border-color: #ffe1a7; box-shadow: 4px 4px 0 var(--gold-dark); }
  .btn-main:hover { background: #ffe0a2; }
  .btn-alt { color: var(--cream); background: #202b28; border-color: #4d6256; }
  .btn-alt:hover { background: #2c3b34; }
  .btn-small { min-height: 38px; padding: 8px 12px; font-size: 16px; }
  .text-link { display: inline-flex; align-items: center; gap: 9px; font: 600 19px var(--pixel); color: var(--gold); border-bottom: 1px solid #9b7447; padding-bottom: 5px; }
  .text-link:hover { color: #ffdc9d; }
  .site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid #47544a; background: #111718ec; backdrop-filter: blur(18px); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 86px; }
  .brand { display: inline-flex; align-items: center; flex: none; }
  .brand img { display: block; width: auto; height: 53px; max-width: 170px; object-fit: contain; }
  .brand-name { font: 700 30px/1 var(--pixel); color: var(--gold); letter-spacing: .02em; }
  .brand img[hidden], .footer-brand img[hidden] { display:none; }
  .brand-name[hidden] { display:none; }
  .top-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 37px); }
  .top-nav a { font: 600 17px var(--pixel); white-space: nowrap; color: #c6cabe; }
  .top-nav a:hover { color: var(--gold); }
  .top-nav .nav-play { border: 1px solid #b38b55; color: var(--gold); background: #2a2923; padding: 9px 15px; }
  .menu-toggle { display: none; border: 1px solid var(--border-hi); color: var(--cream); background: #22302a; padding: 9px 12px; font: 700 19px var(--pixel); cursor: pointer; }
  .top-ribbon { border-bottom: 1px solid #344239; background: #1d2623; }
  .ribbon-inner { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #bfc9b7; }
  .ribbon-inner span { font: 400 9px/1.8 var(--tiny); }
  .signal { display: inline-block; width: 7px; height: 7px; background: var(--teal); margin-right: 10px; box-shadow: 0 0 10px #74d7c575; }
  .hero { padding: clamp(62px, 7vw, 105px) 0 88px; overflow: hidden; }
  .hero-layout { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: center; gap: clamp(30px, 5vw, 82px); }
  .eyebrow { color: var(--teal); display: flex; align-items: center; gap: 0; margin: 0 0 25px; }
  h1,h2,h3,h4,p { margin-top: 0; }
  .hero h1 { max-width: 680px; margin: 0 0 25px; font: 700 clamp(39px, 5.1vw, 75px)/1.04 var(--pixel); letter-spacing: -.023em; text-wrap: balance; overflow-wrap: anywhere; }
  .hero h1::first-line { color: var(--gold); }
  .hero-lead { max-width: 600px; font-size: clamp(16px, 1.28vw, 18px); color: #bdc5bb; line-height: 1.85; margin-bottom: 31px; }
  .hero-lead strong { color: var(--cream); }
  .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; }
  .hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 24px 0 0; color: #99a99a; font: 600 13px var(--body); }
  .hero-trust span::before { content: '✧'; color: var(--teal); margin-right: 7px; }
  .hero-scene { position: relative; padding: 12px; border: 1px solid #596e5c; background: #1a2624; box-shadow: 13px 13px 0 #080f10, 0 0 70px #ad844516; }
  .hero-scene::before { content: ''; position: absolute; z-index: 2; inset: -7px auto auto -7px; width: 18px; height: 18px; background: var(--gold); box-shadow: 9px 9px 0 #1a2624; }
  .scene-top, .scene-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #111b1b; padding: 10px 13px; font: 400 9px/1.8 var(--tiny); color: var(--teal); }
  .scene-top .scene-location { color: var(--gold); }
  .scene-art { position: relative; overflow: hidden; aspect-ratio: 900/680; background: radial-gradient(ellipse at 55% 45%,#4d4436 0%,#1b2625 52%,#111b1b 100%); }
  .scene-art::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom,transparent 0px,transparent 3px,#0c12121a 4px); }
  .scene-art img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
  .scene-sticker { position: absolute; right: 16px; bottom: 18px; border: 1px solid #96825c; background: #192322eb; padding: 11px 13px; min-width: 166px; color: var(--gold); font: 400 9px/1.8 var(--tiny); box-shadow: 5px 5px 0 #080e0e; }
  .scene-sticker b { display: block; color: var(--cream); margin-top: 6px; }
  .scene-bottom { color: #9eada0; }
  .scene-bottom .ready { color: var(--teal); }
  .metrics-bar { border-top: 1px solid #35443b; border-bottom: 1px solid #35443b; background: #18211f; }
  .metrics-inner { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
  .metric { padding: 25px 30px; border-right: 1px solid #35443b; }
  .metric:first-child { border-left: 1px solid #35443b; }
  .metric-value { display: block; font: 700 35px/1 var(--pixel); color: var(--gold); }
  .metric-key { display: block; color: #b9c3b8; margin-top: 7px; font-size: 8px; }
  section.section { padding: 105px 0; }
  .heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
  .heading-row h2, .section-heading { font: 700 clamp(38px, 4.2vw, 61px)/1.05 var(--pixel); letter-spacing: -.01em; margin: 9px 0 0; }
  .heading-row .heading-desc { max-width: 390px; color: var(--muted); margin: 0 0 5px; }
  .accent { color: var(--gold); }
  .eyedot { color: var(--teal); }
  .game-section { position: relative; background: linear-gradient(180deg, #1a2523 0%, #151e1d 100%); border-top: 1px solid #39473e; border-bottom: 1px solid #39473e; }
  .game-workstation { display: grid; grid-template-columns: 198px minmax(0,1fr) 228px; gap: 13px; align-items: start; }
  .game-sidebar { background: #172120; border: 1px solid #435447; min-width: 0; }
  .box-head { background: #26332d; border-bottom: 1px solid #48584b; padding: 13px 13px 12px; color: var(--gold); font: 400 9px/1.75 var(--tiny); }
  .side-note { color: #97a89c; padding: 12px 13px 0; margin: 0; font-size: 12px; }
  .level-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); padding: 12px; gap: 8px; }
  .level-button { min-width: 0; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; color: #b4c4b5; background: #26342e; border: 1px solid #4d6152; font: 700 20px var(--pixel); cursor: pointer; transition: transform .15s, background .15s; }
  .level-button:hover:not(:disabled) { transform: translateY(-2px); background: #35483d; }
  .level-button.active { border: 2px solid var(--gold); color: var(--gold); background: #40392b; }
  .level-button:disabled { opacity: .4; cursor: not-allowed; }
  .level-button small { font: 9px/1 var(--pixel); letter-spacing: -.08em; white-space: nowrap; color: var(--gold); }
  .side-foot { border-top: 1px solid #39483d; color: #84988a; font-size: 12px; padding: 12px 13px; line-height: 1.5; }
  .game-main { min-width: 0; border: 1px solid #526551; background: #222e2b; box-shadow: 7px 7px 0 #0d1413; position: relative; }
  .console-header { padding: 20px 23px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #25342e; border-bottom: 1px solid #465d4c; }
  .console-header .micro { color: var(--teal); }
  .console-header h3 { font: 700 clamp(24px,2.6vw,36px)/1.1 var(--pixel); margin: 5px 0 0; }
  .chapter-counter { text-align: right; flex: none; }
  .chapter-counter strong { display: block; color: var(--gold); font: 700 28px/1 var(--pixel); }
  .chapter-counter span { color: var(--muted); font: 400 8px/1.8 var(--tiny); }
  .board-zone { padding: 22px 18px 14px; }
  .board-panel { position: relative; width: min(100%, 448px); margin-inline: auto; padding: 11px; border: 4px solid #607a63; background: #101917; box-shadow: inset 0 0 0 3px #293e33, 5px 5px 0 #0a100e; }
  .board-panel::before, .board-panel::after { content: ''; position: absolute; width: 14px; height: 14px; background: var(--gold); z-index: 3; }
  .board-panel::before { top: -5px; left: -5px; }
  .board-panel::after { right: -5px; bottom: -5px; }
  .board-meta { width: min(100%, 448px); display: flex; justify-content: space-between; gap: 12px; margin: 0 auto 14px; color: #afc7b4; font: 400 9px/1.6 var(--tiny); }
  .board-meta .live { color: var(--teal); }
  .game-board { display: grid; gap: 4px; }
  .tile { position: relative; display: block; aspect-ratio: 1/1; min-width: 0; padding: 0; border: 2px solid #475a4c; background: #24352e; color: #d7dccc; cursor: pointer; touch-action: manipulation; overflow: hidden; image-rendering: pixelated; transition: border-color .12s, filter .12s; }
  .tile::after { content: ''; pointer-events: none; position: absolute; inset: 3px; border: 1px solid #ffffff0a; }
  .tile:not(:disabled):hover { border-color: var(--gold); filter: brightness(1.12); }
  .tile.selected { outline: 2px solid var(--gold); outline-offset: -3px; z-index: 2; }
  .tile.hinted { animation: hintFlash .75s steps(2,end) 3; }
  .tile.route-amber { background: #3b342a; }
  .tile.route-teal { background: #223d38; }
  .tile.kind-source { border-color: #a88151; }
  .tile.kind-target { border-color: #739784; }
  .tile.kind-gate { background: #3b2d2b; }
  .tile.kind-gate.gate-open { background: #283b33; border-color: #74d7c5; }
  .tile.kind-relay { border-color: #568b84; }
  .tile.kind-empty { background: #111d1a; border: 2px dashed #53685a; }
  .tile.kind-empty::before { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; color: #3d594a; font: 700 30px var(--pixel); }
  .tile svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .tile .tile-label { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%,-50%); min-width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #6b856d; background: #18241ff0; color: #fff0c8; font: 700 13px var(--pixel); }
  .tile.kind-source .tile-label { background: #5c3e27; border-color: var(--gold); }
  .tile.kind-target .tile-label { background: #284539; border-color: var(--teal); }
  .tile.kind-relay .tile-label { background: #234a47; border-color: var(--teal); }
  .tile.kind-gate .tile-label { background: #573532; border-color: #d99686; }
  .tile.kind-gate.gate-open .tile-label { background: #205449; border-color: var(--teal); }
  .tile .tile-corner { position: absolute; left: 4px; top: 3px; font: 7px var(--tiny); color: #a7bea968; }
  .board-help { width: min(100%,448px); color: var(--muted); text-align: center; margin: 13px auto 0; font-size: 13px; min-height: 25px; }
  .board-help::before { content: '✦ '; color: var(--gold); }
  .game-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 11px; border-top: 1px solid #495849; padding: 14px 17px; background: #1c2824; }
  .mode-group, .tool-group { display: flex; gap: 7px; flex-wrap: wrap; }
  .game-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 8px 10px; border: 1px solid #60745d; background: #2b392f; color: #d4ddce; font: 700 16px/1 var(--pixel); cursor: pointer; }
  .game-btn:hover { background: #394e3e; }
  .game-btn.active { color: #19251c; border-color: var(--gold); background: var(--gold); }
  .game-btn:disabled { cursor: not-allowed; opacity: .4; }
  .game-notice { min-height: 48px; padding: 10px 18px; background: #111a17; color: #afc7ae; border-top: 1px solid #34473a; font: 600 13px/1.7 var(--body); }
  .game-notice[data-tone="good"] { color: var(--teal); }
  .game-notice[data-tone="warn"] { color: var(--gold); }
  .game-notice[data-tone="bad"] { color: var(--danger); }
  .game-overlay { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 17px; background: #0b1616ed; backdrop-filter: blur(5px); }
  .game-overlay[hidden] { display: none; }
  .overlay-inner { max-width: 380px; width: 100%; border: 2px solid var(--gold); background: #202e29; box-shadow: 8px 8px 0 #090f0e; text-align: center; padding: 25px 21px; }
  .overlay-inner h3 { font: 700 38px/1.05 var(--pixel); color: var(--gold); margin: 13px 0; }
  .overlay-inner p { color: var(--muted); margin-bottom: 12px; }
  .overlay-stars { color: var(--gold); font: 700 38px/1 var(--pixel); letter-spacing: .2em; margin: 8px 0 19px; }
  .overlay-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
  .info-content { padding: 15px 13px; }
  .info-block { border-bottom: 1px solid #39483d; padding: 0 0 15px; margin-bottom: 15px; }
  .info-block:last-child { border-bottom: 0; margin: 0; padding: 0; }
  .info-block .micro { color: var(--teal); font-size: 8px; }
  .info-block h4 { font: 700 24px/1.15 var(--pixel); color: var(--cream); margin: 9px 0; }
  .info-block p { color: #a4b4a5; font-size: 12px; line-height: 1.65; margin: 0; }
  .energy-item { display: flex; align-items: center; gap: 8px; justify-content: space-between; font-size: 12px; margin: 12px 0; }
  .energy-item .id { display: flex; align-items: center; gap: 7px; }
  .energy-item .swatch { width: 10px; height: 10px; display: inline-block; background: var(--gold); }
  .energy-item .swatch.teal { background: var(--teal); }
  .energy-item .swatch.gate { background: #b88c7c; }
  .energy-item b { color: var(--muted); font-weight: 600; font-size: 11px; }
  .energy-item b.on { color: var(--teal); }
  .stat-pair { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 7px 0; font-size: 12px; color: var(--muted); }
  .stat-pair strong { font: 700 23px/1 var(--pixel); color: var(--cream); }
  .game-summary { margin-top: 25px; color: #9fac9c; font-size: 13px; text-align: center; }
  .game-summary strong { color: var(--gold); }
  .mechanics-section { background: #111918; }
  .mechanics-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
  .mechanic { padding: 27px; min-height: 280px; background: linear-gradient(180deg,#222d28,#19231f); }
  .mechanic-visual { width: 100%; height: 110px; display: grid; place-items: center; position: relative; margin-bottom: 23px; background: repeating-linear-gradient(90deg,transparent 0,transparent 23px,#69846b14 24px),repeating-linear-gradient(0deg,transparent 0,transparent 23px,#69846b14 24px); border: 1px solid #344438; }
  .mechanic-visual .icon-pixel { font: 700 69px/1 var(--pixel); color: var(--gold); text-shadow: 6px 6px 0 #8e5d2c; }
  .mechanic:nth-child(2) .icon-pixel { color: var(--teal); text-shadow: 6px 6px 0 #29665d; }
  .mechanic h3 { font: 700 30px/1.15 var(--pixel); margin: 12px 0; }
  .mechanic p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
  .story-section { border-top: 1px solid #36423a; border-bottom: 1px solid #36423a; background: radial-gradient(ellipse at 90% 20%,#433d2a36,transparent 45%),#1b2420; }
  .story-layout { display: grid; grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr); gap: clamp(35px,6vw,86px); align-items: start; }
  .story-layout > * { min-width: 0; }
  .story-picture { position: relative; max-width: 100%; border: 1px solid #7b7c59; padding: 9px; background: #111a17; box-shadow: 11px 11px 0 #0b110f; }
  .story-picture img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; image-rendering: pixelated; background: radial-gradient(circle,#645a3b,#1e2925 65%); }
  .picture-id { font: 400 9px/1.8 var(--tiny); color: var(--gold); padding: 13px 8px 3px; }
  .story-copy h2 { overflow-wrap: break-word; font: 700 clamp(40px,4vw,62px)/1.07 var(--pixel); margin: 14px 0 28px; }
  .story-copy p { color: #b9c4b7; font-size: 15px; line-height: 1.9; margin-bottom: 16px; }
  .story-copy p strong { color: #f0e6c9; }
  .chapter-section { background: #111918; }
  .chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 19px; }
  .chapter { padding: 24px; min-height: 244px; background: #1c2923; }
  .chapter-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; color: var(--gold); }
  .chapter-num { font: 700 64px/1 var(--pixel); opacity: .7; }
  .chapter-count { color: var(--teal); font: 400 9px/1.6 var(--tiny); }
  .chapter h3 { font: 700 31px/1.08 var(--pixel); margin: 22px 0 10px; }
  .chapter p { margin: 0; color: var(--muted); font-size: 14px; }
  .faq-section { border-top: 1px solid #334238; background: #17211e; }
  .faq-layout { display: grid; grid-template-columns: .37fr .63fr; gap: 40px; align-items: start; }
  .faq-layout h2 { font: 700 clamp(38px,4.1vw,59px)/1.06 var(--pixel); margin: 12px 0 15px; }
  .faq-layout aside p { color: var(--muted); max-width: 300px; }
  .faq-list { border-top: 1px solid #586e5b; }
  .faq-item { border-bottom: 1px solid #405143; background: #202c26; }
  .faq-item:nth-child(even) { background: #1a2621; }
  .faq-item summary { overflow-wrap: anywhere; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; padding: 19px 20px; font: 700 23px/1.22 var(--pixel); }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: '+'; font: 700 30px/1 var(--pixel); color: var(--gold); }
  .faq-item[open] summary::after { content: '−'; }
  .faq-item p { margin: 0; color: #b0c0b1; padding: 0 45px 24px 20px; font-size: 14px; line-height: 1.85; }
  .final-cta { border-top: 1px solid #485b48; border-bottom: 1px solid #485b48; background: linear-gradient(100deg,#2d3426,#21372f 60%,#1f2d28); }
  .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 65px; }
  .cta-inner h2 { font: 700 clamp(34px,4vw,56px)/1 var(--pixel); margin: 12px 0 8px; }
  .cta-inner p { margin: 0; color: var(--muted); }
  .site-footer { padding: 55px 0 24px; background: #0d1413; }
  .footer-grid { display: flex; justify-content: space-between; gap: 35px; }
  .footer-identity { max-width: 470px; }
  .footer-brand img { display: block; width: 205px; max-width: 100%; height: auto; object-fit: contain; }
  .footer-identity p { color: #a4b3a7; max-width: 440px; margin: 18px 0; font-size: 14px; }
  .footer-nav { display: flex; flex-wrap: wrap; align-content: start; justify-content: end; gap: 16px 25px; }
  .footer-nav a { font: 600 18px var(--pixel); color: #c3d0c3; }
  .footer-nav a:hover { color: var(--gold); }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 46px; padding-top: 23px; border-top: 1px solid #324137; color: #90a096; font-size: 12px; }
  .footer-bottom a { font: 400 10px/1.6 var(--pixel); color: var(--gold); }
  @keyframes hintFlash { 0%,100% { box-shadow: inset 0 0 0 0 transparent; } 50% { box-shadow: inset 0 0 0 6px var(--gold); } }
  @media (max-width: 1130px) {
   .game-workstation { grid-template-columns: 172px minmax(0,1fr); }
   .info-sidebar { grid-column: 1 / -1; }
   .info-sidebar .info-content { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
   .info-sidebar .info-block { border: 0; border-right: 1px solid #39483d; padding: 0 15px 0 0; margin: 0; }
   .info-sidebar .info-block:last-child { border: 0; }
   .hero h1 { font-size: clamp(38px,4.9vw,60px); }
  }

  @media (max-width: 800px) {
   .site-wrap { width: min(100% - 40px,var(--wrap)); }
   .header-inner { min-height: 70px; }
   .brand img { height: 44px; }
   .menu-toggle { display: inline-flex; }
   .top-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: #111b18; border-bottom: 1px solid #536752; }
   .top-nav.open { display: flex; }
   .top-nav a { padding: 10px; }
   .hero { padding: 60px 0 70px; }
   .hero-layout { grid-template-columns: 1fr; }
   .hero h1 { font-size: clamp(45px,8vw,71px); max-width: 750px; }
   .hero-scene { max-width: 670px; width: 100%; margin-inline: auto; }
   .metrics-inner { grid-template-columns: repeat(2,1fr); }
   .metric { border-bottom: 1px solid #344238; }
   .metric:nth-child(3) { border-left: 1px solid #35443b; }
   .heading-row { align-items: start; flex-direction: column; }
   .story-layout, .faq-layout { grid-template-columns: minmax(0,1fr); }
   .story-picture { width: min(100%,450px); }
   .mechanics-grid, .chapter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
   .faq-layout { gap: 25px; }
   .cta-inner { flex-direction: column; align-items: start; }
  }
  @media (max-width: 600px) {
   .site-wrap { width: min(100% - 30px,var(--wrap)); }
   .ribbon-inner .ribbon-right { display: none; }
   .ribbon-inner span { font-size: 8px; }
   .hero h1 { font-size: clamp(40px, 10.2vw, 59px); }
   .hero-lead { font-size: 15px; }
   .hero-actions .btn { width: 100%; }
   .hero-actions .text-link { justify-content: center; width: 100%; }
   .hero-trust { gap: 10px 15px; }
   .scene-top, .scene-bottom, .scene-sticker { font-size: 7px; }
   .scene-sticker { bottom: 10px; right: 10px; min-width: auto; }
   .metric { padding: 19px 14px; }
   .metric-key { font-size: 7px; }
   section.section { padding: 71px 0; }
   .heading-row h2, .section-heading { font-size: 43px; }
   .game-workstation { grid-template-columns: 1fr; }
   .level-list { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; }
   .level-button { font-size: 17px; }
   .level-button small { font-size: 8px; }
   .side-note, .side-foot { display: none; }
   .info-sidebar { grid-column: auto; }
   .info-sidebar .info-content { grid-template-columns: repeat(2,minmax(0,1fr)); }
   .info-sidebar .info-block:nth-child(2) { border: 0; }
   .console-header { padding: 15px; }
   .console-header h3 { font-size: 25px; }
   .chapter-counter span { font-size: 7px; }
   .board-zone { padding: 16px 10px 12px; }
   .board-panel { padding: 7px; }
   .game-board { gap: 3px; }
   .tile { border-width: 1px; }
   .tile .tile-label { min-width: 18px; height: 18px; font-size: 11px; }
   .board-meta { font-size: 7px; }
   .game-actions { padding: 12px; }
   .mode-group, .tool-group { width: 100%; }
   .mode-group .game-btn { flex: 1; }
   .tool-group .game-btn { flex: 1; padding: 8px 5px; }
   .mechanics-grid, .chapter-grid { grid-template-columns: 1fr; }
   .mechanic { min-height: 0; }
   .footer-grid { flex-direction: column; }
   .footer-nav { justify-content: start; }
   .footer-bottom { flex-direction: column; align-items: start; }
  }
  @media (prefers-reduced-motion: reduce) {
   html { scroll-behavior: auto; }
   *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  }
  /* FIX STORY IMAGE 600x600 */
.story-layout {
 grid-template-columns: 600px minmax(0, 1fr);
 gap: 40px;
}

.story-picture {
 width: 600px;
 max-width: 100%;
 box-sizing: border-box;
}

.story-picture img {
 display: block;
 width: 100%;
 aspect-ratio: 1 / 1;
 height: auto;
 object-fit: cover;
}

@media (max-width: 1100px) {
 .story-layout {
  grid-template-columns: minmax(0, 1fr);
 }

 .story-picture {
  width: min(600px, 100%);
 }
}

/* 1.2.0: reusable navigation and related-page cards */
.top-nav a[aria-current="page"]{color:var(--gold)}
.explore-section{background:#111918;border-top:1px solid #36463d}
.explore-section .hao-related-heading{margin-bottom:36px}
.explore-section .hao-related-heading h2{font:700 clamp(38px,4.2vw,61px)/1.05 var(--pixel);letter-spacing:-.01em;margin:12px 0 15px}
.explore-section .hao-related-heading p{color:var(--muted);max-width:580px;margin:0}

.explore-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.explore-card{display:flex;flex-direction:column;gap:12px;min-height:210px;padding:23px;transition:transform .2s,border-color .2s}
.explore-card:hover{border-color:var(--gold-dark);transform:translateY(-3px);text-decoration:none}
.explore-index{color:var(--teal);font:400 8px/1.7 var(--tiny)}
.explore-card strong{color:var(--cream);font:700 29px/1.05 var(--pixel)}
.explore-desc{color:var(--muted);font:400 13px/1.65 var(--body)}
.explore-arrow{color:var(--gold);margin-top:auto;font:700 24px/1 var(--pixel);align-self:flex-end}
@media(max-width:1200px) and (min-width:801px){
  .menu-toggle{display:inline-flex}
  .top-nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;padding:10px max(36px,calc((100vw - 1120px)/2)) 20px;background:#111b18;border-bottom:1px solid #536752;box-shadow:0 18px 28px #0008}
  .top-nav.open{display:flex}
  .top-nav a{padding:10px 12px}
}
@media(max-width:950px){.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.explore-grid{grid-template-columns:1fr}.explore-card{min-height:0}.explore-card strong{font-size:26px}}
