﻿:root {
  color-scheme: dark;
  --cyan: #25e6f0;
  --line: rgba(184, 229, 255, 0.22);
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100svh;
  background: #064484;
  color: #f4f9ff;
  font-family: Manrope, Arial, sans-serif;
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("assets/ocean-background.png") center top / cover no-repeat;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 6px;
}
.page-shell {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  justify-content: center;
  padding: 64px 24px;
  pointer-events: none;
}
.page-shell a {
  pointer-events: auto;
}
.content-stack {
  display: block;
  width: 100%;
  flex-shrink: 0;
}
header {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 35px;
}
.brand {
  display: block;
  width: 300px;
  max-width: 65vw;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-whale-stage {
  display: none;
}
.hero {
  width: 100%;
  text-align: center;
}
.hero-copy {
  width: 100%;
  margin: 0 auto;
}
h1 {
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -1.5px;
  margin: 0 0 16px;
  text-shadow: 0 2px 25px #003e7040;
}
h1 span {
  color: var(--cyan);
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 20px;
  letter-spacing: 0.4px;
  margin: 0 0 33px;
  color: #dfecf8;
  font-weight: 400;
}
.eyebrow b {
  font-size: 16px;
  font-weight: 400;
}
.eyebrow > span {
  width: 62px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #bedff0);
}
.eyebrow > span:last-child {
  transform: rotate(180deg);
}
.intro {
  font-size: 16px;
  line-height: 1.6;
  color: #e1edfa;
  margin: 26px 0 24px;
  text-shadow: 0 2px 8px #063f77;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 365px;
  max-width: 100%;
  padding: 12px 16px 12px 24px;
  border-radius: 100px;
  background: linear-gradient(120deg, #f0fbff, #c5e6fb);
  color: #09538a;
  font-size: 15px;
  font-weight: 800;
  box-shadow:
    0 0 22px #44daff44,
    inset 0 1px 3px #fff;
  border: 1px solid #d1efff;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px #44daff77;
}
.cta svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}
.cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 37px;
  border-radius: 100px;
  background: #087fff;
  color: white;
  font-size: 26px;
  margin-left: auto;
  font-weight: 400;
}
.expertise {
  width: 770px;
  max-width: 100%;
  margin-top: 39px;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.service {
  position: relative;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service + .service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 1px;
  width: 1px;
  background: var(--line);
}
.service svg {
  width: 31px;
  height: 31px;
  stroke: #e2f5ff;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 12px;
}
.service h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}
footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 9px;
  color: #b9d9f0;
}
footer p {
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#ocean-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.motion-toggle {
  position: fixed;
  right: 16px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #b4ecff55;
  border-radius: 100px;
  padding: 8px 12px;
  background: #00376b99;
  color: #d3efff;
  font:
    10px Manrope,
    Arial,
    sans-serif;
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.motion-toggle:hover {
  background: #07558bcc;
}
.motion-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
@media (min-width: 1500px) {
  header {
    margin-bottom: 42px;
  }
  .expertise {
    margin-top: 43px;
  }
}
@media (max-height: 800px) and (min-width: 701px) {
  header {
    margin-bottom: 24px;
  }
  .brand {
    width: 250px;
  }
  h1 {
    font-size: 36px;
  }
  .eyebrow {
    font-size: 17px;
    margin-bottom: 24px;
  }
  .intro {
    font-size: 14px;
    margin-bottom: 19px;
  }
  .expertise {
    margin-top: 28px;
  }
}
@media (max-width: 1000px) and (min-width: 701px) {
  h1 {
    font-size: 34px;
  }
  .eyebrow {
    font-size: 17px;
    gap: 13px;
  }
  .expertise {
    width: 650px;
  }
}
@media (max-width: 700px) {
  body::before {
    background-image:
      linear-gradient(
        180deg,
        #00396499 0px,
        #00396422 100px,
        transparent 170px
      ),
      url("assets/ocean-background.png");
    background-size: auto 100%;
  }
  .page-shell {
    justify-content: flex-start;
    padding: 35px 20px 25px;
  }
  .content-stack {
    display: contents;
  }
  header {
    margin-bottom: 18px;
  }
  .brand {
    width: 235px;
    max-width: 75vw;
  }
  .mobile-whale-stage {
    display: block;
    width: 100%;
    height: clamp(230px, 67vw, 310px);
    margin-bottom: 16px;
    flex-shrink: 0;
  }
  h1 {
    font-size: clamp(25px, 7vw, 40px);
    line-height: 1.2;
    letter-spacing: -1px;
  }
  .eyebrow {
    gap: 10px;
    font-size: 12px;
    margin: 19px 0 22px;
    letter-spacing: 0;
  }
  .eyebrow b {
    font-size: 12px;
  }
  .eyebrow > span {
    width: 22px;
  }
  .intro {
    font-size: 12px;
    margin: 0 0 22px;
    line-height: 1.8;
  }
  .cta {
    min-width: 0;
    width: 325px;
    padding: 10px 12px 10px 18px;
    font-size: 12px;
    gap: 9px;
  }
  .cta svg {
    width: 23px;
    height: 23px;
  }
  .cta-arrow {
    width: 39px;
    height: 33px;
    font-size: 24px;
  }
  .expertise {
    margin-top: 34px;
  }
  .service {
    padding: 0 6px;
  }
  .service svg {
    width: 26px;
    height: 26px;
  }
  .service h3 {
    font-size: 9px;
    line-height: 1.5;
  }
  .service + .service::before {
    top: 2px;
  }
  footer {
    position: static;
    margin-top: auto;
    padding-top: 55px;
    font-size: 8px;
  }
  .motion-toggle {
    padding: 7px 10px;
    right: 10px;
    bottom: 10px;
  }
  .motion-label {
    display: none;
  }
}
/* Tablet portrait keeps the illustration out of the text column. */
@media (min-width: 701px) and (max-width: 1366px) and (orientation: portrait) {
  body::before {
    background-image:
      linear-gradient(180deg, #00396488, transparent 200px),
      url("assets/ocean-background.png");
    background-size: auto 100%;
  }
  .page-shell {
    justify-content: flex-start;
    padding: 48px 40px 32px;
  }
  .content-stack {
    display: contents;
  }
  header {
    margin-bottom: 18px;
  }
  .brand {
    width: 270px;
  }
  .mobile-whale-stage {
    display: block;
    width: 100%;
    height: clamp(280px, 36vw, 380px);
    margin-bottom: 22px;
    flex-shrink: 0;
  }
  .hero {
    max-width: 620px;
  }
  h1 {
    font-size: clamp(36px, 4.5vw, 46px);
    line-height: 1.15;
  }
  .eyebrow {
    font-size: 17px;
    gap: 16px;
    margin-bottom: 24px;
  }
  .eyebrow > span {
    width: 42px;
  }
  .intro {
    font-size: 15px;
    margin: 24px 0;
  }
  .expertise {
    width: 700px;
    margin-top: 38px;
  }
  .service {
    padding: 0 10px;
  }
  footer {
    position: static;
    margin-top: auto;
    padding-top: 40px;
    font-size: 10px;
  }
}
@media (min-width: 701px) and (max-width: 1366px) and (orientation: portrait) and (min-height: 1100px) {
  .mobile-whale-stage {
    height: clamp(320px, 42vw, 420px);
  }
}
@media (min-width: 701px) and (max-width: 1180px) and (orientation: landscape) {
  .hero {
    max-width: 520px;
  }
  .eyebrow {
    gap: 13px;
    font-size: 17px;
  }
  .eyebrow > span {
    width: 30px;
  }
  .intro {
    font-size: 14px;
  }
  .expertise {
    width: min(770px, 90%);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cta {
    transition: none;
  }
}
