:root {
  --ink: #101316;
  --muted: #5d6870;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #dce2df;
  --red: #c73318;
  --red-dark: #98270f;
  --teal: #0c7974;
  --green: #47724f;
  --amber: #c48a2c;
  --blue: #315e83;
  --night: #111820;
  --night-soft: #1a252d;
  --shadow: 0 18px 50px rgba(16, 19, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 118px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

.site-header.scrolled .brand img,
.site-header.menu-active .brand img {
  filter: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.94rem;
  font-weight: 700;
}

.desktop-nav a,
.mobile-nav a {
  text-decoration: none;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--red);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
}

.header-action {
  color: var(--white);
  background: var(--red);
}

.header-action:hover,
.button.primary:hover {
  background: var(--red-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 72px 14px auto;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-nav a {
  padding: 14px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
}

.mobile-nav a:hover {
  background: #f0f4f1;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

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

.hero-bg {
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.86;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.9), rgba(10, 14, 18, 0.55) 48%, rgba(10, 14, 18, 0.1)),
    linear-gradient(0deg, rgba(10, 14, 18, 0.86), rgba(10, 14, 18, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 120px clamp(18px, 5vw, 64px) 38px;
}

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

.hero .eyebrow {
  color: #ffb090;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.7vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 820px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.46rem);
}

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

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

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 880px);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-metrics div {
  min-height: 88px;
  padding: 18px 18px 10px 0;
}

.hero-metrics strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

.section-heading {
  width: min(100%, 1040px);
  margin: 0 auto 42px;
}

.section-heading.narrow {
  width: min(100%, 820px);
  text-align: center;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.platform-grid article,
.module-grid article,
.team-grid article,
.engagement-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.platform-grid article {
  min-height: 260px;
  padding: 22px;
}

.platform-grid span {
  display: inline-block;
  margin-bottom: 50px;
  color: var(--teal);
  font-weight: 900;
}

.platform-grid p,
.section-copy p,
.container-copy p,
.engagement-panel p,
.site-footer {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

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

.media-stack {
  display: grid;
  gap: 12px;
}

.wide-photo img,
.thumb-row img,
.container-image img,
.map-frame img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.wide-photo,
.container-image,
.map-frame {
  margin: 0;
}

.wide-photo img {
  aspect-ratio: 16 / 9;
}

.thumb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.thumb-row img {
  aspect-ratio: 1.5 / 1;
}

.section-copy {
  width: min(100%, 620px);
}

.section-copy p,
.container-copy p {
  font-size: 1.08rem;
}

.check-list,
.engagement-panel ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.engagement-panel li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before,
.engagement-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.dark {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(260px, 0.52fr) minmax(300px, 0.8fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  color: var(--white);
  background: var(--night);
}

.dark .eyebrow {
  color: #ffb090;
}

.container-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.module-grid {
  display: grid;
  gap: 12px;
}

.module-grid article {
  min-height: 118px;
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--night-soft);
}

.module-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #f7c08b;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.module-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.container-image img {
  aspect-ratio: 1.12 / 1;
}

.engagement-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 880px);
  margin: 0 auto 14px;
  gap: 8px;
}

.engagement-tabs button {
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 900;
}

.engagement-tabs button[aria-selected="true"] {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.engagement-panels {
  width: min(100%, 880px);
  margin: 0 auto;
}

.engagement-panel {
  min-height: 310px;
  padding: clamp(24px, 4vw, 46px);
}

.engagement-panel h3 {
  max-width: 620px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.engagement-panel p {
  max-width: 700px;
}

.map-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 78px);
  align-items: center;
  background: #eef4f0;
}

.map-frame img {
  aspect-ratio: 1.7 / 1;
  box-shadow: var(--shadow);
}

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

.partner-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 12px;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.partner-strip img {
  width: 100%;
  height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.team {
  background: #f3f0ea;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1080px);
  margin: 0 auto;
}

.team-grid article {
  overflow: hidden;
}

.team-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 22%;
}

.team-grid h3,
.team-grid p {
  padding: 0 18px;
}

.team-grid h3 {
  margin: 18px 0 4px;
}

.team-grid p {
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 700;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(56px, 8vw, 88px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(199, 51, 24, 0.96), rgba(12, 121, 116, 0.86)),
    var(--red);
}

.cta-band h2 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

.cta-band .eyebrow {
  color: #ffe2d4;
}

.cta-band .button.primary {
  background: var(--white);
  color: var(--red-dark);
}

.cta-band .button.primary:hover {
  background: #f4f0ea;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 64px);
  font-size: 0.95rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer div {
  color: var(--ink);
  font-weight: 900;
}

.site-footer address {
  font-style: normal;
  text-align: center;
}

.site-footer a {
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid article:last-child {
    grid-column: 1 / -1;
    min-height: 180px;
  }

  .split,
  .dark,
  .map-band {
    grid-template-columns: 1fr;
  }

  .container-image img {
    aspect-ratio: 16 / 9;
  }
}

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

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-bg {
    object-position: 58% 50%;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(10, 14, 18, 0.86), rgba(10, 14, 18, 0.44)),
      linear-gradient(0deg, rgba(10, 14, 18, 0.9), rgba(10, 14, 18, 0.08) 62%);
  }

  .hero-content {
    padding-top: 108px;
  }

  .hero-metrics,
  .engagement-tabs,
  .team-grid,
  .partner-strip,
  .site-footer,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    gap: 0;
  }

  .hero-metrics div {
    min-height: 66px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .platform-grid article,
  .platform-grid article:last-child {
    min-height: auto;
  }

  .platform-grid span {
    margin-bottom: 24px;
  }

  .thumb-row {
    grid-template-columns: 1fr;
  }

  .cta-band .button {
    justify-self: stretch;
  }

  .site-footer address {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 100px;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 5rem);
  }

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

  .team-grid img {
    height: 260px;
  }
}
