:root {
  --page: #f7f3ed;
  --ink: #15130f;
  --muted: #746d63;
  --line: rgba(21, 19, 15, .12);
  --accent: #9f2037;
  --accent-dark: #741126;
  --surface: rgba(255, 255, 255, .86);
  --shadow: 0 24px 70px rgba(36, 25, 12, .16);
}

* {
  box-sizing: border-box;
}

html {
  width: 100vw;
  min-height: 100%;
  background: var(--page);
  overflow-x: hidden;
}

body {
  width: 100vw;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -12%, rgba(159, 32, 55, .14), transparent 34rem),
    var(--page);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.card-shell {
  width: 100vw;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 0 0 1px rgba(21, 19, 15, .05);
}

.hero {
  position: relative;
  min-height: 56svh;
  overflow: hidden;
  background: #d6cabb;
}

.portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 23%;
  transform: translate(24px, -64px) scale(1.1);
  transform-origin: 57% 23%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, transparent 28%),
    linear-gradient(0deg, rgba(15, 12, 8, .84) 0%, rgba(15, 12, 8, .35) 35%, transparent 62%);
}

.brand-row {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 18px;
  display: grid;
  width: 93px;
  height: 93px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(24, 16, 8, .2);
  overflow: hidden;
}

.brand-row img {
  width: 83px;
  height: 83px;
  object-fit: contain;
  transform: none;
}

.identity {
  position: absolute;
  right: 22px;
  bottom: 100px;
  left: 22px;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .32);
}

.role {
  max-width: 15ch;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.12;
  color: rgba(255, 255, 255, .78);
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(39px, 12.1vw, 54px);
  line-height: .92;
  letter-spacing: 0;
}

.action-panel {
  position: relative;
  z-index: 2;
  margin: -76px 14px 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.primary-action {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  text-decoration: none;
  font-size: 17px;
  font-weight: 760;
  box-shadow: 0 14px 28px rgba(116, 17, 38, .28);
}

.action-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-actions {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.quick-actions a {
  display: flex;
  min-width: 0;
  min-height: 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .58);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
}

.quick-actions svg {
  width: 19px;
  height: 19px;
  color: var(--accent-dark);
}

.details {
  padding: 22px 22px max(28px, env(safe-area-inset-bottom));
}

.lead {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.36;
  font-weight: 560;
}

.contact-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.contact-list a {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .48);
  text-decoration: none;
  font-size: 17px;
  font-weight: 720;
}

.contact-list span,
.promo span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.promo {
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  color: #fff;
  background: #1d1711;
}

.promo p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.35;
}

@media (min-width: 720px) {
  body {
    padding: 28px 0;
  }

  .card-shell {
    min-height: calc(100svh - 56px);
    border-radius: 34px;
  }
}

@media (max-width: 719px) {
  .card-shell {
    width: 100vw;
    max-width: none;
    margin: 0;
  }

  .action-panel {
    margin-right: 12px;
    margin-left: 12px;
  }

  .quick-actions a {
    font-size: 11px;
  }
}

@media (max-height: 740px) {
  .hero {
    min-height: 52svh;
  }

  .identity {
    bottom: 92px;
  }

  h1 {
    font-size: clamp(36px, 11.4vw, 48px);
  }

  .details {
    padding-top: 18px;
  }
}
