:root {
  color-scheme: dark;
  --blue: #0342a6;
  --blue-bright: #1f73ff;
  --blue-deep: #031638;
  --blue-ink: #061f49;
  --blue-panel: rgba(8, 35, 82, 0.78);
  --blue-panel-strong: rgba(10, 45, 104, 0.9);
  --gold: #a48f00;
  --gold-light: #f4df50;
  --text: #f5f9ff;
  --muted: #b7c8df;
  --line: rgba(180, 210, 255, 0.2);
  --paper: #03132c;
  --shadow: 0 22px 70px rgba(0, 12, 40, 0.38);
  --glow: 0 0 36px rgba(31, 115, 255, 0.18);
  --radius: 8px;
  --shell: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #041733 0%, #03132c 44%, #061f49 100%);
  background-size: 72px 72px, 72px 72px, auto;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1120px, calc(100% - 28px));
  min-height: 68px;
  margin: 14px auto 0;
  padding: 9px 12px 9px 18px;
  color: var(--text);
  background: rgba(3, 28, 70, 0.76);
  border: 1px solid rgba(190, 216, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0, 15, 46, 0.34);
  backdrop-filter: blur(18px);
  animation: fadeDown 700ms ease both;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(3, 22, 56, 0.96);
  box-shadow: 0 16px 42px rgba(0, 12, 40, 0.45);
}

.brand img {
  width: auto;
  height: 46px;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: rgba(245, 249, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 740;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

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

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

.client-link {
  color: var(--gold-light);
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button::after,
.header-cta::after,
.text-link::after {
  margin-left: 9px;
  content: ">";
  font-size: 0.9rem;
}

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

.button.primary,
.header-cta {
  color: #05183a;
  background: linear-gradient(135deg, var(--gold-light), #fff0a2);
  box-shadow: 0 18px 38px rgba(244, 223, 80, 0.18);
}

.button.ghost,
.button.secondary {
  color: var(--text);
  border-color: rgba(190, 216, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button.light {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--gold-light);
  font-weight: 850;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(190, 216, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  min-height: 84svh;
  overflow: hidden;
  color: var(--text);
  isolation: isolate;
}

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

.hero-media {
  z-index: -3;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(1.1) contrast(1.02);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 19, 44, 0.96), rgba(3, 66, 166, 0.78) 46%, rgba(3, 19, 44, 0.36)),
    linear-gradient(180deg, rgba(3, 19, 44, 0.18), rgba(3, 19, 44, 0.92));
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 38%;
  content: "";
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-content {
  width: var(--shell);
  margin: 0 auto;
  padding: 138px 0 70px;
  align-self: center;
  animation: fadeRise 780ms 120ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #8cb9ff;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5.1vw, 4.65rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.78rem, 3vw, 2.82rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.22;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero p {
  max-width: 560px;
  color: rgba(245, 249, 255, 0.84);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  position: relative;
  padding: 92px 0;
  scroll-margin-top: 100px;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-white {
  background:
    linear-gradient(180deg, rgba(5, 28, 67, 0.96), rgba(4, 20, 48, 0.98)),
    var(--paper);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(9, 44, 102, 0.92), rgba(4, 20, 48, 0.98)),
    var(--blue-ink);
}

.feature-row,
.guide-layout,
.tools-layout,
.split-blue-layout,
.services-layout,
.mission-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
}

.feature-copy {
  max-width: 620px;
}

.photo-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-panel);
  box-shadow: var(--shadow), var(--glow);
}

.photo-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 66, 166, 0.04), rgba(3, 19, 44, 0.22));
  pointer-events: none;
}

.photo-panel img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.photo-panel.tall img {
  height: 520px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.step-list article,
.services-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 44px rgba(0, 12, 40, 0.2);
  backdrop-filter: blur(14px);
}

.step-list article {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.step-list span,
.services-list span {
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 900;
}

.benefit-list {
  display: grid;
  gap: 18px;
}

.benefit-list article {
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.split-blue,
.contact-section {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(3, 19, 44, 0.96), rgba(3, 66, 166, 0.7)),
    var(--blue-deep);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  overflow-y: auto;
  padding: 24px;
  place-items: center;
  background: rgba(1, 10, 25, 0.82);
  backdrop-filter: blur(12px);
}

.lead-modal[hidden],
.guide-download[hidden] {
  display: none;
}

.lead-dialog {
  position: relative;
  width: min(620px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(196, 220, 250, 0.22);
  border-radius: var(--radius);
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(8, 43, 94, 0.98), rgba(2, 17, 38, 0.99)),
    var(--blue-deep);
  box-shadow: 0 30px 90px rgba(0, 7, 22, 0.5);
}

.lead-dialog h2 {
  max-width: 500px;
  padding-right: 34px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(196, 220, 250, 0.24);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.45rem;
  line-height: 1;
}

.guide-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

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

.guide-form label {
  display: grid;
  gap: 8px;
  color: rgba(243, 247, 252, 0.9);
  font-size: 0.86rem;
  font-weight: 650;
}

.guide-form input[type="email"],
.guide-form input[type="tel"],
.guide-form input[type="text"] {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(196, 220, 250, 0.24);
  border-radius: var(--radius);
  outline: 0;
  color: var(--text);
  background: rgba(1, 15, 36, 0.58);
  font: inherit;
}

.guide-form input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(242, 219, 85, 0.12);
}

.consent-field {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  line-height: 1.5;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold-light);
}

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

.form-submit {
  justify-self: start;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status.success {
  color: #a9e7c0;
}

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

.guide-download {
  justify-self: start;
}

.split-blue p,
.contact-section p {
  color: rgba(245, 249, 255, 0.82);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
}

.tools-grid span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid rgba(190, 216, 255, 0.22);
  border-radius: 20px;
  font-weight: 800;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(3, 66, 166, 0.18);
  box-shadow: 0 16px 36px rgba(0, 12, 40, 0.18);
}

.tool-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(244, 223, 80, 0.42);
  border-radius: 50%;
  color: var(--gold-light);
  background: radial-gradient(circle at 30% 25%, rgba(244, 223, 80, 0.3), rgba(3, 66, 166, 0.28) 58%, rgba(3, 19, 44, 0.86));
  box-shadow: 0 0 22px rgba(244, 223, 80, 0.12);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

.tools-grid b {
  font-size: 0.96rem;
  line-height: 1.18;
}

.guide-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-blue-layout {
  align-items: start;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

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

.segment-grid article {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.segment-grid img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.segment-grid article:hover img {
  filter: saturate(1.1);
  transform: scale(1.05);
}

.segment-grid article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 19, 44, 0.05) 24%, rgba(3, 19, 44, 0.88));
}

.segment-grid span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 850;
}

.services-layout {
  align-items: start;
}

.services-intro {
  position: sticky;
  top: 110px;
}

.services-list {
  display: grid;
  gap: 14px;
}

.services-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.services-list span {
  grid-row: 1 / span 2;
}

.services-list h3,
.services-list p {
  grid-column: 2;
}

.services-list p {
  margin-bottom: 0;
}

.mission-section {
  background:
    linear-gradient(180deg, rgba(5, 28, 67, 0.96), rgba(3, 19, 44, 0.98)),
    var(--paper);
}

.mission-layout {
  align-items: start;
}

.quote-symbol {
  color: var(--gold-light);
  font-size: 7rem;
  font-weight: 900;
  line-height: 0.8;
  text-shadow: 0 0 32px rgba(244, 223, 80, 0.2);
}

.mission-layout h2 {
  max-width: 860px;
  font-size: clamp(1.4rem, 2.3vw, 2.26rem);
}

.contact-layout {
  align-items: start;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.email-status {
  margin: 12px 0 0;
  color: rgba(245, 249, 255, 0.82);
  font-size: 0.88rem;
}

.contact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

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

.contact-card address {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: rgba(245, 249, 255, 0.86);
  font-style: normal;
}

.contact-card strong {
  color: var(--text);
  font-size: 1.1rem;
}

.contact-card a {
  color: var(--gold-light);
  font-weight: 760;
}

.site-footer {
  padding: 26px 0;
  color: rgba(245, 249, 255, 0.78);
  background: #02102a;
}

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

.footer-inner img {
  width: 116px;
}

.footer-inner span {
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px);
  transition:
    opacity 620ms ease,
    filter 620ms ease,
    transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand img {
    height: 42px;
  }

  .menu-toggle {
    display: block;
  }

  .site-header .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 92px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 19, 44, 0.98);
  }

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

  .main-nav a {
    min-height: 46px;
    padding: 13px 12px;
  }

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

  .feature-row,
  .feature-row.reverse,
  .guide-layout,
  .tools-layout,
  .split-blue-layout,
  .services-layout,
  .mission-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-intro {
    position: static;
  }

  .step-list,
  .segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .site-header {
    min-height: 62px;
    margin-top: 10px;
    padding: 8px 10px 8px 12px;
  }

  .brand img {
    height: 36px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-media {
    object-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 19, 44, 0.96), rgba(3, 66, 166, 0.86) 62%, rgba(3, 19, 44, 0.44)),
      linear-gradient(180deg, rgba(3, 19, 44, 0.18), rgba(3, 19, 44, 0.92));
  }

  .hero-content {
    padding-top: 104px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(2.12rem, 10vw, 2.9rem);
  }

  h2 {
    font-size: clamp(1.58rem, 7.4vw, 2.15rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .photo-panel img,
  .photo-panel.tall img {
    height: 300px;
  }

  .step-list,
  .segment-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

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

  .services-list span,
  .services-list h3,
  .services-list p {
    grid-column: 1;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

/* Visual refinement */
:root {
  --blue: #0b4fc1;
  --blue-bright: #4b91ff;
  --blue-deep: #021126;
  --blue-ink: #061f46;
  --blue-panel: rgba(8, 35, 76, 0.58);
  --gold: #c8aa16;
  --gold-light: #f2db55;
  --text: #f3f7fc;
  --muted: #aec0d7;
  --line: rgba(190, 215, 247, 0.16);
  --paper: #03152f;
  --shadow: 0 28px 70px rgba(0, 9, 28, 0.3);
  --glow: 0 20px 55px rgba(31, 115, 255, 0.12);
  --radius: 6px;
  --shell: min(1160px, calc(100% - 56px));
}

body {
  overflow-x: clip;
  background:
    linear-gradient(90deg, transparent 0, rgba(127, 174, 239, 0.035) 50%, transparent 100%),
    linear-gradient(180deg, #03152f 0%, #061f46 48%, #021126 100%);
  font-family:
    "Segoe UI Variable",
    "Segoe UI",
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -10;
  content: "";
  background:
    linear-gradient(rgba(161, 196, 241, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161, 196, 241, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
  pointer-events: none;
}

.site-header {
  width: min(1160px, calc(100% - 36px));
  min-height: 72px;
  margin-top: 18px;
  padding: 10px 14px 10px 20px;
  border-color: rgba(192, 217, 250, 0.16);
  border-radius: 18px;
  background: rgba(3, 23, 53, 0.7);
  box-shadow: 0 18px 50px rgba(0, 9, 28, 0.24);
}

.site-header.scrolled {
  background: rgba(3, 19, 44, 0.94);
  box-shadow: 0 12px 40px rgba(0, 9, 28, 0.34);
}

.brand img {
  height: 48px;
}

.main-nav {
  gap: 25px;
  font-size: 0.84rem;
  font-weight: 620;
}

.main-nav a::after {
  bottom: -9px;
  height: 1px;
  background: var(--gold-light);
}

.button,
.header-cta {
  min-height: 48px;
  padding: 0 22px;
  font-size: 0.88rem;
  font-weight: 720;
}

.button::after,
.header-cta::after,
.text-link::after {
  content: "\2192";
  transition: transform 180ms ease;
}

.button:hover::after,
.button:focus-visible::after,
.header-cta:hover::after,
.header-cta:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.button.primary,
.header-cta {
  color: #061735;
  background: var(--gold-light);
  box-shadow: 0 14px 34px rgba(242, 219, 85, 0.14);
}

.button.ghost,
.button.secondary,
.button.light {
  border-color: rgba(206, 226, 252, 0.24);
  background: rgba(6, 34, 76, 0.32);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.text-link {
  gap: 2px;
  font-weight: 720;
}

.hero {
  min-height: 91svh;
}

.hero-media {
  object-position: 60% center;
  filter: saturate(0.94) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 17, 38, 0.97) 0%, rgba(3, 31, 72, 0.82) 43%, rgba(4, 45, 104, 0.26) 72%, rgba(2, 17, 38, 0.24) 100%),
    linear-gradient(180deg, rgba(2, 17, 38, 0.15) 50%, rgba(2, 17, 38, 0.86));
}

.hero::after {
  height: 28%;
  background: linear-gradient(180deg, transparent, #03152f);
}

.hero-content {
  padding-top: 150px;
  padding-bottom: 92px;
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.14em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.1vw, 3.85rem);
  font-weight: 580;
  line-height: 1.07;
}

h2 {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(1.68rem, 2.35vw, 2.3rem);
  font-weight: 570;
  line-height: 1.18;
}

h3 {
  font-weight: 650;
}

p {
  font-size: 0.98rem;
  line-height: 1.76;
}

.hero p {
  max-width: 530px;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero-actions {
  margin-top: 32px;
}

.section {
  padding: 108px 0;
}

.section-white {
  background: rgba(3, 21, 47, 0.84);
}

.section-soft {
  background:
    linear-gradient(140deg, rgba(8, 42, 94, 0.8), rgba(3, 20, 46, 0.94)),
    var(--blue-ink);
}

.feature-row,
.guide-layout,
.tools-layout,
.split-blue-layout,
.services-layout,
.mission-layout,
.contact-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(54px, 8vw, 104px);
}

.feature-copy p {
  max-width: 520px;
}

.photo-panel {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-panel::before {
  position: absolute;
  top: 28px;
  right: -1px;
  z-index: 2;
  width: 3px;
  height: 88px;
  content: "";
  background: var(--gold-light);
}

.photo-panel img {
  height: 430px;
}

.step-list {
  gap: 0;
  margin-top: 68px;
  border-top: 1px solid var(--line);
}

.step-list article {
  position: relative;
  min-height: 150px;
  padding: 30px 38px 8px 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.step-list article + article {
  padding-left: 38px;
}

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

.step-list span {
  color: rgba(242, 219, 85, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.step-list h3 {
  max-width: 250px;
  margin: 0;
  font-size: 1.08rem;
}

.guide-section {
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(110deg, rgba(10, 59, 132, 0.64), rgba(3, 21, 47, 0.92)),
    #061f46;
}

.guide-section::before {
  position: absolute;
  top: 50%;
  left: calc(50% - 560px);
  color: rgba(255, 255, 255, 0.035);
  content: "01";
  font-size: 18rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.guide-layout {
  position: relative;
  z-index: 1;
  align-items: end;
}

.guide-layout > div:last-child {
  max-width: 520px;
  padding-left: 30px;
  border-left: 1px solid rgba(242, 219, 85, 0.42);
}

.split-blue {
  background:
    linear-gradient(122deg, rgba(2, 17, 38, 0.97) 0 42%, rgba(6, 45, 102, 0.86) 42% 100%),
    var(--blue-deep);
}

.split-blue-layout {
  align-items: center;
}

.split-blue-layout > div:last-child {
  max-width: 590px;
}

.tools-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.28fr);
}

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

.tools-grid span {
  min-height: 92px;
  padding: 18px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: color 180ms ease, transform 180ms ease;
}

.tools-grid span:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.tool-icon {
  flex-basis: 44px;
  width: 44px;
  height: 44px;
  border-color: rgba(242, 219, 85, 0.32);
  color: var(--gold-light);
  background: rgba(4, 35, 80, 0.72);
  box-shadow: none;
  font-size: 0.85rem;
  font-weight: 760;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.segment-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 112px;
  gap: 14px;
}

.segment-grid article {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(0, 10, 30, 0.24);
}

.segment-grid article:nth-child(1),
.segment-grid article:nth-child(6) {
  grid-column: span 5;
  grid-row: span 3;
}

.segment-grid article:nth-child(2),
.segment-grid article:nth-child(7) {
  grid-column: span 7;
  grid-row: span 3;
}

.segment-grid article:nth-child(8),
.segment-grid article:nth-child(9) {
  grid-column: span 6;
}

.segment-grid img {
  min-height: 100%;
}

.segment-grid article::after {
  background: linear-gradient(180deg, transparent 36%, rgba(2, 17, 38, 0.92));
}

.segment-grid span {
  right: 20px;
  bottom: 18px;
  left: 20px;
  font-size: 0.95rem;
  font-weight: 650;
}

.services-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
}

.services-intro {
  top: 118px;
}

.services-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.services-list article {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  padding: 30px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.services-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(242, 219, 85, 0.3);
  border-radius: 50%;
  font-size: 0.72rem;
}

.services-list h3 {
  margin-top: 7px;
}

.mission-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 21, 47, 0.96), rgba(7, 42, 92, 0.88)),
    var(--paper);
}

.mission-layout {
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 42px;
}

.quote-symbol {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 7.5rem;
  font-weight: 400;
  opacity: 0.86;
  text-shadow: none;
}

.mission-layout h2 {
  max-width: 950px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.42;
}

.contact-section {
  background:
    linear-gradient(118deg, rgba(2, 17, 38, 0.98), rgba(6, 45, 102, 0.9)),
    var(--blue-deep);
}

.contact-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.28fr);
}

.contact-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-card img {
  height: 270px;
  border-radius: var(--radius);
}

.contact-card address {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  padding: 24px 0 0;
  font-size: 0.9rem;
}

.contact-card strong,
.contact-card address > :last-child {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 34px 0;
  background: #010d20;
  border-top: 1px solid rgba(190, 215, 247, 0.12);
}

.footer-inner span {
  color: rgba(229, 239, 252, 0.68);
  font-size: 0.82rem;
}

.reveal {
  filter: none;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 28px, 720px);
  }

  .feature-row,
  .feature-row.reverse,
  .guide-layout,
  .tools-layout,
  .split-blue-layout,
  .services-layout,
  .mission-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .segment-grid article,
  .segment-grid article:nth-child(1),
  .segment-grid article:nth-child(2),
  .segment-grid article:nth-child(6),
  .segment-grid article:nth-child(7),
  .segment-grid article:nth-child(8),
  .segment-grid article:nth-child(9) {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .services-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 32px);
  }

  body::before {
    background-size: 64px 64px;
  }

  .site-header {
    width: calc(100% - 20px);
    min-height: 64px;
    margin-top: 10px;
    border-radius: 14px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding-top: 116px;
    padding-bottom: 70px;
  }

  h1 {
    font-size: clamp(2.18rem, 10vw, 2.82rem);
  }

  h2 {
    font-size: clamp(1.58rem, 7vw, 2rem);
  }

  .section {
    padding: 78px 0;
  }

  .feature-row,
  .guide-layout,
  .split-blue-layout,
  .mission-layout {
    gap: 40px;
  }

  .photo-panel img,
  .photo-panel.tall img {
    height: 320px;
  }

  .step-list {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .step-list article,
  .step-list article + article {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .guide-section::before {
    left: -22px;
    font-size: 12rem;
  }

  .guide-layout > div:last-child {
    padding: 24px 0 0;
    border-top: 1px solid rgba(242, 219, 85, 0.42);
    border-left: 0;
  }

  .split-blue {
    background:
      linear-gradient(180deg, rgba(2, 17, 38, 0.98) 0 38%, rgba(6, 45, 102, 0.88) 38% 100%),
      var(--blue-deep);
  }

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

  .tools-grid span {
    min-height: 82px;
  }

  .tool-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

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

  .segment-grid article,
  .segment-grid article:nth-child(1),
  .segment-grid article:nth-child(2),
  .segment-grid article:nth-child(6),
  .segment-grid article:nth-child(7),
  .segment-grid article:nth-child(8),
  .segment-grid article:nth-child(9) {
    min-height: 220px;
  }

  .services-list article {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 26px 0;
  }

  .services-list span {
    grid-column: 1;
    grid-row: 1;
  }

  .services-list h3,
  .services-list p {
    grid-column: 2;
  }

  .mission-layout {
    grid-template-columns: 1fr;
  }

  .quote-symbol {
    height: 52px;
    font-size: 6rem;
  }

  .contact-card address {
    grid-template-columns: 1fr;
  }

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

  .lead-modal {
    padding: 12px;
  }

  .lead-dialog {
    padding: 30px 20px;
  }

  .lead-dialog h2 {
    padding-right: 42px;
  }

  .contact-card strong,
  .contact-card address > :last-child {
    grid-column: auto;
  }
}
