:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: #17171a;
  --line: rgba(255,255,255,.09);
  --text: #f3f3f1;
  --muted: #a4a4aa;
  --accent: #ffc400;
  --accent-2: #ffd84d;
  --on-accent: #131000;
  --display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.05; }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-sub { color: var(--muted); font-size: 1.1rem; max-width: 560px; }

.display {
  font-family: var(--display);
  font-size: clamp(3.4rem, 9.5vw, 8.5rem);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-weight: 400;
}
.display em { font-style: normal; color: var(--accent); }
.display-md {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-weight: 400;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 6px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  font-family: var(--body); white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 0 8px 30px rgba(255,196,0,.18); }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 12px 36px rgba(255,196,0,.3); }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: #0b0b0c; color: #fff; border-color: #0b0b0c; }
.btn-dark:hover { background: #222; border-color: #222; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11,11,12,.82); backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 84px; }
.site-header.scrolled .header-inner { height: 70px; }
.brand-logo { height: 56px; width: auto; transition: height .3s; }
.site-header.scrolled .brand-logo { height: 46px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); position: relative; padding: 4px 0; transition: color .2s;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent); transition: width .25s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.header-cta { font-size: .9rem; }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 6px; padding: 8px; cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 12px 24px 24px;
  background: rgba(11,11,12,.96); border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { text-decoration: none; padding: 14px 0; font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { margin-top: 12px; border-bottom: 0; color: var(--on-accent); letter-spacing: .02em; text-transform: none; font-size: .95rem; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 120px; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: -12% 0; z-index: -3; will-change: transform; }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-scene image { filter: saturate(.85) brightness(.82); }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(11,11,12,.82) 0%, rgba(11,11,12,.45) 42%, rgba(11,11,12,.08) 100%),
    linear-gradient(180deg, rgba(11,11,12,.5) 0%, rgba(11,11,12,0) 22%, rgba(11,11,12,0) 55%, rgba(11,11,12,.97) 100%);
}
.wires path { fill: none; stroke-linecap: round; }
.wires .wire-base { stroke: rgba(255,214,90,.32); stroke-width: 1.5; }
.wires .wire-halo {
  stroke: rgba(255,196,0,.75); stroke-width: 10; filter: url(#glow-wide);
  stroke-dasharray: 90 2200; stroke-dashoffset: 2290;
  animation: current var(--dur, 6s) linear infinite; animation-delay: var(--delay, 0s);
}
.wires .wire-pulse {
  stroke: #fff1b3; stroke-width: 2.8; filter: url(#glow);
  stroke-dasharray: 90 2200; stroke-dashoffset: 2290;
  animation: current var(--dur, 6s) linear infinite; animation-delay: var(--delay, 0s);
}
.wires .wire-spark {
  stroke: #fff6cc; stroke-width: 1.2;
  stroke-dasharray: 6 14 3 2200; stroke-dashoffset: 2225;
  animation: current calc(var(--dur, 6s) * .55) linear infinite; animation-delay: calc(var(--delay, 0s) + 1.3s);
  opacity: .9;
}
@keyframes current { to { stroke-dashoffset: 0; } }
.hero-inner { position: relative; width: 100%; }
.hero .display { max-width: 980px; }
.hero .display { margin-bottom: 26px; }
.hero .display .line-in { display: block; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #d3d3d6; max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: #d9d9dc; font-size: .95rem; font-weight: 500; }
.hero-points li { position: relative; padding-left: 18px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--accent); border-radius: 2px; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1 } 60% { transform: translateY(14px); opacity: 0 } }

/* Ticker */
.ticker { background: var(--accent); color: var(--on-accent); overflow: hidden; padding: 14px 0; }
.ticker-track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  font-family: var(--display); font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase;
  animation: ticker 40s linear infinite;
}
.ticker-track i { font-style: normal; font-size: 1rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Intro */
.intro { background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro-copy p { color: #cfcfd3; font-size: 1.05rem; }
.stat-row { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-row li { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; }
.stat-row strong { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--accent); white-space: nowrap; }
.stat-row span { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.intro-figure { margin: 0; position: relative; }
.intro-figure img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.intro-figure::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--accent); border-radius: 8px; z-index: -1;
}
.regions-note { margin: 28px 0 0; color: var(--muted); }
.regions-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.regions-note a:hover { text-decoration: underline; }
.intro-figure figcaption {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(11,11,12,.85); backdrop-filter: blur(8px); padding: 14px 16px; border-radius: 6px;
  font-size: .9rem; border-left: 3px solid var(--accent);
}

/* Bento */
.capabilities { background: var(--bg-2); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: 10px; text-decoration: none; display: block;
  background: var(--surface); border: 1px solid var(--line);
}
.tile-lg { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.8) brightness(.8); }
.tile:hover img { transform: scale(1.06); filter: saturate(1) brightness(.9); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0) 30%, rgba(11,11,12,.92) 100%);
}
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 1; }
.tile-num { font-family: var(--display); color: var(--accent); font-size: 1.1rem; letter-spacing: .1em; }
.tile h3 { margin: 6px 0 8px; font-size: 1.3rem; }
.tile-lg h3 { font-size: 1.8rem; }
.tile p { color: #cfcfd3; font-size: .92rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.tile:hover p, .tile:focus-visible p, .tile-lg p { max-height: 120px; opacity: 1; }
.also { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.also p { margin: 0; color: var(--muted); font-weight: 600; font-size: .9rem; }
.also ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.also li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: #d9d9dc; }

/* Process */
.process { background: var(--bg); overflow: hidden; }
.steps {
  list-style: none; padding: 0; margin: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255,196,0,.15));
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease);
}
.steps.in::before { transform: scaleX(1); }
.step { position: relative; padding-top: 84px; }
.step-num {
  position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-family: var(--display); font-size: 1.5rem; letter-spacing: .05em;
  box-shadow: 0 0 0 8px var(--bg);
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Regions */
.regions { background: var(--bg-2); }
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.region { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.region img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.75); transition: transform .8s var(--ease), filter .5s; }
.region:hover img { transform: scale(1.06); filter: saturate(1) brightness(.85); }
.region::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.1) 0%, rgba(11,11,12,.9) 100%); }
.region-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.region-abbr {
  position: absolute; top: -190px; left: 18px; font-family: var(--display); font-size: 5.5rem;
  color: rgba(255,255,255,.12); letter-spacing: .05em; line-height: 1; pointer-events: none;
  transition: color .4s;
}
.region:hover .region-abbr { color: rgba(255,196,0,.55); }
.region h3 { font-size: 1.4rem; margin-bottom: 6px; }
.region p { color: #cfcfd3; font-size: .88rem; margin: 0; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--on-accent); padding: clamp(48px, 6vw, 80px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; }

/* Contact */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.contact-list .ci {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,196,0,.1); border: 1px solid rgba(255,196,0,.28); color: var(--accent);
  box-shadow: 0 0 24px rgba(255,196,0,.08);
}
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list li > div { display: grid; gap: 2px; }
.contact-list li > div > span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--accent); }
.contact-list b { font-weight: 600; }
.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 3vw, 36px);
  display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .85rem; color: #d9d9dc; }
input, select, textarea {
  font: inherit; color: var(--text); background: #0f0f11; border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px; padding: .8em .9em; width: 100%;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea { resize: vertical; }
::placeholder { color: #6f6f76; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 8px; font-size: .95rem; line-height: 1.5; }
.form-status.ok { display: block; background: rgba(255,196,0,.12); border: 1px solid rgba(255,196,0,.4); color: #fff1b3; }
.form-status.err { display: block; background: rgba(255,80,80,.1); border: 1px solid rgba(255,80,80,.4); color: #ffb3b3; }
.contact-form.sent .field, .contact-form.sent .field-row, .contact-form.sent #submitBtn, .contact-form.sent #formNote { display: none; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Footer */
.site-footer { background: #070708; border-top: 1px solid var(--line); padding: 64px 0 0; color: #bdbdc2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 80px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; margin: 0; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: .92rem; }
.footer-col h4 { font-family: var(--display); font-size: 1.2rem; letter-spacing: .08em; color: var(--accent); margin: 0 0 4px; }
.footer-col a { text-decoration: none; color: #e6e6e9; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 24px; border-top: 1px solid var(--line); font-size: .82rem; color: #7f7f86; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; text-decoration: none; border-bottom: 1px solid #3a3a40; }
.footer-bottom a:hover { color: #e6e6e9; border-color: var(--accent); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: calc(var(--i, 0) * 120ms); }
.bento .reveal, .region-grid .reveal, .steps .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wires .wire-halo, .wires .wire-pulse, .ticker-track, .scroll-cue span { animation: none; }
  .wires .wire-halo, .wires .wire-pulse { stroke-dasharray: none; opacity: .35; }
  .steps::before { transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .tile-lg { grid-column: span 2; grid-row: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-figure { order: -1; }
  .intro-figure img { aspect-ratio: 4 / 3; }
  .hero { padding: 120px 0 96px; }
  .tile p { max-height: 120px; opacity: 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .tile-lg, .tile-wide { grid-column: span 1; }
  .region-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .region { aspect-ratio: 4 / 5; }
  .region-abbr { font-size: 3.5rem; top: -120px; }
  .region h3 { font-size: 1.1rem; }
  .region p { display: none; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 14px; }
  .stat-row strong { font-size: 2rem; }
  .hero-actions .btn { width: 100%; }
  .ticker-track { font-size: 1.2rem; }
}
