:root {
  --ink: #101923;
  --navy: #06182d;
  --navy-2: #0a2542;
  --navy-3: #0f3459;
  --gold: #c79a2c;
  --gold-2: #f1d681;
  --silver: #c5c9cd;
  --gray: #5d6670;
  --light: #f5f7fa;
  --white: #ffffff;
  --line: rgba(199, 154, 44, 0.26);
  --panel: rgba(255, 255, 255, 0.94);
  --shadow: 0 24px 70px rgba(6, 24, 45, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--navy-3);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(16, 25, 35, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  display: block;
  width: clamp(168px, 18vw, 250px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--white);
  border: 1px solid rgba(16, 25, 35, 0.14);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(241, 214, 129, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 214, 129, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 78% 26%, rgba(199, 154, 44, 0.24), transparent 28rem),
    radial-gradient(circle at 18% 18%, rgba(20, 72, 118, 0.78), transparent 30rem),
    linear-gradient(135deg, #04101f 0%, var(--navy) 48%, #081d34 100%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 16, 31, 0.16), rgba(4, 16, 31, 0.78));
  pointer-events: none;
}

.hero-copy-block,
.hero-visual,
.section-heading,
.card,
.split-section > *,
.steps li,
.contact-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6.5vw, 6.7rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  max-width: 980px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 850;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: #dfe8f1;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button.primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 34px rgba(199, 154, 44, 0.22);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(241, 214, 129, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  min-height: 560px;
}

.hero-isotype {
  position: absolute;
  top: 4%;
  right: -5%;
  width: min(58vw, 540px);
  opacity: 0.2;
  filter: saturate(1.05);
}

.intel-panel {
  position: relative;
  margin: 0 0 0 auto;
  width: min(100%, 560px);
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(241, 214, 129, 0.42);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
  margin-bottom: 28px;
  mix-blend-mode: multiply;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.signal-grid span {
  height: 54px;
  border: 1px solid rgba(6, 24, 45, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(199, 154, 44, 0.2), transparent),
    var(--light);
}

.signal-grid span:nth-child(2n) {
  transform: translateY(12px);
}

.signal-grid span:nth-child(3n) {
  background:
    linear-gradient(180deg, rgba(10, 37, 66, 0.2), transparent),
    var(--light);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(16, 25, 35, 0.1);
}

.metric-row span {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-row strong {
  color: var(--navy);
  text-align: right;
}

.identity-strip {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr 0.7fr 1fr 0.9fr;
  gap: 1px;
  padding: 1px clamp(20px, 5vw, 72px);
  background: rgba(16, 25, 35, 0.1);
}

.identity-strip div {
  min-height: 94px;
  padding: 20px;
  background: var(--white);
}

.identity-strip span {
  display: block;
  margin-bottom: 5px;
  color: var(--gray);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-strip strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.section-heading {
  max-width: 960px;
  margin-bottom: 40px;
}

.services-section {
  position: relative;
  overflow: hidden;
  background: var(--light);
}

.section-mark,
.contact-mark {
  position: absolute;
  width: min(52vw, 470px);
  opacity: 0.055;
  pointer-events: none;
}

.section-mark {
  right: -90px;
  top: 70px;
}

.card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 292px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid rgba(16, 25, 35, 0.08);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(16, 25, 35, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(199, 154, 44, 0.52);
  box-shadow: 0 24px 54px rgba(6, 24, 45, 0.14);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  color: var(--gold);
  background: rgba(199, 154, 44, 0.1);
  border: 1px solid rgba(199, 154, 44, 0.25);
  border-radius: 8px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card p,
.text-stack p,
.contact-card p,
.legal-note {
  color: var(--gray);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(199, 154, 44, 0.08), transparent 42%),
    var(--white);
}

.text-stack {
  max-width: 730px;
  font-size: 1.08rem;
}

.methodology {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 14%, rgba(199, 154, 44, 0.16), transparent 24rem),
    linear-gradient(135deg, #07172a, var(--navy));
}

.methodology h2,
.methodology h3 {
  color: var(--white);
}

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

.steps li {
  min-height: 238px;
  padding: 26px;
  border: 1px solid rgba(241, 214, 129, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-2);
  font-size: 0.9rem;
  font-weight: 900;
}

.steps p {
  color: #d4dee8;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--light);
}

.contact-mark {
  right: 5vw;
  bottom: -80px;
}

.contact-card {
  max-width: 920px;
  padding: clamp(30px, 5vw, 52px);
  background: var(--white);
  border: 1px solid rgba(16, 25, 35, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  padding: 40px clamp(20px, 5vw, 72px);
  color: #dbe5ef;
  background: #07111f;
  border-top: 3px solid var(--gold);
}

.footer-logo {
  display: block;
  width: min(280px, 74vw);
  height: auto;
  margin-bottom: 16px;
  padding: 8px 10px;
  background: var(--white);
  border-radius: 8px;
}

.site-footer p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #c5d0dc;
}

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

.site-footer a:hover {
  color: var(--gold-2);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: start;
}

.legal-page {
  background:
    radial-gradient(circle at top right, rgba(199, 154, 44, 0.1), transparent 28rem),
    var(--light);
}

.legal-main {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px) 20px;
}

.legal-document {
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  border: 1px solid rgba(16, 25, 35, 0.08);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-document h1 {
  color: var(--navy);
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1;
}

.legal-document h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-document p,
.legal-document li {
  color: var(--gray);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .card {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .hero,
  .split-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .identity-strip,
  .card-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
  }

  .brand-logo {
    width: 172px;
    height: 44px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(16, 25, 35, 0.1);
  }

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

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    border-bottom: 0;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .legal-nav a {
    width: auto;
    padding: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-isotype {
    width: 88vw;
    right: -34vw;
    opacity: 0.13;
  }

  .identity-strip,
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .identity-strip {
    padding: 1px 20px;
  }

  .card,
  .steps li {
    min-height: 0;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 10px;
  }
}
