:root {
  color-scheme: light;
  --orange: #ff7a24;
  --ink: #101010;
  --paper: #fffdf9;
  --muted: #5e5a55;
  --line: #ded8cf;
}

* { box-sizing: border-box; }

html { background: #ede9e3; }

body {
  margin: 0;
  color: var(--ink);
  background: #ede9e3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

.page {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 42px rgb(0 0 0 / 12%);
}

.hero {
  padding: 24px 22px 28px;
  text-align: center;
  background: var(--orange);
}

.eyebrow {
  margin: 0;
  font-size: clamp(1.1rem, 5vw, 1.65rem);
  font-weight: 900;
  letter-spacing: .12em;
}

h1 {
  margin: .22em 0 -2px;
  font-size: clamp(5rem, 24vw, 9.2rem);
  font-weight: 1000;
  line-height: .92;
  letter-spacing: -.055em;
}

.hero-line {
  margin: 16px 0 0;
  font-size: clamp(1.05rem, 4.5vw, 1.5rem);
  font-weight: 900;
  text-transform: uppercase;
}

.portrait { margin: 0; background: #fff; }

.portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.last-seen {
  display: grid;
  gap: 3px;
  padding: 18px 20px 20px;
  color: white;
  text-align: center;
  background: var(--ink);
}

.last-seen strong {
  font-size: clamp(1.15rem, 5vw, 1.55rem);
  text-transform: uppercase;
}

.last-seen span {
  font-size: clamp(.98rem, 4vw, 1.2rem);
  font-weight: 800;
  text-transform: uppercase;
}

.story { padding: 30px 25px 25px; }

.story h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.story p { margin: 0 0 14px; font-size: 1.12rem; }

.appeal {
  padding: 16px;
  border-left: 6px solid var(--orange);
  background: #fff0e5;
  font-weight: 800;
}

.reward {
  display: inline-block;
  margin-bottom: 0 !important;
  padding: 7px 13px;
  color: var(--ink);
  background: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.contact {
  padding: 27px 24px 30px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact-name {
  margin: 0 0 2px;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phone {
  display: inline-block;
  margin-bottom: 19px;
  color: var(--ink);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 1000;
  line-height: 1.1;
  text-decoration: none;
}

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

.action,
.share {
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 11px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.action.primary { background: var(--orange); }

.action {
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 8px;
}

.action-icon {
  width: 1.35em;
  height: 1.35em;
  fill: currentColor;
  flex: none;
}

.share {
  width: 100%;
  margin-top: 12px;
  color: white;
  background: var(--ink);
}

.share-status {
  min-height: 1.3em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 480px) {
  .page { box-shadow: none; }
  .actions { grid-template-columns: 1fr; }
  .story { padding-inline: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .action, .share { transition: transform .12s ease, box-shadow .12s ease; }
  .action:active, .share:active { transform: translateY(1px); }
}
