/* DX Mongolia — static site styles */
:root {
  --bg: #060a18;
  --bg-2: #0a1024;
  --surface: #0f1631;
  --surface-2: #141c3c;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #e9edf7;
  --muted: #9ca7c3;
  --soft: #c9d1e6;
  --cyan: #4cc9f0;
  --blue: #4361ee;
  --amber: #f7a531;
  --amber-2: #ffcf3f;
  --radius: 18px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
  --font-ja: "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[lang="ja"], .lscope[data-lang="ja"] { font-family: var(--font), var(--font-ja); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.16; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cyan); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* ---------- language visibility ---------- */
html[data-lang="en"] [data-l]:not([data-l="en"]):not(.lscope [data-l]),
html[data-lang="mn"] [data-l]:not([data-l="mn"]):not(.lscope [data-l]),
html[data-lang="ja"] [data-l]:not([data-l="ja"]):not(.lscope [data-l]),
.lscope[data-lang="en"] [data-l]:not([data-l="en"]),
.lscope[data-lang="mn"] [data-l]:not([data-l="mn"]),
.lscope[data-lang="ja"] [data-l]:not([data-l="ja"]) { display: none !important; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 68px;
  background: rgba(6, 10, 24, .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(6, 10, 24, .9); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; filter: invert(1); }
.brand-name { font-size: 17px; letter-spacing: .04em; font-variant: small-caps; font-weight: 600; }
.brand-name b { font-weight: 800; font-variant: normal; margin-right: .2em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--muted); font-size: 14.5px; font-weight: 600; padding: 8px 11px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); text-decoration: none; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; flex: none; }
.lang button { font: 700 12.5px var(--font); color: var(--muted); background: none; border: 0; cursor: pointer; padding: 5px 10px; border-radius: 999px; letter-spacing: .03em; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; flex: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; box-shadow: 0 10px 30px -10px rgba(67, 97, 238, .8); }
.btn-amber { background: var(--amber-2); color: #1a1205; box-shadow: 0 10px 30px -12px rgba(255, 207, 63, .7); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--text); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow.amber { color: var(--amber-2); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.tag-new { color: var(--amber-2) !important; border-color: rgba(255, 207, 63, .45) !important; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--soft); }
.chips.center { justify-content: center; }
.source { margin-top: 28px; font-size: 13px; color: var(--muted); }
.source a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 104px 0 72px; overflow: hidden; isolation: isolate; }
.hero canvas#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3;
  background: radial-gradient(55% 60% at 75% 45%, rgba(67, 97, 238, .28), transparent 70%), radial-gradient(45% 45% at 10% 90%, rgba(76, 201, 240, .12), transparent 70%), var(--bg); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.globe { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1.2s ease; }
.globe.ready { opacity: 1; }
.globe canvas { width: 100% !important; height: 100% !important; display: block; }
.city-label { position: absolute; left: 0; top: 0; pointer-events: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd27a; white-space: nowrap; opacity: 0; transition: opacity .4s; margin: -28px 0 0 12px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.city-label.jp { color: var(--cyan); margin: 8px 0 0 10px; }
.city-label.on { opacity: 1; }
.hero-inner { position: relative; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: var(--soft); font-size: 14px; font-weight: 600; margin-bottom: 26px; backdrop-filter: blur(6px); }
.announce:hover { text-decoration: none; border-color: rgba(255, 207, 63, .6); color: var(--text); }
.announce-tag { background: var(--amber-2); color: #1a1205; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; }
.hero h1 { font-size: clamp(42px, 7.2vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin-bottom: 24px; max-width: 12.5ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan), #8fa8ff 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--soft); max-width: 46ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 150px)); gap: 26px; margin: 56px 0 0; }
.kpis div { border-left: 2px solid var(--line-2); padding-left: 14px; }
.kpis dt { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.kpis dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(76px, 10vw, 128px) 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.section-head h2 em, .h2 em { font-style: normal; color: var(--cyan); }
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }
.sub { font-size: 20px; font-weight: 800; margin: 48px 0 18px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: border-color .25s, transform .25s, background .25s; }
.card:hover { border-color: var(--line-2); }
.card h3 { font-size: 21px; font-weight: 800; }
.card p { color: var(--muted); font-size: 15.5px; }

/* about */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(76, 201, 240, .18), rgba(67, 97, 238, .18)); color: var(--cyan); }
.svc-icon svg { width: 24px; height: 24px; }
.quote { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.quote img { border-radius: 24px; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.quote figure { margin: 0; }
.quote blockquote { margin: 0; font-size: clamp(18px, 2.1vw, 23px); line-height: 1.55; font-weight: 600; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 72px; line-height: .6; color: var(--amber); margin-bottom: 8px; font-family: Georgia, serif; }
.quote figcaption { margin-top: 20px; }
.quote figcaption b { display: block; font-size: 16.5px; }
.quote figcaption > span { color: var(--muted); font-size: 14.5px; }

/* programs */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.programs.minor { margin-top: 16px; }
.program { position: relative; overflow: hidden; display: flex; flex-direction: column; color: inherit; }
.program:hover { text-decoration: none; }
a.program:hover { transform: translateY(-4px); background: var(--surface-2); }
.program::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(rgba(76, 201, 240, .14), transparent 70%); pointer-events: none; }
.program .tag { color: var(--cyan); border-color: rgba(76, 201, 240, .35); align-self: flex-start; }
.program h3 { margin-top: 16px; }
.program p { flex: 1; }
.program .more { font-weight: 700; font-size: 14.5px; color: var(--cyan); }
.programs.minor .card { padding: 22px; }
.programs.minor h3 { font-size: 18px; }
.programs.minor p { font-size: 14.5px; margin: 0; }

/* DX Cup */
.cup-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.cup-top .section-head { margin-bottom: 0; }
.tabs { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.tabs button { font: 700 14px var(--font); color: var(--muted); background: none; border: 0; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--amber); color: #1a1205; }
.timeline { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
.timeline button { width: 100%; text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer; display: grid; gap: 2px; transition: border-color .2s, background .2s; position: relative; }
.timeline button:hover { border-color: var(--line-2); }
.timeline button[aria-selected="true"] { border-color: var(--amber); background: linear-gradient(180deg, rgba(247, 165, 49, .12), var(--surface)); }
.timeline button[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; background: var(--amber); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.tl-date { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.timeline b { font-size: 18px; }
.tl-meta { font-size: 13px; color: var(--muted); }
.ed-title { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.ed-title small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.cup-banner { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 36px; }
.cup-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.prose p { color: var(--soft); }
.prose.narrow { max-width: 760px; }
.edition:not([data-panel="w2024"]) .cup-body { grid-template-columns: 1fr; gap: 8px; }
.edition:not([data-panel="w2024"]) .prose { max-width: 820px; }
.note { font-size: 14px; color: var(--muted) !important; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 90px; }
.facts h3 { font-size: 18px; margin-bottom: 16px; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.facts dd { margin: 2px 0 0; font-size: 14.5px; color: var(--soft); }
.facts ul { margin: 0; padding-left: 18px; }
.big-num { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 26px; }
.big-num div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.big-num b { display: block; font-size: 28px; font-weight: 800; color: var(--amber); letter-spacing: -.02em; }
.big-num div > span { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
tr:last-child td { border-bottom: 0; }
td.award { white-space: nowrap; font-weight: 800; color: var(--amber); }
td .school { display: block; color: var(--muted); font-size: 13.5px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--surface); aspect-ratio: 16 / 10.5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(3, 5, 12, .88); }
dialog.lightbox img { max-height: 88vh; width: auto; border-radius: 12px; }
dialog.lightbox .close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .5); color: #fff; font-size: 22px; cursor: pointer; }

/* open data */
.steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.steps li { padding: 22px 22px 24px; display: grid; gap: 4px; align-content: start; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: 12px; font-weight: 800; color: var(--cyan); letter-spacing: .1em; }
.step-date { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); }
.steps b { font-size: 17px; }
.steps li > span:last-child { color: var(--muted); font-size: 14px; line-height: 1.5; }
.poc { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; }
.poc .tag { color: var(--amber); border-color: rgba(247, 165, 49, .4); }
.poc h3 { margin-top: 14px; }
.insight { background: linear-gradient(160deg, rgba(76, 201, 240, .1), var(--surface) 60%); }
.insight ul { margin: 14px 0 0; padding-left: 18px; color: var(--soft); font-size: 15px; display: grid; gap: 10px; }

/* aerospace */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(67, 97, 238, .45); }
.feature .h2 { font-size: clamp(26px, 3.2vw, 38px); }
.meta { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.meta li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--muted); }
.meta svg { width: 20px; height: 20px; color: var(--cyan); margin-top: 3px; }
.meta strong { color: var(--text); }
.video-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-row.single { grid-template-columns: minmax(0, 420px); margin-top: 28px; }
.yt { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; cursor: pointer; text-align: left; font: inherit; color: #fff; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .5s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .85)); pointer-events: none; }
.play { position: absolute; left: 50%; top: 42%; width: 58px; height: 40px; translate: -50% -50%; border-radius: 12px; background: rgba(255, 0, 0, .9); z-index: 1; transition: transform .2s; }
.play::before { content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.yt:hover .play { transform: scale(1.08); }
.yt-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: grid; gap: 2px; }
.yt-cap b { font-size: 14.5px; line-height: 1.3; }
.yt-cap > span { font-size: 12.5px; color: #c9d1e6; }
.yt-live { cursor: default; }
.yt-live::after { display: none; }
.yt-live iframe { width: 100%; height: 100%; border: 0; display: block; }

/* training */
.training { background: radial-gradient(60% 50% at 0% 30%, rgba(255, 207, 63, .08), transparent 70%), #0b0d14; border-block: 1px solid var(--line); }
.training-grid { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.promo { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 207, 63, .3); box-shadow: 0 30px 70px -30px rgba(255, 207, 63, .35); background: #000; }
.promo video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lead-sm { font-size: 18px; color: var(--soft); }
.training .big-num b { color: var(--amber-2); }
.facts-inline { margin: 0 0 28px; display: grid; gap: 10px; }
.facts-inline div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.facts-inline dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--amber-2); padding-top: 3px; }
.facts-inline dd { margin: 0; color: var(--soft); }
.sessions-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: clamp(48px, 6vw, 72px); }
.sessions { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 4px; }
.sessions::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; border-left: 2px dashed rgba(255, 207, 63, .5); }
.sessions li { position: relative; display: grid; grid-template-columns: 30px 120px 1fr; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sessions li::before { content: ""; position: absolute; left: -27px; top: 16px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--amber-2); background: #0b0d14; }
.sessions li.demo::before { background: var(--amber-2); }
.sessions .sn { font-size: 12px; font-weight: 800; color: var(--muted); }
.sessions b { font-size: 19px; font-weight: 800; }
.sessions li.demo b { color: var(--amber-2); }
.sessions li > span:last-child { color: var(--muted); font-size: 14.5px; }
.build h3 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-2); margin: 0 0 14px; }
.build h3 + .ticks { margin-bottom: 30px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; display: grid; gap: 2px; color: var(--soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 5px; background: var(--amber-2); color: #1a1205; font-size: 13px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.ticks b { color: var(--text); }
.ticks li > span { font-size: 14.5px; color: var(--muted); }
.ticks.small li { font-size: 15px; }

/* board */
.board { --cols: 5; --gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.board img { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; border-radius: 16px; aspect-ratio: 1; object-fit: cover; filter: grayscale(.85) contrast(1.05); transition: filter .35s, transform .35s; border: 1px solid var(--line); }
.board img:hover { filter: none; transform: translateY(-3px); }

/* partners */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.partner { background: #fff; border-radius: 14px; height: 96px; display: grid; place-items: center; padding: 16px 20px; }
.partner img { max-height: 54px; width: auto; object-fit: contain; }
.worked-with { text-align: center; margin: 40px 0 16px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* contact */
.contact { border-radius: 28px; padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden;
  background: radial-gradient(70% 120% at 100% 0%, rgba(67, 97, 238, .45), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(76, 201, 240, .22), transparent 60%), var(--surface);
  border: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.contact p { color: var(--soft); font-size: 17px; margin-bottom: 26px; }
.contact .addr { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact .addr li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--soft); font-size: 15.5px; }
.contact .addr svg { width: 20px; height: 20px; color: var(--cyan); margin-top: 3px; }
.contact .addr a { color: var(--text); font-weight: 700; }

/* contact form */
.cform { display: grid; gap: 14px; background: rgba(6, 10, 24, .55); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(20px, 3vw, 28px); backdrop-filter: blur(6px); }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--soft); }
.cform input, .cform select, .cform textarea { width: 100%; font: 500 15px var(--font); color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.cform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.cform select option { background: var(--surface); }
.cform textarea { resize: vertical; min-height: 120px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--cyan); background: rgba(76, 201, 240, .06); }
.cform button { justify-self: start; border: 0; cursor: pointer; font-family: var(--font); }
.cform button[disabled] { opacity: .6; cursor: progress; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-status { margin: 0; font-size: 14.5px; min-height: 1px; }
.cform-status .st { display: none; }
.cform[data-state="ok"] .st-ok { display: inline; color: #7ee2a8; }
.cform[data-state="error"] .st-err { display: inline; color: #ff9b8a; }
.cform[data-state="invalid"] .st-invalid { display: inline; color: var(--amber-2); }

/* footer */
.site-footer { padding: 48px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer nav a { color: var(--muted); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 22px;
    background: #070b1a; box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .7); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; }
  .nav a { font-size: 17px; padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-btn { display: block; }
  .lang { margin-left: auto; }
  .programs { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .poc { grid-template-columns: 1fr 1fr; }
  .poc .insight { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .feature, .cup-body, .contact, .training-grid, .sessions-wrap { grid-template-columns: 1fr; }
  .cform .row { grid-template-columns: 1fr; }
  .training-grid .promo { max-width: 380px; }
  .facts { position: static; }
  .quote { grid-template-columns: 150px 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .video-row { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline button[aria-selected="true"]::after { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 180px)); gap: 20px 26px; }
}
@media (max-width: 640px) {
  .programs, .poc, .video-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .board { --cols: 4; --gap: 10px; }
  .board img { border-radius: 12px; }
  .partners { grid-template-columns: 1fr 1fr; }
  .partner { height: 80px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote img { width: 140px; }
  .big-num b { font-size: 22px; }
  .brand-name { font-size: 15px; }
  .cup-top .tabs { width: 100%; justify-content: space-between; }
  .cup-top .tabs button { flex: 1; padding: 8px 6px; }
  .timeline button { padding: 12px 14px; }
  .timeline b { font-size: 15.5px; }
  .hero { align-items: flex-start; padding-top: 100px; }
  .globe canvas { opacity: .55; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .kpis dt { font-size: 24px; }
  .announce { font-size: 13px; }
  .sessions li { grid-template-columns: 26px 1fr; }
  .sessions li > span:last-child { grid-column: 2; }
  .scroll-cue { display: none; }
  table, thead, tbody, tr, td { display: block; min-width: 0; }
  thead { display: none; }
  .table-wrap { border: 0; overflow: visible; }
  tbody { display: grid; gap: 12px; }
  tr { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
  td { padding: 0; border: 0; }
  td.award { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
  td + td + td { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
