:root {
  --ink: #10202a;
  --muted: #65727c;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --line: #d8ded7;
  --green: #0f8a5f;
  --teal: #0c7180;
  --navy: #102f45;
  --amber: #d88425;
  --red: #d83b35;
  --shadow: 0 18px 45px rgba(16, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: rgba(10, 22, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a,
.header-cta,
.primary-action,
.secondary-action {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active,
.header-cta:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.nav-links a.active {
  color: #ffffff;
  font-weight: 800;
}

.header-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 750;
  white-space: nowrap;
}

.header-cta {
  color: #10202a;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  padding: 112px clamp(18px, 5vw, 72px) 0;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 17, 24, 0.86) 0%, rgba(6, 17, 24, 0.6) 45%, rgba(6, 17, 24, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 17, 24, 0.72) 0%, rgba(6, 17, 24, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 850px;
  padding-bottom: 62px;
}

.partner-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 8px 12px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.partner-row img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.partner-row span {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.28);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8bd8b9;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 7.8rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.hero-lede {
  max-width: min(690px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

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

.primary-action {
  color: #ffffff;
  background: var(--green);
}

.secondary-action {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1020px, 100%);
  margin: 0 auto;
  background: #ffffff;
  color: var(--ink);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-metrics article {
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.hero-metrics article:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: clamp(74px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.intro-band,
.satellite-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  background: #ffffff;
}

.section-copy {
  max-width: 760px;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.netzero-band p,
.video-panel p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-copy p:not(.eyebrow) {
  margin: 22px 0 0;
}

.focus-grid {
  display: grid;
  gap: 18px;
}

.focus-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf7;
}

.focus-card .gas-symbol {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 850;
}

.focus-card.methane .gas-symbol {
  background: var(--teal);
}

.focus-card.nitrogen .gas-symbol {
  background: var(--amber);
}

.focus-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.map-section {
  background: var(--paper);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  align-items: stretch;
}

.map-panel,
.field-detail,
.video-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.map-panel {
  overflow: hidden;
  min-height: 620px;
  padding: 0;
}

#fieldMap {
  width: 100%;
  height: 100%;
  min-height: 560px;
}

.leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 560px;
  font-family: inherit;
  background: #dce8e6;
}

.leaflet-control-zoom a {
  color: var(--ink);
  font-weight: 800;
}

.leaflet-control-attribution {
  color: rgba(16, 32, 42, 0.72);
  font-size: 0.68rem;
}

.pdo-marker {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 9px 18px rgba(16, 32, 42, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pdo-marker img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.pdo-marker.active,
.pdo-marker:hover {
  transform: scale(1.16);
  box-shadow: 0 12px 26px rgba(15, 138, 95, 0.35);
}

.field-popup .leaflet-popup-content {
  display: grid;
  gap: 4px;
  min-width: 180px;
  margin: 14px 16px;
  color: var(--ink);
}

.field-popup strong {
  font-size: 1.05rem;
}

.field-popup span,
.field-popup small {
  color: var(--muted);
}

.map-fallback {
  display: grid;
  place-content: center;
  min-height: 560px;
  padding: 26px;
  color: var(--ink);
  text-align: center;
  background: #e8f0ee;
}

.map-fallback span {
  color: var(--muted);
}

.field-detail {
  padding: clamp(22px, 4vw, 32px);
}

.field-detail h3 {
  margin-bottom: 24px;
}

.field-detail dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.field-detail dl div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.field-detail dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field-detail dd {
  margin: 4px 0 0;
  font-weight: 750;
}

.field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.field-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px;
  color: var(--ink);
  background: #f0f5f1;
  border: 1px solid #d6e2d9;
  border-radius: 6px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
}

.field-list button img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.field-list button span {
  min-width: 0;
}

.field-list button.active,
.field-list button:hover {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.satellite-section {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1fr);
}

.satellite-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.satellite-visual img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.spec-row article {
  min-height: 108px;
  padding: 18px;
  border-radius: 8px;
  background: #f2f6f8;
  border: 1px solid #d7e0e4;
}

.spec-row span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-row strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.18;
}

.netzero-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(56px, 8vw, 94px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  background: var(--navy);
}

.netzero-band .eyebrow {
  color: #9ee2c6;
}

.netzero-band p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.page-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  padding: 116px clamp(18px, 5vw, 72px) clamp(58px, 8vw, 94px);
}

.page-hero-image,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-image {
  object-fit: cover;
}

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 17, 24, 0.86), rgba(6, 17, 24, 0.46)),
    linear-gradient(0deg, rgba(6, 17, 24, 0.62), rgba(6, 17, 24, 0.1));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-hero .eyebrow {
  color: #8bd8b9;
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(2.8rem, 6.4vw, 6.5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
}

.about-intro,
.about-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  background: #ffffff;
}

.about-logo-panel {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf7;
  box-shadow: var(--shadow);
}

.about-logo-panel img {
  width: min(220px, 78%);
  margin-bottom: 22px;
}

.about-logo-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.about-workflow {
  background: var(--paper);
}

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

.workflow-grid article,
.detail-card {
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 32, 42, 0.08);
}

.workflow-grid span,
.detail-card strong {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 58px;
  margin-bottom: 22px;
  padding: 0 12px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--teal);
  font-weight: 850;
}

.workflow-grid article:nth-child(2) span,
.detail-card:nth-child(2) strong {
  background: var(--amber);
}

.workflow-grid article:nth-child(3) span,
.detail-card:nth-child(3) strong {
  background: var(--green);
}

.workflow-grid p,
.detail-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.about-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  color: #ffffff;
  background: var(--navy);
}

.about-fields .eyebrow {
  color: #9ee2c6;
}

.about-fields p {
  color: rgba(255, 255, 255, 0.78);
}

.about-link {
  min-width: 240px;
}

.media-section {
  background: #ffffff;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}

.image-tile {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.image-tile:hover img {
  transform: scale(1.035);
}

.image-tile span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 8px 10px;
  color: #ffffff;
  background: rgba(6, 17, 24, 0.76);
  border-radius: 6px;
  font-weight: 750;
}

.video-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  margin-top: 24px;
  padding: clamp(18px, 3vw, 28px);
}

.video-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #0b1821;
  object-fit: cover;
}

.video-panel p {
  margin: 16px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #07141d;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.footer-links a:hover {
  color: #ffffff;
}

.floating-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 30;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #ffffff;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(16, 32, 42, 0.24);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.floating-top:hover {
  transform: translateY(-3px);
  background: var(--teal);
  box-shadow: 0 20px 42px rgba(16, 32, 42, 0.3);
}

.floating-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .intro-band,
  .satellite-section,
  .map-layout,
  .netzero-band,
  .video-panel,
  .about-intro,
  .about-details,
  .about-fields {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .satellite-visual {
    order: 2;
  }

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

  .image-tile {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
    gap: 10px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding: 96px 16px 0;
  }

  .page-hero {
    min-height: 76vh;
    padding: 96px 16px 58px;
  }

  .page-hero-content,
  .about-page .section-copy,
  .about-page .section-heading,
  .about-logo-panel,
  .workflow-grid,
  .detail-grid,
  .about-link {
    width: 100%;
    max-width: 358px;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: 2.05rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-content {
    max-width: 358px;
    padding-bottom: 34px;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: 2.5rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-metrics,
  .spec-row {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    width: 100%;
    max-width: 358px;
    margin-left: 0;
    margin-right: auto;
  }

  .hero-metrics article {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 16px;
  }

  .map-panel {
    min-height: 470px;
    padding: 8px;
  }

  #fieldMap {
    min-height: 450px;
  }

  .field-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .floating-top {
    width: 46px;
    height: 46px;
  }
}
