:root {
  color-scheme: light;
  --ink: #0d2137;
  --muted: #50677a;
  --line: #d8e8ef;
  --paper: #f3f8fb;
  --white: #ffffff;
  --green: #0068b7;
  --green-2: #45c92f;
  --steel: #0098c8;
  --amber: #45c92f;
  --shadow: 0 20px 60px rgba(13, 33, 55, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(243, 248, 251, 0.94);
  box-shadow: 0 1px 0 rgba(13, 33, 55, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 30px rgba(13, 33, 55, 0.08);
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(13, 33, 55, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: rgba(0, 104, 183, 0.1);
  color: var(--green);
}

.site-nav a[aria-current="page"] {
  color: var(--green);
  background: rgba(0, 104, 183, 0.1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(13, 33, 55, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 118px clamp(18px, 4vw, 48px) 34px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 248, 251, 0.98) 0%, rgba(243, 248, 251, 0.74) 42%, rgba(243, 248, 251, 0.16) 100%),
    linear-gradient(0deg, rgba(243, 248, 251, 0.96) 0%, rgba(243, 248, 251, 0.08) 44%),
    url("assets/hero-solar.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content {
  padding-bottom: clamp(40px, 9vh, 108px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  color: #263d52;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-primary:hover {
  background: #005291;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(13, 33, 55, 0.18);
}

.section {
  padding: clamp(78px, 10vw, 128px) clamp(18px, 4vw, 48px);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 86px);
}

.intro {
  background: var(--white);
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.capability-band {
  background: #edf8fb;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.compact {
  margin-bottom: 34px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.capability-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1fr);
  min-height: 390px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(13, 33, 55, 0.1);
  border-radius: var(--radius);
}

.capability-card img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.capability-card div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-number {
  width: fit-content;
  margin-bottom: 20px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.market {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 104, 183, 0.94), rgba(0, 152, 200, 0.76)),
    url("assets/hero-solar.jpg") center / cover no-repeat;
}

.market .eyebrow {
  color: #bdffb1;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: end;
}

.market-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.metrics div {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.metrics strong {
  display: block;
  margin-bottom: 16px;
  color: #c8ff86;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.sector-metrics strong {
  font-size: clamp(26px, 3.2vw, 40px);
}

.metrics span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.operating-model {
  background: #eef7f9;
}

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

.model-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(13, 33, 55, 0.1);
  border-radius: var(--radius);
}

.model-item img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.model-item h3,
.model-item p {
  margin-inline: 24px;
}

.model-item h3 {
  margin-top: 24px;
}

.model-item p {
  margin-bottom: 26px;
  color: var(--muted);
}

.partnership {
  background: var(--white);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-category {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: #f6fbfd;
  border: 1px solid rgba(13, 33, 55, 0.1);
  border-radius: var(--radius);
}

.partner-category-wide {
  grid-column: 1 / -1;
}

.partner-category span {
  display: block;
  color: var(--steel);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-logo-card {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 20px;
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(13, 33, 55, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(13, 33, 55, 0.08);
}

.partner-logo-card img {
  width: min(100%, 190px);
  max-height: 68px;
  object-fit: contain;
}

.partner-text-logo {
  gap: 8px;
  text-align: center;
}

.partner-text-logo strong {
  display: block;
  color: var(--green);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.partner-text-logo span {
  display: block;
  color: var(--steel);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.partner-category-wide .partner-logo-card img {
  max-height: 76px;
}

.policy {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 104, 183, 0.94), rgba(69, 201, 47, 0.62)),
    url("assets/transmission.jpg") center / cover no-repeat;
}

.policy .eyebrow {
  color: #e9ffe2;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(38px, 6vw, 86px);
}

.policy-points {
  display: grid;
  gap: 18px;
}

.policy-points div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.policy-points div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-points p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.contact-note {
  display: grid;
  gap: 6px;
  margin-top: 32px;
  padding: 22px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.66);
}

.contact-note span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(13, 33, 55, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form span {
  color: #263d52;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #cfd8d3;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf7;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 3px solid rgba(0, 104, 183, 0.18);
  border-color: var(--green);
}

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

.site-footer {
  padding: 30px clamp(18px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.78);
  background: #0d2137;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.simple-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(243, 248, 251, 0.95), rgba(243, 248, 251, 0.76)),
    url("assets/hero-solar.jpg") center / cover no-repeat;
}

.simple-message {
  width: min(100%, 620px);
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 33, 55, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.simple-message h1 {
  margin: 32px 0 16px;
  font-size: clamp(42px, 8vw, 76px);
}

.simple-message p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.calculator-page {
  background: #f3f8fb;
}

.calculator-hero {
  padding: 128px clamp(18px, 4vw, 48px) 44px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 104, 183, 0.94), rgba(69, 201, 47, 0.62)),
    url("assets/mining-truck.jpg") center / cover no-repeat;
}

.calculator-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
}

.calculator-hero .eyebrow {
  color: #d8ffcc;
}

.calculator-hero h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(40px, 5vw, 72px);
}

.calculator-hero p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.calculator-shell {
  padding: 34px clamp(18px, 4vw, 48px) clamp(80px, 10vw, 124px);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.calculator-form {
  display: grid;
  gap: 18px;
}

.calc-panel,
.results-card {
  border: 1px solid rgba(13, 33, 55, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(13, 33, 55, 0.08);
}

.calc-panel {
  padding: clamp(20px, 3vw, 28px);
}

.calc-panel-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.calc-panel-heading h2,
.breakdown-card h2,
.solution-card h2 {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.15;
}

.calc-panel-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.panel-step {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

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

.field-grid label,
.assumptions-panel label {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.field-grid span,
.toggle-row span {
  color: #263d52;
  font-size: 13px;
  font-weight: 800;
}

.field-grid input,
.field-grid select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd8d3;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfaf7;
}

.field-grid input:focus,
.field-grid select:focus {
  outline: 3px solid rgba(0, 104, 183, 0.18);
  border-color: var(--green);
}

.input-suffix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfd8d3;
  border-radius: 8px;
  background: #fbfaf7;
}

.input-suffix input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.input-suffix em {
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.compact-fields {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.calc-recommend {
  margin-top: 16px;
}

.toggle-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.toggle-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 14px;
  border: 1px solid rgba(13, 33, 55, 0.1);
  border-radius: 8px;
  background: #fbfaf7;
}

.toggle-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--green);
}

.assumptions-panel summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.assumptions-panel .field-grid {
  margin-top: 20px;
}

.source-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.calculator-results {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.results-card {
  padding: 22px;
}

.primary-result {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-2));
}

.primary-result .eyebrow {
  color: #e7ffdf;
}

.primary-result strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.primary-result span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.result-grid .results-card {
  min-height: 138px;
}

.result-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.result-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--green);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.breakdown-card dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.breakdown-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(13, 33, 55, 0.1);
}

.breakdown-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.breakdown-card dt {
  color: var(--muted);
  font-weight: 700;
}

.breakdown-card dd {
  margin: 0;
  text-align: right;
  font-weight: 850;
}

.solution-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 16px 0;
  list-style: none;
}

.solution-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 700;
}

.solution-card li::before {
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.solution-card p {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(13, 33, 55, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 108px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(243, 248, 251, 0.92) 0%, rgba(243, 248, 251, 0.76) 54%, rgba(243, 248, 251, 0.96) 100%),
      url("assets/hero-solar.jpg") center / cover no-repeat;
  }

  .hero-content {
    padding: 72px 0 40px;
  }

  .metrics,
  .model-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .two-column,
  .market-layout,
  .policy-layout,
  .contact-layout,
  .calculator-hero-inner,
  .calculator-layout {
    grid-template-columns: 1fr;
  }

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

  .metrics div {
    min-height: auto;
  }

  .partner-category {
    min-height: auto;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-results {
    position: static;
  }

  .compact-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    padding: 5px 7px;
  }

  .brand-logo {
    height: 44px;
  }

  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .capability-card {
    grid-template-columns: 1fr;
  }

  .capability-card img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .field-grid,
  .compact-fields,
  .result-grid,
  .partner-logo-grid {
    grid-template-columns: 1fr;
  }

  .calculator-hero {
    padding-top: 112px;
  }

  .calculator-hero h1 {
    font-size: 38px;
  }

  .breakdown-card div {
    display: grid;
  }

  .breakdown-card dd {
    text-align: left;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
