:root {
  --ink: #f7f0df;
  --muted: #b8ad9a;
  --line: rgba(247, 240, 223, 0.16);
  --gold: #c8a45d;
  --gold-strong: #e2c784;
  --charcoal: #11100d;
  --deep-green: #17261d;
  --wine: #51212d;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(200, 164, 93, 0.22), transparent 32rem),
    linear-gradient(135deg, rgba(81, 33, 45, 0.78), rgba(23, 38, 29, 0.92) 46%, #0d0d0b);
}

a {
  color: inherit;
  text-decoration: none;
}

.profile-shell {
  width: min(100%, 920px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 16, 13, 0.84);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  min-height: 560px;
}

.portrait-wrap {
  position: relative;
  min-height: 420px;
  background: #e9ece2;
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(17, 16, 13, 0.18));
  pointer-events: none;
}

.portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 32%;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 74px);
  border-left: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 4.6vw, 4.25rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
}

.role {
  max-width: 30rem;
  margin: 26px 0 0;
  color: #fff7e8;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.45;
}

.location {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 199, 132, 0.5);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.action-whatsapp {
  color: #11100d;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  border-color: transparent;
}

.action:hover,
.action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-strong);
  outline: none;
}

.details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.detail-link {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border-right: 1px solid var(--line);
  transition: background 160ms ease;
}

.detail-link:last-child {
  border-right: 0;
}

.detail-link:hover,
.detail-link:focus-visible {
  background: rgba(247, 240, 223, 0.06);
  outline: none;
}

.detail-label {
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-value {
  color: #fff8ea;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.site-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  color: rgba(247, 240, 223, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.site-credit a {
  color: var(--gold-strong);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: var(--ink);
  outline: none;
  text-decoration: underline;
}

@media (max-width: 860px) {
  body {
    min-height: 100%;
    padding: 0;
    place-items: stretch;
  }

  .profile-shell {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .portrait-wrap {
    min-height: 52vh;
  }

  .content {
    padding: 34px 24px 30px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  h1 {
    font-size: clamp(2.55rem, 10.2vw, 3.35rem);
  }

  .primary-actions {
    margin-top: 30px;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .detail-link {
    min-height: 88px;
    padding: 20px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-link:last-child {
    border-bottom: 0;
  }

  .site-credit {
    padding: 18px 18px 22px;
    font-size: 0.72rem;
  }
}

@media (max-width: 540px) {
  .primary-actions {
    grid-template-columns: 1fr;
  }
}
