html {
  position: relative;
  min-height: 100%;
  font-size: 16px;
}

body {
  margin-bottom: 72px;
  background: #f7f5ef;
  color: #1f2728;
}

a {
  color: #12616d;
}

.btn-primary {
  background: #12616d;
  border-color: #12616d;
}

.hero {
  min-height: 420px;
  display: grid;
  align-items: center;
  padding: 56px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(18, 97, 109, 0.92), rgba(18, 97, 109, 0.5)),
    url("https://images.unsplash.com/photo-1558944351-cb9d87dd5cd0?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: white;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0;
  color: #ffd166;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0 20px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.report-card {
  overflow: hidden;
  background: white;
  border: 1px solid #d9dedb;
  border-radius: 8px;
}

.report-card img,
.report-card video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d9dedb;
}

.report-card-body {
  padding: 18px;
}

.status {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffd166;
  color: #172026;
  font-size: 0.85rem;
  font-weight: 700;
}

.form-panel,
.share-panel,
.map-panel {
  background: white;
  border: 1px solid #d9dedb;
  border-radius: 8px;
  padding: 24px;
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.media-grid img,
.media-grid video,
.sighting-list img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.barcode {
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 8px auto 16px;
}

.map-panel {
  margin: 28px 0;
}

.map-panel iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}

.sighting-list {
  display: grid;
  gap: 14px;
}

.sighting-list article {
  background: white;
  border: 1px solid #d9dedb;
  border-radius: 8px;
  padding: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.metric-grid a {
  display: grid;
  gap: 4px;
  padding: 22px;
  background: white;
  border: 1px solid #d9dedb;
  border-radius: 8px;
  text-decoration: none;
}

.metric-grid strong {
  font-size: 2.3rem;
  color: #12616d;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

@media (max-width: 860px) {
  .hero {
    padding: 32px 22px;
  }

  .details-layout,
  .section-header {
    display: block;
  }

  .share-panel {
    margin-top: 20px;
  }
}
