:root {
  --page: #f4eadc;
  --panel: #fbf6ee;
  --panel-soft: rgba(251, 246, 238, 0.88);
  --panel-2: #eadcc8;
  --ink: #15382f;
  --muted: #4f5d56;
  --soft-muted: #7a837c;
  --line: rgba(24, 56, 47, 0.16);
  --line-gold: rgba(184, 135, 53, 0.38);
  --gold: #b88735;
  --gold-dark: #a47124;
  --green: #153f34;
  --shadow: rgba(24, 56, 47, 0.12);

  --max: 1520px;
  --gutter: clamp(28px, 5vw, 88px);
  --brand-mark-size: 88px;
  --brand-gap: 18px;
  --hero-copy-offset: calc(var(--brand-mark-size) + var(--brand-gap));
  --hero-min: 520px;
  --stats-width: 1240px;
  --container-edge: max(var(--gutter), calc((100vw - var(--max)) / 2));

  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 72px;
  --section-y: var(--space-8);
  --page-hero-padding: var(--space-5) 0;
  --section-heading-gap: 28px;
  --card-grid-gap: var(--space-4);
  --layout-gap: var(--space-5);
  --panel-pad: var(--space-4);
  --card-pad: 22px;
  --card-pad-sm: 18px;
  --media-gap: var(--space-3);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 6% 28%, rgba(184, 135, 53, 0.08), transparent 26%),
    linear-gradient(180deg, #f8f0e4 0%, #f2e7d8 100%);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.ccb-main {
  background: var(--page);
}

.ccb-main--home {
  padding: 0;
}

.ccb-dev-notice {
  color: #4a1026;
  background: #f8c7d8;
  border-bottom: 1px solid rgba(74, 16, 38, 0.18);
}

.ccb-dev-notice .container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  max-width: none;
  margin: 0 auto;
  padding: 7px 0;
  font-size: 17px;
  line-height: 1.35;
  text-align: center;
}

.account-name {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
}

.ccb-site .site-frame .ccb-page-hero {
  padding: var(--page-hero-padding);
}

.ccb-site .site-frame .ccb-page-hero h1 {
  max-width: 20ch;
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
}

.ccb-site .site-frame .ccb-page-hero p:not(.ccb-kicker) {
  max-width: 58rem;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.45;
}

.ccb-site .site-frame .ccb-section {
  padding: var(--section-y) 0;
}

.ccb-site .site-frame .ccb-section-heading {
  margin-bottom: var(--section-heading-gap);
}

.ccb-site .site-frame .ccb-section-heading h1 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.ccb-site .site-frame .ccb-static-page h1 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.ccb-site .site-frame .ccb-index-page {
  padding-top: var(--space-5);
}

.ccb-site .site-frame .ccb-card,
.ccb-site .site-frame .ccb-detail,
.ccb-site .site-frame .ccb-feature,
.ccb-site .site-frame .ccb-season-note,
.ccb-site .site-frame .ccb-form-panel,
.ccb-site .site-frame .ccb-empty-state,
.ccb-site .site-frame .ccb-upload-panel {
  padding: var(--panel-pad);
}

.ccb-site .site-frame .ccb-detail--split {
  gap: var(--layout-gap);
}

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

.ccb-site .site-frame .ccb-field-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.site-frame {
  min-height: 100%;
  overflow: hidden;
  background: var(--page);
}

.ccb-site .site-frame a,
.ccb-site .site-frame a:visited,
.ccb-site .site-frame a:hover,
.ccb-site .site-frame a:focus,
.ccb-site .site-frame a:focus-visible,
.ccb-site .site-frame a:active {
  text-decoration: none;
}

.ccb-site .site-frame a:focus-visible {
  outline: 3px solid rgba(184, 135, 53, 0.35);
  outline-offset: 3px;
}

/* Header */

.site-header {
  width: 100%;
  background: rgba(251, 246, 238, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--brand-gap);
  min-width: 0;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: var(--brand-mark-size);
  height: var(--brand-mark-size);
  flex: 0 0 auto;
  display: block;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-wordmark {
  width: 238px;
  flex: 0 0 238px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  text-transform: uppercase;
}

.brand-line {
  display: block;
  width: 100%;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
}

.brand-line-top {
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.brand-line-main {
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: 0.86;
  letter-spacing: 0.08em;
}

.brand-line-tag {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition:
    transform 140ms ease,
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.btn-submit {
  min-width: 240px;
  background: linear-gradient(180deg, #bd8a35 0%, #a77124 100%);
  color: white;
  box-shadow: 0 8px 18px rgba(184, 135, 53, 0.24);
}

.btn-primary-action {
  min-width: 220px;
  background: var(--green);
  color: white;
  box-shadow: 0 8px 18px rgba(24, 63, 52, 0.18);
}

.btn-secondary-action {
  min-width: 150px;
  border-color: rgba(24, 56, 47, 0.42);
  background: rgba(255, 255, 255, 0.45);
  color: var(--green);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.btn-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.ccb-site .site-frame .btn-submit,
.ccb-site .site-frame .btn-primary-action,
.ccb-site .site-frame .btn-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transform: none;
  transition:
    transform 140ms ease,
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.ccb-site .site-frame .btn-submit,
.ccb-site .site-frame .btn-submit:visited,
.ccb-site .site-frame .btn-submit:hover,
.ccb-site .site-frame .btn-submit:focus,
.ccb-site .site-frame .btn-submit:active {
  min-width: 240px;
  background: linear-gradient(180deg, #bd8a35 0%, #a77124 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 18px rgba(184, 135, 53, 0.24);
  text-decoration: none;
  transform: none;
}

.ccb-site .site-frame .btn-primary-action,
.ccb-site .site-frame .btn-primary-action:visited,
.ccb-site .site-frame .btn-primary-action:hover,
.ccb-site .site-frame .btn-primary-action:focus,
.ccb-site .site-frame .btn-primary-action:active {
  min-width: 220px;
  background: var(--green);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 18px rgba(24, 63, 52, 0.18);
  text-decoration: none;
  transform: none;
}

.ccb-site .site-frame .btn-secondary-action,
.ccb-site .site-frame .btn-secondary-action:visited,
.ccb-site .site-frame .btn-secondary-action:hover,
.ccb-site .site-frame .btn-secondary-action:focus,
.ccb-site .site-frame .btn-secondary-action:active {
  min-width: 150px;
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(24, 56, 47, 0.42);
  color: var(--green);
  box-shadow: none;
  text-decoration: none;
  transform: none;
}

.ccb-site .site-frame .btn-submit:focus-visible,
.ccb-site .site-frame .btn-primary-action:focus-visible,
.ccb-site .site-frame .btn-secondary-action:focus-visible {
  outline: 3px solid rgba(184, 135, 53, 0.35);
  outline-offset: 3px;
}

.ccb-site .site-frame .btn-submit:hover,
.ccb-site .site-frame .btn-submit:focus-visible {
  background: linear-gradient(180deg, #c9953d 0%, #ac7628 100%);
  color: white;
  box-shadow:
    0 12px 24px rgba(184, 135, 53, 0.31),
    0 2px 0 rgba(99, 65, 18, 0.16);
  transform: translateY(-2px);
}

.ccb-site .site-frame .btn-primary-action:hover,
.ccb-site .site-frame .btn-primary-action:focus-visible {
  background: #18483b;
  color: white;
  box-shadow:
    0 12px 24px rgba(24, 63, 52, 0.25),
    0 2px 0 rgba(10, 31, 25, 0.14);
  transform: translateY(-2px);
}

.ccb-site .site-frame .btn-secondary-action:hover,
.ccb-site .site-frame .btn-secondary-action:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(184, 135, 53, 0.62);
  color: var(--green);
  box-shadow: 0 10px 22px rgba(24, 56, 47, 0.14);
  transform: translateY(-2px);
}

.ccb-site .site-frame .btn-submit:active,
.ccb-site .site-frame .btn-primary-action:active,
.ccb-site .site-frame .btn-secondary-action:active {
  box-shadow: 0 5px 12px rgba(24, 56, 47, 0.16);
  transform: translateY(0);
}

.ccb-site .site-frame .btn-primary,
.ccb-site .site-frame .btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 140ms ease,
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.ccb-site .site-frame .btn-primary:not(.btn-primary-action) {
  background: linear-gradient(135deg, var(--green), #245a48);
  border-color: var(--green);
  color: white;
  box-shadow: 0 9px 20px rgba(24, 63, 52, 0.2);
}

.ccb-site .site-frame .btn-primary:not(.btn-primary-action):hover,
.ccb-site .site-frame .btn-primary:not(.btn-primary-action):focus-visible {
  background: linear-gradient(135deg, #18483b, #2b6651);
  border-color: #18483b;
  color: white;
  box-shadow:
    0 12px 24px rgba(24, 63, 52, 0.26),
    0 2px 0 rgba(10, 31, 25, 0.14);
  transform: translateY(-2px);
}

.ccb-site .site-frame .btn-outline-primary:not(.btn-secondary-action) {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(24, 56, 47, 0.38);
  color: var(--green);
  box-shadow: 0 6px 16px rgba(24, 56, 47, 0.08);
}

.ccb-site .site-frame .btn-outline-primary:not(.btn-secondary-action):hover,
.ccb-site .site-frame .btn-outline-primary:not(.btn-secondary-action):focus-visible {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(184, 135, 53, 0.64);
  color: var(--green);
  box-shadow: 0 10px 22px rgba(24, 56, 47, 0.14);
  transform: translateY(-2px);
}

.ccb-site .site-frame .btn-primary:not(.btn-primary-action):active,
.ccb-site .site-frame .btn-outline-primary:not(.btn-secondary-action):active {
  box-shadow: 0 5px 12px rgba(24, 56, 47, 0.14);
  transform: translateY(0);
}

.ccb-site .site-frame .btn-primary:focus-visible,
.ccb-site .site-frame .btn-outline-primary:focus-visible {
  outline: 3px solid rgba(184, 135, 53, 0.35);
  outline-offset: 3px;
}

.ccb-site .site-frame .btn-submit:disabled,
.ccb-site .site-frame .btn-primary-action:disabled,
.ccb-site .site-frame .btn-secondary-action:disabled,
.ccb-site .site-frame .btn-submit[aria-disabled="true"],
.ccb-site .site-frame .btn-primary-action[aria-disabled="true"],
.ccb-site .site-frame .btn-secondary-action[aria-disabled="true"] {
  opacity: 0.65;
  pointer-events: none;
  box-shadow: none;
}

.ccb-site .site-frame .btn-submit .btn-icon,
.ccb-site .site-frame .btn-primary-action .btn-icon,
.ccb-site .site-frame .btn-secondary-action .btn-icon {
  color: currentColor;
}

.ccb-site .site-frame .btn-submit .btn-icon svg,
.ccb-site .site-frame .btn-primary-action .btn-icon svg,
.ccb-site .site-frame .btn-secondary-action .btn-icon svg {
  stroke: currentColor;
}

.ccb-site .site-frame .hero-actions .btn-icon svg,
.ccb-site .site-frame .hero-actions .btn-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero */

.hero-section {
  width: 100%;
  min-height: var(--hero-min);
  position: relative;
  background:
    linear-gradient(90deg, rgba(244, 234, 220, 0.96) 0%, rgba(244, 234, 220, 0.82) 35%, rgba(244, 234, 220, 0.1) 64%),
    linear-gradient(180deg, rgba(21, 63, 52, 0.1), rgba(21, 63, 52, 0.08)),
    var(--panel-2);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 34%, rgba(255, 255, 255, 0.2), transparent 16%),
    linear-gradient(120deg, rgba(21, 63, 52, 0.07), transparent 34%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 92px;
  background: linear-gradient(180deg, rgba(244, 234, 220, 0) 0%, var(--page) 86%);
  pointer-events: none;
}

.hero-inner {
  min-height: var(--hero-min);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(540px, 40%) minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
}

.hero-copy {
  padding: 72px 0 122px var(--hero-copy-offset);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  color: var(--gold-dark);
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-copy h1 {
  margin: 12px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(66px, 5.8vw, 86px);
  line-height: 0.92;
  font-weight: 500;
  color: var(--green);
  letter-spacing: -0.025em;
}

.ornament {
  width: 282px;
  height: 1px;
  margin: 28px 0 22px;
  background: linear-gradient(90deg, var(--gold) 0 30%, transparent 30% 38%, var(--line-gold) 38% 100%);
  position: relative;
}

.ornament::before {
  content: "";
  position: absolute;
  left: 82px;
  top: 50%;
  width: 36px;
  height: 1px;
  transform: translateY(-50%);
  background: var(--page);
}

.ornament::after {
  content: "";
  position: absolute;
  left: 100px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  background: url("/themes/coos-oregon/icons/ornament-bird.svg?v=1") center / contain no-repeat;
}

.hero-copy p {
  max-width: 445px;
  margin: 0 0 28px;
  color: #1f3f37;
  font-size: 17px;
  line-height: 1.55;
}

.hero-image-placeholder {
  min-height: var(--hero-min);
  margin-right: 0;
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--line);
}

.hero-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 234, 220, 0.3), rgba(21, 63, 52, 0.06) 44%, rgba(21, 63, 52, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(21, 63, 52, 0.16));
  z-index: 1;
  pointer-events: none;
}

.hero-image-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: var(--hero-min);
  object-fit: cover;
  object-position: left center;
}

/* Hero stats */

.hero-stats {
  position: relative;
  z-index: 3;
  margin-top: -66px;
}

.hero-stats-inner {
  width: min(
    var(--stats-width),
    calc(
      100vw
      - var(--container-edge)
      - var(--hero-copy-offset)
      - var(--gutter)
    )
  );
  margin-left: calc(var(--container-edge) + var(--hero-copy-offset));
  margin-right: auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(251, 246, 238, 0.94);
  border: 1px solid rgba(24, 56, 47, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(24, 56, 47, 0.14);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.hero-stat {
  min-height: 112px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
}

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

.hero-stat-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 135, 53, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-icon svg {
  display: block;
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero-stat-copy {
  min-width: 0;
}

.hero-stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
  color: var(--green);
}

.hero-stat-label {
  display: block;
  margin-top: 7px;
  color: #17372f;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-stat-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

/* Four feature cards */

.feature-section {
  padding: 42px 0 24px;
}

.feature-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-grid-gap);
}

.feature-card-link {
  min-height: 172px;
  padding: 24px 26px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: hidden;
  background: rgba(251, 246, 238, 0.82);
  border: 1px solid rgba(24, 56, 47, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(24, 56, 47, 0.09);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-card-sightings::after,
.feature-card-places::after,
.feature-card-photos::after,
.feature-card-dashboard::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.feature-card-sightings::after {
  background-image: url("/themes/coos-oregon/icons/card-watermark-binoculars.svg?v=1");
}

.feature-card-places::after {
  background-image: url("/themes/coos-oregon/icons/card-watermark-map-pinned.svg?v=1");
}

.feature-card-photos::after {
  background-image: url("/themes/coos-oregon/icons/card-watermark-images.svg?v=1");
}

.feature-card-dashboard::after {
  background-image: url("/themes/coos-oregon/icons/card-watermark-notebook-tabs.svg?v=1");
}

.feature-card-link > * {
  position: relative;
  z-index: 1;
}

.feature-card-top {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}

.feature-card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(184, 135, 53, 0.18);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-card-icon svg {
  display: block;
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature-card-copy h2 {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 500;
  color: var(--green);
}

.feature-card-copy p {
  max-width: 280px;
  margin: 0;
  color: #31443e;
  font-size: 15px;
  line-height: 1.45;
}

.feature-card-bottom {
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-top: 1px solid var(--line-gold);
}

.feature-card-cta {
  color: #17372f;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ccb-site .site-frame .feature-card-link,
.ccb-site .site-frame .feature-card-link:visited,
.ccb-site .site-frame .feature-card-link:hover,
.ccb-site .site-frame .feature-card-link:focus,
.ccb-site .site-frame .feature-card-link:active {
  color: inherit;
  text-decoration: none;
}

.ccb-site .site-frame .feature-card-link .feature-card-cta,
.ccb-site .site-frame .feature-card-link:visited .feature-card-cta,
.ccb-site .site-frame .feature-card-link:hover .feature-card-cta,
.ccb-site .site-frame .feature-card-link:focus .feature-card-cta,
.ccb-site .site-frame .feature-card-link:active .feature-card-cta,
.ccb-site .site-frame .feature-card-link .feature-card-arrow,
.ccb-site .site-frame .feature-card-link:visited .feature-card-arrow,
.ccb-site .site-frame .feature-card-link:hover .feature-card-arrow,
.ccb-site .site-frame .feature-card-link:focus .feature-card-arrow,
.ccb-site .site-frame .feature-card-link:active .feature-card-arrow {
  color: #17372f;
}

.feature-card-arrow {
  color: #17372f;
  font-size: 22px;
  line-height: 1;
}

.feature-card-link:hover,
.feature-card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(24, 56, 47, 0.13);
}

.feature-card-link:focus-visible {
  outline: 3px solid rgba(184, 135, 53, 0.35);
  outline-offset: 3px;
}

/* Share / Learn / Protect panel */

.share-section {
  padding: 0 0 56px;
}

.share-inner {
  min-height: 172px;
  display: grid;
  grid-template-columns: 320px minmax(360px, 1fr) minmax(340px, 420px);
  align-items: stretch;
  background: rgba(251, 246, 238, 0.82);
  border: 1px solid rgba(24, 56, 47, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(24, 56, 47, 0.1);
  overflow: hidden;
}

.share-image {
  height: 172px;
  min-height: 172px;
  overflow: hidden;
  background: var(--panel-2);
}

.share-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.share-copy {
  padding: 26px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.share-copy h2 {
  margin: 0 0 16px;
  font-family: Georgia, serif;
  font-size: 31px;
  line-height: 1.05;
  font-weight: 500;
  color: var(--green);
}

.share-copy .small-rule {
  width: 44px;
  height: 1px;
  margin-bottom: 19px;
  background: var(--gold);
}

.share-copy p {
  max-width: 520px;
  margin: 0;
  color: #31443e;
  font-size: 16px;
  line-height: 1.5;
}

.share-action {
  padding: 28px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.share-action-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.ccb-site .site-frame .share-section .share-action .btn-submit .btn-icon svg,
.ccb-site .site-frame .share-section .share-action .btn-submit .btn-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Footer */

.site-footer {
  width: 100%;
  padding: 44px 0 36px;
  background: rgba(251, 246, 238, 0.96);
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
}

.footer-column h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 9px;
}

.footer-column a {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}

.ccb-site .site-frame .footer-column a,
.ccb-site .site-frame .footer-column a:visited,
.ccb-site .site-frame .footer-column a:active {
  color: var(--muted);
  text-decoration: none;
}

.ccb-site .site-frame .footer-column a:hover,
.ccb-site .site-frame .footer-column a:focus-visible {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p + p {
  margin-top: 8px;
}

/* Public sighting cards */

.ccb-site .site-frame .ccb-card-grid,
.ccb-site .site-frame .ccb-sighting-grid,
.ccb-site .site-frame .ccb-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-grid-gap);
  align-items: stretch;
}

.ccb-site .site-frame .ccb-card-grid > *,
.ccb-site .site-frame .ccb-sighting-grid > *,
.ccb-site .site-frame .ccb-photo-grid > *,
.ccb-site .site-frame .ccb-card-grid__item,
.ccb-site .site-frame .ccb-sighting-card-shell {
  min-width: 0;
}

.ccb-site .site-frame .ccb-sighting-card {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(24, 56, 47, 0.13);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 56, 47, 0.09);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.ccb-site .site-frame .ccb-sighting-card:hover,
.ccb-site .site-frame .ccb-sighting-card:focus-visible {
  color: inherit;
  border-color: rgba(184, 135, 53, 0.52);
  box-shadow: 0 18px 40px rgba(24, 56, 47, 0.14);
  text-decoration: none;
  transform: translateY(-2px);
}

.ccb-site .site-frame .ccb-sighting-card:focus-visible {
  outline: 3px solid rgba(184, 135, 53, 0.3);
  outline-offset: 3px;
}

.ccb-site .site-frame .ccb-sighting-card__body {
  position: relative;
  flex: 1 1 auto;
  padding: var(--card-pad);
}

.ccb-site .site-frame .ccb-sighting-card__photo-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--green);
}

.ccb-site .site-frame .ccb-sighting-card__photo-indicator svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ccb-site .site-frame .ccb-sighting-card__species {
  padding-right: 34px;
}

.ccb-site .site-frame .ccb-sighting-card__species h3 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.ccb-site .site-frame .ccb-sighting-card__species p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.ccb-site .site-frame .ccb-sighting-card__rule {
  width: 48px;
  height: 2px;
  margin: var(--space-4) 0;
  background: rgba(184, 135, 53, 0.74);
}

.ccb-site .site-frame .ccb-sighting-card__meta {
  display: grid;
  gap: var(--space-2);
  color: #31443e;
  font-size: 14px;
  line-height: 1.42;
}

.ccb-site .site-frame .ccb-sighting-card__meta-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  min-width: 0;
}

.ccb-site .site-frame .ccb-sighting-card__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--green);
}

.ccb-site .site-frame .ccb-sighting-card__meta-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.ccb-site .site-frame .ccb-sighting-card__note {
  position: relative;
  display: flex;
  gap: var(--space-2);
  margin: var(--space-4) 0 0;
  overflow: hidden;
  color: #31443e;
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}

.ccb-site .site-frame .ccb-sighting-card__note::before {
  content: "\201C";
  flex: 0 0 auto;
  margin-top: -7px;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 38px;
  font-style: normal;
  line-height: 1;
}

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

.ccb-site .site-frame .ccb-sighting-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  padding: var(--space-3) var(--card-pad);
  border-top: 1px solid rgba(24, 56, 47, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

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

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

.ccb-site .site-frame .ccb-sighting-card-shell .ccb-card-actions {
  margin-top: var(--space-2);
}

.ccb-site .site-frame .ccb-photo-card--gallery {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(24, 56, 47, 0.13);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 56, 47, 0.09);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ccb-site .site-frame .ccb-photo-card--gallery:hover,
.ccb-site .site-frame .ccb-photo-card--gallery:focus-visible {
  color: inherit;
  border-color: rgba(184, 135, 53, 0.52);
  box-shadow: 0 18px 40px rgba(24, 56, 47, 0.14);
  text-decoration: none;
  transform: translateY(-2px);
}

.ccb-site .site-frame .ccb-photo-card--gallery:focus-visible {
  outline: 3px solid rgba(184, 135, 53, 0.3);
  outline-offset: 3px;
}

.ccb-site .site-frame .ccb-photo-card--gallery .ccb-photo-card__image-wrap {
  position: relative;
  display: block;
  width: auto;
  max-width: 100%;
  height: 130px;
  margin: var(--card-pad-sm) var(--card-pad-sm) 0;
  flex: 0 0 auto;
  overflow: hidden;
  background: #d7dfd9;
  border-radius: 14px;
}

.ccb-site .site-frame .ccb-photo-card--gallery .ccb-photo-card__image,
.ccb-site .site-frame .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-site .site-frame .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-site .site-frame .ccb-photo-card__body {
  display: block;
  flex: 1 1 auto;
  padding: var(--card-pad-sm);
}

.ccb-site .site-frame .ccb-photo-card__species {
  display: block;
}

.ccb-site .site-frame .ccb-photo-card__species h3 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.ccb-site .site-frame .ccb-photo-card__species p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.ccb-site .site-frame .ccb-photo-card__rule {
  display: block;
  width: 44px;
  height: 2px;
  margin: var(--space-3) 0;
  background: rgba(184, 135, 53, 0.74);
}

.ccb-site .site-frame .ccb-photo-card__meta {
  display: grid;
  gap: var(--space-2);
  color: #31443e;
  font-size: 13px;
  line-height: 1.42;
}

.ccb-site .site-frame .ccb-photo-card__meta-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  min-width: 0;
}

.ccb-site .site-frame .ccb-photo-card__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  min-width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--green);
}

.ccb-site .site-frame .ccb-photo-card__meta-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.ccb-site .site-frame .ccb-photo-card__note {
  display: -webkit-box;
  margin-top: var(--space-3);
  overflow: hidden;
  color: #31443e;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ccb-site .site-frame .ccb-photo-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  padding: var(--space-3) var(--card-pad-sm);
  border-top: 1px solid rgba(24, 56, 47, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

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

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

/* Sighting detail */

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

.ccb-site .site-frame .ccb-sighting-detail-card {
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(24, 56, 47, 0.13);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 56, 47, 0.09);
}

/* Bird detail */

.ccb-site .site-frame .ccb-bird-detail-page {
  padding-top: var(--space-5);
}

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

.ccb-site .site-frame .ccb-bird-detail-card {
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(24, 56, 47, 0.13);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 56, 47, 0.09);
}

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

.ccb-site .site-frame .ccb-bird-detail-card h2 {
  margin: 0 0 var(--space-3);
  color: var(--green);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.ccb-site .site-frame .ccb-bird-detail-header h1,
.ccb-site .site-frame .ccb-bird-detail-page .ccb-detail--split h1 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.ccb-site .site-frame .ccb-bird-detail__scientific {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.ccb-site .site-frame .ccb-bird-detail-card .ccb-meta-grid {
  margin-top: var(--space-3);
}

.ccb-site .site-frame .ccb-bird-detail-card .ccb-species-note {
  margin-top: var(--space-4);
}

.ccb-site .site-frame .ccb-bird-detail-layout .ccb-species-cta {
  position: sticky;
  top: var(--space-4);
}

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

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

.ccb-site .site-frame .ccb-sighting-detail-card__species h1 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.ccb-site .site-frame .ccb-sighting-detail-card__species p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.ccb-site .site-frame .ccb-sighting-detail-card__meta {
  gap: var(--space-2);
  font-size: 15px;
}

.ccb-site .site-frame .ccb-sighting-detail-card__meta a {
  color: var(--green);
}

.ccb-site .site-frame .ccb-sighting-detail-card__note {
  overflow: visible;
  font-size: 15px;
}

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

.ccb-site .site-frame .ccb-sighting-detail-card .ccb-owner-actions {
  gap: var(--space-2);
}

.ccb-site .site-frame .ccb-sighting-detail-card .ccb-owner-actions > .btn,
.ccb-site .site-frame .ccb-sighting-detail-card .ccb-owner-actions > form {
  flex: 0 1 210px;
}

.ccb-site .site-frame .ccb-sighting-detail-card .ccb-owner-actions > form .btn {
  width: 100%;
}

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

.ccb-site .site-frame .ccb-sighting-detail-media .ccb-photo-section {
  height: 100%;
  margin-top: 0;
  padding: var(--panel-pad);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(24, 56, 47, 0.13);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 56, 47, 0.09);
}

.ccb-site .site-frame .ccb-sighting-detail-media .ccb-section-heading {
  margin-bottom: var(--space-3);
}

.ccb-site .site-frame .ccb-sighting-detail-media .ccb-section-heading h2 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.ccb-site .site-frame .ccb-sighting-detail-media .ccb-photo-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--media-gap);
}

.ccb-site .site-frame .ccb-sighting-detail-media .ccb-gallery-item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(24, 56, 47, 0.12);
  border-radius: 8px;
  box-shadow: none;
}

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

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

.ccb-site .site-frame .ccb-sighting-detail-media figcaption {
  margin: var(--space-2) var(--space-2) 0;
}

.ccb-site .site-frame .ccb-sighting-detail-media .ccb-photo-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin: var(--space-2);
}

.ccb-site .site-frame .ccb-sighting-detail-media .ccb-photo-actions > .btn,
.ccb-site .site-frame .ccb-sighting-detail-media .ccb-photo-actions > form,
.ccb-site .site-frame .ccb-sighting-detail-media .ccb-photo-actions > form .btn {
  width: 100%;
}

.ccb-site .site-frame .ccb-sighting-detail-media .ccb-photo-remove {
  margin: 0;
}

.ccb-site .site-frame .ccb-sighting-detail-media .ccb-empty-state {
  height: auto;
  padding: var(--card-pad-sm);
  box-shadow: none;
}

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

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

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

@media (min-width: 640px) {
  .ccb-site .site-frame .ccb-card-grid,
  .ccb-site .site-frame .ccb-sighting-grid,
  .ccb-site .site-frame .ccb-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .ccb-site .site-frame .ccb-card-grid,
  .ccb-site .site-frame .ccb-sighting-grid,
  .ccb-site .site-frame .ccb-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ccb-site .site-frame .ccb-sighting-detail-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  }
}

@media (min-width: 1280px) {
  .ccb-site .site-frame .ccb-card-grid,
  .ccb-site .site-frame .ccb-sighting-grid,
  .ccb-site .site-frame .ccb-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ccb-site .site-frame .ccb-sighting-detail-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  }
}

/* Medium desktop / narrow desktop */

@media (max-width: 1250px) {
  :root {
    --brand-mark-size: 76px;
    --brand-gap: 18px;
    --hero-min: 500px;
    --stats-width: 1120px;
  }

  .site-header-inner {
    min-height: 108px;
    gap: 24px;
  }

  .brand-mark {
    width: var(--brand-mark-size);
    height: var(--brand-mark-size);
  }

  .brand-wordmark {
    width: 210px;
    flex-basis: 210px;
    gap: 6px;
  }

  .brand-line-top {
    font-size: 20px;
  }

  .brand-line-main {
    font-size: 40px;
  }

  .brand-line-tag {
    font-size: 10px;
  }

  .btn-submit {
    min-width: 210px;
  }

  .hero-inner {
    grid-template-columns: minmax(488px, 43%) minmax(0, 1fr);
  }

  .hero-copy h1 {
    font-size: clamp(56px, 5.5vw, 74px);
  }

  .hero-stat {
    padding: 20px 18px;
    gap: 14px;
  }

  .hero-stat-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .hero-stat strong {
    font-size: 29px;
  }

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

  .share-inner {
    grid-template-columns: 260px minmax(320px, 1fr);
  }

  .share-action {
    grid-column: 1 / -1;
    min-height: 116px;
    flex-direction: row;
    justify-content: center;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

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

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

  .site-header-inner {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-wrap: wrap;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 56px 0 38px;
  }

  .hero-image-placeholder {
    min-height: 240px;
    margin-right: 0;
    margin-bottom: 58px;
    border-left: 0;
    border-radius: 12px;
  }

  .hero-stats {
    margin-top: -36px;
  }

  .hero-stats-inner {
    width: min(calc(100% - (var(--gutter) * 2)), var(--stats-width));
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-stat:nth-child(1),
  .hero-stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .share-inner {
    grid-template-columns: 1fr;
  }

  .share-action {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
    --section-y: 48px;
    --page-hero-padding: var(--space-4) 0;
    --section-heading-gap: 24px;
    --card-grid-gap: var(--space-3);
    --layout-gap: var(--space-4);
    --panel-pad: 18px;
    --card-pad: 18px;
    --card-pad-sm: var(--space-3);
    --media-gap: 14px;
  }

  .site-header-inner {
    align-items: flex-start;
  }

  .brand-mark {
    width: 66px;
    height: 66px;
  }

  .brand-wordmark {
    width: 182px;
    flex-basis: 182px;
    gap: 5px;
  }

  .brand-line-top {
    font-size: 17px;
  }

  .brand-line-main {
    font-size: 35px;
  }

  .brand-line-tag {
    font-size: 8px;
  }

  .header-actions,
  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-submit,
  .btn-primary-action,
  .btn-secondary-action {
    width: 100%;
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 15vw, 64px);
  }

  .ccb-site .site-frame .ccb-sighting-detail-card .ccb-owner-actions > .btn,
  .ccb-site .site-frame .ccb-sighting-detail-card .ccb-owner-actions > form {
    flex-basis: 100%;
  }

  .hero-image-placeholder {
    margin-bottom: 0;
  }

  .hero-stats {
    margin-top: 0;
    padding: 32px 0 0;
  }

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

  .hero-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stat:last-child {
    border-bottom: 0;
  }

  .feature-inner {
    grid-template-columns: 1fr;
  }

  .feature-section,
  .share-section {
    padding: 32px 0 0;
  }

  .feature-card-link {
    min-height: 160px;
  }

  .feature-card-top {
    grid-template-columns: 58px 1fr;
  }

  .feature-card-icon {
    width: 58px;
    height: 58px;
  }

  .feature-card-copy p {
    max-width: 100%;
  }

  .share-copy {
    padding: 32px 28px 24px;
  }

  .share-copy h2 {
    font-size: 29px;
  }

  .share-copy p {
    max-width: none;
    padding-right: 0;
  }

  .share-action {
    padding: 0 28px 32px;
    flex-direction: column;
    align-items: center;
    border-top: 0;
    text-align: center;
  }

  .ccb-site .site-frame .share-action .btn-submit {
    width: auto;
    min-width: 240px;
    align-self: center;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    margin-top: 30px;
  }
}
