:root {
  --ink: #10131a;
  --muted: #687080;
  --line: #d9dde4;
  --paper: #fbfaf7;
  --surface: #f0eee7;
  --navy: #07172d;
  --teal: #0f766e;
  --gold: #b98a2c;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 23, 45, 0.16);
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 32px;
  color: var(--white);
  background: rgba(7, 23, 45, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-toggle svg,
.sector svg,
.capability-card svg,
.proof-points svg {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-slider {
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 520ms ease, transform 620ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

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

.hero-image {
  position: absolute;
  top: 132px;
  right: max(24px, calc((100vw - var(--max)) / 2));
  left: auto;
  z-index: 3;
  width: min(42vw, 520px);
  height: 420px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.hero-layer {
  position: absolute;
  top: 132px;
  right: max(24px, calc((100vw - var(--max)) / 2));
  width: min(42vw, 520px);
  height: 420px;
  pointer-events: none;
}

.hero-layer-one {
  z-index: 2;
  transform: translate(28px, -24px);
  border: 1px solid rgba(185, 138, 44, 0.72);
  background: rgba(185, 138, 44, 0.08);
}

.hero-layer-two {
  z-index: 1;
  transform: translate(-30px, 34px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
}

.hero-note {
  position: absolute;
  right: calc(max(24px, calc((100vw - var(--max)) / 2)) + 28px);
  top: 494px;
  z-index: 4;
  width: min(31vw, 330px);
  padding: 18px 20px;
  color: var(--white);
  background: rgba(7, 23, 45, 0.9);
  border-left: 3px solid var(--gold);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  font-size: 14px;
  font-weight: 800;
}

.hero-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-overlay {
  z-index: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(185, 138, 44, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(7, 23, 45, 1) 0%, rgba(7, 23, 45, 0.94) 55%, rgba(7, 23, 45, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 110px;
  padding-right: min(48vw, 610px);
  padding-bottom: 182px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
blockquote {
  font-family: "Source Serif 4", Georgia, serif;
}

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.7vw, 76px);
  font-weight: 650;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
}

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

.slide-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slider-panel {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2));
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px 22px;
  color: var(--white);
}

.slider-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 86px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.slider-count span:first-child {
  color: var(--gold);
  font-size: 28px;
}

.slider-progress {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.slider-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--gold);
  transform-origin: left center;
  transition: transform 400ms ease;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.slider-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.slider-button svg {
  width: 18px;
  height: 18px;
}

.slider-tabs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
}

.slider-tab {
  min-height: 58px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.slider-tab span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
}

.slider-tab.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.hero-actions,
.proof-points,
.form-row {
  display: flex;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

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

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

.button.full {
  width: 100%;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
}

.surface {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--surface);
}

.intro-grid,
.split,
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.intro-grid p,
.section-heading p,
.split p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.metric-row div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 24px;
}

.metric-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

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

.capability-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
}

.image-card {
  min-height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.capability-card {
  min-height: 210px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(7, 23, 45, 0.08);
}

.capability-card svg {
  margin-bottom: 24px;
  color: var(--teal);
}

.capability-card p {
  color: var(--muted);
  font-size: 15px;
}

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

.sector {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}

.sector svg {
  color: var(--gold);
}

.experience {
  border-top: 1px solid var(--line);
}

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

.experience-card {
  min-height: 270px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.experience-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.experience-card p {
  color: var(--muted);
  font-size: 15px;
}

.steps {
  border-top: 1px solid var(--line);
}

.steps div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.steps span {
  color: var(--gold);
  font-weight: 800;
}

.steps p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.proof {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--navy);
}

blockquote {
  max-width: 920px;
  margin: 0 0 34px;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.02;
}

.proof-points {
  flex-wrap: wrap;
}

.proof-points p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.contact-section {
  align-items: stretch;
}

dl {
  display: grid;
  gap: 18px;
  margin: 42px 0 0;
}

dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

dd {
  margin: 3px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  width: 100%;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f7f6f2;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 13px;
  border-radius: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.2);
  border-color: var(--teal);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.turnstile-container {
  min-height: 65px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.success {
  color: var(--teal);
}

.form-status.error {
  color: #a33b2d;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  color: rgba(255, 255, 255, 0.72);
  background: #050b15;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    background: rgba(7, 23, 45, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .intro-grid,
  .split,
  .contact-section,
  .capability-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .metric-row,
  .capability-grid,
  .sector-grid,
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-card img {
    min-height: 360px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-image {
    top: 122px;
    right: 24px;
    width: min(44vw, 360px);
    height: 300px;
  }

  .hero-layer {
    top: 122px;
    right: 24px;
    width: min(44vw, 360px);
    height: 300px;
  }

  .hero-note {
    top: 374px;
    right: 42px;
    width: min(36vw, 280px);
  }

  .hero-content {
    padding-right: min(42vw, 390px);
  }

  h1 {
    font-size: clamp(42px, 6vw, 62px);
  }

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

@media (max-width: 620px) {
  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 920px;
  }

  .hero-image {
    top: 98px;
    left: 16px;
    right: 16px;
    width: auto;
    height: 220px;
  }

  .hero-layer {
    top: 98px;
    left: 16px;
    right: 16px;
    width: auto;
    height: 220px;
  }

  .hero-layer-one {
    transform: translate(12px, -12px);
  }

  .hero-layer-two {
    transform: translate(-12px, 16px);
  }

  .hero-note {
    top: 280px;
    left: 32px;
    right: 32px;
    width: auto;
    padding: 14px 16px;
  }

  .hero-content {
    padding-top: 390px;
    padding-right: 0;
    padding-bottom: 248px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 23, 45, 0.82) 0%, rgba(7, 23, 45, 0.96) 38%, rgba(7, 23, 45, 1) 100%);
  }

  .slider-panel {
    grid-template-columns: 1fr auto;
    gap: 14px;
    bottom: 22px;
  }

  .slider-progress {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .slider-count {
    min-width: 0;
  }

  .slider-tabs {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    max-height: 176px;
    overflow: auto;
  }

  .slider-tab {
    min-height: 42px;
    padding: 9px 12px;
  }

  .hero-actions,
  .form-row,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 72px 0;
  }

  .surface,
  .proof {
    padding-left: 16px;
    padding-right: 16px;
  }

  .metric-row,
  .capability-grid,
  .sector-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .metric-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-row div:last-child {
    border-bottom: 0;
  }

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