/* Playroom Games Ltd: playroomgames.site */

:root {
  --paper: #efefeb;
  --paper-2: #e5e5e0;
  --ink: #111215;
  --ink-2: #2a2c31;
  --mute: #62666e;
  --rule: #cdcdc6;
  --orange: #ff5a1f;
  --cobalt: #2446f5;

  --il-bg: #09101b;
  --il-panel: #0e1726;
  --il-panel-2: #121d30;
  --il-line: #1f2c42;
  --il-amber: #f2a23a;
  --il-green: #3cbf6e;
  --il-red: #e5493d;
  --il-text: #e6eaf1;
  --il-mute: #8591a7;

  --th-bg: #0d2317;
  --th-panel: #133020;
  --th-lime: #a4ee4b;
  --th-sun: #ffd43b;
  --th-text: #eaf5e3;
  --th-mute: #a3bda0;

  --f-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-game: "Big Shoulders Display", "Archivo", Impact, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-head.scrolled { border-bottom-color: var(--rule); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.wordmark { font-size: 20px; line-height: 1; letter-spacing: -0.02em; font-variation-settings: "wdth" 118; white-space: nowrap; }
.wordmark b { font-weight: 800; }
.wordmark span { font-weight: 300; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 12px; border-radius: 2px;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--paper-2); }
.nav a.nav-cta { background: var(--ink); color: var(--paper); margin-left: 8px; }
.nav a.nav-cta:hover { background: var(--orange); color: var(--ink); }
.menu-btn {
  display: none; font: 600 14px/1 var(--f-mono); background: none; border: 1px solid var(--ink);
  color: var(--ink); padding: 10px 14px; border-radius: 2px; cursor: pointer;
}

/* ---------- mark (logo) ---------- */
.mark .pc-bar { fill: var(--ink); }
.mark .pc-bowl { fill: var(--orange); }
.mark .pc-ball circle { fill: var(--cobalt); }
.mark .pc-ball path { stroke: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(17,18,21,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,18,21,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.eyebrow { font: 500 13px/1.4 var(--f-mono); color: var(--mute); display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.hero h1 {
  font-size: clamp(46px, 8.4vw, 128px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-variation-settings: "wdth" 112;
}
.hero h1 .l2 { display: block; font-weight: 200; font-style: italic; letter-spacing: -0.05em; }
.hero h1 .l2 i { font-style: italic; font-weight: 800; color: var(--orange); }
.hero .lede { max-width: 34em; margin-top: 32px; font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-weight: 600; font-size: 16px; padding: 16px 22px; border-radius: 2px;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--orange); color: var(--ink); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link-u { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; transition: background-size .3s var(--ease); }
.link-u:hover { background-size: 40% 2px; }

.hero-mark { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; }
.hero-mark svg { width: 100%; height: 100%; overflow: visible; }
.hero-mark .shadow { fill: rgba(17,18,21,.12); }
.hero-mark .pc-bar, .hero-mark .pc-bowl, .hero-mark .pc-ball { transform-box: fill-box; transform-origin: 50% 100%; }
.hero-mark .pc-ball { transform-origin: 50% 50%; }
.js .hero-mark .pc-bar { animation: drop .9s var(--ease) .15s both; }
.js .hero-mark .pc-bowl { animation: drop .9s var(--ease) .38s both; }
.js .hero-mark .pc-ball { animation: roll 1.3s var(--ease) .7s both; }
.js .hero-mark .shadow { animation: fadein .6s ease .2s both; }
.hero-mark:hover .pc-ball { animation: hop .7s var(--ease); }
@keyframes drop {
  0% { transform: translateY(-140%); opacity: 0; }
  55% { transform: translateY(4%); opacity: 1; }
  75% { transform: translateY(-3%) scaleY(1.02); }
  100% { transform: none; opacity: 1; }
}
@keyframes roll { 0% { transform: translateX(260%) rotate(420deg); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes hop { 0%,100% { transform: none; } 40% { transform: translateY(-38%) rotate(-40deg); } 70% { transform: translateY(0) rotate(-40deg) scale(1.06, .94); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.hero-mark figcaption { position: absolute; left: 0; bottom: -4px; font: 12px/1.4 var(--f-mono); color: var(--mute); }

.hero-facts { position: relative; margin-top: clamp(48px, 7vw, 96px); }
.hero-facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.hero-facts dl > div { padding: 18px 20px 26px 0; }
.hero-facts dl > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.hero-facts dt { font: 500 12px/1.4 var(--f-mono); color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.hero-facts dd { margin-top: 6px; font-weight: 600; font-size: 17px; }

/* ---------- ticker ---------- */
.ticker { background: var(--il-bg); color: var(--il-text); border-bottom: 1px solid var(--il-line); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: tick 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: inline-flex; }
.tk { font: 500 13px/1 var(--f-mono); padding: 15px 22px; border-right: 1px solid var(--il-line); display: inline-flex; gap: 10px; align-items: baseline; }
.tk b { font-weight: 500; color: var(--il-mute); letter-spacing: .04em; }
.tk .p { color: var(--il-text); font-variant-numeric: tabular-nums; }
.tk .d { font-variant-numeric: tabular-nums; }
.tk .d.up { color: var(--il-green); }
.tk .d.dn { color: var(--il-red); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font: 500 13px/1.4 var(--f-mono); padding-bottom: 18px; border-bottom: 1px solid currentColor; }
.sec-head .idx { color: var(--orange); }
.sec-head .status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.sec-head .status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }

/* ---------- Iron & Ledger ---------- */
.il { background: var(--il-bg); color: var(--il-text); padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 9vw, 128px); position: relative; overflow: hidden; }
.il .sec-head { border-color: var(--il-line); color: var(--il-mute); }
.il .sec-head .idx { color: var(--il-amber); }
.il .sec-head .status { color: var(--il-amber); }
.il-title {
  font-family: var(--f-game); font-weight: 900; text-transform: uppercase;
  font-size: clamp(76px, 15.5vw, 236px); line-height: .82; letter-spacing: -0.01em;
  margin-top: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .12em;
}
.il-title em { font-style: normal; color: var(--il-amber); font-weight: 700; font-size: .72em; }
.il-intro { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 48px; margin-top: clamp(28px, 4vw, 44px); align-items: start; }
.il-genre { font: 500 14px/1.5 var(--f-mono); color: var(--il-amber); padding-top: 6px; }
.il-lede { font-size: clamp(19px, 1.9vw, 26px); line-height: 1.45; font-weight: 300; color: var(--il-text); }
.il-lede strong { font-weight: 600; }

.il-map { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.il-map .frame { position: relative; max-width: 1600px; margin-inline: auto; }
.il-map .frame { aspect-ratio: 1546 / 552; overflow: hidden; }
.il-map .pan { position: absolute; top: 0; left: 0; height: 100%; aspect-ratio: 1546 / 552; will-change: transform; }
.il-map img { width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%); mask-composite: intersect; }
.il-map figcaption { margin-top: 18px; font: 13px/1.5 var(--f-mono); color: var(--il-mute); display: flex; gap: 14px; }
.il-map figcaption b { color: var(--il-amber); font-weight: 500; flex: none; }

.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--il-line); border: 1px solid var(--il-line); margin-top: clamp(48px, 7vw, 96px); }
.pillar { background: var(--il-bg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.pillar .no { font: 500 13px/1 var(--f-mono); color: var(--il-amber); }
.pillar h3 { font-family: var(--f-game); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3vw, 42px); line-height: .95; letter-spacing: .005em; }
.pillar > p { color: #c3cad6; font-size: 16px; max-width: 36em; }
.pillar .panel { margin-top: 6px; }

.panel { background: var(--il-panel); border: 1px solid var(--il-line); border-radius: 3px; font-family: var(--f-mono); font-size: 13px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--il-line); color: var(--il-mute); text-transform: uppercase; letter-spacing: .05em; font-size: 11.5px; }
.chip { font-size: 11px; padding: 4px 8px; border-radius: 2px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.chip.on { background: color-mix(in srgb, var(--il-green) 18%, transparent); color: var(--il-green); border: 1px solid color-mix(in srgb, var(--il-green) 45%, transparent); }
.chip.amber { background: color-mix(in srgb, var(--il-amber) 16%, transparent); color: var(--il-amber); border: 1px solid color-mix(in srgb, var(--il-amber) 40%, transparent); }

.ltable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ltable th { text-align: right; font-weight: 400; color: var(--il-mute); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 9px 14px 7px; }
.ltable th:first-child, .ltable td:first-child { text-align: left; }
.ltable td { text-align: right; padding: 7px 14px; border-top: 1px solid color-mix(in srgb, var(--il-line) 70%, transparent); color: var(--il-text); }
.ltable td.sur { color: var(--il-amber); }
.ltable td.flat { color: var(--il-mute); }

.counter { padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.counter svg { width: 100%; max-width: 380px; margin-inline: auto; height: auto; overflow: visible; }
.counter .node rect { fill: var(--il-panel-2); stroke: var(--il-line); }
.counter .node text { fill: var(--il-text); font: 600 12px var(--f-mono); letter-spacing: .06em; }
.counter .edge { stroke: var(--il-amber); stroke-width: 1.5; fill: none; }
.counter .edge-l { fill: var(--il-mute); font: 11px var(--f-mono); }
.counter .ah { fill: var(--il-amber); }
.stances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stance { border: 1px solid var(--il-line); border-radius: 2px; padding: 10px; }
.stance b { display: block; color: var(--il-amber); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.stance span { display: block; margin-top: 4px; color: var(--il-mute); font-size: 11.5px; line-height: 1.4; }
.counter .foot { color: var(--il-mute); font-size: 11.5px; border-top: 1px solid var(--il-line); padding-top: 10px; }

.book { display: grid; grid-template-columns: 1fr; }
.book .side { padding: 6px 0; }
.book .lbl { padding: 6px 14px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.book .sell .lbl { color: var(--il-red); }
.book .buy .lbl { color: var(--il-green); border-top: 1px solid var(--il-line); padding-top: 10px; }
.lvl { position: relative; display: flex; justify-content: space-between; padding: 4px 14px; font-variant-numeric: tabular-nums; }
.lvl::before { content: ""; position: absolute; right: 0; top: 2px; bottom: 2px; width: var(--w, 50%); transition: width .8s var(--ease); }
.sell .lvl::before { background: color-mix(in srgb, var(--il-red) 17%, transparent); }
.buy .lvl::before { background: color-mix(in srgb, var(--il-green) 17%, transparent); }
.lvl span { position: relative; }
.sell .lvl span:first-child { color: #ff7a6e; }
.buy .lvl span:first-child { color: #5fd88b; }
.book .spread { display: flex; justify-content: space-between; padding: 8px 14px; border-top: 1px solid var(--il-line); border-bottom: 1px solid var(--il-line); color: var(--il-mute); font-size: 11.5px; }
.flash { animation: flash .9s ease; }
@keyframes flash { 0% { background: color-mix(in srgb, var(--il-amber) 30%, transparent); } 100% { background: transparent; } }

.roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.unit { padding: 14px; }
.unit + .unit { border-left: 1px solid var(--il-line); }
.unit b { display: block; font-family: var(--f-game); font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: var(--il-text); }
.unit ul { margin-top: 8px; display: grid; gap: 3px; color: var(--il-mute); font-size: 12px; }
.unit ul li::before { content: "+ "; color: var(--il-amber); }
.unit .btnx { margin-top: 12px; display: block; text-align: center; padding: 7px 0; border-radius: 2px; background: color-mix(in srgb, var(--il-green) 22%, transparent); border: 1px solid color-mix(in srgb, var(--il-green) 45%, transparent); color: #7fe0a3; font-size: 12px; }

.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.rule { border-left: 3px solid var(--il-amber); padding: 4px 0 4px 20px; }
.rule .mono { font-size: 12px; color: var(--il-amber); text-transform: uppercase; letter-spacing: .06em; }
.rule p { margin-top: 8px; color: #c3cad6; font-size: 16px; }

.il-foot { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; border-top: 1px solid var(--il-line); padding-top: 28px; }
.store-soon { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--il-line); border-radius: 10px; padding: 10px 18px 10px 14px; }
.store-soon svg { width: 26px; height: 26px; fill: var(--il-text); }
.store-soon small { display: block; font: 11px/1.2 var(--f-mono); color: var(--il-mute); text-transform: uppercase; letter-spacing: .06em; }
.store-soon strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; }
.il-foot p { color: var(--il-mute); font-size: 15px; }
.il-foot a { color: var(--il-text); }

/* ---------- TowerHop ---------- */
.th { background: var(--th-bg); color: var(--th-text); padding: clamp(56px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.th::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(164,238,75,.16), transparent 62%); pointer-events: none; }
.th .sec-head { color: var(--th-mute); border-color: rgba(163,189,160,.3); }
.th .sec-head .idx { color: var(--th-lime); }
.th .sec-head .status { color: var(--th-lime); }
.th-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(32px, 5vw, 56px); }
.th h2 { font-size: clamp(56px, 7.2vw, 104px); line-height: .88; font-weight: 900; letter-spacing: -0.05em; font-variation-settings: "wdth" 110; color: var(--th-lime); }
.th h2 span { color: var(--th-sun); }
.th-genre { margin-top: 16px; font: 500 14px/1.5 var(--f-mono); color: var(--th-sun); }
.th-lede { margin-top: 24px; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; font-weight: 300; max-width: 30em; }
.th-feats { margin-top: 32px; border-top: 1px solid rgba(163,189,160,.25); }
.th-feats li { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid rgba(163,189,160,.25); font-size: 16px; }
.th-feats li span { font: 500 13px/1.6 var(--f-mono); color: var(--th-lime); }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 0; min-height: 520px; padding-bottom: 104px; }
.phone { position: relative; width: min(250px, 44%); aspect-ratio: 921 / 2048; border-radius: 34px; padding: 9px; background: #0a0b0d; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 2px #26282c; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.phone::after { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); background: #0a0b0d; border-radius: 12px; }
.phone.p1 { transform: rotate(-5deg) translateY(10px); z-index: 2; margin-right: -24px; }
.phone.p2 { transform: rotate(4deg) translateY(60px); }
.phones figcaption { position: absolute; bottom: -8px; right: 0; font: 12px/1.4 var(--f-mono); color: var(--th-mute); text-align: right; }

/* ---------- studio ---------- */
.studio { padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 80px); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(32px, 5vw, 56px); }
.studio h2 { font-size: clamp(40px, 5.4vw, 80px); line-height: .95; font-weight: 800; letter-spacing: -0.04em; font-variation-settings: "wdth" 112; }
.studio h2 em { font-style: italic; font-weight: 200; }
.studio-copy p { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.studio-copy p + p { margin-top: 18px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--ink); }
.principle { padding: 24px 24px 8px 0; }
.principle + .principle { padding-left: 24px; border-left: 1px solid var(--rule); }
.principle .shape { width: 44px; height: 44px; margin-bottom: 18px; overflow: visible; }
.principle h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variation-settings: "wdth" 110; }
.principle p { margin-top: 8px; color: var(--mute); font-size: 16px; }

/* ---------- company register ---------- */
.company { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 128px); }
.company-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(32px, 5vw, 56px); }
.company h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -0.035em; font-variation-settings: "wdth" 112; }
.company .note { margin-top: 18px; color: var(--mute); max-width: 26em; }
.company .note a { font-weight: 600; }
.register { border-top: 2px solid var(--ink); }
.register > div { display: grid; grid-template-columns: minmax(140px, 2fr) minmax(0, 5fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.register dt { font: 500 12.5px/1.6 var(--f-mono); color: var(--mute); text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.register dd { font-weight: 500; }
.register dd a { font-weight: 600; }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 72px); }
.contact .sec-head { color: #8d9099; border-color: #2c2e33; }
.contact h2 { margin-top: clamp(32px, 5vw, 56px); font-size: clamp(48px, 8vw, 120px); line-height: .9; font-weight: 800; letter-spacing: -0.045em; font-variation-settings: "wdth" 112; }
.contact h2 em { font-weight: 200; font-style: italic; }
.mail-big { display: inline-block; margin-top: 28px; font-size: clamp(22px, 3.6vw, 48px); font-weight: 300; letter-spacing: -0.02em; text-decoration: none; color: var(--paper); border-bottom: 2px solid var(--orange); padding-bottom: 4px; transition: color .2s; word-break: break-all; }
.mail-big:hover { color: var(--orange); }
.contact-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid #2c2e33; }
.contact-cols > div { padding: 24px 24px 0 0; }
.contact-cols > div + div { padding-left: 24px; border-left: 1px solid #2c2e33; }
.contact-cols h3 { font: 500 12.5px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--orange); }
.contact-cols p { margin-top: 10px; color: #b9bcc4; font-size: 16px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #8d9099; border-top: 1px solid #2c2e33; padding: 36px 0 44px; font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.site-foot .brand { color: var(--paper); }
.site-foot .mark .pc-bar { fill: var(--paper); }
.site-foot .mark .pc-ball path { stroke: var(--ink); }
.foot-legal { max-width: 46em; line-height: 1.6; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--paper); text-decoration: none; }
.foot-links a:hover { color: var(--orange); }

/* ---------- legal documents ---------- */
.doc { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.doc .wrap { max-width: 880px; }
.doc h1 { font-size: clamp(40px, 6vw, 72px); line-height: .95; font-weight: 800; letter-spacing: -0.04em; font-variation-settings: "wdth" 112; }
.doc .meta { margin-top: 18px; font: 13px/1.5 var(--f-mono); color: var(--mute); }
.doc h2 { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variation-settings: "wdth" 108; }
.doc h3 { margin-top: 24px; font-size: 18px; font-weight: 700; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin-top: 14px; }
.doc ul { margin-top: 12px; padding-left: 0; }
.doc ul li { position: relative; padding-left: 22px; margin-top: 8px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; background: var(--orange); }
.doc a { font-weight: 600; }
.doc .box { margin-top: 28px; padding: 20px 22px; background: var(--paper-2); border-left: 3px solid var(--ink); }
.doc .box p:first-child { margin-top: 0; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { width: min(300px, 72%); justify-self: start; order: -1; margin-bottom: -8px; }
  .il-intro, .th-grid, .studio-grid, .company-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .phones { min-height: 0; padding-bottom: 110px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: var(--head-h); flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 17px; }
  .nav a.nav-cta { margin: 12px 0 0; text-align: center; border: 0; border-radius: 2px; }
  .menu-btn { display: inline-block; }
  .wordmark { font-size: 18px; }
  .hero-mark { width: 200px; margin-left: 16px; }
  .hero-facts dl { grid-template-columns: minmax(0, 1fr); }
  .hero-facts dl > div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .hero-facts dl > div + div { padding-left: 0; border-left: 0; }
  .rules, .principles, .contact-cols { grid-template-columns: minmax(0, 1fr); }
  .principle, .principle + .principle, .contact-cols > div, .contact-cols > div + div { padding: 22px 0 6px; border-left: 0; }
  .principle + .principle, .contact-cols > div + div { border-top: 1px solid var(--rule); }
  .contact-cols > div + div { border-top-color: #2c2e33; }
  .register > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .roster { grid-template-columns: minmax(0, 1fr); }
  .unit + .unit { border-left: 0; border-top: 1px solid var(--il-line); }
  .stances { grid-template-columns: minmax(0, 1fr); }
  .ltable th, .ltable td { padding-left: 10px; padding-right: 10px; }
  .il-map figcaption { flex-direction: column; gap: 4px; }
  .phone { border-radius: 26px; padding: 7px; }
  .phone img { border-radius: 20px; }
  .phone::after { top: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   Animated vector layers
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* hero toys */
.hero-mark .toys { pointer-events: none; }
.hero-mark .toy { transition: transform .9s var(--ease); }
.hero-mark .t-tri { fill: none; stroke: var(--ink); stroke-width: .9; stroke-linejoin: round; }
.hero-mark .t-sq { fill: var(--orange); }
.hero-mark .t-q { fill: none; stroke: var(--cobalt); stroke-width: .9; }
.hero-mark .t-dot { fill: var(--ink); }
.hero-mark .t-arc { fill: none; stroke: var(--mute); stroke-width: .5; stroke-dasharray: 1.2 1.6; opacity: .7; }
.js .hero-mark .toys { animation: fadein .8s ease 1.6s both; }
.hero-mark .pc-ball-wrap { transform-box: fill-box; transform-origin: 50% 100%; }
.hero-mark .pc-ball-wrap.hop, .hero-mark:hover .pc-ball-wrap { animation: hop .75s var(--ease); }
.hero-mark .ball-shadow { transform-box: fill-box; transform-origin: 50% 50%; }
.hero-mark.hopping .ball-shadow { animation: shadowhop .75s var(--ease); }
.hero-mark:hover .pc-ball { animation: none; }
@keyframes shadowhop { 40% { transform: scaleX(.55); opacity: .5; } }

/* war map fx */
.map-fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.map-fx .route-mask { fill: none; stroke: #fff; stroke-width: 26; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.45,0,.2,1) .3s; }
.il-map.in .route-mask { stroke-dashoffset: 0; }
.map-fx .route-under { fill: none; stroke: rgba(40, 24, 8, .25); stroke-width: 9; stroke-linecap: round; }
.map-fx .route { fill: none; stroke: #7a3d10; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 2 11; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -13; } }
.map-fx .waypoint circle { fill: #f6ead1; stroke: #7a3d10; stroke-width: 3; }
.map-fx .toll path { stroke: #7a3d10; stroke-width: 2.6; stroke-linecap: round; }
.map-fx .market .pole { stroke: #3a2410; stroke-width: 3; }
.map-fx .market .flag { fill: var(--il-amber); stroke: #7a3d10; stroke-width: 1.5; transform-box: fill-box; transform-origin: 0 50%; animation: flutter 1.6s ease-in-out infinite; }
@keyframes flutter { 50% { transform: scaleX(.8) skewY(4deg); } }
.map-fx .tag rect { fill: rgba(24, 20, 14, .86); }
.map-fx .tag text { fill: var(--il-amber); font: 700 13px/1 var(--f-mono); letter-spacing: .06em; text-anchor: middle; }
.map-fx .caravan { opacity: 0; }
.map-fx .wagon .canvas { fill: #efe3c4; stroke: #3a2410; stroke-width: 2; }
.map-fx .wagon .bed { fill: #6b4524; stroke: #3a2410; stroke-width: 2; }
.map-fx .wagon .wheel { fill: #3a2410; }
.map-fx .wagon .hub { fill: #c9a26a; }
.map-fx .wagon .yoke { stroke: #3a2410; stroke-width: 2.4; stroke-linecap: round; }
.map-fx .pop { font: 800 22px/1 var(--f-display); font-variation-settings: "wdth" 100; text-anchor: middle; paint-order: stroke; stroke: rgba(22, 14, 4, .92); stroke-width: 5px; stroke-linejoin: round; }
.map-fx .pop.res { fill: #ffc45a; }
.map-fx .pop.gold { fill: #6ee28f; font-size: 26px; }
.map-fx .pop.tax { fill: #ff7a6e; }

/* soft counter pulses */
.counter .pulse { fill: #ffe2a8; filter: drop-shadow(0 0 6px rgba(242,162,58,1)); }

/* TowerHop vector climb */
.phone .climb { width: 100%; height: 100%; border-radius: 26px; display: block; }
.climb .world { animation: world 1.3s linear infinite; }
.climb .grass { fill: #7fd02f; }
.climb .dirt { fill: #74513c; }
.climb .coin circle { fill: #ffd23f; stroke: #c99a00; stroke-width: 2; }
.climb .coin text { font: 800 11px/1 var(--f-display); fill: #6b4a00; text-anchor: middle; }
.climb .hopper { transform: translate(0, 450px); }
.climb .hop-x { animation: hopx 1.3s linear infinite; }
.climb .hop-y { animation: hopy 1.3s infinite; }
.climb .squash { animation: squash .65s infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.climb .hud-score { font: 800 26px/1 var(--f-display); fill: #ffb43a; paint-order: stroke; stroke: #4a1520; stroke-width: 5px; stroke-linejoin: round; }
.climb .hud-floor { font: 700 17px/1 var(--f-display); fill: #7a6cf0; paint-order: stroke; stroke: #eceaff; stroke-width: 4px; stroke-linejoin: round; }
@keyframes world { from { transform: translateY(0); } to { transform: translateY(220px); } }
@keyframes hopx { 0% { transform: translateX(105px); } 50% { transform: translateX(195px); } 100% { transform: translateX(105px); } }
@keyframes hopy {
  0% { transform: translateY(0); animation-timing-function: cubic-bezier(.2,.7,.4,1); }
  25% { transform: translateY(-86px); animation-timing-function: cubic-bezier(.6,0,.8,.3); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(.2,.7,.4,1); }
  75% { transform: translateY(-86px); animation-timing-function: cubic-bezier(.6,0,.8,.3); }
  100% { transform: translateY(0); }
}
@keyframes squash { 0%, 100% { transform: scale(1.12, .86); } 8% { transform: scale(.92, 1.1); } 20%, 85% { transform: none; } }
.phones figcaption { position: absolute; bottom: 0; right: 0; left: 0; text-align: center; font: 12px/1.4 var(--f-mono); color: var(--th-mute); }

/* studio shapes */
.principle .shape > * { transform-box: fill-box; }
.principle.in .shape rect { animation: sqdrop .9s var(--ease) both; transform-origin: 50% 100%; }
.principle.in .shape path { animation: rock 2.4s ease-in-out .2s 2 both; transform-origin: 50% 100%; }
.principle.in .shape circle { animation: rollin 1.1s var(--ease) both; transform-origin: 50% 50%; }
.principle:hover .shape rect { animation: sqflip .7s var(--ease); }
.principle:hover .shape path { animation: rock 1.2s ease-in-out; }
.principle:hover .shape circle { animation: rollin .9s var(--ease); }
@keyframes sqdrop { 0% { transform: translateY(-60px) rotate(-30deg); opacity: 0; } 60% { transform: translateY(2px) rotate(4deg); opacity: 1; } 100% { transform: none; } }
@keyframes sqflip { 50% { transform: translateY(-10px) rotate(90deg); } 100% { transform: rotate(90deg); } }
@keyframes rock { 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }
@keyframes rollin { 0% { transform: translateX(-80px) rotate(-300deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* contact ball full stop */
.dot-ball { display: inline-block; width: .19em; height: .19em; margin-left: .05em; border-radius: 50%; background: var(--cobalt); vertical-align: baseline; animation: dothop 3.2s var(--ease) 1s infinite; }
@keyframes dothop { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(-.55em); } 80% { transform: translateY(0) scale(1.15, .85); } 86% { transform: translateY(-.12em); } 92% { transform: none; } }

@media (max-width: 760px) {
  .il-map .frame { aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
  .counter .node text { font-size: 16px; }
  .counter .edge-l { font-size: 15px; }
  .counter .edge-l[data-for="e1"] { text-anchor: end; transform: translate(-30px, -4px); }
  .counter .edge-l[data-for="e3"] { text-anchor: start; transform: translate(30px, 38px); }
  .map-fx .pop { font-size: 40px; stroke-width: 8px; }
  .map-fx .pop.gold { font-size: 44px; }
  .map-fx .tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .map-fx .route-mask { stroke-dashoffset: 0; }
  .map-fx .caravan { opacity: 0 !important; }
}

/* hero toys idle sway (nodcoding-style) */
.hero-mark .sway { transform-box: fill-box; transform-origin: 50% 100%; }
.hero-mark .s1 { animation: sway 5.2s ease-in-out infinite; }
.hero-mark .s2 { animation: sway 6.4s ease-in-out -2s infinite reverse; }
.hero-mark .s3 { animation: sway 4.6s ease-in-out -1s infinite; }
.hero-mark .s4 { animation: bob 3.8s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-1.2px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.4px); } }

/* map waypoints light up as the caravan passes */
.map-fx .waypoint.lit circle { fill: var(--il-amber); animation: lit 1.2s ease-out; }
.map-fx .waypoint { transform-box: fill-box; }
@keyframes lit { 0% { stroke-width: 10; } 100% { stroke-width: 3; } }

/* interactive counter */
.counter .node { cursor: pointer; outline: none; }
.counter .node rect { transition: stroke .25s, fill .25s; }
.counter .edge, .counter .edge-l { transition: opacity .25s, stroke-width .25s; }
.counter.focus .edge, .counter.focus .edge-l { opacity: .18; }
.counter.focus .pulse { visibility: hidden; }
.counter.focus .edge.on { opacity: 1; stroke-width: 2.6; stroke-dasharray: 7 6; animation: march2 .6s linear infinite; }
.counter.focus .edge-l.on { opacity: 1; fill: var(--il-amber); }
.counter .node.on rect, .counter .node:hover rect, .counter .node:focus-visible rect { stroke: var(--il-amber); fill: #1c2436; }
@keyframes march2 { to { stroke-dashoffset: -13; } }
.counter .hint { color: var(--il-amber); }

/* studio block stack */
.stack { margin-top: 36px; width: min(300px, 70%); }
.stack svg { width: 100%; height: auto; overflow: visible; display: block; }
.stack .st-shadow { fill: rgba(17,18,21,.1); }
.stack .st-base, .stack .st-bridge { fill: var(--ink); }
.stack .st-sq1, .stack .st-dome { fill: var(--orange); }
.stack .st-sq2 { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.stack .st-ball circle { fill: var(--cobalt); }
.stack .st-ball path { stroke: var(--paper); stroke-width: 2.6; }
.stack .st, .stack .st-ball-wrap { transform-box: fill-box; transform-origin: 50% 100%; }
.stack .st-ball { transform-origin: 50% 50%; }
.js .studio-copy .stack .st { opacity: 0; }
.studio-copy.in .stack .st-base { animation: stdrop .7s var(--ease) .1s both; }
.studio-copy.in .stack .st-sq1 { animation: stdrop .7s var(--ease) .35s both; }
.studio-copy.in .stack .st-sq2 { animation: stdrop .7s var(--ease) .55s both; }
.studio-copy.in .stack .st-bridge { animation: stdrop .7s var(--ease) .8s both; }
.studio-copy.in .stack .st-dome { animation: stdrop .8s var(--ease) 1.05s both; }
.studio-copy.in .stack .st-ball { animation: stball 1.2s var(--ease) 1.4s both; }
.studio-copy.in .stack .st-ball-wrap { animation: sthop 3.6s var(--ease) 3.4s infinite; }
.stack:hover svg { animation: wobble .8s ease-in-out; transform-origin: 50% 95%; }
@keyframes stdrop { 0% { opacity: 0; transform: translateY(-160px) rotate(-8deg); } 55% { opacity: 1; transform: translateY(3px) rotate(0); } 72% { transform: translateY(-5px) scaleY(1.02); } 100% { opacity: 1; transform: none; } }
@keyframes stball { 0% { opacity: 0; transform: translate(150px, -90px) rotate(360deg); } 45% { opacity: 1; transform: translate(40px, 0) rotate(120deg); } 70% { transform: translate(12px, -26px) rotate(40deg); } 100% { opacity: 1; transform: none; } }
@keyframes sthop { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-34px); } 90% { transform: scale(1.12, .88); } 95% { transform: translateY(-6px); } }
@keyframes wobble { 25% { transform: rotate(-2.5deg); } 60% { transform: rotate(2deg); } }
@media (max-width: 980px) { .stack { width: 220px; } }
@media (prefers-reduced-motion: reduce) { .js .studio-copy .stack .st { opacity: 1; } }
