/* Compact social profile, aligned with the surrounding portfolio sections. */
.profile-shell {
  --profile-ink: #f5f5f6;
  --profile-muted: #99999f;
  --profile-rule: #39393f;
  --profile-button: #1a1b1e;
  --profile-button-hover: #232429;
  --profile-shadow: 0 16px 32px -8px rgba(0,0,0,.4), 0 8px 16px -4px rgba(0,0,0,.3), 0 4px 8px -2px rgba(0,0,0,.3), 0 0 0 1px #000, inset 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.2);
  max-width: 1184px; margin-inline: auto; font-family: "Figtree", "Barlow Semi Condensed", sans-serif;
}
html[data-theme="light"] .profile-shell {
  --profile-ink: #202024;
  --profile-muted: #63636c;
  --profile-rule: #b5b5be;
  --profile-button: #e8e8ec;
  --profile-button-hover: #f3f3f5;
  --profile-shadow: 0 12px 24px -10px rgba(45,45,55,.2), 0 4px 8px -2px rgba(45,45,55,.12), 0 0 0 1px #bdbdc6, inset 0 0 0 1px rgba(255,255,255,.55), inset 0 1px 0 rgba(255,255,255,.95);
}
.profile-shell > .eyebrow { margin-bottom: 24px; }
.profile-identity { display: flex; align-items: center; gap: 36px; }
.profile-avatar { position: relative; flex: 0 0 160px; width: 160px; height: 164px; margin: 0; border-radius: 14px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.profile-avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; }
.profile-details { min-width: 0; }
.profile-details h2 { margin: 0 0 8px; color: var(--profile-ink); font: 700 32px/1.2 "Figtree",sans-serif; letter-spacing: -.025em; }
.profile-mountain { display: inline-block; margin-left: .25em; font-size: .78em; line-height: 1; vertical-align: .02em; transform-origin: 50% 90%; transition: transform 180ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .profile-mountain:hover { transform: scale(1.2); }
}
.profile-handle { color: var(--profile-muted); font: 400 16px/1.6 "IBM Plex Mono",monospace; text-decoration: none; }
.profile-handle:hover { color: var(--text); }
.profile-building { display: block; margin: 8px 0 7px; color: var(--profile-ink); font-size: 17px; font-weight: 600; line-height: 1.4; }
.profile-build-trigger { position: relative; display: inline-grid; place-items: center; vertical-align: middle; width: 26px; height: 26px; margin-left: 3px; padding: 0; border: 0; background: transparent; color: var(--profile-muted); cursor: pointer; border-radius: 50%; }
.profile-info-dot { position: relative; width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; background: transparent; box-shadow: 0 0 0 2px var(--surface-elevated); }
.profile-info-dot::after { content: ""; position: absolute; width: 7px; height: 7px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: transparent; border: 1px solid currentColor; border-radius: 50%; }
.profile-build-trigger:hover,.profile-build-trigger[aria-expanded="true"] { color: var(--profile-ink); }
.profile-build-trigger:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.profile-build-popover { position: fixed; inset: auto; margin: 0; width: max-content; max-width: calc(100vw - 32px); padding: 10px 16px; overflow: visible; border: 0; border-radius: 8px; background: var(--profile-button); color: var(--profile-ink); box-shadow: 0 4px 16px rgba(0,0,0,.12); font: 400 15px/1.5 "Figtree",sans-serif; }
.profile-build-popover::before { content: ""; position: absolute; top: -6px; left: var(--info-pointer-x,50%); width: 12px; height: 7px; background: inherit; clip-path: polygon(50% 0,100% 100%,0 100%); transform: translateX(-50%); }
.profile-build-popover[data-placement="above"]::before { top: auto; bottom: -6px; transform: translateX(-50%) rotate(180deg); }
.profile-build-popover p { margin: 0; }
.profile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--profile-muted); font: 400 14px/1.6 "IBM Plex Mono",monospace; }
.profile-location, .profile-time { display: inline-flex; align-items: center; gap: 7px; }
.profile-location[hidden],.profile-meta-separator[hidden],#profileTimezone[hidden] { display: none; }
.profile-meta-separator { color: var(--profile-rule); }
.profile-time time { color: var(--profile-muted); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 11ch; margin-left: 0; }
.profile-icon { width: 18px; height: 18px; flex: 0 0 18px; display: inline-block; background: currentColor; mask: var(--profile-icon) center/contain no-repeat; }
.profile-meta .profile-icon { width: 17px; height: 17px; flex-basis: 17px; }
.profile-icon--mail { --profile-icon: url('assets/icons/reference/mail-drop.svg'); }
.profile-icon--pin { --profile-icon: url('assets/icons/lucide/map-pin.svg'); }
.profile-icon--clock { --profile-icon: url('assets/icons/lucide/timer.svg'); }
.profile-icon--arrow { --profile-icon: url('assets/icons/lucide/arrow-up-right.svg'); }
.profile-icon--linkedin { --profile-icon: url('assets/icons/font-awesome/linkedin.svg'); }
.profile-icon--github { --profile-icon: url('assets/icons/font-awesome/github.svg'); }
.profile-icon--whatsapp { --profile-icon: url('assets/icons/font-awesome/whatsapp.svg'); }
.profile-icon--cal { --profile-icon: url('assets/icons/social/caldotcom.svg'); }
.profile-icon--coffee { --profile-icon: url('assets/icons/social/buymeacoffee.svg'); }
.profile-icon--resume { --profile-icon: url('assets/icons/heroicons/document-download.svg'); }
.profile-icon--x { --profile-icon: url('assets/icons/social/x.svg'); }
.profile-intro { list-style: none; display: grid; gap: 8px; padding: 0; margin: 24px 0 0; color: var(--profile-muted); font-size: 17px; line-height: 1.6; }
.profile-intro li { position: relative; padding-left: 26px; }
.profile-intro li::before { content: ""; position: absolute; left: 0; top: .64em; width: 9px; height: 9px; border-radius: 50%; background: var(--profile-muted); }
.profile-intro strong { color: var(--profile-ink); font-weight: 600; }
.profile-connect-links { display: grid; grid-template-columns: 1fr 1fr; max-width: 820px; gap: 14px; padding-top: 0; margin-top: 20px; }
.profile-connect-card { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px dashed var(--profile-rule); color: var(--profile-ink); text-decoration: none; }
.profile-connect-card:hover { border-color: var(--profile-muted); }
.profile-connect-mark { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; background: var(--profile-button); border-radius: 12px; box-shadow: inset 0 1px 0 var(--hairline); }
.profile-connect-mark .profile-icon { width: 24px; height: 24px; flex-basis: 24px; }
.profile-connect-copy { display: grid; gap: 4px; min-width: 0; }
.profile-connect-copy strong { font-size: 17px; font-weight: 600; line-height: 1.3; }
.profile-connect-copy > span { font-size: 15px; line-height: 1.4; color: var(--profile-muted); }
.profile-connect-card--x .profile-connect-copy strong { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.profile-connect-card--x .profile-connect-copy > span { color: #74777d; font-size: 16px; }
.profile-verification { display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; background: #1d9bf0; mask: url('assets/icons/heroicons/check-badge.svg') center/contain no-repeat; }
.profile-connect-card--x .profile-connect-action { font-weight: 700; }
.profile-connect-action { flex: 0 0 auto; margin-left: auto; padding: 6px 12px; border: 1px dashed var(--profile-rule); color: var(--profile-ink); font-size: 14px; font-weight: 600; transition: background-color 150ms ease; }
.profile-connect-card:hover .profile-connect-action { background: var(--surface-elevated); }
.profile-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.profile-social { position: relative; height: 40px; min-width: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--profile-ink); text-decoration: none; background: var(--profile-button); border: 0; border-radius: 7px; box-shadow: var(--profile-shadow); transition: background-color 140ms ease,box-shadow 140ms ease,transform 140ms var(--ease); }
.profile-social .profile-icon { width: 20px; height: 20px; flex-basis: 20px; }
.profile-social--email { padding-inline: 12px; font-size: 15px; font-weight: 500; }
.profile-social--email .profile-icon { color: var(--profile-muted); }
@media (hover: hover) and (pointer: fine) {
  .profile-social:hover { background: var(--profile-button-hover); transform: translateY(-1px); }
}
.profile-social:active { transform: translateY(2px); box-shadow: 0 1px 3px rgba(0,0,0,.25),0 0 0 1px var(--profile-rule),inset 0 2px 4px rgba(0,0,0,.3); }
.profile-social--unlinked { cursor: default; }
.profile-social--unlinked:active { background: var(--profile-button); transform: none; box-shadow: var(--profile-shadow); }
.profile-social-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.profile-social-divider { height: 22px; width: 1px; background: var(--profile-rule); margin-inline: 1px; }
.profile-social-tooltip { position: fixed; inset: auto; width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 9px 13px; border: 0; border-radius: 7px; overflow: visible; background: var(--profile-button); color: var(--profile-ink); font: 500 14px/1.3 "Figtree",sans-serif; pointer-events: none; }
.profile-social-tooltip::after { content: ""; position: absolute; bottom: -6px; left: var(--tooltip-pointer-x,50%); width: 12px; height: 7px; background: inherit; clip-path: polygon(0 0,100% 0,50% 100%); transform: translateX(-50%); }
.profile-social-tooltip[data-placement="below"]::after { bottom: auto; top: -6px; transform: translateX(-50%) rotate(180deg); }
.profile-social:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.profile-shell a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 5px; }
@media (max-width: 900px) {
  .profile-connect-links { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 700px) {
  .profile-identity { gap: 28px; }
  .profile-avatar { flex-basis: 124px; width: 124px; height: 127px; }
  .profile-details h2 { font-size: 28px; }
  .profile-handle { font-size: 15px; }
  .profile-building { font-size: 17px; }
  .profile-meta { font-size: 12px; }
  .profile-meta .profile-icon { width: 15px; height: 15px; flex-basis: 15px; }
  .profile-intro { font-size: 16px; }
  .profile-connect-links { padding-top: 0; margin-top: 16px; gap: 10px; }
  .profile-socials { margin-top: 18px; }
}
@media (max-width: 440px) {
  .profile-shell > .eyebrow { margin-bottom: 24px; }
  .profile-identity { align-items: flex-start; gap: 22px; }
  .profile-avatar { flex-basis: 88px; width: 88px; height: 90px; border-radius: 12px; }
  .profile-details { padding-top: 3px; }
  .profile-details h2 { font-size: 23px; }
  .profile-handle { font-size: 14px; }
  .profile-building { font-size: 15px; margin: 10px 0 8px; }
  .profile-build-trigger { width: 22px; height: 22px; margin-left: 3px; }
  .profile-info-dot { width: 11px; height: 11px; }
  .profile-info-dot::after { width: 5px; height: 5px; }
  .profile-meta { font-size: 11px; flex-direction: column; align-items: flex-start; }
  .profile-meta-separator { display: none; }
  .profile-meta .profile-icon { width: 14px; height: 14px; flex-basis: 14px; }
  .profile-meta { gap: 6px 8px; }
  .profile-time { gap: 6px; }
  .profile-intro { margin-top: 20px; font-size: 16px; line-height: 1.6; }
  .profile-intro li { padding-left: 25px; }
  .profile-intro li::before { width: 8px; height: 8px; }
  .profile-connect-links { margin-top: 16px; padding-top: 0; gap: 10px; }
  .profile-connect-card { gap: 10px; padding: 12px 10px; }
  .profile-connect-mark { width: 44px; height: 44px; flex-basis: 44px; }
  .profile-connect-mark .profile-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .profile-connect-copy strong { font-size: 17px; }
  .profile-connect-copy > span { font-size: 14px; }
  .profile-connect-action { font-size: 15px; padding: 7px 10px; }
  .profile-socials { flex-wrap: wrap; gap: 5px; }
  .profile-social { width: 36px; min-width: 36px; height: 40px; padding: 0; gap: 6px; }
  .profile-social .profile-icon { width: 21px; height: 21px; flex-basis: 21px; }
  .profile-social--email { width: auto; padding-inline: 10px; font-size: 14px; white-space: nowrap; }
  .profile-social-divider { height: 22px; }
}
@media (max-width: 360px) {
  .profile-identity { gap: 18px; }
  .profile-avatar { flex-basis: 80px; width: 80px; height: 82px; }
  .profile-details h2 { font-size: 20px; }
  .profile-handle { font-size: 13px; }
  .profile-building { font-size: 13px; }
  .profile-meta { font-size: 10px; }
  .profile-connect-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .profile-connect-card { gap: 10px; padding: 12px 10px; }
  .profile-connect-copy strong { font-size: 15px; }
  .profile-connect-copy > span { font-size: 13px; }
  .profile-connect-card--x .profile-connect-copy > span { font-size: 13px; }
  .profile-verification { width: 15px; height: 15px; flex-basis: 15px; }
  .profile-connect-action { font-size: 14px; padding: 6px 8px; }
  .profile-socials { gap: 4px; }
  .profile-social { width: 30px; min-width: 30px; height: 40px; }
  .profile-social .profile-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .profile-social--email { width: auto; padding-inline: 8px; font-size: 13px; gap: 5px; }
  .profile-social-divider { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-mountain { transition: none; }
  .profile-mountain:hover { transform: none; }
  .profile-social,.profile-connect-action { transition: none; }
  .profile-social:hover,.profile-social:active { transform: none; }
}
