:root {
  --ink: #071820;
  --muted: #5c6970;
  --line: #dfe6e8;
  --surface: #f4f7f6;
  --card: #ffffff;
  --accent: #11586c;
  --accent-2: #dcecf0;
  --gold: #b58a3c;
  --shadow: 0 18px 70px rgba(6, 30, 41, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  color: var(--muted);
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(7, 24, 32, 0.08);
  backdrop-filter: blur(16px);
}

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

.nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  color: #3d4b51;
  font-size: 14px;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #0d4656;
}

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

.button.light {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}

.button.compact {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

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

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(76px, 10vw, 118px) clamp(18px, 4vw, 40px) 50px;
  text-align: center;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 670px;
  margin: 26px 0 0;
  font-size: 18px;
}

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

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

.signal-row {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #405057;
  font-size: 13px;
  font-weight: 650;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: min(100%, 980px);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
}

.media-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 160px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(7, 24, 32, 0.72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.media-note span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.media-note strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px) 70px;
  gap: 14px;
}

.metrics div {
  min-height: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.metrics strong {
  display: block;
  color: var(--gold);
  font-size: 13px;
}

.metrics span {
  display: block;
  margin-top: 12px;
  font-weight: 750;
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 86px clamp(18px, 4vw, 40px);
}

.compact-section {
  padding-top: 42px;
}

.section.muted {
  max-width: none;
  background: #eaf0ef;
}

.section.muted > * {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.image-band h2,
.split h2,
.contact h2,
.legal-page h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:last-child {
  font-size: 17px;
}

.service-grid,
.model-grid,
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card,
.model-card,
.challenge-grid article,
.principles article,
.category-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 8px 32px rgba(6, 30, 41, 0.04);
}

.service-card,
.model-card,
.challenge-grid article,
.principles article {
  padding: 24px;
}

.challenge-grid article {
  min-height: 210px;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card h3,
.model-card h3,
.principles h3,
.category-grid h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.image-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 54px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 62px clamp(18px, 4vw, 40px);
}

.image-band img {
  width: 100%;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.category-grid article {
  overflow: hidden;
}

.category-grid img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.category-grid h3,
.category-grid p {
  padding-left: 18px;
  padding-right: 18px;
}

.category-grid h3 {
  margin-top: 18px;
}

.category-grid p {
  margin-bottom: 20px;
  font-size: 14px;
}

.model-card strong {
  color: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
}

.principles {
  display: grid;
  gap: 14px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  max-width: 1220px;
  margin: 0 auto 84px;
  padding: 42px clamp(22px, 4vw, 46px);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}

.contact p,
.contact .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  color: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
  padding: 46px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer img {
  width: 138px;
}

.site-footer strong,
.site-footer a,
.site-footer p {
  display: block;
}

.site-footer strong {
  margin-bottom: 14px;
}

.site-footer a,
.site-footer p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-header {
  position: static;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 22px 110px;
}

.legal-page section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.legal-page h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

  .nav {
    position: fixed;
    inset: 72px 18px auto;
    display: none;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .hero,
  .image-band,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .service-grid,
  .model-grid,
  .challenge-grid,
  .category-grid,
  .metrics,
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .site-header .button.compact {
    display: none;
  }

  .brand img {
    width: 112px;
  }

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

  .service-grid,
  .model-grid,
  .challenge-grid,
  .category-grid,
  .metrics,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact {
    margin-left: 18px;
    margin-right: 18px;
  }
}
