:root {
  --navy: #18284f;
  --navy-2: #20386f;
  --blue: #3d64ad;
  --blue-2: #2f57a1;
  --gold: #e6aa20;
  --gold-2: #d69727;
  --ink: #182038;
  --muted: #5f6675;
  --line: #d9deea;
  --paper: #ffffff;
  --soft: #f3f6fb;
  --cream: #f6efe2;
  --shadow: 0 22px 54px rgba(22, 34, 62, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px 42px;
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 68px;
  background: rgba(24, 40, 79, 0.96);
  box-shadow: 0 10px 30px rgba(10, 18, 36, 0.22);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 34px;
  flex: 0 0 54px;
}

.mark-block {
  position: absolute;
  top: 4px;
  width: 34px;
  height: 26px;
  clip-path: polygon(0 0, 68% 0, 100% 50%, 68% 100%, 0 100%, 32% 50%);
}

.mark-dark {
  left: 0;
  background: var(--navy);
}

.mark-blue {
  left: 8px;
  background: var(--blue);
  opacity: 0.95;
}

.mark-gold {
  left: 30px;
  width: 24px;
  background: var(--gold);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.5rem;
  font-weight: 800;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  text-transform: uppercase;
}

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

.site-nav a {
  border-radius: 8px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-nav .nav-action {
  background: var(--gold);
  color: var(--navy);
}

.site-nav .nav-action:hover,
.site-nav .nav-action:focus-visible {
  background: #f0bc3e;
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(24, 40, 79, 0.96), rgba(24, 40, 79, 0.76) 46%, rgba(24, 40, 79, 0.32)),
    linear-gradient(0deg, rgba(10, 18, 36, 0.5), rgba(10, 18, 36, 0.14));
}

.hero-shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%, 28% 50%);
}

.hero-shape-blue {
  right: -120px;
  bottom: 78px;
  width: 560px;
  height: 210px;
  background: rgba(61, 100, 173, 0.78);
}

.hero-shape-gold {
  right: 34px;
  bottom: 0;
  width: 470px;
  height: 170px;
  background: rgba(230, 170, 32, 0.92);
}

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

.hero-content {
  padding-top: 96px;
}

.eyebrow {
  position: relative;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 52px;
  height: 3px;
  margin-right: 12px;
  vertical-align: 4px;
  background: currentColor;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: 4.65rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(230, 170, 32, 0.22);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  min-height: 116px;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

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

.proof-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1.1;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.98rem;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.section-navy {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(61, 100, 173, 0.55), transparent 42%),
    var(--navy);
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background:
    linear-gradient(108deg, transparent 0 72%, rgba(230, 170, 32, 0.12) 72% 100%),
    var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: 76px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  color: inherit;
  font-size: 3.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p,
.contact-copy p,
.definition-panel p,
.service-content p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-navy .section-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.section-copy p {
  max-width: 680px;
}

.angled-media {
  position: relative;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 78% 100%, 0 100%);
}

.angled-media::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -40px;
  width: 250px;
  height: 130px;
  background: var(--gold);
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%, 28% 50%);
}

.angled-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

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

.section-heading p:last-child {
  margin-top: 18px;
}

.definition-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.definition-panel,
.values-panel,
.service-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(25, 38, 72, 0.08);
}

.definition-panel {
  padding: 34px;
}

.icon-hex {
  display: grid;
  place-items: center;
  width: 62px;
  height: 56px;
  margin-bottom: 28px;
  color: #ffffff;
  background: var(--navy);
  clip-path: polygon(24% 0, 76% 0, 100% 50%, 76% 100%, 24% 100%, 0 50%);
}

.icon-hex svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.definition-panel:nth-child(2) .icon-hex {
  background: var(--blue);
}

.definition-panel h3,
.values-panel h3,
.service-content h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.36rem;
  line-height: 1.18;
}

.values-panel {
  position: relative;
  grid-column: 1 / -1;
  padding: 34px;
  overflow: hidden;
}

.values-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: linear-gradient(var(--gold), var(--blue));
}

.values-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.values-panel li {
  color: var(--muted);
}

.values-panel strong {
  color: var(--ink);
}

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

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-content {
  position: relative;
  min-height: 250px;
  padding: 26px;
}

.service-content::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 24px;
  width: 92px;
  height: 50px;
  background: var(--gold);
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%, 28% 50%);
}

.service-content span {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-content p {
  margin-bottom: 0;
}

.section-partners {
  min-height: 620px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(24, 40, 79, 0.96), rgba(24, 40, 79, 0.9)),
    var(--navy);
}

.section-partners::before {
  content: "";
  position: absolute;
  top: -110px;
  left: -80px;
  width: 470px;
  height: 820px;
  background: rgba(61, 100, 173, 0.74);
  transform: skewX(-31deg);
}

.partner-chevron {
  position: absolute;
  top: 190px;
  right: -160px;
  width: 560px;
  height: 310px;
  background: var(--gold);
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%, 28% 50%);
}

.partners-content {
  position: relative;
  z-index: 1;
}

.section-partners .section-heading h2 {
  max-width: 660px;
}

.section-partners .eyebrow,
.section-partners .section-heading p {
  color: var(--gold);
}

.partners-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
}

.partners-list span {
  border-left: 4px solid var(--gold);
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 8px 8px 0;
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.78fr);
  gap: 68px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-stack a,
.contact-stack div {
  display: grid;
  gap: 2px;
  border-left: 4px solid var(--gold);
  padding: 12px 0 12px 18px;
}

.contact-stack strong {
  color: var(--navy);
}

.contact-stack span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(230, 170, 32, 0.24);
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  color: #ffffff;
  background: #111b38;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 120px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

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

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

@media (max-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    padding-inline: 24px;
  }
}

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

  .brand-copy strong {
    font-size: 1.24rem;
  }

  .brand-copy span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 18px 22px;
    background: rgba(24, 40, 79, 0.98);
    box-shadow: 0 18px 32px rgba(10, 18, 36, 0.22);
  }

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

  .site-nav a {
    border-radius: 8px;
    padding: 14px 12px;
  }

  .section-inner {
    width: min(var(--max), calc(100% - 34px));
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .hero-shape-blue {
    width: 430px;
    height: 160px;
    right: -210px;
    bottom: 110px;
  }

  .hero-shape-gold {
    width: 340px;
    height: 126px;
    right: -120px;
  }

  .proof-strip,
  .split,
  .definition-layout,
  .values-panel ul,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 78px 0;
  }

  .split,
  .contact-layout {
    gap: 42px;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-copy h2 {
    font-size: 2.28rem;
  }

  .angled-media,
  .angled-media img {
    min-height: 380px;
  }

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

  .partner-chevron {
    opacity: 0.34;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 690px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-actions {
    display: grid;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-content {
    min-height: auto;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-inner {
    display: grid;
    justify-items: start;
    padding: 28px 0;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
