/* ============================================================
   sectionone.org: HARPAX pages (home, dashboard, 404)
   Loaded after style.css and scoped to body.theme-harpax, so the
   Bloo Crew pages that share style.css are untouched.

   Gradients use plain rgba stops, never color-mix(): Waterfox draws
   a stray pixel when a gradient stop uses color-mix().
   ============================================================ */

body.theme-harpax {
    --max-width:    1120px;
    --font-display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, system-ui, sans-serif;
    --font-mono:    ui-monospace, "Cascadia Code", "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
    --grid-line:    rgba(148, 163, 184, 0.045);
    --card-edge:    rgba(45, 212, 191, 0.35);
    --radius-lg:    16px;
    --ok:           #22c55e;
    font-family: var(--font-display);
    background:
        linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
        var(--bg);
}

body.theme-harpax ::selection {
    background: var(--teal);
    color: var(--on-accent);
}

body.theme-harpax :focus-visible {
    outline: 2px solid var(--teal-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Nav ─────────────────────────────────────────────────── */

body.theme-harpax nav:not(.subnav) .nav-inner {
    min-height: 64px;
}

body.theme-harpax .nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    letter-spacing: 0.16em;
}

body.theme-harpax .nav-brand:hover {
    color: var(--teal-light);
}

.nav-mark {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

body.theme-harpax .nav-links {
    align-items: center;
    gap: 1.6rem;
}

body.theme-harpax .nav-links a.active {
    color: var(--text);
}

body.theme-harpax nav.subnav {
    top: 64px;
}

/* Only the dashboard keeps a second bar; the home page anchors clear one. */
body.theme-harpax section[id],
body.theme-harpax .card[id] {
    scroll-margin-top: 120px;
}

body.theme-harpax.page-home section[id] {
    scroll-margin-top: 72px;
}

@media (max-width: 760px) {
    body.theme-harpax .nav-toggle {
        display: flex;
    }

    body.theme-harpax #primary-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.75rem 1.5rem 1.1rem;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
    }

    body.theme-harpax #primary-menu.open {
        display: flex;
    }

    body.theme-harpax #primary-menu a {
        display: block;
        padding: 0.45rem 0;
        font-size: 1rem;
    }

    body.theme-harpax #primary-menu a.nav-kofi {
        display: inline-flex;
        margin-top: 0.4rem;
    }
}

/* ── Shared type ─────────────────────────────────────────── */

.hx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-light);
}

.hx-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.hx-section {
    padding: 6rem 1.5rem;
    position: relative;
}

.hx-section.hx-tinted {
    background: rgba(13, 19, 34, 0.82);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hx-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hx-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 2.75rem;
}

.hx-head h2 {
    margin-top: 0.7rem;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hx-head p {
    max-width: 520px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* ── Buttons ─────────────────────────────────────────────── */

.hx-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.hx-btn:hover {
    transform: translateY(-2px);
}

.hx-btn-primary {
    background: var(--teal);
    color: var(--on-accent);
    box-shadow: 0 8px 24px -10px rgba(20, 184, 166, 0.7);
}

.hx-btn-primary:hover {
    background: var(--teal-light);
}

.hx-btn-ghost {
    color: var(--text);
    border-color: var(--border);
    background: rgba(19, 28, 46, 0.6);
}

.hx-btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal-light);
}

.hx-btn-warm {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 8px 24px -10px rgba(249, 115, 22, 0.7);
}

.hx-btn-warm:hover {
    background: var(--orange-light);
}

/* ── Hero ────────────────────────────────────────────────── */

.hx-hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 1.5rem 3.5rem;
    background:
        radial-gradient(ellipse 55% 60% at 78% 38%, rgba(20, 184, 166, 0.13) 0%, transparent 70%),
        radial-gradient(ellipse 45% 50% at 12% 85%, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
}

.hx-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
}

.hx-title {
    margin: 1.1rem 0 1.25rem;
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--text);
}

.hx-title em {
    font-style: normal;
    color: var(--teal-light);
}

.hx-lede {
    max-width: 560px;
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.hx-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Live summary of the status board, linked down to it. */
.hx-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
    padding: 0.45rem 0.9rem 0.45rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(19, 28, 46, 0.7);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.hx-pulse:hover {
    border-color: var(--teal);
    color: var(--text);
}

.hx-pulse .status-dot.online {
    animation: hx-beat 2.4s ease-in-out infinite;
}

@keyframes hx-beat {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    60%      { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}

.hx-hero-art {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Concentric rings behind the badge. Plain borders, no shadow on the
   image itself (see the logo notes: a halo there drew artefacts). */
.hx-hero-art::before,
.hx-hero-art::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hx-hero-art::before {
    width: 118%;
    aspect-ratio: 1;
    border: 1px dashed rgba(45, 212, 191, 0.22);
    animation: hx-spin 80s linear infinite;
}

.hx-hero-art::after {
    width: 138%;
    aspect-ratio: 1;
    border: 1px solid rgba(148, 163, 184, 0.07);
}

@keyframes hx-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hx-badge {
    position: relative;
    width: min(340px, 100%);
    height: auto;
    z-index: 1;
}

/* At-a-glance figures under the hero. */
.hx-facts {
    max-width: var(--max-width);
    margin: 4.5rem auto 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(13, 19, 34, 0.75);
    overflow: hidden;
}

.hx-facts li {
    padding: 1.4rem 1.5rem;
    border-left: 1px solid var(--border);
}

.hx-facts li:first-child {
    border-left: none;
}

.hx-facts strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hx-facts strong span {
    color: var(--orange);
}

.hx-facts li > span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Featured work ───────────────────────────────────────── */

.hx-featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.hx-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hx-card:hover {
    transform: translateY(-3px);
    border-color: var(--card-edge);
    box-shadow: 0 18px 40px -24px rgba(20, 184, 166, 0.45);
}

.hx-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hx-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange-light);
    background: var(--orange-glow);
    border: 1px solid rgba(249, 115, 22, 0.28);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

.hx-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-faint);
}

.hx-card h3 {
    font-size: 1.2rem;
    font-weight: 750;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 0.65rem;
}

.hx-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

.hx-card p a {
    color: var(--teal-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(45, 212, 191, 0.35);
}

.hx-card p a:hover {
    border-bottom-color: var(--teal-light);
}

.hx-card .project-badges {
    margin-top: auto;
    padding-top: 1.25rem;
}

.hx-card .badge {
    font-family: var(--font-mono);
}

/* The big four get a headline line and a lit top edge. */
.hx-card-feature {
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(20, 184, 166, 0.07) 0%, transparent 38%),
        var(--surface);
}

.hx-card-feature::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    opacity: 0.7;
}

.hx-card-feature h3 {
    font-size: 1.45rem;
    letter-spacing: -0.01em;
}

.hx-hook {
    font-size: 1.02rem !important;
    color: var(--text) !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Flow diagrams: the arrows in the markup are hidden (font-size 0 on the
   loose text) and drawn per step instead, so they can turn downwards when
   the steps stack on a phone. */
.hx-card .mini-diagram {
    margin: 1.1rem 0 0;
    font-family: var(--font-mono);
    font-size: 0;
    gap: 0.4rem 0;
    justify-content: flex-start;
    background: var(--bg-alt);
}

.hx-card .mini-diagram span {
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
}

.hx-card .mini-diagram span + span::before {
    content: "\2192";
    margin: 0 0.5rem;
    color: var(--orange);
}

@media (max-width: 400px) {
    .hx-card .mini-diagram {
        align-items: flex-start;
    }

    .hx-card .mini-diagram span + span::before {
        content: "\2193";
        display: inline;
        margin: 0 0.5rem 0 0;
    }
}

/* ── More work: filter + compact grid ────────────────────── */

.hx-subhead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 4.5rem 0 1.5rem;
}

.hx-subhead h3 {
    font-size: 1.35rem;
    font-weight: 750;
    color: var(--text);
}

.hx-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hx-chip {
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hx-chip:hover {
    color: var(--text);
    border-color: var(--text-faint);
}

.hx-chip[aria-pressed="true"] {
    color: var(--on-accent);
    background: var(--teal);
    border-color: var(--teal);
}

.hx-chip .hx-count {
    font-family: var(--font-mono);
    font-weight: 500;
    opacity: 0.7;
    margin-left: 0.25rem;
}

.hx-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.hx-grid .hx-card[hidden] {
    display: none;
}

/* ── Toolbelt ────────────────────────────────────────────── */

.hx-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hx-principle {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
}

.hx-principle .hx-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--teal-glow);
    color: var(--teal-light);
    margin-bottom: 1rem;
}

.hx-principle h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.hx-principle p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.hx-stack {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-top: 1px solid var(--border);
}

.hx-stack dt,
.hx-stack dd {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border);
}

.hx-stack dt {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding-top: 1.35rem;
}

.hx-stack dd {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hx-stack dd span {
    font-size: 0.88rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.3rem 0.7rem;
}

/* ── Status board ────────────────────────────────────────── */

.hx-board {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(13, 19, 34, 0.85);
    overflow: hidden;
}

.hx-board-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.9rem 1.4rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hx-board-bar strong {
    color: var(--text);
    font-weight: 600;
}

.hx-board-body {
    padding: 1.5rem 1.4rem 0.25rem;
}

body.theme-harpax .status-subheading {
    padding-left: 0;
    font-family: var(--font-mono);
}

body.theme-harpax .status-card {
    background: var(--bg-alt);
    border-radius: 12px;
    transition: border-color 0.18s ease;
}

body.theme-harpax .status-card:hover {
    border-color: var(--text-faint);
}

body.theme-harpax .status-detail {
    font-family: var(--font-mono);
    font-size: 0.74rem;
}

.hx-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hx-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hx-legend .status-dot {
    width: 8px;
    height: 8px;
}

/* ── Closing: contact + support ──────────────────────────── */

.hx-closing {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
}

.hx-panel {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2.25rem;
    background: var(--surface);
}

.hx-panel h2 {
    margin: 0.7rem 0 0.6rem;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
}

.hx-panel p {
    color: var(--text-muted);
    max-width: 480px;
}

.hx-panel .hx-btn {
    margin-top: 1.6rem;
}

.hx-panel-contact {
    background:
        radial-gradient(ellipse 70% 90% at 100% 0%, rgba(20, 184, 166, 0.14) 0%, transparent 65%),
        var(--surface);
}

.hx-panel-support {
    background:
        radial-gradient(ellipse 80% 90% at 100% 0%, rgba(249, 115, 22, 0.13) 0%, transparent 65%),
        var(--surface);
}

.hx-panel-support .hx-eyebrow {
    color: var(--orange-light);
}

.hx-mail {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    color: var(--teal-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(45, 212, 191, 0.35);
    word-break: break-all;
}

.hx-mail:hover {
    border-bottom-color: var(--teal-light);
}

/* ── Footer ──────────────────────────────────────────────── */

body.theme-harpax footer {
    text-align: left;
    padding: 3rem 1.5rem 2.5rem;
    background: rgba(10, 15, 26, 0.9);
}

/* style.css makes every <nav> a sticky bar; the footer's is just a list. */
body.theme-harpax footer nav {
    position: static;
    background: none;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hx-foot {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
}

.hx-foot-brand {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.hx-foot-brand img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.hx-foot-brand strong {
    display: block;
    color: var(--text);
    letter-spacing: 0.14em;
    font-size: 0.95rem;
}

.hx-foot-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 280px;
    margin-top: 0.2rem;
}

.hx-foot h2 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.75rem;
}

.hx-foot ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.hx-foot a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
}

.hx-foot a:hover {
    color: var(--teal-light);
}

.hx-foot-base {
    max-width: var(--max-width);
    margin: 2.5rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-faint);
}

/* ── Dashboard + 404 page header ─────────────────────────── */

.hx-pagehead {
    padding: 4rem 1.5rem 0;
}

.hx-pagehead h1 {
    margin-top: 0.8rem;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--text);
}

.hx-pagehead p {
    margin-top: 0.9rem;
    max-width: 600px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

body.theme-harpax .section-inner h2 {
    letter-spacing: -0.01em;
}

body.theme-harpax .card {
    border-radius: 14px;
}

.hx-404 {
    min-height: 62vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

.hx-404 .hx-code {
    font-family: var(--font-mono);
    font-size: clamp(4.5rem, 16vw, 8rem);
    font-weight: 700;
    line-height: 1;
    color: var(--teal);
    letter-spacing: -0.04em;
}

.hx-404 .hx-code span {
    color: var(--orange);
}

.hx-404 h1 {
    margin-top: 1rem;
    font-size: 1.6rem;
    color: var(--text);
}

.hx-404 p {
    margin: 0.6rem auto 0;
    max-width: 440px;
    color: var(--text-muted);
}

.hx-404 .hx-cta {
    justify-content: center;
}

/* ── Scroll reveal (only once the script has opted in) ───── */

.hx-reveal .hx-rise {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hx-reveal .hx-rise.hx-in {
    opacity: 1;
    transform: none;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 960px) {
    .hx-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hx-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .hx-facts li:nth-child(3) {
        border-left: none;
    }

    .hx-facts li:nth-child(n + 3) {
        border-top: 1px solid var(--border);
    }

    .hx-closing,
    .hx-principles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hx-hero {
        padding: 3rem 1rem 2.5rem;
    }

    .hx-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hx-hero-art {
        order: -1;
    }

    .hx-badge {
        width: 180px;
    }

    .hx-section {
        padding: 4.5rem 1rem;
    }

    .hx-featured,
    .hx-grid {
        grid-template-columns: 1fr;
    }

    .hx-card-feature {
        padding: 1.5rem;
    }

    .hx-panel {
        padding: 1.6rem;
    }

    .hx-stack {
        grid-template-columns: 1fr;
    }

    .hx-stack dt {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hx-foot {
        grid-template-columns: 1fr 1fr;
    }

    .hx-foot-brand {
        grid-column: 1 / -1;
    }

    .hx-pagehead {
        padding: 3rem 1rem 0;
    }
}

@media (max-width: 420px) {
    .hx-facts {
        grid-template-columns: 1fr 1fr;
    }

    .hx-facts li {
        padding: 1.1rem;
    }

    .hx-facts strong {
        font-size: 1.6rem;
    }
}

/* ── Retired work ─────────────────────────────────────────── */

.hx-retired-note {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
    max-width: 60ch;
    margin: -0.75rem 0 1.5rem;
}

/* Muted so retired cards read as history, not current work. */
.hx-retired .hx-card {
    opacity: 0.72;
    background: var(--bg-alt);
}

.hx-retired .hx-card:hover {
    opacity: 1;
    transform: none;
    box-shadow: none;
}

.hx-retired .hx-tag {
    color: var(--text-faint);
    background: transparent;
    border-color: var(--border);
}

/* auto-fill keeps a lone retired card at one column's width. */
.status-grid-retired {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.status-dot.retired {
    background: var(--text-faint);
    box-shadow: none;
    animation: none;
}
