/* The hand and the panel share a proportional anchor. Artwork stays local. */
.profile-band { overflow: clip; background: var(--paper); color: var(--ink); }
.profile-hero {
  --figure-size: clamp(420px, 43vw, 560px);
  --panel-top: calc(var(--figure-size) * .352);
  position: relative; display: grid; grid-template-columns: calc(var(--figure-size) * .72) minmax(0, 1fr);
  grid-template-rows: var(--panel-top) auto; align-items: start; padding-block: 40px 64px;
}
.profile-introduction { grid-column: 2; grid-row: 1; padding: 23px 0 0 40px; min-width: 0; }
.profile-kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.profile-kicker .mono { color: var(--muted); font-size: 9px; margin-left: 8px; }
.profile-introduction h1 { font-size: clamp(46px, 4.7vw, 62px); line-height: 1.14; font-weight: 600; letter-spacing: -.045em; margin: 13px 0 12px; }
.profile-introduction h1 > span { color: inherit; }
.profile-motto { font-size: 14px; color: var(--muted); }
.profile-character { grid-column: 1; grid-row: 1 / 3; min-width: 0; position: relative; z-index: 2; }
.character-stage { position: relative; width: var(--figure-size); height: var(--figure-size); pointer-events: none; }
.character-art { display: block; position: relative; width: 100%; z-index: 2; transform-origin: 73% 35.2%; }
.character-art img { display: block; width: 100%; height: auto; user-select: none; }
.character-orbit { position: absolute; width: 65%; height: 61%; left: 10%; top: 20%; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-19deg); }
.character-spark { position: absolute; color: var(--accent-ink); font-weight: 400; line-height: 1; z-index: 1; }
.character-spark-one { font-size: 45px; left: 15%; top: 19%; transform: rotate(-12deg); }
.character-spark-two { font-size: 26px; left: 64%; top: 8%; color: var(--muted); }
.character-ground { position: absolute; left: 21%; bottom: 3.1%; width: 41%; height: 2%; border-radius: 50%; background: var(--ink); opacity: .09; filter: blur(4px); }
.character-hello { position: absolute; left: 2%; top: 40%; z-index: 4; pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 24px 24px 5px 24px; background: var(--surface); color: var(--ink); font-size: 12px; box-shadow: var(--shadow); transform: none; transition: border-color .2s, background .2s; }
.character-hello:hover, .character-hello:focus-visible { border-color: var(--accent-ink); background: var(--lavender); color: #22231f; }
.character-hello > span[aria-hidden] { font-size: 17px; }
.profile-interests { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.profile-interests-desktop { width: 90%; margin: 5px 0 0 8%; }
.profile-interests span { border: 1px solid transparent; padding: 6px 12px; border-radius: 22px; font-size: 11px; line-height: 1.5; background: var(--surface); color: var(--muted); }
.profile-interests-mobile span { background: var(--paper); }
.profile-interests-mobile { display: none; }
.profile-copy { grid-column: 2; grid-row: 2; min-width: 0; padding: 52px 40px 30px; background: var(--surface); border: 1px solid transparent; border-radius: 4px 24px 24px 24px; box-shadow: var(--shadow); }
.about-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.about-topline > .mono { color: var(--muted); font-size: 9px; }
.about-heading { font-family: var(--font); font-size: 28px; font-weight: 600; letter-spacing: -.035em; }
.profile-description { margin-top: 20px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.profile-description p + p { margin-top: 14px; }
.profile-description strong { color: var(--ink); font-weight: 600; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 24px; }
.profile-actions .text-link { font-size: 13px; font-weight: 400; gap: 10px; border-bottom: 0; color: var(--accent-ink); }
.profile-actions .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
html[lang="en"] .about-heading { font-family: var(--font); letter-spacing: -.04em; }
html[lang="en"] .profile-description { line-height: 1.85; font-size: 15px; }
html[lang="en"] .profile-interests span { font-size: 10px; }

/* The seated pose rests on the card on smaller screens, with the labels below its feet. */
@media (max-width: 1150px) and (min-width: 960px) {
  .profile-introduction { padding-left: 28px; padding-top: 16px; }
  .profile-introduction h1 { font-size: 46px; }
  .profile-motto { font-size: 12px; }
  .profile-copy { padding: 43px 28px 27px; }
  .about-heading { font-size: 26px; }
  .about-topline > .mono { font-size: 8px; }
  .profile-description { font-size: 15px; line-height: 1.95; }
  .profile-interests-desktop { width: 90%; gap: 10px 7px; }
  .profile-interests span { font-size: 10px; padding-inline: 10px; }
  .character-hello { font-size: 11px; gap: 6px; padding-inline: 12px; left: 0; }
  html[lang="en"] .profile-description { font-size: 14px; }
}
@media (max-width: 959px) {
  .profile-hero { --figure-size: 220px; display: flex; flex-direction: column; padding-block: 25px 36px; max-width: 650px; }
  .profile-introduction { padding: 0; width: 100%; }
  .profile-kicker { font-size: 12px; gap: 8px; }
  .profile-kicker .mono { font-size: 8px; }
  .profile-introduction h1 { font-size: 48px; margin-block: 10px 9px; }
  .profile-motto { font-size: 13px; }
  .profile-character { width: 100%; height: calc(var(--figure-size) * .645); margin-top: -8px; }
  .character-stage { position: absolute; right: -5px; top: 0; }
  .character-art { transform-origin: 54% 62.6%; }
  .character-orbit { width: 73%; height: 73%; left: 11%; top: 4%; }
  .character-spark-one { font-size: 31px; left: 11%; top: 4%; }
  .character-spark-two { font-size: 23px; left: 83%; top: 26%; }
  .character-ground { display: none; }
  .character-hello { left: -78px; top: 49%; font-size: 11px; }
  .profile-interests-desktop { display: none; }
  .profile-copy { width: 100%; padding: 24px; border-radius: 22px 5px 22px 22px; }
  .about-topline { min-height: 38px; }
  .about-topline > .mono { display: none; }
  .about-heading { font-size: 25px; }
  .profile-interests-mobile { display: flex; justify-content: flex-start; margin-top: 30px; gap: 9px; }
  .profile-interests span { font-size: 10px; padding: 5px 10px; }
  .profile-description { font-size: 14px; line-height: 1.9; margin-top: 17px; }
  .profile-description p + p { margin-top: 12px; }
  .profile-actions { margin-top: 19px; gap: 24px; }
  .profile-actions .text-link { font-size: 12px; gap: 14px; }
  html[lang="en"] .profile-description { font-size: 14px; line-height: 1.85; }
  html[lang="en"] .profile-actions { gap: 20px; }
  html[lang="en"] .profile-actions .text-link { font-size: 11px; gap: 10px; }
}
@media (max-width: 540px) {
  .profile-hero { --figure-size: 190px; }
  .profile-introduction h1 { font-size: 42px; }
  .profile-motto { font-size: 12px; }
  .profile-copy { padding: 20px 21px; }
  .profile-interests-mobile { margin-top: 27px; }
  .character-hello { left: -94px; }
  .profile-actions { gap: 21px; }
}
@media (max-width: 360px) {
  .profile-hero { --figure-size: 174px; }
  .profile-introduction h1 { font-size: 38px; }
  .profile-kicker .mono { margin-left: 3px; }
  .profile-motto { font-size: 11px; }
  .character-hello { left: -67px; top: 43%; font-size: 10px; padding-inline: 11px; }
  .profile-copy { padding: 18px; }
  .about-heading { font-size: 24px; }
  .profile-interests-mobile { gap: 10px 7px; margin-top: 25px; }
  .profile-interests span { padding-inline: 9px; }
  .profile-actions { gap: 17px; }
  .profile-actions .text-link { gap: 10px; font-size: 11px; }
}

@keyframes maker-breathe { 0%, 100% { transform: rotate(-.35deg); } 50% { transform: rotate(.35deg); } }
@keyframes maker-hello { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-2deg); } 55% { transform: rotate(1.5deg); } 78% { transform: rotate(-.8deg); } }
@keyframes maker-spark { 0%, 100% { transform: translateY(0) rotate(-12deg); } 50% { transform: translateY(-6px) rotate(8deg); } }
@media (prefers-reduced-motion: no-preference) {
  .character-art { animation: maker-breathe 5s ease-in-out infinite; }
  .character-spark-one { animation: maker-spark 6s ease-in-out infinite; }
  .is-greeting .character-art { animation: maker-hello 1.1s ease-in-out 1; }
  .is-resting .character-art, .is-resting .character-spark { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .character-art, .character-spark { animation: none !important; }
}
@media print {
  .character-art { animation: none !important; }
}
