/* Everest Electric — modern Tesla-adjacent v2
   Accent: Tesla cobalt #3e6ae1 | Near-black #0a0a0a | White type */

:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --bg-card: #141414;
  --bg-soft: #1a1a1a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #3e6ae1;
  --accent-hover: #5b84f0;
  --accent-soft: rgba(62, 106, 225, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --wrap-wide: min(1280px, calc(100% - 2rem));
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-wide { width: var(--wrap-wide); margin-inline: auto; }

/* —— Header —— */
.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-top.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.82);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.site-nav a {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover,
.site-nav a.is-current {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}
.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-header:hover { background: rgba(255, 255, 255, 0.06); }
.btn-header.is-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-header.is-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 999px;
  height: 38px;
  padding: 0 1rem;
  cursor: pointer;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 550;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-white {
  background: #fff;
  color: #0a0a0a;
}
.btn-white:hover { background: #e8e8e8; }
.btn-block { width: 100%; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* —— Split hero —— */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(88vh, 820px);
  border-bottom: 1px solid var(--line);
}
.split-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  background: var(--bg);
}
.split-hero-copy .eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.split-hero-copy h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  max-width: 11ch;
  margin-bottom: 1.25rem;
}
.split-hero-copy .lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 34ch;
  margin-bottom: 0.75rem;
}
.split-hero-copy .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.split-hero-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.split-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.split-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.35), transparent 40%);
  pointer-events: none;
}

/* —— Cert marquee —— */
.cert-marquee {
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
}
.marquee-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.marquee-item span {
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--faint);
  letter-spacing: 0;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 40rem;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.section-head .eyebrow {
  display: block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 0.85rem;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* —— Bento services —— */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.bento-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.bento-card .media {
  position: absolute;
  inset: 0;
}
.bento-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.bento-card:hover .media img { transform: scale(1.04); }
.bento-card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,0.85) 100%);
}
.bento-card .body {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.4rem;
}
.bento-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}
.bento-card .link {
  font-size: 0.85rem;
  color: var(--accent-hover);
  font-weight: 500;
}
.bento-card.span-7 { grid-column: span 7; min-height: 300px; }
.bento-card.span-5 { grid-column: span 5; min-height: 300px; }
.bento-card.span-4 { grid-column: span 4; min-height: 240px; }
.bento-card.span-8 { grid-column: span 8; min-height: 260px; }
.bento-card.span-6 { grid-column: span 6; min-height: 260px; }
.bento-card.span-3 { grid-column: span 3; min-height: 220px; }

/* —— Tesla band —— */
.tesla-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 85% 50%, rgba(62, 106, 225, 0.22), transparent 55%),
    var(--bg-elev);
  border-block: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.tesla-band-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.tesla-band .eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.tesla-band h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 1.15rem;
  max-width: 14ch;
}
.tesla-band .copy {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}
.tesla-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}
.tesla-pills span {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(62, 106, 225, 0.35);
  font-size: 0.82rem;
  font-weight: 500;
}
.tesla-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  max-height: 520px;
}
.tesla-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— About split —— */
.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.about-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-copy .eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.about-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1.5rem;
}
.prose {
  color: var(--muted);
  font-size: 1.05rem;
  display: grid;
  gap: 1rem;
}
.prose p { margin: 0; }
.cert-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}
.cert-list li {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 0.95rem;
  color: var(--muted);
}
.cert-list strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  letter-spacing: -0.02em;
}

/* —— Gallery scroll —— */
.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.gallery-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.gallery-scroll figure {
  flex: 0 0 min(72vw, 380px);
  margin: 0;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  background: var(--bg-soft);
}
.gallery-scroll figure:nth-child(3n) { flex-basis: min(58vw, 300px); aspect-ratio: 1; }
.gallery-scroll figure:nth-child(5n) { flex-basis: min(80vw, 440px); aspect-ratio: 16/10; }
.gallery-scroll img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Contact strip —— */
.contact-strip {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.contact-strip h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 0.75rem;
}
.contact-strip .lede {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 36ch;
}
.phone-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.phone-btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.phone-btn:hover {
  border-color: rgba(62, 106, 225, 0.5);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.phone-btn span {
  font-size: 0.8rem;
  color: var(--faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.phone-btn strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-meta a:hover { color: var(--text); }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.social-link img { width: 18px; height: 18px; opacity: 0.85; }
.social-link:hover { color: var(--text); }

/* —— Form —— */
.form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-card h2 {
  font-size: 1.65rem;
  margin-bottom: 0.4rem;
}
.form-card .lede {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.field { margin-bottom: 0.85rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  color: var(--faint);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.form-note {
  margin-top: 1rem;
  font-size: 0.92rem;
}
.form-note.is-ok { color: #7ddea0; }
.form-note.is-err { color: #ff7b7b; }

/* —— Page heroes (inner) —— */
.page-hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(62, 106, 225, 0.18), transparent 50%),
    var(--bg);
}
.page-hero .eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 0.85rem;
}
.page-hero .subhead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 40ch;
}

/* —— Team editorial —— */
.team-editorial {
  display: grid;
  gap: clamp(3.5rem, 8vw, 6rem);
}
.team-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.team-row.is-flip { grid-template-columns: 1.15fr 0.85fr; }
.team-row.is-flip .team-photo { order: 2; }
.team-row.is-flip .team-bio { order: 1; }
.team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  background: var(--bg-soft);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-bio .role {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.team-bio h2 {
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  margin-bottom: 1.25rem;
}
.team-bio p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

/* —— Services page Tesla callout —— */
.tesla-callout {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(62, 106, 225, 0.35);
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(62, 106, 225, 0.2), transparent 55%),
    var(--bg-card);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.tesla-callout .eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.tesla-callout h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin-bottom: 0.85rem;
  max-width: 18ch;
}
.tesla-callout p {
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 1.5rem;
}

/* —— Contact page —— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-layout h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}
.address-block {
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}
.address-block strong {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

/* —— Footer —— */
.site-footer {
  padding: 3.5rem 0 6.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-name {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: var(--muted);
  max-width: 32ch;
  font-size: 0.95rem;
}
.footer-col h3 {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.85rem;
}
.footer-col p,
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--text); }

/* —— Mobile call bar —— */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  gap: 0.55rem;
}
.mobile-call-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 550;
  font-size: 0.9rem;
}
.mobile-call-bar a.is-primary {
  background: var(--accent);
  border-color: var(--accent);
}

/* —— Reveal —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-hero-media { min-height: 48vh; order: -1; }
  .split-hero-media::after {
    background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.9));
  }
  .bento-card.span-7,
  .bento-card.span-5,
  .bento-card.span-4,
  .bento-card.span-8,
  .bento-card.span-6,
  .bento-card.span-3 { grid-column: span 6; min-height: 240px; }
  .tesla-band-grid,
  .about-split,
  .contact-layout,
  .team-row,
  .team-row.is-flip { grid-template-columns: 1fr; }
  .team-row.is-flip .team-photo,
  .team-row.is-flip .team-bio { order: unset; }
  .about-media { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .btn-header:not(.is-primary) { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.35rem;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .site-nav a {
    padding: 1rem 1.1rem;
    font-size: 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }
  .header-actions { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-7,
  .bento-card.span-5,
  .bento-card.span-4,
  .bento-card.span-8,
  .bento-card.span-6,
  .bento-card.span-3 { grid-column: span 1; }
  .phone-pair,
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-call-bar { display: flex; }
  .site-footer { padding-bottom: 7.5rem; }
  .gallery-head { flex-direction: column; align-items: start; }
  .split-hero-copy h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
