:root {
  --bg: #f6f1e7;
  --ink: #2b2622;
  --muted: #7a7167;
  --accent: #b4552d;
  --card: #fffdf9;
}

* { box-sizing: border-box; }

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image: radial-gradient(circle at 50% 0%, #fbf6ec 0%, var(--bg) 60%);
  display: grid;
  place-items: center;
  padding: 6vh 20px;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid rgba(43, 38, 34, 0.08);
  border-radius: 22px;
  padding: 22px 22px 30px;
  box-shadow: 0 20px 50px -24px rgba(43, 38, 34, 0.35);
  text-align: center;
}

.photo {
  margin: 0 0 26px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ece4d6;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 6px;
}

.tagline {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 26px;
  letter-spacing: 0.01em;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 20px -8px rgba(180, 85, 45, 0.7);
}

.doc-link:hover {
  background: #9e4826;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(180, 85, 45, 0.75);
}

.doc-link span { transition: transform 0.15s ease; }
.doc-link:hover span { transform: translateX(3px); }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #201c19;
    --ink: #f2ebe1;
    --muted: #a89e92;
    --card: #2a2521;
  }
  body { background-image: radial-gradient(circle at 50% 0%, #2c2723 0%, var(--bg) 60%); }
  .card { border-color: rgba(255, 255, 255, 0.06); }
  .photo { background: #35302a; }
}
