:root {
  color-scheme: light;
  --ink: #153564;
  --sky: #e2f5ff;
  --ice: #96cdec;
  --panel-width: 370px;
  --panel-top: 110px;
  --panel-right: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
a:focus-visible, input:focus-visible, aside:focus-visible {
  outline: 3px solid #ffb004;
  outline-offset: 5px;
}
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px;
  background: white;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "header" "main" "footer";
  min-height: 100vh;
}
.header { grid-area: header; }
.main { grid-area: main; min-width: 0; }
.footer { grid-area: footer; }

.header {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(0, 4fr) minmax(90px, 1fr);
  grid-template-areas: "brand location navigation";
  align-items: center;
  gap: 20px;
  height: clamp(70px, 6.15vw, 118px);
  padding: 0 2%;
}
.brand { grid-area: brand; width: clamp(90px, 10vw, 192px); height: 100%; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.location {
  grid-area: location;
  text-align: center;
  font-size: clamp(11px, 2.08vw, 40px);
  letter-spacing: .025em;
}
.location span { margin-left: 3vw; white-space: nowrap; }
.header-nav { grid-area: navigation; justify-self: end; }
.header-nav ul { list-style: none; padding: 0; margin: 0; }
.about-link { font-family: "Lora", Georgia, serif; font-size: clamp(15px, 1.8vw, 32px); white-space: nowrap; }

.hero { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hero > .hero-art, .hero > .start { grid-column: 1 / -1; grid-row: 1 / 2; }
.approach > img { width: 100%; height: auto; }
.pill {
  border: 1px solid white;
  border-radius: 80px;
  background: #153564ed;
  color: white;
  box-shadow: 3px 6px 5px #007bce59, inset 0 4px 17px #ffffff33, inset 0 17px 33px #ffffff21;
  padding: 14px 25px;
  text-decoration: none;
  text-align: center;
}
.start {
  align-self: end;
  justify-self: center;
  z-index: 1;
  width: 15.6%;
  min-width: 138px;
  margin-bottom: 3.7%;
  font-size: clamp(20px, 2.5vw, 48px);
  padding: .7em 1em;
}
.start span { font-size: .7em; margin-left: 12px; }
.start:hover { background: #225477; }
.approach { margin-top: 10px; }

.river {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  counter-reset: discoveries;
  background: #087fad url("https://res.cloudinary.com/znp6oo4q/image/upload/p32_20260924_river-desktop.svg") center top / 100% 100% no-repeat;
  color: white;
}
.dive-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 14px;
  height: 100px;
  z-index: 20;
  padding: 0 2%;
}
.dive-nav .pill { width: fit-content; font-size: clamp(12px, 1.65vw, 32px); }
.dive-nav .pill:nth-child(2) { justify-self: center; }
.dive-nav > p { justify-self: end; color: var(--ink); font-size: clamp(14px, 2vw, 36px); text-align: right; }
.depth-nav { position: absolute; top: 120px; right: 1%; display: grid; gap: 16px; z-index: 10; }
.depth-nav a { font-size: 12px; text-decoration: none; border-right: 2px solid #ffffff99; padding: 3px 10px; }

.zone {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  grid-template-rows: repeat(24, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 0;
  height: 56.5vw;
  min-height: 560px;
  scroll-margin-top: 100px;
}
.zone-depth {
  grid-column: 7 / 19;
  grid-row: 1 / 3;
  justify-self: center;
  align-self: center;
  font-size: 14px;
  letter-spacing: .15em;
  text-shadow: 0 2px 4px #153564;
}
.zone h2 {
  grid-column: 1 / -1;
  grid-row: 11 / 14;
  align-self: center;
  justify-self: center;
  margin: 0;
  font-size: clamp(24px, 2.5vw, 48px);
  font-weight: 500;
  text-align: center;
  text-shadow: 0 -3px 14px #0008;
  pointer-events: none;
}
.zone h2 span { display: block; font-size: 12px; letter-spacing: .4em; margin-top: 12px; color: #d4efff; }
.fish {
  grid-column: 1 / -1;
  grid-row: var(--row) / span 3;
  align-self: center;
  min-width: 0;
  position: relative;
}

.discovery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.fish-label { display: block; cursor: pointer; }
.fish-image {
  width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  filter: brightness(0) drop-shadow(0 3px 5px #ffffff25);
  transition: filter .35s ease-in-out, transform .3s ease-in-out;
}
.discovery:checked + .fish-label .fish-image { filter: drop-shadow(0 4px 10px #ffffff66); }
.discovery:hover + .fish-label .fish-image { transform: translateY(-5px) scale(1.08); }
.discovery:focus-visible + .fish-label { outline: 3px solid #ffb004; outline-offset: 8px; border-radius: 10px; }
.fish-name { display: block; text-align: center; font-size: 12px; margin-top: 6px; visibility: hidden; text-shadow: 0 2px 5px #001829; }
.discovery:checked + .fish-label .fish-name { visibility: visible; }

.river:has(#discover-perch:checked, #discover-perch2:checked) :is(.fish-perch, .fish-perch2) .fish-image,
.river:has(#discover-sucker:checked, #discover-sucker2:checked) :is(.fish-sucker, .fish-sucker2) .fish-image {
  filter: drop-shadow(0 4px 10px #ffffff66);
}
.river:has(#discover-perch:checked, #discover-perch2:checked) :is(.fish-perch, .fish-perch2) .fish-name,
.river:has(#discover-sucker:checked, #discover-sucker2:checked) :is(.fish-sucker, .fish-sucker2) .fish-name {
  visibility: visible;
}

.fish-card {
  display: none;
  position: fixed;
  top: var(--panel-top);
  right: var(--panel-right);
  width: var(--panel-width);
  max-height: calc(100svh - var(--panel-top) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 40;
  border: 1px solid #96cdec80;
  border-radius: 22px;
  background: #153564;
  padding: 25px;
  box-shadow: 0 14px 40px #00152866;
}
.fish:has(.discovery:checked:focus) > .fish-card,
.fish:has(> .fish-card:focus-within) > .fish-card { display: block; }
.fish-card .eyebrow { color: #b7e2e7; font-size: 9px; letter-spacing: .12em; padding-right: 15px; }
.fish-card h3 { margin: 12px 0 8px; color: var(--ice); font-size: 25px; }
.latin { font-size: 14px; color: #b7e2e7; }
.portrait { background: #225477; border: 1px solid var(--ice); border-radius: 16px; padding: 14px; margin: 20px 0; }
.portrait img { width: 100%; height: 130px; object-fit: contain; }

.fish-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0 0 20px; }
.fish-facts dt { font-size: 11px; color: var(--ice); line-height: 1.6; }
.fish-facts dd { font-size: 13px; margin: 6px 0 0; line-height: 1.6; }
.fish-card h4 { margin: 0 0 8px; color: var(--ice); font-size: 14px; font-weight: 500; }
.description { font-size: 14px; line-height: 1.85; }
.source-link { display: inline-block; color: #b7e2e7; font-size: 12px; margin-top: 12px; }
.close-card {
  display: none;
  position: fixed;
  top: calc(var(--panel-top) + 10px);
  right: calc(var(--panel-right) + 10px);
  width: 34px;
  height: 34px;
  z-index: 41;
  border-radius: 50%;
  background: #285884;
  color: white;
  cursor: pointer;
}
.close-card input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.close-card span { display: block; text-align: center; line-height: 31px; font-size: 25px; pointer-events: none; }
.fish:has(.discovery:checked:focus) > .close-card,
.fish:has(> .fish-card:focus-within) > .close-card { display: block; }

.riverbed { background: #130a01; color: white; text-align: center; padding: 65px 20px; }
.riverbed h2 { font-size: clamp(24px, 2.5vw, 48px); margin: 0 0 20px; }
.riverbed a { font-size: 12px; color: #dfcfba; text-underline-offset: 5px; }

.footer { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 65px 12% 25px; }
.footer-message { grid-column: 1 / -1; justify-self: center; margin-bottom: 100px; font-size: clamp(18px, 2.5vw, 48px); line-height: 1.55; }
.footer-message p + p { margin-top: 20px; }
.footer-location { grid-column: 1 / -1; text-align: right; font-size: 14px; padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.footer-bottom { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 20px; }
.footer-bottom p { font-size: clamp(12px, 2vw, 36px); }
.footer-bottom img { object-fit: contain; }
.mobile-break { display: none; }


.fish-swimmer {
  position: relative;
  width: calc(var(--span) * 100% / 24);
  animation: swim 24s linear infinite;
  animation-delay: -12s;
}
.fish:nth-of-type(2n) .fish-swimmer { animation-duration: 30s; animation-delay: -7s; }
.fish:nth-of-type(3n) .fish-swimmer { animation-duration: 27s; animation-delay: -20s; }
.fish:nth-of-type(4n) .fish-swimmer { animation-delay: -4s; }
.fish-barbel .fish-swimmer,
.fish-loach .fish-swimmer,
.fish-moon .fish-swimmer,
.fish-perch2 .fish-swimmer,
.fish-silver .fish-swimmer,
.fish-snake .fish-swimmer,
.fish-sucker .fish-swimmer,
.fish-topmouth .fish-swimmer {
  animation-direction: reverse;
}

/* Only undiscovered fish pause for mouse/keyboard targeting. Touch and
   discovery/close-button focus must never freeze a discovered fish. */
@media (hover: hover) and (pointer: fine) {
  .fish-swimmer:has(.discovery:not(:checked)):hover { animation-play-state: paused; }
}
.fish-swimmer:has(.discovery:not(:checked):focus-visible) { animation-play-state: paused; }

@keyframes swim {
  from { left: -40%; }
  to { left: 105%; }
}

.pill, .close-card {
  transition: background-color .3s ease-in-out, transform .3s ease-in-out;
}
a.pill:hover, .close-card:hover {
  background-color: #306d98;
  transform: translateY(-3px);
}
.fish:has(.discovery:checked) { counter-increment: discoveries; }
.river:has(#discover-perch:checked) .fish-perch2,
.river:has(#discover-sucker:checked) .fish-sucker2 { counter-increment: none; }
.discovery-count::after { content: counter(discoveries); }


@media (max-width: 700px) {
  :root { --panel-width: calc(100vw - 40px); --panel-top: 18svh; --panel-right: 20px; }
  .header { grid-template-columns: 80px minmax(0, 1fr) 70px; gap: 8px; padding: 0 14px; }
  .brand { width: 80px; }
  .location { font-size: 9px; line-height: 1.8; }
  .location span { display: block; margin-left: 0; }
  .about-link { font-size: 13px; }
  .hero-art { height: 65svh; min-height: 380px; aspect-ratio: auto; }
  .scene { width: max(100%, calc(65svh * 1.776), 675px); left: 46%; transform: translateX(-46%); }
  .start { margin-bottom: 10%; padding: 14px 24px; }
  .approach { height: 220px; overflow: hidden; margin-top: 4px; }
  .approach > img { height: 100%; object-fit: cover; }
  .river { background-size: auto 100%; }
  .dive-nav { top: 8px; height: 80px; grid-template-columns: auto auto minmax(0, 1fr); gap: 6px; padding: 0 12px; }
  .dive-nav .pill { font-size: 10px; padding: 11px 10px; }
  .dive-nav > p { font-size: 10px; }
  .depth-nav { top: 85px; right: 0; gap: 12px; }
  .depth-nav a { font-size: 10px; padding-right: 6px; }
  .zone { grid-template-columns: repeat(12, minmax(0, 1fr)); height: 760px; min-height: 0; }
  .zone-depth { grid-column: 3 / 11; font-size: 11px; }
  .zone h2 { grid-row: 12 / 15; font-size: 25px; }
  .fish { grid-column: 1 / -1; grid-row: var(--mobile-row) / span 3; }
  .fish-swimmer { width: 38%; }
  .fish-image { max-height: 100px; }
  .fish-name { font-size: 11px; }
  .fish-card { padding: 22px; max-height: 74svh; }
  .fish-card .eyebrow { font-size: 8px; }
  .portrait { margin: 15px 0; padding: 10px; }
  .portrait img { height: 115px; }

  .riverbed { padding: 55px 20px; }
  .footer { padding: 48px 22px 20px; }
  .footer-message { margin-bottom: 45px; font-size: 18px; }
  .footer-message p + p { font-size: 16px; }
  .mobile-break { display: block; }
  .footer-bottom { gap: 10px; }
  .footer-bottom img { width: 85px; height: 50px; }
  .footer-bottom p, .footer-location { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .fish-swimmer { animation: none; left: 35%; }
}

/* One source illustration, independently clipped CSS animation layers. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-art { position: relative; aspect-ratio: 1936 / 1090; overflow: hidden; }
.scene {
  --scene-image: url("https://res.cloudinary.com/znp6oo4q/image/upload/p32_20260924_surface-desktop.svg");
  position: absolute; inset: 0; pointer-events: none;
}
.scene-picture { display: block; width: 100%; height: 100%; }
.scene-base { width: 100%; height: 100%; }
.scene-sky, .scene-sky-paint, .scene-trees, .scene-boat, .scene-vessel { position: absolute; inset: 0; }
.scene-sky {
  mask-image: linear-gradient(#000 0 14%, transparent 28%), radial-gradient(ellipse 28% 12% at 81% 26%, #000 50%, transparent 100%);
}
.scene-sky-paint {
  background: var(--scene-image) 50% top / 100% 100%;
  animation: scene-cloud-drift 9s ease-in-out -3s infinite alternate;
  transform-origin: center top;
}
.scene-water { position: absolute; inset: 65% 0 0; overflow: hidden; }
.scene-water-paint {
  position: absolute; inset: -3% -3%;
  background: var(--scene-image) center bottom / 100% 400%;
  animation: scene-water-flow 2.8s ease-in-out infinite alternate;
}
.scene-shimmer {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(175deg, transparent 0 15px, #effbff20 16px, transparent 18px 35px);
  mask-image: linear-gradient(transparent, #000 35%, #0008);
  animation: scene-sparkle 5s ease-in-out infinite alternate;
}
/* Hide the original near-boat mast, now rendered in the moving boat layer. */
.scene-mast-cover {
  position: absolute; left: 15.35%; top: 61.05%; width: 1.45%; height: 4.05%;
  background: var(--scene-image) 18.5% 63.63% / 6897% 2469%;
  mask-image: linear-gradient(90deg, transparent, #000 15% 85%, transparent);
}
.scene-mast-cover-far {
  left: 71.6%; top: 62.45%; width: 5.3%; height: 2.6%;
  background-size: 1887% 3846%; background-position: 69% 64.12%;
}
.scene-trees { background: var(--scene-image) 0 0 / 100% 100%; }
.scene-trees-left {
  clip-path: polygon(4% 61%,5% 58%,9% 55%,11% 52%,15% 54%,18% 53%,23% 54%,27% 50%,30% 51%,30% 56%,35% 56%,38% 59%,38% 62.5%,4% 62.5%);
  transform-origin: 21% 63%; animation: scene-leaves-left 2.2s ease-in-out infinite alternate;
}
.scene-trees-right {
  clip-path: polygon(55% 62.5%,55% 56%,58% 51%,61% 47%,64% 47.5%,66% 50%,69% 53%,72% 55%,75% 56%,80% 57%,84% 59%,87% 58%,90% 61%,90% 63%);
  transform-origin: 71% 63%; animation: scene-leaves-right 2.7s ease-in-out -2s infinite alternate;
}
.scene-boat { background: var(--scene-image) 0 0 / 100% 100%; }
.scene-boat-near {
  clip-path: polygon(7.8% 71.8%,8.8% 71.3%,8.8% 68.8%,9.1% 68.5%,9.1% 67.2%,13.8% 67.2%,14.9% 65.5%,15.8% 65.5%,15.75% 64%,15.8% 61.5%,16.05% 61.25%,16.8% 64.7%,18% 64.8%,23.5% 64.7%,24.1% 65%,24% 67.4%,25% 69.2%,25.2% 70.7%,27.9% 70.1%,27.2% 71.8%,26% 73.1%,10% 74%,8% 73.3%);
  animation: scene-boat-bob 4.5s ease-in-out infinite alternate;
  transform-origin: 18% 73%;
}
.scene-boat-far {
  clip-path: polygon(70.5% 66.8%,71.5% 65.2%,72.3% 65%,72.3% 62.6%,72.6% 62.7%,72.8% 65%,73.8% 65%,74.8% 64.5%,75.4% 65%,76.5% 65.5%,76.6% 66.5%,77.2% 66.4%,76.5% 67.5%,71.1% 67.5%);
  animation: scene-boat-bob 3.8s ease-in-out -1s infinite alternate;
  transform-origin: 74% 67%;
}
.scene-vessel-near { animation: scene-sail-near 52s linear -16s infinite; }
.scene-vessel-far { animation: scene-sail-far 68s linear -49s infinite; }
.scene-wake {
  position: absolute; left: 0; top: 73%; width: 16%; height: 1.3%;
  background: repeating-linear-gradient(178deg, transparent 0 3px, #fffbe3ba 4px 5px, transparent 6px 9px);
  clip-path: polygon(0 15%,100% 35%,100% 65%,0 100%);
  mask-image: linear-gradient(90deg, transparent, #000);
  animation: scene-wake-pulse 1.8s ease-in-out infinite alternate;
}
.scene-vessel-far .scene-wake { left: 64%; top: 67%; width: 10%; height: .6%; }
/* Wind creates repeated expanding wavefronts across the river. */
.scene-ripple {
  position: absolute; left: 40%; top: 79%; width: 12%; height: 2.8%;
  border: 2px solid #e7faffbb; border-top-color: #ffffffed;
  border-radius: 50%; box-shadow: 0 2px 1px #14719355, inset 0 2px 1px #fff9;
  animation: scene-ripple-expand 4.2s linear -1s infinite;
}
.scene-ripple::before, .scene-ripple::after {
  content: ""; position: absolute; inset: 20% 12%; border: 1px solid #e8fbff99; border-radius: 50%;
}
.scene-ripple::after { inset: -28% -16%; border-color: #e8fbff66; }
.scene-ripple-two { left: 78%; top: 73%; width: 7%; height: 1.6%; animation-delay: -3s; }
.scene-ripple-three { left: 15%; top: 84%; width: 10%; animation-delay: -2.1s; animation-duration: 4.8s; }
.scene-ripple-four { left: 62%; top: 89%; width: 15%; height: 3.2%; animation-delay: -3.7s; }
.scene-ripple-five { left: 50%; top: 69%; width: 8%; height: 1.4%; animation-delay: -.5s; animation-duration: 3.8s; }
.scene-ripple-six { left: 30%; top: 94%; width: 13%; animation-delay: -2.6s; }
.scene-ripple-seven { left: 88%; top: 92%; width: 11%; animation-delay: -1.7s; }
.scene-shimmer {
  background: repeating-linear-gradient(176deg, transparent 0 14px, #e8fbff70 15px 16px, transparent 18px 37px);
  animation: scene-wind-water 3s linear infinite;
  mask-image: linear-gradient(transparent, #000 20%, #0009);
}
@keyframes scene-wind-water { from { transform: translate(-2%, -12px); opacity: .4; } to { transform: translate(2%, 25px); opacity: .4; } }
.scene-wind { position: absolute; inset: 0; overflow: hidden; }
.wind-leaf {
  position: absolute; left: var(--x); top: var(--y); width: clamp(5px, .6vw, 11px); height: clamp(3px, .3vw, 6px);
  background: #c2c86c; border-radius: 95% 0 95% 0; box-shadow: inset 0 -2px #587b3d;
  animation: scene-leaf-flight var(--duration) ease-in-out var(--delay) infinite;
}
.wind-leaf:nth-of-type(even) { background: #7f9c46; }
@keyframes scene-leaf-flight {
  0% { opacity: 0; transform: translate(0, 0) rotate(-30deg); }
  12% { opacity: .95; }
  35% { transform: translate(32px, -18px) rotate(70deg); }
  62% { transform: translate(72px, 7px) rotate(190deg); }
  85% { opacity: .8; }
  100% { opacity: 0; transform: translate(180px, -36px) rotate(320deg); }
}
.wind-streak {
  position: absolute; left: 7%; top: 53%; width: 13%; height: 2%; border-top: 1px solid #f4f7d3a8; border-radius: 50%;
  animation: scene-gust 5s ease-out -1s infinite;
}
.wind-streak-two { left: 59%; top: 49%; width: 18%; animation-delay: -3s; animation-duration: 6s; }
@keyframes scene-gust { 0% { opacity: 0; transform: translateX(-30%) skewY(-4deg); } 25% { opacity: .6; } 100% { opacity: 0; transform: translateX(100%) skewY(3deg); } }

.scene-pause { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.scene-toggle {
  position: absolute; right: 18px; top: 18px; z-index: 3;
  padding: 9px 13px; border: 1px solid #ffffff80; border-radius: 30px;
  background: #153564aa; color: white; font-size: 12px; cursor: pointer;
  backdrop-filter: blur(8px);
}
.scene-toggle-play { display: none; }
.scene-pause:checked ~ .hero-art *,
.scene-pause:checked ~ .hero-art *::before,
.scene-pause:checked ~ .hero-art *::after { animation-play-state: paused; }
.scene-pause:checked + .scene-toggle .scene-toggle-pause { display: none; }
.scene-pause:checked + .scene-toggle .scene-toggle-play { display: inline; }
.scene-pause:focus-visible + .scene-toggle { outline: 3px solid #ffb004; outline-offset: 4px; }
@keyframes scene-cloud-drift { from { transform: translateX(-4%); } to { transform: translateX(5%); } }
@keyframes scene-water-flow { from { transform: translate(-1.5%, -.7%) scaleY(1); } to { transform: translate(1.5%, .9%) scaleY(1.045); } }
@keyframes scene-sparkle { from { opacity: .18; transform: translateX(-1%); } to { opacity: .55; transform: translateX(1%); } }
@keyframes scene-leaves-left { 0% { transform: skewX(-2.2deg) rotate(-1deg); } 60% { transform: skewX(2.8deg) rotate(1.2deg); } 100% { transform: skewX(.4deg) rotate(.2deg); } }
@keyframes scene-leaves-right { from { transform: skewX(2.6deg) rotate(1deg); } to { transform: skewX(-2.3deg) rotate(-1.1deg); } }
@keyframes scene-boat-bob { from { transform: translateY(-.10%) rotate(-.12deg); } to { transform: translateY(.13%) rotate(.12deg); } }
@keyframes scene-sail-near { from { transform: translateX(-32%); } to { transform: translateX(96%); } }
@keyframes scene-sail-far { from { transform: translateX(-82%); } to { transform: translateX(32%); } }
@keyframes scene-wake-pulse { from { opacity: .45; transform: scaleY(.8); } to { opacity: .85; transform: scaleY(1.3); } }
@keyframes scene-ripple-expand { 0% { transform: translateX(-12%) scale(.25); opacity: 0; } 18% { opacity: .9; } 65% { opacity: .6; } 100% { transform: translateX(12%) scale(2); opacity: 0; } }
@media (max-width: 700px) {
  .hero-art { aspect-ratio: auto; }
  .scene { width: max(100%, calc(65svh * 1.776), 675px); left: 46%; right: auto; transform: translateX(-46%); }
  .scene-toggle { top: 12px; right: 12px; font-size: 11px; }
  .scene-vessel-near { animation-delay: -22s; }
  .scene-vessel-far { animation-delay: -34s; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art *, .hero-art *::before, .hero-art *::after { animation: none !important; }
  .scene > :not(.scene-picture):not(.mobile-vector-scene):not(.mobile-boat-vector) { display: none; }
  .scene-toggle, .scene-pause { display: none; }
}

/* CSS silhouettes: separate wingbeats and flight paths. */
.scene-birds { position: absolute; inset: 0; overflow: hidden; }
.scene-bird {
  position: absolute; left: -8%; top: 18%; display: flex; width: 34px; height: 14px;
  animation: scene-bird-flight 20s linear -5s infinite;
  filter: drop-shadow(0 1px 1px #ffffff40);
}
.scene-bird i {
  display: block; width: 50%; height: 100%; border-top: 3px solid #28536a;
  border-radius: 90% 90% 0 0; transform-origin: right center;
  animation: scene-wing-left .8s ease-in-out infinite alternate;
}
.scene-bird i + i { transform-origin: left center; animation-name: scene-wing-right; }
.bird-2 { top: 22%; width: 26px; height: 11px; animation-duration: 22s; animation-delay: -6.4s; }
.bird-3 { top: 15%; width: 23px; height: 10px; animation-duration: 23s; animation-delay: -5.2s; }
.bird-4 { top: 27%; width: 19px; height: 8px; animation-duration: 26s; animation-delay: -17s; }
.bird-5 { top: 24%; width: 21px; height: 9px; animation-duration: 25s; animation-delay: -18s; }
.bird-2 i, .bird-4 i { animation-delay: -.4s; }
.bird-3 i, .bird-5 i { animation-delay: -.2s; }
@keyframes scene-bird-flight {
  0% { left: -8%; transform: translateY(10px); }
  25% { transform: translateY(-18px); }
  50% { transform: translateY(9px); }
  75% { transform: translateY(-14px); }
  100% { left: 108%; transform: translateY(0); }
}
@keyframes scene-wing-left { from { transform: rotate(28deg) scaleY(.75); } to { transform: rotate(-32deg) scaleY(1); } }
@keyframes scene-wing-right { from { transform: rotate(-28deg) scaleY(.75); } to { transform: rotate(32deg) scaleY(1); } }
/* Start keeps its #river link: the overlay clears itself, revealing that section. */
.approach.dive-transition { display: none; }
.main:has(.river:target) .dive-transition {
  display: block; position: fixed; inset: 0; width: 100%; height: 100svh;
  margin: 0; overflow: hidden; z-index: 80; pointer-events: none;
  background: transparent; animation: dive-curtain 4.8s linear both;
}
.dive-transition > div { position: absolute; inset: 0; }
/* The actual river remains behind these translucent layers: no image swap. */
.dive-underwater {
  background: linear-gradient(#a8efff55, #058bb599 45%, #06396166);
  animation: dive-depth 4.8s ease-in-out both;
}
.dive-surface {
  z-index: 2; background: url("https://res.cloudinary.com/znp6oo4q/image/upload/p32_20260924_surface-desktop.svg") center center / cover;
  transform-origin: 50% 78%; animation: dive-below-surface 3.8s cubic-bezier(.4,0,.2,1) both;
  will-change: transform, opacity;
  mask-image: linear-gradient(#000 0 82%, transparent 100%);
}
.dive-transition > .dive-waterline {
  z-index: 3; top: 105%; bottom: auto; height: 140%; width: 130%; left: -15%;
  border-radius: 48% 52% 0 0; border-top: 2px solid #d6ffffaa;
  background: linear-gradient(#d0ffff70, #35b6d765 6%, #068bbc35 22%, transparent 65%);
  box-shadow: 0 -8px 30px #d4ffff44;
  animation: dive-cross-waterline 3.8s cubic-bezier(.4,0,.2,1) .15s both;
}
.dive-rays {
  z-index: 1; opacity: 0;
  background: repeating-conic-gradient(from -25deg at 50% -10%, transparent 0deg 8deg, #c8ffff30 12deg, transparent 18deg 26deg);
  transform-origin: center top;
  animation: dive-rays-reveal 4.8s ease-in-out both;
}
.dive-bubbles { z-index: 4; overflow: hidden; }
.dive-bubbles i {
  position: absolute; left: var(--left); bottom: -80px; width: var(--size); height: var(--size);
  border: 1px solid #efffffc9; border-radius: 50%;
  background: radial-gradient(circle at 28% 23%, #fff9 0 7%, transparent 20%), radial-gradient(circle at 55% 60%, transparent 45%, #c4ffff55 80%);
  box-shadow: inset -2px -3px 6px #defcff33, 0 0 8px #b5f4ff22;
  animation: dive-bubble-rise var(--rise) ease-in var(--delay) 2 both;
}
.dive-transition > .dive-caption {
  z-index: 5; inset: 45% 18px auto; text-align: center; color: #e5fbff;
  text-shadow: 0 2px 25px #002f63; animation: dive-caption-appear 4.8s ease both;
}
.dive-caption span { font-size: clamp(26px, 4vw, 56px); letter-spacing: .28em; font-weight: 300; }
.dive-caption p { margin-top: 18px; font-size: clamp(12px, 1.3vw, 18px); letter-spacing: .12em; }
@keyframes dive-curtain { 0%,76% { visibility: visible; opacity: 1; } 99% { visibility: visible; opacity: 0; } 100% { visibility: hidden; opacity: 0; } }
@keyframes dive-below-surface {
  0% { transform: scale(1) translateY(0); opacity: 1; }
  28% { transform: scale(1.04) translateY(-12%); opacity: 1; }
  60% { transform: scale(1.08) translateY(-55%); opacity: 1; }
  85% { opacity: .65; }
  100% { transform: scale(1.12) translateY(-112%); opacity: 0; }
}
@keyframes dive-cross-waterline {
  0% { transform: translateY(0) rotate(-1deg); opacity: 0; }
  12% { opacity: 1; }
  78% { opacity: .8; }
  100% { transform: translateY(-94%) rotate(1deg); opacity: 0; }
}
@keyframes dive-depth { 0% { opacity: .15; } 35% { opacity: .9; } 68% { opacity: .5; } 100% { opacity: 0; } }
@keyframes dive-rays-reveal { 0%,18% { opacity: 0; transform: rotate(-3deg) scale(1.08); } 45% { opacity: .6; } 100% { opacity: 0; transform: rotate(3deg) scale(1.16); } }
/* Fade the journey UI into the same river, without moving the destination. */
.river:target > .zone, .river:target > .dive-nav, .river:target > .depth-nav {
  animation: dive-journey-reveal 1.2s ease-out 3s backwards;
}
@keyframes dive-journey-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes dive-bubble-rise { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: .85; } 100% { transform: translate(35px, -115svh) scale(1.45); opacity: 0; } }
@keyframes dive-caption-appear { 0%,35% { opacity: 0; transform: translateY(20px); } 50%,76% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-20px); } }
@media (max-width: 700px) {
  .scene-bird { width: 26px; height: 11px; }
  .bird-3, .bird-4, .bird-5 { width: 18px; height: 8px; }
  .dive-surface { background-position: 46% center; }
}
@media (prefers-reduced-motion: reduce) {
  .main:has(.river:target) .dive-transition { display: none; animation: none; }
  .dive-transition *, .river:target > .zone, .river:target > .dive-nav, .river:target > .depth-nav { animation: none !important; }
}

/* Enter a real underwater view, rather than uncovering the landing scene. */
html:has(.river:target, .river :target) { scroll-padding-top: 0; }
html:has(.river:target) { scroll-behavior: auto; }
body:has(.river:target, .river :target) > .header,
body:has(.river:target, .river :target) .hero { display: none; }
.river:target { scroll-margin-top: 0; }

/* Phone layout: generous touch targets, readable content and safe-area spacing. */
@media (max-width: 700px) {
  :root { --panel-width: calc(100vw - 24px); --panel-right: 12px; --panel-top: max(16px, env(safe-area-inset-top)); }
  html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
  .header {
    height: auto; min-height: 100px; background: var(--sky);
    grid-template-columns: 1fr auto; grid-template-areas: "brand navigation" "location location";
    gap: 0 16px; padding: max(6px, env(safe-area-inset-top)) 20px 0;
  }
  .brand { width: 94px; height: 58px; }
  .about-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
  .location { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 3vw, 16px); margin: 0 -20px; min-height: 36px; padding: 8px 12px; background: #153564; color: #e2f5ff; font-size: clamp(13px, 3.4vw, 14px); letter-spacing: .015em; line-height: 1.5; white-space: nowrap; }
  .location span { display: inline; margin-left: 0; color: #fff; font-weight: 700; letter-spacing: .03em; }
  .hero-art { height: calc(100svh - 100px); min-height: 480px; max-height: 850px; }
  .scene { width: max(100%, calc((100svh - 100px) * 1.776), 853px); max-width: 1510px; }
  .hero h1 {
    position: absolute; top: 54px; left: 22px; width: auto; height: auto; margin: 0;
    clip-path: none; overflow: visible; color: var(--ink); font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1.3; letter-spacing: .06em; text-shadow: 0 1px 12px #e2f5ff88;
  }
  .hero h1 span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .09em; font-weight: 400; }
  .scene-toggle { top: 10px; right: 16px; min-height: 44px; display: flex; align-items: center; padding: 10px 14px; font-size: 12px; }
  .start { min-width: 190px; min-height: 58px; font-size: 24px; margin-bottom: max(28px, env(safe-area-inset-bottom)); }
  .dive-nav { top: 0; height: 82px; padding: 12px 14px; gap: 10px; grid-template-columns: 1fr 1fr; background: #e2f5fff2; border-bottom: 1px solid #15356420; }
  .dive-nav .pill { width: 100%; min-height: 46px; padding: 13px 8px; font-size: 13px; }
  .dive-nav > p { display: none; }
  .depth-nav { display: none; }
  .zone { height: clamp(660px, 90svh, 820px); scroll-margin-top: 88px; }
  .zone-depth { font-size: 13px; }
  .zone h2 { font-size: clamp(26px, 7vw, 32px); }
  .zone h2 span { font-size: 14px; }
  .fish-swimmer { width: 42%; min-height: 48px; }
  .fish-name { font-size: 13px; }
  .fish-card { max-height: calc(100svh - var(--panel-top) - 16px - env(safe-area-inset-bottom)); padding: 24px 20px; border-radius: 22px; }
  .fish-card .eyebrow { font-size: 10px; padding-right: 38px; line-height: 1.6; }
  .fish-card h3 { font-size: 26px; }
  .fish-facts dt { font-size: 12px; }
  .fish-facts dd, .description { font-size: 15px; }
  .source-link { min-height: 44px; padding: 12px 0; font-size: 13px; }
  .close-card { width: 44px; height: 44px; }
  .close-card span { line-height: 42px; }

  .riverbed { padding: 54px 22px 48px; scroll-margin-top: 82px; }
  .riverbed a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .footer-message { font-size: 19px; line-height: 1.8; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .scene-toggle { display: none; }
}


/* Inline mobile vectors: one copy of each moving scene component. */
.mobile-vector-scene, .mobile-vector-river { display: none; }
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .scene { --scene-image: none; }
  .scene:has(> .mobile-vector-scene) > :is(.scene-picture, .scene-sky, .scene-trees, .scene-mast-cover, .scene-vessel),
  .scene:has(> .mobile-vector-scene) .scene-water-paint { display: none; }
  .mobile-vector-scene { display: block; width: 100%; height: 100%; }
  .mobile-vector-river { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
  .river { background-image: url("https://res.cloudinary.com/znp6oo4q/image/upload/p32_20260924_river-fallback.webp"); }
  .river:has(> .mobile-vector-river) { background-image: none; }
  .dive-surface { background-image: linear-gradient(180deg, #71b5df, #3b85af 65%, #17608f); }
}
@media (max-width: 700px) {
  .hero-art { height: calc(100vh - 100px); height: calc(100svh - 100px); }
  .scene { width: max(100%, calc((100vh - 100px) * 1.776), 853px); width: max(100%, calc((100svh - 100px) * 1.776), 853px); }
}

/* Keep the full illustration in its original paint order. Animate only a
   separate boat, never selected fragments of the statue or tree canopy. */
.mobile-boat-vector { display: none; }
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .mobile-boat-vector { display: block; position: absolute; width: 18%; height: auto; left: 37%; top: 66%; overflow: visible; animation: mobile-independent-boat 24s ease-in-out infinite alternate; }
}
@keyframes mobile-independent-boat { from { transform: translate(-40px, -1px); } to { transform: translate(65px, 2px); } }


/* Mobile opening styles, separated from HTML. */

/* CSS-only mobile opening. Timed presentation, not a resource-load detector. */
.mobile-loader, .loader-dismiss { display: none; }
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .mobile-loader {
    display: flex; position: fixed; inset: 0; z-index: 1000;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 22px; padding: 28px; background: #e2f5ff; color: #153564;
    text-align: center; font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    touch-action: none; overscroll-behavior: contain;
    animation: mobile-opening-exit 3s ease-in-out forwards;
  }
  .loader-art { width: 116px; height: 116px; position: relative; border-radius: 50%; border: 1px solid #80b4ce; overflow: hidden; background: #c7e7f5; }
  .loader-wave { position: absolute; width: 190px; height: 190px; left: -37px; top: 48px; border-radius: 42%; background: #488bb6; animation: loader-water 7s linear infinite; }
  .loader-wave + .loader-wave { top: 58px; background: #15356499; animation-direction: reverse; animation-duration: 9s; }
  .loader-title { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: .1em; }
  .loader-en { display: block; margin-top: 10px; font-size: 12px; font-weight: 400; letter-spacing: .16em; }
  .loader-status { margin: 0; font-size: 14px; line-height: 1.8; color: #376584; }
  .loader-skip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; margin-top: 12px; border: 1px solid #15356455; border-radius: 28px; color: #153564; cursor: pointer; font-size: 13px; }
  .loader-dismiss { display: block; position: fixed; width: 1px; height: 1px; margin: 0; clip-path: inset(50%); animation: opening-control-exit 3s forwards; }
  .loader-dismiss:checked + .mobile-loader { display: none; }
  .loader-dismiss:focus-visible + .mobile-loader .loader-skip { outline: 3px solid #153564; outline-offset: 4px; }
}
@keyframes loader-water { to { transform: rotate(360deg); } }
@keyframes mobile-opening-exit {
  0%, 78% { opacity: 1; visibility: visible; }
  99% { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes opening-control-exit { 0%,99% { visibility: visible; } 100% { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .loader-wave { animation: none; }
  .mobile-loader { animation-duration: 1s; animation-timing-function: steps(1,end); }
  .loader-dismiss { animation-duration: 1s; }
}


/* Per-element layout and animation settings. */
.layout-1 { --x:10%;--y:55%;--delay:-1s;--duration:5.2s }
.layout-2 { --x:22%;--y:57%;--delay:-3.2s;--duration:4.8s }
.layout-3 { --x:31%;--y:53%;--delay:-.7s;--duration:5.8s }
.layout-4 { --x:46%;--y:59%;--delay:-4s;--duration:5.1s }
.layout-5 { --x:57%;--y:53%;--delay:-2.4s;--duration:5.5s }
.layout-6 { --x:63%;--y:49%;--delay:-4.7s;--duration:6s }
.layout-7 { --x:73%;--y:56%;--delay:-1.8s;--duration:4.9s }
.layout-8 { --x:81%;--y:58%;--delay:-3.7s;--duration:5.6s }
.layout-9 { --left:8%;--size:18px;--delay:0.6s;--rise:2.4s }
.layout-10 { --left:17%;--size:9px;--delay:1.1s;--rise:2.1s }
.layout-11 { --left:27%;--size:26px;--delay:0.4s;--rise:2.8s }
.layout-12 { --left:38%;--size:12px;--delay:1.4s;--rise:2.4s }
.layout-13 { --left:48%;--size:35px;--delay:0.9s;--rise:2.6s }
.layout-14 { --left:59%;--size:15px;--delay:0.3s;--rise:2.3s }
.layout-15 { --left:69%;--size:24px;--delay:1.1s;--rise:2.5s }
.layout-16 { --left:80%;--size:10px;--delay:0.7s;--rise:2.1s }
.layout-17 { --left:89%;--size:30px;--delay:1.3s;--rise:2.7s }
.layout-18 { --left:95%;--size:13px;--delay:0.4s;--rise:2.2s }
.layout-19 { --column: 10; --span: 3; --row: 4; --mobile-column: 2; --mobile-row: 4; }
.layout-20 { --column: 17; --span: 3; --row: 8; --mobile-column: 7; --mobile-row: 8; }
.layout-21 { --column: 15; --span: 4; --row: 15; --mobile-column: 2; --mobile-row: 15; }
.layout-22 { --column: 6; --span: 3; --row: 19; --mobile-column: 7; --mobile-row: 19; }
.layout-23 { --column: 8; --span: 4; --row: 4; --mobile-column: 2; --mobile-row: 4; }
.layout-24 { --column: 4; --span: 4; --row: 8; --mobile-column: 7; --mobile-row: 8; }
.layout-25 { --column: 13; --span: 5; --row: 15; --mobile-column: 2; --mobile-row: 15; }
.layout-26 { --column: 16; --span: 6; --row: 19; --mobile-column: 7; --mobile-row: 19; }
.layout-27 { --column: 3; --span: 4; --row: 4; --mobile-column: 2; --mobile-row: 4; }
.layout-28 { --column: 12; --span: 6; --row: 8; --mobile-column: 7; --mobile-row: 8; }
.layout-29 { --column: 6; --span: 6; --row: 15; --mobile-column: 2; --mobile-row: 15; }
.layout-30 { --column: 17; --span: 5; --row: 19; --mobile-column: 7; --mobile-row: 19; }
.layout-31 { --column: 19; --span: 6; --row: 23; --mobile-column: 2; --mobile-row: 23; }
.layout-32 { --column: 4; --span: 5; --row: 4; --mobile-column: 2; --mobile-row: 4; }
.layout-33 { --column: 18; --span: 3; --row: 8; --mobile-column: 7; --mobile-row: 8; }
.layout-34 { --column: 14; --span: 8; --row: 15; --mobile-column: 2; --mobile-row: 15; }
.layout-35 { --column: 7; --span: 3; --row: 19; --mobile-column: 7; --mobile-row: 19; }

.mobile-vector-scene { object-fit: fill; }
.mobile-vector-river { object-fit: fill; }

/* Discovery summary: three columns with an exploration link. */
.species-note {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(180px, 1fr) 250px;
  align-items: center;
  width: min(800px, calc(100% - 48px));
  margin: 0 auto;
  bottom: 24px;
  padding: 42px 32px 20px;
  gap: 24px 20px;
  border: 2px solid #b7d5fa;
  border-radius: 120px;
  background: radial-gradient(ellipse at 50% 0, #24547799, transparent 65%), linear-gradient(145deg, #17364de6, #06182fee 55%, #193b57e6);
  box-shadow: inset 0 0 32px #b4dcff18, 0 8px 30px #0006;
  color: #d4edff;
}
.species-note::before {
  content: ""; position: absolute; top: -2px; left: 30%; right: 30%; height: 2px;
  background: #dbfcff; box-shadow: 0 0 12px 2px #70e0ff88;
}
.species-brand { display: grid; justify-items: center; gap: 10px; text-align: center; color: #829fc1; font-size: 15px; font-weight: 600; letter-spacing: 5px; line-height: 1.6; }
.species-icon {
  display: block; width: 70px; height: 34px;
  background: linear-gradient(#def5ff, #84bdeb);
  -webkit-mask: url("https://res.cloudinary.com/znp6oo4q/image/upload/p32_20260924_color-perch.webp") center / contain no-repeat;
  mask: url("https://res.cloudinary.com/znp6oo4q/image/upload/p32_20260924_color-perch.webp") center / contain no-repeat;
}
.species-total { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 0; border-inline: 1px solid #8aaed470; padding: 0 20px; white-space: nowrap; line-height: 1; }
.discovery-count { font-size: 110px; font-weight: 700; letter-spacing: -5px; color: #d5eeff; background: linear-gradient(#a5ddff 12%, #6fbbef 45%, #f2faff 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.species-limit { font-size: 52px; color: #a9caf4; font-weight: 500; }
.species-explore { display: flex; justify-content: center; align-items: center; gap: 14px; color: #d5efff; font-size: 23px; font-weight: 500; text-decoration: none; white-space: nowrap; min-height: 64px; border-radius: 40px; }
.species-arrow { display: grid; place-items: center; flex: 0 0 64px; height: 64px; font-size: 44px; line-height: 1; border-radius: 50%; background: linear-gradient(135deg, #8db6e03d, #759fc51f); box-shadow: inset 0 0 16px #b5dbff12; transition: background .2s, transform .2s; }
.species-explore:hover .species-arrow { transform: translateX(4px); background: #7faacc55; }
.species-explore:focus-visible { outline: 2px solid #dcf6ff; outline-offset: 5px; }
.species-caption { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: center; color: #859fbd; text-align: center; font-size: 12px; letter-spacing: 5px; }
.species-caption > span { width: 58%; height: 3px; border-radius: 2px; background: #90abc34a; }
@media (max-width: 700px) {
  .species-note { width: calc(100% - 28px); grid-template-columns: 66px minmax(88px, 1fr) 126px; padding: 24px 14px 18px; gap: 17px 8px; border-radius: 64px; }
  .species-brand { font-size: 9px; letter-spacing: 2px; gap: 6px; }
  .species-icon { width: 43px; height: 24px; }
  .species-total { gap: 4px; padding: 0 4px; }
  .discovery-count { font-size: 44px; letter-spacing: -2px; }
  .species-limit { font-size: 22px; }
  .species-explore { font-size: 13px; gap: 7px; min-height: 44px; }
  .species-arrow { flex-basis: 36px; height: 36px; font-size: 28px; }
  .species-caption { font-size: 8px; letter-spacing: 2.5px; gap: 10px; }
  .species-caption > span { width: 66%; height: 2px; }
}
@media (max-width: 360px) {
  .species-note { grid-template-columns: 54px minmax(74px, 1fr) 110px; padding-inline: 10px; gap: 16px 6px; }
  .discovery-count { font-size: 36px; }
  .species-limit { font-size: 18px; }
  .species-explore { font-size: 12px; gap: 4px; }
  .species-arrow { flex-basis: 30px; height: 30px; }
}
