:root {
  --ink: #11100e;
  --ink-soft: #211e1a;
  --gold: #b88a3b;
  --gold-light: #dbbb80;
  --paper: #f5f1e9;
  --white: #fffdf9;
  --muted: #c9c1b3;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0, rgba(184,138,59,.18), transparent 30rem),
    linear-gradient(145deg, #0d0c0b, #24211d);
  font-family: var(--sans);
}

.page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 1.5rem;
}

.card {
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(184,138,59,.42);
  background: rgba(17,16,14,.97);
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}

.portrait {
  position: relative;
  height: 285px;
  overflow: hidden;
  background: var(--ink-soft);
}

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

.portrait-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink), transparent 50%);
}

.monogram {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(17,16,14,.75);
  font: 600 1rem var(--serif);
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}

.identity { padding: 0 1.5rem 1.4rem; text-align: center; }
.eyebrow { margin: 0 0 .65rem; color: var(--gold-light); font-size: .73rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 0; font: 500 2.35rem/1.1 var(--serif); letter-spacing: -.02em; }
.credential { margin: .55rem 0 0; color: var(--muted); font-size: .9rem; }
.specialty { margin: .55rem 0 0; color: var(--white); font-weight: 600; }
.service { margin: .25rem 0 0; color: #a9a196; font-size: .85rem; }

.actions { display: grid; gap: .7rem; padding: 0 1.2rem; }
.action {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  align-items: center;
  gap: .65rem;
  min-height: 56px;
  padding: .75rem 1rem;
  border: 1px solid rgba(184,138,59,.38);
  color: var(--white);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.action:hover, .action:focus-visible { transform: translateY(-2px); border-color: var(--gold); background: rgba(184,138,59,.09); }
.action:focus-visible, .share:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.action.primary { color: #101c15; border-color: #45ad76; background: #55c98a; font-weight: 600; }
.action.primary:hover { background: #6ad99c; }
.icon { color: var(--gold-light); font-size: 1.15rem; text-align: center; }
.primary .icon { color: #123820; }

.share {
  width: calc(100% - 2.4rem);
  min-height: 48px;
  margin: 1rem 1.2rem 0;
  border: 0;
  color: var(--ink);
  background: var(--gold);
  font: 600 .9rem var(--sans);
  cursor: pointer;
}
.share:hover { background: #c99a4b; }
.notice { margin: 1.15rem 1.5rem 1.4rem; color: #8e877c; font-size: .72rem; line-height: 1.5; text-align: center; }

@media (max-width: 480px) {
  .page { align-items: start; padding: 0; }
  .card { min-height: 100vh; border-width: 0; }
  .portrait { height: 36vh; min-height: 245px; max-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
