:root {
  --ink: #102234;
  --muted: #5e6f7d;
  --brand: #06345f;
  --brand-2: #087db8;
  --mint: #18bfe8;
  --mint-soft: #e0f7ff;
  --gold: #f6c85f;
  --sky: #dbeff8;
  --paper: #f8fbfd;
  --white: #ffffff;
  --line: #d9e7ef;
  --shadow: 0 18px 45px rgba(3, 30, 58, 0.12);
  --shadow-lift: 0 24px 62px rgba(3, 30, 58, 0.18);
  --radius: 8px;
  --container: 1180px;
  --font-body: Aptos, "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Aptos Display", Aptos, "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 450;
  line-height: 1.6;
  background: var(--paper);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

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

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  color: var(--white);
  background: var(--brand);
  border-radius: 6px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(251, 252, 249, 0.92);
  border-bottom: 1px solid rgba(217, 231, 239, 0.82);
  backdrop-filter: blur(16px);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto auto -1px 0;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--gold));
  transform-origin: left center;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(169, 201, 218, 0.84);
  box-shadow: 0 14px 34px rgba(3, 30, 58, 0.08);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height 220ms ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--brand);
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  line-height: 1.08;
}

.brand strong {
  font-size: 1.13rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-2);
}

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

.header-cta {
  padding: 10px 16px;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--brand);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(6, 52, 95, 0.18);
  transition: transform 180ms var(--ease-out), background 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #084b83;
  box-shadow: 0 14px 28px rgba(6, 52, 95, 0.22);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 82svh;
  max-height: none;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: var(--white);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  transform: translateY(var(--hero-offset, 0px)) scale(1.03);
  transform-origin: center top;
}

.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
}

.hero-bg picture {
  display: block;
}

.hero-bg img {
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 24, 45, 0.96) 0%, rgba(4, 44, 79, 0.78) 44%, rgba(4, 68, 110, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 24, 45, 0.44), rgba(4, 68, 110, 0.08));
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 120px;
  background: linear-gradient(0deg, rgba(248, 251, 253, 0.98), rgba(248, 251, 253, 0));
}

.hero-content {
  padding-block: 76px 110px;
}

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

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 4.15rem;
  font-weight: 820;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  font-weight: 850;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

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

.btn-primary {
  color: var(--brand);
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(243, 200, 79, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffd75c;
  box-shadow: 0 18px 36px rgba(243, 200, 79, 0.32);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin: 42px 0 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-facts div {
  padding: 18px;
  background: rgba(6, 52, 95, 0.68);
}

.hero-facts dt {
  margin: 0;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

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

.intro-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(4, auto);
  align-items: center;
  gap: 18px;
}

.intro-grid p {
  margin: 0;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 900;
}

.intro-grid span {
  padding: 9px 12px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
  background: var(--mint-soft);
  border-radius: 6px;
}

.section {
  padding-block: 96px;
}

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

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

.section-heading h2,
.split-copy h2,
.audience h2,
.contact h2,
.legal-content h1 {
  margin: 0;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 2.45rem;
  font-weight: 820;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(3, 30, 58, 0.02);
  transition: transform 260ms var(--ease-out), border-color 260ms ease, box-shadow 260ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms var(--ease-out);
}

.service-card:hover {
  border-color: rgba(24, 191, 232, 0.44);
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-media {
  aspect-ratio: 16 / 10;
  margin: -24px -24px 22px;
  overflow: hidden;
  background: var(--mint-soft);
  border-bottom: 1px solid var(--line);
}

.service-media picture,
.service-media img {
  width: 100%;
  height: 100%;
}

.service-media picture {
  display: block;
}

.service-media img {
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}

.service-card:hover .service-media img {
  transform: scale(1.035);
}

.service-card h3,
.benefit-list h3,
.process-grid h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 1.17rem;
  line-height: 1.25;
}

.service-card p,
.benefit-list p,
.process-grid p {
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.95rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.split-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 52, 95, 0.96), rgba(8, 125, 184, 0.9)),
    radial-gradient(circle at 78% 12%, rgba(24, 201, 238, 0.22), transparent 32%);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: start;
}

.split-copy {
  position: sticky;
  top: 112px;
}

.split-copy .eyebrow,
.split-copy h2,
.split-copy p {
  color: inherit;
}

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

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

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

.benefit-list article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  transition: transform 240ms var(--ease-out), background 240ms ease, border-color 240ms ease;
}

.benefit-list article:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}

.benefit-list span {
  color: var(--gold);
  font-weight: 950;
}

.benefit-list h3 {
  color: var(--white);
}

.benefit-list p {
  color: rgba(255, 255, 255, 0.78);
}

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

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

.process-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f5fafc);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease;
}

.process-grid article:hover {
  border-color: rgba(8, 125, 184, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.process-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 950;
  background: var(--gold);
  border-radius: 50%;
}

.audience {
  background: var(--sky);
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}

.audience-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  padding: 18px 20px;
  color: var(--brand);
  font-weight: 850;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  transition: transform 220ms var(--ease-out), background 220ms ease;
}

.audience-list li:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(6px);
}

.contact {
  background:
    linear-gradient(180deg, #f8fbfd 0%, #eef8fc 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
}

.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-options a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: var(--brand);
  font-weight: 850;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms var(--ease-out);
}

.contact-options a:hover,
.contact-options a:focus-visible {
  color: var(--brand-2);
  transform: translateX(3px);
}

.contact-options svg {
  width: 22px;
  height: 22px;
  fill: var(--mint);
  flex: 0 0 auto;
}

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

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

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fbfdfb;
  border: 1px solid #c9dce8;
  border-radius: 6px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mint);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(24, 191, 232, 0.16);
}

.form-submit {
  width: fit-content;
  color: var(--brand);
}

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note.is-success {
  color: var(--brand-2);
  font-weight: 800;
}

.form-note.is-error {
  color: #9f2a2a;
  font-weight: 800;
}

.form-note.is-loading {
  color: var(--brand);
  font-weight: 800;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 720ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.5fr));
  gap: 42px;
  padding-block: 52px;
}

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

.footer-grid p {
  max-width: 420px;
  margin: 18px 0 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  margin-top: 9px;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.g3d-credit {
  font-weight: 850;
  white-space: nowrap;
}

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

.legal-content {
  max-width: 860px;
  padding-block: 86px;
}

.legal-content h1 {
  margin-bottom: 20px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  color: var(--brand);
  font-size: 1.28rem;
}

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

.legal-content a {
  color: var(--brand-2);
  font-weight: 800;
}

.legal-warning {
  padding: 16px 18px;
  color: var(--brand);
  background: #fff8dc;
  border: 1px solid #edd474;
  border-radius: var(--radius);
}

.simple-footer .footer-bottom {
  border-top: 0;
}

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .audience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-copy {
    position: static;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--mint-soft);
  }

  .site-nav a::after {
    display: none;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .compact-header .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    transform: none;
  }

  .hero-bg img {
    object-position: 68% center;
  }

  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(3, 24, 45, 0.97) 0%, rgba(4, 44, 79, 0.9) 58%, rgba(4, 68, 110, 0.38) 100%),
      linear-gradient(0deg, rgba(3, 24, 45, 0.52), rgba(4, 68, 110, 0.08));
  }

  .hero-content {
    padding-block: 42px 68px;
  }

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

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-facts div {
    padding: 14px 16px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    padding-block: 18px;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading h2,
  .split-copy h2,
  .audience h2,
  .contact h2,
  .legal-content h1 {
    font-size: 2rem;
  }

  .service-grid,
  .process-grid,
  .benefit-list,
  .two-columns,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: auto;
  }

  .contact-form {
    padding: 20px;
  }

  .form-submit {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-bg {
    transform: none;
  }

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

@media (max-width: 420px) {
  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }
}
