:root {
  --ink: #0b3c49;
  --muted: #55727a;
  --paper: #f7f4ef;
  --surface: #fffdf8;
  --line: rgba(11, 60, 73, 0.14);
  --forest: #0b3c49;
  --moss: #4f8a8f;
  --lake: #0b3c49;
  --sky: #d9ebef;
  --mist: #edf4f3;
  --sun: #f26a2e;
  --ember: #f26a2e;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 60, 73, 0.16);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Manrope", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  min-height: 72px;
  padding: 12px 14px 12px 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(11, 60, 73, 0.4);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 18px 46px rgba(11, 60, 73, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px;
  transition: transform 220ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.04);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 0.98rem;
}

.brand-copy small {
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.66;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0.86;
  transition: background 160ms ease, opacity 160ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

.site-header.is-scrolled .site-nav a:hover {
  background: var(--mist);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 148px max(20px, calc((100vw - 1160px) / 2)) 38px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 43, 53, 0.9), rgba(6, 43, 53, 0.58) 48%, rgba(6, 43, 53, 0.2)),
    linear-gradient(180deg, rgba(6, 43, 53, 0.08), rgba(6, 43, 53, 0.76));
}

.hero-content {
  position: relative;
  align-self: center;
  max-width: 720px;
  padding-bottom: 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--lake);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd1bd;
}

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

h1,
h2 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.7vw, 4.9rem);
  letter-spacing: -0.02em;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.7vw, 4rem);
  letter-spacing: -0.018em;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.32;
}

.hero-lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
}

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

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--sun);
  color: var(--white);
  box-shadow: 0 18px 32px rgba(242, 106, 46, 0.26);
}

.button-primary::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  content: "";
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button-primary:hover::after {
  transform: translateX(120%);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: end;
  gap: 1px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.hero-panel div {
  display: grid;
  min-height: 132px;
  align-content: end;
  gap: 10px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.metric {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
}

.hero-panel span:last-child {
  max-width: 230px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 86px 0;
}

.intro {
  padding-bottom: 58px;
}

.intro-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 58px;
  align-items: center;
}

.intro-grid p,
.section-heading > p,
.territory-copy p,
.cta-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

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

.solution-card,
.fit-grid article,
.process-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.solution-card {
  display: grid;
  min-height: 245px;
  align-content: space-between;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.solution-card:hover,
.fit-grid article:hover,
.process-list article:hover {
  border-color: rgba(47, 127, 143, 0.24);
  box-shadow: 0 22px 48px rgba(11, 60, 73, 0.1);
  transform: translateY(-5px);
}

.solution-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.solution-card p {
  color: var(--muted);
  line-height: 1.58;
}

.card-number {
  width: max-content;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ember);
  font-size: 0.76rem;
  font-weight: 800;
}

.solution-card.featured {
  background: var(--forest);
  color: var(--white);
}

.solution-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.solution-card.featured .card-number {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffd1bd;
}

.image-card {
  display: block;
  min-height: 245px;
  padding: 0;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.image-card:hover img {
  transform: scale(1.06);
}

.process {
  padding-top: 58px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.process-list article {
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-list span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  color: var(--forest);
  font-weight: 800;
}

.process-list p,
.fit-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.territory {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(360px, 0.8fr);
  gap: 0;
  min-height: 620px;
  background: var(--forest);
  color: var(--white);
}

.territory-media {
  min-height: 620px;
  overflow: hidden;
}

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

.territory-copy {
  display: grid;
  align-content: center;
  padding: clamp(40px, 6vw, 76px);
}

.territory-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3.7rem);
}

.territory-copy .section-kicker {
  color: #ffd1bd;
}

.territory-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.territory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.territory-tags span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.territory-tags span:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.text-link {
  width: max-content;
  justify-self: end;
  color: var(--lake);
  font-weight: 800;
}

.section-cta {
  align-self: center;
  justify-self: end;
  min-width: 220px;
}

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

.fit-grid article {
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
  gap: 64px;
  width: var(--container);
  margin: 0 auto 110px;
  padding: 62px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  line-height: 1.05;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink);
  outline: 0;
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
  padding: 15px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--lake);
  box-shadow: 0 0 0 4px rgba(47, 127, 143, 0.12);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(26px);
}

.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

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

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

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding: 70px max(20px, calc((100vw - 1160px) / 2));
  background: #062b35;
  color: var(--white);
}

.footer p,
.footer-links {
  color: rgba(255, 255, 255, 0.66);
}

.footer p {
  max-width: 420px;
  margin: 20px 0 0;
}

.footer-links {
  display: grid;
  gap: 12px;
  justify-items: end;
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 920px) {
  .site-header {
    top: 10px;
    width: calc(100vw - 20px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 20px));
    padding: 8px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 820px;
    padding-top: 140px;
  }

  .hero-panel,
  .intro-grid,
  .section-heading,
  .territory,
  .cta,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: start;
  }

  .solution-grid,
  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .text-link,
  .section-cta,
  .footer-links {
    justify-self: start;
    justify-items: start;
  }

  .cta {
    gap: 36px;
    padding: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 1160px);
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 20px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.05;
  }

  .hero-panel,
  .solution-grid,
  .process-list,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    min-height: 118px;
  }

  .section {
    padding: 64px 0;
  }

  .solution-card {
    min-height: 210px;
  }

  .territory-media {
    min-height: 430px;
  }

  .cta {
    margin-bottom: 70px;
    padding: 26px;
  }

  .footer {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}

/* form notices */
.form-notice{border-radius:6px;padding:12px 16px;font-size:14px;margin-bottom:16px;}
.form-notice--success{background:#d1fae5;color:#065f46;}
.form-notice--error{background:#fee2e2;color:#991b1b;}
.form-notice--error a{color:#7f1d1d;}
