:root {
  --ccb-deep-estuary: #234c4f;
  --ccb-shore-pine: #2f5d50;
  --ccb-moss-green: #6f7f5f;
  --ccb-fog: #f4f1ea;
  --ccb-paper: #fffdf8;
  --ccb-paper-warm: #faf6ee;
  --ccb-spruce: var(--ccb-deep-estuary);
  --ccb-spruce-soft: var(--ccb-shore-pine);
  --ccb-tide: #2f7f9f;
  --ccb-tide-deep: var(--ccb-deep-estuary);
  --ccb-marsh: var(--ccb-moss-green);
  --ccb-mist-blue: #d3dddc;
  --ccb-sand: #d8cbb8;
  --ccb-driftwood: #8d8173;
  --ccb-clay: #c58b2c;
  --ccb-ink: #26302f;
  --ccb-muted: #66716d;
  --ccb-border: rgba(35, 76, 79, 0.18);
  --ccb-shadow: 0 18px 45px rgba(35, 76, 79, 0.13);
}

.ccb-site {
  margin: 0;
  color: var(--ccb-ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(244, 241, 234, 0.98)),
    radial-gradient(circle at 8% 18%, rgba(47, 127, 159, 0.2), transparent 23rem),
    radial-gradient(circle at 92% 12%, rgba(111, 127, 95, 0.22), transparent 24rem),
    radial-gradient(circle at 70% 82%, rgba(216, 203, 184, 0.32), transparent 26rem),
    var(--ccb-fog);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.ccb-site a {
  color: var(--ccb-deep-estuary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.ccb-site a:hover {
  color: var(--ccb-spruce);
}

.ccb-site :focus-visible {
  outline: 3px solid rgba(47, 127, 159, 0.56);
  outline-offset: 3px;
}

.ccb-site img {
  max-width: 100%;
  height: auto;
}

.ccb-site .container {
  width: min(1120px, calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

.ccb-site .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.ccb-site .g-4 {
  row-gap: 1.5rem;
}

.ccb-site .row > * {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.ccb-site .align-items-stretch {
  align-items: stretch;
}

.ccb-site .btn {
  display: inline-block;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}

.ccb-site .btn-lg {
  padding: 0.9rem 1.2rem;
  font-size: 1.05rem;
}

.ccb-site .form-control,
.ccb-site .form-select {
  display: block;
  width: 100%;
  min-height: 3.5rem;
  padding: 1rem;
  border: 1px solid var(--ccb-border);
}

.ccb-site .mb-2 {
  margin-bottom: 0.5rem;
}

.ccb-site .mb-3 {
  margin-bottom: 1rem;
}

.ccb-site .mt-3 {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .ccb-site .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .ccb-detail--split {
    grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 1.35fr);
    align-items: start;
  }
}

@media (min-width: 992px) {
  .ccb-site .mb-lg-0 {
    margin-bottom: 0;
  }

  .ccb-site .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .ccb-site .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .ccb-site .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .ccb-nav .navbar-collapse {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .ccb-site .col-xl-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
}

.ccb-skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--ccb-spruce);
  border-radius: 6px;
}

.ccb-skip-link:focus {
  top: 1rem;
}

.ccb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(90deg, rgba(35, 76, 79, 0.08), rgba(197, 139, 44, 0.06)),
    rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(35, 76, 79, 0.22);
  box-shadow: 0 10px 30px rgba(35, 76, 79, 0.08);
  backdrop-filter: blur(12px);
}

.ccb-nav {
  min-height: 4.5rem;
}

.ccb-nav .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ccb-nav .navbar-collapse {
  flex: 1;
}

.ccb-nav .navbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.ccb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ccb-spruce);
  font-weight: 760;
  letter-spacing: 0;
}

.ccb-icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  object-fit: contain;
  vertical-align: -0.15em;
}

.ccb-brand-icon {
  width: 2.1rem;
  height: 2.1rem;
  border: 0.42rem solid rgba(255, 253, 248, 0.92);
  background:
    radial-gradient(circle at 35% 28%, var(--ccb-clay) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--ccb-tide), var(--ccb-deep-estuary));
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 0.22rem var(--ccb-marsh),
    0 0 0 1px rgba(35, 76, 79, 0.2);
}

.ccb-nav .nav-link {
  position: relative;
  color: var(--ccb-spruce-soft);
  font-weight: 650;
  border-radius: 8px;
  transition: background-color 140ms ease, color 140ms ease;
}

.ccb-nav .nav-link.active,
.ccb-nav .nav-link:hover,
.ccb-nav .nav-link:focus {
  color: var(--ccb-spruce);
  background: rgba(47, 127, 159, 0.1);
  text-decoration: none;
}

.ccb-nav .nav-link::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  bottom: 0.1rem;
  left: 0.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--ccb-clay), var(--ccb-tide));
  border-radius: 999px;
  opacity: 0;
  transition: opacity 140ms ease;
}

.ccb-nav .nav-link.active::after,
.ccb-nav .nav-link:hover::after,
.ccb-nav .nav-link:focus::after {
  opacity: 1;
}

.ccb-account-name {
  display: inline-flex;
  align-items: center;
  margin-right: 0.4rem;
  color: var(--ccb-muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.ccb-account-name:hover,
.ccb-account-name:focus {
  color: var(--ccb-spruce);
  text-decoration: underline;
}

.ccb-nav .navbar-toggler {
  border-color: rgba(35, 76, 79, 0.28);
  border-radius: 8px;
}

.ccb-nav .navbar-toggler-icon {
  width: 1.4rem;
  height: 1.4rem;
  background-image:
    linear-gradient(var(--ccb-spruce), var(--ccb-spruce)),
    linear-gradient(var(--ccb-spruce), var(--ccb-spruce)),
    linear-gradient(var(--ccb-spruce), var(--ccb-spruce));
  background-position: center 0.3rem, center center, center 1.05rem;
  background-repeat: no-repeat;
  background-size: 1.3rem 2px;
}

.ccb-account-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.ccb-site .btn {
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(35, 76, 79, 0.1);
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.ccb-site .btn:hover {
  transform: translateY(-1px);
}

.ccb-site .btn-primary {
  background: linear-gradient(135deg, var(--ccb-deep-estuary), var(--ccb-shore-pine));
  border-color: var(--ccb-deep-estuary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(35, 76, 79, 0.24);
}

.ccb-site .btn-primary:hover,
.ccb-site .btn-primary:focus {
  background: linear-gradient(135deg, #1d4043, #294f44);
  border-color: #1d4043;
  color: #fffdf8;
  box-shadow: 0 14px 30px rgba(35, 76, 79, 0.3);
}

.ccb-site .btn-outline-primary {
  color: var(--ccb-tide-deep);
  border-color: rgba(47, 127, 159, 0.46);
}

.ccb-site .btn-outline-primary:hover,
.ccb-site .btn-outline-primary:focus {
  color: #fff;
  background: var(--ccb-deep-estuary);
  border-color: var(--ccb-deep-estuary);
}

.ccb-hero {
  min-height: 72vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(35, 76, 79, 0.12), rgba(35, 76, 79, 0.9)),
    radial-gradient(circle at 16% 14%, rgba(244, 241, 234, 0.24), transparent 24rem),
    radial-gradient(circle at 78% 22%, rgba(47, 127, 159, 0.36), transparent 26rem),
    radial-gradient(circle at 58% 78%, rgba(197, 139, 44, 0.16), transparent 20rem),
    linear-gradient(135deg, #4f6f78 0%, #2f5d50 38%, #234c4f 72%, #172f31 100%);
}

.ccb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 248, 0.06) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  opacity: 0.22;
  pointer-events: none;
}

.ccb-hero::after {
  content: "";
  position: absolute;
  right: max(1rem, 8vw);
  bottom: 4rem;
  width: min(28rem, 58vw);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.12), rgba(35, 76, 79, 0.3)),
    linear-gradient(135deg, rgba(211, 221, 220, 0.56), rgba(111, 127, 95, 0.28) 48%, rgba(35, 76, 79, 0.42));
  box-shadow: 0 24px 60px rgba(8, 25, 22, 0.24);
  opacity: 0.48;
  pointer-events: none;
}

.ccb-hero--with-photo::after {
  display: none;
}

.ccb-hero-photo {
  position: absolute;
  right: max(1rem, 8vw);
  bottom: 4rem;
  z-index: 3;
  display: grid;
  width: min(32rem, 48vw);
  margin: 0;
  overflow: hidden;
  color: #fffdf8;
  cursor: pointer;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(211, 221, 220, 0.5), rgba(35, 76, 79, 0.68)),
    var(--ccb-mist-blue);
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(8, 25, 22, 0.32);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-hero-photo__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: inherit;
}

.ccb-hero-photo__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: filter 160ms ease, transform 160ms ease;
}

.ccb-hero-photo__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.55rem 0.75rem;
  color: #fffdf8;
  background: rgba(8, 25, 22, 0.9);
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(8, 25, 22, 0.72);
}

.ccb-hero-photo__caption span {
  min-width: 0;
}

.ccb-hero-photo__caption strong {
  flex: 0 0 auto;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccb-hero-photo:hover,
.ccb-hero-photo:focus-within {
  color: #fffdf8;
  text-decoration: none;
  border-color: rgba(255, 253, 248, 0.62);
  box-shadow: 0 28px 70px rgba(8, 25, 22, 0.4);
  transform: translateY(-2px);
}

.ccb-hero-photo:hover img,
.ccb-hero-photo:focus-within img {
  filter: brightness(1.06);
  transform: scale(1.015);
}

.ccb-hero-photo:focus-visible {
  outline: 3px solid rgba(255, 253, 248, 0.78);
  outline-offset: 4px;
}

.ccb-hero .btn-primary {
  background: linear-gradient(135deg, var(--ccb-clay), #a97426);
  border-color: rgba(255, 253, 248, 0.28);
  color: #1f2827;
  box-shadow: 0 16px 34px rgba(8, 25, 22, 0.28);
}

.ccb-hero .btn-primary:hover,
.ccb-hero .btn-primary:focus {
  background: linear-gradient(135deg, #d49a38, var(--ccb-clay));
  border-color: rgba(255, 253, 248, 0.42);
  color: #17211f;
}

.ccb-hero .btn-outline-light {
  border-color: rgba(255, 253, 248, 0.72);
  color: #fffdf8;
  background: rgba(47, 127, 159, 0.24);
  backdrop-filter: blur(8px);
}

.ccb-hero .btn-outline-light:hover,
.ccb-hero .btn-outline-light:focus {
  color: #17211f;
  background: #fffdf8;
  border-color: #fffdf8;
}

.ccb-hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0 5rem;
}

.ccb-hero h1,
.ccb-page-hero h1 {
  max-width: 12ch;
  margin: 0 0 1rem;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.ccb-lede,
.ccb-page-hero p {
  max-width: 44rem;
  font-size: 1.18rem;
  color: inherit;
}

.ccb-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.ccb-actions--inline {
  margin-top: 1rem;
}

.ccb-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 44rem;
  margin-top: 2rem;
}

.ccb-hero-strip span {
  padding: 0.38rem 0.7rem;
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(255, 253, 248, 0.26);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.ccb-kicker {
  margin: 0 0 0.65rem;
  color: var(--ccb-clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ccb-hero .ccb-kicker {
  color: #f3c86f;
}

.ccb-page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 203, 184, 0.22), transparent 19rem),
    linear-gradient(135deg, rgba(35, 76, 79, 0.98), rgba(47, 127, 159, 0.86)),
    var(--ccb-spruce);
  padding: 4.5rem 0 4rem;
}

.ccb-page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.ccb-section {
  padding: 4.5rem 0;
}

.ccb-section--tint {
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 127, 159, 0.12), transparent 20rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.28), rgba(216, 203, 184, 0.36)),
    #e6dccd;
  border-block: 1px solid var(--ccb-border);
}

.ccb-section-heading {
  max-width: 46rem;
  margin-bottom: 1.8rem;
}

.ccb-section-heading p:last-child {
  margin-bottom: 0;
  color: var(--ccb-muted);
}

.ccb-section-heading h1 {
  margin: 0 0 0.7rem;
}

.ccb-section-heading h1,
.ccb-static-page h1,
.ccb-section-heading h2,
.ccb-feature h2,
.ccb-season-note h2,
.ccb-detail h2 {
  color: var(--ccb-spruce);
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.ccb-index-page {
  padding-top: 1.5rem;
}

.ccb-card,
.ccb-detail,
.ccb-feature,
.ccb-season-note,
.ccb-form-panel,
.ccb-empty-state,
.ccb-admin-panel {
  position: relative;
  height: 100%;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 246, 238, 0.98));
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: var(--ccb-shadow);
}

.ccb-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ccb-card::before,
.ccb-detail::before,
.ccb-feature::before,
.ccb-season-note::before,
.ccb-form-panel::before,
.ccb-empty-state::before,
.ccb-admin-panel::before {
  content: "";
  position: absolute;
  inset: 0.7rem auto 0.7rem 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ccb-clay), var(--ccb-marsh), var(--ccb-tide));
  border-radius: 999px;
  opacity: 0.72;
}

.ccb-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 127, 159, 0.28);
  box-shadow: 0 22px 52px rgba(35, 76, 79, 0.17);
}

.ccb-card h3 {
  margin: 0.4rem 0 0.35rem;
  color: var(--ccb-spruce);
  font-size: 1.28rem;
  line-height: 1.2;
}

.ccb-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ccb-card h3 a:hover {
  text-decoration: underline;
}

.ccb-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.28rem 0.55rem;
  color: var(--ccb-spruce);
  background:
    linear-gradient(180deg, rgba(216, 203, 184, 0.68), rgba(244, 241, 234, 0.82));
  border: 1px solid rgba(197, 139, 44, 0.34);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ccb-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.ccb-chip-row span {
  padding: 0.25rem 0.5rem;
  color: var(--ccb-deep-estuary);
  background: rgba(47, 127, 159, 0.1);
  border: 1px solid rgba(47, 127, 159, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.ccb-sighting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ccb-sighting-card-shell {
  min-width: 0;
}

.ccb-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.ccb-photo-grid > * {
  width: 100%;
  max-width: none;
}

.ccb-sighting-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(35, 76, 79, 0.09);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-sighting-card:hover,
.ccb-sighting-card:focus-visible {
  color: inherit;
  border-color: rgba(197, 139, 44, 0.48);
  box-shadow: 0 16px 34px rgba(35, 76, 79, 0.14);
  text-decoration: none;
  transform: translateY(-2px);
}

.ccb-sighting-card:focus-visible {
  outline: 3px solid rgba(197, 139, 44, 0.28);
  outline-offset: 3px;
}

.ccb-sighting-card__body {
  position: relative;
  flex: 1 1 auto;
  padding: 1.35rem 1.25rem 1.15rem;
}

.ccb-sighting-card__photo-indicator {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--ccb-spruce);
}

.ccb-sighting-card__photo-indicator svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ccb-sighting-card__species {
  padding-right: 2rem;
}

.ccb-sighting-card__species h3 {
  margin: 0;
  color: var(--ccb-spruce);
  font-size: 1.45rem;
  line-height: 1.15;
}

.ccb-sighting-card__species p {
  margin: 0.35rem 0 0;
  color: var(--ccb-muted);
  font-size: 0.94rem;
  line-height: 1.35;
}

.ccb-sighting-card__rule {
  width: 3rem;
  height: 2px;
  margin: 1rem 0;
  background: rgba(197, 139, 44, 0.72);
}

.ccb-sighting-card__meta {
  display: grid;
  gap: 0.55rem;
  color: var(--ccb-ink);
  font-size: 0.92rem;
  line-height: 1.42;
}

.ccb-sighting-card__meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-width: 0;
}

.ccb-sighting-card__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  min-width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.05rem;
  color: var(--ccb-spruce);
}

.ccb-sighting-card__meta-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ccb-sighting-card__meta strong {
  color: var(--ccb-spruce);
  font-weight: 800;
}

.ccb-sighting-card__note {
  position: relative;
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0 0;
  overflow: hidden;
  color: var(--ccb-ink);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
}

.ccb-sighting-card__note::before {
  content: "\201C";
  flex: 0 0 auto;
  margin-top: -0.45rem;
  color: var(--ccb-clay);
  font-family: Georgia, serif;
  font-size: 2.35rem;
  font-style: normal;
  line-height: 1;
}

.ccb-sighting-card__note span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ccb-sighting-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: auto;
  padding: 0.8rem 1.25rem 0.85rem;
  border-top: 1px solid var(--ccb-border);
  color: var(--ccb-spruce);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.ccb-sighting-card .feature-card-arrow {
  transition: transform 160ms ease;
}

.ccb-sighting-card:hover .feature-card-arrow,
.ccb-sighting-card:focus-visible .feature-card-arrow {
  transform: translateX(3px);
}

.ccb-photo-card--gallery {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(35, 76, 79, 0.09);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-photo-card--gallery:hover,
.ccb-photo-card--gallery:focus-visible {
  color: inherit;
  border-color: rgba(197, 139, 44, 0.48);
  box-shadow: 0 16px 34px rgba(35, 76, 79, 0.14);
  text-decoration: none;
  transform: translateY(-2px);
}

.ccb-photo-card--gallery:focus-visible {
  outline: 3px solid rgba(197, 139, 44, 0.28);
  outline-offset: 3px;
}

.ccb-photo-card--gallery .ccb-photo-card__image-wrap {
  position: relative;
  display: block;
  width: auto;
  max-width: 100%;
  height: 130px;
  margin: 1rem 1rem 0;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--ccb-mist-blue);
  border-radius: 0.85rem;
}

.ccb-photo-card--gallery .ccb-photo-card__image,
.ccb-photo-card--gallery .ccb-photo-card__placeholder {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.ccb-photo-card__placeholder {
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.16), rgba(35, 76, 79, 0.48)),
    linear-gradient(135deg, #c4d0ca, #4f6f78 52%, #26302f);
}

.ccb-photo-card__body {
  display: block;
  flex: 1 1 auto;
  padding: 1.15rem 1.15rem 1rem;
}

.ccb-photo-card__species,
.ccb-photo-card__rule {
  display: block;
}

.ccb-photo-card__species h3 {
  margin: 0;
  color: var(--ccb-spruce);
  font-size: 1.3rem;
  line-height: 1.12;
}

.ccb-photo-card__species p {
  margin: 0.35rem 0 0;
  color: var(--ccb-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.ccb-photo-card__rule {
  width: 2.75rem;
  height: 2px;
  margin: 0.9rem 0;
  background: rgba(197, 139, 44, 0.72);
}

.ccb-photo-card__meta {
  display: grid;
  gap: 0.5rem;
  color: var(--ccb-ink);
  font-size: 0.9rem;
  line-height: 1.42;
}

.ccb-photo-card__meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.ccb-photo-card__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  min-width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.05rem;
  color: var(--ccb-spruce);
}

.ccb-photo-card__meta-icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ccb-photo-card__meta strong {
  color: var(--ccb-spruce);
  font-weight: 800;
}

.ccb-photo-card__note {
  display: -webkit-box;
  margin-top: 0.95rem;
  overflow: hidden;
  color: var(--ccb-ink);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ccb-photo-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: auto;
  padding: 0.8rem 1.15rem 0.85rem;
  border-top: 1px solid var(--ccb-border);
  color: var(--ccb-spruce);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.ccb-photo-card--gallery .feature-card-arrow {
  transition: transform 160ms ease;
}

.ccb-photo-card--gallery:hover .feature-card-arrow,
.ccb-photo-card--gallery:focus-visible .feature-card-arrow {
  transform: translateX(3px);
}

@media (min-width: 640px) {
  .ccb-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 18rem));
  }

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

@media (min-width: 992px) {
  .ccb-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 18rem));
  }

  .ccb-sighting-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .ccb-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 18rem));
  }

  .ccb-sighting-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ccb-species-group {
  margin-top: 2rem;
}

.ccb-species-group:first-child {
  margin-top: 0;
}

.ccb-species-group h3 {
  margin: 0 0 0.8rem;
  color: var(--ccb-spruce);
  font-size: 1.2rem;
  letter-spacing: 0;
}

.ccb-species-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.65rem;
}

.ccb-species-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.45rem;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.7rem 0.8rem;
  color: var(--ccb-spruce);
  text-decoration: none;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
}

.ccb-species-row:hover,
.ccb-species-row:focus {
  color: var(--ccb-spruce);
  border-color: rgba(47, 127, 159, 0.34);
  box-shadow: 0 12px 26px rgba(35, 76, 79, 0.11);
}

.ccb-species-row > span:first-child {
  min-width: 0;
  font-weight: 750;
}

.ccb-species-row .ccb-muted {
  grid-column: 1 / -1;
  font-size: 0.86rem;
}

.ccb-species-row .ccb-flag-row--compact {
  justify-self: end;
}

.ccb-flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.ccb-flag-row--compact {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0;
}

.ccb-flag-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.ccb-flag-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ccb-muted);
  font-size: 0.94rem;
}

.ccb-species-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  gap: 1.25rem;
  align-items: start;
}

.ccb-species-profile {
  max-width: none;
}

.ccb-species-note {
  margin: 1.25rem 0 0;
  color: var(--ccb-ink);
}

.ccb-species-flags {
  margin-bottom: 0.85rem;
}

.ccb-species-cta {
  position: relative;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 246, 238, 0.98));
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: var(--ccb-shadow);
}

.ccb-species-cta h2 {
  margin-bottom: 0.55rem;
  color: var(--ccb-spruce);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.ccb-species-activity-card h3 {
  margin-top: 0.55rem;
}

.ccb-bird-detail-page {
  padding-top: 1.5rem;
}

.ccb-bird-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 23rem);
  gap: 1.25rem;
  align-items: start;
}

.ccb-bird-detail-card {
  width: 100%;
  max-width: none;
}

.ccb-bird-detail-card::before {
  content: none;
}

.ccb-bird-detail-card h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
}

.ccb-bird-detail-header h1,
.ccb-bird-detail-page .ccb-detail--split h1 {
  margin: 0;
  color: var(--ccb-spruce);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.ccb-bird-detail__scientific {
  margin: 0.45rem 0 0;
  color: var(--ccb-muted);
  font-size: 1rem;
}

.ccb-bird-detail-card .ccb-meta-grid {
  margin-top: 0.85rem;
}

.ccb-bird-detail-card .ccb-species-note {
  margin-top: 1rem;
}

.ccb-bird-detail-layout .ccb-species-cta {
  position: sticky;
  top: 1rem;
}

.ccb-mini-art {
  aspect-ratio: 16 / 9;
  margin: -0.35rem -0.35rem 1rem;
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 28%, rgba(197, 139, 44, 0.42), transparent 0.55rem),
    radial-gradient(circle at 78% 20%, rgba(244, 241, 234, 0.5), transparent 2.6rem),
    linear-gradient(135deg, rgba(79, 111, 120, 0.78), rgba(47, 93, 80, 0.82) 46%, rgba(35, 76, 79, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.24);
}

.ccb-mini-art--place {
  background:
    radial-gradient(circle at 68% 24%, rgba(47, 127, 159, 0.36), transparent 3rem),
    linear-gradient(180deg, rgba(244, 241, 234, 0.62) 0 18%, rgba(216, 203, 184, 0.62) 18% 36%, rgba(111, 127, 95, 0.58) 36% 58%, rgba(35, 76, 79, 0.95) 58% 100%);
}

.ccb-card-meta,
.ccb-meta-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.ccb-card-meta {
  font-size: 0.92rem;
}

.ccb-card-meta div,
.ccb-meta-grid div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--ccb-border);
}

.ccb-card-meta dt,
.ccb-meta-grid dt {
  color: var(--ccb-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccb-card-meta dd,
.ccb-meta-grid dd {
  margin: 0.15rem 0 0;
  color: var(--ccb-ink);
}

.ccb-meta-grid {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.ccb-muted {
  color: var(--ccb-muted);
}

.ccb-photo-placeholder {
  aspect-ratio: 4 / 3;
  margin: -0.35rem -0.35rem 1rem;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.16), rgba(35, 76, 79, 0.48)),
    linear-gradient(135deg, #c4d0ca, #4f6f78 52%, #26302f);
}

.ccb-photo-section {
  margin-top: 1.5rem;
}

.ccb-photo-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.ccb-gallery-item {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0.65rem;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(35, 76, 79, 0.1);
}

.ccb-photo-link {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ccb-mist-blue);
}

.ccb-photo-link img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ccb-detail-photo-link {
  display: inline-block;
  max-width: 100%;
  border-radius: 8px;
  background: transparent;
}

.ccb-detail-photo {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
}

.ccb-gallery-item figcaption {
  color: var(--ccb-muted);
  font-size: 0.94rem;
}

.ccb-photo-card .ccb-photo-link {
  margin: -0.35rem -0.35rem 1rem;
}

.ccb-photo-card .ccb-photo-placeholder {
  margin: -0.35rem -0.35rem 1rem;
}

.ccb-photo-card-main {
  display: grid;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.ccb-photo-card-main:hover,
.ccb-photo-card-main:focus-visible {
  color: inherit;
  text-decoration: none;
}

.ccb-photo-card-title {
  color: var(--ccb-spruce);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
}

.ccb-photo-card-main .ccb-photo-link,
.ccb-photo-card-main .ccb-photo-placeholder {
  margin: -0.35rem -0.35rem 0.3rem;
}

.ccb-sighting-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.ccb-sighting-detail-card,
.ccb-detail.ccb-sighting-detail-card {
  width: 100%;
  max-width: none;
}

.ccb-sighting-detail-card::before {
  content: none;
}

.ccb-sighting-detail-card__species {
  padding-right: 0;
}

.ccb-sighting-detail-card__species h2 {
  margin: 0;
  color: var(--ccb-spruce);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.ccb-sighting-detail-card__species p {
  margin: 0.45rem 0 0;
  color: var(--ccb-muted);
  font-size: 1rem;
}

.ccb-sighting-detail-card__note {
  overflow: visible;
}

.ccb-sighting-detail-card__note span {
  display: block;
  overflow: visible;
  -webkit-line-clamp: initial;
}

.ccb-sighting-detail-media {
  min-width: 0;
}

.ccb-sighting-detail-media .ccb-photo-section {
  height: 100%;
  margin-top: 0;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 246, 238, 0.98));
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: var(--ccb-shadow);
}

.ccb-sighting-detail-media .ccb-section-heading {
  margin-bottom: 1rem;
}

.ccb-sighting-detail-media .ccb-section-heading h2 {
  font-size: 1.55rem;
}

.ccb-sighting-detail-media .ccb-photo-gallery {
  grid-template-columns: 1fr;
}

.ccb-sighting-detail-media .ccb-gallery-item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}

.ccb-sighting-detail-media .ccb-detail-photo-link,
.ccb-sighting-detail-media .ccb-detail-photo {
  display: block;
  width: 100%;
}

.ccb-sighting-detail-media .ccb-detail-photo {
  aspect-ratio: 4 / 3;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
}

.ccb-sighting-detail-media figcaption,
.ccb-sighting-detail-media .ccb-card-actions,
.ccb-sighting-detail-media .ccb-photo-remove {
  margin: 0.75rem;
}

.ccb-sighting-detail-media .ccb-empty-state {
  height: auto;
  padding: 1.1rem;
  box-shadow: none;
}

.ccb-sighting-detail-media .ccb-empty-state::before {
  content: none;
}

@media (min-width: 992px) {
  .ccb-sighting-detail-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.8fr);
  }
}

.ccb-upload-panel {
  position: relative;
  max-width: 42rem;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 246, 238, 0.98));
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: var(--ccb-shadow);
}

.ccb-upload-panel::before {
  content: "";
  position: absolute;
  inset: 0.7rem auto 0.7rem 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ccb-clay), var(--ccb-marsh), var(--ccb-tide));
  border-radius: 999px;
  opacity: 0.72;
}

.ccb-upload-panel .form-control {
  color: var(--ccb-ink);
  background: var(--ccb-paper-warm);
  border-color: var(--ccb-border);
  border-radius: 8px;
}

.ccb-photo-remove {
  margin: 0;
}

.ccb-caption-preview {
  display: block;
  width: min(100%, 22rem);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--ccb-mist-blue);
}

.ccb-feature--photo {
  overflow: hidden;
}

.ccb-form-panel {
  max-width: 42rem;
}

.ccb-sighting-form-panel {
  width: 100%;
  max-width: 58rem;
}

.ccb-field-help {
  margin: 0.5rem 0 0;
  color: var(--ccb-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.ccb-form-panel .form-control,
.ccb-form-panel .form-select {
  color: var(--ccb-ink);
  background: var(--ccb-paper-warm);
  border-color: var(--ccb-border);
  border-radius: 8px;
}

.ccb-form-panel .form-control:focus,
.ccb-form-panel .form-select:focus {
  border-color: var(--ccb-tide);
  box-shadow:
    0 0 0 0.2rem rgba(47, 127, 159, 0.22),
    0 8px 18px rgba(35, 76, 79, 0.08);
}

.ccb-form-panel .form-floating > label {
  color: var(--ccb-muted);
}

.ccb-form-panel .form-floating > .form-control,
.ccb-form-panel .form-floating > .form-select {
  padding-top: 1.8rem;
  padding-bottom: 0.65rem;
}

.ccb-form-panel .form-floating > textarea.form-control {
  padding-top: 2rem;
}

.ccb-form-panel .form-floating > label {
  padding-top: 0.82rem;
}

.ccb-detail {
  max-width: 54rem;
}

.ccb-static-page {
  width: 100%;
  max-width: none;
}

.ccb-static-page > :where(.ccb-kicker, h1, h2, h3, h4, p, ul, ol, blockquote) {
  max-width: 58rem;
}

.ccb-detail--split {
  display: grid;
  gap: 1.5rem;
  max-width: none;
}

.ccb-callout {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  color: var(--ccb-deep-estuary);
  background:
    linear-gradient(135deg, rgba(216, 203, 184, 0.52), rgba(244, 241, 234, 0.8));
  border: 1px solid rgba(197, 139, 44, 0.24);
  border-radius: 8px;
}

.ccb-callout strong {
  color: var(--ccb-spruce);
}

.ccb-callout--error {
  color: #5f2418;
  background:
    linear-gradient(135deg, rgba(159, 91, 70, 0.16), rgba(244, 241, 234, 0.88));
  border-color: rgba(159, 91, 70, 0.34);
}

.ccb-callout--error strong {
  color: #5f2418;
}

.ccb-dev-notice {
  color: var(--ccb-deep-estuary);
  background:
    linear-gradient(90deg, rgba(216, 203, 184, 0.7), rgba(244, 241, 234, 0.94));
  border-bottom: 1px solid rgba(197, 139, 44, 0.28);
  font-size: 0.94rem;
  font-weight: 650;
}

.ccb-dev-notice .container {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
}

.ccb-flash-wrap {
  padding-top: 1rem;
}

.ccb-flash {
  padding: 0.9rem 1rem;
  color: var(--ccb-deep-estuary);
  background: rgba(47, 127, 159, 0.1);
  border: 1px solid rgba(47, 127, 159, 0.22);
  border-radius: 8px;
  font-weight: 700;
}

.ccb-flash--error {
  color: #5f2418;
  background: rgba(159, 91, 70, 0.12);
  border-color: rgba(159, 91, 70, 0.3);
}

.ccb-owner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ccb-border);
}

.ccb-owner-actions form,
.ccb-owner-actions p {
  margin: 0;
}

.ccb-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ccb-maintenance-page {
  min-height: 70vh;
  display: grid;
  align-items: center;
}

.ccb-maintenance-panel {
  max-width: 44rem;
  padding: clamp(1.4rem, 5vw, 3rem);
  color: var(--ccb-ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 246, 238, 0.96));
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: var(--ccb-shadow);
}

.ccb-maintenance-panel h1 {
  color: var(--ccb-spruce);
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.ccb-textarea {
  min-height: 9rem;
}

.ccb-empty-state {
  max-width: 46rem;
  height: auto;
  text-align: left;
}

.ccb-home-empty {
  max-width: 54rem;
}

.ccb-home-activity {
  align-items: stretch;
}

.ccb-home-cta {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--ccb-ink);
  background:
    radial-gradient(circle at 84% 18%, rgba(47, 127, 159, 0.18), transparent 16rem),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(216, 203, 184, 0.5));
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: var(--ccb-shadow);
}

.ccb-home-cta::before {
  content: "";
  position: absolute;
  inset: 0.7rem auto 0.7rem 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ccb-clay), var(--ccb-marsh), var(--ccb-tide));
  border-radius: 999px;
  opacity: 0.72;
}

.ccb-home-cta h2 {
  max-width: 44rem;
  color: var(--ccb-spruce);
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  line-height: 1.08;
}

.ccb-home-cta p:not(.ccb-kicker) {
  max-width: 46rem;
  color: var(--ccb-muted);
}

.ccb-empty-state--compact {
  max-width: none;
  padding: 1rem;
  box-shadow: none;
}

.ccb-empty-state--compact h3 {
  margin: 0 0 0.35rem;
  color: var(--ccb-spruce);
  font-size: 1.05rem;
}

.ccb-empty-state--compact p {
  margin: 0;
}

.ccb-dashboard-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.ccb-card--action,
.ccb-card--quiet {
  min-height: 13rem;
}

.ccb-card--action .btn {
  margin-top: auto;
}

.ccb-record-list {
  display: grid;
  gap: 0.7rem;
}

.ccb-record {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--ccb-border);
}

.ccb-record:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ccb-record span {
  color: var(--ccb-muted);
}

.ccb-record strong a {
  color: inherit;
  text-decoration: none;
}

.ccb-record strong a:hover {
  text-decoration: underline;
}

.ccb-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.ccb-record-actions a {
  color: var(--ccb-deep-estuary);
}

.ccb-count-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.ccb-count-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ccb-border);
}

.ccb-count-list strong {
  color: var(--ccb-deep-estuary);
}

.ccb-admin-panel {
  max-width: 64rem;
  height: auto;
}

.ccb-admin-stats {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin: 1.25rem 0;
}

.ccb-admin-stats div,
.ccb-admin-stats a {
  display: block;
  padding: 1rem;
  background: rgba(244, 241, 234, 0.62);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  text-decoration: none;
}

.ccb-admin-stats a:hover,
.ccb-admin-stats a:focus {
  border-color: var(--ccb-spruce);
}

.ccb-admin-stats strong {
  display: block;
  color: var(--ccb-spruce);
  font-size: 1.8rem;
  line-height: 1;
}

.ccb-admin-stats span {
  color: var(--ccb-muted);
  font-size: 0.94rem;
}

.ccb-admin-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: -0.35rem 0 1.25rem;
}

.ccb-admin-status div {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.65rem;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
}

.ccb-admin-status strong {
  color: var(--ccb-spruce);
}

.ccb-admin-status span {
  color: var(--ccb-muted);
  font-size: 0.9rem;
}

.ccb-admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ccb-border);
}

.ccb-admin-nav .btn,
.ccb-admin-moderation .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.38rem 0.72rem;
  line-height: 1.1;
}

.ccb-admin-nav .btn-outline-primary.active {
  color: #fff;
}

.ccb-admin-table {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.ccb-admin-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  background: rgba(244, 241, 234, 0.62);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
}

.ccb-admin-row--split,
.ccb-admin-row--photo {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.ccb-admin-row--photo {
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
}

.ccb-admin-row--audit {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) auto;
}

.ccb-admin-row h3 {
  margin: 0;
  color: var(--ccb-spruce);
  font-size: 1.05rem;
}

.ccb-admin-row h3 a {
  color: inherit;
  text-decoration: none;
}

.ccb-admin-row h3 a:hover {
  text-decoration: underline;
}

.ccb-admin-row p {
  margin: 0;
  color: var(--ccb-muted);
}

.ccb-profile-header {
  padding: 4.5rem 0 3rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(34, 77, 82, 0.92), rgba(92, 119, 96, 0.82)),
    linear-gradient(180deg, var(--ccb-spruce), var(--ccb-marsh));
}

.ccb-profile-header h1 {
  max-width: 48rem;
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: 0;
}

.ccb-profile-public {
  max-width: 48rem;
}

.ccb-profile-bio {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

.ccb-profile-url {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

.ccb-profile-url:hover {
  color: #fff;
}

.ccb-profile-header .ccb-meta-grid {
  margin-top: 0.75rem;
}

.ccb-profile-header .ccb-meta-grid > div {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.ccb-profile-header .ccb-meta-grid dt,
.ccb-profile-header .ccb-meta-grid dd {
  color: #fff;
}

.ccb-profile-actions {
  margin-top: 1rem;
}

.ccb-profile-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ccb-profile-summary > div {
  padding: 1.2rem;
  background: var(--ccb-surface);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: var(--ccb-shadow-soft);
}

.ccb-profile-summary strong {
  display: block;
  color: var(--ccb-ink);
  font-family: var(--ccb-display-font);
  font-size: 1.8rem;
  line-height: 1.1;
}

.ccb-profile-summary span {
  display: block;
  margin-top: 0.35rem;
  color: var(--ccb-muted);
}

.ccb-profile-empty {
  margin-top: 1.5rem;
}

.ccb-profile-recent .ccb-empty-state {
  max-width: 42rem;
}

.ccb-sightings-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(216, 203, 184, 0.44));
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: var(--ccb-shadow);
}

.ccb-sightings-card-cta h2 {
  margin: 0 0 0.35rem;
  color: var(--ccb-spruce);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.ccb-sightings-card-cta p:not(.ccb-kicker) {
  margin: 0;
  color: var(--ccb-muted);
}

.ccb-sightings-card-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.ccb-sightings-card-cta__actions span {
  color: var(--ccb-deep-estuary);
  font-weight: 800;
}

.ccb-sightings-card {
  position: relative;
  max-width: 58rem;
  overflow: hidden;
  color: var(--ccb-ink);
  background:
    radial-gradient(circle at 92% 10%, rgba(197, 139, 44, 0.18), transparent 13rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(250, 246, 238, 0.98));
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: var(--ccb-shadow);
}

.ccb-sightings-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.36rem;
  background: linear-gradient(90deg, var(--ccb-clay), var(--ccb-marsh), var(--ccb-tide));
}

.ccb-sightings-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-bottom: 1px solid var(--ccb-border);
}

.ccb-sightings-card__header h2 {
  margin: 0 0 0.3rem;
  color: var(--ccb-spruce);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.ccb-sightings-card__header p:not(.ccb-kicker) {
  max-width: 42rem;
  margin: 0.35rem 0 0;
  color: var(--ccb-muted);
}

.ccb-sightings-card__member strong {
  color: var(--ccb-deep-estuary);
}

.ccb-sightings-card__mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  color: #fffdf8;
  background: linear-gradient(135deg, var(--ccb-deep-estuary), var(--ccb-shore-pine));
  border: 0.35rem solid rgba(216, 203, 184, 0.48);
  border-radius: 50%;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(35, 76, 79, 0.2);
}

.ccb-sightings-card__groups {
  display: grid;
  gap: 0;
}

.ccb-sightings-card__group {
  padding: 1.15rem clamp(1.25rem, 4vw, 2rem);
  border-bottom: 1px solid rgba(35, 76, 79, 0.12);
}

.ccb-sightings-card__group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.ccb-sightings-card__badge {
  display: inline-grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  color: var(--ccb-deep-estuary);
  background: rgba(216, 203, 184, 0.7);
  border: 1px solid rgba(197, 139, 44, 0.34);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.ccb-sightings-card__group h3 {
  margin: 0;
  color: var(--ccb-spruce);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccb-sightings-card__group-head > span:last-child {
  color: var(--ccb-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.ccb-sightings-card__species-list {
  display: grid;
}

.ccb-sightings-card__species-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.62rem 0 0.58rem;
  border-top: 1px dotted rgba(35, 76, 79, 0.2);
}

.ccb-sightings-card__species-row span {
  min-width: 0;
  color: var(--ccb-ink);
  font-weight: 760;
}

.ccb-sightings-card__species-row a {
  color: inherit;
  text-decoration: none;
}

.ccb-sightings-card__species-row a:hover,
.ccb-sightings-card__species-row a:focus {
  text-decoration: underline;
}

.ccb-sightings-card__species-row time {
  color: var(--ccb-deep-estuary);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.ccb-sightings-card__empty {
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 1.75rem;
}

.ccb-sightings-card__empty h3 {
  color: var(--ccb-spruce);
}

.ccb-sightings-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 2rem);
  color: var(--ccb-deep-estuary);
  background: rgba(216, 203, 184, 0.34);
  font-size: 0.92rem;
  font-weight: 800;
}

.ccb-settings-profile-form .ccb-textarea {
  min-height: 8rem;
}

.ccb-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-top: 0.2rem;
  color: var(--ccb-muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.ccb-admin-meta a {
  color: var(--ccb-deep-estuary);
}

.ccb-admin-moderation {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(35, 76, 79, 0.12);
}

.ccb-admin-moderation .form-control {
  width: min(100%, 22rem);
  min-height: 2.25rem;
  padding: 0.45rem 0.65rem;
}

.ccb-admin-thumb {
  display: block;
  width: 5rem;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(216, 203, 184, 0.45);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
}

.ccb-admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ccb-footer {
  padding: 2.4rem 0 2rem;
  color: #dce9e4;
  background:
    linear-gradient(180deg, rgba(47, 127, 159, 0.16), transparent),
    var(--ccb-spruce);
}

.ccb-footer .container {
  display: grid;
  gap: 1.4rem;
}

.ccb-footer p {
  margin: 0;
}

.ccb-footer-grid {
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ccb-footer-col {
  display: grid;
  align-content: start;
  gap: 0.38rem;
}

.ccb-footer-col h2 {
  margin: 0 0 0.15rem;
  color: #b9d0c7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccb-footer a {
  color: #fffdf8;
  font-weight: 700;
  text-decoration-color: rgba(255, 253, 248, 0.42);
}

.ccb-footer a:hover,
.ccb-footer a:focus {
  color: #ffe0a3;
  text-decoration-color: #ffe0a3;
}

.ccb-footer-bottom {
  display: grid;
  gap: 0.25rem;
  max-width: 48rem;
  padding-top: 1rem;
  color: #c7dbd4;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 253, 248, 0.18);
}

@media (max-width: 767.98px) {
  .ccb-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1600px) {
  .ccb-nav .container,
  .ccb-main:not(.ccb-main--admin) .ccb-section > .container,
  .ccb-main:not(.ccb-main--admin) .ccb-page-hero > .container,
  .ccb-main:not(.ccb-main--admin) .ccb-flash-wrap,
  .ccb-dev-notice .container,
  .ccb-footer .container {
    width: min(1600px, calc(100% - 5rem));
  }

  .ccb-nav .container {
    gap: 1.35rem;
  }

  .ccb-nav .navbar-collapse {
    min-width: 0;
    gap: 1.15rem;
  }

  .ccb-nav .navbar-nav,
  .ccb-account-links {
    flex-wrap: nowrap;
  }

  .ccb-nav .navbar-nav {
    gap: 0.25rem 0.65rem;
  }

  .ccb-brand,
  .ccb-account-links {
    flex: 0 0 auto;
  }

  .ccb-hero__content {
    width: min(1600px, calc(100% - 5rem));
  }

  .ccb-main:not(.ccb-main--admin) .col-xl-4 {
    flex: 0 0 auto;
    width: 25%;
  }

  .ccb-lede,
  .ccb-page-hero p,
  .ccb-section-heading,
  .ccb-hero-strip {
    max-width: 46rem;
  }

  .ccb-form-panel,
  .ccb-upload-panel {
    max-width: 42rem;
  }

  .ccb-detail {
    max-width: 58rem;
  }

  .ccb-detail--split {
    max-width: 78rem;
  }
}

@media (max-width: 991.98px) {
  .ccb-bird-detail-layout {
    grid-template-columns: 1fr;
  }

  .ccb-bird-detail-layout .ccb-species-cta {
    position: relative;
    top: auto;
  }

  .ccb-species-layout {
    grid-template-columns: 1fr;
  }

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

  .ccb-sightings-card-cta,
  .ccb-sightings-card__header {
    display: grid;
  }

  .ccb-sightings-card-cta__actions {
    justify-content: flex-start;
  }

  .ccb-nav .navbar-collapse {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--ccb-border);
  }

  .ccb-nav .navbar-collapse.show {
    display: block;
  }

  .ccb-account-links {
    margin-top: 1rem;
  }

  .ccb-nav .nav-link.active::after {
    right: auto;
    bottom: 0.35rem;
    left: 0;
    width: 2rem;
  }
}

@media (max-width: 575.98px) {
  .ccb-hero {
    min-height: 68vh;
  }

  .ccb-hero__content {
    padding: 4.5rem 0 3.5rem;
  }

  .ccb-hero::after {
    right: -7rem;
    bottom: 2rem;
    width: 20rem;
    opacity: 0.28;
  }

  .ccb-hero-photo {
    right: -4rem;
    bottom: 1.5rem;
    width: 17rem;
    opacity: 0.34;
  }

  .ccb-hero-photo__caption {
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
  }

  .ccb-section {
    padding: 3rem 0;
  }

  .ccb-card,
  .ccb-detail,
  .ccb-feature,
  .ccb-season-note,
  .ccb-form-panel,
  .ccb-empty-state,
  .ccb-admin-panel,
  .ccb-upload-panel,
  .ccb-species-cta {
    padding: 1.1rem;
  }

  .ccb-admin-row--split,
  .ccb-admin-row--photo,
  .ccb-admin-row--audit {
    grid-template-columns: 1fr;
  }

  .ccb-actions .btn,
  .ccb-account-links .btn {
    width: 100%;
  }
}

.ccb-home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background:
    linear-gradient(115deg, rgba(250, 246, 238, 0.98), rgba(211, 221, 220, 0.78)),
    radial-gradient(circle at 86% 18%, rgba(197, 139, 44, 0.18), transparent 26rem);
  border-bottom: 1px solid var(--ccb-border);
}

.ccb-home-hero::after {
  content: "";
  position: absolute;
  right: -10rem;
  top: 4rem;
  width: 35rem;
  height: 35rem;
  border-radius: 50%;
  background: rgba(47, 127, 159, 0.09);
  pointer-events: none;
}

.ccb-home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.ccb-home-hero h1 {
  max-width: 12ch;
  margin: 0 0 1.1rem;
  color: var(--ccb-spruce);
  font-size: clamp(3rem, 8vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.ccb-home-hero .ccb-lede {
  max-width: 58ch;
  color: #3f554c;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.ccb-home-actions .btn-outline-primary {
  background: rgba(255, 253, 248, 0.86);
}

.ccb-home-link-btn {
  border-color: rgba(197, 139, 44, 0.55);
}

.ccb-home-hero-photo {
  position: relative;
  display: grid;
  overflow: hidden;
  color: #fffdf8;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(250, 246, 238, 0.82));
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(35, 76, 79, 0.18);
  transform: rotate(0.45deg);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ccb-home-hero-photo:hover,
.ccb-home-hero-photo:focus-visible {
  color: #fffdf8;
  text-decoration: none;
  border-color: rgba(197, 139, 44, 0.62);
  box-shadow: 0 24px 62px rgba(35, 76, 79, 0.24);
  transform: translateY(-2px) rotate(0.45deg);
}

.ccb-home-hero-photo__image {
  display: block;
  min-height: clamp(20rem, 40vw, 28rem);
  overflow: hidden;
  border: 0.75rem solid rgba(255, 253, 248, 0.84);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(180deg, rgba(32, 53, 45, 0.02), rgba(32, 53, 45, 0.22)),
    radial-gradient(circle at 58% 24%, rgba(255, 255, 255, 0.82), transparent 7rem),
    linear-gradient(160deg, #d5e6e4 0%, #9cbdb7 42%, #5c8479 58%, #d2ad63 59%, #efe0b8 72%, #315f4f 100%);
}

.ccb-home-hero-photo__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.ccb-home-hero-photo__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: var(--ccb-spruce);
  background: rgba(255, 253, 248, 0.94);
  border: 0.75rem solid rgba(255, 253, 248, 0.84);
  border-top: 1px solid var(--ccb-border);
  font-weight: 750;
}

.ccb-home-hero-photo__caption strong {
  color: var(--ccb-clay);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccb-home-strip {
  position: relative;
  z-index: 2;
  margin-top: -1.25rem;
}

.ccb-home-stats,
.ccb-home-feature-grid,
.ccb-home-activity-grid {
  display: grid;
  gap: 1rem;
}

.ccb-home-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ccb-home-stat,
.ccb-home-feature-card,
.ccb-home-sighting-card,
.ccb-home-photo-card,
.ccb-home-lower-cta {
  display: block;
  height: 100%;
  color: var(--ccb-ink);
  text-decoration: none;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--ccb-border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(35, 76, 79, 0.1);
}

.ccb-home-stat {
  padding: 1rem 1.15rem;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-home-stat:hover,
.ccb-home-stat:focus-visible,
.ccb-home-feature-card:hover,
.ccb-home-feature-card:focus-visible,
.ccb-home-sighting-card:hover,
.ccb-home-sighting-card:focus-within,
.ccb-home-photo-card:hover,
.ccb-home-photo-card:focus-visible {
  color: var(--ccb-spruce);
  text-decoration: none;
  border-color: rgba(197, 139, 44, 0.55);
  box-shadow: 0 18px 42px rgba(35, 76, 79, 0.15);
  transform: translateY(-2px);
}

.ccb-home-stat__number,
.ccb-home-stat__label {
  display: block;
}

.ccb-home-stat__number {
  color: var(--ccb-spruce);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.ccb-home-stat__label {
  margin-top: 0.35rem;
  color: var(--ccb-muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.ccb-home-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.ccb-home-section-header h2,
.ccb-home-lower-cta h2 {
  margin: 0;
  color: var(--ccb-spruce);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.ccb-home-section-header p:last-child,
.ccb-home-lower-cta p {
  max-width: 62ch;
  margin: 0.55rem 0 0;
  color: var(--ccb-muted);
}

.ccb-home-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ccb-home-feature-card {
  padding: 1.25rem;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-home-card-accent {
  display: block;
  width: 3.25rem;
  height: 5px;
  margin-bottom: 1.1rem;
  background: var(--ccb-clay);
  border-radius: 999px;
}

.ccb-home-feature-card h3 {
  margin: 0 0 0.55rem;
  color: var(--ccb-spruce);
  font-size: 1.35rem;
  line-height: 1.18;
}

.ccb-home-feature-card p {
  margin: 0;
  color: var(--ccb-muted);
}

.ccb-home-card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ccb-clay);
  font-weight: 850;
}

.ccb-home-activity-grid--sightings {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ccb-home-activity-grid--photos {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ccb-home-sighting-card {
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-home-sighting-card__body {
  padding: 1.2rem;
}

.ccb-home-sighting-card__meta {
  margin: 0;
  color: var(--ccb-clay);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccb-home-sighting-card h3 {
  margin: 0.45rem 0;
  color: var(--ccb-spruce);
  font-size: 1.45rem;
  line-height: 1.1;
}

.ccb-home-sighting-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ccb-home-sighting-card h3 a:hover,
.ccb-home-sighting-card h3 a:focus {
  text-decoration: underline;
}

.ccb-home-sighting-card__details {
  margin: 0.5rem 0 0;
  color: var(--ccb-muted);
}

.ccb-home-sighting-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  color: var(--ccb-muted);
  background: rgba(250, 246, 238, 0.72);
  border-top: 1px solid var(--ccb-border);
  font-size: 0.9rem;
}

.ccb-home-sighting-card__footer a {
  font-weight: 800;
}

.ccb-home-photo-card {
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-home-photo-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #bfd2ce, #6f978d 45%, #e1bd70 46%, #f7e6bd 70%);
}

.ccb-home-photo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 160ms ease, filter 160ms ease;
}

.ccb-home-photo-card:hover img,
.ccb-home-photo-card:focus-visible img {
  filter: brightness(1.04);
  transform: scale(1.02);
}

.ccb-home-photo-card__caption {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem;
  color: var(--ccb-muted);
  font-size: 0.92rem;
}

.ccb-home-photo-card__caption strong {
  color: var(--ccb-spruce);
  font-size: 1rem;
}

.ccb-home-lower-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 12% 20%, rgba(197, 139, 44, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(211, 221, 220, 0.72));
}

@media (max-width: 991.98px) {
  .ccb-home-hero__inner,
  .ccb-home-stats,
  .ccb-home-feature-grid,
  .ccb-home-activity-grid--sightings,
  .ccb-home-activity-grid--photos {
    grid-template-columns: 1fr 1fr;
  }

  .ccb-home-hero__copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .ccb-home-hero__inner,
  .ccb-home-stats,
  .ccb-home-feature-grid,
  .ccb-home-activity-grid--sightings,
  .ccb-home-activity-grid--photos,
  .ccb-home-lower-cta {
    grid-template-columns: 1fr;
  }

  .ccb-home-section-header,
  .ccb-home-lower-cta {
    display: grid;
    align-items: start;
  }

  .ccb-home-hero-photo {
    transform: none;
  }

  .ccb-home-hero-photo:hover,
  .ccb-home-hero-photo:focus-visible {
    transform: translateY(-2px);
  }
}

/* Homepage prototype parity layer. */
:root {
  --ccb-home-deep: #244f42;
  --ccb-home-forest: #315f4f;
  --ccb-home-cream: #f7f0e4;
  --ccb-home-paper: #fffaf0;
  --ccb-home-warm-paper: #fbf3e4;
  --ccb-home-gold: #d6a24a;
  --ccb-home-gold-dark: #a97828;
  --ccb-home-border: rgba(36, 79, 66, 0.16);
  --ccb-home-shadow-card: 0 18px 48px rgba(32, 53, 45, 0.13);
  --ccb-home-shadow-soft: 0 10px 28px rgba(32, 53, 45, 0.10);
  --ccb-home-radius-lg: 1.5rem;
  --ccb-home-radius-xl: 2rem;
  --ccb-home-max: 1240px;
}

.ccb-main--home {
  padding-bottom: 0;
  background:
    radial-gradient(circle at 14% 4%, rgba(214, 162, 74, 0.12), transparent 34rem),
    radial-gradient(circle at 88% 7%, rgba(49, 95, 79, 0.14), transparent 32rem),
    linear-gradient(180deg, #f4eddf 0%, #f9f3e8 40%, #f7f0e4 100%);
}

.ccb-container {
  width: min(var(--ccb-home-max), calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

.ccb-home-shell {
  min-height: 100vh;
  color: #20352d;
}

.ccb-main--home .ccb-eyebrow {
  color: var(--ccb-home-gold-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ccb-display,
.ccb-main--home .ccb-h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ccb-home-deep);
  line-height: 1.05;
  letter-spacing: 0;
}

.ccb-display {
  max-width: 12ch;
  margin: 0.4rem 0 1.2rem;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.96;
}

.ccb-main--home .ccb-h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.ccb-main--home .ccb-lede {
  max-width: 58ch;
  color: #3f554c;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.ccb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  color: var(--ccb-home-deep);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.ccb-btn:hover,
.ccb-btn:focus-visible {
  color: var(--ccb-home-deep);
  text-decoration: none;
  transform: translateY(-1px);
}

.ccb-btn-primary {
  color: #fff8e8;
  background: linear-gradient(135deg, var(--ccb-home-gold), var(--ccb-home-gold-dark));
  box-shadow: 0 14px 28px rgba(169, 120, 40, 0.25);
}

.ccb-btn-primary:hover,
.ccb-btn-primary:focus-visible {
  color: #fff;
  box-shadow: 0 18px 36px rgba(169, 120, 40, 0.32);
}

.ccb-btn-secondary {
  color: var(--ccb-home-deep);
  background: rgba(255, 250, 240, 0.88);
  border-color: rgba(49, 95, 79, 0.26);
}

.ccb-btn-secondary:hover,
.ccb-btn-secondary:focus-visible {
  color: var(--ccb-home-deep);
  background: #fffaf0;
  border-color: var(--ccb-home-gold);
}

.ccb-btn-quiet {
  color: var(--ccb-home-deep);
  background: rgba(49, 95, 79, 0.09);
}

.ccb-home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 6rem) 0 clamp(2rem, 4vw, 4rem);
  background: none;
  border-bottom: 0;
}

.ccb-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(247, 240, 228, 0.97), rgba(223, 233, 223, 0.78)),
    radial-gradient(circle at 85% 18%, rgba(214, 162, 74, 0.2), transparent 25rem);
}

.ccb-home-hero::after {
  content: "";
  position: absolute;
  right: -10rem;
  top: 4rem;
  z-index: 0;
  width: 35rem;
  height: 35rem;
  background: rgba(49, 95, 79, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.ccb-home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.ccb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.ccb-hero-note {
  margin: 1.2rem 0 0;
  color: #68786f;
  font-size: 0.95rem;
}

.ccb-home-hero__visual {
  min-width: 0;
}

.ccb-home-hero .ccb-hero-photo,
.ccb-home-hero-photo--fallback {
  position: relative;
  right: auto;
  bottom: auto;
  display: grid;
  width: 100%;
  padding: 0.8rem;
  overflow: visible;
  color: var(--ccb-home-deep);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(247, 240, 228, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--ccb-home-radius-xl);
  box-shadow: var(--ccb-home-shadow-card);
  transform: rotate(0.6deg);
}

.ccb-home-hero .ccb-hero-photo:hover,
.ccb-home-hero .ccb-hero-photo:focus-visible {
  color: var(--ccb-home-deep);
  text-decoration: none;
  border-color: rgba(214, 162, 74, 0.58);
  box-shadow: 0 24px 58px rgba(32, 53, 45, 0.18);
  transform: translateY(-2px) rotate(0.6deg);
}

.ccb-home-hero .ccb-hero-photo__image {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(32, 53, 45, 0.02), rgba(32, 53, 45, 0.22)),
    radial-gradient(circle at 58% 24%, rgba(255, 255, 255, 0.85), transparent 7rem),
    linear-gradient(160deg, #d5e6e4 0%, #9cbdb7 42%, #5c8479 58%, #d2ad63 59%, #efe0b8 72%, #315f4f 100%);
  border-radius: calc(var(--ccb-home-radius-xl) - 0.5rem);
}

.ccb-home-hero .ccb-hero-photo__image::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 20%;
  height: 18%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  filter: blur(12px);
}

.ccb-home-hero .ccb-hero-photo__image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: calc(var(--ccb-home-radius-xl) - 0.5rem);
}

.ccb-home-hero .ccb-hero-photo__bird {
  position: absolute;
  left: 18%;
  bottom: 22%;
  z-index: 1;
  width: 32%;
  height: 46%;
  opacity: 0.9;
}

.ccb-home-hero .ccb-hero-photo__bird::before {
  content: "";
  position: absolute;
  left: 30%;
  top: 0;
  width: 30%;
  height: 78%;
  background: linear-gradient(180deg, #f6f2e8, #d8d7ce 50%, #20352d 51%, #20352d 100%);
  border-radius: 50% 50% 42% 42%;
  transform: rotate(-4deg);
}

.ccb-home-hero .ccb-hero-photo__bird::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16%;
  width: 46%;
  height: 12%;
  background: var(--ccb-home-gold);
  clip-path: polygon(0 40%, 100% 0, 100% 100%);
}

.ccb-home-hero .ccb-hero-photo__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.75rem 0.2rem;
  color: var(--ccb-home-deep);
  background: transparent;
  border: 0;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.4;
  text-shadow: none;
}

.ccb-home-hero .ccb-hero-photo__caption strong {
  flex: 0 1 auto;
  color: var(--ccb-home-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
}

.ccb-home-hero .ccb-hero-photo__caption span {
  color: #68786f;
  text-align: right;
}

.ccb-home-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: -1rem;
  margin-bottom: 3rem;
}

.ccb-stat {
  display: block;
  padding: 1.1rem 1.2rem;
  color: var(--ccb-home-deep);
  text-decoration: none;
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid var(--ccb-home-border);
  border-radius: var(--ccb-home-radius-lg);
  box-shadow: var(--ccb-home-shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-stat:hover,
.ccb-stat:focus-visible {
  color: var(--ccb-home-deep);
  text-decoration: none;
  border-color: rgba(214, 162, 74, 0.5);
  box-shadow: 0 14px 34px rgba(32, 53, 45, 0.13);
  transform: translateY(-1px);
}

.ccb-stat__number {
  display: block;
  color: var(--ccb-home-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.ccb-stat__label {
  display: block;
  margin-top: 0.35rem;
  color: #68786f;
  font-size: 0.88rem;
  font-weight: 700;
}

.ccb-main--home .ccb-section {
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding: 0;
}

.ccb-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.ccb-main--home .ccb-section-header p {
  max-width: 62ch;
  margin: 0.5rem 0 0;
  color: #68786f;
}

.ccb-grid-4,
.ccb-grid-3 {
  display: grid;
  gap: 1rem;
}

.ccb-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.ccb-main--home .ccb-card {
  display: block;
  height: 100%;
  padding: 1.2rem;
  color: #20352d;
  text-decoration: none;
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid var(--ccb-home-border);
  border-radius: var(--ccb-home-radius-lg);
  box-shadow: var(--ccb-home-shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-main--home .ccb-card::before {
  content: none;
}

.ccb-main--home .ccb-card:hover,
.ccb-main--home .ccb-card:focus-visible,
.ccb-main--home .ccb-card:focus-within {
  color: #20352d;
  text-decoration: none;
  border-color: rgba(214, 162, 74, 0.55);
  box-shadow: 0 18px 42px rgba(32, 53, 45, 0.14);
  transform: translateY(-2px);
}

.ccb-main--home .ccb-card__accent {
  display: block;
  width: 52px;
  height: 5px;
  margin-bottom: 1.1rem;
  background: var(--ccb-home-gold);
  border-radius: 999px;
}

.ccb-main--home .ccb-card h3 {
  margin: 0 0 0.55rem;
  color: var(--ccb-home-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.18;
}

.ccb-main--home .ccb-card p {
  margin: 0;
  color: #68786f;
}

.ccb-main--home .ccb-card__arrow {
  display: block;
  margin-top: 1.1rem;
  color: var(--ccb-home-gold-dark);
  font-weight: 900;
}

.ccb-main--home .ccb-sighting-card {
  padding: 0;
  overflow: hidden;
}

.ccb-main--home .ccb-sighting-card__body {
  padding: 1.2rem;
}

.ccb-main--home .ccb-sighting-card__meta {
  color: var(--ccb-home-gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccb-main--home .ccb-sighting-card__species {
  margin: 0.45rem 0;
  color: var(--ccb-home-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

.ccb-main--home .ccb-sighting-card__species a {
  color: inherit;
  text-decoration: none;
}

.ccb-main--home .ccb-sighting-card__species a:hover,
.ccb-main--home .ccb-sighting-card__species a:focus {
  text-decoration: underline;
}

.ccb-main--home .ccb-sighting-card__details {
  color: #68786f;
  font-size: 0.95rem;
}

.ccb-main--home .ccb-sighting-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  color: #68786f;
  background: rgba(247, 240, 228, 0.52);
  border-top: 1px solid var(--ccb-home-border);
  font-size: 0.9rem;
}

.ccb-main--home .ccb-sighting-card__footer a {
  color: var(--ccb-home-gold-dark);
  font-weight: 900;
}

.ccb-main--home .ccb-photo-card {
  padding: 0.55rem;
  overflow: hidden;
}

.ccb-main--home .ccb-photo-thumb {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #bfd2ce, #6f978d 45%, #e1bd70 46%, #f7e6bd 70%);
  border-radius: calc(var(--ccb-home-radius-lg) - 0.35rem);
}

.ccb-main--home .ccb-photo-thumb::after {
  content: "";
  position: absolute;
  inset: 18% 16% auto auto;
  width: 64px;
  height: 64px;
  background: rgba(255, 250, 240, 0.78);
  border-radius: 50%;
}

.ccb-main--home .ccb-photo-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 160ms ease, filter 160ms ease;
}

.ccb-main--home .ccb-photo-card:hover img,
.ccb-main--home .ccb-photo-card:focus-visible img {
  filter: brightness(1.04);
  transform: scale(1.02);
}

.ccb-main--home .ccb-photo-card__caption {
  display: block;
  padding: 0.8rem 0.4rem 0.35rem;
  color: #68786f;
  font-size: 0.95rem;
}

.ccb-main--home .ccb-photo-card__caption strong {
  display: block;
  color: var(--ccb-home-deep);
}

.ccb-lower-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.8rem, 5vw, 3rem);
  color: #fff8e8;
  background:
    radial-gradient(circle at 90% 20%, rgba(214, 162, 74, 0.2), transparent 18rem),
    linear-gradient(135deg, var(--ccb-home-deep), #18352d);
  border-radius: var(--ccb-home-radius-xl);
  box-shadow: var(--ccb-home-shadow-card);
}

.ccb-lower-cta h2,
.ccb-lower-cta .ccb-h2 {
  color: #fff8e8;
}

.ccb-lower-cta p {
  max-width: 60ch;
  margin: 0.55rem 0 0;
  color: rgba(255, 248, 232, 0.78);
}

.ccb-lower-cta .ccb-btn-secondary {
  color: #fff8e8;
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 248, 232, 0.4);
}

.ccb-lower-cta .ccb-btn-secondary:hover,
.ccb-lower-cta .ccb-btn-secondary:focus-visible {
  color: var(--ccb-home-deep);
  background: #fffaf0;
  border-color: #fffaf0;
}

@media (max-width: 991.98px) {
  .ccb-home-hero__inner {
    grid-template-columns: 1fr;
  }

  .ccb-home-hero .ccb-hero-photo {
    transform: none;
  }

  .ccb-home-hero .ccb-hero-photo:hover,
  .ccb-home-hero .ccb-hero-photo:focus-visible {
    transform: translateY(-2px);
  }

  .ccb-home-hero .ccb-hero-photo__image,
  .ccb-home-hero .ccb-hero-photo__image img {
    min-height: 320px;
  }

  .ccb-home-stats,
  .ccb-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ccb-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ccb-display {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .ccb-home-stats,
  .ccb-grid-4 {
    grid-template-columns: 1fr;
  }

  .ccb-section-header,
  .ccb-lower-cta {
    display: block;
  }

  .ccb-lower-cta .ccb-hero-actions {
    margin-top: 1.2rem;
  }

  .ccb-hero-actions .ccb-btn {
    width: 100%;
  }
}
