/* ===== Tokens ===== */
:root {
  --bg: #0a1a33;
  --bg-2: #0d2142;
  --surface: rgba(140 180 255 / .06);
  --surface-2: rgba(140 180 255 / .11);
  --border: rgba(140 180 255 / .16);
  --text: #eef3fb;
  --muted: #9aaccb;
  --accent: #ffc400;
  --accent-2: #4da3ff;
  --accent-ink: #1a1400;
  --glow: rgba(255 196 0 / .35);
  --radius: 20px;
  --shadow: 0 20px 60px -20px rgba(2 8 20 / .7);
  --nav-bg: rgba(10 26 51 / .65);
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f7fc;
  --bg-2: #e6edf8;
  --surface: rgba(10 26 51 / .035);
  --surface-2: rgba(10 26 51 / .07);
  --border: rgba(10 26 51 / .12);
  --text: #0a1a33;
  --muted: #4c5d7a;
  --accent: #ffc400;
  --accent-2: #1f6fe0;
  --glow: rgba(255 196 0 / .35);
  --shadow: 0 20px 50px -25px rgba(10 26 51 / .3);
  --nav-bg: rgba(244 247 252 / .75);
  color-scheme: light;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
:root[data-theme="light"] .eyebrow, :root[data-theme="light"] .link-arrow, :root[data-theme="light"] .timeline time, :root[data-theme="light"] .machine .mtype, :root[data-theme="light"] .value span, :root[data-theme="light"] .contact-card a { color: #a36b00; }

/* ===== Progress & cursor ===== */
.progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
.cursor-glow {
  position: fixed; width: 500px; height: 500px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--glow), transparent 60%); opacity: .25;
  transform: translate(-50%, -50%); left: -999px; top: -999px; transition: opacity .3s; filter: blur(30px);
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px;
  font: 600 15px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .3s, background .3s;
}
.btn svg { font-size: 1.15em; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 var(--glow); }
.btn-primary:hover { box-shadow: 0 0 40px 4px var(--glow); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: .6em 1.1em; font-size: 14px; }
.icon-btn {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); cursor: pointer;
  text-decoration: none; font-size: 18px; transition: background .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.link-arrow { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }
.link-arrow:hover { text-decoration: underline; }
kbd { font: 500 11px var(--font); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1200px, calc(100% - 24px)); display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 20px; border-radius: 18px; border: 1px solid var(--border);
  background: var(--nav-bg); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.logo { display: flex; align-items: center; gap: 8px; font: 700 20px var(--display); letter-spacing: .04em; text-decoration: none; }
.logo .bolt { width: 24px; height: 24px; fill: var(--accent); stroke: none; filter: drop-shadow(0 0 8px var(--glow)); }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.kbd-btn { display: inline-flex; gap: 8px; }
.kbd-btn svg { font-size: 16px; }
#themeToggle .sun { display: none; }
:root[data-theme="light"] #themeToggle .sun { display: block; }
:root[data-theme="light"] #themeToggle .moon { display: none; }
.burger { display: none; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.burger span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 140px 16px 80px; overflow: hidden; isolation: isolate; }
#grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero-inner { max-width: 1000px; text-align: center; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(10px); margin-bottom: 28px;
}
.status-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 #34d39988; animation: ping 2s infinite; }
.status-chip.closed .dot { background: #f59e0b; animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
h1 { font-size: clamp(44px, 8.5vw, 108px); font-weight: 700; letter-spacing: -.045em; line-height: .98; margin-bottom: 28px; }
h1 .line { display: block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
h1 .line:nth-child(2) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } }
.spark {
  background: linear-gradient(100deg, var(--accent) 20%, #fff 45%, var(--accent-2) 70%, var(--accent));
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
:root[data-theme="light"] .spark { background-image: linear-gradient(100deg, #e0a100 20%, #ff7a00 45%, var(--accent-2) 70%, #e0a100); }
@keyframes shine { to { background-position: -250% 0; } }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 36px; animation: rise .9s .25s both; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: rise .9s .35s both; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 64px auto 0; max-width: 820px;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border);
  animation: rise .9s .5s both;
}
.stats > div { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(12px); padding: 20px 12px; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 4px 0 0; font: 700 38px var(--display); letter-spacing: -.03em; }
.stats small { font-size: 15px; color: var(--muted); margin-left: 4px; font-weight: 500; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; translate: -50%; width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ===== Partners marquee ===== */
.partners { padding: 32px 0 16px; text-align: center; }
.partners p { font-size: 13px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.track { display: flex; gap: 72px; width: max-content; animation: scroll 30s linear infinite; }
.track span { font: 700 26px var(--display); color: var(--muted); opacity: .6; letter-spacing: .02em; white-space: nowrap; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(calc(-50% - 36px)); } }

/* ===== Sections ===== */
.section { position: relative; z-index: 1; padding: 110px 16px; }
.section > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section.alt { background: var(--bg-2); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head h2 { font-size: clamp(32px, 5vw, 58px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 18px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 16px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Bento services ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transform-style: preserve-3d;
  transition: border-color .3s, transform .2s ease-out;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx) var(--my), var(--glow), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.card.big { grid-row: span 2; display: flex; flex-direction: column; }
.card.wide { grid-column: span 2; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 24px; font-size: 26px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.card h3 { font-size: 22px; }
.card.big h3 { font-size: 30px; }
.card p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 8px 0 0; list-style: none; }
.tags li { padding: 4px 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--border); background: var(--surface); }
.wire { width: 100%; height: 90px; margin-top: auto; overflow: visible; }
.wire path { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 10; animation: flow 1.2s linear infinite; filter: drop-shadow(0 0 6px var(--glow)); }
@keyframes flow { to { stroke-dashoffset: -32; } }
.badge-new { position: absolute; top: 24px; right: 24px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--accent-2); color: #021016; }

/* ===== About / Timeline ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.sticky { position: sticky; top: 120px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 32px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 40px 20px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-2); border: 3px solid var(--accent); }
.timeline li.now::before { background: var(--accent); box-shadow: 0 0 0 6px var(--glow); }
.timeline time { font: 700 14px var(--display); color: var(--accent); letter-spacing: .08em; }
.timeline h3 { font-size: 22px; margin: 4px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 80px; }
.value { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.value span { font: 700 14px var(--display); color: var(--accent); }
.value h3 { font-size: 20px; margin: 12px 0 8px; }
.value p { color: var(--muted); font-size: 14px; margin: 0; }

/* ===== Fleet ===== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 500 14px var(--font); cursor: pointer; transition: all .2s; }
.chip b { margin-left: 6px; color: var(--muted); font-weight: 600; }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.active b { color: var(--bg); opacity: .6; }
.fleet { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.machine {
  padding: 22px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface);
  transition: opacity .35s, transform .35s, border-color .2s; position: relative; overflow: hidden;
}
.machine:hover { border-color: var(--accent); }
.machine::after { content: ""; position: absolute; right: -20px; bottom: -20px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(var(--glow), transparent 70%); }
.machine .mtype { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 600; }
.machine h4 { font-size: 20px; margin: 8px 0 0; }
.machine.hide { display: none; }

/* ===== Certs ===== */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert { text-align: center; padding: 40px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.seal {
  width: 110px; height: 110px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
  font: 700 18px/1.1 var(--display); color: var(--accent);
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent)) border-box;
  border: 3px solid transparent; position: relative; isolation: isolate;
}
.seal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--bg-2); z-index: -1; }
.cert:hover .seal { animation: spin 1.2s cubic-bezier(.3,.7,.3,1); }
@keyframes spin { to { rotate: 360deg; } }
.cert h4 { font-size: 19px; }
.cert p { color: var(--muted); font-size: 14px; margin: 0; }

/* ===== Wizard ===== */
.wizard-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.wizard { padding: 32px; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); position: relative; }
.wizard-progress { height: 4px; border-radius: 4px; background: var(--surface-2); margin-bottom: 28px; overflow: hidden; }
.wizard-progress span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.active { display: block; animation: rise .5s both; }
legend { font: 600 20px var(--display); margin-bottom: 20px; padding: 0; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.options.cols-3 { grid-template-columns: repeat(3, 1fr); }
.options label { cursor: pointer; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options span { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); font-weight: 500; transition: all .2s; height: 100%; }
.options small { color: var(--muted); font-size: 12px; font-weight: 400; }
.options label:hover span { border-color: var(--muted); }
.options input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); box-shadow: 0 0 0 3px var(--glow); }
.options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg);
  color: var(--text); font: 16px var(--font); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.wizard-nav #wizNext { margin-left: auto; }
.form-error { color: #f87171; font-size: 14px; min-height: 1.2em; margin: 4px 0 0; }
.step.done { text-align: center; padding: 24px 0; }
.step.done.active { display: block; }
.done-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 40px var(--glow); animation: pop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { from { transform: scale(0); } }

/* ===== Contact ===== */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.person { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.person h4 { font-size: 17px; margin: 0; }
.person p { margin: 0; color: var(--muted); font-size: 14px; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font: 700 16px var(--display); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.person-actions { margin-left: auto; display: flex; gap: 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; }
.contact-card { padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-card b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.copy { margin-left: 8px; padding: 2px 8px; font-size: 12px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 340px; background: var(--surface); display: grid; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.map-placeholder { display: grid; place-items: center; place-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--muted); background: repeating-linear-gradient(45deg, transparent 0 20px, var(--surface) 20px 40px); }
.map-placeholder svg { font-size: 40px; color: var(--accent); }
.map-placeholder p { margin: 0; }

/* ===== Footer ===== */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 40px 16px 120px; color: var(--muted); font-size: 14px; }
.footer p { margin: 0; }
.footer a { color: inherit; }

/* ===== Callbar (mobile) ===== */
.callbar { display: none; }

/* ===== Palette ===== */
.palette {
  width: min(600px, calc(100% - 32px)); padding: 0; border-radius: 18px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); box-shadow: 0 40px 100px rgba(0 0 0 / .5); margin-top: 14vh;
}
.palette::backdrop { background: rgba(0 0 0 / .5); backdrop-filter: blur(6px); }
.palette[open] { animation: rise .25s both; }
.palette input { width: 100%; padding: 20px 22px; font: 17px var(--font); background: transparent; border: 0; border-bottom: 1px solid var(--border); color: var(--text); outline: none; }
.palette ul { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow: auto; }
.palette li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; cursor: pointer; }
.palette li small { color: var(--muted); }
.palette li[aria-selected="true"] { background: var(--surface-2); box-shadow: inset 3px 0 var(--accent); }
.palette footer { display: flex; gap: 8px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }

/* ===== Toast ===== */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; z-index: 200; padding: 12px 20px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 500; font-size: 14px; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s, visibility .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ===== Theme view transition ===== */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 12px;
    border-radius: 18px; border: 1px solid var(--border); background: var(--bg-2); box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 14px; font-size: 17px; }
  .burger { display: inline-flex; }
  .kbd-btn kbd { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.big { grid-row: auto; grid-column: span 2; }
  .split, .wizard-wrap, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .sticky { position: static; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values .value:last-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .nav { padding: 8px 8px 8px 14px; gap: 8px; }
  .nav-actions .btn-sm { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats dd { font-size: 30px; }
  .bento, .certs, .people, .grid-2 { grid-template-columns: 1fr; }
  .card.big, .card.wide { grid-column: auto; }
  .card { padding: 24px; }
  .values { grid-template-columns: 1fr; }
  .values .value:last-child { grid-column: auto; }
  .options, .options.cols-3 { grid-template-columns: 1fr 1fr; }
  .wizard { padding: 22px; }
  .section { padding: 80px 16px; }
  .scroll-hint { display: none; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; z-index: 60; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom)); padding: 8px; border-radius: 18px; border: 1px solid var(--border);
    background: var(--nav-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  }
  .callbar .btn { justify-content: center; }
  .toast { bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== A kezdetek ===== */
.origins { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; margin-bottom: 110px; }
.origins-year {
  font: 700 clamp(90px, 16vw, 220px)/.85 var(--display); letter-spacing: -.06em;
  writing-mode: vertical-rl; transform: rotate(180deg);
  background: linear-gradient(180deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}
.founder-quote { margin: 0 0 28px; padding: 0; }
.founder-quote p { font: 600 clamp(24px, 3.2vw, 40px)/1.25 var(--display); letter-spacing: -.02em; margin: 0 0 24px; }
.founder-quote mark { background: linear-gradient(transparent 62%, var(--glow) 62%); color: inherit; padding: 0 .1em; }
.founder-quote footer { display: flex; align-items: center; gap: 14px; }
.founder-quote footer b { display: block; font-family: var(--display); font-size: 17px; }
.founder-quote footer span { color: var(--muted); font-size: 14px; }
.origins-text { color: var(--muted); font-size: 18px; max-width: 720px; }
.origins-text b { color: var(--text); }
.growth { display: flex; align-items: center; gap: 24px; margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); max-width: 720px; }
.growth-col { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
.growth-col:last-child { flex: 1; }
.growth-num { font: 700 44px/1 var(--display); color: var(--accent); }
.growth-lbl { color: var(--muted); font-size: 14px; }
.growth-arrow { width: 60px; height: 24px; color: var(--muted); flex: none; }
.people-dots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.people-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); transition: background .3s, box-shadow .3s, transform .3s; transform: scale(.4); }
.people-dots.lit i { background: var(--accent); box-shadow: 0 0 10px var(--glow); transform: none; }
@media (max-width: 1000px) {
  .origins { grid-template-columns: 1fr; gap: 16px; margin-bottom: 80px; }
  .origins-year { writing-mode: horizontal-tb; transform: none; font-size: clamp(72px, 22vw, 140px); }
}
@media (max-width: 640px) {
  .growth { flex-direction: column; align-items: stretch; gap: 16px; }
  .growth-arrow { transform: rotate(90deg); align-self: center; }
}

/* ===== Erősáram ===== */
.hv { overflow: hidden; }
.stripes {
  position: absolute; inset: 0 0 auto; height: 10px; max-width: none !important;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 18px, #111 18px 36px);
  background-size: 51px 100%; animation: stripes 1.6s linear infinite;
}
@keyframes stripes { to { background-position: 51px 0; } }
.hv-head { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1200px !important; }
.hv-head > div { max-width: 760px; }
.hazard-sign { width: 110px; height: 100px; flex: none; filter: drop-shadow(0 0 24px var(--glow)); animation: hz-pulse 3s ease-in-out infinite; }
.hz-tri { fill: var(--accent); stroke: #111; stroke-width: 6; stroke-linejoin: round; }
.hz-bolt { fill: #111; stroke: none; }
@keyframes hz-pulse { 50% { filter: drop-shadow(0 0 40px var(--glow)); } 52% { filter: drop-shadow(0 0 4px var(--glow)); } 54% { filter: drop-shadow(0 0 40px var(--glow)); } }

/* Energia útja */
.chain { display: flex; align-items: stretch; }
.chain-node {
  flex: 1 1 0; min-width: 0; padding: 20px 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface);
  text-align: center; position: relative; transition: transform .3s, border-color .3s;
}
.chain-node:hover { transform: translateY(-4px); }
.chain-node.ours { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent), 0 10px 40px -20px var(--glow); }
.cn-icon { width: 48px; height: 48px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 14px; font-size: 26px; color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 12%, transparent); }
.chain-node.ours .cn-icon { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.volt { display: inline-block; font: 700 13px var(--display); padding: 3px 10px; border-radius: 999px; background: var(--text); color: var(--bg); margin-bottom: 8px; letter-spacing: .02em; }
.chain-node h4 { font-size: 17px; margin: 0 0 4px; }
.chain-node p { font-size: 13px; color: var(--muted); margin: 0; }
.chain-link { flex: 0 0 56px; position: relative; display: grid; place-items: center; }
.chain-link i {
  position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 20px); background-size: 20px 100%;
  animation: current .8s linear infinite; filter: drop-shadow(0 0 6px var(--glow));
}
.chain-link.fast i { height: 6px; margin-top: -3px; animation-duration: .35s; background-image: repeating-linear-gradient(90deg, var(--accent-2) 0 10px, transparent 10px 20px); filter: drop-shadow(0 0 8px var(--accent-2)); }
.chain-link.slow i { height: 3px; animation-duration: 1.2s; }
.chain-link span { position: relative; top: -18px; font: 600 11px var(--display); color: var(--muted); white-space: nowrap; }
@keyframes current { to { background-position: 20px 0; } }
@keyframes current-v { to { background-position: 0 20px; } }
.chain-legend { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin-top: 18px; }
.lg-box { flex: none; width: 22px; height: 14px; border-radius: 5px; border: 1.5px solid var(--accent); box-shadow: 0 0 10px var(--glow); }

/* Labor */
.lab { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-top: 56px; }
.lab-card { padding: 28px; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); min-width: 0; }
.lab-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.lab-top .eyebrow { margin-bottom: 6px; }
.lab-top h3 { font-size: 22px; margin: 0; }
.trafo { width: 100%; height: auto; display: block; margin: 8px 0 16px; overflow: visible; }
.trafo .core { stroke: rgba(0 0 0 / .35); stroke-width: 1; }
.laminations line { stroke: rgba(0 0 0 / .22); stroke-width: 1; }
.flux { fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-dasharray: 10 14; opacity: .85; animation: fluxflow var(--flux-speed, .9s) linear infinite; filter: drop-shadow(0 0 4px var(--accent-2)); }
@keyframes fluxflow { to { stroke-dashoffset: -24; } }
.coil ellipse { fill: none; stroke-width: 4.5; }
.coil-p ellipse { stroke: #c06a2b; }
.coil-s ellipse { stroke: #e3a63a; stroke-width: 7; }
.bushing line { stroke: #9aa2b1; stroke-width: 3; }
.discs ellipse { fill: #c9d3e0; stroke: #7d8696; stroke-width: 1; }
.hv-b .discs ellipse { fill: #a7c6d9; }
.arc { fill: none; stroke: #e6f7ff; stroke-width: 2.5; filter: url(#glowF) drop-shadow(0 0 8px #4da3ff); opacity: 0; }
.arc.on { opacity: 1; }
.tlabel { font: 600 11px var(--display); fill: var(--muted); letter-spacing: .14em; }
.tval { font: 700 15px var(--display); fill: var(--accent-2); }
.tval.sec { fill: var(--accent); }
.trafo.shake { animation: shake .25s; }
@keyframes shake { 25% { transform: translate(2px, -1px); } 50% { transform: translate(-2px, 1px); } 75% { transform: translate(1px, 1px); } }

.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.ctrl { display: block; }
.ctrl-wide { grid-column: 1 / -1; }
.ctrl-lbl { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.ctrl-lbl b { color: var(--text); font-family: var(--display); }
.seg { display: flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.seg button { flex: 1; padding: 8px 4px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer; transition: all .2s; white-space: nowrap; }
.seg button.on { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 16px var(--glow); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); outline: none; margin: 8px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 0 14px var(--glow); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); cursor: grab; }

.readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 14px; overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.readouts > div { background: var(--bg); padding: 12px 14px; min-width: 0; }
.readouts span { display: block; font-size: 12px; color: var(--muted); }
.readouts b { font: 700 22px var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.verdict { margin: 14px 0 0; font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 12px; }
.verdict.ok { color: #10b981; background: rgba(16 185 129 / .1); }
.verdict.warn { color: #f59e0b; background: rgba(245 158 11 / .12); }
.verdict.bad { color: #ef4444; background: rgba(239 68 68 / .1); }

/* Oszcilloszkóp */
.hz { font: 700 14px var(--display); padding: 6px 12px; border-radius: 10px; border: 1px solid var(--border); color: var(--accent-2); }
.scope-wrap {
  margin: 16px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: radial-gradient(ellipse at center, #0d1a14, #050806); box-shadow: inset 0 0 40px rgba(0 0 0 / .8);
}
#scope { display: block; width: 100%; height: 220px; }
.phases { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ph { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: 600 13px var(--font); cursor: pointer; opacity: .55; transition: all .2s; }
.ph.on { opacity: 1; color: var(--text); border-color: var(--muted); }
.ph small { font-weight: 400; color: var(--muted); }
.ph i { width: 12px; height: 12px; border-radius: 50%; }
.c-l1 { background: #a0592b; } .c-l2 { background: #111; box-shadow: 0 0 0 1px #888; } .c-l3 { background: #9ca3af; } .c-n { background: #2f7de1; }
.readouts.three b { font-size: 20px; }
.station-types { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.station-types li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); }
.station-types li::before { content: "⚡"; position: absolute; left: 0; }
.station-types b { color: var(--text); font-weight: 600; }

/* Biztonság */
.safety { margin-top: 56px; border-radius: 22px; overflow: hidden; border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.safety-stripes { height: 14px; background: repeating-linear-gradient(-45deg, var(--accent) 0 16px, #111 16px 32px); }
.safety-body { display: flex; gap: 20px; padding: 24px 28px; align-items: flex-start; }
.safety-ico { flex: none; width: 44px; height: 44px; color: var(--accent); stroke-width: 2; }
.safety h3 { font-size: 21px; margin-bottom: 6px; }
.safety p { margin: 0; color: var(--muted); }
.safety a { color: var(--text); text-decoration: none; border-bottom: 2px solid var(--accent); }
:root[data-theme="light"] .safety-ico { color: #a36b00; }

@media (max-width: 1000px) {
  .chain { flex-direction: column; }
  .chain-node { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; text-align: left; align-items: center; }
  .cn-icon { grid-row: 1 / 4; margin: 0; }
  .volt { justify-self: start; margin-bottom: 4px; }
  .chain-link { flex-basis: 40px; }
  .chain-link i, .chain-link.fast i, .chain-link.slow i {
    left: 39px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; margin: 0;
    background-image: repeating-linear-gradient(180deg, var(--accent) 0 10px, transparent 10px 20px); background-size: 100% 20px; animation-name: current-v;
  }
  .chain-link.fast i { width: 6px; left: 38px; background-image: repeating-linear-gradient(180deg, var(--accent-2) 0 10px, transparent 10px 20px); }
  .chain-link span { position: absolute; top: auto; left: 56px; }
  .lab { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hazard-sign { width: 70px; height: 64px; }
  .hv-head { align-items: flex-start; }
  .controls { grid-template-columns: 1fr; }
  .lab-card { padding: 20px; }
  .lab-top { flex-wrap: wrap; }
  .readouts b, .readouts.three b { font-size: 16px; }
  .readouts > div { padding: 10px; }
  .safety-body { flex-direction: column; gap: 12px; padding: 20px; }
}


/* ===== Munka közben: animációk ===== */
.works {
  --sky1: #081530; --sky2: #1e3a6b; --hill1: #18213a; --hill2: #1c2742; --ground: #1d2a1f; --grass: #2f6b3a;
  --soil: #3b2a1e; --topsoil: #2a1e15; --sand: #b89a5a; --trench: #5b4a3c; --fresh: #4a3526; --concrete: #9aa0aa;
  --river: #1b3a5c; --plant: #4a5160; --plant2: #5a6272; --metal: #8f98a8;
  margin-top: 56px; padding: 28px; border-radius: 24px; border: 1px solid var(--border); background: var(--surface);
}
:root[data-theme="light"] .works {
  --sky1: #9fd3ff; --sky2: #e6f4ff; --hill1: #b4d2a4; --hill2: #9cc48f; --ground: #7aa65a; --grass: #4f8f3a;
  --soil: #8a6446; --topsoil: #5e4330; --sand: #e2c88a; --trench: #c9b8a3; --fresh: #a17a59; --concrete: #c3c7cf;
  --river: #5aa7e0; --plant: #b9c0cc; --plant2: #a5adbb; --metal: #6f7887;
}
.works-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.works-head .eyebrow { margin-bottom: 6px; }
.works-head h3 { font-size: 26px; margin: 0; }
.works-tabs { flex-wrap: wrap; }
.works-tabs button { padding: 9px 14px; }
.works-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }
.stage { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--sky1); }
.scene { display: block; width: 100%; height: auto; stroke: none; }
.scene[hidden] { display: none; }
.stage-cap {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 7px 14px; border-radius: 999px;
  background: rgba(0 0 0 / .55); color: #fff; font: 600 13px var(--font); backdrop-filter: blur(8px); pointer-events: none;
}
.stage-cap:empty { display: none; }

.wsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: s; }
.wsteps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; color: var(--muted); font-size: 14px; transition: background .25s, color .25s; }
.wsteps li:hover { background: var(--surface-2); }
.wsteps .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--display); border: 1.5px solid var(--border); transition: all .25s; }
.wsteps li.done { color: var(--text); }
.wsteps li.done .n { background: color-mix(in srgb, var(--accent) 25%, transparent); border-color: transparent; }
.wsteps li.active { background: var(--surface-2); color: var(--text); font-weight: 600; }
.wsteps li.active .n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 14px var(--glow); }
.wctrl { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.wctrl input[type="range"] { flex: 1; margin: 0; }
.wtime { font: 600 13px var(--display); color: var(--muted); min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }

/* jelenet elemek */
.st-sky1 { stop-color: var(--sky1); } .st-sky2 { stop-color: var(--sky2); }
.scene .hill1 { fill: var(--hill1); } .scene .hill2 { fill: var(--hill2); }
.scene .ground { fill: var(--ground); } .scene .grass { fill: var(--grass); }
.scene .hole, .scene .trench { fill: var(--trench); }
.scene .pile, .scene .fresh { fill: var(--fresh); }
.scene .concrete { fill: var(--concrete); stroke: rgba(0 0 0 / .45); stroke-width: 1.2; }
.scene .arm { stroke: var(--metal); stroke-width: 4; stroke-linecap: round; }
.scene .ins { fill: #b9d3e6; stroke: #6d8597; stroke-width: 1; }
.scene .wire { fill: none; stroke: #7d8696; stroke-width: 1.6; }
.scene .wire.live { stroke: #e8f6ff; stroke-width: 1.8; filter: drop-shadow(0 0 3px #4da3ff); }
.scene .pulse { fill: #fff; filter: drop-shadow(0 0 5px #4da3ff) drop-shadow(0 0 2px #fff); }
.scene .pulse.big { fill: #fff6c2; filter: drop-shadow(0 0 10px #ffc400) drop-shadow(0 0 4px #fff); }
.scene .dust { fill: #c8a77e; }
.scene .chassis { fill: #2a2e36; } .scene .bed { fill: #4a505c; }
.scene .cab, .scene .exc { fill: var(--accent); stroke: rgba(0 0 0 / .3); stroke-width: 1; }
.scene .win { fill: #9fd6ff; opacity: .85; }
.scene .door { font: 700 7px var(--display); fill: #14120a; }
.scene .turret { fill: #3a3f4a; } .scene .lamp { fill: #ef4444; }
.scene .wheel circle:first-child { fill: #15171c; } .scene .hub { fill: #8b93a1; }
.scene .spoke { stroke: #555c68; stroke-width: 2; }
.scene .boom { stroke: var(--accent); stroke-width: 7; stroke-linecap: round; }
.scene .hook { stroke: #cbd2dc; stroke-width: 1.5; }
.scene .live-pill { fill: rgba(0 0 0 / .6); stroke: #4da3ff; stroke-width: 1; }
.scene .live-txt { font: 700 13px var(--display); fill: #fff; }

.scene .soil { fill: var(--soil); } .scene .topsoil { fill: var(--topsoil); }
.scene .pebbles circle { fill: rgba(0 0 0 / .25); }
.scene .sand { fill: var(--sand); } .scene .sand.cover { opacity: .85; }
.scene .cable { fill: none; stroke: #111; stroke-width: 8; stroke-linecap: round; }
.scene .cable-glow { fill: none; stroke: #ffc400; stroke-width: 3; filter: drop-shadow(0 0 6px #ffc400); }
.scene .tape { stroke: #e11d48; stroke-width: 6; stroke-dasharray: 16 6; }
.scene .stand { stroke: #6b7280; stroke-width: 3; stroke-linecap: round; }
.scene .roller { fill: #9ca3af; stroke: #4b5563; stroke-width: 1.5; }
.scene .drum { fill: #8b5a2b; stroke: #5a3a1a; stroke-width: 3; } .scene .drum-in { fill: #1c1c1c; }
.scene .track { fill: #23262d; }
.scene .exc-arm { stroke: var(--accent); stroke-width: 8; stroke-linecap: round; }
.scene .exc-arm.thin { stroke: #4b5563; stroke-width: 3; }
.scene .bucket { fill: #3a3f4a; }
.scene .dim { stroke: var(--text); stroke-width: 1.2; }
.scene .dim-txt, .scene .lbl { font: 600 11px var(--font); fill: var(--text); }
.scene .lead { stroke: var(--text); stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; }
.scene .callout-bg { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.scene .c-sheath { fill: #151515; } .scene .c-screen { fill: none; stroke: #c87533; stroke-width: 2; }
.scene .c-xlpe { fill: #f2f2f2; } .scene .c-cond { fill: #b9c0c9; stroke: #7d8696; stroke-width: 1; }

.scene .river { fill: var(--river); } .scene .wave { fill: none; stroke: rgba(255 255 255 / .35); stroke-width: 1.5; }
.scene .river-txt { font: italic 600 11px var(--font); fill: rgba(255 255 255 / .7); }
.scene .plant { fill: var(--plant); } .scene .plant2 { fill: var(--plant2); } .scene .roof { fill: #6b7383; }
.scene .stack { fill: #e5e7eb; } .scene .stack-band { fill: #dc2626; }
.scene .pwin { fill: #ffc400; opacity: .75; }
.scene .plant-txt { font: 700 22px var(--display); fill: rgba(255 255 255 / .85); letter-spacing: .12em; }
.scene .turb-win { fill: #0b0f18; stroke: #4da3ff; stroke-width: 1.5; }
.scene .blade { stroke: #4da3ff; stroke-width: 3; stroke-linecap: round; }
.scene .trafo-box { fill: #5d6675; stroke: #2e3440; stroke-width: 1.5; }
.scene .fins { stroke: #2e3440; stroke-width: 2; }
.scene .bush { stroke: #b9d3e6; stroke-width: 3; stroke-linecap: round; }
.scene .lattice { fill: none; stroke: var(--metal); stroke-width: 1.6; stroke-linejoin: round; }
.scene .fence { fill: rgba(127 127 127 / .08); stroke: var(--metal); stroke-width: 1.2; stroke-dasharray: 4 3; }
.scene .zone-lbl { font: 600 11px var(--font); fill: var(--text); opacity: .85; }
.scene .zone-lbl.big { font-size: 14px; font-weight: 700; }
.scene .lavill-zone { fill: rgba(255 214 10 / .08); stroke: var(--accent); stroke-width: 2; stroke-dasharray: 8 5; }
.scene .zone-txt { font: 700 13px var(--display); fill: var(--accent); }
:root[data-theme="light"] .scene .zone-txt { fill: #a36b00; }
.scene .tree rect { fill: #5b4030; } .scene .tree circle { fill: #2f6b3a; }
:root[data-theme="light"] .scene .tree circle { fill: #3f8a3a; }
.scene .cloud ellipse { fill: rgba(255 255 255 / .12); }
:root[data-theme="light"] .scene .cloud ellipse { fill: rgba(255 255 255 / .85); }
.scene .lvpole { stroke: var(--concrete); stroke-width: 5; }
.scene .lamp-head { fill: #555; } .scene .lamp-head.lit { fill: #fff3b0; filter: drop-shadow(0 0 8px #ffc400); }
.scene .lamp-cone { fill: #ffe98a; }
.scene .house { fill: #e9e2d0; stroke: #8a7f69; stroke-width: 1; } .scene .roof-h { fill: #b2452e; } .scene .chimney { fill: #8a3a28; }
.scene .door-h { fill: #6b4a2f; }
.scene .hwin { fill: #2b3442; transition: fill .4s; }
.scene .hwin.lit { fill: #ffe27a; filter: drop-shadow(0 0 10px #ffc400); }
.scene .hud { fill: rgba(0 0 0 / .62); stroke: rgba(255 255 255 / .15); }
.scene .hud-big { font: 700 22px var(--display); fill: #ffc400; }
.scene .hud-small { font: 500 11px var(--font); fill: #fff; opacity: .85; }
.scene .minimap .hud-small { fill: var(--text); }
.scene .mm-track { fill: rgba(127 127 127 / .35); } .scene .mm-fill { fill: #ffc400; }

@media (max-width: 1000px) {
  .works-body { grid-template-columns: 1fr; }
  .wsteps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .works { padding: 16px; }
  .works-tabs { width: 100%; }
  .works-tabs button { flex: 1 1 100%; }
  .wsteps { grid-template-columns: 1fr; }
  .wsteps li { padding: 8px 10px; font-size: 13px; }
  .stage-cap { font-size: 11px; padding: 5px 10px; left: 8px; bottom: 8px; }
}
