:root {
  --paper: #f4f8f4;
  --surface: #ffffff;
  --ink: #122019;
  --muted: #536159;
  --green: #08783f;
  --green-dark: #07552f;
  --green-soft: #dff2e6;
  --line: #cbd7cf;
  --red: #b92f2c;
  --radius: 28px;
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(8, 120, 63, 0.18);
}

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

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

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid white;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), var(--content));
  min-height: 68px;
  margin: 12px auto 0;
  padding: 10px 12px 10px 22px;
  border: 1px solid rgba(18, 32, 25, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(18, 52, 34, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
}

.brand-name {
  color: var(--red);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-cross {
  position: relative;
  width: 18px;
  height: 18px;
}

.brand-cross::before,
.brand-cross::after {
  position: absolute;
  content: "";
  border-radius: 2px;
  background: var(--green);
}

.brand-cross::before {
  inset: 0 6px;
}

.brand-cross::after {
  inset: 6px 0;
}

nav {
  display: flex;
  gap: 28px;
}

nav a,
.header-contact {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a {
  color: var(--muted);
}

nav a:hover {
  color: var(--green-dark);
}

.header-contact {
  justify-self: end;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--green-dark);
  color: white;
}

.header-contact:hover,
.button-primary:hover {
  background: #043e23;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  width: min(calc(100% - 32px), var(--content));
  min-height: calc(100dvh - 108px);
  margin: 18px auto 0;
}

.hero-copy,
.hero-media {
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 84px);
}

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

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(52px, 6.2vw, 92px);
  font-weight: 800;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
}

.hero-lead,
.section-intro > p:last-child,
.screen-copy p,
.location-copy > p:last-child,
.partner p {
  color: var(--muted);
  font-size: 18px;
}

.hero-lead {
  max-width: 540px;
  margin: 0 0 34px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--green-dark);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button:active {
  transform: translateY(0);
}

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

.button-secondary {
  background: transparent;
  color: var(--green-dark);
}

.button-secondary:hover {
  background: var(--green-soft);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 12px 18px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.pilot-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 32px), var(--content));
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.pilot-facts div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 26px 30px;
}

.pilot-facts div + div {
  border-left: 1px solid var(--line);
}

.pilot-facts strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pilot-facts span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.section {
  width: min(calc(100% - 32px), var(--content));
  margin: 112px auto 0;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}

.section-intro {
  position: sticky;
  top: 108px;
}

.section-intro > p:last-child {
  max-width: 480px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: process;
}

.process-list li:first-child {
  border-top: 1px solid var(--line);
}

.process-list span {
  font-size: 17px;
  font-weight: 800;
}

.process-list span::before {
  content: "0" counter(process) " ";
  color: var(--green);
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.equipment {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.equipment-media,
.equipment-copy {
  margin: 0;
  border-radius: var(--radius);
  background: var(--surface);
}

.equipment-media {
  min-height: 760px;
  overflow: hidden;
}

.equipment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-copy {
  padding: clamp(38px, 6vw, 76px);
}

.equipment-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
}

.equipment-points article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.equipment-points p {
  margin: 0;
  color: var(--muted);
}

.screen-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--green-soft);
}

.screen-copy {
  align-self: center;
  padding: clamp(32px, 6vw, 72px);
}

.screen-media {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
}

.screen-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location {
  position: relative;
  width: min(calc(100% - 32px), var(--content));
  min-height: 690px;
  margin: 112px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.location::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 35, 21, 0.92) 0%, rgba(7, 35, 21, 0.7) 46%, rgba(7, 35, 21, 0.05) 78%);
}

.location > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: clamp(42px, 8vw, 100px);
  color: white;
}

.location-copy .eyebrow {
  color: #9fe4b9;
}

.location-copy > p:last-child {
  color: white;
}

.pilot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 80px;
  padding: clamp(42px, 7vw, 86px);
  border-radius: var(--radius);
  background: var(--surface);
}

.pilot-goals {
  display: grid;
  align-content: center;
}

.pilot-goals p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.pilot-goals p:first-child {
  border-top: 1px solid var(--line);
}

.pilot-goals strong {
  color: var(--ink);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
}

.partner,
.contact-copy {
  border-radius: var(--radius);
  background: var(--surface);
}

.partner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.partner img {
  width: min(230px, 100%);
  height: auto;
  margin-bottom: 24px;
}

.partner p {
  margin: 0;
  font-size: 16px;
}

.contact-copy {
  padding: clamp(42px, 7vw, 86px);
}

.contact-link {
  display: block;
  width: fit-content;
  margin-top: 14px;
  color: var(--green-dark);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.contact-link span {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  width: min(calc(100% - 32px), var(--content));
  margin: 88px auto 0;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer > span {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.06em;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--green-dark);
  font-weight: 750;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 4px;
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .process,
  .equipment,
  .screen-story,
  .pilot,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 42px 28px;
  }

  .hero-media {
    min-height: 420px;
    order: -1;
  }

  .pilot-facts {
    grid-template-columns: 1fr;
  }

  .pilot-facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    margin-top: 76px;
  }

  .section-intro {
    position: static;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .equipment-media {
    min-height: 540px;
  }

  .equipment-points {
    grid-template-columns: 1fr;
  }

  .location {
    min-height: 620px;
    margin-top: 76px;
  }

  .location::after {
    background: linear-gradient(0deg, rgba(7, 35, 21, 0.94) 0%, rgba(7, 35, 21, 0.78) 56%, rgba(7, 35, 21, 0.08) 100%);
  }

  .location-copy {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 34px 28px;
  }

  .pilot {
    gap: 20px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  :root {
    --radius: 20px;
  }

  .site-header,
  .hero,
  .pilot-facts,
  .section,
  .location,
  footer {
    width: min(calc(100% - 20px), var(--content));
  }

  .site-header {
    top: 8px;
    min-height: 60px;
    margin-top: 8px;
    padding: 8px 8px 8px 14px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-cross {
    width: 16px;
    height: 16px;
  }

  .brand-cross::before {
    inset: 0 5px;
  }

  .brand-cross::after {
    inset: 5px 0;
  }

  .header-contact {
    padding: 10px 13px;
    font-size: 12px;
  }

  .hero {
    margin-top: 10px;
    gap: 10px;
  }

  .hero-media {
    min-height: 330px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

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

  .pilot-facts {
    margin-top: 10px;
  }

  .pilot-facts div {
    padding: 22px;
  }

  .equipment-copy,
  .screen-copy,
  .pilot,
  .partner,
  .contact-copy {
    padding: 30px 24px;
  }

  .equipment-media {
    min-height: 440px;
  }

  .screen-story {
    padding: 10px;
  }

  .screen-media {
    max-height: 580px;
  }

  .contact-link {
    overflow-wrap: anywhere;
  }
}

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

  .button {
    transition: none;
  }
}
