@font-face {
  font-family: "Assistant";
  src: url("../fonts/Assistant-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #005157;
  --teal: #007377;
  --water: #008c95;
  --shallow: #51c4cd;
  --yellow: #ffc82d;
  --coral: #fd8b7d;
  --coral-light: #ffc2b1;
  --coral-dark: #c1564b;
  --hero-sky-bottom: #b8e5e8;
  --paper: #f2f2f3;
  --mist: #b9c9cc;
  --ink: #102f31;
  --abyss: #071f21;
  --mud-light: #725d48;
  --mud: #493b2e;
  --mud-dark: #2d2722;
  --white: #fff;
  --shadow-paper:
    inset 0 2px 0 rgba(255, 255, 255, .72),
    0 4px 0 rgba(0, 81, 87, .13),
    0 10px 0 rgba(0, 81, 87, .18),
    0 13px 3px -2px rgba(0, 35, 39, .34);
  --shadow-small:
    inset 0 2px 0 rgba(255, 255, 255, .68),
    0 5px 0 rgba(0, 81, 87, .15),
    0 8px 2px -2px rgba(0, 35, 39, .32);
  --radius: 1.5rem;
  --sky-shift: 0px;
  --bubbles-shift: 0px;
  --checklist-bubbles-shift: 0px;
  --bs-primary: #ffc82d;
  --bs-primary-rgb: 255, 200, 45;
  --bs-body-font-family: "Assistant", Arial, sans-serif;
  --support-accordion-buffer: 0.75rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--deep);
  font-family: "Assistant", Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--deep);
}

.svg-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 750;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.25rem, 8vw, 6.7rem);
  letter-spacing: -.055em;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  letter-spacing: -.04em;
}

h3 {
  letter-spacing: -.025em;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

button,
a,
summary,
input {
  touch-action: manipulation;
}

:focus-visible {
  outline: 4px solid var(--yellow) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 7px rgba(0, 81, 87, .92) !important;
}

.skip-link {
  position: fixed;
  inset-block-start: .75rem;
  inset-inline-start: 1rem;
  z-index: 2000;
  padding: .75rem 1rem;
  border-radius: .5rem;
  color: #000;
  background: var(--yellow);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.btn {
  min-height: 2.8rem;
  border-width: 2px;
  border-radius: .65rem;
  font-weight: 750;
  padding-inline: 1.2rem;
}

.btn-primary {
  --bs-btn-color: #152e30;
  --bs-btn-bg: var(--yellow);
  --bs-btn-border-color: #dca800;
  --bs-btn-hover-color: #102628;
  --bs-btn-hover-bg: #ffd456;
  --bs-btn-hover-border-color: #b98d00;
  --bs-btn-active-color: #102628;
  --bs-btn-active-bg: #f2b900;
  --bs-btn-active-border-color: #8b6a00;
  box-shadow: 0 5px 0 #b78b00;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #b78b00, 0 10px 2px -1px rgba(0, 0, 0, .32);
}

.disabled-link {
  cursor: not-allowed;
  opacity: .72;
}

.eyebrow {
  margin-block-end: .45rem;
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--yellow);
}

.paper-card {
  border: 1px solid rgba(0, 81, 87, .18);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-paper);
}

/*
 * A single reusable grain tile gives all paper surfaces a shared material
 * language without duplicating texture data in every component or SVG asset.
 */
.paper-card,
.journey-card,
.resource-card,
.support-category,
.support-category details,
.connected-banner,
.logo-placeholder,
.btn-primary,
.info-button,
.brand-mark,
.journey-icon,
.group-number,
.category-icon,
.media-icon,
.buoy-icon {
  background-image: url("../svg/paper-texture.svg");
  background-repeat: repeat;
  background-size: 180px 180px;
  background-blend-mode: multiply;
}

.section-content {
  position: relative;
  z-index: 4;
}

.section-heading {
  max-width: 52rem;
  margin-block-end: 3.25rem;
}

.section-heading>p:last-child {
  font-size: 1.2rem;
}

.light-text {
  color: var(--paper);
}

.content-placeholder {
  display: block;
  padding: 1rem 1.1rem;
  border: 2px dashed #a44138;
  border-radius: .85rem;
  color: #63241e;
  background: #fff0ed;
  font-size: .98rem;
}

.content-placeholder.compact {
  margin-block-start: .7rem;
  padding: .55rem .7rem;
  font-size: .86rem;
}

.site-header {
  position: relative;
  color: var(--ink);
}

.navbar {
  z-index: 30;
  padding-block: 1rem;
  background: rgba(242, 242, 243, .86);
  border-block-end: 1px solid rgba(0, 81, 87, .13);
  backdrop-filter: blur(12px);
  box-shadow: 0 5px 7px -5px rgba(0, 44, 48, .32);
  transform: translateY(0);
  transition: transform .24s ease, box-shadow .24s ease;
}

.smart-navbar.nav-hidden {
  transform: translateY(0);
}

.smart-navbar.nav-hidden:focus-within {
  transform: translateY(0);
}

.smart-navbar.nav-at-top {
  box-shadow: none;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  padding-block: 0;
}

.nav-logo {
  display: block;
  height: 3.25rem;
  width: auto;
  max-width: 16rem;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 16rem;
  max-height: 3.5rem;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.9;
}

.nav-link {
  color: var(--deep);
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}

.navbar .nav-link.active {
  position: relative;
  color: var(--deep);
  font-weight: 800;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  inset-inline: .7rem;
  inset-block-end: .1rem;
  height: .24rem;
  border-radius: 1rem;
  background: var(--yellow);
  box-shadow: 0 2px 0 #b78b00;
}

.hero {
  position: relative;
  min-height: max(100svh, 52rem);
  padding-block: 9rem 20rem;
  isolation: auto;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #effcfd 0%, #d7f2f4 57%, var(--hero-sky-bottom) 100%);
}

.sky-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .42;
  background: linear-gradient(115deg, rgba(255, 255, 255, .72), transparent 38% 72%, rgba(255, 255, 255, .45));
  transform: translateY(var(--sky-shift));
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-copy .lead {
  max-width: 42rem;
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  font-weight: 550;
}

.hero-goal {
  max-width: 42rem;
  margin-block-start: 1.4rem;
  padding: 1rem 1.15rem;
  border-inline-start: .55rem solid var(--yellow);
  border-radius: .8rem;
  color: var(--deep);
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-small);
  font-size: 1.18rem;
}

.hero-goal strong {
  display: inline-block;
  margin-inline-end: .25rem;
  font-size: 1.12em;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  direction: ltr;
  pointer-events: none;
}

.springboard {
  position: absolute;
  left: clamp(-7rem, -5vw, -3.75rem);
  bottom: clamp(10.5rem, 20vh, 13.5rem);
  width: clamp(31rem, 43vw, 42rem);
  z-index: 2;
  filter:
    url(#paper-grain-filter) drop-shadow(0 3px 0 rgba(0, 81, 87, .18)) drop-shadow(0 10px 1px rgba(0, 45, 49, .38));
}

.diver {
  position: absolute;
  left: clamp(13rem, 21vw, 21rem);
  bottom: clamp(27.5rem, 49vh, 34rem);
  width: clamp(6.2rem, 8vw, 8.75rem);
  z-index: 3;
  transform-origin: 50% 75%;
  filter:
    url(#paper-grain-filter) drop-shadow(0 3px 0 rgba(0, 81, 87, .22)) drop-shadow(0 8px 1px rgba(0, 45, 49, .44));
  transition: opacity .12s ease, filter .25s ease;
}

.diver-sequence-canvas {
  display: none;
}

.hero-sun {
  position: absolute;
  top: clamp(4.75rem, 8vh, 6.25rem);
  left: clamp(2rem, 7vw, 7rem);
  width: clamp(8rem, 12vw, 11.5rem);
  z-index: 0;
  filter: drop-shadow(0 8px 1px rgba(183, 139, 0, .2));
}

.hero-cloud {
  position: absolute;
  z-index: 1;
  filter: drop-shadow(0 7px 1px rgba(0, 81, 87, .12));
}

.hero-cloud-one {
  top: clamp(8rem, 15vh, 11rem);
  left: clamp(-4rem, -2vw, -1rem);
  width: clamp(8rem, 13vw, 13.5rem);
  transform: translateX(var(--hero-cloud-one-drift, 0px));
}

.hero-cloud-two {
  top: clamp(8rem, 13vh, 10rem);
  right: clamp(-6rem, -4vw, -2.5rem);
  width: clamp(12rem, 20vw, 21rem);
  transform: translateX(var(--hero-cloud-two-drift, 0px));
}

.journey-nav {
  position: relative;
  z-index: 4;
  margin-block-start: 3.5rem;
}

.journey-card {
  display: flex;
  min-height: 100%;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(0, 81, 87, .16);
  border-radius: 1rem;
  color: var(--deep);
  background: #fff;
  box-shadow: var(--shadow-small);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.journey-card:hover {
  color: var(--deep);
  transform: translateY(-5px) rotate(-.3deg);
  box-shadow: 0 10px 0 rgba(0, 81, 87, .17), 0 13px 3px -2px rgba(0, 44, 48, .34);
}

.journey-card strong,
.journey-card small {
  display: block;
}

.journey-card strong {
  font-size: 1.14rem;
}

.journey-card small {
  margin-block-start: .2rem;
  color: #3c5b5d;
  line-height: 1.35;
}

.journey-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.1rem;
  width: 3.1rem;
  height: 3.1rem;
  aspect-ratio: 1;
  border-radius: 43% 57% 51% 49%;
  color: var(--deep);
  background: var(--yellow);
  font-size: 1.45rem;
  font-weight: 800;
  box-shadow: 0 5px 0 #ca9b00;
}

.journey-icon i,
.scroll-cue-icon i,
.back-to-top i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  color: var(--deep);
}

.question-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  color: var(--yellow) !important;
}

.text-lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15em;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1;
  vertical-align: middle;
}

.scroll-cue {
  display: flex;
  width: fit-content;
  margin: 2.4rem auto 0;
  align-items: center;
  flex-direction: column;
  gap: .6rem;
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
  animation: cue-bob 1.6s ease-in-out infinite;
}

.scroll-cue-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 5px 0 #bd9000;
  font-size: 1.15rem;
}

.scroll-cue-text {
  line-height: 1;
}

.wave-stack {
  position: absolute;
  inset-inline: 0;
  z-index: 3;
  inset-block-end: -2px;
  height: clamp(16rem, 34svh, 21rem);
  overflow: visible;
  pointer-events: none;
}

.hero-wave-stack {
  display: none;
}

.wave-layer {
  position: absolute;
  left: 50%;
  width: max(100%, 108rem);
  height: auto;
  transform: translateX(-50%);
}

.wave-4 {
  z-index: 1;
  bottom: clamp(7.5rem, 14vh, 10rem);
}

.wave-3 {
  z-index: 2;
  bottom: clamp(5rem, 10vh, 7rem);
}

.wave-2 {
  z-index: 3;
  bottom: clamp(2.25rem, 5vh, 4rem);
}

.wave-1 {
  z-index: 4;
  bottom: 0;
}

@media (min-width: 1024px) {
  .diver-sequence-canvas {
    position: absolute;
    left: calc(clamp(13rem, 21vw, 21rem) - clamp(2.49rem, 3.211vw, 3.51rem));
    bottom: calc(clamp(27.5rem, 49vh, 34rem) - clamp(23.13rem, 29.842vw, 32.64rem));
    z-index: 3;
    display: block;
    width: clamp(29.37rem, 37.895vw, 41.45rem);
    max-width: none;
    height: auto;
    opacity: 0;
    filter:
      url(#paper-grain-filter) drop-shadow(0 3px 0 rgba(0, 81, 87, .22)) drop-shadow(0 8px 1px rgba(0, 45, 49, .44));
    will-change: transform;
  }

  .diver-sequence-ready .diver-sequence-canvas {
    opacity: 1;
  }

  .diver-sequence-ready .diver-static .diver {
    opacity: 0;
  }

  .hero-wave-stack {
    z-index: 4;
    display: block;
  }
}

.water-section {
  position: relative;
  overflow: hidden;
}

.training-section {
  --training-hero-overlap: clamp(14rem, 25vh, 20rem);
  --training-wave-spill: clamp(2rem, 4vw, 4rem);
  --training-overlap-fade: clamp(5rem, 8vw, 8rem);
  z-index: 2;
  min-height: 42rem;
  margin-block-start: calc(var(--training-hero-overlap) * -1);
  overflow: visible;
  padding-block: calc(var(--training-hero-overlap) + clamp(3rem, 5vw, 5rem)) 10rem;
  background: linear-gradient(180deg,
      transparent 0 var(--training-overlap-fade),
      var(--hero-sky-bottom) var(--training-overlap-fade) 100%);
}

.training-section .section-content {
  z-index: 24;
}

.training-wave-repeat {
  position: absolute;
  inset-block: calc(var(--training-wave-spill) * -1) 0;
  inset-inline: 0;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding-block-start: 2rem;
  pointer-events: none;
}

.training-wave-stack {
  position: relative;
  inset: auto;
  z-index: auto;
  flex: 0 0 clamp(16rem, 34svh, 21rem);
  width: 100%;
  height: clamp(16rem, 34svh, 21rem);
  overflow: visible;
}

.training-wave-stack+.training-wave-stack {
  margin-block-start: clamp(-6.5rem, -10vh, -4.5rem);
}

.training-wave-stack:nth-child(1) {
  --training-stack-z: 0;
}

.training-wave-stack:nth-child(2) {
  --training-stack-z: 4;
}

.training-wave-stack:nth-child(3) {
  --training-stack-z: 8;
}

.training-wave-stack:nth-child(4) {
  --training-stack-z: 12;
}

.training-wave-stack:nth-child(5) {
  --training-stack-z: 16;
}

.training-wave-stack .wave-layer {
  width: max(112%, 108rem);
  filter:
    saturate(var(--training-wave-saturation, 1)) drop-shadow(0 -2px 0 rgba(255, 255, 255, .42)) drop-shadow(0 -8px 4px rgba(0, 81, 87, .38));
  transform: translateX(calc(-50% + var(--training-wave-x, 0rem)));
}

.training-wave-stack:nth-child(1) .wave-4 {
  --training-wave-saturation: .8;
}

.training-wave-stack:nth-child(1) .wave-3 {
  --training-wave-saturation: .92;
}

.training-wave-stack:nth-child(1) .wave-2 {
  --training-wave-saturation: 1.08;
}

.training-wave-stack:nth-child(1) .wave-1 {
  --training-wave-saturation: 1;
}

.training-wave-stack:nth-child(2) .wave-4 {
  --training-wave-x: -3rem;
  --training-wave-saturation: .88;
}

.training-wave-stack:nth-child(2) .wave-3 {
  --training-wave-x: 2rem;
  --training-wave-saturation: 1.12;
}

.training-wave-stack:nth-child(2) .wave-2 {
  --training-wave-x: -1rem;
  --training-wave-saturation: .96;
}

.training-wave-stack:nth-child(2) .wave-1 {
  --training-wave-x: 4rem;
  --training-wave-saturation: 1.18;
}

.training-wave-stack:nth-child(3) .wave-4 {
  --training-wave-x: 3.5rem;
  --training-wave-saturation: .74;
}

.training-wave-stack:nth-child(3) .wave-3 {
  --training-wave-x: -2.5rem;
  --training-wave-saturation: 1.03;
}

.training-wave-stack:nth-child(3) .wave-2 {
  --training-wave-x: 1.5rem;
  --training-wave-saturation: 1.16;
}

.training-wave-stack:nth-child(3) .wave-1 {
  --training-wave-x: -4rem;
  --training-wave-saturation: .9;
}

.training-wave-stack:nth-child(4) .wave-4 {
  --training-wave-x: -1.5rem;
  --training-wave-saturation: .94;
}

.training-wave-stack:nth-child(4) .wave-3 {
  --training-wave-x: 4rem;
  --training-wave-saturation: .82;
}

.training-wave-stack:nth-child(4) .wave-2 {
  --training-wave-x: -3.5rem;
  --training-wave-saturation: 1.2;
}

.training-wave-stack:nth-child(4) .wave-1 {
  --training-wave-x: 2rem;
  --training-wave-saturation: 1.04;
}

.training-wave-stack:nth-child(5) .wave-4 {
  --training-wave-x: 2.5rem;
  --training-wave-saturation: .84;
}

.training-wave-stack:nth-child(5) .wave-3 {
  --training-wave-x: -4rem;
  --training-wave-saturation: 1.18;
}

.training-wave-stack:nth-child(5) .wave-2 {
  --training-wave-x: 3rem;
  --training-wave-saturation: .9;
}

.training-wave-stack:nth-child(5) .wave-1 {
  --training-wave-x: -2rem;
  --training-wave-saturation: 1.1;
}

.training-wave-stack .wave-4 {
  z-index: calc(var(--training-stack-z) + 1);
}

.training-wave-stack .wave-3 {
  z-index: calc(var(--training-stack-z) + 2);
}

.training-wave-stack .wave-2 {
  z-index: calc(var(--training-stack-z) + 3);
}

.training-wave-stack .wave-1 {
  z-index: calc(var(--training-stack-z) + 4);
}

.training-buoy {
  position: absolute;
  top: clamp(3.5rem, 7vw, 6rem);
  right: clamp(1rem, 7vw, 7rem);
  z-index: 6;
  width: clamp(9rem, 13vw, 13rem);
  filter:
    drop-shadow(0 3px 0 rgba(0, 81, 87, .2)) drop-shadow(0 12px 2px rgba(0, 45, 49, .35));
  transform-origin: 50% 76%;
  animation: buoy-float 3.6s ease-in-out infinite;
}

.checklist-section::before,
.toolbox-section::before,
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 13% 20%, rgba(255, 255, 255, .42) 0 .25rem, transparent .28rem),
    radial-gradient(circle at 87% 32%, rgba(255, 255, 255, .34) 0 .4rem, transparent .43rem),
    radial-gradient(circle at 74% 76%, rgba(255, 255, 255, .22) 0 .2rem, transparent .23rem);
  background-size: 15rem 19rem, 21rem 28rem, 17rem 23rem;
  transform: translateY(var(--bubbles-shift));
}

.buoy-card {
  display: flex;
  max-width: 58rem;
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.buoy-icon {
  display: grid;
  flex: 0 0 7rem;
  width: 7rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1.55rem solid var(--coral);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 .3rem var(--coral-light), 0 10px 0 rgba(0, 81, 87, .16);
}

.buoy-icon span {
  width: 1.2rem;
  height: 3rem;
  border-radius: .8rem;
  background: var(--yellow);
}

.checklist-section {
  --checklist-wave-edge-height: clamp(8.6rem, 8.9vw, 24rem);
  z-index: 3;
  margin-block-start: calc(0rem - var(--checklist-wave-edge-height));
  padding-block: calc(8rem + var(--checklist-wave-edge-height)) 11rem;
  color: var(--paper);
  background: linear-gradient(180deg,
      transparent 0 var(--checklist-wave-edge-height),
      var(--shallow) var(--checklist-wave-edge-height),
      #32aeb8 calc(var(--checklist-wave-edge-height) + 10rem),
      var(--water) 56%,
      var(--teal) 100%);
}

.checklist-section::before {
  transform: translateY(var(--checklist-bubbles-shift));
}

.checklist-wave-edge {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1;
  height: var(--checklist-wave-edge-height);
  overflow: hidden;
  pointer-events: none;
}

.checklist-wave-edge img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max(112%, 108rem);
  height: auto;
  filter:
    drop-shadow(0 -2px 0 rgba(255, 255, 255, .34)) drop-shadow(0 -8px 3px rgba(0, 81, 87, .28));
  transform: translateX(-50%);
}

.checklist-fish-field {
  position: absolute;
  inset: var(--checklist-wave-edge-height) 0 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.checklist-fish {
  --fish-swim-x: 0px;
  --fish-swim-y: 0px;
  --fish-swim-turn: 0deg;
  position: absolute;
  display: block;
  width: clamp(6rem, 9vw, 10rem);
  height: auto;
  opacity: .88;
  filter: drop-shadow(0 8px 2px rgba(0, 44, 48, .34));
}

.checklist-fish:nth-child(1) {
  top: 5%;
  left: -2rem;
  width: clamp(7rem, 10vw, 11rem);
  transform: translate3d(var(--fish-swim-x), var(--fish-swim-y), 0) scaleX(-1) rotate(calc(3deg + var(--fish-swim-turn)));
}

.checklist-fish:nth-child(2) {
  top: 15%;
  right: 1%;
  transform: translate3d(var(--fish-swim-x), var(--fish-swim-y), 0) scaleX(-1) rotate(calc(-4deg + var(--fish-swim-turn)));
}

.checklist-fish:nth-child(3) {
  top: 27%;
  left: 3%;
  width: clamp(5.5rem, 8vw, 8.5rem);
  transform: translate3d(var(--fish-swim-x), var(--fish-swim-y), 0) rotate(calc(-2deg + var(--fish-swim-turn)));
}

.checklist-fish:nth-child(4) {
  top: 39%;
  right: -2.5rem;
  width: clamp(8rem, 11vw, 12rem);
  transform: translate3d(var(--fish-swim-x), var(--fish-swim-y), 0) scaleX(-1) rotate(calc(2deg + var(--fish-swim-turn)));
}

.checklist-fish:nth-child(5) {
  top: 51%;
  left: -2rem;
  width: clamp(7rem, 10vw, 10.5rem);
  transform: translate3d(var(--fish-swim-x), var(--fish-swim-y), 0) rotate(calc(4deg + var(--fish-swim-turn)));
}

.checklist-fish:nth-child(6) {
  top: 63%;
  right: 4%;
  width: clamp(6rem, 8vw, 9rem);
  transform: translate3d(var(--fish-swim-x), var(--fish-swim-y), 0) scaleX(-1) rotate(calc(-3deg + var(--fish-swim-turn)));
}

.checklist-fish:nth-child(7) {
  top: 74%;
  left: 1%;
  width: clamp(8.5rem, 12vw, 13rem);
  transform: translate3d(var(--fish-swim-x), var(--fish-swim-y), 0) rotate(calc(2deg + var(--fish-swim-turn)));
}

.checklist-fish:nth-child(8) {
  top: 85%;
  right: 0;
  width: clamp(5.5rem, 7vw, 8rem);
  transform: translate3d(var(--fish-swim-x), var(--fish-swim-y), 0) scaleX(-1) rotate(calc(4deg + var(--fish-swim-turn)));
}

.checklist-fish:nth-child(9) {
  top: 93%;
  left: 12%;
  width: clamp(6.5rem, 9vw, 9.5rem);
  transform: translate3d(var(--fish-swim-x), var(--fish-swim-y), 0) rotate(calc(-3deg + var(--fish-swim-turn)));
}

.print-checklist-header {
  display: none;
}

.checklist-section .section-heading,
.toolbox-section .section-heading {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(0, 81, 87, .14);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.toolbox-section .section-heading {
  margin-block-end: 0.75rem;
}

.checklist-section .section-heading .eyebrow.light,
.toolbox-section .section-heading .eyebrow.light {
  color: var(--deep);
}

.progress-panel {
  margin-block-end: 2rem;
  margin-inline: auto;
  max-width: 68rem;
  padding: 1.5rem;
  color: var(--ink);
}

.progress {
  height: 1.1rem;
  overflow: visible;
  border: 2px solid var(--deep);
  background: #dfe6e7;
}

.progress-bar {
  position: relative;
  width: 0;
  border-inline-end: 3px solid var(--deep);
  border-radius: .3rem;
  background: var(--yellow);
  transition: width .35s ease;
}

.checklist-groups {
  display: grid;
  gap: 2rem;
}

.checklist-group {
  padding: clamp(1.3rem, 3vw, 2.1rem);
  color: var(--ink);
}

.group-heading {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1rem;
  padding: 0;
  padding-block-end: 1rem;
  border: 0;
  border-block-end: 2px solid #d6e0e1;
  color: inherit;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  text-align: start;
}

.group-heading h3,
.group-heading-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -.025em;
}

.checklist-group-toggle-icon {
  display: none;
}

.group-number {
  display: grid;
  flex: 0 0 3.5rem;
  width: 3.5rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50% 42% 48% 52%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 6px 0 #c49400;
}

.task-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-list li {
  display: flex;
  min-height: 4.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
  border-block-end: 1px solid #cfdbdc;
}

.task-list li:last-child {
  border-block-end: 0;
}

.task-list label {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: .85rem;
  cursor: pointer;
  font-weight: 580;
}

.form-check-input {
  flex: 0 0 1.45rem;
  width: 1.45rem;
  height: 1.45rem;
  margin: .15rem 0 0;
  border: 2px solid var(--deep);
  cursor: pointer;
}

.form-check-input:checked {
  border-color: var(--deep);
  background-color: var(--yellow);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23005157' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m5 10 3 3 7-7'/%3e%3c/svg%3e");
}

.task-list label:has(input:checked) span {
  color: #4a6163;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.info-button {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: .35rem .85rem;
  border: 2px solid var(--deep);
  border-radius: .65rem;
  color: var(--deep);
  background: transparent;
  font-weight: 750;
}

.info-button:hover {
  background: #dce9ea;
}

.toolbox-section {
  --toolbox-coral-lift: clamp(5rem, 8vw, 8rem);
  --toolbox-small-coral-extra-lift: clamp(3rem, 5vw, 5rem);
  min-height: 78rem;
  padding-block: 8rem 14rem;
  color: var(--paper);
  background: linear-gradient(180deg, var(--teal), #00666c 58%, var(--deep));
}

.toolbox-section .eyebrow.light {
  color: var(--paper);
}

.toolbox-bottom-coral,
.toolbox-side-coral,
.treasure-part {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.toolbox-bottom-coral {
  z-index: 1;
  opacity: 1;
  filter:
    saturate(.68) brightness(.76) drop-shadow(0 -8px 3px rgba(0, 35, 38, .48));
}

.toolbox-bottom-coral-center {
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: min(150%, 120rem);
  filter:
    saturate(.36) brightness(.52) drop-shadow(0 -8px 3px rgba(0, 35, 38, .52));
  transform: translateX(-50%);
}

.toolbox-bottom-coral-left,
.toolbox-bottom-coral-right {
  bottom: calc(var(--toolbox-coral-lift) - 4rem);
  z-index: 4;
  width: clamp(32rem, 48vw, 53rem);
}

.toolbox-bottom-coral-left {
  left: 1rem;
}

.toolbox-bottom-coral-right {
  right: -1rem;
  transform: scaleX(-1);

}

.treasure-scene {
  position: relative;
}

.treasure-stage {
  position: relative;
  width: min(calc(100% - 2rem), 84rem);
  margin-inline: auto;
}

.toolbox-heading {
  position: relative;
  z-index: 7;
}

.toolbox-heading .toolbox-description {
  color: var(--deep);
  font-size: 1.2rem;
}

.treasure-part {
  left: 50%;
  filter:
    drop-shadow(0 4px 0 rgba(0, 39, 42, .28)) drop-shadow(0 13px 3px rgba(0, 25, 27, .54));
  transform: translateX(-50%);
}

.treasure-back {
  bottom: clamp(6.5rem, 28.7vw, 24rem);
  z-index: 1;
  width: 98%;
}

.treasure-front {
  bottom: 0;
  z-index: 3;
  width: 102%;
}

.treasure-content {
  position: relative;
  width: min(82%, 68rem);
  margin-inline: auto;
  padding-block: clamp(2rem, 4vw, 4rem) clamp(20rem, 25vw, 24rem);
}

.toolbox-side-coral {
  z-index: 6;
  opacity: 1;
  filter:
    drop-shadow(0 4px 0 rgba(0, 49, 53, .22)) drop-shadow(0 11px 2px rgba(0, 30, 33, .48));
}

.toolbox-coral-two {
  top: calc(17% - var(--toolbox-coral-lift) - var(--toolbox-small-coral-extra-lift));
  left: -5.5rem;
  width: clamp(8rem, 12vw, 13rem);
  transform: rotate(55deg);
}

.toolbox-coral-three {
  top: calc(38% - var(--toolbox-coral-lift) - var(--toolbox-small-coral-extra-lift));
  right: -6rem;
  width: clamp(8rem, 13vw, 14rem);
  transform: scaleX(-1) rotate(52deg);
}

.checklist-group-title {
  margin: 0;
}

@media (min-width: 768px) {
  .js .toolbox-coral-two {
    transform: translateX(var(--toolbox-coral-left-enter, -14rem)) rotate(55deg);
  }

  .js .toolbox-coral-three {
    transform: translateX(var(--toolbox-coral-right-enter, 14rem)) scaleX(-1) rotate(52deg);
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .js .toolbox-coral-two {
    transform: rotate(55deg);
  }

  .js .toolbox-coral-three {
    transform: scaleX(-1) rotate(52deg);
  }
}

.resource-panel {
  --resource-panel-tail: clamp(5rem, 8vw, 8rem);
  position: relative;
  padding: clamp(1.2rem, 3vw, 2rem);
  padding-block-end: calc(clamp(1.2rem, 3vw, 2rem) + var(--resource-panel-tail));
  margin-block-end: calc(0rem - var(--resource-panel-tail));
  border-color: transparent;
  color: var(--ink);
  background: transparent;
  background-image: none !important;
  box-shadow: none;
}

.resource-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border: 1px solid rgba(0, 81, 87, .18);
  border-radius: inherit;
  pointer-events: none;
  background: var(--paper) url("../svg/paper-texture.svg") repeat 0 0 / 180px 180px;
  background-blend-mode: multiply;
  box-shadow: var(--shadow-paper);
}

.resource-panel>.resource-tabs,
.resource-panel>.tab-content {
  position: relative;
  z-index: 7;
}

.resource-panel .tab-content {
  display: grid;
  min-height: clamp(27rem, 30vw, 32rem);
}

.resource-panel .tab-content>.tab-pane {
  display: block;
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
}

.resource-panel .tab-content>.tab-pane.active {
  visibility: visible;
  pointer-events: auto;
}

.resource-tabs {
  display: flex;
  gap: .4rem;
  padding: .35rem;
  border-radius: .9rem;
  background: #dce7e8;
}

.resource-tabs .nav-item {
  flex: 1;
}

.resource-tabs .nav-link {
  width: 100%;
  min-height: 3rem;
  color: var(--deep);
  border-radius: .65rem;
  white-space: nowrap;
}

.resource-tabs .nav-link.active {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 4px 0 #bc9000;
}

.mobile-resource-toggle {
  display: none;
}

.no-js .resource-tabs {
  display: none;
}

.no-js .tab-content>.tab-pane {
  display: block;
  margin-block-end: 1rem;
  opacity: 1;
}

.no-js .resource-panel .tab-content {
  display: block;
}

.no-js .resource-panel .tab-content>.tab-pane {
  visibility: visible;
  pointer-events: auto;
}

.resource-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid #c8d6d7;
  border-radius: 1rem;
  background: #fff;
}

.resource-card h3 {
  font-size: 1.35rem;
}

.resource-number {
  color: var(--coral-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.teachhit-banner {
  display: flex;
  margin-block-start: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  color: var(--ink);
  transform: rotate(.35deg);
}

.teachhit-banner.toolbox-teachhit {
  position: relative;
  z-index: 8;
  width: min(calc(100% - 2rem), 62rem);
  margin: 3rem auto 0;
}

.teachhit-banner>div {
  max-width: 48rem;
}

.support-section {
  --support-accordion-buffer: 44rem;
  position: relative;
  min-height: 60rem;
  overflow-x: clip;
  overflow-y: visible;
  padding-block: clamp(11rem, 18vw, 18rem);
  color: var(--paper);
  background: var(--abyss);
}

.bioluminescent-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
}

.bioluminescent-field::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  background-image:
    radial-gradient(circle at 2% 22%, rgba(81, 196, 205, .8) 0 .09rem, transparent .24rem),
    radial-gradient(circle at 5% 52%, rgba(255, 194, 177, .62) 0 .11rem, transparent .28rem),
    radial-gradient(circle at 8% 92%, rgba(81, 196, 205, .72) 0 .08rem, transparent .22rem),
    radial-gradient(circle at 12% 8%, rgba(255, 200, 45, .66) 0 .1rem, transparent .26rem),
    radial-gradient(circle at 13% 61%, rgba(81, 196, 205, .84) 0 .12rem, transparent .3rem),
    radial-gradient(circle at 16% 34%, rgba(81, 196, 205, .7) 0 .08rem, transparent .23rem),
    radial-gradient(circle at 19% 74%, rgba(255, 194, 177, .58) 0 .1rem, transparent .27rem),
    radial-gradient(circle at 22% 49%, rgba(81, 196, 205, .78) 0 .09rem, transparent .25rem),
    radial-gradient(circle at 24% 14%, rgba(255, 200, 45, .62) 0 .11rem, transparent .29rem),
    radial-gradient(circle at 29% 43%, rgba(81, 196, 205, .82) 0 .08rem, transparent .23rem),
    radial-gradient(circle at 30% 67%, rgba(81, 196, 205, .7) 0 .1rem, transparent .26rem),
    radial-gradient(circle at 33% 84%, rgba(255, 194, 177, .64) 0 .12rem, transparent .31rem),
    radial-gradient(circle at 37% 26%, rgba(81, 196, 205, .76) 0 .09rem, transparent .24rem),
    radial-gradient(circle at 40% 96%, rgba(255, 200, 45, .58) 0 .08rem, transparent .22rem),
    radial-gradient(circle at 44% 57%, rgba(81, 196, 205, .86) 0 .11rem, transparent .29rem),
    radial-gradient(circle at 47% 16%, rgba(255, 194, 177, .6) 0 .09rem, transparent .25rem),
    radial-gradient(circle at 50% 88%, rgba(81, 196, 205, .74) 0 .1rem, transparent .27rem),
    radial-gradient(circle at 53% 37%, rgba(81, 196, 205, .82) 0 .12rem, transparent .3rem),
    radial-gradient(circle at 56% 70%, rgba(255, 200, 45, .64) 0 .09rem, transparent .24rem),
    radial-gradient(circle at 59% 24%, rgba(81, 196, 205, .72) 0 .08rem, transparent .23rem),
    radial-gradient(circle at 62% 58%, rgba(255, 194, 177, .56) 0 .11rem, transparent .28rem),
    radial-gradient(circle at 65% 95%, rgba(81, 196, 205, .8) 0 .1rem, transparent .26rem),
    radial-gradient(circle at 68% 7%, rgba(81, 196, 205, .68) 0 .08rem, transparent .22rem),
    radial-gradient(circle at 71% 45%, rgba(255, 200, 45, .66) 0 .12rem, transparent .31rem),
    radial-gradient(circle at 75% 81%, rgba(81, 196, 205, .84) 0 .09rem, transparent .25rem),
    radial-gradient(circle at 77% 13%, rgba(255, 194, 177, .6) 0 .1rem, transparent .27rem),
    radial-gradient(circle at 80% 55%, rgba(81, 196, 205, .76) 0 .08rem, transparent .23rem),
    radial-gradient(circle at 83% 32%, rgba(81, 196, 205, .82) 0 .11rem, transparent .29rem),
    radial-gradient(circle at 87% 72%, rgba(255, 200, 45, .62) 0 .09rem, transparent .24rem),
    radial-gradient(circle at 90% 20%, rgba(81, 196, 205, .72) 0 .1rem, transparent .26rem),
    radial-gradient(circle at 93% 57%, rgba(255, 194, 177, .58) 0 .08rem, transparent .23rem),
    radial-gradient(circle at 96% 8%, rgba(81, 196, 205, .86) 0 .12rem, transparent .3rem),
    radial-gradient(circle at 98% 49%, rgba(81, 196, 205, .7) 0 .09rem, transparent .25rem),
    radial-gradient(circle at 4% 79%, rgba(255, 200, 45, .6) 0 .1rem, transparent .27rem),
    radial-gradient(circle at 52% 4%, rgba(81, 196, 205, .78) 0 .08rem, transparent .22rem),
    radial-gradient(circle at 70% 64%, rgba(255, 194, 177, .62) 0 .11rem, transparent .28rem);
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  animation: bioluminescent-field-breathe 13s ease-in-out -4s infinite alternate;
}

.bioluminescent-field span {
  position: absolute;
  top: var(--glow-y);
  left: var(--glow-x);
  width: var(--glow-size, .14rem);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--glow-color, var(--shallow));
  background: currentColor;
  box-shadow:
    0 0 .3rem currentColor,
    0 0 .8rem currentColor;
  opacity: .14;
  mix-blend-mode: screen;
  animation: bioluminescent-twinkle var(--glow-duration, 8s) ease-in-out var(--glow-delay, 0s) infinite alternate;
}

.bioluminescent-field span:nth-child(1) {
  --glow-x: 6%;
  --glow-y: 14%;
  --glow-size: .2rem;
  --glow-duration: 7.3s;
  --glow-delay: -2.1s;
}

.bioluminescent-field span:nth-child(2) {
  --glow-x: 17%;
  --glow-y: 41%;
  --glow-size: .27rem;
  --glow-duration: 9.1s;
  --glow-delay: -6.4s;
  --glow-color: var(--yellow);
}

.bioluminescent-field span:nth-child(3) {
  --glow-x: 27%;
  --glow-y: 19%;
  --glow-size: .17rem;
  --glow-duration: 6.8s;
  --glow-delay: -3.7s;
}

.bioluminescent-field span:nth-child(4) {
  --glow-x: 38%;
  --glow-y: 73%;
  --glow-size: .23rem;
  --glow-duration: 10.2s;
  --glow-delay: -8.5s;
  --glow-color: var(--coral-light);
}

.bioluminescent-field span:nth-child(5) {
  --glow-x: 46%;
  --glow-y: 31%;
  --glow-size: .19rem;
  --glow-duration: 8.4s;
  --glow-delay: -1.6s;
}

.bioluminescent-field span:nth-child(6) {
  --glow-x: 57%;
  --glow-y: 9%;
  --glow-size: .28rem;
  --glow-duration: 11.3s;
  --glow-delay: -7.2s;
}

.bioluminescent-field span:nth-child(7) {
  --glow-x: 69%;
  --glow-y: 52%;
  --glow-size: .18rem;
  --glow-duration: 7.7s;
  --glow-delay: -4.9s;
  --glow-color: var(--yellow);
}

.bioluminescent-field span:nth-child(8) {
  --glow-x: 82%;
  --glow-y: 24%;
  --glow-size: .24rem;
  --glow-duration: 9.8s;
  --glow-delay: -2.8s;
}

.bioluminescent-field span:nth-child(9) {
  --glow-x: 94%;
  --glow-y: 63%;
  --glow-size: .2rem;
  --glow-duration: 6.9s;
  --glow-delay: -5.5s;
  --glow-color: var(--coral-light);
}

.bioluminescent-field span:nth-child(10) {
  --glow-x: 11%;
  --glow-y: 82%;
  --glow-size: .26rem;
  --glow-duration: 10.7s;
  --glow-delay: -9.1s;
}

.bioluminescent-field span:nth-child(11) {
  --glow-x: 23%;
  --glow-y: 58%;
  --glow-size: .16rem;
  --glow-duration: 8.1s;
  --glow-delay: -3.2s;
}

.bioluminescent-field span:nth-child(12) {
  --glow-x: 34%;
  --glow-y: 92%;
  --glow-size: .22rem;
  --glow-duration: 7.5s;
  --glow-delay: -6.7s;
  --glow-color: var(--yellow);
}

.bioluminescent-field span:nth-child(13) {
  --glow-x: 51%;
  --glow-y: 61%;
  --glow-size: .3rem;
  --glow-duration: 11.8s;
  --glow-delay: -4.2s;
}

.bioluminescent-field span:nth-child(14) {
  --glow-x: 63%;
  --glow-y: 87%;
  --glow-size: .17rem;
  --glow-duration: 7.1s;
  --glow-delay: -1.9s;
  --glow-color: var(--coral-light);
}

.bioluminescent-field span:nth-child(15) {
  --glow-x: 74%;
  --glow-y: 36%;
  --glow-size: .23rem;
  --glow-duration: 9.4s;
  --glow-delay: -7.8s;
}

.bioluminescent-field span:nth-child(16) {
  --glow-x: 86%;
  --glow-y: 78%;
  --glow-size: .27rem;
  --glow-duration: 10.9s;
  --glow-delay: -5.1s;
  --glow-color: var(--yellow);
}

.bioluminescent-field span:nth-child(17) {
  --glow-x: 97%;
  --glow-y: 17%;
  --glow-size: .18rem;
  --glow-duration: 6.6s;
  --glow-delay: -3.4s;
}

.bioluminescent-field span:nth-child(18) {
  --glow-x: 43%;
  --glow-y: 47%;
  --glow-size: .2rem;
  --glow-duration: 8.9s;
  --glow-delay: -6.1s;
}

.bioluminescent-field span:nth-child(19) {
  --glow-x: 3%;
  --glow-y: 35%;
  --glow-size: .18rem;
  --glow-duration: 9.6s;
  --glow-delay: -7.3s;
}

.bioluminescent-field span:nth-child(20) {
  --glow-x: 9%;
  --glow-y: 69%;
  --glow-size: .25rem;
  --glow-duration: 7.8s;
  --glow-delay: -2.6s;
  --glow-color: var(--coral-light);
}

.bioluminescent-field span:nth-child(21) {
  --glow-x: 14%;
  --glow-y: 27%;
  --glow-size: .17rem;
  --glow-duration: 10.4s;
  --glow-delay: -8.2s;
}

.bioluminescent-field span:nth-child(22) {
  --glow-x: 20%;
  --glow-y: 89%;
  --glow-size: .21rem;
  --glow-duration: 6.7s;
  --glow-delay: -4.4s;
  --glow-color: var(--yellow);
}

.bioluminescent-field span:nth-child(23) {
  --glow-x: 31%;
  --glow-y: 12%;
  --glow-size: .28rem;
  --glow-duration: 11.5s;
  --glow-delay: -5.8s;
}

.bioluminescent-field span:nth-child(24) {
  --glow-x: 35%;
  --glow-y: 54%;
  --glow-size: .19rem;
  --glow-duration: 8.3s;
  --glow-delay: -1.7s;
}

.bioluminescent-field span:nth-child(25) {
  --glow-x: 41%;
  --glow-y: 84%;
  --glow-size: .24rem;
  --glow-duration: 9.9s;
  --glow-delay: -7.6s;
  --glow-color: var(--coral-light);
}

.bioluminescent-field span:nth-child(26) {
  --glow-x: 48%;
  --glow-y: 21%;
  --glow-size: .16rem;
  --glow-duration: 7.2s;
  --glow-delay: -3.1s;
}

.bioluminescent-field span:nth-child(27) {
  --glow-x: 55%;
  --glow-y: 76%;
  --glow-size: .29rem;
  --glow-duration: 10.8s;
  --glow-delay: -9.2s;
}

.bioluminescent-field span:nth-child(28) {
  --glow-x: 61%;
  --glow-y: 39%;
  --glow-size: .2rem;
  --glow-duration: 8.6s;
  --glow-delay: -4.7s;
  --glow-color: var(--yellow);
}

.bioluminescent-field span:nth-child(29) {
  --glow-x: 66%;
  --glow-y: 17%;
  --glow-size: .23rem;
  --glow-duration: 6.9s;
  --glow-delay: -2.2s;
}

.bioluminescent-field span:nth-child(30) {
  --glow-x: 72%;
  --glow-y: 90%;
  --glow-size: .18rem;
  --glow-duration: 9.3s;
  --glow-delay: -6.5s;
}

.bioluminescent-field span:nth-child(31) {
  --glow-x: 78%;
  --glow-y: 68%;
  --glow-size: .26rem;
  --glow-duration: 11.1s;
  --glow-delay: -8.7s;
  --glow-color: var(--coral-light);
}

.bioluminescent-field span:nth-child(32) {
  --glow-x: 84%;
  --glow-y: 11%;
  --glow-size: .17rem;
  --glow-duration: 7.6s;
  --glow-delay: -3.9s;
}

.bioluminescent-field span:nth-child(33) {
  --glow-x: 89%;
  --glow-y: 46%;
  --glow-size: .22rem;
  --glow-duration: 10.1s;
  --glow-delay: -5.3s;
  --glow-color: var(--yellow);
}

.bioluminescent-field span:nth-child(34) {
  --glow-x: 92%;
  --glow-y: 86%;
  --glow-size: .27rem;
  --glow-duration: 8.8s;
  --glow-delay: -7.1s;
}

.bioluminescent-field span:nth-child(35) {
  --glow-x: 98%;
  --glow-y: 33%;
  --glow-size: .19rem;
  --glow-duration: 6.5s;
  --glow-delay: -1.4s;
}

.bioluminescent-field span:nth-child(36) {
  --glow-x: 25%;
  --glow-y: 78%;
  --glow-size: .24rem;
  --glow-duration: 9.7s;
  --glow-delay: -6.8s;
  --glow-color: var(--coral-light);
}

@keyframes bioluminescent-twinkle {

  0%,
  18% {
    opacity: .12;
    transform: scale(.78);
  }

  58% {
    opacity: .72;
    transform: scale(1);
  }

  100% {
    opacity: .24;
    transform: scale(.88);
  }
}

@keyframes bioluminescent-field-breathe {
  0% {
    opacity: .28;
  }

  54% {
    opacity: .52;
  }

  100% {
    opacity: .36;
  }
}

.fluorescent-creatures {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
}

.fluorescent-creatures img {
  --creature-swim-x: 0px;
  --creature-swim-y: 0px;
  --creature-swim-turn: 0deg;
  position: absolute;
  top: var(--creature-y);
  left: var(--creature-x);
  display: block;
  width: var(--creature-size);
  height: auto;
  opacity: .4;
  filter:
    drop-shadow(0 0 .3rem rgba(81, 196, 205, .34)) drop-shadow(0 0 .75rem rgba(81, 196, 205, .18));
  transform: translate3d(var(--creature-swim-x), var(--creature-swim-y), 0) rotate(calc(var(--creature-rotate) + var(--creature-swim-turn))) scaleX(var(--creature-flip, 1));
  animation: fluorescent-creature-drift var(--creature-duration, 11s) ease-in-out var(--creature-delay, 0s) infinite alternate;
}

.fluorescent-creatures img:nth-child(1) {
  --creature-x: 8%;
  --creature-y: 26%;
  --creature-size: clamp(2.4rem, 3vw, 3.6rem);
  --creature-rotate: -12deg;
  --creature-duration: 10.2s;
  --creature-delay: -3.1s;
}

.fluorescent-creatures img:nth-child(2) {
  --creature-x: 76%;
  --creature-y: 17%;
  --creature-size: clamp(3rem, 4vw, 4.8rem);
  --creature-rotate: 8deg;
  --creature-duration: 12.4s;
  --creature-delay: -8.2s;
  --creature-flip: -1;
}

.fluorescent-creatures img:nth-child(3) {
  --creature-x: 45%;
  --creature-y: 34%;
  --creature-size: clamp(2.3rem, 3vw, 3.5rem);
  --creature-rotate: 16deg;
  --creature-duration: 9.7s;
  --creature-delay: -5.4s;
}

.fluorescent-creatures img:nth-child(4) {
  --creature-x: 18%;
  --creature-y: 67%;
  --creature-size: clamp(2.2rem, 2.8vw, 3.3rem);
  --creature-rotate: 10deg;
  --creature-duration: 11.8s;
  --creature-delay: -7.3s;
  --creature-flip: -1;
}

.fluorescent-creatures img:nth-child(5) {
  --creature-x: 88%;
  --creature-y: 55%;
  --creature-size: clamp(3.1rem, 4.2vw, 5rem);
  --creature-rotate: -7deg;
  --creature-duration: 13.1s;
  --creature-delay: -2.6s;
}

.fluorescent-creatures img:nth-child(6) {
  --creature-x: 61%;
  --creature-y: 76%;
  --creature-size: clamp(2.4rem, 3.2vw, 3.8rem);
  --creature-rotate: -15deg;
  --creature-duration: 10.6s;
  --creature-delay: -9.4s;
  --creature-flip: -1;
}

.fluorescent-creatures img:nth-child(7) {
  --creature-x: 33%;
  --creature-y: 88%;
  --creature-size: clamp(2.3rem, 2.9vw, 3.4rem);
  --creature-rotate: 6deg;
  --creature-duration: 12.7s;
  --creature-delay: -6.1s;
}

.fluorescent-creatures img:nth-child(8) {
  --creature-x: 70%;
  --creature-y: 47%;
  --creature-size: clamp(3rem, 3.8vw, 4.6rem);
  --creature-rotate: 13deg;
  --creature-duration: 9.9s;
  --creature-delay: -4.3s;
  --creature-flip: -1;
}

.fluorescent-creatures img:nth-child(9) {
  --creature-x: 52%;
  --creature-y: 12%;
  --creature-size: clamp(2.2rem, 2.9vw, 3.4rem);
  --creature-rotate: -9deg;
  --creature-duration: 11.4s;
  --creature-delay: -7.8s;
}

@keyframes fluorescent-creature-drift {
  0% {
    opacity: .28;
    transform: translate3d(var(--creature-swim-x), calc(var(--creature-swim-y) + .35rem), 0) rotate(calc(var(--creature-rotate) + var(--creature-swim-turn))) scaleX(var(--creature-flip, 1));
  }

  55% {
    opacity: .68;
    transform: translate3d(var(--creature-swim-x), calc(var(--creature-swim-y) - .25rem), 0) rotate(calc(var(--creature-rotate) + var(--creature-swim-turn) + 2deg)) scaleX(var(--creature-flip, 1));
  }

  100% {
    opacity: .4;
    transform: translate3d(var(--creature-swim-x), calc(var(--creature-swim-y) + .1rem), 0) rotate(calc(var(--creature-rotate) + var(--creature-swim-turn))) scaleX(var(--creature-flip, 1));
  }
}

.support-rock-layer {
  position: absolute;
  left: 50%;
  z-index: 5;
  display: block;
  width: 112%;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 3px rgba(0, 0, 0, .5));
}

.support-rock-layer-top {
  top: 0;
  transform: translate(-50%, -50%);
}

.support-rock-layer-bottom {
  bottom: 0;
  filter: drop-shadow(0 -12px 3px rgba(0, 0, 0, .5));
  transform: translate(-50%, 50%) scaleY(-1);
}

.about-section>.section-content {
  z-index: 7;
}

.support-groups {
  margin-block-start: 4rem;
  align-items: flex-start;
}

.support-category {
  height: auto;
  overflow: visible;
  padding: 1.4rem;
  border: 2px solid var(--shallow);
  border-radius: 1.3rem;
  color: var(--paper);
  background: var(--deep);
  box-shadow: 0 13px 0 rgba(0, 0, 0, .18);
}

.support-single-column {
  padding: 2rem 1.75rem;
  border: 2px solid var(--shallow);
  border-radius: 1.6rem;
  background: var(--deep);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .25);
  margin-inline: auto;
}

.support-accordion-item {
  margin-block-start: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  color: var(--paper);
  background: var(--teal);
  overflow: hidden;
  transition: border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-accordion-item:first-child {
  margin-block-start: 0;
}

.support-accordion-item[open] {
  background: rgba(0, 75, 80, 0.95);
  border-color: var(--yellow);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.support-summary {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 3.8rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--paper);
  background: transparent;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.support-accordion-item[open] .support-summary {
  color: var(--ink);
  background: var(--yellow);
}

.question-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--yellow);
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-accordion-item[open] .question-icon {
  background: var(--ink);
  color: var(--yellow);
  transform: scale(1.08);
}

.question-title {
  flex-grow: 1;
  line-height: 1.4;
}

.support-details-content {
  padding: 1.4rem 1.6rem 1.6rem;
  background: rgba(0, 42, 47, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.support-description {
  font-size: 1.02rem;
  line-height: 1.65;
  margin-block-end: 1.25rem;
  color: #e6f4f5;
}

.support-contact-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--yellow);
  margin-block-start: 1rem;
  margin-block-end: .85rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.accordion-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.4rem;
  color: var(--paper);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.support-accordion-item[open] .accordion-arrow {
  transform: rotate(180deg);
  color: var(--ink);
}

.support-bullet-list {
  margin: 0;
  padding-inline-start: 1.4rem;
  list-style-type: disc;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.support-bullet-list li {
  font-size: 1rem;
  line-height: 1.6;
}

.support-bullet-list li strong {
  color: #c9eff2;
  font-weight: 700;
}

.contact-link {
  color: #8ce6f0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus {
  color: var(--yellow);
}

@media (max-width: 768px) {
  .support-category {
    padding: 1.2rem 1rem;
  }

  .support-single-column {
    padding: 1.25rem 1rem;
  }

  .support-summary {
    padding: .85rem 1rem;
    font-size: 1rem;
    gap: .8rem;
  }

  .question-icon {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 1.15rem;
  }

  .support-details-content {
    padding: 1rem 1.1rem 1.25rem;
  }
}

.about-section {
  padding-block: 9rem 15rem;
  background: linear-gradient(180deg,
      var(--teal) 0%,
      var(--deep) 58%,
      var(--abyss) 100%);
}

.about-section::before {
  opacity: .68;
}

.about-kelp-field {
  position: absolute;
  inset-inline: 0;
  inset-block: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: end;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.about-kelp-field img {
  display: block;
  height: auto;
  transform-origin: 50% 100%;
}

.about-kelp-field>img:not(.kelp-background) {
  position: relative;
  z-index: 1;
  width: var(--kelp-width);
  align-self: end;
  justify-self: center;
  opacity: 1;
  filter:
    saturate(.82) brightness(.78) drop-shadow(0 .5rem .15rem rgba(0, 39, 42, .34));
  transform: scaleX(var(--kelp-flip, 1));
}

.about-kelp-field img:nth-child(1) {
  --kelp-width: clamp(6.5rem, 9vw, 10rem);
}

.about-kelp-field img:nth-child(2) {
  --kelp-width: clamp(7.5rem, 10vw, 12rem);
}

.about-kelp-field img:nth-child(3) {
  --kelp-width: clamp(6rem, 8vw, 9rem);
  --kelp-flip: -1;
}

.about-kelp-field img:nth-child(4) {
  --kelp-width: clamp(6.5rem, 8.5vw, 9.5rem);
}

.about-kelp-field img:nth-child(5) {
  --kelp-width: clamp(6rem, 8vw, 9rem);
  --kelp-flip: -1;
}

.about-kelp-field img:nth-child(6) {
  --kelp-width: clamp(6rem, 7.5vw, 8.5rem);
}

.about-kelp-field img:nth-child(7) {
  --kelp-width: clamp(7.5rem, 10vw, 11.5rem);
  --kelp-flip: -1;
}

.about-kelp-field img:nth-child(8) {
  --kelp-width: clamp(6rem, 8vw, 9rem);
  --kelp-flip: -1;
}

.about-kelp-field img:nth-child(9) {
  --kelp-width: clamp(6.5rem, 8.5vw, 10rem);
  --kelp-flip: -1;
}

.about-kelp-field img:nth-child(10) {
  --kelp-width: clamp(8rem, 10.5vw, 12.5rem);
}

.about-kelp-field .kelp-background {
  position: absolute;
  bottom: 0;
  z-index: 0;
  width: auto;
  height: 85%;
  opacity: 1;
  filter:
    saturate(.48) brightness(.48) drop-shadow(0 .7rem .2rem rgba(0, 25, 27, .52));
  transform: translateX(-50%) scaleX(var(--kelp-flip, 1));
}

.about-kelp-field>img:not(.kelp-background) {
  animation: kelp-water-sway var(--kelp-sway-duration, 7s) ease-in-out var(--kelp-sway-delay, 0s) infinite;
  animation-play-state: paused;
}

.about-kelp-field>img:not(.kelp-background):nth-child(3n + 1) {
  --kelp-sway-duration: 7.4s;
  --kelp-sway-delay: -2.6s;
}

.about-kelp-field>img:not(.kelp-background):nth-child(3n + 2) {
  --kelp-sway-duration: 8.3s;
  --kelp-sway-delay: -5.1s;
}

.about-kelp-field>img:not(.kelp-background):nth-child(3n) {
  --kelp-sway-duration: 6.6s;
  --kelp-sway-delay: -3.8s;
}

.about-kelp-field .kelp-background {
  animation: kelp-background-water-sway 10.5s ease-in-out -4.4s infinite;
  animation-play-state: paused;
}

.about-kelp-field img:nth-child(12).kelp-background {
  animation-delay: -7.2s;
}

.about-kelp-field.is-kelp-animating>img:not(.kelp-background),
.about-kelp-field.is-kelp-animating .kelp-background {
  animation-play-state: running;
}

@keyframes kelp-water-sway {

  0%,
  100% {
    transform: skewX(-1.1deg) rotate(-.7deg) scaleX(var(--kelp-flip, 1)) scaleY(.99);
  }

  46% {
    transform: skewX(1.8deg) rotate(1.1deg) scaleX(var(--kelp-flip, 1)) scaleY(1.02);
  }

  72% {
    transform: skewX(.55deg) rotate(.3deg) scaleX(var(--kelp-flip, 1)) scaleY(1.005);
  }
}

@keyframes kelp-background-water-sway {

  0%,
  100% {
    transform: translateX(-50%) skewX(-.8deg) rotate(-.45deg) scaleX(var(--kelp-flip, 1)) scaleY(.995);
  }

  50% {
    transform: translateX(-50%) skewX(1.25deg) rotate(.7deg) scaleX(var(--kelp-flip, 1)) scaleY(1.012);
  }
}

.about-kelp-field img:nth-child(11) {
  left: 6%;
  --kelp-flip: -1;
}

.about-kelp-field img:nth-child(12) {
  left: 94%;
}

.about-card {
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.service-list {
  padding-inline-start: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  margin-block: .65rem;
  padding-inline-start: 1.9rem;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--deep);
  font-weight: 800;
}

.media-placeholder {
  overflow: hidden;
  border: 3px dashed var(--teal);
  border-radius: 1.25rem;
  color: var(--deep);
  background:
    linear-gradient(135deg, rgba(81, 196, 205, .17) 25%, transparent 25%) 0 0 / 2rem 2rem,
    #e5f1f2;
}

.media-placeholder>div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  text-align: center;
}

.media-placeholder p {
  max-width: 28rem;
  margin: .65rem 0 0;
}

.media-icon {
  display: grid;
  width: 4rem;
  aspect-ratio: 1;
  margin-block-end: 1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 7px 0 #b88c00;
  font-size: 1.5rem;
}

.connected-banner {
  position: relative;
  z-index: 4;
  display: flex;
  margin-block-start: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: 1.4rem;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 10px 0 #b98d00, 0 13px 3px -2px rgba(0, 44, 48, .4);
}

#connectedModal .modal-content,
.connected-modal-content {
  --bs-modal-bg: var(--yellow) !important;
  --bs-modal-border-color: rgba(0, 81, 87, 0.18) !important;
  --bs-modal-border-radius: 1.4rem !important;
  --bs-modal-color: var(--ink) !important;
  background-color: var(--yellow) !important;
  background-image: url("../svg/paper-texture.svg") !important;
  background-repeat: repeat !important;
  background-size: 180px 180px !important;
  background-blend-mode: multiply !important;
  border: 1px solid rgba(0, 81, 87, 0.18) !important;
  border-radius: 1.4rem !important;
  color: var(--ink) !important;
  box-shadow: 0 10px 0 #b98d00, 0 15px 35px rgba(0, 35, 39, 0.45) !important;
  overflow: hidden !important;
}

#connectedModal .modal-header {
  border-bottom: 1px solid rgba(0, 44, 48, 0.12) !important;
  padding: 1.5rem 1.75rem 0.75rem !important;
  background: transparent !important;
}

#connectedModal .modal-title {
  color: var(--ink) !important;
  font-weight: 750 !important;
  font-size: 1.5rem !important;
}

#connectedModal .modal-body {
  padding: 1.25rem 1.75rem 1.75rem !important;
  background: transparent !important;
}

#connectedModal p {
  color: var(--ink) !important;
}

#connectedModal .btn-close {
  filter: none !important;
  opacity: 0.85 !important;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23005157'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1.25rem 1.25rem no-repeat !important;
  width: 2rem !important;
  height: 2rem !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

#connectedModal .btn-close:hover {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.15) !important;
}

.modal:not(#connectedModal) .btn-close {
  filter: none !important;
  opacity: 0.85 !important;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1.25rem 1.25rem no-repeat !important;
  width: 2rem !important;
  height: 2rem !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.modal:not(#connectedModal) .btn-close:hover {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.15) !important;
}

.connected-banner .eyebrow {
  color: #583f00;
}

.connected-banner .btn-dark,
.connected-modal-content .btn-dark {
  color: #fff;
  background: var(--deep);
  border-color: #00373b;
  box-shadow: 0 5px 0 #00282b;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.connected-banner .btn-dark:hover,
.connected-banner .btn-dark:focus,
.connected-modal-content .btn-dark:hover,
.connected-modal-content .btn-dark:focus {
  color: #fff;
  background: var(--teal);
  border-color: #005157;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #00282b, 0 10px 2px -1px rgba(0, 0, 0, 0.32);
}

.connected-banner .btn-dark:active,
.connected-modal-content .btn-dark:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 #00282b;
}

.connected-banner .btn-outline-dark,
.connected-modal-content .btn-outline-dark,
.connected-banner .info-button,
.connected-modal-content .info-button {
  color: var(--deep);
  border: 2px solid var(--deep);
  border-radius: 0.65rem;
  background: transparent;
  font-weight: 750;
  box-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.connected-banner .btn-outline-dark:hover,
.connected-banner .btn-outline-dark:focus,
.connected-banner .btn-outline-dark:active,
.connected-modal-content .btn-outline-dark:hover,
.connected-modal-content .btn-outline-dark:focus,
.connected-modal-content .btn-outline-dark:active,
.connected-banner .info-button:hover,
.connected-banner .info-button:focus,
.connected-banner .info-button:active,
.connected-modal-content .info-button:hover,
.connected-modal-content .info-button:focus,
.connected-modal-content .info-button:active {
  color: var(--deep);
  background: #dce9ea;
  border-color: var(--deep);
  transform: none;
  box-shadow: none;
}

.seabed {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  z-index: 1;
  width: 100%;
  min-width: 58rem;
}

.site-footer {
  position: relative;
  z-index: 5;
  overflow: hidden;
  margin-block-start: -1.5rem;
  padding-block: 4.75rem 3.5rem;
  color: var(--paper);
  background-color: var(--mud-dark);
  background-image: url("../svg/paper-texture.svg");
  background-repeat: repeat;
  background-size: 180px 180px;
  background-blend-mode: multiply;
  clip-path: polygon(0 1.5rem, 8% .75rem, 18% 1.55rem, 31% .45rem, 44% 1.35rem, 58% .65rem, 72% 1.5rem, 86% .55rem, 100% 1.3rem, 100% 100%, 0 100%);
  isolation: isolate;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-footer::before {
  z-index: 0;
  top: 8%;
  background-color: var(--mud);
  background-image: url("../svg/paper-texture.svg");
  background-repeat: repeat;
  background-size: 180px 180px;
  background-blend-mode: multiply;
  clip-path: polygon(0 18%, 9% 7%, 21% 19%, 34% 5%, 48% 16%, 61% 8%, 75% 21%, 88% 6%, 100% 15%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -.35rem 0 rgba(45, 39, 34, .48));
}

.site-footer::after {
  z-index: 1;
  top: 82%;
  background-color: var(--mud-light);
  background-image: url("../svg/paper-texture.svg");
  background-repeat: repeat;
  background-size: 180px 180px;
  background-blend-mode: multiply;
  clip-path: polygon(0 24%, 12% 9%, 27% 20%, 42% 6%, 56% 18%, 69% 4%, 83% 22%, 93% 8%, 100% 16%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -.35rem 0 rgba(45, 39, 34, .38));
}

.site-footer>.container {
  position: relative;
  z-index: 2;
}

.logo-placeholder {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border: 1px dashed var(--coral-light);
  border-radius: .6rem;
}

.logo-placeholder>span:first-child {
  font-size: 2rem;
}

.logo-placeholder strong,
.logo-placeholder small {
  display: block;
}

.logo-placeholder small {
  color: #e2d7ce;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links span {
  color: #d4c7bb;
}

.footer-links a {
  color: var(--paper);
  text-underline-offset: .25em;
}

.modal-content {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-paper);
}

.modal-header {
  color: var(--paper);
  background: var(--deep);
  border-radius: 1.25rem 1.25rem 0 0;
}

.modal-header .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
}

.modal-body,
.modal-footer {
  background: var(--paper);
}

.modal-footer {
  border-radius: 0 0 1.25rem 1.25rem;
}

/* Task Info Modal Dynamic Content */
.task-modal-section {
  color: var(--ink);
}

.task-modal-section h3 {
  color: var(--deep);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.task-modal-list {
  margin: 0;
  padding-inline-start: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.task-modal-list li {
  line-height: 1.55;
}

.task-modal-item-label {
  color: var(--deep);
  font-weight: 700;
}

.task-modal-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.task-modal-link:hover,
.task-modal-link:focus-visible {
  color: var(--deep);
  text-decoration-color: var(--coral-dark);
}

.task-modal-phone {
  display: inline-block;
  direction: ltr;
  unicode-bidi: embed;
}

.task-modal-subtext {
  font-size: 0.9rem;
}


/* Shared paper grain: one tile for components and one low-cost overlay per scene. */
:where(.paper-card,
  .journey-card,
  .resource-card,
  .support-category,
  .support-category details,
  .support-category details[open] summary,
  .checklist-section .section-heading,
  .toolbox-section .section-heading,
  .connected-banner,
  .logo-placeholder,
  .btn-primary,
  .info-button,
  .brand-mark,
  .journey-icon,
  .group-number,
  .category-icon,
  .media-icon,
  .buoy-icon) {
  background-image: url("../svg/paper-texture.svg") !important;
  background-repeat: repeat !important;
  background-size: 180px 180px !important;
  background-blend-mode: multiply !important;
}

.hero::after,
.training-section::after,
.checklist-section::after,
.toolbox-section::after,
.support-section::after,
.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: url("../svg/paper-texture.svg") repeat 0 0 / 180px 180px;
  mix-blend-mode: multiply;
  opacity: .48;
}

.support-section::after {
  mix-blend-mode: soft-light;
  opacity: .72;
}

.support-section>.section-content {
  z-index: 7;
}

.hero::after {
  z-index: 1;
}

.training-section::after {
  z-index: 22;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--training-overlap-fade));
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--training-overlap-fade));
}

.checklist-section::after {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--checklist-wave-edge-height));
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--checklist-wave-edge-height));
}

/* Layered cut-paper depth: short edge shadows plus a focused secondary shadow. */
.wave-layer {
  filter:
    drop-shadow(0 -2px 0 rgba(255, 255, 255, .42)) drop-shadow(0 -8px 4px rgba(0, 81, 87, .38));
}

.wave-back {
  filter: drop-shadow(0 -5px 1px rgba(0, 81, 87, .25));
}

.wave-middle {
  filter: drop-shadow(0 -7px 1px rgba(0, 81, 87, .36));
}

.wave-front {
  filter: drop-shadow(0 -9px 1px rgba(0, 61, 66, .48));
}

.seabed {
  filter:
    drop-shadow(0 -3px 0 rgba(255, 194, 177, .14)) drop-shadow(0 -10px 2px rgba(0, 35, 38, .6));
}

.resource-card {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .8),
    0 4px 0 rgba(0, 81, 87, .13),
    0 8px 2px -1px rgba(0, 44, 48, .34);
}

.support-category {
  box-shadow:
    inset 0 2px 0 rgba(242, 242, 243, .12),
    0 8px 0 rgba(0, 19, 21, .45),
    0 11px 3px -2px rgba(0, 0, 0, .54);
}

.support-category details {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 4px 0 rgba(0, 31, 34, .52),
    0 7px 2px -1px rgba(0, 0, 0, .48);
}

.media-placeholder {
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .7),
    0 7px 0 rgba(0, 81, 87, .14),
    0 10px 3px -2px rgba(0, 44, 48, .42);
}

@keyframes cue-bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(.45rem);
  }
}

@keyframes buoy-float {

  0%,
  100% {
    transform: translateY(0) rotate(-1.2deg);
  }

  50% {
    transform: translateY(-.65rem) rotate(1.2deg);
  }
}

.back-to-top {
  position: fixed;
  inset-inline-start: 1.25rem;
  inset-block-end: 1.25rem;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid var(--deep);
  border-radius: 50%;
  color: var(--deep);
  background: var(--yellow) url("../svg/paper-texture.svg") repeat 0 0 / 180px 180px;
  box-shadow: 0 6px 0 #a87f00, 0 10px 7px -5px rgba(0, 35, 39, .45);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.back-to-top i {
  color: var(--deep);
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top.is-visible:hover,
.back-to-top.is-visible:focus-visible {
  transform: translateY(-2px) scale(1.08);
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  color: var(--deep);
  border-color: rgba(0, 81, 87, .55);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 3px 6px -5px rgba(0, 35, 39, .45);
  font-weight: 700;
}

.motion-toggle:hover,
.motion-toggle:focus-visible {
  color: var(--deep);
  border-color: var(--deep);
  background: #dce9ea;
}

@media (min-width: 992px) {
  .back-to-top {
    inset-block-end: 5.25rem;
  }

  .motion-toggle-mobile {
    display: none;
  }

  .motion-toggle-desktop {
    position: fixed;
    inset-inline-start: 1.25rem;
    inset-block-end: 1.25rem;
    z-index: 35;
    visibility: hidden;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .motion-toggle-desktop.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .motion-toggle-desktop {
    display: none;
  }

  #mainNav .motion-toggle-mobile {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    margin-block-start: .8rem;
    padding: .8rem 0 0;
    border: 0;
    border-block-start: 1px solid rgba(0, 81, 87, .22);
    border-radius: 0;
    color: var(--deep);
    background: transparent;
    box-shadow: none;
    text-align: start;
  }
}

.connected-modal-content .modal-body {
  padding: 1.5rem;
}

@media (min-width: 992px) {
  .navbar-collapse {
    flex-grow: 0;
    gap: 1.5rem;
  }

  .checklist-groups {
    max-width: 68rem;
    margin-inline: auto;
  }

  .support-category h3 {
    min-height: 2.4rem;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    background: var(--paper);
  }

  .navbar-collapse {
    margin-block-start: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
  }

  .hero {
    padding-block-start: 7rem;
  }

  .hero-copy {
    max-width: 39rem;
    margin-inline-end: auto;
  }

  .diver {
    left: clamp(11rem, 24vw, 15rem);
    bottom: 29.5rem;
    width: 6.5rem;
  }

  .checklist-group:nth-child(2),
  .checklist-group:nth-child(3),
  .teachhit-banner {
    transform: none;
  }

  .resource-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }

  .resource-tabs .nav-item {
    flex: 0 0 auto;
  }

  .teachhit-banner,
  .connected-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .treasure-content {
    width: min(88%, 58rem);
    padding-block-end: clamp(15rem, 24vw, 18rem);
  }

  .resource-panel {
    --resource-panel-tail: 5rem;
  }

  .resource-panel .tab-content {
    min-height: 32rem;
  }

  .teachhit-banner.toolbox-teachhit {
    width: min(calc(100% - 2rem), 54rem);
    margin-block-start: 2.5rem;
  }

}

@media (max-width: 767.98px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero {
    min-height: 58rem;
    padding-block-end: 21rem;
  }

  .hero-sun,
  .hero-cloud,
  .springboard,
  .diver {
    display: none;
  }

  #mainNav .nav-link.active {
    padding-inline: .75rem;
    border-radius: .65rem;
    color: var(--deep);
    background: #dce9ea;
    font-weight: 800;
  }

  #mainNav .nav-link.active::after {
    display: none;
  }

  .back-to-top {
    inset-inline-start: auto;
    left: 1rem;
    right: auto;
  }

  .wave-layer {
    width: 72rem;
  }

  .training-wave-stack .wave-layer {
    width: 78rem;
  }

  .journey-nav {
    margin-block-start: 2rem;
  }

  .buoy-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .buoy-icon {
    flex-basis: 5.5rem;
    width: 5.5rem;
    border-width: 1.15rem;
  }

  .training-section,
  .checklist-section,
  .toolbox-section,
  .support-section,
  .about-section {
    padding-block-start: 6rem;
  }

  .training-section {
    padding-block-start: calc(var(--training-hero-overlap) + 3rem);
  }

  .checklist-section {
    --checklist-wave-edge-height: 6.25rem;
    padding-block-start: calc(6rem + var(--checklist-wave-edge-height));
  }

  .checklist-wave-edge img {
    width: 78rem;
  }

  .toolbox-section {
    padding-block-end: 14rem;
  }

  .treasure-stage {
    width: calc(100% - 1rem);
  }

  .treasure-content {
    width: 94%;
    padding-block: 1.5rem clamp(9rem, 34vw, 13rem);
  }

  .resource-panel {
    --resource-panel-tail: 3.5rem;
  }

  .resource-panel .tab-content {
    display: block;
    min-height: 0;
    margin-block-start: 0 !important;
  }

  .resource-panel .resource-tabs {
    display: none;
  }

  .resource-panel .tab-content>.tab-pane {
    display: block !important;
    grid-area: auto;
    margin-block-end: .75rem;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-resource-toggle {
    display: flex;
    width: 100%;
    min-height: 3.2rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1rem;
    border: 1px solid #c8d6d7;
    border-radius: .8rem;
    color: var(--deep);
    background: #dce7e8;
    font: inherit;
    font-weight: 750;
    text-align: start;
  }

  .mobile-resource-toggle i {
    flex: 0 0 auto;
    font-size: 1.45rem;
    transition: transform .2s ease;
  }

  .mobile-resource-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
  }

  .mobile-resource-content {
    padding-block: .75rem;
  }

  .mobile-resource-content[hidden] {
    display: none !important;
  }

  .no-js .mobile-resource-toggle {
    display: none;
  }

  .checklist-groups {
    gap: 1rem;
  }

  .checklist-group {
    padding: 0;
  }

  .checklist-group-toggle {
    padding: 1rem 1.1rem;
    border-block-end: 0;
    cursor: pointer;
  }

  .checklist-group-toggle-icon {
    display: inline-flex;
    flex: 0 0 auto;
    margin-inline-start: auto;
    color: var(--deep);
    font-size: 1.6rem;
    transition: transform .2s ease;
  }

  .checklist-group-toggle[aria-expanded="true"] .checklist-group-toggle-icon {
    transform: rotate(180deg);
  }

  .checklist-group-content {
    padding: 0 1.1rem 1.1rem;
  }

  .checklist-group-content[hidden] {
    display: none !important;
  }

  #resetChecklistModal .modal-footer {
    justify-content: flex-start;
    text-align: right;
  }

  .teachhit-banner.toolbox-teachhit {
    width: calc(100% - 2rem);
    margin-block-start: 2rem;
  }

  .toolbox-bottom-coral-left,
  .toolbox-bottom-coral-right {
    width: 28rem;
  }

  .toolbox-coral-two {
    top: calc(16% - var(--toolbox-coral-lift) - var(--toolbox-small-coral-extra-lift));
    left: -3.5rem;
    width: 7rem;
  }

  .toolbox-coral-three {
    top: calc(39% - var(--toolbox-coral-lift) - var(--toolbox-small-coral-extra-lift));
    right: -4rem;
    width: 7.5rem;
  }

  .task-list li {
    align-items: stretch;
    flex-direction: column;
    gap: .5rem;
  }

  .info-button {
    width: fit-content;
    margin-inline-start: 2.3rem;
  }

  .resource-card {
    flex-direction: column;
  }

  .support-section {
    padding-block-start: clamp(7rem, 24vw, 9rem);
    padding-block-end: 8rem;
  }

  .support-category {
    height: auto;
  }

  .media-placeholder>div {
    padding: 1.25rem;
  }

  .footer-links {
    flex-direction: column;
    gap: .6rem;
  }

  .about-kelp-field img:nth-child(n + 4) {
    display: none;
  }

  .about-kelp-field {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #stay-connected .btn-dark {
    text-align: right;
  }

  .site-footer {
    margin-block-start: -.75rem;
    border-radius: 2rem 2rem 0 0;
    clip-path: none;
  }

  .site-footer::before,
  .site-footer::after {
    clip-path: none;
    border-radius: 50% 50% 0 0 / 1.25rem 1.25rem 0 0;
  }

  .site-footer::before {
    top: 1.3rem;
  }

  .site-footer::after {
    top: 82%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .sky-layer,
  .diver,
  .training-buoy,
  .training-section::before,
  .checklist-section::before,
  .toolbox-section::before,
  .about-section::before {
    transform: none !important;
  }

  .training-buoy {
    animation: none !important;
  }

  .about-kelp-field>img:not(.kelp-background) {
    animation: none !important;
    transform: scaleX(var(--kelp-flip, 1));
  }

  .about-kelp-field .kelp-background {
    animation: none !important;
    transform: translateX(-50%) scaleX(var(--kelp-flip, 1));
  }

  .hero-wave-stack {
    z-index: 1;
  }

}

.motion-paused {
  scroll-behavior: auto;
}

.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  scroll-behavior: auto !important;
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}

.motion-paused .sky-layer,
.motion-paused .diver,
.motion-paused .training-buoy,
.motion-paused .training-section::before,
.motion-paused .checklist-section::before,
.motion-paused .toolbox-section::before,
.motion-paused .about-section::before {
  transform: none !important;
}

.motion-paused .training-buoy,
.motion-paused .about-kelp-field>img:not(.kelp-background),
.motion-paused .about-kelp-field .kelp-background {
  animation: none !important;
}

.motion-paused .about-kelp-field>img:not(.kelp-background) {
  transform: scaleX(var(--kelp-flip, 1));
}

.motion-paused .about-kelp-field .kelp-background {
  transform: translateX(-50%) scaleX(var(--kelp-flip, 1));
}

.motion-paused .hero-wave-stack {
  z-index: 1;
}

@media (forced-colors: active) {

  .paper-card,
  .journey-card,
  .support-category,
  .content-placeholder,
  .media-placeholder {
    border: 2px solid CanvasText;
  }

  .progress-bar {
    background: Highlight;
  }
}
