:root {
  --navy: #0d1b2a;
  --ink: #152231;
  --charcoal: #2a3342;
  --gold: #c8a063;
  --warm: #e6e6e1;
  --white: #ffffff;
  --paper: #f6f5f0;
  --line: rgba(13, 27, 42, 0.14);
  --shadow: 0 28px 70px rgba(13, 27, 42, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  color: var(--navy);
  background: rgba(246, 245, 240, 0.96);
  box-shadow: 0 10px 35px rgba(13, 27, 42, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  display: block;
  width: clamp(164px, 16vw, 220px);
  height: auto;
}

.brand-logo.logo-on-light {
  display: none;
}

.site-header.scrolled .brand-logo.logo-on-dark,
.site-header.menu-open .brand-logo.logo-on-dark {
  display: none;
}

.site-header.scrolled .brand-logo.logo-on-light,
.site-header.menu-open .brand-logo.logo-on-light {
  display: block;
}

.footer-brand .brand-logo.logo-on-dark {
  display: block;
}

.footer-brand .brand-logo.logo-on-light {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav .language-link {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
}

.site-header.scrolled .site-nav .language-link,
.site-header.menu-open .site-nav .language-link {
  border-color: rgba(13, 27, 42, 0.22);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: max(820px, 94vh);
  color: var(--white);
  overflow: hidden;
}

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

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 27, 42, 0.92) 0%, rgba(13, 27, 42, 0.7) 38%, rgba(13, 27, 42, 0.18) 78%),
    linear-gradient(0deg, rgba(13, 27, 42, 0.85) 0%, rgba(13, 27, 42, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100% - 40px));
  margin: 0 0 176px clamp(20px, 6vw, 84px);
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 5.3vw, 70px);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

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

.hero-metrics {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 4vw, 56px);
  bottom: 0;
  left: clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(13, 27, 42, 0.72);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  min-height: 132px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.hero-metrics span,
.proof-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section,
.section-band,
.contact-section {
  padding: clamp(72px, 9vw, 132px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.split,
.partners-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.intro-copy {
  color: rgba(21, 34, 49, 0.74);
  font-size: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading.compact {
  max-width: 720px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-card {
  min-height: 320px;
  padding: 34px 28px;
  background: var(--white);
}

.capability-card .icon {
  display: inline-flex;
  margin-bottom: 70px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 36px;
}

.capability-card p,
.sector-copy p,
.partners-grid p,
.partner-cards span,
.timeline p,
.contact-grid p {
  color: rgba(21, 34, 49, 0.72);
}

.image-section {
  background: #e6e6e1;
}

.image-panel {
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.sector-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(13, 27, 42, 0.12);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-section {
  color: var(--white);
  background: var(--navy);
}

.process-section h2 {
  color: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline article {
  position: relative;
  padding: 34px 26px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 18px;
}

.timeline p {
  color: rgba(255, 255, 255, 0.7);
}

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

.partner-cards {
  display: grid;
  gap: 18px;
}

.partner-cards article {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.partner-cards h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.partner-cards p {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proof-section {
  padding: 0;
  background: var(--charcoal);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1280px, 100%);
}

.proof-grid div {
  min-height: 190px;
  padding: 38px clamp(24px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.proof-grid div:last-child {
  border-right: 0;
}

.contact-section {
  background:
    linear-gradient(rgba(246, 245, 240, 0.94), rgba(246, 245, 240, 0.94)),
    radial-gradient(circle at top right, rgba(200, 160, 99, 0.26), transparent 34%);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(13, 27, 42, 0.08);
}

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

.contact-form span {
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid rgba(13, 27, 42, 0.18);
  border-radius: 4px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(200, 160, 99, 0.46);
  outline-offset: 1px;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #08131f;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.simple-page {
  min-height: 100vh;
  background: var(--paper);
}

.message-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.message-brand {
  position: absolute;
  top: 28px;
  left: clamp(20px, 4vw, 56px);
}

.message-brand .brand-logo.logo-on-light {
  display: block;
}

.message-panel {
  width: min(720px, 100%);
  padding: clamp(34px, 6vw, 68px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(13, 27, 42, 0.08);
}

.message-panel h1 {
  color: var(--navy);
}

.message-panel p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(21, 34, 49, 0.72);
  font-size: 18px;
}

.message-panel .button {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px 20px 26px;
    color: var(--navy);
    background: rgba(246, 245, 240, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(13, 27, 42, 0.12);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-content {
    margin-bottom: 310px;
  }

  .hero-metrics,
  .capability-grid,
  .timeline,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .split,
  .partners-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 13px 16px;
  }

  .brand-logo {
    width: 168px;
  }

  .site-nav {
    top: 70px;
  }

  .hero {
    min-height: 1080px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 390px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

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

  .hero-metrics {
    right: 16px;
    left: 16px;
    grid-template-columns: 1fr;
  }

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

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .capability-grid,
  .timeline,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
  }

  .capability-card .icon {
    margin-bottom: 42px;
  }

  .timeline article,
  .proof-grid div {
    border-right: 0;
  }

  .contact-form {
    padding: 20px;
  }
}
