/* ---------------------------------------------
   Tokens — colors sampled directly from the
   Incenergy logo + legacy site stylesheet
--------------------------------------------- */
:root {
  --navy: #004756;
  --navy-deep: #012C36;
  --navy-black: #081B20;

  --lime: #BED912;
  --lime-deep: #9FB80F;
  --lime-tint: #F1F7DA;

  --teal: #31C5C7;

  --ink: #122024;
  --muted: #52686F;
  --faint: #8CA0A6;

  --bg: #FFFFFF;
  --bg-soft: #F5F8F4;

  --line: rgba(0, 71, 86, 0.12);
  --line-strong: rgba(0, 71, 86, 0.22);

  --font-display: 'Dosis', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy);
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}

.eyebrow-on-photo { color: var(--lime); }
.eyebrow-on-lime { color: var(--navy); opacity: 0.72; }

h2.on-lime { color: var(--navy); }

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.main-nav a:hover { color: var(--navy); }

.nav-signin {
  color: var(--navy);
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 7px;
}
.nav-signin:hover { border-color: var(--teal); color: var(--teal); }

.nav-cta {
  color: var(--navy);
  background: var(--lime);
  padding: 9px 18px;
  border-radius: 7px;
}
.nav-cta:hover { background: var(--lime-deep); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 10px;
  margin: -10px;
  color: var(--navy);
  cursor: pointer;
}

/* ---------------------------------------------
   Buttons
--------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 7px;
  border: none;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--lime);
  color: var(--navy);
  border: 1.5px solid transparent;
}
.btn-primary:hover { background: #d3ef2e; }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn-lg { padding: 16px 30px; font-size: 16.5px; }

/* ---------------------------------------------
   Hero (photo)
--------------------------------------------- */
.hero {
  position: relative;
  padding: 168px 0 108px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('assets/hero-austin-skyline.jpg');
  background-size: cover;
  background-position: center 65%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(4, 18, 22, 0.92) 0%, rgba(4, 18, 22, 0.55) 55%, rgba(4, 18, 22, 0.35) 100%),
    linear-gradient(100deg, rgba(0, 71, 86, 0.55) 0%, rgba(0, 71, 86, 0) 55%);
}

.hero-inner { max-width: 640px; }

.hero h1 {
  font-size: 44px;
  line-height: 1.14;
  color: #fff;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------------------------------------------
   Trust strip
--------------------------------------------- */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px 28px;
}

.trust-label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ---------------------------------------------
   Stat bar
--------------------------------------------- */
.stat-bar {
  border-bottom: 1px solid var(--line);
}

.stat-bar-inner {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 40px 28px 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}

.stat-label {
  font-size: 13.5px;
  color: var(--muted);
}

.stat-source {
  text-align: center;
  font-size: 12px;
  color: var(--faint);
  padding: 0 28px 20px;
  margin: 0;
}

/* ---------------------------------------------
   Capabilities — signature lime band
--------------------------------------------- */
.capabilities {
  padding: 96px 0 104px;
  background: var(--lime);
}

.capabilities h2 { font-size: 34px; max-width: 22ch; margin-bottom: 52px; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cap-card {
  background: rgba(0, 71, 86, 0.06);
  border: 1px solid rgba(0, 71, 86, 0.14);
  border-radius: 14px;
  padding: 26px 24px;
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  margin-bottom: 18px;
}

.cap-card h3 { font-size: 18.5px; color: var(--navy); margin-bottom: 8px; }
.cap-card p { font-size: 14.5px; color: rgba(0, 71, 86, 0.75); }

/* ---------------------------------------------
   How it works
--------------------------------------------- */
.how { padding: 96px 0; border-bottom: 1px solid var(--line); }

.how h2 { font-size: 32px; max-width: 18ch; margin-bottom: 48px; }

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.how-step {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
}

.step-index {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.how-step h3 { font-size: 20px; margin-bottom: 10px; }
.how-step p { font-size: 14.5px; color: var(--muted); }

/* ---------------------------------------------
   Testimonials — full navy band, 3 real quotes
--------------------------------------------- */
.proof {
  padding: 96px 0;
  background: var(--navy-black);
}

.proof .eyebrow { margin-bottom: 28px; }

.proof-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}

.proof-card {
  margin: 0;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 28px 26px 40px;
}

.quote-mark {
  position: absolute;
  top: -14px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 700;
  color: var(--lime);
  opacity: 0.4;
  line-height: 1;
}

.quote-mark-close {
  position: absolute;
  bottom: -30px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 700;
  color: var(--lime);
  opacity: 0.4;
  line-height: 1;
}

.proof-card p {
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.proof-card-lead { padding-top: 40px; }
.proof-card-lead p {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.proof-card p strong { color: var(--lime); font-weight: 700; }

.proof-card footer {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------------------------------------------
   Industries
--------------------------------------------- */
.industries { padding: 96px 0; border-bottom: 1px solid var(--line); }

.industries h2 { font-size: 32px; max-width: 20ch; margin-bottom: 48px; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.industry-card { background: #fff; padding: 30px 24px; }
.industry-card svg { color: var(--teal); margin-bottom: 18px; }
.industry-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.industry-card p { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------
   CTA band (photo)
--------------------------------------------- */
.cta-band {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  isolation: isolate;
}

.cta-media {
  background-image: url('assets/hero-austin-skyline.jpg');
  background-position: center 30%;
}

.cta-scrim {
  background:
    linear-gradient(180deg, rgba(1, 27, 32, 0.92) 0%, rgba(1, 27, 32, 0.88) 100%);
}

.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }

.cta-inner h2 { font-size: 36px; margin-bottom: 14px; color: #fff; }

.cta-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16.5px;
  margin-bottom: 36px;
}

.audit-form {
  text-align: left;
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
}

.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field-full { grid-column: 1 / -1; }

.audit-form .field-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.audit-form input,
.audit-form select,
.audit-form textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
}

.audit-form textarea { resize: vertical; }

.audit-form input:focus,
.audit-form select:focus,
.audit-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.audit-form .btn { align-self: flex-start; }

.audit-note { font-size: 12.5px; color: var(--faint); margin: -8px 0 0; }
.audit-note-error { color: #c0392b; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
  .audit-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--faint);
}

.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a:hover { color: var(--navy); }

/* ---------------------------------------------
   Responsive
--------------------------------------------- */
@media (max-width: 980px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card-lead { grid-column: auto; }
}

@media (max-width: 900px) {
  .stat-bar-inner { gap: 40px; flex-wrap: wrap; }
  .how-steps { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 28px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-signin, .nav-cta { text-align: center; margin-top: 10px; border-bottom: none; }

  .hero { padding: 140px 0 84px; }
  .hero h1 { font-size: 34px; }
}

@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 10px; align-items: flex-start; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .quote-mark { font-size: 64px; top: -6px; }
  .quote-mark-close { font-size: 64px; bottom: -18px; }
  .proof-card-lead p { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
