:root {
  --bg: #f3f7fb;
  --paper: #ffffff;
  --ink: #172536;
  --muted: #526170;
  --line: #d7e2ec;
  --accent: #1d67a8;
  --accent-dark: #0b3d6e;
  --forest: #0c2f55;
  --steel: #6689a8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(12, 47, 85, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

section[id] {
  scroll-margin-top: 110px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 160px minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 15px clamp(20px, 4vw, 64px);
  background: linear-gradient(90deg, var(--accent-dark), #144f86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 0;
  width: 150px;
}

.brand-word {
  color: var(--white);
  font-family: Didot, "Bodoni 72", "Bodoni 72 Smallcaps", Georgia, serif;
  display: block;
  width: 150px;
  font-size: 2.34rem;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-align: center;
}

.brand-line {
  color: rgba(255, 255, 255, 0.86);
  font-family: Didot, "Bodoni 72", "Bodoni 72 Smallcaps", Georgia, serif;
  display: block;
  width: 150px;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
}

.header-claim {
  color: var(--white);
  margin: 0;
  justify-self: center;
  text-align: center;
  font-size: clamp(1.02rem, 1.85vw, 1.58rem);
  font-weight: 760;
  line-height: 1.12;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-option {
  min-width: 38px;
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.language-option:hover,
.language-option.is-active {
  background: var(--white);
  color: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 112px) clamp(20px, 5vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

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

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

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 32, 58, 0.76) 0%, rgba(8, 44, 78, 0.48) 46%, rgba(8, 44, 78, 0.08) 100%),
    linear-gradient(0deg, rgba(8, 32, 58, 0.2), rgba(8, 32, 58, 0.03));
}

.hero-content {
  width: min(760px, 100%);
  min-width: 0;
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b9d8f2;
}

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

h1 {
  max-width: 16ch;
  margin-bottom: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 6.4vw, 6.1rem);
  line-height: 1;
  font-weight: 850;
}

h2 {
  margin-bottom: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 760;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 750;
}

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

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

.intro,
.split,
.contact,
.problem-solution {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 80px);
}

.problem-solution {
  background: var(--paper);
}

.problem-card,
.solution-card {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.problem-card {
  background: #f5f9fd;
}

.solution-card {
  background: var(--accent-dark);
  color: var(--white);
}

.solution-card .section-label {
  color: #b9d8f2;
}

.problem-card p:last-child,
.solution-card p:last-child {
  margin-bottom: 0;
  color: inherit;
  opacity: 0.82;
  font-size: clamp(1.04rem, 2vw, 1.18rem);
}

.intro {
  background: var(--paper);
}

.intro p:last-child,
.split-copy,
.contact p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.services,
.process,
.audiences,
.project-insights {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 80px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(32px, 6vw, 68px);
}

.service-note {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 330px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(12, 47, 85, 0.06);
}

.service-number {
  display: block;
  margin-bottom: 58px;
  color: var(--steel);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
}

.service-card p,
.steps span {
  color: var(--muted);
}

.service-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
}

.service-visual-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(12, 47, 85, 0.08);
}

.service-visual-card img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
}

.service-visual-wide img {
  height: auto;
  object-fit: contain;
  background: #061a33;
}

.diagram-details {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: 20px;
  align-items: center;
  padding: 22px clamp(20px, 3vw, 34px);
  background: #f5f9fd;
  border-top: 1px solid var(--line);
}

.diagram-slogan {
  margin: 0;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-style: italic;
  line-height: 1.1;
}

.diagram-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagram-feature-list li {
  position: relative;
  padding-left: 16px;
  color: var(--forest);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.3;
}

.diagram-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.service-visual-card figcaption {
  padding: 18px;
  background: var(--paper);
  color: var(--forest);
  font-weight: 750;
}

.project-insights {
  background: var(--paper);
}

.insight-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.insight-card {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe9f2;
  box-shadow: 0 10px 32px rgba(12, 47, 85, 0.08);
}

.insight-card.large {
  grid-row: span 2;
  min-height: 580px;
}

.insight-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.insight-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(8, 32, 58, 0.86), rgba(8, 32, 58, 0));
  color: var(--white);
  font-weight: 750;
}

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

.split .section-label {
  color: #b9d8f2;
}

.split-copy {
  color: rgba(255, 255, 255, 0.78);
}

.audiences {
  background: var(--paper);
}

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

.audience-grid article {
  min-height: 170px;
  padding: clamp(22px, 3vw, 32px);
  background: #f5f9fd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.audience-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 1.1rem;
  line-height: 1.2;
}

.audience-grid span {
  display: block;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps li {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
}

.contact {
  align-items: center;
  background: #e8f0f8;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 750;
}

.contact-panel a {
  color: var(--accent-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 80px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.partner-marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.partner-marquee[hidden] {
  display: none;
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 22px;
  animation: partner-marquee 32s linear infinite;
}

.partner-marquee:hover .partner-marquee-track {
  animation-play-state: paused;
}

.partner-logo {
  display: inline-flex;
  width: 190px;
  height: 76px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f9fd;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

@keyframes partner-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: clamp(70px, 10vw, 125px) clamp(20px, 5vw, 80px) clamp(34px, 6vw, 70px);
  background: #e8f0f8;
}

.legal-hero h1 {
  max-width: 100%;
  margin-bottom: 0;
  color: var(--ink);
  hyphens: auto;
  overflow-wrap: break-word;
}

.legal-content {
  max-width: 940px;
  padding: clamp(44px, 7vw, 90px) clamp(20px, 5vw, 80px);
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 700;
}

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-claim {
    justify-self: start;
    text-align: left;
  }

  .nav,
  .language-switcher {
    justify-self: start;
  }

  .hero {
    min-height: 700px;
  }

  .intro,
  .split,
  .contact,
  .problem-solution,
  .service-grid,
  .insight-grid,
  .steps,
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-visuals {
    grid-template-columns: 1fr;
  }

  .intro,
  .split,
  .contact,
  .problem-solution {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-visual-card,
  .insight-card,
  .steps li {
    min-height: auto;
  }

  .service-visual-wide {
    min-height: auto;
  }

  .diagram-details {
    grid-template-columns: 1fr;
  }

  .insight-card.large {
    min-height: 360px;
  }

  .service-number {
    margin-bottom: 34px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  section[id] {
    scroll-margin-top: 195px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .legal-hero h1 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

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

  .hero-overlay {
    background: linear-gradient(90deg, rgba(8, 32, 58, 0.82), rgba(8, 44, 78, 0.42));
  }

  .service-grid,
  .service-visuals,
  .insight-grid,
  .steps,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .service-visual-card img,
  .service-visual-wide img {
    height: 300px;
  }

  .service-visual-wide img {
    height: auto;
  }

  .diagram-feature-list {
    grid-template-columns: 1fr;
  }

  .brand {
    width: 150px;
  }

  .brand-word {
    font-size: 2.25rem;
  }
}
