:root {
  --pond-bg: #061014;
  --pond-panel: #102d35;
  --pond-line: rgba(198, 244, 255, 0.18);
  --pond-text: #f0fbff;
  --pond-muted: #a9c8cf;
  --pond-accent: #5dd6e8;
  --pond-accent-2: #9be7c4;
  --pond-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --pond-radius: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body.pond-page {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--pond-text);
  background:
    radial-gradient(circle at 20% 10%, rgba(93, 214, 232, 0.22), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(155, 231, 196, 0.15), transparent 30%),
    linear-gradient(145deg, #03080b 0%, #061014 45%, #081b20 100%);
}

body.pond-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 120%, rgba(93, 214, 232, 0.16), transparent 46%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 14px
    );
}

body.pond-page .pond-shell {
  width: min(1040px, calc(100% - 32px));
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 0 54px;
}

.pond-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--pond-muted);
  text-decoration: none;
  font-weight: 700;
}

.pond-back-link:hover,
.pond-back-link:focus-visible {
  color: var(--pond-text);
}

.pond-hero,
.pond-panel {
  border: 1px solid var(--pond-line);
  background:
    linear-gradient(180deg, rgba(20, 67, 78, 0.98), rgba(9, 33, 40, 0.98));
  box-shadow: var(--pond-shadow);
  border-radius: var(--pond-radius);
}

body.pond-page .pond-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 30px;
}

.pond-hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -42% -15%;
  height: 70%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(93, 214, 232, 0.22), transparent 68%);
}

.pond-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.pond-logo-wrap {
  display: grid;
  place-items: center;
}

body.pond-page .pond-logo {
  display: block;
  width: min(460px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
}

.pond-hero-text {
  max-width: 420px;
  margin: 0;
  text-align: left;
}

.pond-kicker {
  margin: 0 0 8px;
  color: var(--pond-accent-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pond-hero-text p:last-child {
  margin: 0;
  color: var(--pond-muted);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.55;
}

.pond-hero h1,
.pond-panel h2,
.fish-card h3,
.plant-card h3,
.pond-media-info h3 {
  margin: 0;
  line-height: 1.08;
}

.pond-panel {
  margin-top: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.pond-section-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
}

.pond-section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--pond-line);
  border-radius: 999px;
  color: var(--pond-text);
  background: rgba(255, 255, 255, 0.065);
  text-decoration: none;
  font-weight: 800;
}

.pond-section-nav a:hover,
.pond-section-nav a:focus-visible {
  background: rgba(93, 214, 232, 0.18);
  border-color: rgba(93, 214, 232, 0.45);
}

/* ===== Overview ===== */

.pond-overview {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}

.pond-overview-photo {
  overflow: hidden;
  border: 1px solid var(--pond-line);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.pond-overview-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 255px;
  object-fit: cover;
}

.pond-overview-content {
  display: grid;
  align-content: center;
  gap: 18px;
}

.pond-overview h2,
.pond-section-heading h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  letter-spacing: -0.035em;
}

.pond-overview p,
.pond-section-heading p,
.fish-card-body p {
  color: var(--pond-muted);
  line-height: 1.55;
}

.pond-overview p {
  margin-bottom: 0;
}

.pond-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pond-stats div {
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--pond-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  align-content: center;
  text-align: center;
}

.pond-stats strong {
  display: block;
  color: var(--pond-accent);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.pond-stats span {
  display: block;
  margin-top: 6px;
  color: var(--pond-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.pond-section-heading {
  margin-bottom: 16px;
}

.pond-section-heading p:last-child {
  margin-bottom: 0;
}

/* ===== Fish Cards ===== */

.fish-profile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.fish-card {
  overflow: hidden;
  border: 1px solid var(--pond-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
}

.fish-profile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(93, 214, 232, 0.2), transparent 60%),
    rgba(0, 0, 0, 0.18);
}

.fish-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fish-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 3rem;
}

.fish-card-body {
  padding: 13px;
}

.fish-card h3 {
  font-size: 1.05rem;
}

.fish-card-body p {
  font-size: 0.82rem;
  margin: 9px 0 0;
}

/* ===== Visitor Cards ===== */

.visitor-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.visitor-card {
  overflow: hidden;
  border: 1px solid var(--pond-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
}

.visitor-profile-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 50%, rgba(155, 231, 196, 0.2), transparent 62%),
    rgba(0, 0, 0, 0.18);
}

.visitor-profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visitor-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 3rem;
}

.visitor-card-body {
  padding: 14px;
}

.visitor-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.1;
}

.visitor-type {
  margin: 8px 0 0;
  color: var(--pond-text);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.visitor-notes {
  margin: 8px 0 0;
  color: var(--pond-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ===== Plant Cards ===== */

.plant-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.plant-card {
  overflow: hidden;
  border: 1px solid var(--pond-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.plant-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(155, 231, 196, 0.24), transparent 64%),
    rgba(0, 0, 0, 0.18);
}

.plant-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plant-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.8rem;
}

.plant-card-body {
  padding: 13px;
}

.plant-card h3 {
  font-size: 1rem;
}

.plant-card p {
  margin: 8px 0 7px;
  color: var(--pond-text);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.plant-card span {
  display: block;
  color: var(--pond-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ===== Media Cards ===== */

details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  color: var(--pond-text);
  font-weight: 800;
}

summary:hover {
  color: var(--pond-accent);
}

.pond-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pond-media-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

details .pond-media-grid,
details .pond-media-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.pond-media-card {
  overflow: hidden;
  border: 1px solid var(--pond-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.pond-media-card img,
.pond-media-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;

  background: rgba(0, 0, 0, 0.25);
}

.compact-panel .pond-media-card img,
.compact-panel .pond-media-card video {
  aspect-ratio: 16 / 9;
}

.pond-media-card a {
  display: block;
}

.pond-media-info {
  padding: 11px 12px 13px;
}

.pond-media-info h3 {
  font-size: 0.9rem;
}

.pond-media-info p {
  margin: 5px 0 0;
  color: var(--pond-muted);
  font-size: 0.78rem;
}

.pond-archive {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--pond-line);
}

.pond-archive summary {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid var(--pond-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.pond-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed rgba(198, 244, 255, 0.26);
  border-radius: 16px;
  color: var(--pond-muted);
  background: rgba(255, 255, 255, 0.045);
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
  .pond-overview {
    grid-template-columns: 1fr;
  }

  .pond-overview-photo img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .fish-profile-grid,
  .plant-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

    .visitor-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
	
}

@media (max-width: 820px) {
  body.pond-page .pond-shell {
    width: min(100% - 22px, 1040px);
    padding-top: 18px;
  }

  body.pond-page .pond-hero {
    padding: 16px;
  }

  .pond-hero-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.pond-page .pond-logo {
    width: min(340px, 94%);
  }

  .pond-hero-text {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .pond-overview-photo img {
    aspect-ratio: 16 / 9;
    max-height: 230px;
  }

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

  .pond-media-grid,
  .pond-media-grid-compact,
  details .pond-media-grid,
  details .pond-media-grid-compact {
    grid-template-columns: 1fr;
  }

  .pond-section-nav {
    justify-content: stretch;
  }

  .pond-section-nav a {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 560px) {
  .fish-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fish-card-body p {
    display: none;
  }

  .fish-card-body {
    padding: 11px;
  }

  .fish-card h3 {
    font-size: 1rem;
  }

  .plant-card-grid {
    grid-template-columns: 1fr;
  }

  .plant-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: 112px;
  }

  .plant-card-image {
    width: 112px;
    height: 112px;
    aspect-ratio: auto;
  }

  .plant-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .plant-placeholder {
    font-size: 2rem;
  }

  .plant-card-body {
    padding: 12px;
    align-self: center;
  }

  .plant-card h3 {
    font-size: 1rem;
  }

  .plant-card p {
    margin: 7px 0 6px;
    font-size: 0.82rem;
  }

  .plant-card span {
    display: block;
    font-size: 0.78rem;
  }

    .visitor-profile-grid {
    grid-template-columns: 1fr;
  }

  .visitor-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: 112px;
  }

  .visitor-profile-image {
    width: 112px;
    height: 112px;
    aspect-ratio: auto;
  }

  .visitor-card-body {
    padding: 12px;
    align-self: center;
  }

  .visitor-card h3 {
    font-size: 1rem;
  }

  .visitor-type {
    margin-top: 6px;
    font-size: 0.8rem;
  }

  .visitor-notes {
    font-size: 0.78rem;
  }
	
}

@media (max-width: 480px) {
  body.pond-page .pond-shell {
    width: min(100% - 18px, 1040px);
  }

  body.pond-page .pond-logo {
    width: min(305px, 96%);
  }

  .pond-overview-photo img {
    aspect-ratio: 16 / 10;
    max-height: 180px;
  }

  .pond-stats {
    grid-template-columns: 1fr;
  }

  .pond-section-nav a {
    flex-basis: 100%;
  }

  .pond-panel {
    padding: 18px;
  }

  .plant-card {
    grid-template-columns: 96px 1fr;
    min-height: 96px;
  }

  .plant-card-image {
    width: 96px;
    height: 96px;
  }
	
    .visitor-card {
    grid-template-columns: 96px 1fr;
    min-height: 96px;
  }

  .visitor-profile-image {
    width: 96px;
    height: 96px;
  }
	
}