.profile-hero {
  position: relative;
  overflow: hidden;
  color: #2d2028;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 255, 255, .95) 0 6%, transparent 27%),
    radial-gradient(circle at 92% 82%, rgba(117, 43, 73, .16), transparent 32%),
    linear-gradient(128deg, #fff9f7 0%, #f8e8eb 46%, #ead9e5 100%);
  border-bottom: 1px solid #d9bdc9;
}

.profile-hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -150px;
  right: 34%;
  border: 1px solid rgba(128, 56, 86, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, .12), 0 0 0 78px rgba(128, 56, 86, .05);
}

.profile-hero-grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 70px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 62px;
}

.profile-copy {
  position: relative;
  z-index: 2;
}

.profile-kicker {
  margin: 0 0 17px;
  color: #934d69;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.profile-copy h1 {
  max-width: 570px;
  margin-bottom: 14px;
  color: #2b2026;
  font-size: clamp(48px, 6vw, 78px);
}

.profile-copy h1 em {
  color: #9d3d65;
  font-family: Georgia, serif;
  font-weight: 500;
}

.profile-title {
  color: #72485a;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.profile-message {
  max-width: 540px;
  margin: 25px 0 30px;
  padding: 3px 0 3px 20px;
  border-left: 3px solid #a84e72;
  color: #59414b;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.58;
  animation: haidy-quote-arrival .55s cubic-bezier(.2, .8, .2, 1) both;
}

.profile-message cite {
  display: block;
  margin-top: 10px;
  color: #925c73;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.profile-archive-label {
  display: inline-flex;
  margin-top: 15px;
  padding: 5px 9px;
  border: 1px solid rgba(140, 70, 100, .26);
  border-radius: 999px;
  color: #8f536b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 21px;
  flex-wrap: wrap;
}

.profile-action-link {
  color: #6f4355;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid #a96a84;
}

.profile-action-link span {
  margin-left: 6px;
}

.profile-signature {
  margin: 28px 0 0;
  color: #9b667c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-hero-art {
  position: relative;
  width: min(430px, 100%);
  height: 485px;
  justify-self: center;
  margin: 0;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, .94);
  border-radius: 30px 30px 120px 30px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(91, 47, 67, .24);
  transform: rotate(1.5deg);
}

.profile-hero-art::after {
  content: attr(data-signature);
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(112, 43, 72, .78);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
}

.profile-hero-art::before {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid rgba(153, 61, 101, .38);
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(153, 61, 101, .08);
}

.profile-hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 14%;
}

.profile-hero-art figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(45, 32, 40, .86);
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-stats {
  margin-top: 42px;
}

.haidy-nav-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 13px;
  border-right: 1px solid #d6c1ca;
}

.haidy-nav-identity img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: center 14%;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 13px rgba(103, 50, 73, .18);
}

.haidy-nav-identity span {
  display: grid;
  line-height: 1.15;
}

.haidy-nav-identity strong {
  color: #633849;
  font-family: Georgia, serif;
  font-size: 13px;
}

.haidy-nav-identity small {
  color: #9a7383;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.haidy-companion-container {
  display: flex;
  justify-content: flex-end;
  margin: 24px auto 0;
}

.haidy-companion {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  filter: drop-shadow(0 12px 24px rgba(68, 36, 50, .08));
}

.haidy-companion-art {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 122px;
  margin-right: -14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: rotate(-2deg);
}

.haidy-companion-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 8px 9px rgba(68, 36, 50, .18));
}

.haidy-quote-card {
  padding: 14px 16px 14px 28px;
  border: 1px solid #d8bcc8;
  border-radius: 16px 16px 16px 6px;
  background: rgba(255, 249, 248, .97);
  backdrop-filter: blur(14px);
  animation: haidy-quote-arrival .55s cubic-bezier(.2, .8, .2, 1) both;
}

.haidy-quote-card > span {
  color: #9a5a73;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.haidy-quote-card blockquote {
  margin: 6px 0 6px;
  color: #4b3440;
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.4;
}

.haidy-quote-card cite {
  color: #98687b;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

html[data-theme="dark"] .profile-hero {
  color: #f3e8ed;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 255, 255, .04) 0 6%, transparent 27%),
    radial-gradient(circle at 92% 82%, rgba(190, 91, 132, .18), transparent 32%),
    linear-gradient(128deg, #181116 0%, #281820 46%, #211720 100%);
  border-color: #513645;
}

html[data-theme="dark"] .profile-copy h1 {
  color: #fff5f8;
}

html[data-theme="dark"] .profile-title,
html[data-theme="dark"] .profile-message {
  color: #d5b8c5;
}

html[data-theme="dark"] .profile-kicker,
html[data-theme="dark"] .profile-copy h1 em,
html[data-theme="dark"] .profile-message cite,
html[data-theme="dark"] .profile-signature {
  color: #e69ab8;
}

html[data-theme="dark"] .profile-action-link {
  color: #e5b0c5;
}

html[data-theme="dark"] .profile-archive-label {
  border-color: #74455a;
  color: #e5a7bf;
}

html[data-theme="dark"] .profile-hero-art {
  border-color: rgba(56, 37, 46, .95);
  background: #281c22;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

html[data-theme="dark"] .haidy-nav-identity {
  border-color: #513845;
}

html[data-theme="dark"] .haidy-nav-identity strong {
  color: #f1cada;
}

html[data-theme="dark"] .haidy-nav-identity small {
  color: #c18ea3;
}

html[data-theme="dark"] .haidy-nav-identity img {
  border-color: #2e2027;
  background: #2e2027;
}

html[data-theme="dark"] .haidy-quote-card {
  border-color: #674153;
  background: rgba(39, 25, 32, .97);
}

html[data-theme="dark"] .haidy-quote-card > span,
html[data-theme="dark"] .haidy-quote-card cite {
  color: #d999b2;
}

html[data-theme="dark"] .haidy-quote-card blockquote {
  color: #f1dfe6;
}

@keyframes haidy-quote-arrival {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-message,
  .haidy-quote-card {
    animation: none;
  }
}

@media (max-width: 900px) {
  .profile-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .profile-copy {
    max-width: 700px;
  }

  .profile-hero-art {
    width: min(480px, 100%);
  }
}

@media (max-width: 760px) {
  .profile-hero-grid {
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 50px;
  }

  .profile-copy h1 {
    font-size: 48px;
  }

  .profile-message {
    font-size: 18px;
  }

  .profile-hero-art {
    height: 420px;
  }

  .haidy-nav-identity span {
    display: none;
  }

  .haidy-companion-container {
    justify-content: center;
    margin-top: 16px;
  }

  .haidy-companion {
    width: min(100% - 28px, 520px);
    margin: 0 auto;
  }
}
