:root {
  --navy: #061b3a;
  --blue: #0a3974;
  --teal: #00a9b7;
  --ice: #eef7f8;
  --mist: #f5f8fb;
  --white: #ffffff;
  --ink: #0b1d34;
  --muted: #587088;
  --line: rgba(6, 27, 58, 0.14);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand {
  display: block;
  width: min(330px, 42vw);
  line-height: 0;
}

.brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--white);
}

.nav-contact {
  padding: 0.65rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 800px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  padding: 158px max(24px, calc((100vw - var(--max)) / 2)) 90px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 90px 90px,
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 90px 90px,
    radial-gradient(circle at 85% 25%, rgba(0, 169, 183, 0.18), transparent 30%),
    linear-gradient(135deg, #06162f 0%, var(--navy) 50%, #082b56 100%);
}

.hero::after {
  position: absolute;
  right: -9rem;
  bottom: -18rem;
  width: 42rem;
  height: 42rem;
  content: "";
  border: 1px solid rgba(0, 169, 183, 0.25);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 770px;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.8rem;
  font-size: clamp(3.4rem, 7.4vw, 6.8rem);
  font-weight: 580;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

h1 span {
  color: #84e1e5;
}

.hero-intro {
  max-width: 640px;
  margin-bottom: 2.35rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  border-radius: 4px;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary {
  color: var(--navy);
  background: #7ae1e5;
}

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

.text-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.text-link span {
  margin-left: 0.45rem;
  color: var(--teal);
}

.hero-mark {
  position: relative;
  z-index: 1;
  width: min(460px, 42vw);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.mark-letter {
  position: absolute;
  inset: 50% auto auto 50%;
  color: rgba(255, 255, 255, 0.1);
  font-size: clamp(14rem, 27vw, 25rem);
  font-weight: 800;
  letter-spacing: -0.15em;
  line-height: 1;
  transform: translate(-58%, -55%);
}

.mark-line {
  position: absolute;
  top: 50%;
  right: -10%;
  left: 42%;
  height: 3px;
  background: var(--teal);
  transform: rotate(-14deg);
  transform-origin: left center;
}

.mark-coordinate {
  position: absolute;
  right: 9%;
  bottom: 19%;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  line-height: 1.7;
}

.intro-band {
  display: grid;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.intro-band p {
  margin: 0;
  padding: 2.1rem 1.5rem;
  font-size: 0.86rem;
  font-weight: 720;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.intro-band p + p {
  border-left: 1px solid var(--line);
}

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

.section-heading {
  display: grid;
  margin-bottom: 4.5rem;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
}

.section-heading .eyebrow {
  padding-top: 0.6rem;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 320px;
  padding: 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, background 220ms ease;
}

.service-card:hover {
  color: var(--white);
  background: var(--navy);
}

.service-number {
  display: block;
  margin-bottom: 4.3rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 620;
  letter-spacing: -0.035em;
}

.service-card p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.about {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.about-copy h2 {
  margin-bottom: 2.4rem;
}

.about-copy > p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.48fr;
  gap: 5rem;
  padding: 8rem max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--navy);
}

.contact h2 {
  max-width: 700px;
}

.contact-email {
  display: inline-block;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--teal);
  color: #87e1e5;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  text-decoration: none;
}

.contact-address {
  align-self: end;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  font-style: normal;
}

.contact-address span {
  display: block;
  margin-bottom: 1rem;
  color: var(--white);
  font-weight: 700;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem max(24px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.55);
  background: #031329;
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .hero {
    min-height: 760px;
    grid-template-columns: 1fr;
  }

  .hero-mark {
    position: absolute;
    right: -7rem;
    bottom: 1rem;
    width: 25rem;
    opacity: 0.65;
  }

  .hero-copy {
    align-self: center;
  }

  .section-heading,
  .about {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .about-label {
    margin-bottom: 1rem;
  }

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

  .contact-address {
    padding-top: 2rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }
}

@media (max-width: 660px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .brand {
    width: 190px;
  }

  nav {
    gap: 0.7rem;
  }

  nav a:not(.nav-contact) {
    display: none;
  }

  .nav-contact {
    padding: 0.48rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 720px;
    padding-right: 20px;
    padding-left: 20px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-mark {
    right: -11rem;
    bottom: -3rem;
  }

  .intro-band {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .intro-band p {
    padding: 1rem;
  }

  .intro-band p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    width: calc(100% - 32px);
    padding: 5.5rem 0;
  }

  .section-heading {
    margin-bottom: 2.8rem;
  }

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

  .service-card {
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .service-number {
    margin-bottom: 2.8rem;
  }

  .contact {
    gap: 2.5rem;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  footer {
    gap: 0.5rem;
    flex-direction: column;
  }
}

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

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

  .button {
    transition: none;
  }
}
