/* =========================================================
CORAL REEF
Main stylesheet
========================================================= */

/* ================= ROOT ================= */

:root {
  --navy: #031d2b;
  --deep-blue: #052d40;
  --ocean: #075d72;
  --cyan: #54d5d0;
  --aqua: #8ee8dd;
  --coral: #ff766b;
  --coral-light: #ffaaa0;
  --sand: #f3e6ce;
  --cream: #f8f5ed;
  --white: #ffffff;
  --text: #16333c;
  --muted: #6f878c;

  --max-width: 1240px;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

/* ================= HEADER ================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 30px 5vw;

  color: var(--white);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo > span:last-child > span {
  color: var(--aqua);
}

.logo-mark {
  width: 29px;
  height: 29px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;

  color: var(--aqua);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 42px;

  font-size: 13px;
  font-weight: 500;
}

.nav a {
  position: relative;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -7px;

  width: 0;
  height: 1px;

  background: var(--aqua);

  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;

  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 4px auto;

  background: white;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    linear-gradient(
      110deg,
      rgba(2, 24, 37, 0.94) 0%,
      rgba(2, 54, 70, 0.78) 45%,
      rgba(4, 99, 112, 0.25) 100%
    ),
    linear-gradient(180deg, #0c8b9b 0%, #075b73 50%, #032b42 100%);
}

.hero-content {
  position: relative;
  z-index: 10;

  width: min(620px, 90%);

  margin-left: 8vw;
  padding-top: 80px;

  color: white;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 25px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: var(--aqua);
}

.eyebrow span {
  width: 30px;
  height: 1px;

  background: var(--aqua);
}

.hero h1 {
  max-width: 650px;

  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -4px;
}

.hero h1 em {
  color: var(--aqua);
  font-weight: 600;
}

.hero-text {
  max-width: 430px;

  margin-top: 35px;

  font-size: 15px;
  line-height: 1.8;

  color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;

  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;

  min-height: 52px;
  padding: 0 22px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: var(--navy);
  background: var(--aqua);
}

.btn-primary span,
.btn-light span {
  font-size: 18px;
}

.text-link {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 12px;
  font-weight: 600;

  color: white;
}

.text-link span {
  transition: transform 0.3s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* ================= OCEAN SCENE ================= */

.ocean-scene {
  position: absolute;
  inset: 0;

  overflow: hidden;
}

.sun-glow {
  position: absolute;

  width: 500px;
  height: 500px;

  top: -180px;
  right: 8%;

  border-radius: 50%;

  background: rgba(177, 248, 235, 0.18);
  filter: blur(50px);
}

.water-rays {
  position: absolute;
  inset: 0;

  opacity: 0.18;

  background:
    linear-gradient(
      115deg,
      transparent 20%,
      rgba(183, 255, 243, 0.6) 21%,
      transparent 28%
    ),
    linear-gradient(
      125deg,
      transparent 42%,
      rgba(183, 255, 243, 0.35) 43%,
      transparent 51%
    ),
    linear-gradient(
      75deg,
      transparent 61%,
      rgba(183, 255, 243, 0.25) 62%,
      transparent 70%
    );

  animation: waterMove 8s ease-in-out infinite alternate;
}

@keyframes waterMove {
  from {
    transform: translateX(-30px);
  }

  to {
    transform: translateX(30px);
  }
}

/* ================= BUBBLES ================= */

.bubble {
  position: absolute;

  width: 7px;
  height: 7px;

  border: 1px solid rgba(220, 255, 250, 0.65);
  border-radius: 50%;

  animation: bubbleFloat 8s linear infinite;
}

.bubble-1 {
  left: 56%;
  bottom: -20px;
  animation-delay: 0s;
}

.bubble-2 {
  left: 68%;
  bottom: -20px;
  width: 11px;
  height: 11px;
  animation-delay: 2s;
}

.bubble-3 {
  left: 78%;
  bottom: -20px;
  animation-delay: 4s;
}

.bubble-4 {
  left: 88%;
  bottom: -20px;
  width: 14px;
  height: 14px;
  animation-delay: 1s;
}

.bubble-5 {
  left: 62%;
  bottom: -20px;
  animation-delay: 6s;
}

.bubble-6 {
  left: 92%;
  bottom: -20px;
  width: 5px;
  height: 5px;
  animation-delay: 3s;
}

@keyframes bubbleFloat {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(-100vh) translateX(40px);
    opacity: 0;
  }
}

/* ================= FISH ================= */

.fish {
  position: absolute;

  display: flex;
  align-items: center;

  animation: swim 18s linear infinite;
}

.fish-body {
  position: relative;

  width: 45px;
  height: 28px;

  border-radius: 65% 45% 45% 65%;

  background: var(--coral);
}

.fish-body::after {
  content: "";

  position: absolute;

  top: 5px;
  left: 12px;

  width: 7px;
  height: 18px;

  background: white;

  opacity: 0.85;
}

.fish-body::before {
  content: "";

  position: absolute;

  top: 5px;
  right: 7px;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--navy);
}

.fish-tail {
  width: 0;
  height: 0;

  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 22px solid var(--coral);
}

.fish-one {
  top: 28%;
  left: -100px;

  transform: scale(0.8);

  animation-duration: 18s;
}

.fish-two {
  top: 48%;
  left: -120px;

  transform: scale(0.5);

  animation-duration: 24s;
  animation-delay: 5s;
}

.fish-three {
  top: 63%;
  left: -100px;

  transform: scale(0.65);

  animation-duration: 20s;
  animation-delay: 9s;
}

@keyframes swim {
  from {
    transform: translateX(-100px) scale(0.8);
  }

  to {
    transform: translateX(120vw) scale(0.8);
  }
}

/* ================= JELLYFISH ================= */

.jellyfish {
  position: absolute;

  right: 19%;
  top: 32%;

  width: 75px;
  height: 130px;

  opacity: 0.75;

  animation: jellyFloat 5s ease-in-out infinite;
}

.jelly-cap {
  width: 75px;
  height: 48px;

  border-radius: 50px 50px 20px 20px;

  background: rgba(181, 239, 229, 0.4);

  box-shadow: 0 0 25px rgba(152, 255, 239, 0.5);
}

.tentacle {
  position: absolute;

  top: 38px;

  width: 3px;
  height: 90px;

  border-radius: 50%;

  background: rgba(160, 242, 229, 0.45);

  transform-origin: top;
}

.t1 {
  left: 13px;
}

.t2 {
  left: 28px;
  height: 105px;
}

.t3 {
  left: 45px;
  height: 85px;
}

.t4 {
  left: 61px;
  height: 100px;
}

@keyframes jellyFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }
}

/* ================= SEA FLOOR ================= */

.sea-floor {
  position: absolute;

  left: -5%;
  bottom: -12%;

  width: 110%;
  height: 32%;

  border-radius: 50% 50% 0 0;

  background: radial-gradient(
    ellipse at center,
    #124858 0%,
    #062b3c 60%,
    #031e2d 100%
  );

  transform: rotate(-2deg);
}

/* ================= CSS CORAL ================= */

.coral {
  position: absolute;
  z-index: 3;

  bottom: 4%;

  width: 150px;
  height: 210px;
}

.coral i {
  position: absolute;
  bottom: 0;

  width: 25px;

  border-radius: 20px 20px 5px 5px;

  background: linear-gradient(90deg, #ed665e, #ff9b87);

  transform-origin: bottom;
}

.coral i::before,
.coral i::after {
  content: "";

  position: absolute;

  width: 25px;
  height: 25px;

  border-radius: 50%;

  background: inherit;
}

.coral i::before {
  top: -12px;
  left: 0;
}

.coral i::after {
  top: 5px;
  left: -9px;
}

.coral-left {
  left: 50%;
  transform: scale(0.7);
}

.coral-left i:nth-child(1) {
  left: 25px;
  height: 100px;
  transform: rotate(-15deg);
}

.coral-left i:nth-child(2) {
  left: 52px;
  height: 145px;
}

.coral-left i:nth-child(3) {
  left: 78px;
  height: 110px;
  transform: rotate(15deg);
}

.coral-left i:nth-child(4) {
  left: 5px;
  height: 70px;
  transform: rotate(-25deg);
}

.coral-left i:nth-child(5) {
  left: 105px;
  height: 70px;
  transform: rotate(25deg);
}

.coral-center {
  right: 8%;
  transform: scale(0.9);
}

.coral-center i {
  background: linear-gradient(90deg, #df6b8d, #f59ba8);
}

.coral-center i:nth-child(1) {
  left: 20px;
  height: 120px;
  transform: rotate(-15deg);
}

.coral-center i:nth-child(2) {
  left: 50px;
  height: 180px;
}

.coral-center i:nth-child(3) {
  left: 80px;
  height: 125px;
  transform: rotate(15deg);
}

.coral-center i:nth-child(4) {
  left: 110px;
  height: 80px;
  transform: rotate(25deg);
}

.coral-center i:nth-child(5) {
  left: 0;
  height: 70px;
  transform: rotate(-30deg);
}

.coral-right {
  right: -1%;
  transform: scale(0.6);
}

.coral-right i {
  background: linear-gradient(90deg, #e5a85b, #f2d078);
}

.coral-right i:nth-child(1) {
  left: 10px;
  height: 120px;
}

.coral-right i:nth-child(2) {
  left: 45px;
  height: 170px;
}

.coral-right i:nth-child(3) {
  left: 80px;
  height: 140px;
}

.coral-right i:nth-child(4) {
  left: 115px;
  height: 90px;
}

/* ================= SCROLL INDICATOR ================= */

.scroll-indicator {
  position: absolute;
  z-index: 20;

  left: 8vw;
  bottom: 35px;

  display: flex;
  align-items: center;
  gap: 15px;

  color: rgba(255, 255, 255, 0.55);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-indicator i {
  display: block;

  width: 35px;
  height: 1px;

  background: rgba(255, 255, 255, 0.4);
}

/* ================= GENERAL SECTIONS ================= */

.section {
  width: min(var(--max-width), 90%);
  margin: auto;
  padding: 140px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 15px;

  color: var(--ocean);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-label span {
  display: grid;
  place-items: center;

  width: 28px;
  height: 28px;

  border: 1px solid rgba(7, 93, 114, 0.3);
  border-radius: 50%;

  font-size: 9px;
}

/* ================= INTRO ================= */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;

  margin-top: 65px;
}

.intro h2 {
  max-width: 500px;

  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -3px;
}

.intro h2 span {
  color: var(--ocean);
  font-style: italic;
}

.intro-copy {
  padding-top: 10px;
}

.large-copy {
  max-width: 520px;

  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.45;
}

.intro-copy > p:not(.large-copy) {
  max-width: 480px;

  margin-top: 25px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.9;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;

  margin-top: 35px;

  padding-bottom: 7px;

  border-bottom: 1px solid var(--text);

  font-size: 12px;
  font-weight: 700;
}

.arrow-link span {
  font-size: 18px;

  transition: transform 0.3s ease;
}

.arrow-link:hover span {
  transform: translate(4px, 4px);
}

/* ================= STATS ================= */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid rgba(22, 51, 60, 0.12);
  border-bottom: 1px solid rgba(22, 51, 60, 0.12);

  width: min(var(--max-width), 90%);
  margin: auto;
}

.stat {
  min-height: 190px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 30px;

  border-right: 1px solid rgba(22, 51, 60, 0.12);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;

  color: var(--ocean);
}

.stat span {
  max-width: 130px;

  margin-top: 8px;

  color: var(--muted);

  font-size: 11px;
  line-height: 1.5;
}

/* ================= LIFE ================= */

.life {
  padding-bottom: 160px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1fr;
  align-items: end;
  gap: 50px;

  margin-bottom: 65px;
}

.section-heading h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -3px;
}

.section-heading h2 span {
  color: var(--ocean);
  font-style: italic;
}

.section-heading > p {
  max-width: 280px;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.7;
}

/* ================= CREATURE CARDS ================= */

.creature-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 330px 330px;
  gap: 15px;
}

.creature-card {
  position: relative;

  overflow: hidden;

  background: #e4ddd0;

  transition: transform 0.4s ease;
}

.creature-card:hover {
  transform: translateY(-7px);
}

.creature-card-large {
  grid-row: span 2;

  background: linear-gradient(145deg, #ff9c78, #f66b69);
}

.creature-card:nth-child(2) {
  background: #9bc9b7;
}

.creature-card:nth-child(3) {
  background: #d4e6e1;
}

.creature-card-dark {
  background: #123f4b;
  color: white;
}

.card-number {
  position: absolute;
  top: 25px;
  left: 25px;

  z-index: 5;

  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border: 1px solid currentColor;
  border-radius: 50%;

  font-size: 9px;
  opacity: 0.7;
}

.card-content {
  position: absolute;
  z-index: 5;

  left: 28px;
  right: 28px;
  bottom: 27px;
}

.card-content p {
  margin-bottom: 6px;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;

  opacity: 0.65;
}

.card-content h3 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
}

.card-content span {
  font-size: 10px;
  opacity: 0.65;
}

/* ================= CREATURE ART ================= */

.card-illustration {
  position: absolute;

  inset: 0;

  display: grid;
  place-items: center;
}

/* Clownfish */

.clownfish-body {
  position: absolute;

  width: 170px;
  height: 90px;

  border-radius: 60%;

  background: linear-gradient(
    90deg,
    #ff644f 0 23%,
    white 24% 34%,
    #ff644f 35% 62%,
    white 63% 73%,
    #ff644f 74%
  );

  transform: rotate(-10deg);
}

.clownfish-tail {
  position: absolute;

  margin-left: 175px;

  width: 0;
  height: 0;

  border-top: 35px solid transparent;
  border-bottom: 35px solid transparent;
  border-right: 55px solid #ff644f;

  transform: rotate(-10deg);
}

.clownfish-body::before {
  content: "";

  position: absolute;

  right: 17px;
  top: 25px;

  width: 11px;
  height: 11px;

  border-radius: 50%;

  background: #132c32;
}

/* Turtle */

.turtle-shell {
  position: absolute;

  width: 130px;
  height: 95px;

  border-radius: 55%;

  background: repeating-radial-gradient(
    circle,
    #4e8c78 0 10px,
    #326a5c 11px 13px
  );

  transform: rotate(-12deg);
}

.turtle-head {
  position: absolute;

  margin-left: 130px;

  width: 35px;
  height: 27px;

  border-radius: 50%;

  background: #548f7c;
}

.turtle-leg {
  position: absolute;

  width: 65px;
  height: 23px;

  border-radius: 50%;

  background: #548f7c;
}

.leg-one {
  margin-left: -110px;
  margin-top: -65px;
  transform: rotate(-30deg);
}

.leg-two {
  margin-left: 95px;
  margin-top: -60px;
  transform: rotate(30deg);
}

.leg-three {
  margin-left: -105px;
  margin-top: 60px;
  transform: rotate(25deg);
}

.leg-four {
  margin-left: 95px;
  margin-top: 60px;
  transform: rotate(-25deg);
}

/* Manta */

.ray-body {
  position: absolute;

  width: 180px;
  height: 75px;

  background: #6b9f9c;

  clip-path: polygon(50% 100%, 0 20%, 45% 42%, 50% 0, 55% 42%, 100% 20%);
}

.ray-tail {
  position: absolute;

  margin-top: 95px;

  width: 4px;
  height: 80px;

  background: #6b9f9c;

  transform: rotate(-5deg);
}

/* Jellyfish card */

.jelly-head {
  width: 105px;
  height: 65px;

  border-radius: 60px 60px 20px 20px;

  background: #9b8be7;

  box-shadow: 0 10px 35px rgba(155, 139, 231, 0.4);
}

.jelly-leg {
  position: absolute;

  width: 4px;
  height: 90px;

  margin-top: 65px;

  background: #9b8be7;

  border-radius: 10px;
}

.jelly-leg:nth-of-type(2) {
  margin-left: -55px;
}

.jelly-leg:nth-of-type(3) {
  margin-left: -18px;
}

.jelly-leg:nth-of-type(4) {
  margin-left: 20px;
}

.jelly-leg:nth-of-type(5) {
  margin-left: 55px;
}

/* ================= PROTECT ================= */

.protect {
  position: relative;

  min-height: 650px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: linear-gradient(115deg, #032d3d, #075d72);

  color: white;
}

.protect-background {
  position: absolute;
  inset: 0;

  opacity: 0.3;

  background: radial-gradient(
    circle at 75% 30%,
    rgba(107, 242, 226, 0.5),
    transparent 25%
  );
}

.protect-content {
  position: relative;
  z-index: 5;

  width: min(700px, 90%);

  margin-left: 8vw;
}

.section-label.light {
  color: var(--aqua);
}

.section-label.light span {
  border-color: rgba(142, 232, 221, 0.4);
}

.protect h2 {
  max-width: 750px;

  margin-top: 30px;

  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -3px;
}

.protect h2 em {
  display: block;

  color: var(--aqua);

  font-weight: 600;
}

.protect-content > p {
  max-width: 520px;

  margin-top: 30px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 14px;
  line-height: 1.8;
}

.btn-light {
  margin-top: 35px;

  color: var(--navy);
  background: var(--aqua);
}

/* ================= PROTECT CORAL ================= */

.protect-coral {
  position: absolute;

  right: 4%;
  bottom: -30px;

  width: 400px;
  height: 500px;
}

.protect-coral span {
  position: absolute;
  bottom: 0;

  width: 50px;

  border-radius: 40px 40px 5px 5px;

  background: linear-gradient(
    90deg,
    rgba(255, 118, 107, 0.8),
    rgba(255, 168, 150, 0.9)
  );

  transform-origin: bottom;
}

.protect-coral span::before,
.protect-coral span::after {
  content: "";

  position: absolute;

  width: 50px;
  height: 50px;

  border-radius: 50%;

  background: inherit;
}

.protect-coral span::before {
  top: -25px;
}

.protect-coral span::after {
  top: 20px;
  left: -20px;
}

.protect-coral span:nth-child(1) {
  left: 50px;
  height: 250px;
  transform: rotate(-20deg);
}

.protect-coral span:nth-child(2) {
  left: 120px;
  height: 400px;
}

.protect-coral span:nth-child(3) {
  left: 190px;
  height: 290px;
  transform: rotate(17deg);
}

.protect-coral span:nth-child(4) {
  left: 260px;
  height: 180px;
  transform: rotate(28deg);
}

.protect-coral span:nth-child(5) {
  left: 5px;
  height: 160px;
  transform: rotate(-30deg);
}

/* ================= FOOTER ================= */

.footer {
  padding: 55px 5vw 30px;

  background: #021c28;

  color: white;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 45px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top > p {
  color: rgba(255, 255, 255, 0.5);

  font-size: 11px;
}

.back-top {
  font-size: 11px;
  color: var(--aqua);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  padding-top: 25px;

  color: rgba(255, 255, 255, 0.3);

  font-size: 9px;
}

/* ================= MOBILE MENU ================= */

.mobile-menu {
  position: fixed;
  z-index: 200;

  inset: 0;

  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;

  background: var(--navy);

  color: white;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 38px;
}

.close-menu {
  position: absolute;
  top: 25px;
  right: 25px;

  width: 45px;
  height: 45px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;

  background: transparent;

  color: white;
  font-size: 28px;

  cursor: pointer;
}

/* ================= RESPONSIVE ================= */

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

  .menu-toggle {
    display: block;
  }

  .hero-content {
    margin-left: 6vw;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 11vw, 5.5rem);
  }

  .coral-left {
    left: 48%;
  }

  .coral-center {
    right: -5%;
  }

  .jellyfish {
    right: 8%;
  }

  .intro-grid {
    gap: 50px;
  }

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

  .section-heading > p {
    grid-column: 2;
  }

  .creature-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 350px 350px;
  }

  .creature-card-large {
    grid-row: span 1;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid rgba(22, 51, 60, 0.12);
  }

  .protect-coral {
    right: -150px;
    opacity: 0.6;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 22px 6vw;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    margin: 0 6vw;
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 4rem;
    letter-spacing: -2px;
  }

  .hero-text {
    font-size: 13px;
  }

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

  .scroll-indicator {
    left: 6vw;
  }

  .jellyfish {
    right: 5%;
    top: 42%;
    transform: scale(0.7);
  }

  .coral-left {
    left: 25%;
    transform: scale(0.5);
  }

  .coral-center {
    right: -30%;
    transform: scale(0.55);
  }

  .coral-right {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro h2 {
    font-size: 3.5rem;
  }

  .large-copy {
    font-size: 22px;
  }

  .section {
    padding: 100px 0;
  }

  .stats {
    width: 88%;
  }

  .stat {
    min-height: 150px;
    padding: 20px;
  }

  .stat:first-child {
    padding-left: 20px;
  }

  .stat strong {
    font-size: 32px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading > p {
    grid-column: auto;
  }

  .section-heading h2 {
    font-size: 3.5rem;
  }

  .creature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 320px);
  }

  .creature-card-large {
    grid-row: auto;
  }

  .protect {
    min-height: 700px;
  }

  .protect-content {
    margin-left: 6vw;
  }

  .protect h2 {
    font-size: 3.4rem;
    letter-spacing: -2px;
  }

  .protect-coral {
    right: -210px;
    bottom: -80px;
    opacity: 0.35;
    transform: scale(0.8);
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/* ================= ACCESSIBILITY ================= */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
