/* WattWorks — independent EV shop, Garysburg NC */
:root {
  --teal: #0d7377;
  --teal-mid: #0b6468;
  --teal-dark: #094f52;
  --teal-ink: #062e30;
  --gold: #e8c547;
  --gold-2: #f2d56a;
  --ink: #14191a;
  --muted: #5a6566;
  --line: #dce4e4;
  --paper: #ffffff;
  --mist: #f4f7f7;
  --shadow: 0 10px 30px rgba(6, 46, 48, 0.08);
  --radius: 12px;
  --max: 1120px;
  --header-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 0 0 0.6rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
p { margin: 0 0 0.85rem; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--teal-ink);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
}
.as-seen {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #fff;
  flex: 0 1 auto;
  min-width: 0;
}
.as-seen:hover {
  color: #fff;
  text-decoration: none;
}
.yt-play {
  width: 36px;
  height: 26px;
  max-width: 36px;
  max-height: 26px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.as-seen-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1.15;
  min-width: 0;
}
.as-seen-kicker {
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.as-seen-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.as-seen:hover .as-seen-name { color: var(--gold); }
.site-header {
  position: static;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.55rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}
.brand img {
  height: 84px;
  width: 84px;
  object-fit: contain;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--gold);
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
  max-width: 11.5rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  margin-left: auto;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.header-ctas {
  display: flex;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  border: 1.5px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--teal-ink);
}
.btn-gold:hover { background: var(--gold-2); color: var(--teal-ink); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-ghost:hover { background: var(--mist); color: var(--teal-dark); }
.btn-lg { padding: 0.72rem 1.25rem; font-size: 1rem; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--teal-ink) 0%, var(--teal-dark) 55%, var(--teal) 100%);
  color: #fff;
  padding: 2.4rem 0 2.6rem;
}
.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; }
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero p.lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
  max-width: 38ch;
  margin-bottom: 1.25rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
  aspect-ratio: 4 / 3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Strip */
.strip {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  padding: 0.7rem 0;
  color: var(--muted);
}
.strip a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.strip a:hover { text-decoration: underline; }
.strip strong { color: var(--ink); font-weight: 650; }

/* Sections */
.section { padding: 3rem 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 40rem; margin-bottom: 1.6rem; }
.section-head p { color: var(--muted); }

.cards {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 760px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
a.card:hover { border-color: var(--teal); }
.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.card-body { padding: 1.05rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { color: var(--teal); }
.card-body p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.more {
  margin-top: 0.75rem;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--teal);
}

/* Service rows */
.service-row {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.service-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 800px) {
  .service-row { grid-template-columns: 1fr 1.15fr; gap: 2.25rem; }
  .service-row.reverse { grid-template-columns: 1.15fr 1fr; }
  .service-row.reverse .service-copy { order: -1; }
}
.service-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.when {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--mist);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}
.when strong { display: block; color: var(--teal-dark); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; }

.split {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; gap: 2.5rem; }
}

.note {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
}
.note h3 { color: var(--teal); }

.map-frame {
  width: 100%;
  min-height: 320px;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}
.contact-list span { color: var(--muted); font-size: 0.82rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 0.2rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.hours-note {
  margin: 1.1rem 0 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--teal-ink);
  color: rgba(255,255,255,0.82);
  padding: 2.2rem 0 1.6rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.site-footer h2 {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.site-footer .brand-name { font-size: 1.15rem; margin-bottom: 0.2rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0.35rem 0; }
.legal {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; gap: 0.45rem 0.75rem; }
  .nav { order: 3; width: 100%; margin-left: 0; padding-top: 0.15rem; gap: 0.9rem; }
  .brand-tag { display: none; }
  .header-ctas { margin-left: auto; }
  .as-seen { flex: 1 1 auto; min-width: 0; }
}

@media (max-width: 480px) {
  .btn { padding: 0.5rem 0.8rem; }
  .brand img { width: 44px; }
  .yt-play { width: 28px; height: 20px; }
  .as-seen { gap: 0.4rem; }
  .as-seen-name { white-space: normal; font-size: 1.05rem; }
}

/* Latest video */
.video-block { max-width: 820px; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1f20;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-more {
  margin: 0.9rem 0 0;
  font-weight: 650;
}

/* Blog */
.post-empty {
  max-width: 38rem;
  padding: 1.4rem 1.5rem;
  background: var(--mist);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.post-empty h2 { color: var(--teal); }
.post-empty p { color: var(--muted); }
.post-list { display: grid; gap: 1rem; }
.post-card {
  display: block;
  padding: 1.15rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
a.post-card:hover { border-color: var(--teal); }
.post-card .meta {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 0.35rem;
}
.post-card h2 { font-size: 1.25rem; margin-bottom: 0.35rem; color: var(--teal); }
.post-body { max-width: 42rem; }
.post-body .meta { color: var(--muted); margin-bottom: 1.2rem; }
.post-body h2 { margin-top: 1.6rem; }
.post-body p { margin-bottom: 0.95rem; }

.post-figure {
  margin: 1.4rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}
.post-figure img { width: 100%; display: block; }
.post-figure figcaption {
  padding: 0.6rem 0.85rem 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.post-video {
  margin: 1.2rem 0 0;
  font-weight: 650;
}

/* YouTube page */
.yt-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 640px) {
  .yt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .yt-grid { grid-template-columns: repeat(3, 1fr); }
}
.yt-grid .card img {
  aspect-ratio: 16 / 9;
}
.yt-grid .card-body {
  padding: 0.85rem 1rem 1.05rem;
}
.yt-grid .card-body h3 {
  font-size: 1rem;
  margin: 0;
}
