/* NovaLattice Energies — Watershed-inspired calm B2B climate-tech */
:root {
  --teal-deep: #0B6E6A;
  --teal: #0F766E;
  --teal-mid: #14B8A6;
  --mint: #CCFBF1;
  --mint-soft: #F0FDFA;
  --ink: #1A2E2C;
  --ink-soft: #3D524F;
  --muted: #5F7A76;
  --line: #E5EEEC;
  --bg: #FFFFFF;
  --bg-soft: #F7FAF9;
  --sun: #F59E0B;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(19, 78, 74, 0.04), 0 8px 24px rgba(19, 78, 74, 0.06);
  --font-sans: "Instrument Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --max: 1120px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal-mid);
  outline-offset: 3px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(19, 78, 74, 0.03);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-link img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--teal-deep);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--teal); color: #fff !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 0.9rem 0.25rem; }
  .nav-links .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
    border: none;
  }
}

.hero {
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(20, 184, 166, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(11, 110, 106, 0.06), transparent 50%),
    var(--bg-soft);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.25rem;
}
.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-mid);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 0 1.5rem;
}
.hero-lede {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 2.25rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-bottom: 3rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--teal-deep); color: #fff; }
.btn-primary:hover { background: var(--teal); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--teal-mid);
  color: var(--teal-deep);
  background: var(--mint-soft);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}

section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 22ch;
  color: var(--ink);
}
.section-intro {
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 2.75rem;
  font-size: 1.0625rem;
}
.section-head { margin-bottom: 2.75rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 0 0 0.65rem;
  color: var(--ink);
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9875rem;
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mint-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 22px; height: 22px; }

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.offer-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.offer-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-mid);
  background: var(--mint-soft);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 650;
}
.offer-list p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.compare {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .compare { grid-template-columns: 1fr; }
}
.stat-row { display: grid; gap: 1rem; }
.stat {
  padding: 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 550;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.stat span { color: var(--muted); font-size: 0.9rem; }
.tm { font-size: 0.65em; vertical-align: super; }

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.value-pill {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--teal-deep);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.about-aside dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.25rem;
}
.about-aside dd {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-weight: 500;
}
.about-aside dd:last-child { margin-bottom: 0; }

.cta-band {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #0B6E6A 0%, #0F766E 55%, #134E4A 100%);
  color: #fff;
}
.cta-band .section-title { color: #fff; max-width: none; }
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}
.cta-band .btn-primary { background: #fff; color: var(--teal-deep); }
.cta-band .btn-primary:hover { background: var(--mint); color: var(--teal-deep); }
.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.page-hero p { margin: 0; color: var(--ink-soft); max-width: 36rem; }
.contact-block { padding: 3.5rem 0 5rem; }
.contact-card {
  max-width: 32rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: 1.125rem; margin: 0 0 1.25rem; }
.contact-card a.email {
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--teal-deep);
}
.contact-card a.email:hover { text-decoration: underline; }
.contact-card .loc {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.prose { padding: 3rem 0 5rem; max-width: 42rem; }
.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 550;
  margin: 2rem 0 0.75rem;
}
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.25rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 2rem;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.85rem 0 0;
  max-width: 28ch;
}
.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  display: inline-block;
  padding: 0.2rem 0;
}
.footer-col a:hover { color: var(--teal-deep); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }
