/* tu-shm.com
   Night-teal hero and closing band (the product's own look), daylight
   reading sections between them. Brand colours from the logo: TU red and
   yellow for small accents and the live trace; teal for data. */
:root {
  --ink: #06131a; --ink-2: #0b2430; --night-fg: #eaf6f7; --night-dim: rgba(226, 241, 244, .72);
  --bg: #f4f8f8; --paper: #ffffff; --fg: #10262e; --dim: #4c6670; --faint: #7c939b;
  --line: #d9e5e7; --line-strong: #b9cdd1;
  --teal: #0f8c93; --teal-hi: #3fd4c8; --red: #b80c00; --yellow: #ffd600; --gold: #b07b00;
  --good: #22c55e; --warn: #f2b01e; --orange: #f97316; --crit: #ef4444; --deep: #8c1d18;
  --wall: #eef2f3; --frame: #9fb3b9; --ground: #e4edee;
  --radius: 18px; --shadow: 0 18px 40px -24px rgba(16, 50, 60, .35);
  --f-display: "Prompt", "IBM Plex Sans Thai", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Thai", "Prompt", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --nav-h: 68px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16.5px/1.75 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.noscroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.35; }
p { margin: 10px 0 0; }
.eyebrow { margin: 0 0 12px; font: 500 13px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.eyebrow.light { color: var(--teal-hi); }
.eyebrow:has(.pulse)::before { display: none; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 1.8s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); } }
.muted { color: var(--night-dim); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head p:not(.eyebrow) { color: var(--dim); font-size: 18px; }
section { padding-block: 96px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 15.5px/1.2 var(--f-display);
  text-decoration: none; border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn.primary { background: linear-gradient(135deg, #5fe0d5, #2fb4c6); color: #052b31; box-shadow: 0 12px 26px -14px rgba(63, 212, 200, .9); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(63, 212, 200, 1); }
.btn.ghost { border-color: rgba(234, 246, 247, .35); color: var(--night-fg); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, box-shadow .3s; }
.nav.solid { background: rgba(6, 19, 26, .86); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.nav-in { width: min(1240px, 100% - 32px); margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--night-fg); flex: none; }
.brand-badge { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.brand-badge img { width: 36px; height: 36px; }
.brand-txt b { display: block; font: 700 20px/1 var(--f-display); letter-spacing: .02em; }
.brand-txt small { display: block; font-size: 12px; color: var(--night-dim); margin-top: 3px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { color: var(--night-dim); text-decoration: none; font: 500 14.5px var(--f-display); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.links a:hover, .links a.on { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(234, 246, 247, .25); }
.lang button { border: 0; background: none; color: var(--night-dim); font: 600 12.5px var(--f-mono); padding: 6px 10px; border-radius: 999px; }
.lang button[aria-pressed="true"] { background: var(--teal-hi); color: #052b31; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(234, 246, 247, .25); background: none; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.burger i { display: block; height: 2px; background: var(--night-fg); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.open .burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .burger i:nth-child(2) { opacity: 0; }
.nav.open .burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1080px) {
  .burger { display: flex; }
  .links { position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; padding: 12px 20px 22px; gap: 2px;
    background: rgba(6, 19, 26, .97); backdrop-filter: blur(14px); transform: translateY(-120%); transition: transform .3s; margin: 0; }
  .nav.open .links { transform: none; }
  .links a { padding: 12px 14px; font-size: 16px; }
  .nav-tools { margin-left: auto; }
}

/* ── hero ── */
.hero { position: relative; min-height: max(760px, 100svh); color: var(--night-fg); overflow: hidden; padding: calc(var(--nav-h) + 48px) 0 160px;
  background: radial-gradient(ellipse 60% 60% at 70% 55%, rgba(40, 150, 160, .38), transparent 70%),
              radial-gradient(ellipse 50% 40% at 0% 0%, rgba(255, 214, 0, .08), transparent 70%),
              linear-gradient(180deg, #071820, #06131a 60%, #040d12); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(63, 212, 200, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 212, 200, .05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 40% 40%, #000 25%, transparent 80%); }
.hero-scene { position: absolute; z-index: 0; top: 0; bottom: 0; left: 34%; right: -8%;
  mask-image: linear-gradient(90deg, transparent, #000 22%), linear-gradient(180deg, #000 70%, transparent); mask-composite: intersect; cursor: grab; }
.hero-scene:active { cursor: grabbing; }
.hero-still { position: absolute; z-index: 0; right: 0; top: 50%; transform: translateY(-50%); width: min(62%, 900px); opacity: 0; transition: opacity .6s;
  mask-image: linear-gradient(90deg, transparent, #000 25%); pointer-events: none; }
.hero.still .hero-still { opacity: .9; }
.hero.still .sim { display: none; }
.hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; pointer-events: none; }
.hero-in > * { pointer-events: auto; }
.hero-copy { max-width: 680px; }
.hero h1 { font-size: clamp(36px, 4.9vw, 68px); line-height: 1.1; font-weight: 700; letter-spacing: -.015em; }
@media (min-width: 600px) { .hero h1 .nw { white-space: nowrap; } }
.hero h1 em { font-style: normal; color: var(--teal-hi); }
.hero h1 u { text-decoration: none; background: linear-gradient(transparent 64%, rgba(255, 214, 0, .4) 64%); }
.lede { font-size: clamp(16.5px, 1.5vw, 19.5px); color: var(--night-dim); max-width: 560px; margin-top: 22px; font-weight: 300; }
.awards-line { margin-top: 26px; font: 500 14px var(--f-display); color: #ffe36b; display: flex; gap: 10px; align-items: center; }
.star { color: var(--yellow); text-shadow: 0 0 12px rgba(255, 214, 0, .7); }

.sim { width: min(480px, 100%); display: grid; gap: 10px; }
.status { padding: 16px 18px; border-radius: 18px; background: rgba(9, 32, 42, .72); border: 1px solid rgba(120, 220, 225, .2); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px transparent, 0 20px 40px -26px #000; transition: box-shadow .3s; }
.hero.shaking .status { box-shadow: 0 0 0 2px var(--tone), 0 0 40px -6px var(--tone); }
.status-top { display: flex; align-items: center; gap: 12px; }
.status .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 25%, transparent), 0 0 16px var(--tone); flex: none; transition: background .3s; }
.status small, .isdr small { display: block; font-size: 12px; color: var(--night-dim); }
.status b { font: 600 19px/1.25 var(--f-display); }
.isdr { margin-left: auto; text-align: right; }
.isdr b { font: 500 18px var(--f-mono); color: #fff; }
.bar5 { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin-top: 12px; }
.bar5 i { height: 7px; border-radius: 3px; }
.bar5 i:nth-child(1) { background: var(--good); } .bar5 i:nth-child(2) { background: var(--warn); } .bar5 i:nth-child(3) { background: var(--orange); }
.bar5 i:nth-child(4) { background: var(--crit); } .bar5 i:nth-child(5) { background: var(--deep); }
#barMark { position: absolute; top: -4px; width: 4px; height: 15px; border-radius: 2px; background: #fff; box-shadow: 0 0 8px #fff; transform: translateX(-50%); transition: left .15s linear; }
.sim-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(9, 32, 42, .62); border: 1px solid rgba(120, 220, 225, .16); backdrop-filter: blur(10px); }
.sim-lbl { font: 500 13px var(--f-display); color: var(--night-dim); width: 100%; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .3); }
.seg button { border: 0; background: none; color: var(--night-dim); padding: 7px 13px; border-radius: 999px; font: 500 14px var(--f-display); }
.seg button[aria-pressed="true"] { background: rgba(63, 212, 200, .22); color: #b9fff6; box-shadow: inset 0 0 0 1px rgba(63, 212, 200, .5); }
.btn.go { margin-left: auto; padding: 9px 18px; background: var(--yellow); color: #2d2300; }
.btn.go:disabled { opacity: .5; cursor: default; }
.hint { margin: 0; font-size: 12.5px; color: var(--night-dim); }
.seis { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 120px; width: 100%; pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.toast { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right)); top: calc(var(--nav-h) + 16px + env(safe-area-inset-top, 0px)); width: min(380px, calc(100% - 32px));
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--fg);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); transform: translateY(-20px); opacity: 0; transition: transform .35s, opacity .35s; }
.toast.show { transform: none; opacity: 1; }
.toast img { border-radius: 7px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.toast b { display: block; font: 600 15px var(--f-display); }
.toast span { display: block; font-size: 14px; color: var(--dim); line-height: 1.5; }

/* ── stats ── */
.stats { position: relative; z-index: 3; margin-top: -64px; padding: 26px 30px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
  background: var(--paper); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(10, 40, 50, .45); border: 1px solid var(--line); }
.stat b { display: block; font: 700 clamp(32px, 3.4vw, 46px)/1 var(--f-display); color: var(--fg); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--dim); font-size: 14.5px; line-height: 1.35; }
.stat:nth-child(5) b { color: var(--teal); }

/* ── about ── */
.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.about-art { position: relative; }
.sensor-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #cfceca; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sensor-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.about-art:hover .sensor-frame img { transform: scale(1.07); }
.sensor-tag { position: absolute; left: 18px; bottom: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(6px);
  font: 500 13.5px var(--f-display); color: var(--fg); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .4); }
.sensor-tag b { color: var(--red); }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.spec > span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--night-fg); box-shadow: var(--shadow); }
.spec i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--teal-hi); background: rgba(63, 212, 200, .14); flex: none; }
.spec i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spec b { font: 500 14px/1.35 var(--f-display); }
.about-copy p { color: var(--dim); }
.about-copy b { color: var(--fg); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ── platform cards ── */
.platform { background: linear-gradient(180deg, var(--bg), #e9f2f3); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; padding: 24px 22px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 1px 0 rgba(0, 0, 0, .02); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(63, 212, 200, .14), transparent 60%); }
.card:hover { box-shadow: var(--shadow); } .card:hover::after { opacity: 1; }
.ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: var(--teal); margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(63, 212, 200, .22), rgba(63, 212, 200, .05)); border: 1px solid rgba(15, 140, 147, .25); }
.ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--dim); font-size: 15px; line-height: 1.65; }

/* ── how ── */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; --prog: 0; }
.flow-line { position: absolute; left: 0; right: 0; top: 30px; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.flow-line path { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 6 6; fill: none; vector-effect: non-scaling-stroke; }
.flow-line .pkt { fill: var(--teal); filter: drop-shadow(0 0 4px rgba(15, 140, 147, .8)); }
.step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; padding: 0 6px 18px; border: 0; background: none; color: var(--fg); text-align: center; }
.step .n { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font: 700 22px var(--f-display); background: var(--paper);
  border: 2px solid var(--line-strong); color: var(--dim); transition: all .3s; }
.step b { font: 600 16px/1.3 var(--f-display); }
.step.done .n { border-color: var(--teal); color: var(--teal); }
.step[aria-pressed="true"] .n { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 0 0 8px rgba(15, 140, 147, .14); transform: scale(1.06); }
.step-detail { margin-top: 18px; padding: 28px 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); min-height: 150px; }
.step-detail h3 { font-size: 22px; }
.step-detail p { color: var(--dim); max-width: 820px; }
.step-detail > div:not([hidden]) { animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* ── levels ── */
.levels { background: linear-gradient(180deg, #071820, #06131a); color: var(--night-fg); --wall: #dfe8ea; --frame: #7f9aa2; --ground: rgba(63, 212, 200, .08); --line-strong: rgba(63, 212, 200, .4); }
.levels-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.slider { display: flex; justify-content: space-between; align-items: baseline; margin-top: 30px; font: 500 15px var(--f-display); }
.slider b { font: 600 26px var(--f-mono); color: #fff; }
#drift { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 6px; margin-top: 12px;
  background: linear-gradient(90deg, var(--good) 0 6.67%, var(--warn) 6.67% 16.67%, var(--orange) 16.67% 50%, var(--crit) 50% 83.3%, var(--deep) 83.3%); }
#drift::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(0, 0, 0, .5); cursor: grab; }
#drift::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); box-shadow: 0 0 0 2px #fff; cursor: grab; }
.scale-row { position: relative; height: 20px; margin-top: 6px; font: 12px var(--f-mono); color: var(--night-dim); }
.scale-row span { position: absolute; transform: translateX(-50%); }
.scale-row span:nth-child(1) { left: 0; transform: none; } .scale-row span:nth-child(2) { left: 6.67%; } .scale-row span:nth-child(3) { left: 16.67%; }
.scale-row span:nth-child(4) { left: 50%; } .scale-row span:nth-child(5) { left: 83.3%; } .scale-row span:nth-child(6) { right: 0; left: auto; transform: none; }
.level-card { margin-top: 22px; padding: 18px 22px; border-radius: 18px; background: rgba(9, 32, 42, .7); border: 1px solid rgba(120, 220, 225, .16); border-left: 5px solid var(--tone); transition: border-color .3s; min-height: 150px; }
.level-card small { color: var(--night-dim); font-size: 13px; }
.level-card b { display: block; font: 600 24px/1.3 var(--f-display); color: var(--tone); transition: color .3s; filter: brightness(1.15); }
.level-card p { color: var(--night-dim); }
.levels-art svg { width: 100%; max-width: 420px; margin-inline: auto; display: block; overflow: visible; }

/* ── coverage ── */
.coverage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.cov-copy > p:not(.eyebrow):not(.legend) { color: var(--dim); font-size: 17.5px; }
.prov { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; }
.prov li { position: relative; display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: baseline; padding: 10px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; cursor: default; transition: border-color .2s, transform .2s; }
.prov li i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--teal); opacity: .7; }
.prov li b { font: 700 20px var(--f-display); color: var(--teal); } .prov li small { color: var(--faint); }
.prov li.hl { border-color: var(--teal); transform: translateX(4px); }
.legend { display: flex; gap: 20px; flex-wrap: wrap; color: var(--dim); font-size: 14px; margin-top: 18px; }
.legend > span { display: inline-flex; gap: 8px; align-items: center; }
.legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.lg-b { background: var(--teal); box-shadow: 0 0 0 4px rgba(15, 140, 147, .2); } .lg-s { background: #e0a800; }
.cov-map { position: relative; max-width: 420px; justify-self: center; width: 100%; }
#thmap { width: 100%; height: auto; display: block; }
.m-nb { fill: #e3ebec; stroke: #c8d6d9; stroke-width: .6; }
.m-land { fill: #d4ecee; stroke: var(--teal); stroke-width: 1; stroke-linejoin: round; }
.m-st { fill: #e0a800; opacity: .75; animation: twinkle 3.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes twinkle { 50% { opacity: .25; } }
.m-prov { cursor: pointer; }
.m-ring { fill: rgba(15, 140, 147, .16); stroke: rgba(15, 140, 147, .45); stroke-width: .8; transform-box: fill-box; transform-origin: center; animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.35); opacity: .45; } }
.m-dot { fill: var(--teal); stroke: #fff; stroke-width: 1.2; transition: r .2s; }
.m-prov.hl .m-dot { fill: var(--red); }
.maptip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 10px; font: 500 14px var(--f-display); white-space: nowrap; pointer-events: none; }

/* ── awards ── */
.awards { background: var(--paper); border-block: 1px solid var(--line); }
.aw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.aw { border-radius: 22px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.aw-gallery { position: relative; aspect-ratio: 16 / 10; background: #dfe8ea; overflow: hidden; cursor: pointer; }
.aw-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s, transform 5s ease-out; }
.aw-gallery img.on { opacity: 1; transform: scale(1); }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); }
.dots button[aria-pressed="true"] { background: #fff; width: 24px; border-radius: 6px; }
.aw-body { padding: 22px 24px 26px; }
.aw-body h3 { font-size: 26px; margin-top: 10px; }
.aw-body p { color: var(--dim); }
.tag { display: inline-block; font: 600 12.5px var(--f-display); padding: 5px 12px; border-radius: 999px; }
.tag.gold { background: #fff4c7; color: var(--gold); border: 1px solid #f1d77a; }
.link-btn { margin-top: 14px; border: 0; background: none; color: var(--teal); font: 600 15px var(--f-display); padding: 0; }
.link-btn:hover { text-decoration: underline; }
.media-h { margin: 46px 0 16px; font-size: 22px; }
.media { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vid { position: relative; display: block; padding: 0; border: 1px solid var(--line); background: var(--bg); border-radius: 16px; overflow: hidden; text-align: left; color: var(--fg); text-decoration: none; }
.vid img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; transition: transform .4s; }
.vid:hover img { transform: scale(1.05); }
.vid b { display: block; padding: 12px 14px 14px; font: 600 15px/1.4 var(--f-display); }
.play { position: absolute; left: 50%; top: 36%; width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(6, 19, 26, .72); backdrop-filter: blur(4px); }
.play::after { content: ""; position: absolute; left: 21px; top: 16px; border: 11px solid transparent; border-left: 17px solid #fff; border-right: 0; }
.vid:hover .play { background: var(--red); }

/* ── stations ── */
.st-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--night-fg);
  background: linear-gradient(135deg, #0b2430, #06131a); box-shadow: 0 30px 60px -36px rgba(6, 19, 26, .8); }
.st-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.st-card:hover img { transform: scale(1.04); }
.st-body { padding: 44px 40px; align-self: center; }
.st-body p:not(.eyebrow) { color: var(--night-dim); margin-bottom: 26px; }

/* ── team ── */
.people { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.person { text-align: center; padding: 24px 12px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.av { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font: 600 28px var(--f-display); color: #fff;
  background: linear-gradient(135deg, var(--teal), #0b5f66); box-shadow: 0 0 0 5px rgba(15, 140, 147, .12); }
.person:nth-child(3n+2) .av { background: linear-gradient(135deg, #c8102e, #8e0a00); box-shadow: 0 0 0 5px rgba(184, 12, 0, .1); }
.person:nth-child(3n+3) .av { background: linear-gradient(135deg, #e0a800, #a87400); box-shadow: 0 0 0 5px rgba(224, 168, 0, .14); }
.person b { font: 600 15px/1.4 var(--f-display); }

/* ── contact ── */
.contact { background: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(40, 150, 160, .3), transparent 70%), linear-gradient(180deg, #071820, #06131a); color: var(--night-fg); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cinfo { display: grid; gap: 14px; }
.ci { padding: 18px 20px; border-radius: 18px; background: rgba(9, 32, 42, .65); border: 1px solid rgba(120, 220, 225, .16); position: relative; }
.ci small { display: block; color: var(--teal-hi); font: 500 12.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.ci b { font: 600 19px var(--f-display); } .ci b a { color: inherit; text-decoration: none; }
.ci p { color: var(--night-dim); margin-top: 6px; }
.ci a { color: var(--teal-hi); }
.copy { position: absolute; right: 14px; top: 16px; border: 1px solid rgba(120, 220, 225, .3); background: none; color: var(--night-fg); padding: 5px 12px; border-radius: 999px; font: 500 13px var(--f-display); }

/* ── footer ── */
.foot { background: #040d12; color: var(--night-dim); padding-block: 40px calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; }
.foot-links a { color: var(--night-dim); text-decoration: none; font-size: 14.5px; } .foot-links a:hover { color: #fff; }
.copy-line { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }

/* ── video modal ── */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(2, 8, 12, .86); display: grid; place-items: center; padding: 20px; }
.modal-box { position: relative; width: min(1000px, 100%); }
.modal video { width: 100%; max-height: 80vh; border-radius: 14px; background: #000; }
.modal-x { position: absolute; right: -6px; top: -48px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; line-height: 1; }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.cards .card:nth-child(4n+2), .people .person:nth-child(even) { transition-delay: .08s; }
.cards .card:nth-child(4n+3) { transition-delay: .16s; } .cards .card:nth-child(4n+4) { transition-delay: .24s; }

/* ── responsive ── */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  section { padding-block: 72px; }
  .hero { padding-bottom: 130px; }
  .hero-in { gap: 24px; }
  .hero-scene { left: -10%; right: -30%; top: 34%; bottom: 0; mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
  .hero-copy { padding-bottom: 260px; }
  .sim { width: 100%; }
  .about, .levels-in, .coverage, .contact-in { grid-template-columns: 1fr; gap: 48px; }
  .about-art { max-width: 520px; margin-inline: auto; width: 100%; }
  .aw-grid { grid-template-columns: 1fr; }
  .st-card { grid-template-columns: 1fr; }
  .st-body { padding: 30px 26px; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .flow-line { display: none; }
  .foot-in { grid-template-columns: 1fr; } .foot-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand-txt small { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 22px; margin-top: -48px; }
  .cards, .media { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { grid-template-columns: 1fr; }
  .seg button { padding: 7px 10px; }
  .step-detail { padding: 22px; }
}
