.profile-main { max-width: 1080px; margin-inline: auto; padding-block: clamp(14px, 2.8vw, 42px) 48px; }
.profile-panel[hidden] { display: none; }
.profile-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 10px; color: #f1eef7; font-size: .94rem; text-decoration: underline; text-decoration-color: #a9a4b8; text-underline-offset: .23em; }
.profile-back:hover { text-decoration-color: #fff; }
.profile-panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.35fr); overflow: hidden; border: 1px solid rgb(233 226 250 / .25); border-radius: 12px; background: rgb(27 30 42 / .78); backdrop-filter: blur(16px); box-shadow: 0 14px 48px rgb(16 17 26 / .18); }
.profile-portrait { display: grid; place-items: center; min-width: 0; padding: clamp(14px, 3vw, 44px); border-inline-end: 1px solid var(--line); background: radial-gradient(ellipse at 50% 60%, rgb(193 174 219 / .27), transparent 70%), linear-gradient(145deg, rgb(213 210 235 / .12), transparent); }
.profile-portrait img { display: block; width: min(100%, 275px); height: auto; filter: drop-shadow(0 7px 8px rgb(12 13 21 / .38)); }
.profile-details { min-width: 0; padding: clamp(20px, 3.5vw, 50px); }
.profile-group { margin: 0 0 5px; color: #d8cbe9; font-size: .82rem; letter-spacing: .085em; font-weight: 650; text-transform: uppercase; }
.profile-details h1 { margin: 0 0 clamp(18px, 2.8vw, 36px); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.06; letter-spacing: -.055em; overflow-wrap: anywhere; }
.profile-details table { width: 100%; border-collapse: collapse; }
.profile-details th, .profile-details td { border-top: 1px solid var(--line); padding-block: 14px; font-size: 1rem; line-height: 1.4; text-align: left; vertical-align: top; }
.profile-details th { width: 55%; color: #d5d1df; padding-right: 14px; font-weight: 480; }
.profile-details td { font-weight: 620; font-variant-numeric: tabular-nums; }
.profile-description { grid-column: 1 / -1; padding: clamp(18px, 2.5vw, 32px) clamp(18px, 3.5vw, 50px); border-top: 1px solid var(--line); }
.profile-description h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.025em; }
.profile-description p { max-width: 72ch; margin: 8px 0 0; color: #dfdce7; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }

@media (max-width: 680px) {
  .profile-panel { grid-template-columns: minmax(76px, .48fr) minmax(0, 1.4fr); }
  .profile-portrait { padding: clamp(4px, 1.5vw, 14px); }
  .profile-details { padding: clamp(13px, 3.4vw, 22px); }
  .profile-details th, .profile-details td { padding-block: 9px; font-size: .9rem; }
}
@media (max-width: 500px) {
  .profile-details tr { display: grid; gap: 2px; padding-block: 8px; border-top: 1px solid var(--line); }
  .profile-details th, .profile-details td { width: auto; padding: 0; border: 0; }
  .profile-details th { font-size: .82rem; }
  .profile-details h1 { margin-bottom: 16px; }
}
