.profile-sheet .feature-link,
.profile-sheet .official {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 44px;
  font-weight: 700;
  text-underline-offset: .24em;
}
.profile-sheet {
  --inset: clamp(16px, 4vw, 32px);
  --rule: color-mix(in srgb, var(--ink) 17%, transparent);
  margin: 0;
  background: var(--leaf);
  line-height: 1.65;
}
.service-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 12px;
  padding: 6px var(--inset);
  border-bottom: 1px solid var(--rule);
}
.service-line h2 {
  display: flex;
  align-items: center;
  gap: .55em;
  font: 700 clamp(18px, 2.5vw, 23px)/1.3 var(--font-body);
}
.service-line h2 svg { width: 1em; height: 1em; fill: currentColor; }
.profile-sheet .official { font-size: .85em; color: var(--accent); }
.profile-sheet .icon { width: 1em; height: 1em; }
.profile-body { padding: var(--inset); }
.identity { display: flex; align-items: center; gap: 14px; }
.identity img {
  width: clamp(50px, 8vw, 72px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--rule);
}
.identity > div { min-width: 0; }
.display-name {
  font: 700 clamp(19px, 3vw, 30px)/1.18 var(--font-display);
  overflow-wrap: anywhere;
}
.handle { color: var(--ink-2); font: 13px/1.5 ui-monospace, monospace; margin-top: 4px; }
.profile-sheet .source-label,
.feature-art figcaption {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
}
.identity + .source-label { margin-top: 1.1rem; }
.profile-sheet blockquote {
  margin: .4em 0 0;
  padding-left: .9em;
  border-left: 2px solid var(--accent);
  max-width: 42em;
}
.editorial { margin: 1rem 0 0; }
.profile-sheet .feature-link { color: var(--accent); font-size: 14px; }
.note-banner { width: 100%; height: clamp(64px, 12vw, 118px); object-fit: cover; }
#profile-note .identity img { outline: 4px solid var(--paper-white); }
#profile-note .profile-body { padding-top: 0; }
#profile-note .identity { position: relative; padding-top: .8rem; }
#profile-note .identity img { align-self: flex-start; margin-top: -1.4rem; }
.note-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 24px);
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.note-shelf a { display: block; font-weight: 700; line-height: 1.5; text-decoration: none; }
.note-shelf a:hover { text-decoration: underline; text-underline-offset: .2em; }
.note-shelf img { width: 100%; height: auto; border-radius: 5px; border: 1px solid var(--rule); }
.note-shelf .source-label { display: block; margin: .65rem 0 .25rem; }
.social-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  grid-template-areas: "identity artwork" "copy artwork";
  align-content: center;
  gap: 1rem clamp(16px, 4vw, 36px);
}
.social-spread .identity { grid-area: identity; align-self: end; }
.social-copy { grid-area: copy; }
#profile-instagram .identity img { padding: 3px; border: 2px solid #9d486f; }
.feature-art { grid-area: artwork; align-self: center; margin: 0; text-align: center; }
.reel-art img { width: min(100%, 174px); height: auto; margin-inline: auto; border-radius: 8px; border: 1px solid var(--rule); }
.feature-art figcaption { margin-top: .45rem; font-size: 11px; }
.x-post {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.3fr);
  gap: clamp(12px, 3vw, 26px);
  align-items: center;
  border-top: 1px solid var(--rule);
  margin-top: 1.3rem;
  padding-top: 1.3rem;
}
.x-post img { width: min(100%, 210px); height: auto; border-radius: 8px; }
.x-post blockquote, .social-copy blockquote { font-weight: 700; }
.x-post .feature-link, .social-copy .feature-link { margin-top: .6rem; }
#profile-github {
  --rule: #303b48;
  --accent: #9fcaff;
  --ink-2: #b0becc;
  color: #edf1f5;
  background: #0d1117;
}
#profile-github .identity img { border-color: #85929f; }
.snapshot-info {
  margin: 1.1rem 0 .6rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}
.snapshot-info .source-label { color: #91dba1; }
.github-plates { min-width: 0; }
.github-plates img { width: 100%; height: auto; }
.github-plates img + img { margin-top: 6px; }
.github-zoom summary {
  width: fit-content;
  cursor: pointer;
  padding: .55em 1em;
  min-height: 44px;
  border: 1px solid #627181;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}
.github-zoom summary:focus-visible,
.original-plates:focus-visible { outline: 3px solid #9fcaff; outline-offset: 2px; }
.github-zoom p { color: var(--ink-2); font-size: 13px; margin-top: .5rem; }
.original-plates, .preview-plates { margin-top: 1rem; }
.original-plates { overflow-x: auto; overscroll-behavior-x: contain; }
.original-plates img { width: 840px; max-width: none; }
.github-zoom[open] + .preview-plates { display: none; }
@media (max-width: 560px) {
  .identity { gap: 10px; }
  .social-spread {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "identity identity" "artwork copy";
    align-items: start;
  }
  .profile-sheet .official { font-size: 12px; }
  .feature-art { align-self: start; }
  .social-copy blockquote, .x-post blockquote { font-size: 14px; }
  .social-copy .editorial { font-size: 13px; }
  .x-post { grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr); }
  .note-shelf a { font-size: 14px; }
}
@media (max-width: 360px) {
  .profile-sheet { --inset: 12px; }
}
