@font-face { font-family: 'Ekachon'; src: url('fonts/Ekachon-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Ekachon'; src: url('fonts/Ekachon-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Ekachon'; src: url('fonts/Ekachon-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Ekachon'; src: url('fonts/Ekachon-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('fonts/Oswald-var.woff2') format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2022, U+2190-2199; }

:root {
  --black: #000;
  --ground: #020205;
  --royal: #0037c0;
  --blue: #2f6bff;
  --ice: #d3e3ff;
  --ice-2: #9dbdff;
  --yellow: #fbae17;
  --ink: #f4f7ff;
  --ink-2: #a8b0c8;
  --ink-3: #737a94;
  --line: rgba(211, 227, 255, .14);
  --line-2: rgba(211, 227, 255, .32);
  --good: #5fe3a1;
  --warn: #ffb547;
  --bad: #ff6b6b;
  --ice-grad: linear-gradient(170deg, #eef4ff 20%, #a9c4ff 100%);
  --sans: 'Ekachon', 'Noto Sans Thai', 'Leelawadee UI', Tahoma, system-ui, sans-serif;
  --cond: 'Oswald', 'Ekachon', 'Arial Narrow', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

[data-lang="th"] [lang="en"]:not(html),
[data-lang="en"] [lang="th"]:not(html) { display: none !important; }

/* ---------- deck frame ---------- */
.deck {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(12px, env(safe-area-inset-top, 0px)) 16px max(70px, calc(env(safe-area-inset-bottom, 0px) + 70px));
}
.slide {
  --pad: max(3.4cqw, 20px);
  container-type: inline-size;
  position: absolute;
  width: min(calc(100vw - 32px), calc((100vh - 86px) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: var(--ground);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(211, 227, 255, .08);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }

.slide > .in {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1.8cqw var(--pad) calc(var(--pad) + 1.6cqw);
  display: flex;
  flex-direction: column;
  gap: 1.5cqw;
}

/* grainy blue blobs */
.aura { position: absolute; inset: 0; pointer-events: none; isolation: isolate; overflow: hidden; background: var(--ground); }
.aura::before {
  content: '';
  position: absolute;
  inset: -8%;
  animation: drift 34s ease-in-out infinite alternate;
}
.aura::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .5;
  mix-blend-mode: overlay;
  background-size: 220px 220px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.aura.a0::before {
  background:
    radial-gradient(34% 62% at 12% 18%, #3a78ff 0%, #1450e6 30%, rgba(0, 55, 192, .6) 55%, transparent 76%),
    radial-gradient(40% 58% at 92% 96%, #3170f5 0%, #0f46d2 34%, rgba(0, 55, 192, .5) 58%, transparent 78%);
}
.aura.a1::before {
  background:
    radial-gradient(42% 70% at 100% 10%, #3572ff 0%, #1148dc 32%, rgba(0, 55, 192, .5) 58%, transparent 78%),
    radial-gradient(20% 34% at 4% 100%, rgba(47, 107, 255, .8) 0%, rgba(0, 55, 192, .35) 50%, transparent 76%);
}
.aura.a2::before {
  background:
    radial-gradient(30% 54% at 0% 60%, #3070ff 0%, #0f47d8 32%, rgba(0, 55, 192, .5) 58%, transparent 78%),
    radial-gradient(26% 40% at 82% 0%, rgba(47, 107, 255, .75) 0%, rgba(0, 55, 192, .35) 50%, transparent 76%);
}
.aura.a3::before {
  background:
    radial-gradient(46% 60% at 58% 112%, #3874ff 0%, #1249de 32%, rgba(0, 55, 192, .5) 58%, transparent 78%),
    radial-gradient(18% 30% at 96% 20%, rgba(47, 107, 255, .7) 0%, rgba(0, 55, 192, .3) 50%, transparent 76%);
}
.cover .aura::before {
  background:
    radial-gradient(36% 58% at 10% 14%, #3a78ff 0%, #1450e6 30%, rgba(0, 55, 192, .6) 56%, transparent 76%),
    radial-gradient(44% 62% at 88% 98%, #3874ff 0%, #1249de 32%, rgba(0, 55, 192, .55) 58%, transparent 78%),
    radial-gradient(22% 30% at 100% 42%, rgba(47, 107, 255, .55) 0%, transparent 70%);
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-2.5%, 2%, 0); }
}

/* ---------- top bar ---------- */
.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2cqw;
  font-family: var(--cond);
  font-size: max(.88cqw, 11px);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tb-logo { height: 1.9cqw; min-height: 18px; width: auto; }
.tb-nav { display: flex; justify-content: center; gap: 2.8cqw; }
.tb-nav a { color: var(--ink-2); text-decoration: none; padding-bottom: .2cqw; border-bottom: 1.5px solid transparent; white-space: nowrap; }
.tb-nav a:hover { color: #fff; }
.tb-nav a.on { color: #fff; border-bottom-color: var(--yellow); }
.tb-box { display: inline-flex; align-items: center; gap: 1.6cqw; padding: .25cqw .5cqw .25cqw .8cqw; border: 1px solid var(--line-2); color: var(--ink); }
.tb-box svg { width: 1cqw; height: 1cqw; min-width: 11px; min-height: 11px; }

/* ---------- controls ---------- */
.chrome {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-family: var(--cond);
  font-size: 13px;
  letter-spacing: .04em;
  z-index: 10;
  background: rgba(0, 0, 0, .72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.chrome .progress { flex: 1; height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.chrome .progress i { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .35s ease; }
.chrome .counter { min-width: 5em; text-align: center; color: #fff; }
.chrome button {
  font: inherit;
  color: #fff;
  background: transparent;
  border: 1px solid var(--line-2);
  min-height: 32px;
  min-width: 36px;
  padding: 2px 10px;
  cursor: pointer;
}
.chrome button:hover { background: rgba(255, 255, 255, .08); }
.chrome button:focus-visible, a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.chrome .lang { display: inline-flex; }
.chrome .lang button + button { border-left: 0; }
.chrome .lang button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #000; font-weight: 700; }
.chrome .hint { color: var(--ink-3); white-space: nowrap; font-family: var(--sans); letter-spacing: 0; }

/* ---------- slide furniture ---------- */
.run {
  position: absolute;
  z-index: 1;
  left: var(--pad); right: var(--pad); bottom: 1.5cqw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: max(.86cqw, 11px);
  color: var(--ink-3);
}
.run b { color: var(--ink-2); font-weight: 500; }
.run .ref { display: inline-flex; align-items: center; gap: 1.2cqw; font-family: var(--cond); letter-spacing: .06em; }
.run .arrow, .corner-arrow { width: 1.9cqw; height: 1.9cqw; min-width: 18px; min-height: 18px; color: var(--ice); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8cqw;
  font-family: var(--cond);
  font-size: max(.95cqw, 12px);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ice);
  margin-top: 1.2cqw;
}
.eyebrow::after { content: ''; width: 4cqw; height: 1px; background: var(--line-2); }
.eyebrow .sec { font-weight: 700; letter-spacing: .04em; padding: .05cqw .55cqw; background: var(--yellow); color: #000; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; line-height: 1.22; color: var(--ink); }
h2 { font-size: max(2.35cqw, 22px); letter-spacing: -.004em; max-width: 60ch; }
h3 { font-size: max(1.2cqw, 14px); }
h1 em, h2 em { font-style: normal; color: var(--yellow); }
p { margin: 0; }
.lede { font-size: max(1.2cqw, 14px); color: var(--ink-2); max-width: 62ch; }
.small { font-size: max(.95cqw, 12px); color: var(--ink-3); }
.mono { font-family: var(--mono); }

.grid { display: grid; gap: 1.3cqw; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fill { flex: 1; min-height: 0; }

/* framed boxes with corner handles */
.panel, .agenda a, .wins .win, .ho-item, .sign {
  position: relative;
  background: rgba(2, 2, 8, .55);
  border: 1px solid var(--line);
}
.panel::before, .panel::after, .agenda a::before, .agenda a::after, .wins .win::before, .wins .win::after, .ho-item::before, .ho-item::after, .sign::before, .sign::after {
  content: '';
  position: absolute;
  width: .5cqw;
  height: .5cqw;
  min-width: 5px;
  min-height: 5px;
  background: var(--ice);
}
.panel::before, .agenda a::before, .wins .win::before, .ho-item::before, .sign::before { left: -.25cqw; top: -.25cqw; }
.panel::after, .agenda a::after, .wins .win::after, .ho-item::after, .sign::after { right: -.25cqw; bottom: -.25cqw; }

.panel { padding: 1.3cqw 1.5cqw; display: flex; flex-direction: column; gap: .55cqw; min-width: 0; }
.panel p, .panel li { font-size: max(1.02cqw, 12px); color: var(--ink-2); }
.panel ul { margin: 0; padding-left: 1.1em; display: grid; gap: .35cqw; }
.panel li::marker { color: var(--ice-2); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: max(.84cqw, 11px);
  font-weight: 500;
  padding: .06cqw .6cqw;
  border: 1px solid currentColor;
  white-space: nowrap;
  width: fit-content;
}
.tag .dot { width: .45em; height: .45em; background: currentColor; }
.tag.mute .dot { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.tag.good { color: var(--good); }
.tag.warn { color: var(--warn); }
.tag.bad { color: var(--bad); }
.tag.info { color: #000; background: var(--ice); border-color: var(--ice); }
.tag.mute { color: var(--ink-3); }

.chip { display: inline-block; font-family: var(--cond); font-weight: 600; font-size: max(.95cqw, 12px); letter-spacing: .04em; text-transform: uppercase; padding: .35cqw .9cqw; background: var(--ice); color: #000; white-space: nowrap; }
.chip.y { background: var(--yellow); }

.sw { display: inline-block; width: 1.1em; height: .65em; vertical-align: middle; }
.sw.done { background: var(--blue); }
.sw.partial { background: repeating-linear-gradient(135deg, var(--blue) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--blue); }
.sw.missing { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }

.own-chip { font-size: max(.78cqw, 10px); color: var(--ink-2); border: 1px solid var(--line); padding: 0 .45cqw; white-space: nowrap; }
.owners { display: inline-flex; flex-wrap: wrap; gap: .3cqw; justify-content: flex-end; }

/* ---------- cover ---------- */
.cover .in { gap: 0; }
.cover-title { flex: 1; display: grid; align-content: center; gap: 1.4cqw; padding-top: 1cqw; }
.cover .kicker { font-family: var(--cond); font-size: max(1cqw, 12px); letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.wordmark { display: flex; align-items: center; gap: .4cqw; font-family: var(--cond); line-height: .86; text-transform: uppercase; }
.wordmark b, .wordmark .thin { font-size: max(9.4cqw, 52px); background: var(--ice-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.wordmark b { font-weight: 700; letter-spacing: -.005em; }
.wordmark .thin { font-weight: 300; letter-spacing: .01em; }
.wordmark .sel { position: relative; display: inline-block; padding: 1cqw 1.4cqw .6cqw; outline: 1px solid rgba(211, 227, 255, .5); }
.wordmark .h { position: absolute; width: .8cqw; height: .8cqw; min-width: 7px; min-height: 7px; background: var(--ice); }
.wordmark .h1 { left: -.4cqw; top: -.4cqw; }
.wordmark .h2 { right: -.4cqw; bottom: -.4cqw; }
.wordmark .cursor { width: 3.2cqw; height: 3.2cqw; min-width: 22px; min-height: 22px; fill: var(--ice); align-self: center; margin: 2cqw -.4cqw 0 -.2cqw; }
.cover h1 { font-size: max(2.3cqw, 20px); max-width: 30ch; }
.cover .lede { max-width: 56ch; }
.cover-foot { display: flex; justify-content: space-between; align-items: end; gap: 2cqw; }
.cover-foot .chips { display: flex; flex-wrap: wrap; gap: .9cqw; }

/* ---------- agenda ---------- */
.agenda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3cqw; }
.agenda a { display: grid; align-content: start; gap: .5cqw; padding: 1.4cqw; height: 100%; color: inherit; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.agenda a:hover { background: rgba(0, 55, 192, .25); border-color: var(--line-2); }
.agenda .n { font-family: var(--cond); font-weight: 600; font-size: max(3.4cqw, 28px); line-height: 1; background: var(--ice-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.agenda b { font-size: max(1.35cqw, 15px); color: var(--ink); }
.agenda span { font-size: max(1cqw, 12px); color: var(--ink-2); }

/* ---------- stats ---------- */
.stat { display: grid; gap: .15cqw; align-content: start; }
.stat .v { font-family: var(--cond); font-size: max(3.2cqw, 26px); font-weight: 600; line-height: 1; letter-spacing: 0; background: var(--ice-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat .v small { font-family: var(--sans); font-size: .4em; font-weight: 500; margin-left: .25em; -webkit-text-fill-color: var(--ink-2); }
.stat .k { font-size: max(.95cqw, 12px); color: var(--ink-2); }

.hero-pct { display: grid; grid-template-columns: auto 1fr; gap: 3.4cqw; align-items: center; }
.ring { position: relative; width: 17cqw; aspect-ratio: 1; min-width: 150px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .c b { font-family: var(--cond); font-weight: 600; font-size: max(4.6cqw, 38px); line-height: 1; background: var(--ice-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ring .c span { font-size: max(.95cqw, 12px); color: var(--ink-2); }

.stack { display: flex; height: .9cqw; min-height: 8px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); gap: 2px; }
.stack i { display: block; height: 100%; }
.stack .d { background: var(--blue); }
.stack .p { background: repeating-linear-gradient(135deg, var(--blue) 0 2px, transparent 2px 5px); }

/* ---------- spec table ---------- */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.6cqw; align-content: start; }
.spec .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13cqw 3.8cqw;
  align-items: center;
  gap: 1cqw;
  padding: .4cqw 0;
  border-bottom: 1px solid var(--line);
  font-size: max(.98cqw, 12px);
}
.spec .row .name { display: flex; gap: .6cqw; align-items: baseline; min-width: 0; }
.spec .row .name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spec .row .pg { font-family: var(--cond); color: var(--ink-3); font-size: .9em; flex: none; width: 3.4cqw; }
.spec .row .pct { text-align: right; font-family: var(--cond); font-weight: 600; font-size: 1.1em; color: #fff; }
.spec .row.low .pct { color: var(--ink-3); }
.spec .head { font-family: var(--cond); font-size: max(.82cqw, 11px); color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6cqw; font-size: max(.95cqw, 12px); color: var(--ink-2); }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; font-size: max(.98cqw, 12px); }
table.cmp th, table.cmp td { text-align: left; vertical-align: top; padding: .6cqw .9cqw; border-bottom: 1px solid var(--line); }
table.cmp thead th { font-family: var(--cond); font-size: max(.84cqw, 11px); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line-2); font-weight: 500; }
table.cmp tbody th { color: #fff; font-weight: 700; }
table.cmp td { color: var(--ink-2); }
table.cmp td.new { color: var(--ink); }
table.risk th:first-child { width: 26%; }
table.risk td:nth-child(2), table.risk td:nth-child(3) { width: 10%; }
table.vs th:first-child { width: 13%; }
table.vs td.old { width: 34%; color: var(--ink-3); }
table.vs td.new { width: 40%; }
table.vs td:last-child { width: 13%; }
table.vs td, table.vs tbody th { padding-block: .75cqw; line-height: 1.45; }
table.vs thead th:nth-child(3) { color: var(--ice); }

/* ---------- item lists ---------- */
.items { display: grid; gap: .7cqw; align-content: start; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3cqw 1cqw; padding-bottom: .7cqw; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; padding-bottom: 0; }
.item h3 { font-size: max(1.12cqw, 13px); }
.item p { grid-column: 1 / -1; font-size: max(.98cqw, 12px); color: var(--ink-2); }
.item .own { font-family: var(--cond); font-size: max(.86cqw, 11px); color: var(--ink-3); letter-spacing: .04em; }
.item .owners { justify-self: end; align-self: start; }

/* ---------- timeline ---------- */
.tl { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.tl::before { content: ''; position: absolute; left: 0; right: 0; top: .95cqw; height: 1px; background: var(--line-2); }
.tl .step { position: relative; padding: 2.3cqw .8cqw 0 0; display: grid; gap: .35cqw; align-content: start; }
.tl .step::before { content: ''; position: absolute; top: .5cqw; left: 0; width: .9cqw; height: .9cqw; min-width: 9px; min-height: 9px; background: var(--ground); box-shadow: inset 0 0 0 1.5px var(--ice); }
.tl .step.key::before { background: var(--yellow); box-shadow: none; }
.tl .step b { font-family: var(--cond); font-weight: 600; letter-spacing: .03em; color: var(--ice); font-size: max(1.05cqw, 12px); }
.tl .step.key b { color: var(--yellow); }
.tl .step h3 { font-size: max(1.1cqw, 13px); }
.tl .step ul { margin: 0; padding-left: 1em; display: grid; gap: .25cqw; font-size: max(.92cqw, 11px); color: var(--ink-2); }
.tl .step li::marker { color: var(--ink-3); }

/* ---------- pain points ---------- */
.pp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; column-gap: 2.4cqw; }
.pp { display: grid; grid-template-rows: auto auto 1fr auto; gap: .2cqw; padding: .5cqw 0; border-top: 1px solid var(--line); min-height: 0; }
.pp-top { display: flex; justify-content: space-between; align-items: center; gap: 1cqw; }
.pp-grp { font-family: var(--cond); font-size: max(.8cqw, 10px); letter-spacing: .1em; text-transform: uppercase; color: var(--ice-2); font-weight: 500; }
.pp h3 { font-size: max(1.08cqw, 13px); }
.pp p { font-size: max(.88cqw, 11px); color: var(--ink-2); line-height: 1.45; }
.pp p.fix { color: var(--ink); }
.pp p.fix b { color: var(--yellow); font-weight: 700; margin-right: .3em; }

/* ---------- readiness ---------- */
.ready { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; column-gap: 2cqw; counter-reset: r; }
.ready li { counter-increment: r; display: grid; grid-template-columns: 2.2cqw minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: .25cqw .6cqw; padding: .5cqw 0; border-top: 1px solid var(--line); }
.ready li::before { content: counter(r, decimal-leading-zero); grid-row: 1 / 3; align-self: start; font-family: var(--cond); font-size: max(.95cqw, 12px); color: var(--ink-3); }
.ready .rt { font-size: max(1cqw, 12px); font-weight: 500; color: var(--ink); grid-column: 2; }
.ready .tag { grid-column: 2; grid-row: 2; }
.ready .owners { grid-column: 2; grid-row: 2; justify-self: end; }

/* ---------- go-live ---------- */
.rollback p { font-size: max(.95cqw, 12px); }
.rollback b { color: #fff; }
.go-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.3cqw; margin-top: auto; }
.gate-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .5cqw; }
.gate-list li { display: grid; grid-template-columns: 1.5cqw minmax(0, 1fr); gap: .6cqw; align-items: baseline; font-size: max(.95cqw, 12px); color: var(--ink-2); }
.gate-list li::before { content: ''; width: .9cqw; height: .9cqw; min-width: 9px; min-height: 9px; box-shadow: inset 0 0 0 1.5px var(--ice); transform: translateY(.1em); }
.stage { align-self: start; }
.stage ul { gap: .45cqw; }
.stage li { font-size: max(.95cqw, 12px) !important; }

.cal-wrap { display: grid; gap: .6cqw; }
.cal-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--cond); font-size: max(.95cqw, 12px); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.win-key { display: inline-flex; align-items: center; gap: .5em; }
.win-key i { width: 1.8em; height: .7em; background: rgba(0, 55, 192, .6); }
.cal { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; }
.day { position: relative; display: grid; align-content: start; gap: .1cqw; padding: .5cqw .45cqw .4cqw; min-height: 5.4cqw; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.day .dw { font-size: max(.72cqw, 9px); color: var(--ink-3); }
.day b { font-family: var(--cond); font-size: max(1.5cqw, 14px); color: var(--ink-2); font-weight: 500; line-height: 1; }
.day.win { background: rgba(0, 55, 192, .32); border-color: rgba(47, 107, 255, .45); }
.day.we b { color: var(--ink-3); }
.day .lbl { font-size: max(.7cqw, 9px); line-height: 1.2; color: var(--ink-2); }
.day.m-soft { background: var(--royal); border-color: var(--blue); }
.day.m-full { background: var(--yellow); border-color: var(--yellow); }
.day.m-soft b, .day.m-soft .lbl, .day.m-soft .dw { color: #fff; }
.day.m-full b, .day.m-full .lbl, .day.m-full .dw { color: #000; }
.day.m-gate .lbl { color: var(--ice); font-weight: 700; }
.day.m-backup .lbl { color: var(--warn); font-weight: 700; }
.day.m-hol { background: repeating-linear-gradient(135deg, rgba(255, 107, 107, .05) 0 4px, rgba(255, 107, 107, .16) 4px 8px); border-color: rgba(255, 107, 107, .35); }
.day.m-hol .lbl { color: var(--bad); }
.day.m-end .lbl { color: #fff; font-weight: 700; }

/* ---------- handover & decisions ---------- */
.ho { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1cqw 1.3cqw; }
.ho-item { display: grid; grid-template-rows: auto auto 1fr; gap: .3cqw; padding: .95cqw 1.15cqw; align-content: start; }
.ho-item h3 { font-size: max(1.06cqw, 13px); }
.ho-item p { font-size: max(.88cqw, 11px); color: var(--ink-2); }

.decide { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1cqw; counter-reset: d; }
.decide li { counter-increment: d; display: grid; grid-template-columns: 3.4cqw minmax(0, 1fr); gap: .1cqw 1cqw; }
.decide li::before { content: counter(d, decimal-leading-zero); grid-row: 1 / 3; font-family: var(--cond); font-weight: 600; font-size: max(2cqw, 20px); line-height: 1; color: var(--yellow); }
.decide b { font-size: max(1.2cqw, 14px); color: #fff; }
.decide span { font-size: max(.95cqw, 12px); color: var(--ink-2); }
.sign { display: grid; gap: 2.6cqw; align-content: start; padding: 1.8cqw; }
.sig { display: grid; gap: .5cqw; }
.sig .line { height: 3.6cqw; border-bottom: 1px solid var(--line-2); }
.sig span:nth-child(2) { color: #fff; font-size: max(1.05cqw, 13px); }
.sig .date { color: var(--ink-3); font-size: max(.9cqw, 12px); font-family: var(--cond); letter-spacing: .06em; }

/* ---------- old vs new ---------- */
.slide .wins { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1.2cqw; }
.wins .win { display: grid; grid-template-rows: 1fr auto auto; gap: .4cqw; padding: 1.4cqw; }
.wins .win .metric { align-self: start; font-family: var(--cond); font-size: max(2.6cqw, 22px); font-weight: 600; line-height: 1.05; background: var(--ice-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wins .win h3 { font-size: max(1.12cqw, 13px); }
.wins .win p { font-size: max(.95cqw, 12px); color: var(--ink-2); }

/* ---------- scroll / phone mode ---------- */
@media (max-width: 760px), (max-height: 460px) and (orientation: portrait) {
  .deck { position: static; display: block; padding: 0 0 86px; }
  .slide {
    position: relative;
    width: 100%;
    aspect-ratio: auto;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
    --pad: 20px;
  }
  .slide > .in { position: relative; inset: auto; padding: 18px 20px 60px; gap: 16px; }
  .run { bottom: 18px; left: 20px; right: 20px; }
  .tb-nav { display: none; }
  .topbar { grid-template-columns: auto 1fr; }
  .tb-box { justify-self: end; }
  .cols-2, .cols-3, .cols-4, .spec, .agenda, .hero-pct, .go-row, .slide .wins, .pp-grid, .ready, .ho { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tl { grid-template-columns: minmax(0, 1fr); }
  .tl::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl .step { padding: 0 0 18px 24px; }
  .tl .step::before { top: 4px; left: 0; }
  .spec .row { grid-template-columns: minmax(0, 1fr) 90px 44px; }
  .spec .row .pg { width: 44px; }
  .cover .in { min-height: 88vh; }
  .wordmark { flex-wrap: wrap; }
  .ring { width: 160px; }
  .chrome { width: calc(100vw - 24px); }
  .chrome .hint, .chrome [data-go] { display: none; }
  .panel, .agenda a, .wins .win, .ho-item { padding: 16px; }
  .wins .win { grid-template-rows: auto auto auto; }
  .pp { padding: 12px 0; }
  .ready li, .decide li { grid-template-columns: 28px minmax(0, 1fr); }
  .gate-list li { grid-template-columns: 16px minmax(0, 1fr); }
  .sig .line { height: 48px; }
  .sign { padding: 16px; }
  .cal-wrap { overflow-x: auto; }
  .cal { grid-template-columns: repeat(20, 62px); }
  .day { min-height: 74px; padding: 6px 5px; }
  table.cmp { min-width: 620px; }
  table.vs { min-width: 760px; }
}

/* ---------- print ---------- */
@media print {
  @page { size: 338.67mm 190.5mm; margin: 0; }
  .deck { position: static; display: block; padding: 0; }
  .chrome { display: none; }
  .slide {
    position: relative;
    width: 338.67mm;
    height: 190.5mm;
    aspect-ratio: auto;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    break-after: page;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .aura::before { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .chrome .progress i { transition: none !important; }
  .aura::before { animation: none !important; }
}

/* ---------- agenda: index layout ---------- */
.ag { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr); gap: 4.2cqw; }
.ag-head { display: flex; flex-direction: column; gap: 1.2cqw; min-height: 0; }
.ag-head .lede { font-size: max(1.05cqw, 13px); max-width: 34ch; }
.ag-foot { margin-top: auto; display: grid; gap: 1cqw; }
.ag-count { display: flex; align-items: baseline; gap: .9cqw; }
.ag-count .big { font-family: var(--cond); font-weight: 600; font-size: max(6cqw, 44px); line-height: .9; background: var(--ice-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ag-count span:last-child { font-size: max(.95cqw, 12px); color: var(--ink-2); }
.ag-bar { display: flex; gap: 3px; height: 2.2cqw; min-height: 20px; }
.ag-bar i { position: relative; display: block; background: rgba(47, 107, 255, .28); border-top: 2px solid var(--blue); }
.ag-bar i:nth-child(odd) { background: rgba(47, 107, 255, .5); }
.ag-bar em { position: absolute; left: .4cqw; bottom: .25cqw; font-style: normal; font-family: var(--cond); font-size: max(.75cqw, 9px); color: var(--ice); letter-spacing: .04em; }

.ag-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-2); min-height: 0; }
.ag-list li { min-height: 0; }
.ag-list a {
  position: relative;
  display: grid;
  grid-template-columns: 6.4cqw minmax(0, 1fr) auto 1.8cqw;
  align-items: center;
  gap: 1.8cqw;
  height: 100%;
  padding: 0 1.2cqw 0 .4cqw;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background .3s ease;
}
.ag-n { font-family: var(--cond); font-weight: 700; font-size: max(3.6cqw, 30px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ice-2); transition: color .3s ease, -webkit-text-stroke-color .3s ease; }
.ag-t { display: grid; gap: .15cqw; min-width: 0; }
.ag-t b { font-size: max(1.4cqw, 15px); color: #fff; }
.ag-t span { font-size: max(.95cqw, 12px); color: var(--ink-2); }
.ag-r { font-family: var(--cond); font-size: max(.85cqw, 11px); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: .15cqw .7cqw; white-space: nowrap; }
.ag-arrow { width: 1.6cqw; height: 1.6cqw; min-width: 16px; min-height: 16px; color: var(--ice-2); transition: transform .3s ease, color .3s ease; }
.ag-list a:hover, .ag-list a:focus-visible { background: linear-gradient(90deg, rgba(0, 55, 192, .6), rgba(0, 55, 192, 0) 85%); outline: none; }
.ag-list a:hover .ag-n, .ag-list a:focus-visible .ag-n { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.ag-list a:hover .ag-arrow, .ag-list a:focus-visible .ag-arrow { color: var(--yellow); transform: translate(3px, 3px); }
.ag-list a:hover .ag-r { color: #fff; border-color: var(--ice); }

@media (max-width: 760px), (max-height: 460px) and (orientation: portrait) {
  .ag { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ag-foot { margin-top: 8px; }
  .ag-list { grid-template-rows: none; }
  .ag-list a { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 14px 4px; }
  .ag-arrow { display: none; }
}

.ag-list { margin-top: 1.2cqw; }
@media (max-width: 760px), (max-height: 460px) and (orientation: portrait) { .ag-list { margin-top: 0; } }

/* ---------- intro: three apps ---------- */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); margin-top: .6cqw; }
.app { display: grid; grid-template-rows: auto auto auto 1fr; align-content: start; gap: 1.1cqw; padding: 1.8cqw 2.4cqw 0; border-left: 1px solid var(--line); min-width: 0; }
.app:first-child { border-left: 0; padding-left: 0; }
.app:last-child { padding-right: 0; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 1cqw; }
.app-who { font-family: var(--cond); font-size: max(.9cqw, 11px); letter-spacing: .12em; text-transform: uppercase; color: var(--ice-2); }
.app h3 { font-size: max(2cqw, 20px); }
.app-num { display: flex; align-items: baseline; gap: .7cqw; padding-bottom: 1.2cqw; border-bottom: 1px solid var(--line); }
.app-num b { font-family: var(--cond); font-weight: 600; font-size: max(5.2cqw, 42px); line-height: .9; background: var(--ice-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.app-num span { font-size: max(1.05cqw, 13px); color: var(--ink-2); }
.app-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: .8cqw; align-content: start; }
.app-feats li { display: grid; grid-template-columns: 1.2cqw minmax(0, 1fr); align-items: baseline; gap: .5cqw; font-size: max(1.12cqw, 13px); color: var(--ink); }
.app-feats li::before { content: ''; width: .55cqw; height: .55cqw; min-width: 6px; min-height: 6px; background: var(--yellow); transform: translateY(-.15em); }

@media (max-width: 760px), (max-height: 460px) and (orientation: portrait) {
  .apps { grid-template-columns: minmax(0, 1fr); }
  .app, .app:first-child, .app:last-child { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); gap: 12px; }
  .app:first-child { border-top: 0; }
  .app-feats li { grid-template-columns: 14px minmax(0, 1fr); }
}

@media (max-width: 760px), (max-height: 460px) and (orientation: portrait) {
  .slide .grid[style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
}

.topbar { grid-template-columns: 1fr auto 1fr; }
.topbar .tb-logo { justify-self: start; }
@media (max-width: 760px), (max-height: 460px) and (orientation: portrait) { .topbar { grid-template-columns: auto; } .tb-end { display: none; } }

/* ---------- intro: size chart ---------- */
.apps-chart { display: grid; gap: .8cqw; margin-top: .4cqw; }
.ac-top { display: flex; justify-content: space-between; align-items: end; gap: 2cqw; flex-wrap: wrap; }
.ac-total { display: flex; align-items: baseline; gap: .8cqw; }
.ac-total b { font-family: var(--cond); font-weight: 600; font-size: max(2.6cqw, 24px); line-height: 1; color: #fff; }
.ac-total span { font-size: max(.95cqw, 12px); color: var(--ink-2); }
.ac-legend { display: flex; flex-wrap: wrap; gap: 1.8cqw; font-size: max(.95cqw, 12px); color: var(--ink-2); }
.ac-legend span { display: inline-flex; align-items: center; gap: .5cqw; }
.ac-legend b { font-family: var(--cond); font-weight: 600; color: #fff; font-size: 1.1em; }
.ac-bar { display: flex; gap: 3px; height: 1.6cqw; min-height: 14px; }
.ac-bar i { display: block; min-width: 6px; }
.key { display: inline-block; width: .75cqw; height: .75cqw; min-width: 8px; min-height: 8px; flex: none; }
.k1 { background: var(--blue); }
.k2 { background: var(--ice); }
.k3 { background: var(--yellow); }
.app-who { display: inline-flex; align-items: center; gap: .6cqw; }
.apps { margin-top: .2cqw; }
.app { gap: .9cqw; padding-top: 1.4cqw; }
