@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold-bright: #e6d1a0;
  --gold-mid: #dcc48a;
  --gold-deep: #d4b67a;
  --navy: #070c14;
  --navy-mid: #0e1624;
  --navy-card: #121b2c;
  --blue: #2176bb;
  --blue-bright: #2ba0dc;
  --text: #f3efe6;
  --text-soft: #b9b3a8;
  --line: rgba(230, 209, 160, 0.22);
  --focus: #e6d1a0;
  --header-h: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  background: var(--navy);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--text);
}

main { flex: 1 1 auto; }

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

a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-mid); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  padding: 8px 12px;
  background: var(--navy);
  color: var(--gold-bright);
  border: 1px solid var(--line);
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(7, 12, 20, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand-logo {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 5px 9px;
  line-height: 0;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  height: 52px;
  width: auto;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--gold-mid);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-gold {
  background: var(--gold-mid);
  color: var(--navy) !important;
  border-color: var(--gold-deep);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-bright);
  color: var(--navy) !important;
  border-bottom-color: var(--gold-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold-mid);
  color: var(--gold-bright) !important;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,12,20,0.94) 0%, rgba(7,12,20,0.82) 42%, rgba(7,12,20,0.28) 72%, rgba(7,12,20,0.18) 100%),
    linear-gradient(180deg, rgba(7,12,20,0.15) 0%, rgba(7,12,20,0.55) 100%);
}

.hero-inner {
  padding: 88px 0 80px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  max-width: 760px;
  margin-left: max(24px, calc((100% - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.hero h1 {
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(3.1rem, 8.2vw, 6.4rem);
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--text);
  max-width: 14ch;
}

.hero .lede {
  margin: 28px 0 0;
  max-width: 38rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-actions .btn { min-height: 48px; min-width: 180px; }

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: 48px;
}

.kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.section h2 {
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-intro {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 40rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 22px 22px 20px;
  background: var(--navy-card);
  border: 1px solid rgba(230, 209, 160, 0.14);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: var(--gold-mid);
  color: inherit;
  transform: translateY(-2px);
}

.product-card h3 {
  margin: 0 0 12px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}

.product-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.product-card .more {
  margin-top: 22px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.grid-footer {
  margin-top: 28px;
}

.cap-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.cap-item {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--line);
}

.cap-item:nth-child(odd) { padding-right: 36px; border-right: 1px solid var(--line); }
.cap-item:nth-child(even) { padding-left: 36px; }

.cap-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
  padding-right: 0;
}

.cap-item h3 {
  margin: 0 0 8px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cap-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.cta-band {
  background:
    linear-gradient(180deg, rgba(7,12,20,0.2), rgba(7,12,20,0.72)),
    url("assets/photo-solar-card.jpg") center 30% / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band .wrap {
  padding: 88px 0;
  max-width: 720px;
}

.cta-band h2 { max-width: 14ch; }
.cta-band p { margin: 18px 0 0; color: var(--text); }
.cta-band .hero-actions { margin-top: 28px; }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 8px;
}

.contact-row a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gold-mid);
  padding-bottom: 2px;
}

.contact-row a:hover { color: var(--gold-bright); }

.site-footer {
  padding: 36px 0 48px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  align-items: flex-start;
}

.site-footer a { color: var(--text-soft); }
.site-footer a:hover { color: var(--gold-bright); }

.foot-note { max-width: 36rem; margin: 0; }

.page-hero {
  padding: 72px 0 24px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.page-hero .lede {
  margin: 18px 0 0;
  max-width: 42rem;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}

.group { margin: 56px 0 0; }
.group h2 {
  margin: 0 0 18px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.page-hero + .section,
.group + .group { }

.stack { padding-bottom: 72px; }

.contact-panel {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  padding: 28px;
  background: var(--navy-card);
  border: 1px solid rgba(230, 209, 160, 0.14);
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-mid);
  font-weight: 600;
  font-family: Inter, sans-serif;
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.01em;
}

.contact-card a:hover { color: var(--gold-bright); }

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

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 76px; }
  .wrap, .hero-inner { width: min(1180px, calc(100% - 32px)); }
  .hero-inner { margin-left: auto; margin-right: auto; padding: 56px 0 56px; }
  .brand-logo img { height: 42px; }
  .nav-burger { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: rgba(7, 12, 20, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav a { padding: 14px 8px; border-bottom: 1px solid rgba(230, 209, 160, 0.12); }
  .nav .btn { margin-top: 12px; width: 100%; border-bottom: 0; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .hero { min-height: 86svh; }
  .hero h1 { max-width: none; font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .product-grid { grid-template-columns: 1fr; }
  .cap-list { grid-template-columns: 1fr; }
  .cap-item,
  .cap-item:nth-child(odd),
  .cap-item:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
  }
  .section { padding: 64px 0; }
  .cta-band .wrap { padding: 64px 0; }
  .hero-actions .btn { width: 100%; }
}

@media (min-width: 721px) {
  .nav-toggle:checked ~ .nav { display: flex; }
}
