/* Theme derived from the exact customer-supplied Aquanauts artwork. */
.workflow-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0;
}
.workflow-steps li {
  border: 1px solid #c8dbe6;
  border-radius: 4px;
  padding: 10px 14px;
  background: #fff;
  color: #526b78;
  font-size: 12px;
}
.workflow-steps li.done {
  background: #063b57;
  color: #e3f8ff;
  border-color: #008dbe;
}
.workflow-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.workflow-status p {
  margin: 0;
  background: #fff;
  padding: 18px;
  border: 1px solid #cddfe9;
  border-radius: 5px;
}
.workflow-status small,
.workflow-status strong {
  display: block;
}
.workflow-status strong {
  margin-top: 8px;
  font-size: 15px;
}
.workflow-row .eyebrow {
  font-size: 10px;
  display: block;
  margin-bottom: 10px;
}
.workflow-next {
  color: #00638c;
  font-weight: 600;
  margin-top: 8px !important;
}
.workflow-queue .section-label {
  margin: 0 0 8px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
@media (max-width: 700px) {
  .workflow-status {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .workflow-steps li {
    padding: 8px;
    font-size: 11px;
  }
  .workflow-row .actions {
    gap: 9px;
  }
}
.service-request {
  grid-column: 1 / -1;
}
.service-note {
  margin-top: 24px;
  font-size: 14px;
}
.divers-page h1 {
  font-size: clamp(40px, 6vw, 72px);
}
.team-intro {
  max-width: 620px;
  font-size: 19px;
}
.team-back {
  color: #7fdcf6;
}
.diver-profiles {
  display: grid;
  gap: 28px;
}
.diver-profile {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 40px;
  padding: 36px;
}
.diver-profile h2 {
  font-size: clamp(28px, 3vw, 40px);
}
.diver-emblem {
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.diver-emblem img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 700px) {
  .diver-profile {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 22px;
  }
  .diver-emblem {
    max-width: 280px;
    margin: auto;
  }
}
.public-header {
  background: #000;
  color: #ecf8ff;
  border-bottom: 1px solid #16364c;
}
.header-inner {
  min-height: 106px;
}
.brand {
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 21px;
  letter-spacing: 0.1em;
}
.brand img {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand span {
  display: flex;
  flex-direction: column;
}
.brand small {
  color: #83d7f1;
  font-weight: 600;
  letter-spacing: 0.26em;
}
.public-header nav a:not(.button):hover {
  color: #22c6f3;
}
.public-header nav .button,
.aqua {
  background: #22c6f3;
  color: #001a2b;
  border-color: #22c6f3;
}
.public-header nav .button:hover,
.aqua:hover {
  background: #7ce3ff;
  color: #001a2b;
}
.hero {
  background: #000;
  border-bottom: 1px solid #0b4562;
}
.hero-grid {
  max-width: 1320px;
  grid-template-columns: 1fr 1.12fr;
  gap: 20px;
  padding-top: 42px;
  padding-bottom: 42px;
  min-height: 660px;
}
.hero h1 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 em {
  color: #22c6f3;
}
.hero .eyebrow {
  color: #7fdcf6;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero .eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #22c6f3;
}
.hero p {
  color: #b7cddd;
  font-size: 16px;
  max-width: 460px;
}
.hero .secondary {
  border-color: #40728c;
}
.hero .secondary:hover {
  background: #052d46;
}
.hero-art {
  margin: 0;
  min-width: 0;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.strip {
  background: #05253c;
  color: #d9f5ff;
  border-bottom: 3px solid #22c6f3;
}
.public-home .section-head h2,
.public-home .dark-section h2 {
  text-transform: uppercase;
}
.public-home #services .card {
  border: 1px solid #c6dce9;
  border-top: 3px solid #08a8df;
  background: linear-gradient(145deg, #fff, #edf7fc);
  padding: 36px;
  border-radius: 3px;
}
.service-number {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #006d98;
  margin-bottom: 35px;
}
.public-home .card h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
}
.dark-section {
  background: linear-gradient(120deg, #020d17, #032e4c);
}
.step {
  border-top: 2px solid #0d739c;
}
.step small {
  color: #57d2f8;
}
.quote-panel {
  background: #dceffa;
  border-left: 3px solid #009ed6;
  border-radius: 3px;
}
.public-footer {
  background: #000;
  color: #bed2df;
  border-top: 1px solid #17425b;
}
.public-footer .brand {
  color: white;
}
.sidebar {
  background: linear-gradient(175deg, #000 5%, #03243b 100%);
  border-right: 1px solid #18526e;
}
.sidebar .brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 19px;
}
.sidebar .brand img {
  width: 112px;
  height: 112px;
}
.sidebar nav button.active {
  background: #084768;
  border-left: 3px solid #22c6f3;
}
.sidebar nav button:hover {
  background: #063551;
}
.work-header {
  border-bottom: 2px solid #22bce9;
}
.stat {
  border-top: 2px solid #079ed2;
}
.stat strong {
  color: #034c72;
}
.notice-box {
  background: #e7f5fc;
  border-color: #b9dce9;
}
.secondary:hover {
  background: #e5f4fc;
}
:focus-visible {
  outline-color: #009bd4;
}
@media (max-width: 1000px) {
  .public-header nav {
    gap: 16px;
  }
  .brand {
    font-size: 17px;
    gap: 10px;
  }
  .brand img {
    width: 64px;
    height: 64px;
  }
  .hero-grid {
    min-height: 560px;
  }
  .hero h1 {
    font-size: 49px;
  }
}
@media (max-width: 700px) {
  .header-inner {
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 14px;
  }
  .public-header .brand {
    font-size: 20px;
  }
  .public-header nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 12px;
  }
  .public-header nav .button {
    margin-left: auto;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    padding-bottom: 34px;
    gap: 28px;
  }
  .hero-art {
    order: -1;
    width: min(100%, 360px);
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 53px);
  }
  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .hero .actions {
    gap: 10px;
  }
  .hero .actions .button {
    width: 100%;
  }
  .strip .wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 12px;
  }
  .public-home #services .card {
    padding: 26px;
  }
  .sidebar .brand {
    flex-direction: row;
    align-items: center;
    font-size: 18px;
  }
  .sidebar .brand img {
    width: 64px;
    height: 64px;
  }
  .sidebar nav button.active {
    border-left: 0;
    border-bottom: 3px solid #22c6f3;
  }
}
@media (max-width: 700px) {
  .divers-page .section.wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
}
/* Illustrated service panels; replace the artwork with approved job photos when supplied. */
.service-catalog {
  display: grid;
  gap: 26px;
}
.service-feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border: 1px solid #c3dae7;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.service-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  color: #89e4ff;
  background: radial-gradient(
    ellipse at 70% 20%,
    #085878,
    #03243c 65%,
    #011321
  );
}
.service-visual > span {
  font-size: 14px;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.service-visual svg {
  width: 100%;
  max-height: 230px;
}
.service-visual small {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 10px;
}
.service-copy {
  padding: 34px 40px;
}
.service-copy h3 {
  font-size: clamp(25px, 2.8vw, 35px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.service-copy p {
  color: #526b78;
  line-height: 1.7;
}
.service-copy ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
}
.service-copy li {
  padding: 7px 0 7px 24px;
  position: relative;
  font-size: 14px;
}
.service-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #007ba5;
  font-weight: bold;
}
.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
}
.service-footer p {
  margin: 0;
  max-width: 590px;
  color: #526b78;
}
.ocean-motion {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ocean-motion .hero-grid {
  position: relative;
  z-index: 1;
}
.bubble-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.bubble-field span,
.bubble-stream span {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(115, 220, 255, 0.65);
  background: radial-gradient(
    circle at 30% 24%,
    rgba(235, 252, 255, 0.8) 0%,
    rgba(150, 233, 255, 0.18) 18%,
    transparent 55%
  );
  box-shadow: inset -2px -2px 4px rgba(34, 198, 243, 0.15);
}
.bubble-field span {
  left: var(--x, 10%);
  top: 100%;
  width: var(--size, 12px);
  height: var(--size, 12px);
  animation: bubble-rise var(--duration, 24s) linear var(--delay, -8s) infinite;
}
@keyframes bubble-rise {
  0% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  12% {
    opacity: 0.48;
  }
  50% {
    transform: translate(var(--drift, 24px), -500px);
    opacity: 0.42;
  }
  88% {
    opacity: 0.35;
  }
  100% {
    transform: translate(0, -1100px);
    opacity: 0;
  }
}
.hero-art {
  position: relative;
}
.bubble-stream {
  position: absolute;
  z-index: 2;
  left: 21%;
  top: 22%;
  width: 15%;
  height: 1px;
  pointer-events: none;
}
.bubble-stream span {
  left: var(--x, 40%);
  top: 0;
  width: var(--size, 14px);
  height: var(--size, 14px);
  border: 1.5px solid rgba(160, 237, 255, 0.9);
  box-shadow:
    inset -3px -3px 5px rgba(12, 146, 208, 0.4),
    0 0 5px rgba(70, 209, 255, 0.22);
  animation: diver-bubbles var(--duration, 7s) linear var(--delay, -3s) infinite;
}
@keyframes diver-bubbles {
  0% {
    transform: translate(0, 8px) scale(0.55);
    opacity: 0;
  }
  9% {
    opacity: 0.85;
  }
  35% {
    transform: translate(var(--drift, 15px), -75px) scale(0.9);
    opacity: 0.8;
  }
  68% {
    transform: translate(calc(var(--drift, 15px) * -0.4), -165px) scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: translate(var(--drift, 15px), -270px) scale(1.25);
    opacity: 0;
  }
}
.motion-toggle {
  position: absolute;
  bottom: 12px;
  left: 24px;
  z-index: 2;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #315065;
  background: #061c2c;
  color: #a1c7d8;
  font-size: 11px;
}
.motion-paused .bubble-field span,
.motion-paused .bubble-stream span {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .bubble-field,
  .bubble-stream,
  .motion-toggle {
    display: none;
  }
  .bubble-field span,
  .bubble-stream span {
    animation: none;
  }
}
@media (max-width: 700px) {
  .service-feature {
    grid-template-columns: 1fr;
  }
  .service-visual {
    padding: 20px;
  }
  .service-visual svg {
    height: 155px;
  }
  .service-copy {
    padding: 26px;
  }
  .service-footer {
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }
}
.service-catalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-feature {
  grid-template-columns: 1fr;
  align-content: start;
}
.service-visual {
  padding: 20px 28px;
}
.service-visual svg {
  height: 165px;
}
.service-copy {
  padding: 30px;
}
.service-copy h3 {
  font-size: 29px;
}
.service-details {
  border-top: 1px solid #cddfe9;
  margin: 0 0 22px;
  padding-top: 16px;
}
.service-details summary {
  color: #00638c;
  font-size: 14px;
  line-height: 1.5;
}
.service-details p {
  margin: 16px 0;
  font-size: 14px;
}
.service-details ol {
  padding-left: 20px;
}
.service-details ol li {
  padding: 6px 0 6px 4px;
}
.service-details ol li::before {
  content: none;
}
@media (max-width: 700px) {
  .service-catalog {
    grid-template-columns: 1fr;
  }
}
.social-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-height: 420px;
  overflow: auto;
  margin: 20px 0;
}
.social-photo {
  border: 1px solid #cddfe9;
  border-radius: 5px;
  padding: 10px;
}
.social-photo[hidden] {
  display: none;
}
.social-photo img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #05243a;
}
.social-photo span {
  display: block;
  font-size: 12px;
  margin-top: 8px;
}
.social-photo input[type="number"] {
  width: 65px;
}
@media (max-width: 500px) {
  .social-picker {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .public-home .section.wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
}
.video-preview {
  min-width: 0;
}
.video-preview video {
  display: block;
  width: 100%;
  max-height: 340px;
  background: #001a2b;
  border-radius: 5px;
}
.video-preview a {
  display: inline-block;
  margin: 8px 0;
  font-size: 13px;
}
.social-picker .video-preview video {
  height: 140px;
}

.bubble-field span:nth-child(1) {
  --x: 40%;
  --size: 12px;
  --duration: 26s;
  --delay: -8s;
  --drift: 25px;
}
.bubble-stream span:nth-child(1) {
  --x: 23%;
  --size: 15px;
  --duration: 6.6s;
  --delay: -0.41s;
  --drift: 19px;
}

.bubble-field span:nth-child(2) {
  --x: 77%;
  --size: 5px;
  --duration: 29s;
  --delay: -15s;
  --drift: -30px;
}
.bubble-stream span:nth-child(2) {
  --x: 46%;
  --size: 22px;
  --duration: 7.2s;
  --delay: -0.82s;
  --drift: -16px;
}

.bubble-field span:nth-child(3) {
  --x: 14%;
  --size: 12px;
  --duration: 32s;
  --delay: -22s;
  --drift: 25px;
}
.bubble-stream span:nth-child(3) {
  --x: 69%;
  --size: 13px;
  --duration: 7.8s;
  --delay: -1.23s;
  --drift: 13px;
}

.bubble-field span:nth-child(4) {
  --x: 51%;
  --size: 5px;
  --duration: 35s;
  --delay: -29s;
  --drift: -30px;
}
.bubble-stream span:nth-child(4) {
  --x: 92%;
  --size: 20px;
  --duration: 8.4s;
  --delay: -1.64s;
  --drift: -22px;
}

.bubble-field span:nth-child(5) {
  --x: 88%;
  --size: 12px;
  --duration: 38s;
  --delay: -36s;
  --drift: 25px;
}
.bubble-stream span:nth-child(5) {
  --x: 15%;
  --size: 11px;
  --duration: 6s;
  --delay: -2.05s;
  --drift: 27px;
}

.bubble-field span:nth-child(6) {
  --x: 25%;
  --size: 5px;
  --duration: 23s;
  --delay: -6s;
  --drift: -30px;
}
.bubble-stream span:nth-child(6) {
  --x: 38%;
  --size: 18px;
  --duration: 6.6s;
  --delay: -2.46s;
  --drift: -10px;
}

.bubble-field span:nth-child(7) {
  --x: 62%;
  --size: 12px;
  --duration: 26s;
  --delay: -13s;
  --drift: 25px;
}
.bubble-stream span:nth-child(7) {
  --x: 61%;
  --size: 9px;
  --duration: 7.2s;
  --delay: -2.87s;
  --drift: 21px;
}

.bubble-field span:nth-child(8) {
  --x: 99%;
  --size: 5px;
  --duration: 29s;
  --delay: -20s;
  --drift: -30px;
}
.bubble-stream span:nth-child(8) {
  --x: 84%;
  --size: 16px;
  --duration: 7.8s;
  --delay: -3.28s;
  --drift: -16px;
}

.bubble-field span:nth-child(9) {
  --x: 36%;
  --size: 12px;
  --duration: 32s;
  --delay: -27s;
  --drift: 25px;
}
.bubble-stream span:nth-child(9) {
  --x: 7%;
  --size: 23px;
  --duration: 8.4s;
  --delay: -3.69s;
  --drift: 15px;
}

.bubble-field span:nth-child(10) {
  --x: 73%;
  --size: 5px;
  --duration: 35s;
  --delay: -34s;
  --drift: -30px;
}
.bubble-stream span:nth-child(10) {
  --x: 30%;
  --size: 14px;
  --duration: 6s;
  --delay: -4.1s;
  --drift: -22px;
}

.bubble-field span:nth-child(11) {
  --x: 10%;
  --size: 12px;
  --duration: 38s;
  --delay: -4s;
  --drift: 25px;
}
.bubble-stream span:nth-child(11) {
  --x: 53%;
  --size: 21px;
  --duration: 6.6s;
  --delay: -4.51s;
  --drift: 29px;
}

.bubble-field span:nth-child(12) {
  --x: 47%;
  --size: 5px;
  --duration: 23s;
  --delay: -11s;
  --drift: -30px;
}
.bubble-stream span:nth-child(12) {
  --x: 76%;
  --size: 12px;
  --duration: 7.2s;
  --delay: -4.92s;
  --drift: -10px;
}

.bubble-field span:nth-child(13) {
  --x: 84%;
  --size: 12px;
  --duration: 26s;
  --delay: -18s;
  --drift: 25px;
}
.bubble-stream span:nth-child(13) {
  --x: 99%;
  --size: 19px;
  --duration: 7.8s;
  --delay: -5.33s;
  --drift: 23px;
}

.bubble-field span:nth-child(14) {
  --x: 21%;
  --size: 5px;
  --duration: 29s;
  --delay: -25s;
  --drift: -30px;
}
.bubble-stream span:nth-child(14) {
  --x: 22%;
  --size: 10px;
  --duration: 8.4s;
  --delay: -5.74s;
  --drift: -16px;
}

.bubble-field span:nth-child(15) {
  --x: 58%;
  --size: 12px;
  --duration: 32s;
  --delay: -32s;
  --drift: 25px;
}
.bubble-stream span:nth-child(15) {
  --x: 45%;
  --size: 17px;
  --duration: 6s;
  --delay: -6.15s;
  --drift: 17px;
}

.bubble-field span:nth-child(16) {
  --x: 95%;
  --size: 5px;
  --duration: 35s;
  --delay: -2s;
  --drift: -30px;
}
.bubble-stream span:nth-child(16) {
  --x: 68%;
  --size: 8px;
  --duration: 6.6s;
  --delay: -6.56s;
  --drift: -22px;
}

.bubble-field span:nth-child(17) {
  --x: 32%;
  --size: 12px;
  --duration: 38s;
  --delay: -9s;
  --drift: 25px;
}
.bubble-stream span:nth-child(17) {
  --x: 91%;
  --size: 15px;
  --duration: 7.2s;
  --delay: -6.97s;
  --drift: 31px;
}

.bubble-field span:nth-child(18) {
  --x: 69%;
  --size: 5px;
  --duration: 23s;
  --delay: -16s;
  --drift: -30px;
}
.bubble-stream span:nth-child(18) {
  --x: 14%;
  --size: 22px;
  --duration: 7.8s;
  --delay: -7.38s;
  --drift: -10px;
}

.bubble-field span:nth-child(19) {
  --x: 6%;
  --size: 12px;
  --duration: 26s;
  --delay: -23s;
  --drift: 25px;
}
.bubble-stream span:nth-child(19) {
  --x: 37%;
  --size: 13px;
  --duration: 8.4s;
  --delay: -7.79s;
  --drift: 25px;
}

.bubble-field span:nth-child(20) {
  --x: 43%;
  --size: 5px;
  --duration: 29s;
  --delay: -30s;
  --drift: -30px;
}
.bubble-stream span:nth-child(20) {
  --x: 60%;
  --size: 20px;
  --duration: 6s;
  --delay: -0.2s;
  --drift: -16px;
}

.bubble-field span:nth-child(21) {
  --x: 80%;
  --size: 12px;
  --duration: 32s;
  --delay: -37s;
  --drift: 25px;
}
.bubble-stream span:nth-child(21) {
  --x: 83%;
  --size: 11px;
  --duration: 6.6s;
  --delay: -0.61s;
  --drift: 19px;
}

.bubble-field span:nth-child(22) {
  --x: 17%;
  --size: 5px;
  --duration: 35s;
  --delay: -7s;
  --drift: -30px;
}
.bubble-stream span:nth-child(22) {
  --x: 6%;
  --size: 18px;
  --duration: 7.2s;
  --delay: -1.02s;
  --drift: -22px;
}

.bubble-field span:nth-child(23) {
  --x: 54%;
  --size: 12px;
  --duration: 38s;
  --delay: -14s;
  --drift: 25px;
}
.bubble-stream span:nth-child(23) {
  --x: 29%;
  --size: 9px;
  --duration: 7.8s;
  --delay: -1.43s;
  --drift: 13px;
}

.bubble-field span:nth-child(24) {
  --x: 91%;
  --size: 5px;
  --duration: 23s;
  --delay: -21s;
  --drift: -30px;
}
.bubble-stream span:nth-child(24) {
  --x: 52%;
  --size: 16px;
  --duration: 8.4s;
  --delay: -1.84s;
  --drift: -10px;
}

.bubble-field span:nth-child(25) {
  --x: 28%;
  --size: 12px;
  --duration: 26s;
  --delay: -28s;
  --drift: 25px;
}
.bubble-stream span:nth-child(25) {
  --x: 75%;
  --size: 23px;
  --duration: 6s;
  --delay: -2.25s;
  --drift: 27px;
}

.bubble-field span:nth-child(26) {
  --x: 65%;
  --size: 5px;
  --duration: 29s;
  --delay: -35s;
  --drift: -30px;
}
.bubble-stream span:nth-child(26) {
  --x: 98%;
  --size: 14px;
  --duration: 6.6s;
  --delay: -2.66s;
  --drift: -16px;
}

/* Soft trails anchored to the bubbles and tank in the original artwork. */
.bubble-stream {
  opacity: 0.62;
}
.tank-bubbles {
  left: 13%;
  top: 37%;
  width: 9%;
  opacity: 0.5;
}
.tank-bubbles span {
  width: calc(var(--size, 14px) * 0.8);
  height: calc(var(--size, 14px) * 0.8);
  animation-duration: calc(var(--duration, 7s) * 1.25);
}

/* Motion is layered over the supplied artwork without altering the image. */
.logo-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.fish-swim {
  transform-box: fill-box;
  transform-origin: center;
  animation: fish-drift 16s linear infinite;
  animation-delay: -4s;
}
.fish-two {
  animation-duration: 19s;
  animation-delay: -7s;
}
.fish-three {
  animation-duration: 13s;
  animation-delay: -4s;
}
.fish-visor {
  animation-duration: 21s;
  animation-delay: -11s;
}
/* Fish face left: fade out before resetting to the right, never reverse. */
@keyframes fish-drift {
  0% {
    transform: translate(130px, 2px);
    opacity: 0;
  }
  15% {
    opacity: 0.55;
  }
  50% {
    transform: translate(-10px, -5px);
  }
  85% {
    opacity: 0.55;
  }
  100% {
    transform: translate(-150px, 2px);
    opacity: 0;
  }
}
.letter-shimmer {
  animation: lettering-glint 6s linear infinite;
  animation-delay: -2s;
}
.letter-ripple {
  animation: lettering-ripple 5s linear infinite;
  opacity: 0.8;
}
@keyframes lettering-glint {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  15%,
  80% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(1110px);
    opacity: 0;
  }
}
/* A full wavelength makes the horizontal water pattern loop seamlessly. */
@keyframes lettering-ripple {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(50px, -5px);
  }
  50% {
    transform: translate(100px, 0);
  }
  75% {
    transform: translate(150px, 5px);
  }
  100% {
    transform: translate(200px, 0);
  }
}
.motion-paused .logo-motion * {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .logo-motion {
    display: none;
  }
  .logo-motion * {
    animation: none;
  }
}

/* A sparse trail follows the lower outer edge of the tank. */
.lower-tank-bubbles {
  left: 9%;
  top: 53%;
  width: 5%;
  opacity: 0.45;
}
.lower-tank-bubbles span {
  width: calc(var(--size, 14px) * 0.65);
  height: calc(var(--size, 14px) * 0.65);
  animation-duration: calc(var(--duration, 7s) * 1.4);
}

.referral-offer {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  font-size: 14px;
}

.public-subnav {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 14px;
}
.public-subnav a {
  color: #0d4861;
}
.public-content {
  max-width: 1150px;
}
.public-content h2 {
  font-size: 28px;
}
.public-content li {
  margin: 12px 0;
}
.faq-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.faq-list details {
  background: #fff;
  color: #123348;
  border: 1px solid #c9dfe9;
  border-radius: 12px;
  padding: 18px 22px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}
.faq-list p {
  margin-bottom: 0;
  line-height: 1.7;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.gallery-grid figure {
  margin: 0;
}
.gallery-grid video,
.gallery-grid img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #031822;
  border-radius: 8px;
}
.gallery-grid figcaption {
  padding: 8px 0;
  font-size: 13px;
}
.coverage-map {
  margin: 0;
}
.coverage-map svg {
  width: 100%;
  background: #0c5470;
  border-radius: 12px;
}
.coverage-map text {
  fill: #092b42;
  font-size: 17px;
  font-family: Arial, sans-serif;
}
.coverage-map svg text:nth-last-child(2),
.coverage-map svg text:nth-last-child(3) {
  fill: #e2f8ff;
}
.sample-report dt {
  font-weight: 700;
  margin-top: 22px;
}
.sample-report dd {
  margin: 6px 0 0;
}
.service-page-link {
  display: block;
  margin-top: 18px;
}
.message-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.mobile-contact {
  display: none;
}
@media (max-width: 700px) {
  .public-subnav {
    gap: 12px 18px;
  }
  .mobile-contact {
    display: block;
    position: sticky;
    bottom: 0;
    background: #031822;
    padding: 12px;
    z-index: 4;
  }
  .mobile-contact .actions {
    justify-content: center;
    gap: 8px;
  }
  .mobile-contact .button {
    font-size: 12px;
    padding: 10px;
  }
}

.public-subnav a {
  font-weight: 600;
}
@media (max-width: 700px) {
  main > .dark-section h1 {
    font-size: clamp(32px, 8vw, 48px);
    overflow-wrap: anywhere;
  }
}

.gallery-grid .photo-grid {
  grid-template-columns: 1fr;
}

.route-map {
  margin: 20px 0 0;
}
.route-map svg {
  display: block;
  width: 100%;
  max-height: 560px;
  background: #e2edf0;
  border: 1px solid #bccfd8;
  border-radius: 12px;
}
.route-map img {
  display: block;
  width: 256px;
  height: 256px;
  max-width: none;
}
.route-map figcaption {
  padding: 12px 0;
  font-size: 13px;
}
