:root {
  --ink: #122224;
  --forest: #143a37;
  --green: #26785c;
  --teal: #198e91;
  --amber: #e6a23e;
  --mist: #f5f7f4;
  --white: #ffffff;
  --muted: #5d706b;
  --line: #dce4dc;
  --soft: #ecf1ed;
  --max: 1200px;
  --shadow: 0 12px 30px rgba(19, 34, 35, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: Inter, "Aptos", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

p {
  margin: 0;
  line-height: 1.55;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.nav-shell,
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
}

.brand-name strong {
  font-weight: 650;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--amber);
}

.brand-mark span {
  display: block;
  width: 17px;
  height: 17px;
  border-top: 3px solid var(--forest);
  border-right: 3px solid var(--forest);
  border-radius: 0 16px 0 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: inherit;
  font-size: 14px;
}

.nav > a:not(.button):hover {
  color: var(--amber);
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.button:hover {
  border-color: #1c624b;
  background: #1c624b;
}

.button-small {
  min-height: 42px;
  padding: 0 20px;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.button-quiet:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: min(80vh, 680px);
  height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

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

.hero-wash {
  background:
    linear-gradient(90deg, rgba(9, 30, 31, 0.8) 0%, rgba(9, 30, 31, 0.68) 38%, rgba(9, 30, 31, 0.14) 72%),
    linear-gradient(0deg, rgba(9, 30, 31, 0.53), transparent 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--max);
  margin: 0 auto;
  padding: 76px 32px 24px;
}

.eyebrow,
.section-tag {
  margin-bottom: 22px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 26px;
  font-size: clamp(42px, 4.25vw, 60px);
  line-height: 1.09;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.signal-band {
  background: var(--forest);
  color: var(--white);
}

.hero-signal {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--forest);
}

.hero-signal div {
  min-height: 110px;
  padding: 24px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-signal div:first-child {
  border-left: 0;
}

.hero-signal span {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 11px;
}

.hero-signal strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}

.hero-signal p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.thesis {
  padding: 82px 0;
  background: var(--white);
}

.thesis-grid {
  display: grid;
  grid-template-columns: 190px minmax(360px, 510px) minmax(290px, 360px);
  gap: 44px;
  align-items: start;
}

.thesis .section-tag {
  color: var(--green);
}

.thesis h2 {
  font-size: 37px;
  line-height: 1.16;
}

.thesis-grid > p:last-child {
  color: var(--muted);
  font-size: 16px;
}

.platform,
.model,
.field,
.contact {
  padding: 94px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-heading .section-tag {
  margin-bottom: 0;
  color: var(--green);
}

.section-heading h2 {
  font-size: 38px;
}

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

.capability {
  min-height: 336px;
  padding: 32px 30px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.capability-num {
  display: block;
  margin-bottom: 48px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.capability h3 {
  margin-bottom: 18px;
  font-size: 25px;
  line-height: 1.2;
}

.capability p:not(.meta) {
  min-height: 80px;
  color: var(--muted);
  font-size: 14.5px;
}

.capability-line {
  width: 100%;
  height: 1px;
  margin: 30px 0 18px;
  background: var(--line);
}

.meta {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.model {
  background: var(--forest);
  color: var(--white);
}

.model-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 72px;
}

.model h2 {
  margin-bottom: 26px;
  font-size: 39px;
  line-height: 1.15;
}

.model-copy {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.flow-step {
  min-height: 178px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.flow-step span {
  display: block;
  margin-bottom: 20px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.flow-step strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.flow-step p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

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

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}

.field-quote {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.field-quote .section-tag {
  color: var(--green);
}

blockquote {
  margin: 0;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.32;
}

.field-text h2 {
  margin-bottom: 24px;
  font-size: 38px;
  line-height: 1.17;
}

.field-text p {
  color: var(--muted);
  font-size: 16px;
}

.contact {
  background: #ecf2ec;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 416px;
  gap: 80px;
  align-items: center;
}

.contact h2 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: 44px;
  line-height: 1.15;
}

.contact-grid > div > p:not(.section-tag) {
  max-width: 500px;
  color: var(--muted);
  font-size: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

input,
select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

input:focus,
select:focus {
  outline: 2px solid rgba(38, 120, 92, 0.2);
  border-color: var(--green);
}

.contact-form .button {
  width: 100%;
  margin-top: 6px;
}

.footer {
  padding: 35px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer-row > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.copyright {
  text-align: right;
}

@media (max-width: 920px) {
  .nav-shell,
  .section-inner {
    padding: 0 22px;
  }

  .nav-toggle {
    display: grid;
    gap: 7px;
    width: 43px;
    height: 43px;
    padding: 12px 9px;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    color: inherit;
  }

  .nav-toggle span {
    display: block;
    height: 1px;
    background: currentColor;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav > a:not(.button) {
    padding: 15px 14px;
  }

  .hero {
    height: auto;
    min-height: 620px;
    align-items: center;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-wash {
    background: linear-gradient(0deg, rgba(9, 30, 31, 0.89) 0%, rgba(9, 30, 31, 0.63) 58%, rgba(9, 30, 31, 0.16) 100%);
  }

  .hero-content {
    padding: 122px 22px 62px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-signal {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-signal div {
    min-height: unset;
    padding: 17px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .hero-signal div:first-child {
    border-top: 0;
  }

  .hero-signal span {
    display: inline-block;
    width: 34px;
    margin-bottom: 0;
  }

  .hero-signal strong {
    display: inline-block;
  }

  .hero-signal p {
    padding-left: 38px;
  }

  .thesis-grid,
  .capability-grid,
  .model-grid,
  .field-grid,
  .contact-grid,
  .footer-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .thesis,
  .platform,
  .model,
  .field,
  .contact {
    padding: 66px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading .section-tag {
    margin-bottom: 18px;
  }

  .section-heading h2,
  .field-text h2,
  .contact h2,
  .model h2,
  .thesis h2 {
    font-size: 32px;
  }

  .capability {
    min-height: 0;
  }

  .capability-num {
    margin-bottom: 32px;
  }

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

  .field-quote {
    padding: 28px;
  }

  blockquote {
    font-size: 25px;
  }

  .footer-row {
    gap: 18px;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 34px;
  }

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