/* OMNI INSTAL — landing */

:root {
  --bg: #000000;
  --bg-panel: #0a1018;
  --bg-panel-2: #0e1620;
  --text: #e8eef6;
  --text-muted: #8b9bb0;
  --navy: #0a2a4a;
  --accent: #00a39a;
  --accent-hot: #1bc4ba;
  --heat: #f58220;
  --air: #2e7bc8;
  --power: #1e4d7b;
  --water: #00a39a;
  --line: rgba(255, 255, 255, 0.09);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --container: 1120px;
  --header-h: 4rem;
  --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-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hot);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #041016;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #000;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.header-brand {
  line-height: 0;
  text-decoration: none;
}

.header-brand img {
  height: 2.25rem;
  width: auto;
  background: #000;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #041016 !important;
  letter-spacing: 0.12em !important;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--accent-hot);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero — asymmetric, flat black (logo has baked black) */

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
  background: #000;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-brand {
  background: #000;
  line-height: 0;
}

.hero-logo {
  margin: 0;
  background: #000;
  max-width: min(100%, 520px);
}

.hero-logo img {
  width: 100%;
  height: auto;
  background: #000;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  color: var(--text);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #041016;
}

.btn-primary:hover {
  background: var(--accent-hot);
  color: #041016;
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-pillars li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--power { background: var(--power); }
.dot--water { background: var(--water); }
.dot--heat { background: var(--heat); }
.dot--air { background: var(--air); }

/* Sections */

.section {
  padding: 5rem 0;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 36rem;
}

.services-intro h2,
.split-panel h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

/* Services — vertical rail with circular markers */

.services {
  background: var(--bg-panel);
  border-block: 1px solid var(--line);
}

.services-intro {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.service-rail {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 52rem;
}

.service-rail::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0 1.35rem 0.15rem;
}

.service-index {
  position: relative;
  z-index: 1;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--bg-panel);
  border: 1.5px solid var(--line);
  color: var(--text-muted);
}

.service-row[data-tone="power"] .service-index {
  border-color: var(--power);
  color: #9ec0e0;
}

.service-row[data-tone="heat"] .service-index {
  border-color: var(--heat);
  color: #ffc48a;
}

.service-row[data-tone="air"] .service-index {
  border-color: var(--air);
  color: #9ec8ef;
}

.service-row[data-tone="teal"] .service-index {
  border-color: var(--accent);
  color: #8ee8e2;
}

.service-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.service-row:hover .service-index {
  background: #121a24;
}

/* About + contact split */

.split-band {
  background: #000;
  padding-block: 5.5rem;
}

.split-grid {
  display: grid;
  gap: 2.5rem;
}

.split-panel {
  padding: 0;
}

.split-panel--contact {
  padding: 1.75rem;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}

.about-copy {
  display: grid;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.about-copy strong {
  color: var(--text);
  font-weight: 600;
}

.contact-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.contact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-list a,
.contact-placeholder {
  font-size: 1.12rem;
  text-decoration: none;
  color: var(--text);
}

.contact-placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.contact-list a:hover {
  color: var(--accent-hot);
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: #000;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-meta a {
  text-decoration: none;
}

.footer-copy {
  width: 100%;
  font-size: 0.82rem;
  color: #5a6a7a;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service-rail .reveal:nth-child(2) { transition-delay: 0.04s; }
.service-rail .reveal:nth-child(3) { transition-delay: 0.08s; }
.service-rail .reveal:nth-child(4) { transition-delay: 0.12s; }
.service-rail .reveal:nth-child(5) { transition-delay: 0.16s; }
.service-rail .reveal:nth-child(6) { transition-delay: 0.2s; }
.service-rail .reveal:nth-child(7) { transition-delay: 0.24s; }
.service-rail .reveal:nth-child(8) { transition-delay: 0.28s; }

/* Responsive */

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  .hero-logo {
    max-width: none;
  }

  .split-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
  }

  .footer-copy {
    width: auto;
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: #000;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .service-rail::before {
    left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
