/* A personal first row; the portfolio below keeps its existing media geometry. */
.grid { grid-template-rows: auto; }
.grid > .tile-intro {
  grid-column: 1 / -1; grid-row: 1; min-height: 0; aspect-ratio: auto;
  padding: 24px 28px; gap: 22px;
}
.intro-top nav a { display: inline-flex; align-items: center; min-height: 36px; }
.profile-main { display: grid; grid-template-columns: 212px minmax(0, 1fr) 260px; align-items: center; gap: 28px; }
.profile-portrait { margin: 0; min-width: 0; }
.profile-portrait figcaption { margin: 8px auto 0; max-width: 24ch; color: #adb8c7; text-align: center; font: 450 13px/1.4 var(--sans); }
.profile-orb { position: relative; width: 100%; aspect-ratio: 1; align-self: center; }
.profile-orb img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: cover; border-radius: 50%; }
.profile-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; transition: transform .4s ease; }
.profile-orb:hover .profile-ring { transform: rotate(5deg); }
.profile-copy { min-width: 0; }
.profile-name { margin: 0 0 8px; color: #aeb8c6; font: 500 10px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.intro-mid #me { max-width: none; font-size: clamp(64px, 6.6cqw, 94px); line-height: .92; letter-spacing: -.065em; }
.profile-period { color: var(--y); }
.profile-builder { margin: 0; font-size: clamp(20px, 2.1cqw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.profile-builder span { color: var(--y); }
.profile-builder small { display: block; margin-top: 8px; color: #aeb8c6; font: 500 11px/1.5 var(--mono); letter-spacing: .02em; }
.profile-details { margin: 10px 0 0; color: #aeb8c6; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.5; }
.profile-traits { margin: 10px 0 0; color: #d3d9e0; font-size: 13px; line-height: 1.5; }
.profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; padding: 6px; }
.profile-facts > * { --chalk: #ffd60a; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; min-width: 0; padding: 3px 0; }
.profile-facts .fact-build { --chalk: #67dfbb; }
.profile-facts .fact-tokens { --chalk: #b6a0ff; }
.profile-facts .profile-music { --chalk: #ff92c3; }
.profile-facts strong { color: var(--chalk); font: 700 clamp(30px, 3cqw, 38px)/1 var(--sans); letter-spacing: -.055em; filter: url(#social-crayon); }
.profile-facts strong > span { font-size: .75em; }
.profile-fact > strong::after { content: ""; display: block; width: 85%; height: 4px; margin-top: 4px; border-bottom: 2px solid currentColor; border-radius: 50%; transform: rotate(-3deg); }
.profile-facts small { display: block; margin-top: 7px; font: 500 12px/1.35 var(--sans); color: #c3cbd7; }
.profile-tools { margin-top: 6px; color: #a5b1c1; font: 400 11px/1.5 var(--sans); }
.profile-qualifier { display: block; margin-top: 2px; font-size: 10px; color: #91a0b3; }
.profile-notes { width: 34px; height: 34px; margin-bottom: 6px; color: var(--chalk); fill: currentColor; filter: url(#social-crayon); }
.profile-music strong { font-size: 17px; letter-spacing: -.025em; filter: none; }
.profile-music small { color: #f4b7d6; margin-top: 5px; }
.profile-music:hover .profile-notes { transform: rotate(-8deg); }
.profile-icon-defs { position: absolute; pointer-events: none; }
.intro-top { flex-wrap: nowrap; gap: 18px; }
.intro-top .wordmark { flex: none; }
.intro-top > nav { flex: none; margin-left: auto; }
.profile-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; }
.profile-social-group { display: flex; align-items: center; gap: 7px; min-width: 0; }
.profile-group-label { color: #8b96a6; font: 500 8px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.profile-brand { padding-left: 14px; border-left: 1px solid var(--brd2); }
.profile-links { display: flex; align-items: center; gap: 1px; }
.profile-links a { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 30px; min-height: 36px; color: #b4c1d1; transition: color .2s, transform .2s; }
.profile-links a svg { display: block; width: 20px; height: 20px; fill: currentColor; filter: url(#social-crayon); }
.profile-links a:hover { color: var(--y); transform: rotate(-7deg) translateY(-1px); }
.profile-links a:focus-visible { color: var(--y); outline-offset: 1px; }
.profile-audience { margin-right: 4px; font: 500 8px var(--mono); color: var(--y); white-space: nowrap; }
.tile-intro .proof { margin: -4px 0 0; gap: 6px 18px; }
.tile-intro .proof a { padding-block: 4px; }
.tile-intro .intro-foot { padding-top: 16px; border-top: 1px solid var(--brd); gap: 12px; }

.tile[data-cat="music"] { --a: #e6a0ed; }
.f-music i { background: #e6a0ed; }
.grid[data-filter="yahoo"] .tile[data-cat="music"],
.grid[data-filter="app"] .tile[data-cat="music"],
.grid[data-filter="world"] .tile[data-cat="music"],
.grid[data-filter="music"] .tile[data-cat]:not([data-cat="music"]) { opacity: .14 !important; filter: grayscale(1) blur(1px); pointer-events: none; }
.tile-music { background: radial-gradient(ellipse at 50% 35%, #283234, #0d1014 75%); }
.music-covers { position: relative; display: flex; align-items: center; justify-content: center; width: 88%; height: 100%; padding-bottom: 16px; }
.music-covers img { position: relative; width: 36%; aspect-ratio: 1; height: auto; box-shadow: 0 16px 30px #0009; border: 1px solid #ffffff20; }
.music-covers img:first-child { transform: rotate(-12deg) translateX(16%); }
.music-covers img:nth-child(2) { z-index: 1; width: 44%; transform: translateY(-6%); }
.music-covers img:last-child { transform: rotate(10deg) translateX(-16%); }
.sheet[data-slug="original-music"] { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.release-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; padding: 32px; align-self: center; }
.release-card { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.release-card img { width: 100%; height: auto; aspect-ratio: 1; border: 1px solid var(--brd2); transition: transform .25s; }
.release-card:hover img { transform: translateY(-5px); }
.release-card > span { color: var(--dim); font: 400 9px/1.5 var(--mono); text-transform: uppercase; }
.release-card h3 { margin: 0; font: 600 20px/1.1 var(--sans); letter-spacing: -.03em; }
.release-card b { color: var(--y); font: 500 10px/1.5 var(--mono); }
@media (max-width: 900px) {
  .sheet[open][data-slug="original-music"] { display: block; overflow-y: auto; }
  .sheet[data-slug="original-music"] .sheet-stage { min-height: 0; height: auto; overflow: visible; }
  .sheet[data-slug="original-music"] .sheet-info { overflow: visible; }
  .release-gallery { padding: 48px 16px 24px; gap: 12px; }
  .release-card h3 { font-size: 17px; }
}

/* Timeline remains a zoomed-out chronology with a small identity marker. */
.grid[data-view="timeline"] > .tile-intro { grid-row: 1; padding: 18px 28px; gap: 12px; }
.grid[data-view="timeline"] .profile-main { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
.grid[data-view="timeline"] .profile-name { margin-bottom: 3px; font-size: 9px; }
.grid[data-view="timeline"] .profile-portrait figcaption,
.grid[data-view="timeline"] .profile-builder,
.grid[data-view="timeline"] .profile-details,
.grid[data-view="timeline"] .profile-traits,
.grid[data-view="timeline"] .profile-facts { display: none; }
.grid[data-view="timeline"] .intro-mid .timeline-title { font-size: 32px; line-height: 1; letter-spacing: -.04em; }
.grid[data-view="timeline"] .intro-foot { padding-top: 12px; }

@media (min-width: 720px) and (max-width: 1099px) {
  .profile-main { grid-template-columns: 160px minmax(0, 1fr); gap: 22px 28px; }
  .profile-facts { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .profile-facts > * { min-height: 0; }
  .intro-top { flex-wrap: wrap; }
  .profile-socials { order: 3; flex-basis: 100%; margin: 0; }
}
@media (max-width: 719px) {
  .grid > .tile-intro { padding: 20px; gap: 20px; }
  .intro-top { gap: 8px; flex-wrap: wrap; }
  .intro-top .wordmark { font-size: 11px; gap: 7px; }
  .intro-top nav { gap: 12px; font-size: 12px; }
  .profile-main { grid-template-columns: 108px minmax(0, 1fr); gap: 14px 15px; align-items: start; }
  .profile-orb { align-self: start; margin-top: 5px; }
  .profile-copy { display: contents; }
  .profile-identity { align-self: center; grid-column: 2; grid-row: 1; }
  .profile-name { margin: 0 0 6px; font-size: 9px; }
  .intro-mid #me { margin: 0; font-size: clamp(43px, 10cqw, 64px); }
  .profile-portrait { grid-row: 1; }
  .profile-portrait figcaption { margin-top: 5px; font-size: 12px; }
  .profile-builder, .profile-details, .profile-traits { grid-column: 1 / -1; margin: 0; }
  .profile-builder { font-size: 25px; }
  .profile-details { margin-top: -4px; }
  .profile-traits { margin-top: -4px; font-size: 13px; }
  .profile-facts { grid-column: 1 / -1; margin-top: 4px; }
  .profile-facts > * { min-height: 0; padding: 0; }
  .profile-facts strong { font-size: 34px; }
  .profile-music strong { font-size: 18px; }
  .profile-qualifier { display: inline; }
  .profile-tools { font-size: 11px; }
  .profile-facts small { font-size: 13px; }
  .profile-socials { order: 3; width: 100%; margin: 2px 0 0; gap: 3px; }
  .intro-top .profile-social-group { width: 100%; gap: 7px; flex-wrap: nowrap; }
  .profile-social-group:not(.profile-brand) .profile-group-label { display: none; }
  .profile-group-label { min-width: 19px; font-size: 8px; }
  .profile-brand { padding: 0; border: 0; }
  .profile-links { flex-wrap: wrap; gap: 1px; }
  .profile-links a { min-width: 30px; min-height: 36px; }
  .profile-links a svg { width: 19px; height: 19px; }
  .tile-intro .proof { gap: 4px 14px; margin: 0; }
  .tile-intro .proof a { font-size: 9px; padding-block: 7px; }
  .tile-intro .intro-foot { padding-top: 16px; }
  .grid[data-view="timeline"] > .tile-intro { padding: 16px 18px; gap: 10px; }
  .grid[data-view="timeline"] .profile-main { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
  .grid[data-view="timeline"] .profile-orb { margin: 0; }
  .grid[data-view="timeline"] .profile-copy { display: block; }
  .grid[data-view="timeline"] .profile-name { margin: 0 0 4px; font-size: 8px; }
  .grid[data-view="timeline"] .intro-mid .timeline-title { font-size: clamp(24px, 6.8vw, 32px); }
  .grid[data-view="timeline"] .intro-foot { padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-ring { transition: none; }
  .profile-orb:hover .profile-ring { transform: none; }
}

/* Keep the role and both Yahoo Mail AR credits together. */
.profile-role { margin: 14px 0 5px; color: var(--fg); font: 600 clamp(21px, 2.15vw, 32px)/1.18 var(--sans); letter-spacing: -.035em; }
.profile-role strong { color: #c4a8ff; font-weight: inherit; white-space: nowrap; }
.profile-builder { font-size: clamp(16px, 1.45vw, 21px); font-weight: 450; line-height: 1.4; }
.profile-builder span { font-weight: 650; }
.profile-credits { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; max-width: 600px; margin-top: 15px; }
.profile-credit { --credit-color: #f5d378; display: flex; align-items: center; min-width: 0; gap: 10px; padding-right: 10px; color: #f2f4f7; background: #11151b; border: 1px solid #6f6343; border-radius: 10px 2px 10px 2px; }
.profile-award img { flex: none; width: 48px; height: 66px; object-fit: cover; border-radius: 9px 0 0 0; }
.profile-patent { --credit-color: #a6caff; border-color: #445b77; padding-left: 8px; }
.profile-patent svg { flex: none; width: 37px; height: 48px; color: var(--credit-color); }
.profile-credit > span { display: grid; min-width: 0; gap: 4px; padding: 6px 0; }
.profile-credit small { color: var(--credit-color); font: 500 10px/1.35 var(--mono); letter-spacing: .025em; text-transform: uppercase; }
.profile-credit strong { font: 650 clamp(16px, 1.4vw, 20px)/1.14 var(--sans); letter-spacing: -.025em; }
.profile-patent b { color: var(--credit-color); font-size: .75em; }
.profile-credit:hover, .profile-credit:focus-visible { border-color: var(--credit-color); }
.profile-credit:focus-visible { outline: 2px solid var(--credit-color); outline-offset: 3px; }
.grid[data-view="timeline"] .profile-role, .grid[data-view="timeline"] .profile-credits { display: none; }
@media (max-width: 719px) {
  .profile-credits { grid-column: 1 / -1; }
  .profile-role { margin: 9px 0 0; font-size: clamp(18px, 4.5vw, 24px); }
  .profile-builder { margin-top: -6px; font-size: 17px; }
  .profile-credits { width: 100%; margin: 0; }
}
@media (max-width: 520px) {
  .profile-credits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-credit { flex-direction: column; align-items: flex-start; gap: 6px; padding: 9px 10px 11px; }
  .profile-award img { width: 31px; height: 40px; border-radius: 4px 0 3px 0; }
  .profile-patent svg { width: 32px; height: 40px; }
  .profile-credit > span { padding: 0; }
  .profile-credit strong { font-size: 16px; }
}
@media (max-width: 360px) {
  .grid > .tile-intro { padding: 16px; gap: 16px; }
  .profile-links a { min-width: 28px; }
  .profile-main { grid-template-columns: 94px minmax(0, 1fr); column-gap: 12px; }
  .profile-credit { padding: 7px; }
}
