/* Final UI cleanup layer loaded last to beat legacy overrides. */
:root {
    --page-shell-narrow: 560px;
    --footer-floating-gap: 18px;
}

.container {
    min-height: 100vh;
    padding-bottom: 96px;
}

#home .content,
#projects .content,
#skills .content,
#contact .content {
    max-width: var(--page-shell-narrow);
    margin-inline: auto;
}

#about .content {
    width: 100%;
    max-width: var(--page-shell-narrow);
    margin-inline: auto;
}

#about .about-editorial {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

#about .about-shell,
#projects .projects-content,
#skills .skills-shell {
    max-width: 100%;
    margin-inline: auto;
}

#about .about-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    scroll-margin-top: 110px;
}

#projects .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

#projects .projects-content {
    max-width: var(--page-shell-narrow);
    margin-inline: auto;
}

#projects .projects-intro,
#projects .section-search-wrap,
#projects .projects-grid {
    width: 100%;
    max-width: 100%;
}

#about .about-availability {
    width: 100%;
    max-width: 100%;
    display: grid;
    justify-items: center;
    margin: 0 auto 18px;
}

@media (max-width: 900px) {
    #about .about-editorial-hero {
        align-items: center;
    }

    #about .about-hero-copy,
    #about .about-story-card,
    #about .about-hero-side-note,
    #about .favorites-card {
        text-align: center;
    }

    #about .about-hero-head,
    #about .about-microfacts,
    #about .favorites-tabs {
        justify-content: center;
    }

    #about .about-hero-visual {
        width: min(100%, 360px);
        margin-inline: auto;
    }

    #about .about-portrait-frame {
        min-height: 0;
        aspect-ratio: 4 / 5;
        max-height: 440px;
    }
}

#about .favorites-header {
    align-items: center;
    justify-items: center;
}

#about .favorites-title {
    justify-content: center;
    text-align: left;
}

#about .favorites-toggle {
    justify-self: center;
}

#about .open-work {
    margin: 4px auto 0;
    padding: 10px 18px;
    border-width: 1px;
    font-size: 12px;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 28px rgba(67, 181, 129, 0.18);
}

#about .open-work.is-open {
    background: #0b3d22;
    border-color: #63f3a1;
    color: #eafff2;
}

#about .open-work.is-closed {
    background: #4a1111;
    border-color: #ff7d7d;
    color: #fff0f0;
}

#about .open-work .status-dot {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 4px rgba(67, 181, 129, 0.18), 0 0 14px rgba(67, 181, 129, 0.86);
}

#projects .project-card,
#projects .project-showcase-card,
#projects .simple-project-card {
    width: 100%;
}

#projects .project-banner {
    height: 184px;
}

#projects .project-card-body {
    padding: 18px 18px 20px;
}

.spotify-history-card {
    border-radius: 24px;
}

.spotify-album-container {
    border-radius: 14px;
}

.spotify-album-art {
    border-radius: 14px;
}

.history-header {
    margin-bottom: 18px;
}

.track-item {
    border-radius: 16px;
    padding: 11px 10px;
}

.album-art {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.site-footer {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    z-index: auto;
    width: 100%;
    padding: 18px 16px 28px;
    pointer-events: auto;
}

body[data-theme="light"] {
    background: #ffffff;
    color: #050505;
}

body[data-theme="light"] .header {
    margin-bottom: 38px;
}

body[data-theme="light"] .name {
    background: none !important;
    -webkit-text-fill-color: #000000;
    color: #000000;
    text-shadow: none;
    filter: none;
    animation: none;
}

body[data-theme="light"] .tagline,
body[data-theme="light"] .animated-name {
    color: #000000 !important;
}

body[data-theme="light"] .discord-card,
body[data-theme="light"] .discord-profile-card,
body[data-theme="light"] .presence-tile,
body[data-theme="light"] .spotify-history-card,
body[data-theme="light"] .music-player-card,
body[data-theme="light"] .weather-card,
body[data-theme="light"] .info-item,
body[data-theme="light"] .favorites-card,
body[data-theme="light"] .about-surface,
body[data-theme="light"] .favorite-tile,
body[data-theme="light"] .favorite-meta {
    background: #ffffff !important;
    background-image: none !important;
    border-color: #000000 !important;
    box-shadow: none !important;
}

body[data-theme="light"] .discord-card::before,
body[data-theme="light"] .music-player-card::before,
body[data-theme="light"] .about-surface::before,
body[data-theme="light"] .presence-tile::before {
    opacity: 0 !important;
    background: none !important;
}

body[data-theme="light"] .username,
body[data-theme="light"] .status-text,
body[data-theme="light"] .presence-main,
body[data-theme="light"] .activity-title,
body[data-theme="light"] .history-title,
body[data-theme="light"] .track-name,
body[data-theme="light"] .music-title,
body[data-theme="light"] .music-artist,
body[data-theme="light"] .weather-location,
body[data-theme="light"] .weather-temp,
body[data-theme="light"] .info-value,
body[data-theme="light"] .favorite-name,
body[data-theme="light"] .about-editorial-statement,
body[data-theme="light"] .about-story-card h3,
body[data-theme="light"] .about-gallery-copy h4 {
    color: #000000 !important;
}

body[data-theme="light"] .presence-label,
body[data-theme="light"] .activity-type,
body[data-theme="light"] .activity-artist,
body[data-theme="light"] .history-tag,
body[data-theme="light"] .track-artist,
body[data-theme="light"] .weather-desc,
body[data-theme="light"] .weather-note,
body[data-theme="light"] .info-label,
body[data-theme="light"] .favorite-desc,
body[data-theme="light"] .favorites-subtitle,
body[data-theme="light"] .favorites-intro,
body[data-theme="light"] .about-editorial-intro,
body[data-theme="light"] .about-story-text,
body[data-theme="light"] .about-hero-side-note p,
body[data-theme="light"] .about-hero-kicker,
body[data-theme="light"] .about-story-eyebrow,
body[data-theme="light"] .about-side-note-label {
    color: #161616 !important;
}

body[data-theme="light"] .discord-chip,
body[data-theme="light"] .discord-action,
body[data-theme="light"] .music-control,
body[data-theme="light"] .music-slot-indicator,
body[data-theme="light"] .fav-tab,
body[data-theme="light"] .favorites-toggle,
body[data-theme="light"] .about-microfact,
body[data-theme="light"] .about-hero-side-note {
    background: #ffffff !important;
    border-color: #000000 !important;
    color: #000000 !important;
    box-shadow: none !important;
}

body[data-theme="light"] #about .open-work.is-open {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #000000 !important;
}

body[data-theme="light"] #about .open-work.is-closed {
    background: #ffffff !important;
    border-color: #000000 !important;
    color: #000000 !important;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #000000 !important;
}

body[data-theme="light"] .about-portrait-btn,
body[data-theme="light"] .about-portrait-dot,
body[data-theme="light"] .about-portrait-dots {
    background: rgba(255, 255, 255, 0.88);
    border-color: #000000;
    color: #000000;
}

body[data-theme="light"] .about-portrait-dot.active {
    background: #000000;
}

/* Compact polish pass: closer to the restrained panel style in the reference. */
:root {
    --page-shell-narrow: 580px;
    --compact-panel-radius: 18px;
    --compact-card-gap: 18px;
}

.content {
    max-width: var(--page-shell-narrow);
    width: min(100%, calc(100vw - 32px));
}

.header {
    margin-bottom: 30px;
}

.fixed-nav {
    top: 24px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(8, 9, 12, 0.82);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.nav-container {
    gap: 5px;
}

.nav-link {
    min-height: 38px;
    padding: 9px 18px;
    font-size: 13px;
    letter-spacing: 0;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.name {
    font-size: clamp(2.45rem, 5.2vw, 3.5rem);
    margin-bottom: 12px;
    letter-spacing: 0;
}

.tagline {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.45;
}

.discord-card,
.spotify-history-card,
.music-player-card,
.weather-card,
.favorites-card,
.about-surface,
.info-item {
    border-radius: var(--compact-panel-radius);
}

.discord-card,
.discord-profile-card,
.music-player-card,
.weather-card,
.favorites-card {
    padding: 20px;
    margin-bottom: var(--compact-card-gap);
}

.discord-profile-card {
    padding: 22px 24px;
}

.discord-profile-top,
.music-top-row,
.weather-current,
.favorites-header {
    gap: 14px;
}

.discord-profile-identity,
.music-main,
.presence-tile,
.track-item,
.favorite-topline,
.info-item,
.weather-day {
    align-items: center;
}

.username {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.05;
}

.discord-chip,
.status-badge,
.music-slot-indicator,
.fav-tab,
.favorites-toggle,
.about-microfact {
    min-height: 30px;
    padding: 6px 11px;
    font-size: 11px;
    line-height: 1;
}

.discord-action,
.music-control,
.favorites-toggle,
.fav-tab,
.about-portrait-btn,
.mini-player-control,
.mini-player-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.discord-action i,
.music-control i,
.favorites-toggle i,
.favorites-title i,
.fav-tab i,
.about-portrait-btn i,
.mini-player-control i,
.mini-player-header-btn i,
.presence-icon i {
    line-height: 1;
    display: block;
}

.discord-action {
    padding: 9px 13px;
    font-size: 12px;
}

.presence-tile {
    padding: 11px 12px;
    border-radius: 14px;
}

.presence-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    flex: 0 0 34px;
}

.presence-label,
.history-tag,
.music-label,
.about-hero-kicker,
.about-story-eyebrow,
.about-side-note-label {
    font-size: 10px;
    letter-spacing: 0.12em;
}

.presence-main,
.track-name,
.music-title {
    font-size: 14px;
    line-height: 1.25;
}

.spotify-history-card {
    padding: 18px;
}

.history-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.history-title {
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: lowercase;
}

.track-item {
    min-height: 64px;
    padding: 10px 12px;
    gap: 12px;
}

.album-art,
.music-album-art {
    width: 44px;
    height: 44px;
}

.music-top {
    gap: 12px;
}

.music-control {
    width: 38px;
    height: 38px;
}

.weather-card {
    padding: 18px;
}

.weather-days {
    gap: 10px;
}

.weather-day {
    padding: 12px;
}

.info-grid {
    gap: 12px;
}

.info-item {
    min-height: 74px;
    padding: 14px 16px;
}

#about .content {
    max-width: var(--page-shell-narrow);
    width: min(100%, calc(100vw - 32px));
}

#about .about-editorial {
    gap: 14px;
    margin-bottom: 18px;
}

#about .about-editorial-hero,
#about .about-story-card,
#about .favorites-card {
    padding: 20px;
}

#about .about-hero-copy,
#about .about-story-card,
#about .about-hero-side-note,
#about .favorites-card {
    text-align: left;
}

#about .about-hero-head,
#about .about-microfacts,
#about .favorites-tabs {
    justify-content: flex-start;
}

#about .about-editorial-statement {
    font-size: clamp(1.75rem, 4.5vw, 2.55rem);
    letter-spacing: 0;
    line-height: 1.08;
}

#about .about-editorial-intro,
#about .about-story-text,
#about .about-hero-side-note p {
    font-size: 14px;
    line-height: 1.65;
}

#about .about-hero-visual {
    width: min(100%, 300px);
}

#about .about-portrait-frame {
    max-height: 380px;
    border-radius: 18px;
}

#about .about-story-grid {
    gap: 12px;
}

#about .open-work {
    padding: 8px 14px;
    font-size: 11px;
    box-shadow: 0 10px 22px rgba(67, 181, 129, 0.12);
}

.favorites-card {
    overflow: hidden;
}

#about .favorites-card,
.favorites-card {
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(18, 20, 27, 0.96), rgba(12, 14, 20, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.11);
}

#about .favorites-header,
.favorites-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#about .favorites-title,
.favorites-title {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    justify-content: start;
    text-align: left;
}

.favorites-title i {
    width: 34px;
    height: 34px;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
}

.favorites-title > span:first-of-type {
    font-size: 18px;
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: 0;
}

.favorites-subtitle {
    grid-column: 2;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.52);
}

.favorites-toggle {
    justify-self: end;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.11);
}

.favorites-body {
    margin-top: 14px;
}

.favorites-intro {
    margin: 0 0 12px;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(232, 236, 244, 0.66);
}

.favorites-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fav-tab {
    width: 100%;
    min-height: 32px;
    padding: 7px 8px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.fav-tab.active,
.fav-tab:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: transparent;
    box-shadow: none;
}

.favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.favorite-tile {
    min-height: 0;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(22, 24, 31, 0.98), rgba(14, 16, 22, 0.99));
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: none;
}

.favorite-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.favorite-media {
    height: 104px;
}

.favorite-media::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.48));
}

.favorite-media::before {
    opacity: 0.72;
}

.favorite-badge {
    top: 9px;
    left: 9px;
    padding: 5px 8px;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.favorite-meta {
    padding: 12px;
    gap: 7px;
    background: transparent;
}

.favorite-name {
    font-size: 13px;
    line-height: 1.18;
}

.favorite-link {
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

.favorite-desc {
    font-size: 12px;
    line-height: 1.42;
    color: rgba(232, 236, 244, 0.66);
}

body[data-theme="light"] {
    background: #fafafa;
    color: #1d2430;
}

body[data-theme="light"] .name {
    background: linear-gradient(135deg, #1b2130 0%, #596171 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent;
    color: #1b2130;
}

body[data-theme="light"] .tagline,
body[data-theme="light"] .animated-name {
    color: #4e5664 !important;
}

body[data-theme="light"] .fixed-nav {
    background: rgba(255, 255, 255, 0.86) !important;
    border-color: rgba(28, 35, 48, 0.13) !important;
    box-shadow: 0 18px 40px rgba(20, 25, 34, 0.1) !important;
}

body[data-theme="light"] .nav-link {
    color: #687080 !important;
}

body[data-theme="light"] .nav-link.active,
body[data-theme="light"] .nav-link:hover {
    background: rgba(28, 35, 48, 0.075) !important;
    color: #1d2430 !important;
}

body[data-theme="light"] .discord-card,
body[data-theme="light"] .discord-profile-card,
body[data-theme="light"] .presence-tile,
body[data-theme="light"] .spotify-history-card,
body[data-theme="light"] .music-player-card,
body[data-theme="light"] .weather-card,
body[data-theme="light"] .info-item,
body[data-theme="light"] .favorites-card,
body[data-theme="light"] .about-surface,
body[data-theme="light"] .favorite-tile,
body[data-theme="light"] .favorite-meta {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 249, 0.96)) !important;
    border-color: rgba(28, 35, 48, 0.14) !important;
    box-shadow: 0 14px 34px rgba(20, 25, 34, 0.07) !important;
}

body[data-theme="light"] .presence-primary,
body[data-theme="light"] .favorites-tabs,
body[data-theme="light"] .discord-chip,
body[data-theme="light"] .discord-action,
body[data-theme="light"] .music-control,
body[data-theme="light"] .music-slot-indicator,
body[data-theme="light"] .fav-tab,
body[data-theme="light"] .favorites-toggle,
body[data-theme="light"] .about-microfact,
body[data-theme="light"] .about-hero-side-note {
    background: rgba(28, 35, 48, 0.045) !important;
    border-color: rgba(28, 35, 48, 0.12) !important;
    color: #263041 !important;
}

body[data-theme="light"] .fav-tab {
    background: transparent !important;
    border: 0 !important;
    color: #667085 !important;
}

body[data-theme="light"] .fav-tab.active,
body[data-theme="light"] .fav-tab:hover {
    background: #ffffff !important;
    color: #1f2937 !important;
    box-shadow: 0 6px 16px rgba(20, 25, 34, 0.08) !important;
}

body[data-theme="light"] .favorites-title i {
    background: rgba(28, 35, 48, 0.055) !important;
    border-color: rgba(28, 35, 48, 0.12) !important;
    color: #2b3445 !important;
}

body[data-theme="light"] .username,
body[data-theme="light"] .status-text,
body[data-theme="light"] .presence-main,
body[data-theme="light"] .activity-title,
body[data-theme="light"] .history-title,
body[data-theme="light"] .track-name,
body[data-theme="light"] .music-title,
body[data-theme="light"] .music-artist,
body[data-theme="light"] .weather-location,
body[data-theme="light"] .weather-temp,
body[data-theme="light"] .info-value,
body[data-theme="light"] .favorite-name,
body[data-theme="light"] .about-editorial-statement,
body[data-theme="light"] .about-story-card h3 {
    color: #1d2430 !important;
}

body[data-theme="light"] .presence-label,
body[data-theme="light"] .activity-type,
body[data-theme="light"] .activity-artist,
body[data-theme="light"] .history-tag,
body[data-theme="light"] .track-artist,
body[data-theme="light"] .weather-desc,
body[data-theme="light"] .weather-note,
body[data-theme="light"] .info-label,
body[data-theme="light"] .favorite-desc,
body[data-theme="light"] .favorites-subtitle,
body[data-theme="light"] .favorites-intro,
body[data-theme="light"] .about-editorial-intro,
body[data-theme="light"] .about-story-text,
body[data-theme="light"] .about-hero-side-note p,
body[data-theme="light"] .about-hero-kicker,
body[data-theme="light"] .about-story-eyebrow,
body[data-theme="light"] .about-side-note-label {
    color: #5f6877 !important;
}

body[data-theme="light"] #about .open-work.is-open {
    background: #eefcf4 !important;
    border-color: rgba(22, 163, 74, 0.42) !important;
    color: #106235 !important;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.12) !important;
}

body[data-theme="light"] #about .open-work.is-closed {
    background: #fff1f1 !important;
    border-color: rgba(220, 38, 38, 0.36) !important;
    color: #9f1d1d !important;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.1) !important;
}

body[data-theme="light"] .welcome-guide-overlay {
    background:
        radial-gradient(circle at 50% 0%, rgba(28, 35, 48, 0.08), transparent 34%),
        rgba(246, 246, 243, 0.78) !important;
    backdrop-filter: blur(10px);
}

body[data-theme="light"] .welcome-guide-modal {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 248, 245, 0.985)) !important;
    border-color: rgba(28, 35, 48, 0.14) !important;
    box-shadow: 0 28px 70px rgba(20, 25, 34, 0.14) !important;
    color: #1d2430 !important;
}

body[data-theme="light"] .welcome-guide-head {
    border-bottom-color: rgba(28, 35, 48, 0.1) !important;
}

body[data-theme="light"] .welcome-guide-kicker,
body[data-theme="light"] .welcome-guide-progress-meta,
body[data-theme="light"] .welcome-guide-point span,
body[data-theme="light"] .welcome-tour-step {
    color: #687386 !important;
}

body[data-theme="light"] .welcome-guide-intro h2,
body[data-theme="light"] .welcome-guide-stage-copy h3,
body[data-theme="light"] .welcome-guide-point strong {
    color: #1d2430 !important;
    -webkit-text-fill-color: #1d2430 !important;
    text-shadow: none !important;
}

body[data-theme="light"] .welcome-guide-intro p,
body[data-theme="light"] .welcome-guide-stage-copy p {
    color: #526075 !important;
}

body[data-theme="light"] .welcome-guide-progress-bar {
    background: rgba(28, 35, 48, 0.11) !important;
}

body[data-theme="light"] .welcome-guide-progress-bar span {
    background: linear-gradient(90deg, #303846, #6b7280) !important;
}

body[data-theme="light"] .welcome-guide-stage,
body[data-theme="light"] .welcome-guide-point,
body[data-theme="light"] .welcome-guide-lang-switch {
    background: rgba(28, 35, 48, 0.035) !important;
    border-color: rgba(28, 35, 48, 0.1) !important;
}

body[data-theme="light"] .welcome-guide-stage-icon {
    background: linear-gradient(180deg, rgba(28, 35, 48, 0.12), rgba(28, 35, 48, 0.045)) !important;
    border-color: rgba(28, 35, 48, 0.12) !important;
    color: #334155 !important;
}

body[data-theme="light"] .welcome-guide-lang,
body[data-theme="light"] .welcome-guide-close,
body[data-theme="light"] .welcome-guide-btn.ghost,
body[data-theme="light"] .welcome-guide-btn.subtle {
    background: transparent !important;
    border-color: rgba(28, 35, 48, 0.12) !important;
    color: #627084 !important;
}

body[data-theme="light"] .welcome-guide-lang.is-active,
body[data-theme="light"] .welcome-guide-lang[aria-selected="true"] {
    background: #303846 !important;
    color: #ffffff !important;
}

body[data-theme="light"] .welcome-guide-close:hover,
body[data-theme="light"] .welcome-guide-btn.ghost:hover,
body[data-theme="light"] .welcome-guide-btn.subtle:hover {
    background: rgba(28, 35, 48, 0.07) !important;
    border-color: rgba(28, 35, 48, 0.18) !important;
    color: #1d2430 !important;
}

body[data-theme="light"] .welcome-guide-btn.primary {
    background: linear-gradient(180deg, #3c424d, #262c35) !important;
    border-color: rgba(28, 35, 48, 0.35) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(28, 35, 48, 0.16) !important;
}

body[data-theme="light"] .welcome-guide-btn[disabled] {
    opacity: 0.42 !important;
}

.footer-content {
    min-height: 42px;
    padding: 10px 16px;
    gap: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(12, 15, 24, 0.84), rgba(8, 10, 18, 0.76));
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.footer-content i {
    color: rgb(var(--accent));
    font-size: 12px;
    transform: translateY(0.5px);
}

.mini-player-toolbar,
.mini-player-volume,
.mini-player-volume-compact {
    display: none !important;
}

.mini-music-player {
    width: min(320px, calc(100vw - 28px)) !important;
    padding: 12px !important;
    border-radius: 20px !important;
}

.mini-player-body {
    display: block !important;
    margin-bottom: 10px !important;
}

.mini-player-main {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.mini-player-art {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
}

.mini-player-meta {
    min-width: 0 !important;
    display: grid !important;
    gap: 3px !important;
}

.mini-player-title {
    font-size: 13px !important;
    line-height: 1.2 !important;
}

.mini-player-artist {
    margin-top: 0 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    color: rgba(255, 255, 255, 0.66) !important;
}

.mini-player-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

.mini-player-control {
    width: 34px !important;
    height: 34px !important;
}

.mini-player-play {
    width: 40px !important;
    height: 40px !important;
}

.mini-player-progress {
    height: 5px !important;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    #about .content {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px) !important;
    }

    #about .about-editorial {
        max-width: 100%;
    }

    .container {
        min-height: auto;
        padding-bottom: 24px;
    }

    .site-footer {
        padding: 10px 16px calc(env(safe-area-inset-bottom) + 90px);
    }

    .mini-music-player {
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-width: none !important;
        bottom: calc(env(safe-area-inset-bottom) + 90px) !important;
        padding: 10px !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .mini-player-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin-bottom: 8px !important;
    }

    .mini-player-label {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        font-size: 9px !important;
        letter-spacing: 0.14em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mini-player-header-actions {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        gap: 6px !important;
    }

    .mini-player-header-actions .mini-player-header-btn,
    .mini-player-queue-btn {
        width: 30px !important;
        height: 30px !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }

    .mini-player-body {
        display: block !important;
        margin-bottom: 8px !important;
    }

    .mini-player-main {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .mini-player-art {
        width: 40px !important;
        height: 40px !important;
        border-radius: 11px !important;
    }

    .mini-player-meta {
        min-width: 0 !important;
        display: grid !important;
        gap: 2px !important;
    }

    .mini-player-title {
        font-size: 11px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mini-player-artist {
        margin-top: 0 !important;
        font-size: 9.5px !important;
        line-height: 1.25 !important;
        color: rgba(255, 255, 255, 0.62) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mini-player-controls {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 7px !important;
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    .mini-player-control {
        width: 32px !important;
        height: 32px !important;
    }

    .mini-player-play {
        width: 36px !important;
        height: 36px !important;
    }

    .mini-player-progress {
        height: 5px !important;
        margin-bottom: 0 !important;
    }

    .spotify-history-card {
        border-radius: 22px;
        padding: 18px 16px;
    }

    .spotify-album-container {
        border-radius: 12px;
    }

    .spotify-album-art {
        border-radius: 12px;
    }

    .track-item {
        border-radius: 14px;
    }

    .album-art {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    #contact .content {
        max-width: 100%;
    }

    #contact .contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 14px;
    }

    #contact .contact-item {
        min-height: 74px;
        padding: 16px 18px;
        border-radius: 18px;
        background:
            linear-gradient(180deg, rgba(12, 16, 28, 0.9), rgba(6, 8, 14, 0.96)),
            rgba(10, 10, 10, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
    }

    #contact .contact-item.donate-item {
        order: -3;
        min-height: 188px;
        padding: 28px 22px;
        border-radius: 24px;
        display: grid;
        justify-items: center;
        align-content: center;
        text-align: center;
        gap: 14px;
        background:
            radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 34%),
            linear-gradient(180deg, rgba(9, 12, 24, 0.96), rgba(4, 6, 12, 0.98));
        border-color: rgba(125, 146, 255, 0.16);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    #contact .donate-item .contact-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 24px;
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.14);
    }

    #contact .donate-item .contact-details {
        width: 100%;
    }

    #contact .donate-item .contact-label {
        margin-bottom: 8px;
        font-size: 12px;
        letter-spacing: 0.12em;
        color: #aab4ca;
    }

    #contact .donate-item .contact-value {
        font-size: 20px;
        line-height: 1.2;
    }

    #contact .donate-item .contact-item-arrow,
    #contact .donate-item .donate-accent {
        display: none;
    }

    #contact #contact-email-link {
        order: -2;
    }

    #contact .contact-cta-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 0 14px;
    }

    #contact .contact-now-btn,
    #contact .contact-secondary-btn,
    #contact .social-link {
        min-height: 64px;
        padding: 16px 18px;
        border-radius: 18px;
        justify-content: flex-start;
        gap: 14px;
        text-align: left;
        background: linear-gradient(180deg, rgba(10, 12, 20, 0.92), rgba(4, 6, 12, 0.98));
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    }

    #contact .contact-now-btn {
        background: linear-gradient(180deg, rgba(var(--accent) / 0.18), rgba(8, 10, 18, 0.96));
        border-color: rgba(var(--accent) / 0.26);
    }

    #contact .contact-now-btn span,
    #contact .contact-secondary-btn span,
    #contact .social-link span {
        display: inline;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0;
    }

    #contact .contact-now-btn i,
    #contact .contact-secondary-btn i,
    #contact .social-link i {
        width: 22px;
        min-width: 22px;
        text-align: center;
        font-size: 22px;
    }

    #contact .social-card {
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    #contact .social-links-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}

@media (max-width: 768px) {
    #contact .contact-utility-bar {
        margin-top: 16px;
    }

    #contact .contact-policy-link {
        align-items: center;
        padding: 14px 16px;
        border-radius: 16px;
    }

    #contact .contact-policy-text,
    #contact .contact-meta,
    #contact .social-card-header,
    #contact .social-link-meta {
        display: none;
    }

    #contact .contact-item,
    #contact .contact-item-main {
        align-items: center;
    }

    #contact .contact-item {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 72px;
    }

    #contact .contact-item-trailing {
        margin-left: 8px;
        padding-top: 0;
    }

    #contact .contact-action-hint {
        display: none;
    }

    #contact .contact-grid {
        gap: 10px;
    }

    #contact .social-links-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #contact .social-link {
        min-height: 64px;
        padding: 14px 16px;
        border-radius: 16px;
        align-items: center;
    }

    #contact .social-link-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    #contact .social-link-title {
        font-size: 14px;
        line-height: 1.2;
    }

    #contact .social-link-arrow {
        font-size: 12px;
    }

    .footer-legal-link {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #contact .contact-policy-link {
        gap: 12px;
    }

    #contact .contact-policy-copy {
        gap: 0;
    }

    #contact .contact-policy-label {
        font-size: 11px;
    }

    #contact .contact-item {
        padding: 14px 16px;
        min-height: 68px;
    }

    #contact .contact-item-main {
        gap: 10px;
    }

    #contact .contact-item-trailing {
        margin-left: 6px;
    }

    #contact .contact-value {
        font-size: 15px;
        line-height: 1.25;
    }

    #contact .social-link-title {
        font-size: 14px;
    }

    #contact .social-link {
        min-height: 60px;
        padding: 13px 14px;
    }

    #contact .social-link-icon {
        width: 36px;
        height: 36px;
    }

    #contact .social-link-copy {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-utility-bar {
        margin-top: 16px;
    }

    .contact-policy-link {
        align-items: flex-start;
        padding: 16px 18px;
        border-radius: 18px;
    }

    .contact-policy-text {
        font-size: 13px;
    }

    #contact .contact-item {
        align-items: flex-start;
    }

    #contact .contact-item-main {
        align-items: flex-start;
    }

    #contact .contact-item-trailing {
        margin-left: 10px;
        padding-top: 3px;
    }

    #contact .contact-action-hint {
        display: none;
    }

    #contact .contact-meta {
        font-size: 12px;
    }

    .social-card-header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .social-links-container {
        grid-template-columns: 1fr;
    }

    .social-link {
        min-height: 80px;
        padding: 16px;
    }

    .social-link-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .footer-legal-link {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-policy-link {
        gap: 14px;
    }

    .contact-policy-copy {
        gap: 5px;
    }

    .contact-policy-label {
        font-size: 10px;
    }

    .contact-policy-text {
        font-size: 12px;
        line-height: 1.5;
    }

    #contact .contact-item {
        padding: 16px;
    }

    #contact .contact-item-main {
        gap: 12px;
    }

    #contact .contact-item-trailing {
        margin-left: 8px;
    }

    #contact .contact-value {
        font-size: 16px;
    }

    #contact .contact-meta {
        margin-top: 6px;
    }

    .social-title {
        font-size: 1.1rem;
    }

    .social-summary {
        font-size: 12px;
    }

    .social-link-title {
        font-size: 14px;
    }

    .social-link-meta {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-bottom: 18px;
    }

    .site-footer {
        padding: 8px 12px calc(env(safe-area-inset-bottom) + 84px);
    }

    .mini-music-player {
        left: 6px !important;
        right: 6px !important;
        bottom: calc(env(safe-area-inset-bottom) + 86px) !important;
        padding: 9px !important;
        border-radius: 16px !important;
    }

    .mini-player-main {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        gap: 9px !important;
    }

    .mini-player-art {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
    }

    .mini-player-title {
        font-size: 10.5px !important;
    }

    .mini-player-artist {
        font-size: 9px !important;
    }

    .mini-player-header-actions .mini-player-header-btn,
    .mini-player-queue-btn {
        width: 29px !important;
        height: 29px !important;
    }

    .mini-player-control {
        width: 30px !important;
        height: 30px !important;
    }

    .mini-player-play {
        width: 34px !important;
        height: 34px !important;
    }

    .spotify-history-card {
        border-radius: 20px;
        padding: 16px 14px;
    }

    .spotify-album-container {
        border-radius: 10px;
    }

    .spotify-album-art {
        border-radius: 10px;
    }

    .track-item {
        padding: 10px 8px;
    }

    .album-art {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .footer-content {
        min-height: 38px;
        padding: 8px 12px;
        gap: 6px;
    }

    .footer-copy {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    #contact .contact-utility-bar {
        margin-top: 16px;
    }

    #contact .contact-policy-link {
        align-items: flex-start;
        padding: 16px 18px;
        border-radius: 18px;
    }

    #contact .contact-policy-text {
        font-size: 13px;
    }

    #contact .contact-item,
    #contact .contact-item-main {
        align-items: flex-start;
    }

    #contact .contact-item-trailing {
        margin-left: 10px;
        padding-top: 3px;
    }

    #contact .contact-action-hint {
        display: none;
    }

    #contact .contact-meta {
        font-size: 12px;
    }

    #contact .social-card-header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #contact .social-links-container {
        grid-template-columns: 1fr;
    }

    #contact .social-link {
        min-height: 80px;
        padding: 16px;
    }

    #contact .social-link-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .footer-legal-link {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #contact .contact-policy-link {
        gap: 14px;
    }

    #contact .contact-policy-copy {
        gap: 5px;
    }

    #contact .contact-policy-label {
        font-size: 10px;
    }

    #contact .contact-policy-text {
        font-size: 12px;
        line-height: 1.5;
    }

    #contact .contact-item {
        padding: 16px;
    }

    #contact .contact-item-main {
        gap: 12px;
    }

    #contact .contact-item-trailing {
        margin-left: 8px;
    }

    #contact .contact-value {
        font-size: 16px;
    }

    #contact .contact-meta {
        margin-top: 6px;
    }

    #contact .social-title {
        font-size: 1.1rem;
    }

    #contact .social-summary {
        font-size: 12px;
    }

    #contact .social-link-title {
        font-size: 14px;
    }

    #contact .social-link-meta {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    #contact .contact-policy-link {
        align-items: center !important;
        padding: 14px 16px !important;
        border-radius: 16px !important;
    }

    #contact .contact-policy-text,
    #contact .contact-meta,
    #contact .social-card-header,
    #contact .social-link-meta,
    #contact .contact-action-hint {
        display: none !important;
    }

    #contact .contact-item {
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        min-height: 72px !important;
        padding: 14px 16px !important;
    }

    #contact .contact-item-main {
        align-items: center !important;
        gap: 10px !important;
    }

    #contact .contact-item-trailing {
        margin-left: 8px !important;
        padding-top: 0 !important;
    }

    #contact .social-links-container {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    #contact .social-link {
        min-height: 64px !important;
        padding: 14px 16px !important;
        border-radius: 16px !important;
        align-items: center !important;
    }

    #contact .social-link-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 480px) {
    #contact .contact-item {
        min-height: 68px !important;
        padding: 14px 16px !important;
    }

    #contact .contact-value {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    #contact .social-link {
        min-height: 60px !important;
        padding: 13px 14px !important;
    }

    #contact .social-link-icon {
        width: 36px !important;
        height: 36px !important;
    }
}

@media (max-width: 768px) {
    #contact .content {
        max-width: 100% !important;
    }

    #contact .contact-policy-link {
        padding: 14px 16px !important;
        border-radius: 18px !important;
    }

    #contact .contact-item {
        min-height: 92px !important;
        padding: 14px 16px !important;
        border-radius: 22px !important;
    }

    #contact .contact-icon {
        width: 46px !important;
        height: 46px !important;
        border-radius: 14px !important;
    }

    #contact .contact-value {
        font-size: 1.15rem !important;
    }

    #contact .social-links-container {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    #contact .social-link {
        min-height: 72px !important;
        padding: 0 16px !important;
        border-radius: 18px !important;
    }

    #contact .social-link-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 13px !important;
    }
}

@media (max-width: 480px) {
    #contact .contact-grid {
        gap: 12px !important;
    }

    #contact .contact-item {
        min-height: 84px !important;
        padding: 13px 14px !important;
    }

    #contact .contact-value {
        font-size: 1.02rem !important;
        line-height: 1.18 !important;
    }

    #contact .social-link {
        min-height: 66px !important;
        padding: 0 14px !important;
    }

    #contact .social-link-title {
        font-size: 13px !important;
    }
}

/* About polish pass */
#about .header {
    margin-bottom: 22px;
}

#about .name {
    text-transform: lowercase;
    font-size: clamp(2.65rem, 5.6vw, 3.7rem);
    line-height: 0.98;
}

#about .tagline {
    max-width: 44ch;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.55;
    text-transform: none;
}

#about .about-editorial {
    gap: 16px;
    margin-bottom: 16px;
}

#about .about-editorial-hero {
    min-height: 360px;
    padding: clamp(24px, 5vw, 44px);
    display: grid;
    align-items: end;
    isolation: isolate;
}

#about .about-editorial-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 54%;
    background: linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.5));
    pointer-events: none;
    z-index: 0;
}

#about .about-hero-copy {
    z-index: 2;
    max-width: 54ch;
    gap: 13px;
}

#about .about-hero-kicker {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(235, 240, 250, 0.72);
    letter-spacing: 0.11em;
}

#about .about-editorial-statement {
    position: relative;
    max-width: 40ch;
    margin: 2px 0 0;
    padding: 15px 0 15px 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.22);
    font-size: clamp(1.35rem, 3.4vw, 2.05rem);
    line-height: 1.18;
    letter-spacing: 0;
    text-transform: none;
    font-style: italic;
    font-weight: 600;
    color: rgba(247, 249, 255, 0.94);
}

#about .about-editorial-statement::before {
    content: '"';
    position: absolute;
    left: 18px;
    top: -18px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 56px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

#about .about-editorial-intro {
    max-width: 52ch;
    font-size: 14.5px;
    line-height: 1.68;
    color: rgba(232, 237, 247, 0.72);
}

#about .about-microfacts {
    gap: 8px;
    padding-top: 2px;
}

#about .about-microfact {
    min-height: 32px;
    padding: 7px 11px;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(236, 241, 250, 0.78);
}

#about .about-story-grid {
    gap: 12px;
}

#about .about-story-card {
    padding: 18px;
    gap: 9px;
    border-radius: 18px;
}

#about .about-story-card h3 {
    font-size: clamp(1.2rem, 2.8vw, 1.45rem);
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
}

#about .about-story-text {
    font-size: 13.5px;
    line-height: 1.64;
}

#about .about-gallery {
    padding: 12px;
    margin-bottom: 16px;
}

#about .about-portrait-frame {
    min-height: 0;
    aspect-ratio: 16 / 10;
    max-height: 340px;
}

#about .favorites-card {
    margin-top: 0;
}

.about-scroll-visuals {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    --about-scroll: 0;
}

.about-scroll-line,
.about-scroll-dot,
.about-scroll-ring {
    position: absolute;
    display: block;
    will-change: transform, opacity;
}

.about-scroll-line {
    width: 1px;
    height: 180px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    opacity: 0.36;
}

.about-scroll-line.line-one {
    top: -32px;
    right: 18%;
    transform: translateY(calc(var(--about-scroll) * 54px)) rotate(18deg);
}

.about-scroll-line.line-two {
    right: 38px;
    bottom: -44px;
    height: 150px;
    opacity: 0.25;
    transform: translateY(calc(var(--about-scroll) * -44px)) rotate(-22deg);
}

.about-scroll-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 22px rgba(104, 153, 255, 0.46);
}

.about-scroll-dot.dot-one {
    top: 28%;
    right: 28%;
    transform: translate3d(calc(var(--about-scroll) * 34px), calc(var(--about-scroll) * -26px), 0);
}

.about-scroll-dot.dot-two {
    right: 14%;
    bottom: 18%;
    width: 6px;
    height: 6px;
    opacity: 0.62;
    transform: translate3d(calc(var(--about-scroll) * -26px), calc(var(--about-scroll) * 30px), 0);
}

.about-scroll-ring {
    width: 180px;
    height: 180px;
    right: -58px;
    top: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    opacity: 0.62;
    transform: translateY(calc(var(--about-scroll) * 38px)) rotate(calc(var(--about-scroll) * 24deg));
}

body[data-theme="light"] #about .about-editorial-hero::after {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.48));
}

body[data-theme="light"] #about .about-hero-kicker {
    background: rgba(28, 35, 48, 0.045) !important;
    border-color: rgba(28, 35, 48, 0.12) !important;
    color: #667085 !important;
}

body[data-theme="light"] #about .about-editorial-intro,
body[data-theme="light"] #about .about-story-text {
    color: #5f6877 !important;
}

body[data-theme="light"] #about .about-editorial-statement {
    border-left-color: rgba(28, 35, 48, 0.18);
    color: #1d2430 !important;
}

body[data-theme="light"] #about .about-editorial-statement::before {
    color: rgba(28, 35, 48, 0.14);
}

body[data-theme="light"] .about-scroll-line {
    background: linear-gradient(180deg, transparent, rgba(28, 35, 48, 0.28), transparent);
}

body[data-theme="light"] .about-scroll-dot {
    background: rgba(28, 35, 48, 0.42);
    box-shadow: 0 0 18px rgba(28, 35, 48, 0.14);
}

body[data-theme="light"] .about-scroll-ring {
    border-color: rgba(28, 35, 48, 0.11);
}

body.reduce-motion .about-scroll-visuals,
body.performance-mode .about-scroll-visuals {
    display: none;
}

@media (max-width: 768px) {
    #about .header {
        margin-bottom: 18px;
    }

    #about .tagline {
        font-size: 13.5px;
    }

    #about .about-editorial-hero {
        min-height: 320px;
        align-items: end;
        padding: 22px;
    }

    #about .about-editorial-statement {
        max-width: 100%;
        padding-left: 16px;
        font-size: clamp(1.25rem, 6.4vw, 1.65rem);
        line-height: 1.2;
    }

    #about .about-editorial-intro {
        font-size: 13.5px;
        line-height: 1.62;
    }

    #about .about-hero-copy,
    #about .about-story-card,
    #about .favorites-card {
        text-align: left !important;
    }

    #about .about-microfacts {
        justify-content: flex-start !important;
    }

    #about .about-portrait-frame {
        aspect-ratio: 4 / 5;
        max-height: 420px;
    }

    .about-scroll-ring {
        width: 132px;
        height: 132px;
        right: -52px;
    }
}

@media (max-width: 420px) {
    #about .about-editorial-hero {
        min-height: 300px;
        padding: 20px;
    }

    #about .about-microfacts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    #about .about-microfact {
        width: fit-content;
    }

    .about-scroll-dot.dot-one {
        right: 18%;
    }
}
