:root {
  color-scheme: light;
  --navy: #102e59;
  --navy-deep: #071a33;
  --orange: #f47b20;
  --ink: #172033;
  --muted: #52627a;
  --paper: #f7f9fc;
  --line: #dce3ed;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: -5rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: #fff;
  background: var(--navy);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #e5eaf1;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  min-height: 84px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 0.65rem;
  text-decoration: none;
}

.wordmark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.wordmark span {
  display: grid;
  line-height: 1;
}

.wordmark strong {
  color: var(--navy);
  font-size: 1.2rem;
  letter-spacing: -0.05em;
}

.wordmark small {
  margin-top: 0.3rem;
  color: var(--orange);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}

.desktop-nav a,
.header-action,
.mobile-menu a {
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.mobile-menu a:hover,
.text-link:hover,
.service-card a:hover {
  color: var(--orange);
}

.header-action {
  padding: 0.82rem 1.2rem;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  white-space: nowrap;
}

.header-action:hover {
  color: #fff;
  background: var(--navy);
}

.header-action span,
.button span,
.text-link span {
  margin-left: 0.55rem;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(690px, 78vw);
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
}

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

[hidden] {
  display: none !important;
}

.hero-video-toggle {
  position: absolute;
  z-index: 3;
  right: max(1.5rem, calc((100vw - 1180px) / 2));
  bottom: 1.5rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 26, 51, 0.82);
  cursor: pointer;
}

.hero-video-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-video-toggle .icon-play,
.hero-video-toggle[data-state='paused'] .icon-pause {
  display: none;
}

.hero-video-toggle[data-state='paused'] .icon-play {
  display: block;
}

.hero-video-toggle:hover {
  background: var(--navy-deep);
}

.hero-media img,
.hero-media video {
  object-fit: cover;
  object-position: center;
}

.hero-media video {
  opacity: 1;
}

.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(3, 19, 41, 0.94),
    rgba(3, 19, 41, 0.72) 43%,
    rgba(3, 19, 41, 0.06) 82%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 7rem 7.5rem;
}

.eyebrow {
  margin: 0 0 1.3rem;
  color: #c75a11;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ffac6e;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 730px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.1rem, 6.5vw, 6.2rem);
  line-height: 1.01;
}

.hero-lede {
  max-width: 565px;
  color: #e7edf5;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions,
.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.button-orange {
  color: #112139;
  background: var(--orange);
}

.button-orange:hover {
  background: #ff974c;
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.13);
}

.intro {
  padding-block: 6rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.intro h2,
.section-heading h2,
.process-lead h2,
.portal-section h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3.7vw, 3.7rem);
  line-height: 1.12;
}

.intro p:last-child {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.intro-photo {
  height: clamp(220px, 29vw, 350px);
  margin: 3rem 0 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper);
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.services-section {
  padding-block: 6rem 6.5rem;
  background: var(--paper);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading > p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.section-heading > p a {
  color: var(--navy);
  font-weight: 700;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 46, 89, 0.045);
}

.service-card::before {
  content: '';
  width: 34px;
  height: 4px;
  margin-bottom: 2.2rem;
  border-radius: 4px;
  background: var(--orange);
}

.card-number {
  margin-bottom: 1.2rem;
  color: #a95818;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin-bottom: 0.85rem;
  color: var(--navy);
  font-size: 1.55rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.65;
}

.service-card a {
  margin-top: auto;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.process-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(3rem, 9vw, 9rem);
  padding-block: 7rem;
}

.process-lead > p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.process-list li:first-child {
  border-top: 1px solid var(--line);
}

.step-number {
  padding-top: 0.15rem;
  color: #b35413;
  font-size: 0.8rem;
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 1.22rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.portal-section {
  padding-block: 6.5rem;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 4rem;
  align-items: center;
}

.portal-section h2 {
  max-width: 560px;
}

.portal-section p:not(.eyebrow) {
  max-width: 580px;
  margin: 1.4rem 0 0;
  color: #dce7f5;
  line-height: 1.7;
}

.button-muted {
  border: 1px solid #9db0c8;
  color: #dce7f5;
  cursor: not-allowed;
}

.portal-art {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(
      circle at 65% 35%,
      rgba(244, 123, 32, 0.23),
      transparent 33%
    ),
    linear-gradient(145deg, #173f73, #081d3b);
}

.art-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.art-line.one {
  top: 34%;
}

.art-line.two {
  top: 64%;
}

.art-dot {
  position: absolute;
  top: 16%;
  right: 19%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 16px rgba(244, 123, 32, 0.13);
}

.art-card {
  position: absolute;
  top: 23%;
  left: 17%;
  display: grid;
  width: 60%;
  min-height: 160px;
  align-content: center;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 24px 28px 0 rgba(4, 16, 35, 0.3);
  backdrop-filter: blur(10px);
}

.art-card strong {
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.art-card small {
  margin-top: 0.4rem;
  color: #ffad6e;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 5rem;
  align-items: center;
  padding-block: 7rem;
}

.contact-copy p:not(.eyebrow) {
  max-width: 530px;
  margin-top: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.contact-card a {
  width: fit-content;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.contact-card a:hover {
  color: #b35413;
}

.contact-card .contact-main {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
}

.contact-label {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  color: #dce7f5;
  background: var(--navy-deep);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-block: 4rem;
}

.footer-brand strong {
  color: #fff;
}

.footer-main p {
  margin: 1.3rem 0 0;
  font-size: 0.85rem;
}

.footer-main nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0.8rem 2.5rem;
}

.footer-main nav a {
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-main nav a:hover {
  color: #ffad6e;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #b8c8dd;
  font-size: 0.75rem;
}

.policy-page {
  min-height: 55vh;
  padding-block: 5rem 7rem;
}

.policy-page h1 {
  max-width: 850px;
  color: var(--navy);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.policy-page h2 {
  margin-top: 2.5rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.policy-page p,
.policy-page li {
  max-width: 790px;
  color: var(--muted);
  line-height: 1.75;
}

.policy-page .review-notice {
  max-width: 790px;
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--orange);
  color: var(--navy);
  background: #fff4ea;
  font-weight: 700;
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-action {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 1.5rem;
    display: grid;
    min-width: 220px;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 28px rgba(16, 46, 89, 0.15);
  }

  .mobile-menu a {
    padding: 0.8rem;
  }

  .hero {
    min-height: 670px;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(3, 19, 41, 0.95),
      rgba(3, 19, 41, 0.69) 72%,
      rgba(3, 19, 41, 0.24)
    );
  }

  .intro-grid,
  .portal-grid,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .process-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portal-art {
    max-width: 540px;
  }
}

@media (max-width: 660px) {
  .wrap {
    width: min(100% - 2rem, 1180px);
  }

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

  .hero {
    min-height: 640px;
  }

  .hero-content {
    padding-block: 5rem 5.7rem;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(3, 19, 41, 0.94),
      rgba(3, 19, 41, 0.71)
    );
  }

  .hero-media img,
  .hero-media video {
    object-position: 68% center;
  }

  .hero-video-toggle {
    right: 1rem;
    bottom: 1rem;
  }

  .intro,
  .services-section,
  .process-section,
  .portal-section,
  .contact-section {
    padding-block: 4.5rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 1.2rem;
  }

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

  .service-card {
    min-height: 265px;
  }

  .footer-main,
  .footer-bottom {
    display: block;
  }

  .footer-main nav {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .footer-bottom span {
    display: block;
    margin-bottom: 0.6rem;
  }
}

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

  .hero-media video {
    display: none;
  }
}
