:root {
  --urgent: #e8452c;
  --urgent-dark: #c23319;
  --ink: #1a1a1a;
  --muted: #5a5148;
  --bg: #fff8f0;
  --card: #ffffff;
  --line: #eadfce;
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

/* leave room for the sticky mobile call bar */
body { padding-bottom: 84px; }

a { color: var(--urgent-dark); }

.banner {
  background: var(--urgent);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: clamp(0.8rem, 2.6vw, 1.05rem);
  overflow: hidden;
  position: relative;
}

.banner a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.marquee-track {
  display: flex;
  width: max-content;
  padding: 10px 0;
  animation: marquee-scroll 16s linear infinite;
}

.marquee-item {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-right: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.hero { display: flex; flex-direction: column; gap: 16px; }

.photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.dog-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--line);
}

.dog-photo--main { aspect-ratio: 1 / 1; object-position: center 20%; }
.dog-photo--secondary { aspect-ratio: 1 / 1; object-position: center 15%; }

.dog-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 16px;
}

.hero-heading, .hero-text { text-align: center; }

.headline {
  margin: 4px 0 4px;
  font-size: clamp(1.5rem, 8.2vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--urgent);
  white-space: nowrap;
  text-transform: uppercase;
}

.tagline {
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 600;
}

.phone-cta {
  display: block;
  font-size: clamp(1.7rem, 8vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--urgent);
  text-decoration: none;
  margin: 20px 0 4px;
}

.phone-cta:hover { color: var(--urgent-dark); }

.info-card {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.facts > div { display: flex; flex-direction: column; }
.facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

.tips-col {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.tips-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 10px;
}

.contact { margin-top: 32px; }
.contact h2, .sightings h2 { font-size: 1.3rem; margin-bottom: 12px; }

.btn-call {
  background: var(--urgent);
  color: #fff;
  text-decoration: none;
  display: block;
  text-align: center;
  border-radius: 14px;
  padding: 20px 16px;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.btn-call:hover { background: var(--urgent-dark); }

.btn-call span {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.btn {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 1rem;
  min-height: 48px;
  line-height: 1.3;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn span { font-weight: 800; font-size: 1.05rem; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.share-btn { width: 100%; }

.tips {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.tips li { margin-bottom: 6px; }

.sightings { margin-top: 32px; }

.sighting-item {
  position: relative;
  padding: 12px 0 12px 20px;
  border-left: 3px solid var(--urgent);
  margin-bottom: 4px;
}

.sighting-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--urgent);
}

.sighting-date { font-weight: 700; font-size: 0.9rem; }
.sighting-location { font-weight: 600; margin: 2px 0; }
.sighting-note { color: var(--muted); margin: 0 0 4px; }
.sighting-source { font-size: 0.9rem; font-weight: 600; }

.sightings-empty {
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 248, 240, 0.96);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
}

.sticky-call-btn {
  margin-bottom: 0;
  padding: 16px;
  font-size: 1.05rem;
}

@media (min-width: 640px) {
  .wrap { max-width: 820px; }

  .info-card { grid-template-columns: 1fr 1fr; align-items: start; }
  .tips-col { border-top: none; border-left: 1px solid var(--line); padding-top: 0; padding-left: 20px; }

  /* enough room on desktop, hide the mobile sticky bar */
  .sticky-call { display: none; }
  body { padding-bottom: 40px; }
}
