/* ==========================================================================
   MK Electric Man — website1 — theme: voltage-blue
   Dark navy canvas, electric-blue accents, sharp geometric blocks,
   full-bleed hero, asymmetric two-column sections.
   Barlow Condensed headings + Inter body.
   ========================================================================== */

:root {
  --navy-900: #0a1020;
  --navy-800: #0f1830;
  --navy-700: #14223f;
  --navy-600: #1c2d51;
  --line: #26365e;
  --volt: #2f80ff;
  --volt-bright: #4f9bff;
  --volt-glow: #7fb6ff;
  --text: #e8edf7;
  --text-dim: #a7b3cc;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  line-height: 1.05;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: var(--white);
}

h1 { font-size: 2.6rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }

p { margin: 0 0 1.15em; color: var(--text-dim); }

a { color: var(--volt-bright); text-decoration: none; }
a:hover { color: var(--volt-glow); text-decoration: underline; }

a:focus-visible,
.nav a:focus-visible,
.logo:focus-visible {
  outline: 3px solid var(--volt-glow);
  outline-offset: 3px;
  border-radius: 2px;
}

img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

/* -------------------------------------------------------------- Header --- */
.site-header {
  background: var(--navy-800);
  border-bottom: 3px solid var(--volt);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 22px;
  max-width: 1120px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 52px; width: auto; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  align-items: center;
  margin-left: auto;
}

.nav a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-left: 2px solid transparent;
}
.nav a:hover { color: var(--volt-glow); text-decoration: none; border-left-color: var(--volt); }

/* --------------------------------------------------------------- Hero ---- */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(10,16,32,0.92) 30%, rgba(20,34,63,0.72) 100%),
    var(--navy-700);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(180deg, var(--volt) 0%, transparent 90%);
  opacity: 0.14;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 22px 64px;
}
.eyebrow {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.95rem;
  color: var(--volt-bright);
  border-left: 4px solid var(--volt);
  padding-left: 12px;
  margin-bottom: 18px;
}
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 60ch; font-size: 1.15rem; color: var(--text); }

.hero-support h1 { font-size: 2.3rem; }

/* --------------------------------------------------------- Section grid -- */
main section { padding: 56px 0; border-bottom: 1px solid var(--line); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.split .media {
  position: relative;
}
.split .media::after {
  content: "";
  position: absolute;
  left: -10px; bottom: -10px;
  width: 64px; height: 64px;
  border-left: 4px solid var(--volt);
  border-bottom: 4px solid var(--volt);
}

.frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-600);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

.frame-wide { aspect-ratio: 16 / 9; }

.copy h2 { position: relative; padding-left: 16px; }
.copy h2::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 5px;
  background: var(--volt);
}

/* Full-bleed feature band */
.band {
  background: var(--navy-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-media .frame { aspect-ratio: 21 / 9; }

/* Feature list */
.feat {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.feat li {
  padding: 16px 18px;
  background: var(--navy-700);
  border-left: 3px solid var(--volt);
  color: var(--text-dim);
}
.feat li strong { color: var(--white); font-weight: 600; }

/* --------------------------------------------------------------- Footer -- */
.site-footer {
  background: var(--navy-800);
  border-top: 3px solid var(--volt);
  padding: 44px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 12px; }
.footer-brand .fname {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
}
.footer-brand .tag { color: var(--volt-bright); margin: 2px 0 14px; }
.footer-brand address {
  font-style: normal;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-brand address a { color: var(--volt-bright); }

.map-embed iframe {
  width: 100%;
  height: 300px;
  border: 1px solid var(--line);
  display: block;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* --------------------------------------------------------- 768px query --- */
@media (min-width: 768px) {
  h1 { font-size: 3.6rem; }
  .hero-support h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }

  .split { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .split.reverse .media { order: 2; }
  .split.reverse .copy { order: 1; }

  .feat { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }

  .hero-inner { padding: 104px 22px 92px; }
}
