/* ================================================================
   App: About — neofetch-style profile card
   Scoped to [data-window="about"]. Replaces the placeholder when
   bodyClass: 'about' is set.
   ================================================================ */
[data-window="about"] .about {
    flex: 1;
    padding: 28px 32px 24px;
    background: var(--byte-ink-950);
    font-family: var(--byte-font-code);
    font-size: var(--byte-fs-md);
    color: var(--byte-text);
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    gap: var(--byte-sp-5);
}

/* ---- Hook line (banner above row) ---- */
[data-window="about"] .about__hook {
    margin: 0;
    color: var(--byte-text);
    font-family: var(--byte-font-code);
    font-size: var(--byte-fs-lg);
    font-weight: 600;
    letter-spacing: 0.01em;
}
[data-window="about"] .about__hook-prefix {
    color: var(--byte-primary);
    margin-right: 6px;
    text-shadow: 0 0 12px rgba(253, 125, 0, 0.40);
}

/* ---- Bio paragraph (between row and manifesto) ---- */
[data-window="about"] .about__bio {
    margin: 0;
}
[data-window="about"] .about__bio p {
    margin: 0;
    max-width: 60ch;
    color: var(--byte-text);
    line-height: 1.65;
}

/* ---- Coffee button (clickable, with bx-coffee icons) ---- */
[data-window="about"] .about__coffee {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: var(--byte-text);
    cursor: pointer;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform var(--byte-t-fast);
}
[data-window="about"] .about__coffee-icons {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: var(--byte-coffee);
    font-size: 16px;
    line-height: 1;
}
[data-window="about"] .about__coffee:hover .about__coffee-icons,
[data-window="about"] .about__coffee:focus-visible .about__coffee-icons {
    text-shadow: 0 0 10px rgba(255, 221, 0, 0.6);
}
[data-window="about"] .about__coffee:focus-visible {
    outline: none;
}
[data-window="about"] .about__coffee:active {
    transform: scale(0.95);
}

/* ---- Mood (icon + label) ---- */
[data-window="about"] .about__mood-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
[data-window="about"] .about__mood-value i {
    color: var(--byte-primary);
    font-size: 16px;
    line-height: 1;
}

/* ---- Top row: ASCII logo + stats block ---- */
[data-window="about"] .about__row {
    display: flex;
    align-items: flex-start;
    gap: var(--byte-sp-5);
}

[data-window="about"] .about__logo {
    flex-shrink: 0;
    margin: 0;
    width: 192px;
    height: 300px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    border-radius: var(--byte-r-md);
    box-shadow: 0 0 0 1px var(--byte-border-strong),
                0 0 24px rgba(253, 125, 0, 0.20);
    cursor: pointer;
    user-select: none;
    animation: about-logo-breathe 6s ease-in-out infinite;
}
/* (animation rules + keyframes for .about__logo live in about-anim.css) */

[data-window="about"] .about__stats {
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

[data-window="about"] .about__stats-header {
    font-weight: 600;
    color: var(--byte-text);
}
[data-window="about"] .about__stats-user      { color: var(--byte-text); font-weight: 600; }
[data-window="about"] .about__stats-at        { color: var(--byte-text-muted); }
[data-window="about"] .about__stats-host      { color: var(--byte-text); font-weight: 600; }
[data-window="about"] .about__stats-host-side { color: var(--byte-primary); }

[data-window="about"] .about__stats-rule {
    margin: 2px 0 8px;
    border: 0;
    border-top: 1px solid var(--byte-border);
}

[data-window="about"] .about__stat {
    display: flex;
    gap: var(--byte-sp-2);
    align-items: baseline;
    padding: 2px 6px;
    margin: 0 -6px;
    border-radius: var(--byte-r-sm);
    transition: background-color var(--byte-t-fast);
}
[data-window="about"] .about__stat:hover {
    background: rgba(255, 255, 255, 0.04);
}

[data-window="about"] .about__stat-key {
    flex-shrink: 0;
    width: 90px;
    color: var(--byte-primary);
    font-weight: 600;
}

[data-window="about"] .about__stat-value {
    margin: 0;
    color: var(--byte-text);
    word-break: break-word;
}

/* ---- Email reveal button (looks like plain text, behaves like link) ---- */
[data-window="about"] .about__email {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: var(--byte-text-muted);
    cursor: pointer;
    text-decoration: underline dotted var(--byte-text-subtle);
    text-underline-offset: 3px;
    transition: color var(--byte-t-fast),
                text-decoration-color var(--byte-t-fast);
}
[data-window="about"] .about__email:hover,
[data-window="about"] .about__email:focus-visible {
    color: var(--byte-primary);
    text-decoration-color: var(--byte-primary);
    outline: none;
}

/* ---- Sections (Mission, Links) ---- */
[data-window="about"] .about__section {
    display: flex;
    flex-direction: column;
    gap: var(--byte-sp-2);
}

[data-window="about"] .about__section-head {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--byte-sp-3);
    font-family: var(--byte-font-code);
    font-size: var(--byte-fs-md);
    font-weight: 600;
    color: var(--byte-text-muted);
    text-transform: lowercase;
    letter-spacing: 0.02em;
}
[data-window="about"] .about__section-head::before,
[data-window="about"] .about__section-head::after {
    content: "";
    flex: 0 0 14px;
    border-top: 1px solid var(--byte-border-strong);
}
[data-window="about"] .about__section-head::after {
    flex: 1;
}
[data-window="about"] .about__section-head span {
    color: var(--byte-primary);
}

[data-window="about"] .about__section-body {
    margin: 0;
    color: var(--byte-text);
}

/* ---- Links ---- */
[data-window="about"] .about__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
[data-window="about"] .about__links a {
    display: inline-flex;
    align-items: baseline;
    gap: var(--byte-sp-2);
    padding: 4px 6px;
    margin: 0 -6px;
    color: var(--byte-text);
    text-decoration: none;
    border-radius: var(--byte-r-sm);
    transition: background-color var(--byte-t-fast),
                color var(--byte-t-fast);
}
[data-window="about"] .about__links a:hover,
[data-window="about"] .about__links a:focus-visible {
    background: rgba(255, 255, 255, 0.04);
    color: var(--byte-primary);
    outline: none;
}
[data-window="about"] .about__link-arrow {
    color: var(--byte-primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* ---- now-section dl reset (uses .about__stat rows for consistency) ---- */
[data-window="about"] .about__now {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ---- Manifesto (numbered list with orange counters) ---- */
[data-window="about"] .about__manifesto {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--byte-sp-2);
    counter-reset: manifesto;
}
[data-window="about"] .about__manifesto li {
    counter-increment: manifesto;
    padding-left: 28px;
    position: relative;
    color: var(--byte-text);
}
[data-window="about"] .about__manifesto li::before {
    content: counter(manifesto) ".";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    text-align: right;
    color: var(--byte-primary);
    font-weight: 700;
}

/* ---- Built-with footer ---- */
[data-window="about"] .about__footer {
    margin-top: var(--byte-sp-3);
    padding-top: var(--byte-sp-3);
    border-top: 1px dashed var(--byte-border);
    color: var(--byte-text-subtle);
    font-size: var(--byte-fs-sm);
    text-align: center;
    line-height: 1.5;
}
[data-window="about"] .about__footer-prefix {
    color: var(--byte-text-muted);
    margin-right: 6px;
}

/* (Cascade entry + reduced-motion live in about-anim.css) */

/* ---- Narrow window: stack logo above stats ---- */
@media (max-width: 520px) {
    [data-window="about"] .about {
        padding: 22px 20px 20px;
    }
    [data-window="about"] .about__row {
        flex-direction: column;
        align-items: center;
        gap: var(--byte-sp-3);
    }
    [data-window="about"] .about__stats {
        width: 100%;
    }
    [data-window="about"] .about__stat-key {
        width: 80px;
    }
}
