/* Shared centered page chrome and Home layout. About adds about.css. */
.home-page {
  --paper: #FAFAFA;
  --ink: #242424;
  --ink-2: #666;
  background: #FAFAFA;
}
.hp-column { width: calc(100% - 48px); max-width: 700px; margin-inline: auto; }
.home-page .hp-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; }
.hp-brand { font-size: 15px; line-height: 1.5; font-weight: 500; letter-spacing: -.02em; }
.hp-nav { display: flex; gap: 24px; align-items: center; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.hp-nav a { padding-block: 8px; }
.hp-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #aaa; }
.hp-nav a:hover, .hp-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.home-page .hp-main { max-width: none; margin: 0; padding: 0; }
.hp-intro { padding-top: 64px; }
.hp-person { display: flex; align-items: center; gap: 24px; }
.hp-person img { flex-shrink: 0; width: 132px; height: 132px; object-fit: cover; object-position: center 35%; border-radius: 50%; }
.hp-name { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
.hp-role { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 3px; }
.home-page .hp-intro h1 { margin-top: 28px; max-width: 640px; font-size: 28px; line-height: 1.3; letter-spacing: -.035em; font-weight: 500; }
.hp-intro-copy { margin-top: 18px; max-width: 650px; font-size: 16px; line-height: 1.7; color: #515151; }
.hp-work { margin-top: 64px; }
.hp-section-title { font-family: var(--font-body); font-size: 18px; line-height: 1.4; letter-spacing: -.02em; font-weight: 500; }
.hp-projects { display: flex; flex-direction: column; gap: 56px; margin-top: 24px; }
.hp-project { min-width: 0; }
.hp-project-link { display: block; }
.hp-preview { position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1.6;overflow:hidden;background:#f3f3f3;border-radius:16px;padding:0; }
.hp-preview img {display:block;width:100%;height:100%;object-fit:cover;object-position:top center;}
.device-desktop {width:82%;aspect-ratio:1.5;padding:6px;background:linear-gradient(135deg,#e9e9e9,#d4d4d4);border:1px solid #ccc;border-radius:22px;box-shadow:0 2px 5px #0000000a,inset 0 0 0 2px #ffffff70;}
.device-screen {width:100%;height:100%;overflow:hidden;border:1px solid #c9c9c9;border-radius:16px;background:#fff;}
.hp-preview-sublime .device-desktop { width:84%; aspect-ratio:auto; }
.hp-preview-sublime .device-screen { height:auto; }
.hp-preview-sublime .device-screen::before {
  content:"";
  display:block;
  height:clamp(12px, 2vw, 21px);
  background:
    radial-gradient(circle at 10px center, #ff6058 3px, transparent 3.5px),
    radial-gradient(circle at 20px center, #ffbd2e 3px, transparent 3.5px),
    radial-gradient(circle at 30px center, #28c840 3px, transparent 3.5px),
    linear-gradient(#fafafa, #eaeaea);
}
.hp-preview-sublime img { height:auto; }
@media (max-width:599px) {
  .ascii-home .hp-preview.hp-preview-sublime { aspect-ratio:1.46; }
  .hp-preview-sublime .device-desktop { width:91%; }
}
.device-phone {position:absolute;top:13%;width:40%;padding:7px;border:1px solid #777;border-radius:36px;background:linear-gradient(120deg,#6b6b6b,#171717 12%,#0c0c0c 85%,#666);box-shadow:0 0 0 1px #bdbdbd,0 6px 14px #00000012;}
.device-phone-screen {position:relative;width:100%;aspect-ratio:439/926;overflow:hidden;border-radius:28px;background:#08080c;}
.hp-preview .device-phone img {position:absolute;width:574.03%;max-width:none;height:auto;left:-19.13%;top:-9.29%;border:0;}
.device-phone-screen::after {content:'';position:absolute;top:8px;left:50%;transform:translateX(-50%);width:23%;height:12px;border-radius:12px;background:#030303;}
.hp-project-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 20px; }
.hp-project-heading h3 { font-family: var(--font-heading); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.hp-project-heading > span { font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.hp-project-description { margin-top: 8px; font-size: 14px; line-height: 1.7; color: #5c5c5c; max-width: 80ch; }
.hp-project-link:hover h3, .hp-project-link:focus-visible h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hp-side { margin-top: 64px; }
.hp-side-link { display: block; margin-top: 24px; }
.hp-side-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.hp-side-heading h3 { font-family: var(--font-heading); font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.hp-side-heading > span { font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.hp-side-link p { font-size: 14px; line-height: 1.7; color: #5c5c5c; margin-top: 8px; }
.hp-side-action { display: inline-block; margin-top: 12px; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #b0b0b0; }
.hp-side-link:hover .hp-side-action { text-decoration-color: currentColor; }
/* Testimonials pair a quiet introduction with a two-by-two portrait grid. */
.home-page .hp-testimonials { width: calc(100% - 48px); max-width: 1120px; margin: 88px auto 0; padding: 0; border: 0; }
.hp-testimonials .section-head { display: block; max-width: 700px; margin: 0 auto 28px; }
.hp-testimonials .section-head h2 { font-family: var(--font-body); font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
.hp-testimonials .section-head > p { font-size: 14px; line-height: 1.6; margin-top: 8px; }
.home-page .hp-testimonials .cards { margin-top: 0; }
.home-page .hp-testimonials .hint { max-width: 700px; margin: 16px auto 0; font-size: 11px; }
.hp-footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid #e8e8e8; margin-top: 64px; padding: 24px 0 32px; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.hp-footer nav { display: flex; gap: 20px; }
@media (min-width: 1051px) {
  .home-page .hp-testimonials .cards { margin-inline: 0; padding-inline: 0; }
}
@media (max-width: 1050px) {
  .home-page .hp-testimonials { max-width: 700px; }
}
@media (max-width: 599px) {
  .hp-column { width: calc(100% - 40px); }
  .home-page .hp-header { padding-top: 24px; gap: 16px; }
  .hp-nav { gap: 18px; font-size: 13px; }
  .hp-intro { padding-top: 44px; }
  .hp-person { gap: 20px; }
  .hp-person img { width: 96px; height: 96px; }
  .hp-name { font-size: 17px; }
  .hp-role { font-size: 13px; }
  .home-page .hp-intro h1 { margin-top: 24px; font-size: 26px; line-height: 1.3; }
  .hp-intro-copy { font-size: 16px; line-height: 1.65; }
  .hp-work { margin-top: 44px; }
  .hp-projects { gap: 40px; margin-top: 20px; }
  .hp-preview{border-radius:12px}
  .device-desktop{padding:4px;border-radius:13px}
  .device-screen{border-radius:9px}
  .device-phone{padding:4px;border-radius:22px}
  .device-phone-screen{border-radius:17px}
  .device-phone-screen::after{top:5px;height:7px}
  .hp-project-heading { margin-top: 16px; gap: 12px; }
  .hp-project-heading h3 { font-size: 20px; }
  .hp-project-heading > span { font-size: 12px; }
  .hp-project-description { margin-top: 8px; }
  .hp-side { margin-top: 44px; }
  .hp-side-link { margin-top: 20px; }
  .home-page .hp-testimonials { width: calc(100% - 40px); margin-top: 56px; }
  .home-page .hp-testimonials .hint { font-size: 10px; }
  .hp-footer { margin-top: 40px; padding-top: 22px; gap: 16px; }
}

@media (min-width: 600px) {
  .home-page .hp-testimonials { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 28px; align-items: start; max-width: 700px; }
  .hp-testimonials .section-head { grid-column: 1; grid-row: 1; margin: 0; }
  .home-page .hp-testimonials .cards { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; }
  .home-page .hp-testimonials .hint { grid-column: 1; grid-row: 1; align-self: start; margin: 96px 0 0; }
}

/* Static two-by-two testimonials on every screen size. */
.home-page .hp-testimonials .cards { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; }
.home-page .hp-testimonials .tilt,
.home-page .hp-testimonials .card,
.home-page .hp-testimonials .rotator,
.home-page .hp-testimonials .front { height: 100%; }
.home-page .hp-testimonials .quote { min-height: 0; flex: 1; overflow-y: auto; }
.home-page .hp-testimonials .signature,
.home-page .hp-testimonials .backFoot,
.home-page .hp-testimonials .quoteMark { flex-shrink: 0; }
@media (max-width: 599px) {
  .home-page .hp-testimonials .cards { gap: 12px; }
  .home-page .hp-testimonials .cardSlot { min-height: 340px; }
  .home-page .hp-testimonials .face { padding: 12px; }
  .home-page .hp-testimonials .name { font-size: 25px; }
  .home-page .hp-testimonials .portrait { margin-bottom: 12px; }
  .home-page .hp-testimonials .cardFoot { letter-spacing: 0; font-size: 8px; gap: 4px; }
  .home-page .hp-testimonials .cardFoot svg { flex-shrink: 0; width: 12px; }
}

.home-page .hp-testimonials { font-family: var(--font-body); }
.home-page .hp-testimonials .card { font-family: var(--font-body); }
.home-page .hp-testimonials .name { font-family: var(--font-heading); font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -.03em; }
.home-page .hp-testimonials .signature { font-family: var(--font-heading); font-weight: 500; letter-spacing: -.02em; }
.home-page .hp-testimonials .role,
.home-page .hp-testimonials .signature > span,
.home-page .hp-testimonials .quote,
.home-page .hp-testimonials .backFoot,
.home-page .hp-testimonials .cardFoot { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; }
.home-page .hp-testimonials .cardFoot { text-transform: none; }
.home-page .hp-testimonials .quoteMark { font-family: var(--font-heading); }

/* Tablet stacks the introduction above the grid; phones reveal the next card. */
@media (min-width: 540px) and (max-width: 1050px) {
  .home-page .hp-testimonials { display: block; }
  .home-page .hp-testimonials .section-head { margin: 0 0 28px; }
  .home-page .hp-testimonials .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 539px) {
  .home-page .hp-testimonials { display: block; }
  .home-page .hp-testimonials .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 1.5); gap: 12px; overflow-x: auto; overflow-y: hidden; padding: 4px 0 12px; scroll-snap-type: x mandatory; scroll-padding-inline: 0; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .home-page .hp-testimonials .cards::-webkit-scrollbar { display: none; }
  .home-page .hp-testimonials .cardSlot { min-height: 0; scroll-snap-align: start; }
  .home-page .hp-testimonials .cardFoot { margin-top: auto; }
  .home-page .hp-testimonials .role { margin-bottom: 16px; }
}

/* Keep card height intrinsic so resizing never stretches the two grid rows. */
.home-page .hp-testimonials .tilt,
.home-page .hp-testimonials .card,
.home-page .hp-testimonials .rotator,
.home-page .hp-testimonials .front { height: auto; }
.home-page .hp-testimonials .cards { align-items: start; }
@media (min-width: 750px) and (max-width: 1051px) {
  .home-page .hp-testimonials { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 28px; align-items: start; max-width: 700px; }
  .home-page .hp-testimonials .section-head { grid-column: 1; grid-row: 1; margin: 0; }
  .home-page .hp-testimonials .cards { grid-column: 2; grid-row: 1; gap: 16px; }
}
@media (max-width: 539px) {
  .home-page .hp-testimonials .cards { padding-block: 28px; margin-top: 0; }

}

/* Use the same restrained corners as the Home project previews. */
.home-page .hp-testimonials .card,
.home-page .hp-testimonials .face { border-radius: 4px; }
.home-page .hp-testimonials .face { padding: 14px; }
.home-page .hp-testimonials .portrait { border-radius: 4px; margin-bottom: 16px; }
.home-page .hp-testimonials .cardFoot { margin-top: 16px; padding-top: 12px; }
.home-page .hp-testimonials .role { margin-bottom: 0; }
.home-page .hp-testimonials .cardSlot { min-height: 0; }

/* Reading rhythm: page introduction, section title, project title, supporting copy. */
.home-page .hp-intro { padding-top: 80px; }
.home-page .hp-intro h1 { font-size: 32px; line-height: 1.3; margin-top: 32px; }
.home-page .hp-intro-copy { margin-top: 24px; }
.home-page .hp-work,
.home-page .hp-side { margin-top: 96px; }
.home-page .hp-section-title,
.home-page .hp-testimonials .section-head h2 { font-family: var(--font-heading); font-size: 28px; line-height: 1.25; font-weight: 500; letter-spacing: -.03em; }
.home-page .hp-projects { margin-top: 36px; gap: 80px; }
.home-page .hp-project-heading { margin-top: 28px; }
.home-page .hp-project-heading h3,
.home-page .hp-side-heading h3 { font-size: 20px; line-height: 1.35; }
.home-page .hp-project-description,
.home-page .hp-side-link p { font-size: 15px; line-height: 1.75; margin-top: 14px; }
@media (max-width: 599px) {
  .home-page .hp-project-description,
  .home-page .hp-side-link p { font-size: 14px; }
}
.home-page .hp-side-link { margin-top: 36px; }
.home-page .hp-side-action { margin-top: 24px; font-size: 14px; }
.home-page .hp-testimonials { margin-top: 104px; }
.home-page .hp-testimonials .section-head > p { margin-top: 16px; font-size: 15px; line-height: 1.7; }
.home-page .hp-footer { margin-top: 88px; padding-top: 28px; padding-bottom: 40px; }
@media (max-width: 749px) {
  .home-page .hp-testimonials .section-head { margin-bottom: 36px; }
}
@media (max-width: 539px) {
  .home-page .hp-intro { padding-top: 56px; }
  .home-page .hp-intro h1 { font-size: 28px; }
  .home-page .hp-section-title,
  .home-page .hp-testimonials .section-head h2 { font-size: 26px; }
  .home-page .hp-work,
  .home-page .hp-side,
  .home-page .hp-testimonials { margin-top: 72px; }
  .home-page .hp-projects { gap: 56px; margin-top: 28px; }
  .home-page .hp-project-heading { margin-top: 24px; }
  .home-page .hp-side-link { margin-top: 28px; }
  .home-page .hp-testimonials .section-head { margin-bottom: 12px; }
  .home-page .hp-footer { margin-top: 56px; }
}

/* Fixed right navigation leaves the reading column independent of the banner. */
.site-banner-placeholder { position: absolute; top: 0; left: 0; width: min(65vw, 960px); height: 160px; display: grid; place-items: center; background: #f2f3f2; border: 1px dashed #d7dad7; border-top: 0; border-left: 0; color: #929792; font: 12px/1.5 var(--font-body); }
.home-page .hp-header { padding-top: 216px; }
.home-page .hp-nav { position: fixed; z-index: 20; top: 28px; right: 32px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding: 8px 12px; border-radius: 4px; background: #fafafad9; backdrop-filter: blur(8px); }
.home-page .hp-nav a { padding-block: 3px; }
.home-page .hp-intro { padding-top: 40px; }
.about-profile .ab-content { padding-top: 40px; }
@media(max-width:1051px) {
  .site-banner-placeholder { width: calc(100% - 160px); height: 144px; }
  .home-page .hp-nav { top: 20px; right: 20px; }
  .home-page .hp-header { padding-top: 192px; }
}
@media(max-width:539px) {
  .site-banner-placeholder { width: calc(100% - 124px); height: 128px; }
  .home-page .hp-nav { top: 16px; right: 16px; gap: 10px; font-size: 13px; padding: 4px 8px; }
  .home-page .hp-header { padding-top: 168px; }
  .home-page .hp-intro, .about-profile .ab-content { padding-top: 32px; }
}

.home-page .hp-side-link { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 28px; align-items: start; }
.hp-scene-thumb, .hp-pip-thumb { width:100%;min-width:0;aspect-ratio:1; }
.hp-scene-thumb { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f3f0e6; border-radius: 4px; }
.hp-scene-thumb > span { font: 800 26px/1 var(--font-heading); color: #293d35; letter-spacing: -.05em; }
.hp-scene-thumb em { font: italic 24px/1.1 Instrument, Georgia, serif; color: #c23a1e; }
.hp-pip-thumb { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border-radius:4px;background:#eef1f2; }
.hp-pip-thumb svg { display:block;width:48px;height:48px; }
.hp-pip-thumb > span { font-family:var(--font-heading);font-size:18px;font-weight:500;line-height:1.2; }
.hp-side-copy { min-width: 0; }
@media(max-width:539px) {
  .home-page .hp-side-link { grid-template-columns: 80px minmax(0,1fr); gap: 20px; }
  .hp-scene-thumb > span { font-size: 21px; }
  .hp-scene-thumb em { font-size: 19px; }
  .home-page .hp-side-heading { flex-direction: column; gap: 6px; }
}

.hp-music { margin-top: 104px; }
.music-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 40px; margin-top: 36px; }
.music-album { display: block; min-width: 0; }
.record-stage { position: relative; display: block; width: 100%; padding-right: 24%; }
.record-sleeve { display: block; position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 3px 8px #0000001a; }
.vinyl-record { position: absolute; top: 3%; left: 2%; width: 71%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle at center, #171717 0 1px,#292929 2px,#131313 3px 4px); box-shadow: 1px 3px 6px #00000035; transition: transform 550ms cubic-bezier(.22,.8,.25,1); }
.vinyl-record::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 25deg, transparent, #ffffff20 15%, transparent 27%, #ffffff06 55%, #ffffff24 65%, transparent 78%); }
.record-label { position: relative; display: block; width: 32%; aspect-ratio: 1; border-radius: 50%; background-size: cover; background-position: center; }
.record-label::after { content: ''; position: absolute; left: calc(50% - 3px); top: calc(50% - 3px); width: 6px; height: 6px; background: #e6e6e6; border: 1px solid #111; border-radius: 50%; }
.music-artist { display: block; margin-top: 22px; font: 500 20px/1.35 var(--font-heading); letter-spacing: -.025em; }
.music-title { display: block; margin-top: 6px; font: 14px/1.6 var(--font-body); color: var(--ink-2); }
.music-album:focus-visible { outline: 2px solid #242424; outline-offset: 8px; border-radius: 4px; }
.music-album:focus-visible .vinyl-record { transform: translateX(36%) rotate(24deg); }
@media(hover:hover) and (pointer:fine) { .music-album:hover .vinyl-record { transform: translateX(36%) rotate(24deg); } }
@media(hover:none) { .vinyl-record { transform: translateX(25%) rotate(15deg); } }
@media(max-width:539px) { .hp-music { margin-top: 72px; } .music-grid { gap: 32px 20px; margin-top: 28px; } .music-artist { font-size: 17px; margin-top: 18px; } .music-title { font-size: 12px; } }
@media(prefers-reduced-motion:reduce) { .vinyl-record { transition: none; } }

/* A pressed record and paper sleeve, with a longer spring-like reveal. */
.record-stage { padding-right: 32%; isolation: isolate; }
.record-sleeve { border-radius: 2px; transform-origin: 30% 70%; transition: transform 650ms cubic-bezier(.22,1.3,.36,1), box-shadow 400ms; box-shadow: 0 2px 3px #00000026, 0 8px 16px #00000012; }
.vinyl-record { width: 64%; left: 2%; top: 3%; border: 1px solid #333; background: repeating-radial-gradient(circle at center, #151515 0 1px, #242424 1px 1.5px, #111 1.5px 3px); box-shadow: inset 0 0 0 3px #151515, inset 0 0 0 4px #383838, 2px 5px 10px #00000026; transition: transform 700ms cubic-bezier(.22,1.2,.36,1); mask-image: radial-gradient(circle at center,transparent 0 2px,#000 2.5px); }
.vinyl-record::before { background: conic-gradient(from 15deg, transparent 0deg, #ffffff25 35deg, transparent 75deg, #ffffff08 145deg, #ffffff30 205deg, transparent 245deg, #ffffff0b 300deg, transparent 360deg); }
.record-label { width: 30%; border: 1px solid #ffffff26; box-shadow: 0 0 0 5px #101010, 0 0 0 6px #353535; }
.music-album:focus-visible .vinyl-record { transform: translateX(50%) rotate(32deg); }
.music-album:focus-visible .record-sleeve { transform: rotate(-3deg) scale(1.02); }
@media(hover:hover) and (pointer:fine) {
  .music-album:hover .vinyl-record { transform: translateX(50%) rotate(32deg); }
  .music-album:hover .record-sleeve { transform: rotate(-3deg) scale(1.02); box-shadow: 0 3px 5px #00000026, 0 12px 24px #0000001c; }
}
@media(hover:none) { .vinyl-record { transform: translateX(40%) rotate(20deg); } }
@media(prefers-reduced-motion:reduce) { .record-sleeve, .vinyl-record { transition: none; } }
.record-sleeve { height: auto; aspect-ratio: 1; }

/* Mirror the right column so sleeves align with both outer margins. */
.music-album:nth-child(even) .record-stage { padding-right: 0; padding-left: 32%; }
.music-album:nth-child(even) .vinyl-record { left: auto; right: 2%; }
.music-album:nth-child(even) .record-sleeve { transform-origin: 70% 70%; }
.music-album:nth-child(even) .music-artist { margin-left: 32%; }
.music-album:nth-child(even):focus-visible .vinyl-record { transform: translateX(-50%) rotate(-32deg); }
.music-album:nth-child(even):focus-visible .record-sleeve { transform: rotate(3deg) scale(1.02); }
@media(hover:hover) and (pointer:fine) {
  .music-album:nth-child(even):hover .vinyl-record { transform: translateX(-50%) rotate(-32deg); }
  .music-album:nth-child(even):hover .record-sleeve { transform: rotate(3deg) scale(1.02); }
}
@media(hover:none) { .music-album:nth-child(even) .vinyl-record { transform: translateX(-40%) rotate(-20deg); } }

.about-profile { transition: background-color 550ms ease; }
@keyframes record-spin { to { rotate: 360deg; } }
.music-album:focus-visible .vinyl-record::before, .music-album:focus-visible .record-label { animation: record-spin 9s linear infinite; }
@media(hover:hover) and (pointer:fine) {
  .music-album:hover .vinyl-record::before, .music-album:hover .record-label { animation: record-spin 9s linear infinite; }
}
@media(prefers-reduced-motion:reduce) {
  .about-profile { transition: none; }
  .music-album .vinyl-record::before, .music-album .record-label { animation: none !important; }
}

/* The music section keeps the same neutral background as the page. */
@media (max-width: 1199px) {
  .home-page.ascii-home .hp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fafafa;
    width: 100%;
    max-width: none;
    padding: 16px 24px;
    margin: 0 0 104px;
  }
  .home-page.ascii-home .hp-nav {
    position: static;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px 20px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .home-page.ascii-home .hp-nav .pip-settings {
    min-width: 0;
    border-left: 1px solid var(--line);
    padding-left: 20px;
  }
  .home-page.ascii-home.case-page .hp-header { margin-bottom: 0; }
}
@media (max-width: 539px) {
  .home-page.ascii-home .hp-header { padding: 16px 20px; margin-bottom: 56px; }
  .home-page.ascii-home .hp-nav { gap: 12px 16px; }
  .home-page.ascii-home .hp-nav .pip-settings { padding-left: 16px; }
}

/* Frosted paper keeps the compact sticky navigation readable over the artwork. */
@media (max-width: 1199px) {
  .home-page.ascii-home .hp-header {
    box-shadow: inset 0 -1px 0 rgba(67, 100, 115, .08);
  }
  @supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
    .home-page.ascii-home .hp-header {
      background: rgba(250, 250, 250, .78);
      -webkit-backdrop-filter: blur(12px) saturate(110%);
      backdrop-filter: blur(12px) saturate(110%);
    }
  }
}
