:root {
  --bg: #050506;
  --card: #0a0a0b;
  --card-soft: #101012;
  --text: #f0f0f2;
  --muted: #a4a5aa;
  --line: rgba(255,255,255,.08);
  --glass-top: rgba(255,255,255,.095);
  --glass-bottom: rgba(255,255,255,.035);
  --shadow: rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(180deg, #0a0a0b 0%, #040405 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 24px 14px 40px;
}

.business-card {
  width: min(100%, 480px);
  overflow: hidden;
  position: relative;
  border-radius: 34px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 28px 80px var(--shadow), inset 0 1px 0 rgba(255,255,255,.03);
}

.card-hero {
  position: relative;
  padding: 30px 28px 44px;
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(255,255,255,.025) 58.2% 72%, transparent 72.2%),
    linear-gradient(180deg, #111113 0%, #0a0a0b 100%);
}

.card-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 54px;
  background: #09090a;
  clip-path: polygon(0 48%, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.portrait-wrap {
  width: 92px;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  background: #161618;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 28px rgba(0,0,0,.35);
}

.portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(.82) contrast(1.03) brightness(.9);
}

.identity {
  margin-top: 28px;
  max-width: 360px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #8e8f94;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.02;
  font-weight: 520;
  letter-spacing: -.035em;
}

.role {
  margin: 11px 0 0;
  color: #d7d7da;
  font-size: 16px;
  font-weight: 470;
  letter-spacing: .035em;
}

.summary {
  margin: 24px 0 0;
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.ribbed-panel {
  position: relative;
  padding: 46px 18px 22px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.25)),
    repeating-linear-gradient(90deg, #0c0c0d 0 3px, #121214 3px 5px, #080809 5px 8px);
}

.ribbed-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.02) 58.4%, transparent 59%),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.03), transparent 38%);
  mix-blend-mode: screen;
}

.link-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.contact-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  color: inherit;
  text-decoration: none;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--glass-top), var(--glass-bottom)),
    rgba(12,12,14,.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 10px 24px rgba(0,0,0,.18);
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.13);
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05)),
    rgba(14,14,16,.82);
  outline: none;
}

.contact-card:active { transform: translateY(0) scale(.995); }

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: #e8e8ea;
}

.label-wrap { min-width: 0; }

.label,
.detail { display: block; }

.label {
  font-size: 17px;
  font-weight: 520;
  letter-spacing: .005em;
}

.detail {
  margin-top: 4px;
  color: #9a9ba0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow {
  color: #b8b8bc;
  font-size: 27px;
  font-weight: 200;
  line-height: 1;
}

.muted {
  opacity: .46;
  pointer-events: none;
}

.save-card {
  margin-top: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.145), rgba(255,255,255,.055)),
    rgba(13,13,15,.82);
}

@media (min-width: 700px) {
  .page-shell { padding-top: 44px; }
  .business-card { border-radius: 40px; }
  .card-hero { padding: 36px 34px 52px; }
  .ribbed-panel { padding: 52px 24px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card { transition: none; }
}
