@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&display=swap");

:root {
  --night: #0c1220;
  --night-2: #141d30;
  --grid: #1e2a42;
  --volt: #f4d03f;
  --spark: #5ce1ff;
  --paper: #eceff4;
  --ink: #0c1220;
  --muted: #6b7a94;
  --font-d: "Space Grotesk", sans-serif;
  --font-b: "Work Sans", system-ui, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-b);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  padding-bottom: 4.5rem;
}
body.sheet-open { overflow: hidden; }

a { color: var(--night-2); }
a:hover { color: var(--spark); }

.announce {
  background: var(--volt);
  color: var(--night);
  text-align: center;
  font-family: var(--font-d);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .45rem .75rem;
}

.mast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  background: var(--night);
  color: #fff;
  border-bottom: 3px solid var(--volt);
  position: sticky;
  top: 0;
  z-index: 30;
}
.mast__brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.15;
}
.mast__brand img { width: 40px; height: 40px; }

.tabnav {
  display: none;
  gap: .25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.tabnav a {
  color: #a8b4cc;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .55rem;
  border-radius: 4px;
  border: 1px solid transparent;
}
.tabnav a:hover { color: var(--volt); border-color: var(--grid); }
.tabnav a.tab--on {
  color: var(--night);
  background: var(--volt);
  border-color: var(--volt);
}

.mast__dial {
  display: none;
  background: var(--spark);
  color: var(--night);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .82rem;
  padding: .5rem .85rem;
  text-decoration: none;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.mast__menu {
  justify-self: end;
  background: transparent;
  border: 2px solid var(--volt);
  color: var(--volt);
  font-family: var(--font-d);
  font-weight: 700;
  padding: .35rem .65rem;
  cursor: pointer;
}

@media (min-width: 980px) {
  .tabnav, .mast__dial { display: flex; }
  .mast__menu { display: none; }
  body { padding-bottom: 0; }
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(12,18,32,.75);
  opacity: 0;
  visibility: hidden;
  transition: .2s;
}
.sheet.is-open { opacity: 1; visibility: visible; }
.sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--night);
  color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 1.25rem 1rem 2rem;
  transform: translateY(110%);
  transition: transform .35s ease;
  max-height: 75vh;
  overflow-y: auto;
}
.sheet.is-open .sheet__panel { transform: translateY(0); }
.sheet__panel a {
  display: block;
  color: #dfe6f2;
  text-decoration: none;
  padding: .85rem 0;
  border-bottom: 1px solid var(--grid);
  font-weight: 600;
}
.sheet__panel a.tab--on { color: var(--volt); }
.sheet__close {
  float: right;
  background: none;
  border: none;
  color: var(--volt);
  font-size: 1.5rem;
  cursor: pointer;
}

/* —— Home: blueprint hero —— */
.volt-hero {
  display: grid;
  background:
    linear-gradient(90deg, rgba(30,42,66,.08) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(var(--night) 55%, var(--night-2) 100%);
  color: #e8edf5;
  min-height: 75vh;
}
@media (min-width: 900px) {
  .volt-hero { grid-template-columns: 1fr 1.05fr; align-items: stretch; }
}
.volt-hero__text {
  padding: 2.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.volt-hero__label {
  font-family: var(--font-d);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--spark);
  margin-bottom: .75rem;
}
.volt-hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  max-width: 14ch;
}
.volt-hero__text p { max-width: 38ch; color: #b8c4d8; margin: 0 0 1.5rem; }
.action-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-volt {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--volt);
  color: var(--night);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .85rem;
  padding: .75rem 1.2rem;
  text-decoration: none;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.btn-volt:hover { background: #ffe566; color: var(--night); }
.btn-ghost {
  display: inline-flex;
  border: 2px solid var(--spark);
  color: var(--spark);
  font-weight: 600;
  padding: .7rem 1rem;
  text-decoration: none;
  font-size: .85rem;
}
.btn-ghost:hover { background: var(--spark); color: var(--night); }

.meter-row {
  display: flex;
  gap: 1.25rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.meter-row div strong {
  font-family: var(--font-d);
  font-size: 1.85rem;
  color: var(--volt);
  display: block;
}
.meter-row span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #8fa0b8; }

.volt-hero__frame {
  position: relative;
  min-height: 280px;
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
  overflow: hidden;
  margin: 1.25rem;
  border: 3px solid var(--volt);
}
@media (min-width: 900px) {
  .volt-hero__frame { margin: 2rem 2rem 2rem 0; min-height: auto; }
}
.volt-hero__frame img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

/* —— Spec grid —— */
.specs {
  padding: 3rem 1.25rem;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
}
.specs__head h2 {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 .35rem;
}
.specs__head p { margin: 0 0 2rem; color: var(--muted); max-width: 40ch; }

.spec-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
.spec-card {
  background: #fff;
  border: 2px solid var(--grid);
  padding: 1.1rem 1.15rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--volt), var(--spark));
}
.spec-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: .85rem;
  border: 1px solid var(--grid);
}
.spec-card h3 {
  font-family: var(--font-d);
  margin: 0 0 .4rem;
  font-size: 1.05rem;
}
.spec-card p { margin: 0; font-size: .92rem; color: var(--muted); }

/* —— Process strip —— */
.process {
  background: var(--night);
  color: #c5d0e2;
  padding: 2.5rem 1.25rem;
}
.process__inner { max-width: var(--max); margin: 0 auto; }
.process h2 {
  font-family: var(--font-d);
  color: var(--volt);
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
}
.process ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) { .process ol { grid-template-columns: repeat(4, 1fr); } }
.process li {
  border: 1px dashed var(--grid);
  padding: 1rem;
  font-size: .88rem;
}
.process li strong {
  display: block;
  font-family: var(--font-d);
  color: var(--spark);
  font-size: 1.5rem;
  margin-bottom: .35rem;
}

/* —— NAP meter block —— */
.nap-meter {
  display: grid;
  gap: 1.25rem;
  padding: 3rem 1.25rem;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
}
@media (min-width: 860px) { .nap-meter { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.nap-meter__box {
  background: var(--volt);
  color: var(--night);
  padding: 1.5rem;
  font-family: var(--font-d);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.nap-meter__box h2 { margin: 0 0 1rem; font-size: 1.25rem; }
.nap-meter__box address { font-style: normal; line-height: 1.6; font-size: .92rem; font-family: var(--font-b); }
.nap-meter__box a { color: var(--night); font-weight: 700; }
.map-box {
  border: 3px solid var(--night);
  min-height: 320px;
  background: var(--grid);
}
.map-box iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* —— Inner pages —— */
.page-cap {
  padding: 2rem 1.25rem 1.25rem;
  background: #fff;
  border-bottom: 4px solid var(--volt);
}
.page-cap h1 {
  font-family: var(--font-d);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  margin: 0;
  max-width: var(--max);
  margin-inline: auto;
}
.page-cap p { max-width: var(--max); margin: .5rem auto 0; color: var(--muted); }
.kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); max-width: var(--max); margin: 0 auto .5rem; }
.kicker a { color: inherit; text-decoration: none; }

.body-zone { padding: 2rem 1.25rem 3rem; max-width: calc(var(--max) + 2rem); margin: 0 auto; }
.prose p { color: var(--muted); max-width: 65ch; }
.split-2 { display: grid; gap: 2rem; }
@media (min-width: 860px) { .split-2 { grid-template-columns: 1fr 1fr; } }

.stack-cards { display: flex; flex-direction: column; gap: 1rem; }
.h-card {
  display: grid;
  gap: 0;
  border: 2px solid var(--grid);
  background: #fff;
}
@media (min-width: 700px) { .h-card { grid-template-columns: 240px 1fr; } }
.h-card img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
.h-card div { padding: 1.15rem; }
.h-card h3 { font-family: var(--font-d); margin: 0 0 .35rem; }

.photo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 90px;
  gap: .5rem;
}
.photo-wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid var(--night);
  grid-column: span 3;
}
.photo-wall img:first-child { grid-column: span 6; grid-row: span 2; height: 100%; }

.faq-grid details {
  background: #fff;
  border-left: 4px solid var(--volt);
  padding: 1rem 1.1rem;
  margin-bottom: .55rem;
  box-shadow: 0 2px 0 var(--grid);
}
.faq-grid summary { cursor: pointer; font-weight: 600; font-family: var(--font-d); }
.faq-grid p { margin: .75rem 0 0; color: var(--muted); font-size: .95rem; }

.form-panel label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: .88rem; }
.form-panel input, .form-panel textarea {
  width: 100%;
  margin-top: .3rem;
  padding: .7rem;
  border: 2px solid var(--grid);
  font: inherit;
  background: #fff;
}

.bottom-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--night);
  border-top: 2px solid var(--volt);
  padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom));
}
.bottom-dock a {
  color: #96a4bc;
  text-decoration: none;
  font-size: .58rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .4rem .15rem;
}
.bottom-dock a span { display: block; font-size: 1.05rem; margin-bottom: .1rem; }
.bottom-dock a.is-on { color: var(--volt); }
@media (min-width: 980px) { .bottom-dock { display: none; } }

.site-end {
  background: var(--night);
  color: #8fa0b8;
  padding: 2rem 1.25rem;
  font-size: .82rem;
  text-align: center;
}
.site-end strong { color: #fff; display: block; margin-bottom: .5rem; font-family: var(--font-d); }
.site-end a { color: var(--spark); }

.wa-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .08em;
  padding: .55rem 1rem;
  text-decoration: none;
  z-index: 20;
  border-radius: 6px 6px 0 0;
}

.reveal { opacity: 0; transform: translateY(16px); transition: .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }