@font-face {
  font-family: "Montserrat";
  src:
    url("./assets/Montserrat-latin.woff2") format("woff2"),
    url("./assets/Montserrat.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src:
    url("./assets/Inter-latin.woff2") format("woff2"),
    url("./assets/Inter.ttf") format("truetype");
  font-display: swap;
}

:root {
  --blue: #073b86;
  --orange: #f58213;
  --orange-strong: #b94700;
  --orange-strong-hover: #a63d00;
  --navy: #061a33;
  --ink: #171d29;
  --muted: #5b6470;
  --paper: #f4f6f8;
  --white: #ffffff;
  --line: #dfe4e9;
  --shell: 1180px;
  --shadow: 0 18px 60px rgb(6 26 51 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

.media-picture {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange-strong);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--shell), calc(100% - 3rem));
  margin-inline: auto;
}

.shell-edge {
  padding-left: max(1.5rem, calc((100vw - var(--shell)) / 2));
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 30px rgb(6 26 51 / 7%);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.brand {
  display: grid;
  width: 194px;
  text-decoration: none;
}

.brand img {
  width: 194px;
  height: auto;
}

.brand span {
  margin-top: -0.15rem;
  padding-left: 1.6rem;
  color: #7b8591;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.header-actions,
.main-nav {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
}

.main-nav {
  gap: clamp(0.9rem, 1.5vw, 1.45rem);
}

.main-nav a,
.footer-nav a {
  position: relative;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.footer-nav a:hover::after,
.footer-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.85rem 1.35rem;
  background: var(--orange-strong);
  border: 1px solid var(--orange-strong);
  border-radius: 2px;
  box-shadow: 0 12px 24px rgb(245 130 19 / 16%);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.button span,
.text-link span {
  transition: transform 220ms ease;
}

.button:hover {
  background: var(--orange-strong-hover);
  border-color: var(--orange-strong-hover);
  box-shadow: 0 16px 32px rgb(245 130 19 / 24%);
  transform: translateY(-2px);
}

.button:hover span,
.text-link:hover span {
  transform: translateX(5px);
}

.button-small {
  min-height: 48px;
  padding-inline: 1.45rem;
  font-size: 0.86rem;
}

.eyebrow {
  position: relative;
  margin: 0 0 1.45rem;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 0.8rem;
  background: var(--orange);
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12.5ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.85rem, 4.4vw, 4.25rem);
  line-height: 1.01;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 3.5vw, 3.8rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero {
  display: grid;
  min-height: 0;
  align-items: center;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-right: clamp(2rem, 4vw, 4.5rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.hero-lead {
  max-width: 33rem;
  margin-bottom: 2.1rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.5;
}

.crop {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.crop img {
  position: absolute;
  max-width: none;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.crop:hover img {
  transform: none;
}

.crop-hero img {
  position: static;
  width: 100%;
  height: auto;
  max-width: 100%;
  transition: none;
}

.crop figcaption {
  position: absolute;
  right: clamp(1.25rem, 3vw, 3rem);
  bottom: clamp(1.25rem, 3vw, 3rem);
  padding-left: 1.15rem;
  border-left: 2px solid var(--orange);
  color: var(--navy);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.8;
  text-transform: uppercase;
}

.service-ribbon {
  border-bottom: 1px solid var(--line);
  background: #f8fafb;
}

.service-ribbon .shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.3rem);
  color: #687482;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.service-ribbon i {
  color: #a8b1ba;
  font-style: normal;
}

.section-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(3rem, 8vw, 7.5rem);
  padding-block: clamp(5rem, 10vw, 9rem);
}

.crop-team {
  aspect-ratio: auto;
  box-shadow: var(--shadow);
}

.crop-team img {
  position: static;
  width: 100%;
  height: auto;
  max-width: 100%;
  transition: none;
}

.section-copy h2 {
  max-width: 10.5ch;
}

.section-copy > p:not(.eyebrow),
.closing-copy > p:not(.eyebrow) {
  max-width: 36rem;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.approach {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--navy);
  color: var(--white);
}

.approach::after {
  content: "";
  position: absolute;
  top: -15rem;
  right: -10rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgb(255 255 255 / 2%), 0 0 0 140px rgb(255 255 255 / 2%);
}

.eyebrow-light {
  color: #a9c9ef;
}

.section-heading {
  position: relative;
  z-index: 1;
}

.section-heading h2 {
  max-width: 16ch;
  margin-bottom: 3.8rem;
  color: var(--white);
}

.approach-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.approach-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.35rem;
  padding: 0 2.5rem;
  border-left: 1px solid rgb(255 255 255 / 22%);
}

.approach-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.approach-card:last-child {
  padding-right: 0;
}

.approach-card .step {
  color: var(--orange);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 0.88;
}

.approach-card h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.approach-card p {
  margin-bottom: 0;
  color: #cbd4df;
  font-size: 0.95rem;
  line-height: 1.65;
}

.closing-cta {
  display: grid;
  min-height: 0;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
}

.closing-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4rem;
  padding-right: clamp(2.5rem, 8vw, 8rem);
  padding-bottom: 4rem;
}

.closing-copy h2 {
  max-width: 11ch;
}

.crop-building img {
  position: static;
  width: 100%;
  height: auto;
  max-width: 100%;
  transition: none;
}

.crop-building figcaption {
  right: auto;
  bottom: 2.4rem;
  left: 2.4rem;
  color: var(--white);
  text-shadow: 0 2px 18px rgb(6 26 51 / 45%);
}

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 1.8fr 0.8fr;
  gap: 3rem;
}

.footer-brand,
.footer-nav {
  min-height: 130px;
}

.footer-brand {
  padding-right: 3rem;
  border-right: 1px solid rgb(255 255 255 / 20%);
}

.footer-brand img {
  width: 210px;
  height: auto;
  margin-bottom: 0.75rem;
}

.footer-brand p,
.footer-statement {
  margin-bottom: 0;
  color: #d1d9e3;
  font-size: 0.75rem;
  line-height: 1.7;
}

.footer-brand span {
  color: #8392a3;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.6vw, 1.45rem);
}

.footer-nav a {
  color: #dbe4ee;
  font-size: 0.78rem;
}

.footer-statement {
  min-height: 130px;
  display: flex;
  align-items: center;
  padding-left: 3rem;
  border-left: 1px solid rgb(255 255 255 / 20%);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: #8392a3;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin-bottom: 0;
}

.page-notice {
  position: fixed;
  z-index: 200;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: min(360px, calc(100vw - 3rem));
  margin: 0;
  padding: 0.9rem 1.1rem;
  background: var(--navy);
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.page-notice.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal-late {
  transition-delay: 110ms;
}

.reveal-latest {
  transition-delay: 210ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .header-inner {
    min-height: 82px;
  }

  .brand,
  .brand img {
    width: 165px;
  }

  .header-actions {
    gap: 1.25rem;
  }

  .header-actions .button-small {
    display: none;
  }

  .main-nav {
    gap: 1.15rem;
  }

  .main-nav a {
    font-size: 0.875rem;
  }

  .hero {
    min-height: 610px;
  }

  .approach-card {
    display: block;
    padding-inline: 1.5rem;
  }

  .approach-card .step {
    display: block;
    margin-bottom: 1.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.6fr;
  }

  .footer-statement {
    display: none;
  }
}

@media (max-width: 820px) {
  .shell,
  .shell-edge {
    width: min(100% - 2rem, var(--shell));
    margin-inline: auto;
    padding-left: 0;
  }

  .menu-toggle {
    z-index: 2;
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-actions {
    position: fixed;
    inset: 82px 0 auto;
    display: grid;
    visibility: hidden;
    gap: 1.75rem;
    padding: 2rem 1rem 2.4rem;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgb(6 26 51 / 12%);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  }

  .header-actions.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .header-actions .button {
    display: inline-flex;
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .hero,
  .closing-cta {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    min-height: 570px;
    padding-block: 4.8rem;
  }

  .crop-hero {
    width: 100%;
    aspect-ratio: auto;
  }

  .crop-hero img {
    position: static;
    width: 100%;
    height: auto;
  }

  .service-ribbon .shell {
    min-height: 74px;
    gap: 0.75rem;
    font-size: 0.67rem;
    letter-spacing: 0.13em;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .section-copy {
    grid-row: 1;
  }

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

  .approach-card,
  .approach-card:first-child,
  .approach-card:last-child {
    display: grid;
    grid-template-columns: 75px 1fr;
    padding: 2rem 0;
    border-top: 1px solid rgb(255 255 255 / 18%);
    border-left: 0;
  }

  .approach-card .step {
    margin: 0;
    font-size: 2.65rem;
  }

  .closing-copy {
    padding-block: 5rem;
  }

  .crop-building {
    width: 100%;
    aspect-ratio: auto;
  }

  .crop-building img {
    position: static;
    width: 100%;
    height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    min-height: auto;
    padding: 0 0 2rem;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
  }

  .footer-nav {
    min-height: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .brand,
  .brand img {
    width: 150px;
  }

  .brand span {
    padding-left: 1rem;
    font-size: 0.62rem;
  }

  .hero-copy {
    min-height: 520px;
  }

  .service-ribbon .shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
    padding-block: 1rem;
    text-align: center;
  }

  .service-ribbon i {
    display: none;
  }

  .approach-card,
  .approach-card:first-child,
  .approach-card:last-child {
    grid-template-columns: 58px 1fr;
    gap: 1rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
