/* ============================================================
   Verix Energy - brand site
   Base: true black (#000000) so the logo sits seam-free.
   One accent: gold #D4AF37 (hover #EFCB68, pressed #A8842C).
   Shape system: sharp corners everywhere (radius 0).
   ============================================================ */

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --gold: #d4af37;
  --gold-hi: #efcb68;
  --gold-deep: #a8842c;
  --text: #f2f2f0;
  --text-dim: #a3a39c;
  --hairline: rgba(212, 175, 55, 0.18);
  --hairline-soft: rgba(212, 175, 55, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
}

p { max-width: 65ch; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 7rem 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

/* ============ Buttons ============ */

.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--gold);
  transition: background-color 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-solid {
  background: var(--gold);
  color: var(--black);
}
.btn-solid:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
}
.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-hi);
  border-color: var(--gold-hi);
}

.btn-lg { padding: 1.15rem 2.5rem; font-size: 0.875rem; }
.btn-nav { padding: 0.7rem 1.4rem; }

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-row-center { justify-content: center; }

/* ============ Nav ============ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  /* solid black, not translucent: the logo PNG has a true-black square
     that must stay seam-free against the bar */
  background: var(--black);
  border-bottom-color: var(--hairline);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}
.nav-wordmark {
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-hi); }
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transition: transform 0.25s ease;
}
.nav-toggle.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-menu[hidden] { display: none; }
.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--black);
  padding: 7rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.nav-menu nav { display: flex; flex-direction: column; }
.nav-menu nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline-soft);
  transition: color 0.2s ease;
}
.nav-menu nav a:hover, .nav-menu nav a.active { color: var(--gold); }
.nav-menu-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.nav-menu-ctas .btn { text-align: center; }
body.menu-open { overflow: hidden; }

#nav-sentinel { position: absolute; top: 80px; height: 1px; width: 1px; }

/* ============ Hero ============ */

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-logo { width: 230px; margin-bottom: 2rem; }

.hero h1 {
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.1875rem;
  margin-bottom: 2.5rem;
}

.hero-photo { min-height: 520px; }

/* ============ Section links ============ */

.section-link { margin-top: 2.5rem; }
.section-link a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.section-link a:hover {
  color: var(--gold-hi);
  border-bottom-color: var(--gold-hi);
}

/* ============ Page hero (subpages) ============ */

.page-hero {
  padding: 11rem 0 5rem;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}
.page-hero .hero-sub {
  color: var(--text-dim);
  font-size: 1.1875rem;
  margin-bottom: 2.5rem;
}

/* ============ Timeline ============ */

.timeline {
  border-left: 1px solid var(--hairline);
  max-width: 720px;
}
.timeline-item {
  position: relative;
  padding: 0 0 2.75rem 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0.5em;
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.timeline-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.timeline-item p { color: var(--text-dim); }

/* ============ About: story ============ */

.story-inner { max-width: 780px; }
.story-body p { color: var(--text-dim); margin-bottom: 1.5rem; }
.story-body p:last-child { margin-bottom: 0; }

.fill-in-block {
  border: 1px dashed var(--hairline);
  padding: 1.5rem 1.75rem;
}
.fill-in-block .fill-in {
  border-bottom: none;
  font-weight: 500;
  font-style: italic;
  color: var(--gold-deep);
}

/* ============ About: at a glance ============ */

.glance { padding-top: 0; }
.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.glance-item {
  padding: 2.5rem 1.5rem;
}
.glance-item:not(:first-child) { border-left: 1px solid var(--hairline-soft); }
.glance-value {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.glance-value .fill-in { border-bottom-width: 2px; }
.glance-label {
  color: var(--text-dim);
  font-size: 0.9375rem;
}

/* ============ About: team ============ */

.team-note {
  color: var(--text-dim);
  margin: -1.5rem 0 2.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-photo { aspect-ratio: 4 / 5; }
.team-name {
  margin-top: 1.1rem;
  font-weight: 700;
}
.team-role {
  color: var(--text-dim);
  font-size: 0.9375rem;
}
.team-name .fill-in, .team-role .fill-in { border-bottom: none; }
.team-role .fill-in { color: var(--text-dim); font-weight: 500; }

/* ============ Careers: the pitch callout ============ */

.pitch {
  margin-top: 3rem;
  background: radial-gradient(ellipse at 15% 0%, rgba(212, 175, 55, 0.10), transparent 55%), var(--surface);
  border: 1px solid var(--hairline-soft);
  padding: 2.75rem 2.5rem;
}
.pitch h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.pitch p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  max-width: 68ch;
}
.pitch p:last-child { margin-bottom: 0; }
.pitch strong { color: var(--gold); font-weight: 700; }

/* ============ Contact: routes + email ============ */

.routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.route-panel {
  background: radial-gradient(ellipse at 15% 0%, rgba(212, 175, 55, 0.08), transparent 55%), var(--surface);
  border: 1px solid var(--hairline-soft);
  padding: 3rem 2.5rem;
}
.route-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}
.route-panel p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.reach .band h2 { margin-bottom: 1.5rem; }
.contact-email {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}
.contact-email .fill-in { border-bottom-width: 2px; }
.reach .service-body { margin-bottom: 0.35rem; }

/* ============ Reviews: embed slot + share ============ */

.embed-slot {
  margin-top: 2.5rem;
  min-height: 260px;
  border: 1px dashed var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-inner { max-width: 720px; }
.share-inner p { color: var(--text-dim); }

/* ============ About: service area ============ */

.service .band h2 { margin-bottom: 1.25rem; }
.service-body { color: var(--text-dim); }

/* ============ Financing options ============ */

.option {
  padding: 3.5rem 0;
  border-top: 1px solid var(--hairline);
}
.option:last-child { border-bottom: 1px solid var(--hairline); }
.option h2 {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.option > p { color: var(--text-dim); margin-bottom: 2rem; }

.option-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
}
.option-cols h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.option-cols p { color: var(--text-dim); font-size: 0.9375rem; }

/* ============ Comparison table ============ */

.table-scroll { overflow-x: auto; }

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 1.1rem 1.25rem;
  vertical-align: top;
}
.compare-table thead th {
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
}
.compare-table tbody th {
  color: var(--text);
  font-weight: 700;
  padding-left: 0;
}
.compare-table tbody td { color: var(--text-dim); }
.compare-table tbody tr:not(:last-child) th,
.compare-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--hairline-soft);
}

/* ============ Tax band ============ */

.taxes .band h2 { margin-bottom: 2.75rem; }

.tax-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.tax-points h3 {
  font-size: 1.125rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.tax-points p { color: var(--text-dim); font-size: 0.9375rem; }

.tax-disclaimer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline-soft);
  color: var(--text-dim);
  font-size: 0.8125rem;
}

/* ============ Elevated band ============ */

.band {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 6rem 0;
}

.outage { padding: 0; }
.outage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 2.5rem;
}
.outage-grid h3 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.outage-grid p { color: var(--text-dim); }

/* ============ Real photo frames ============ */

.photo-frame {
  position: relative;
  overflow: hidden;
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* keep rooftops in frame at any aspect ratio */
.hero-photo img { object-position: center bottom; }

.page-hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 4rem;
  align-items: center;
}
.page-hero-photo { min-height: 400px; }

.photo-band {
  height: clamp(280px, 42vw, 460px);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ Photo placeholder slots ============ */

.photo-slot {
  background: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.05), transparent 60%), var(--surface);
  border: 1px dashed var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-slot-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 2rem;
}
.photo-slot-label span {
  color: var(--text-dim);
  font-size: 0.875rem;
}
.photo-slot-label span:first-child {
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============ Trust strip ============ */

.trust {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 1.75rem 0;
}

.trust-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-row p {
  color: var(--text-dim);
  font-size: 0.9375rem;
  font-weight: 500;
}

.fill-in {
  color: var(--gold);
  font-weight: 700;
  border-bottom: 1px dashed var(--gold-deep);
}

/* ============ Why Verix ============ */

.why-rows { border-top: 1px solid var(--hairline); }

.why-row {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 2rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--hairline);
}
.why-row h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gold);
}
.why-row p { color: var(--text-dim); }

/* ============ Benefits bento ============ */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}

.bento-cell {
  background: var(--black);
  padding: 2.25rem 2rem;
  grid-column: span 2;
}
.bento-wide { grid-column: span 4; }
.bento-band {
  grid-column: span 6;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.bento-band .icon { margin-bottom: 0; flex-shrink: 0; }
.bento-band h3 { margin-bottom: 0.35rem; }

.bento-tinted {
  background: radial-gradient(ellipse at 15% 0%, rgba(212, 175, 55, 0.08), transparent 55%), var(--surface);
}

.bento-cell .icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.bento-cell h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.bento-cell p {
  color: var(--text-dim);
  font-size: 0.9375rem;
}

/* ============ Explainer ============ */

.explainer-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 5rem;
  align-items: start;
}

.explainer-lead { position: sticky; top: 7rem; }
.explainer-lead h2 { margin-bottom: 1.5rem; }
.explainer-lead p { color: var(--text-dim); }

.explainer-point {
  padding: 2rem 0;
  border-top: 1px solid var(--hairline);
}
.explainer-point:last-child { border-bottom: 1px solid var(--hairline); }
.explainer-point h3 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.explainer-point p { color: var(--text-dim); }

/* ============ How it works ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.step { border-top: 2px solid var(--gold); padding-top: 1.5rem; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.step p { color: var(--text-dim); font-size: 0.9375rem; }

/* ============ Homeowners ============ */

.homeowners-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 4.5rem;
  align-items: center;
}

.homeowners-photo { min-height: 420px; }
.homeowners-copy h2 { margin-bottom: 1.25rem; }
.homeowners-copy p { color: var(--text-dim); margin-bottom: 1.25rem; }
.homeowners-copy .btn { margin-top: 1rem; }

/* ============ Customer stories ============ */

.stories-note {
  color: var(--text-dim);
  margin: -1.5rem 0 2.5rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stories-grid-single {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.story-slot {
  border: 1px dashed var(--hairline);
  padding: 2.5rem 2rem;
}
.story-mark {
  display: block;
  color: var(--gold-deep);
  font-size: 3rem;
  line-height: 0.5;
  margin-bottom: 1.25rem;
}
.story-slot p { color: var(--text-dim); font-style: italic; }

/* ============ FAQ ============ */

.faq-inner { max-width: 820px; }

.faq-list details {
  border-bottom: 1px solid var(--hairline);
}
.faq-list details:first-child { border-top: 1px solid var(--hairline); }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-hi); }

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  color: var(--text-dim);
  padding: 0 2.5rem 1.75rem 0;
}

/* ============ Careers ============ */

.careers { padding-bottom: 0; }

.careers-band {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 6rem 0;
}

.careers-inner h2 { margin-bottom: 2rem; }

.careers-points {
  list-style: none;
  margin-bottom: 2.5rem;
}
.careers-points li {
  color: var(--text-dim);
  font-size: 1.125rem;
  padding: 0.85rem 0 0.85rem 1.75rem;
  position: relative;
}
.careers-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(0.85rem + 0.9em);
  width: 14px;
  height: 1px;
  background: var(--gold);
}

/* ============ Final CTA ============ */

.final-cta { padding: 8.5rem 0; }

.final-cta-inner { text-align: center; }
.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 2.75rem;
}

/* ============ Footer ============ */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1.2fr;
  gap: 3rem;
}

.footer-brand img { margin-bottom: 1.25rem; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold-hi); }

.footer-legal p {
  color: var(--text-dim);
  font-size: 0.8125rem;
  margin-bottom: 0.85rem;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline-soft);
}
.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.8125rem;
}

/* Email (mailto) links */
a[href^="mailto:"] {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-deep);
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[href^="mailto:"]:hover {
  color: var(--gold-hi);
  border-bottom-color: var(--gold-hi);
}
.footer-email { font-size: 0.9375rem; }
.contact-email a { border-bottom-width: 2px; }

/* ============ Scroll reveal ============ */

/* Hidden state gated on html.js so content renders without JavaScript */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* ============ Mobile ============ */

/* Nav collapses to hamburger once 6 links + CTA no longer fit */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .section { padding: 4.5rem 0; }
}

@media (max-width: 520px) {
  .nav-wordmark { display: none; }
}

@media (max-width: 900px) {

  .hero { padding-top: 7rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-logo { width: 170px; }
  .hero-photo { min-height: 380px; }

  .trust-row { flex-direction: column; gap: 0.85rem; }

  .why-row { grid-template-columns: 1fr; gap: 0.6rem; padding: 2rem 0; }

  .bento { grid-template-columns: 1fr; }
  .bento-cell, .bento-wide, .bento-band { grid-column: span 1; }
  .bento-band { flex-direction: column; align-items: flex-start; }

  .explainer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .explainer-lead { position: static; }

  .page-hero { padding: 8.5rem 0 3.5rem; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero-photo { min-height: 260px; }
  .outage-grid { grid-template-columns: 1fr; gap: 2rem; }
  .option-cols { grid-template-columns: 1fr; gap: 1.75rem; }
  .tax-points { grid-template-columns: 1fr; gap: 2rem; }

  .pitch { padding: 2rem 1.5rem; }
  .routes-grid { grid-template-columns: 1fr; }

  .glance-grid { grid-template-columns: 1fr; }
  .glance-item:not(:first-child) { border-left: none; border-top: 1px solid var(--hairline-soft); }
  .team-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 2rem; }

  .homeowners-grid { grid-template-columns: 1fr; gap: 3rem; }
  .homeowners-photo { order: 2; min-height: 320px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
