:root {
  --bg: #0b0c0e;
  --bg-2: #14161a;
  --bg-3: #1c1f24;
  --fg: #f4f4f2;
  --muted: #a3a7ad;
  --line: #2a2e35;
  --volt: #e4ff1a;
  --volt-ink: #0b0c0e;
  --danger: #ff6b5e;
  --radius: 6px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { padding: 0 clamp(16px, 5vw, 72px); }
.kicker {
  font-family: var(--head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 1rem;
  display: block;
}
.muted { color: var(--muted); }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 5vw, 72px);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: rgba(11, 12, 14, .92); backdrop-filter: blur(8px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand span { font-family: var(--head); font-weight: 800; letter-spacing: .04em; font-size: 1rem; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .92rem; color: var(--fg); opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--volt); }
.nav .btn { opacity: 1; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: var(--radius); padding: 8px 12px; font: 600 .9rem var(--head); cursor: pointer; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--volt); color: var(--volt-ink);
  font-family: var(--head); font-weight: 800; font-size: .95rem;
  padding: 14px 24px; border-radius: var(--radius); border: 0;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(228, 255, 26, .5);
  transition: transform .15s, box-shadow .3s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 28px 2px rgba(228, 255, 26, .35); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-small { padding: 10px 16px; font-size: .85rem; }
.nav a.btn, .nav a.btn:hover { color: var(--volt-ink); }
.text-link { font-family: var(--head); font-weight: 700; color: var(--volt); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center 60%;
  transform: scale(1.12);
  animation: drift 18s ease-out forwards;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(228, 255, 26, .08), transparent 55%),
    linear-gradient(180deg, rgba(11, 12, 14, .55) 0%, rgba(11, 12, 14, .25) 40%, rgba(11, 12, 14, .95) 100%);
}
@keyframes drift { to { transform: scale(1); } }
.hero-inner {
  display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: clamp(24px, 5vw, 72px);
  align-items: center; padding-top: 120px; padding-bottom: clamp(48px, 9vh, 110px);
}
.hero-logo { position: relative; }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 0 0 rgba(228, 255, 26, 0)); }
.hero-logo .reveal {
  -webkit-mask-image: linear-gradient(100deg, #000 45%, transparent 55%);
  mask-image: linear-gradient(100deg, #000 45%, transparent 55%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: wipe 1.6s cubic-bezier(.6, 0, .2, 1) .3s forwards, powerOn 1.4s steps(1) 1.9s forwards, glow 4s ease-in-out 3.3s infinite;
}
@keyframes wipe { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes powerOn {
  0% { opacity: 1; } 8% { opacity: .35; } 14% { opacity: 1; } 22% { opacity: .5; } 28% { opacity: 1; }
  100% { opacity: 1; filter: drop-shadow(0 0 22px rgba(228, 255, 26, .35)); }
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(228, 255, 26, .25)); }
  50% { filter: drop-shadow(0 0 34px rgba(228, 255, 26, .5)); }
}
.spark {
  position: absolute; top: 0; bottom: 0; width: 3px; left: -10%;
  background: linear-gradient(180deg, transparent, var(--volt), #fff, var(--volt), transparent);
  box-shadow: 0 0 18px 6px rgba(228, 255, 26, .6);
  opacity: 0;
  animation: sweep 1.6s cubic-bezier(.6, 0, .2, 1) .3s forwards;
  transform: skewX(-10deg);
}
@keyframes sweep { 0% { left: -5%; opacity: 1; } 90% { opacity: 1; } 100% { left: 105%; opacity: 0; } }
.hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise .8s ease-out forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 1.6s; }
.hero-copy > *:nth-child(2) { animation-delay: 1.8s; }
.hero-copy > *:nth-child(3) { animation-delay: 2.0s; }
.hero-copy > *:nth-child(4) { animation-delay: 2.2s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero h1 .volt { color: var(--volt); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40ch; color: #d9dbde; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.current-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--volt), transparent);
  background-size: 40% 100%; background-repeat: no-repeat;
  animation: current 3.5s linear 2.4s infinite; opacity: .8;
}
@keyframes current { from { background-position: -40% 0; } to { background-position: 140% 0; } }

/* sections */
section { padding: clamp(64px, 10vw, 128px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head p { max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px clamp(16px, 3vw, 40px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--volt); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .95rem; }

.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.type { background: var(--bg-2); padding: 32px 28px; min-height: 220px; display: flex; flex-direction: column; }
.type .num { font-family: var(--head); font-weight: 800; color: var(--volt); font-size: .85rem; letter-spacing: .14em; margin-bottom: auto; padding-bottom: 28px; }
.type p { color: var(--muted); font-size: .95rem; margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--volt); box-shadow: 0 0 8px var(--volt); }

/* project cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--volt); transform: translateY(-2px); }
.card-media { aspect-ratio: 16 / 10; background: var(--bg-3); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #23272e, #121418 70%); }
.placeholder img { width: 30%; height: auto; opacity: .13; object-fit: contain; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: .88rem; }
.tag { display: inline-block; font: 700 .72rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--volt); }
.dim { opacity: .55; transition: opacity .2s; }
.state { color: var(--muted); padding: 24px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { background: var(--bg-2); border: 1px solid var(--line); color: var(--fg); font: 600 .85rem var(--head); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.more { margin-top: 28px; background: none; border: 1px solid var(--line); color: var(--fg); font: 700 .9rem var(--head); padding: 12px 20px; border-radius: var(--radius); cursor: pointer; }

/* page header */
.page-head { padding: 150px 0 56px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% 0%, rgba(228, 255, 26, .07), transparent 60%); }
.page-head p { max-width: 56ch; color: #d0d2d6; font-size: 1.1rem; }

/* project detail */
.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.detail-media { aspect-ratio: 16 / 10; background: var(--bg-3); border-radius: var(--radius); overflow: hidden; position: relative; }
.detail-media > img { width: 100%; height: 100%; object-fit: cover; }
.facts { border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* CTA band */
.cta-band { background: var(--volt); color: var(--volt-ink); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band .btn { background: var(--volt-ink); color: var(--volt); }

/* form */
.form-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font: 600 .88rem var(--head); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--fg);
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: var(--radius); width: 100%;
  color-scheme: dark;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--volt); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .85rem; margin: 0; }
.field .help { color: var(--muted); font-size: .85rem; margin: 0; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-error { grid-column: 1 / -1; color: var(--danger); margin: 0; }
.thanks { background: var(--bg-2); border: 1px solid var(--volt); border-radius: var(--radius); padding: 32px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer img { height: 56px; width: auto; }
.site-footer a { color: var(--fg); }

@media (max-width: 900px) {
  .types { grid-template-columns: 1fr 1fr; }
  .split, .detail, .form-layout { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { max-width: 200px; }
}
@media (max-width: 720px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 16px 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .types { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .hero-logo .reveal { -webkit-mask-position: 0 0; mask-position: 0 0; }
  .hero-copy > * { opacity: 1; transform: none; }
}