/* /Components/Layout/SiteFooter.razor.rz.scp.css */
.site-footer[b-vckq0qtj9c] {
    padding: var(--s-7) var(--s-4) var(--s-5);
}

.site-footer__top[b-vckq0qtj9c] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--s-6) var(--s-7);
    align-items: start;
}

.site-footer__ask[b-vckq0qtj9c] {
    max-width: 18ch;
    margin-bottom: var(--s-4);
}

.site-footer__mail[b-vckq0qtj9c] { font-size: var(--t-lead); }

/* --- footer nav ------------------------------------------------------------ */
.site-footer__nav ul[b-vckq0qtj9c] {
    margin: var(--s-3) 0 0;
    display: grid;
    gap: 10px;
}

.site-footer__nav a[b-vckq0qtj9c] {
    text-decoration: none;
    font-size: var(--t-small);
    color: var(--on-field-soft);
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .site-footer__nav a:hover[b-vckq0qtj9c] {
        color: var(--on-field);
        border-bottom-color: var(--accent-bright);
    }
}

.site-footer__colhead2[b-vckq0qtj9c] { margin-top: var(--s-5); }

/* --- the close ------------------------------------------------------------- */
.site-footer__rule[b-vckq0qtj9c] { margin: var(--s-6) 0 var(--s-4); }

.site-footer__base[b-vckq0qtj9c] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-3) var(--s-5);
}

.site-footer__line[b-vckq0qtj9c] {
    font-size: var(--t-lead);
    font-weight: 500;
    color: var(--on-field);
    letter-spacing: -0.01em;
}

.site-footer__meta[b-vckq0qtj9c] {
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--on-field-soft);
}

.site-footer__mark[b-vckq0qtj9c] { font-size: 1rem; }

@media (max-width: 860px) {
    .site-footer__top[b-vckq0qtj9c] {
        grid-template-columns: 1fr;
        gap: var(--s-5);
    }

    .site-footer__ask[b-vckq0qtj9c] { max-width: 24ch; }
}
/* /Components/Layout/SiteHeader.razor.rz.scp.css */
/* THE MASTHEAD DETACHES ON SCROLL.
   At rest it is a rule across the page — flush to both edges, square, hairline
   underneath, part of the document. Once the page moves under it, it lifts off:
   insets from the edges, rounds its corners, and floats clear of the top with
   the blue field showing down either side.

   The floating "border" is a 1px box-shadow SPREAD, not a real border. Three
   reasons: it follows the border-radius exactly, it costs no layout, and a real
   left/right border would have to exist at rest too — showing two 1px slivers
   of the hero down the sides of a bar that is meant to be flush.

   site.js toggles .is-scrolled past 8px inside a rAF; if the script never runs
   the bar simply stays in its at-rest state, which is a complete design. */
.site-header[b-kwakfvk44b] {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--paper);
    border-bottom: 1px solid var(--line-firm);
    border-radius: 0;
    margin-inline: 0;
    transition:
        top 340ms var(--ease-out),
        margin 340ms var(--ease-out),
        border-radius 340ms var(--ease-out),
        box-shadow 340ms var(--ease-out),
        border-color 160ms linear;
}

.site-header.is-scrolled[b-kwakfvk44b] {
    top: var(--s-2);
    margin-inline: var(--s-3);
    border-radius: var(--r-lg);
    border-bottom-color: transparent;
    box-shadow:
        0 0 0 1px var(--line-firm),
        0 16px 38px -18px rgba(15, 23, 42, 0.34);
}

/* Narrow screens get a tighter inset — a 16px gutter either side of a 360px
   phone eats a tenth of the bar. */
@media (max-width: 620px) {
    .site-header.is-scrolled[b-kwakfvk44b] {
        margin-inline: var(--s-1);
        top: var(--s-1);
        border-radius: var(--r-md);
    }
}

/* Reduced motion keeps the change of state — it is information, the bar has
   detached — but arrives at it without the travel. */
@media (prefers-reduced-motion: reduce) {
    .site-header[b-kwakfvk44b] { transition: box-shadow 160ms linear, border-color 160ms linear; }
}

.site-header__inner[b-kwakfvk44b] {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-2) var(--s-4);
    min-height: 60px;
}

.site-header__nav[b-kwakfvk44b] {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    margin-left: auto;
    font-size: var(--t-small);
    font-weight: 500;
}

.site-header__link[b-kwakfvk44b] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--strong);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
    transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .site-header__link:hover[b-kwakfvk44b] {
        color: var(--ink);
        border-bottom-color: var(--accent);
    }
}

.site-header__cta[b-kwakfvk44b] {
    padding: 0.6rem 1.05rem;
    white-space: nowrap;
}

/* --- the modules disclosure ------------------------------------------------
   No JavaScript: <details> carries the open/closed state itself. */
.site-header__disclosure[b-kwakfvk44b] { position: relative; }

.site-header__summary[b-kwakfvk44b] {
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.site-header__summary[b-kwakfvk44b]::-webkit-details-marker { display: none; }

.site-header__chev[b-kwakfvk44b] {
    transition: transform 180ms var(--ease-out);
    margin-top: 1px;
}
.site-header__disclosure[open] > .site-header__summary[b-kwakfvk44b] { color: var(--ink); }
.site-header__disclosure[open] > .site-header__summary .site-header__chev[b-kwakfvk44b] { transform: rotate(180deg); }

.site-header__panel[b-kwakfvk44b] {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    translate: -50% 0;
    width: min(92vw, 640px);
    background: var(--paper);
    border: 1px solid var(--line-firm);
    border-radius: var(--r-lg, 16px);
    box-shadow: 0 18px 44px -18px rgba(15, 23, 42, 0.24);
    padding: var(--s-4);
    z-index: 40;
}

/* Enter from an already-visible default so a client that ignores the animation
   still shows the panel the instant it opens. */
@media (prefers-reduced-motion: no-preference) {
    .site-header__panel[b-kwakfvk44b] {
        transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
    }
    @starting-style {
        .site-header__disclosure[open] > .site-header__panel[b-kwakfvk44b] {
            opacity: 0;
            transform: translateY(-6px);
        }
    }
}

.site-header__modules[b-kwakfvk44b] {
    margin: var(--s-2) 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px var(--s-3);
}

.site-header__modules a[b-kwakfvk44b] {
    display: block;
    padding: 7px 9px;
    margin-inline: -9px;
    border-radius: 9px;
    text-decoration: none;
    transition: background-color 140ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .site-header__modules a:hover[b-kwakfvk44b] { background: var(--accent-soft); }
}

.site-header__mname[b-kwakfvk44b] {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.site-header__mkick[b-kwakfvk44b] {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.35;
}

.site-header__all[b-kwakfvk44b] {
    display: inline-block;
    margin-top: var(--s-3);
    font-size: var(--t-small);
}

/* --- narrow ---------------------------------------------------------------
   The links wrap to a second ruled line and scroll sideways rather than
   collapsing into a hamburger, which would need the JavaScript this site
   deliberately does not load. */
@media (max-width: 1080px) {
    .site-header__nav[b-kwakfvk44b] { gap: var(--s-3); }
    .site-header__inner[b-kwakfvk44b] { gap: var(--s-3); }
}

@media (max-width: 940px) {
    .site-header__inner[b-kwakfvk44b] {
        flex-wrap: wrap;
        row-gap: 0;
        padding-bottom: 0;
    }

    .site-header__nav[b-kwakfvk44b] {
        order: 3;
        width: 100%;
        margin-left: 0;
        border-top: 1px solid var(--line);
        padding: 4px 0;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .site-header__nav[b-kwakfvk44b]::-webkit-scrollbar { display: none; }

    .site-header__cta[b-kwakfvk44b] { margin-left: auto; }

    /* Anchored to the bar, not to the summary, so it cannot spill off-screen. */
    .site-header__disclosure[b-kwakfvk44b] { position: static; }
    .site-header__panel[b-kwakfvk44b] {
        left: var(--s-3);
        right: var(--s-3);
        translate: none;
        width: auto;
        max-height: 70vh;
        overflow-y: auto;
    }
}

@media (max-width: 560px) {
    .site-header__modules[b-kwakfvk44b] { grid-template-columns: 1fr; }
}
/* /Components/Pages/Error.razor.rz.scp.css */
/* Rhythm only — every colour and type value on this page comes from wwwroot/app.css. */

.err__head[b-vkhlkgphnt] { margin-top: var(--s-2); }

.err__say[b-vkhlkgphnt] { margin-top: var(--s-4); }

/* The request reference set the way a ledger sets one: the column head ruled underneath, the value
   beneath the rule. .colhead is the site's primitive for that head; it only needs to become a block
   so the rule runs the width of the reference. */
.err__ref[b-vkhlkgphnt] {
    margin-top: var(--s-5);
    max-width: 46ch;
}

.err__reflabel[b-vkhlkgphnt] { display: block; }

/* Heebo, not a monospace face — the One Family Rule holds here. Tabular lining figures do the work
   monospace would: the identifier reads back cleanly, digit by digit, over the telephone. */
.err__refval[b-vkhlkgphnt] {
    display: block;
    margin-top: var(--s-2);
    font-family: var(--face);
    font-size: var(--t-small);
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    letter-spacing: 0.02em;
    line-height: 1.45;
    overflow-wrap: anywhere;
    color: var(--on-field);
}

.err__actions[b-vkhlkgphnt] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-top: var(--s-5);
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* The whole site is this page. The scroll is paced deliberately: a dense opening
   (the trace), a quiet reading passage, the capability list, the image stage,
   then alternating field and paper to the close. One spacing rhythm throughout. */

/* --- hero ------------------------------------------------------------------ */
.home-hero[b-rwzai41w30] {
    padding-top: var(--s-6);
    padding-bottom: var(--s-7);
}

.home-hero__top[b-rwzai41w30] { max-width: 44rem; }

.home-hero__title[b-rwzai41w30] { margin-bottom: var(--s-4); }

.home-hero__lead[b-rwzai41w30] { max-width: 54ch; }

.home-hero__actions[b-rwzai41w30] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-top: var(--s-5);
}

/* The trace sits on its own hairline below the statement, as a schedule sits
   below the narrative in a set of accounts. */
.home-hero__trace[b-rwzai41w30] {
    margin-top: var(--s-7);
    padding-top: var(--s-5);
    border-top: 1px solid var(--on-field-rule);
}

/* --- two-column reading sections ------------------------------------------- */
.home-projects__grid[b-rwzai41w30],
.home-currency__grid[b-rwzai41w30] {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--s-5) var(--s-7);
    align-items: start;
}

.home-projects__title[b-rwzai41w30] { max-width: 14ch; }

/* --- overview: copy beside a portrait photograph ---------------------------
   The text column leads and the photograph balances it. Weighted toward the
   copy, because the picture is here to warm the page, not to carry it. */
.home-overview__grid[b-rwzai41w30] {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--s-5) var(--s-7);
    align-items: center;
}

.home-overview__title[b-rwzai41w30] {
    max-width: 15ch;
    margin-bottom: var(--s-4);
}

.home-overview__prose[b-rwzai41w30] { max-width: 54ch; }

.home-overview__shot[b-rwzai41w30] { margin: 0; }

/* CAPPED, and pushed to the outer edge. At full column width a 3:4 portrait
   stands about 650px tall against three short paragraphs, which left the text
   column looking abandoned beside it. The photograph is here to warm the
   section, not to dominate it. */
.home-overview__shot img[b-rwzai41w30] {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    height: auto;
    aspect-ratio: 3 / 4;   /* the photograph's own ratio — nothing is cropped */
    object-fit: cover;
    border-radius: var(--r-lg);
    display: block;
}

/* --- what it does ----------------------------------------------------------
   A ruled schedule, not a grid of identical cards — cards are the scaffold this
   site's direction refuses. The rules do the separating. */
.home-does__title[b-rwzai41w30] { max-width: 16ch; }

.home-does__lead[b-rwzai41w30] {
    margin-top: var(--s-3);
    max-width: 58ch;
}

.home-does__list[b-rwzai41w30] {
    margin-top: var(--s-6);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--s-7);
    border-top: 1px solid var(--line-firm);
}

.cap[b-rwzai41w30] {
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: var(--s-3);
    align-items: start;
}

/* ::deep is REQUIRED here. The <svg> is rendered by CapabilityGlyph, a different
   component, so it never carries this page's scope attribute — a plain
   `.cap__glyph` rule silently does nothing. Without it the svg keeps its own
   width="100%", the grid placement below is lost, and the paragraph drops into
   the 26px icon column and wraps one word per line. */
[b-rwzai41w30] .cap__glyph {
    grid-column: 1;
    grid-row: span 2;
    width: 26px;
    height: 26px;
    color: var(--accent);
    margin-top: 2px;
}

/* Placed explicitly rather than left to auto-flow, so the row survives even if
   the glyph is missing or its rule is ever lost again. */
.cap__name[b-rwzai41w30] {
    grid-column: 2;
    font-size: var(--t-body);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cap__what[b-rwzai41w30] {
    grid-column: 2;
    margin-top: 4px;
    font-size: var(--t-small);
    line-height: 1.55;
    color: var(--strong);
    max-width: 46ch;
}

/* --- the closer-look stage --------------------------------------------------
   Radio-driven, no script. Everything below hangs off `:checked ~`. */
.home-look__title[b-rwzai41w30] { max-width: 18ch; }

.stage[b-rwzai41w30] {
    margin-top: var(--s-5);
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: var(--s-6);
    align-items: start;
}

/* Clipped, never display:none — an input hidden that way cannot be focused, and
   the keyboard is the whole reason this is a radio group. */
.stage__radio[b-rwzai41w30] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.stage__side[b-rwzai41w30] {
    grid-column: 1;
    grid-row: 1;
    border-top: 1px solid var(--line-firm);
}

.stage__opt[b-rwzai41w30] {
    display: block;
    padding: var(--s-4) var(--s-3);
    margin-inline: calc(var(--s-3) * -1);
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: background-color 180ms var(--ease-out);
}

.stage__optname[b-rwzai41w30] {
    display: block;
    font-size: var(--t-body);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.stage__optwhat[b-rwzai41w30] {
    display: block;
    margin-top: 4px;
    font-size: var(--t-small);
    line-height: 1.55;
    color: var(--strong);
}

@media (hover: hover) and (pointer: fine) {
    .stage__opt:hover[b-rwzai41w30] { background: var(--accent-soft); }
}

/* Every pane occupies the same grid cell; opacity decides which is seen, so the
   stage never changes height as you move between options. */
.stage__panes[b-rwzai41w30] {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.stage__shot[b-rwzai41w30] {
    margin: 0;
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;   /* also keeps inactive panes out of the a11y tree */
    transition: opacity 260ms var(--ease-out), visibility 0s linear 260ms;
}

.stage__area[b-rwzai41w30] {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    padding: var(--s-5);
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.stage__area > img[b-rwzai41w30] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.stage__await[b-rwzai41w30] {
    text-align: center;
    font-size: var(--t-small);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-press);
    max-width: 36ch;
}

.stage__await span[b-rwzai41w30] {
    display: block;
    margin-top: var(--s-1);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--strong);
}

/* --- the wiring: the nth radio drives the nth option and the nth pane -------- */
.stage__radio:nth-of-type(1):checked ~ .stage__side .stage__opt:nth-child(1)[b-rwzai41w30],
.stage__radio:nth-of-type(2):checked ~ .stage__side .stage__opt:nth-child(2)[b-rwzai41w30],
.stage__radio:nth-of-type(3):checked ~ .stage__side .stage__opt:nth-child(3)[b-rwzai41w30],
.stage__radio:nth-of-type(4):checked ~ .stage__side .stage__opt:nth-child(4)[b-rwzai41w30] {
    background: var(--accent-soft);
    box-shadow: inset 2px 0 0 var(--accent);
}

.stage__radio:nth-of-type(1):checked ~ .stage__panes .stage__shot:nth-child(1)[b-rwzai41w30],
.stage__radio:nth-of-type(2):checked ~ .stage__panes .stage__shot:nth-child(2)[b-rwzai41w30],
.stage__radio:nth-of-type(3):checked ~ .stage__panes .stage__shot:nth-child(3)[b-rwzai41w30],
.stage__radio:nth-of-type(4):checked ~ .stage__panes .stage__shot:nth-child(4)[b-rwzai41w30] {
    opacity: 1;
    visibility: visible;
    transition: opacity 260ms var(--ease-out), visibility 0s linear 0s;
}

/* The focus ring belongs on the LABEL, since the input itself is clipped. */
.stage__radio:nth-of-type(1):focus-visible ~ .stage__side .stage__opt:nth-child(1)[b-rwzai41w30],
.stage__radio:nth-of-type(2):focus-visible ~ .stage__side .stage__opt:nth-child(2)[b-rwzai41w30],
.stage__radio:nth-of-type(3):focus-visible ~ .stage__side .stage__opt:nth-child(3)[b-rwzai41w30],
.stage__radio:nth-of-type(4):focus-visible ~ .stage__side .stage__opt:nth-child(4)[b-rwzai41w30] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

/* Reduced motion: the pane still changes, it just does not fade. */
@media (prefers-reduced-motion: reduce) {
    .stage__shot[b-rwzai41w30] { transition: none; }
}

/* --- reporting -------------------------------------------------------------- */
.home-reporting__title[b-rwzai41w30] { margin-bottom: var(--s-5); }

.home-reporting__list[b-rwzai41w30] {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line-firm);
}

.home-reporting__list li[b-rwzai41w30] {
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}

.home-reporting__rule[b-rwzai41w30] { margin-top: var(--s-1); }

.home-reporting__foot[b-rwzai41w30] {
    margin-top: var(--s-3);
    color: var(--muted);
}

/* --- about ------------------------------------------------------------------ */
.home-about__title[b-rwzai41w30] { margin-bottom: var(--s-5); }

/* --- people ----------------------------------------------------------------- */
.home-people__title[b-rwzai41w30] { max-width: 18ch; }

.home-people__lead[b-rwzai41w30] {
    margin-top: var(--s-3);
    color: var(--strong);
}

.home-people__row[b-rwzai41w30] {
    margin-top: var(--s-5);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-4);
}

/* 3:2 is the native ratio of the supplied photographs; matching it exactly means
   object-fit: cover crops nothing. */
.home-people__shot .plate__area[b-rwzai41w30] { aspect-ratio: 3 / 2; }
.home-people__shot figcaption[b-rwzai41w30] { max-width: 34ch; }

/* --- contact ---------------------------------------------------------------- */
.home-contact__title[b-rwzai41w30] { margin-bottom: var(--s-5); }

.home-contact__grid[b-rwzai41w30] {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--s-6) var(--s-7);
    align-items: start;
}

.home-contact__details[b-rwzai41w30] {
    display: grid;
    gap: var(--s-5);
}

/* --- close ------------------------------------------------------------------ */
.home-close__inner[b-rwzai41w30] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4) var(--s-6);
}

.home-close__title[b-rwzai41w30] { max-width: 22ch; }
.home-close__lead[b-rwzai41w30] { margin-top: var(--s-2); }

.home-close__actions[b-rwzai41w30] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

/* --- narrow ----------------------------------------------------------------- */
@media (max-width: 980px) {
    .stage[b-rwzai41w30] {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s-5);
    }
    /* Image first on narrow: it is the point of the section, and a reader on a
       phone should not scroll past four options before seeing anything. */
    .stage__side[b-rwzai41w30] { grid-column: 1; grid-row: 2; }
    .stage__panes[b-rwzai41w30] { grid-column: 1; grid-row: 1; }
}

@media (max-width: 900px) {
    .home-overview__grid[b-rwzai41w30],
    .home-projects__grid[b-rwzai41w30],
    .home-currency__grid[b-rwzai41w30],
    .home-contact__grid[b-rwzai41w30] {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--s-4);
    }

    /* Stacked, a full-height portrait pushes the rest of the page a long way
       down, so it crops to a landscape band instead. */
    .home-overview__shot img[b-rwzai41w30] { aspect-ratio: 16 / 10; }

    .home-overview__title[b-rwzai41w30],
    .home-projects__title[b-rwzai41w30] { max-width: 20ch; }

    .home-does__list[b-rwzai41w30] { grid-template-columns: minmax(0, 1fr); gap: 0; }

    .home-people__row[b-rwzai41w30] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-people__shot:last-child[b-rwzai41w30] { grid-column: 1 / -1; }
    .home-people__shot:last-child .plate__area[b-rwzai41w30] { aspect-ratio: 16 / 9; }

    .home-hero__trace[b-rwzai41w30] { margin-top: var(--s-6); }
}

@media (max-width: 620px) {
    .home-hero[b-rwzai41w30] { padding-top: var(--s-5); }

    .home-hero__actions .btn[b-rwzai41w30],
    .home-close__actions .btn[b-rwzai41w30] {
        flex: 1 1 auto;
        justify-content: center;
    }

    .home-people__row[b-rwzai41w30] { grid-template-columns: minmax(0, 1fr); }
    .home-people__shot:last-child .plate__area[b-rwzai41w30] { aspect-ratio: 3 / 2; }
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
/* The 404 is built from the site's primitives; only RHYTHM lives here. No colour, no type size and
   no new component — those belong to wwwroot/app.css, and a status page is not a reason to fork the
   design system. */

/* More space above a heading than below it: the eyebrow already carries its own bottom margin, so
   the heading only needs a little air under the label. */
.nf__head[b-6csi3owsqc] { margin-top: var(--s-2); }

.nf__say[b-6csi3owsqc] { margin-top: var(--s-4); }

/* The recovery actions sit under the sentence that promises them. */
.nf__actions[b-6csi3owsqc] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-top: var(--s-5);
}

.nf__nexthead[b-6csi3owsqc] { margin-bottom: var(--s-4); }
/* /Components/Shared/PostingTrace.razor.rz.scp.css */
/* The posting trace — see the comment at the top of PostingTrace.razor.
   This is the one authored motion moment on the site: the bracket draws itself once, in sequence,
   the way a posting run strikes through. Everything it draws is decorative; every word is visible
   before, during and after the animation. */

.trace[b-j1e45v1tox] { margin: 0; }

.trace__grid[b-j1e45v1tox] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1.02fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 0;
    row-gap: var(--s-3);
    align-items: stretch;
}

.trace__head[b-j1e45v1tox] { margin: 0; }
.trace__head--src[b-j1e45v1tox] { grid-column: 1; }
.trace__spacer[b-j1e45v1tox] { grid-column: 2; }

/* --- the source document --------------------------------------------------- */
.trace__source[b-j1e45v1tox] {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    padding-right: var(--s-4);
}

.trace__srctitle[b-j1e45v1tox] {
    font-size: var(--t-h3);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--on-field);
    line-height: 1.2;
}

.trace__srcref[b-j1e45v1tox] {
    font-size: 0.8125rem;
    color: var(--on-field-soft);
    margin-top: 2px;
}

.trace__lines[b-j1e45v1tox] {
    margin: var(--s-3) 0 0;
    display: grid;
    gap: 7px;
}

.trace__line[b-j1e45v1tox] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-3);
    align-items: baseline;
    font-size: var(--t-small);
}

.trace__line dt[b-j1e45v1tox] {
    color: var(--on-field-soft);
    min-width: 0;
}

.trace__line dd[b-j1e45v1tox] {
    margin: 0;
    color: var(--on-field);
    font-variant-numeric: tabular-nums lining-nums;
}

.trace__srcrule[b-j1e45v1tox] { margin: var(--s-3) 0; }

.trace__lines--sum[b-j1e45v1tox] { margin-top: 0; }

/* The total is pushed to the foot of the document, so the double rule closes the
   column no matter how tall the destination list grows beside it. */
.trace__totalwrap[b-j1e45v1tox] { margin-top: auto; padding-top: var(--s-3); }

.trace__lines--total .trace__line[b-j1e45v1tox] {
    font-size: var(--t-body);
    font-weight: 700;
}
.trace__lines--total dt[b-j1e45v1tox] { color: var(--on-field); }

/* --- the bracket ----------------------------------------------------------- */
.trace__bracket[b-j1e45v1tox] {
    grid-column: 2;
    position: relative;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
}

.trace__stem[b-j1e45v1tox],
.trace__spine[b-j1e45v1tox],
.trace__tick[b-j1e45v1tox] {
    position: absolute;
    background: var(--accent-bright);
    display: block;
}

/* Horizontal lead out of the document, meeting the spine at the halfway point. */
.trace__stem[b-j1e45v1tox] {
    top: 50%;
    left: 0;
    width: 34px;
    height: 1px;
    transform-origin: left center;
}

/* Vertical spine, spanning the centres of the first and last records. */
.trace__spine[b-j1e45v1tox] {
    left: 34px;
    top: 12.5%;
    height: 75%;
    width: 1px;
    transform-origin: center;
}

/* One tick per record, centred in its quarter of the column. */
.trace__tick[b-j1e45v1tox] {
    left: 34px;
    right: 0;
    height: 1px;
    width: auto;
    transform-origin: left center;
}
.trace__tick--1[b-j1e45v1tox] { top: 12.5%; }
.trace__tick--2[b-j1e45v1tox] { top: 37.5%; }
.trace__tick--3[b-j1e45v1tox] { top: 62.5%; }
.trace__tick--4[b-j1e45v1tox] { top: 87.5%; }

/* A round terminal where each tick meets its record — the posting mark. */
.trace__tick[b-j1e45v1tox]::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: var(--accent-bright);
}

/* --- the destinations ------------------------------------------------------ */
.trace__list[b-j1e45v1tox] {
    grid-column: 3;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    margin: 0;
}

.trace__dest[b-j1e45v1tox] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--s-2) 0 var(--s-2) var(--s-3);
    border-bottom: 1px solid var(--on-field-rule);
    min-width: 0;
}
.trace__dest:last-child[b-j1e45v1tox] { border-bottom: 0; }

.trace__destname[b-j1e45v1tox] {
    font-size: var(--t-small);
    font-weight: 700;
    color: var(--on-field);
    letter-spacing: -0.005em;
}

.trace__destwhat[b-j1e45v1tox] {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--on-field-soft);
    margin-top: 2px;
}

/* The general-ledger leg shows the journal itself rather than asserting that it
   balances. Two columns so the figures align under each other and the addition
   is checkable at a glance — which is the entire point of the graphic. */
.trace__journal[b-j1e45v1tox] {
    margin: 3px 0 0;
    display: grid;
    gap: 1px;
    font-size: 0.875rem;
}

.trace__journal li[b-j1e45v1tox] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s-2);
    align-items: baseline;
}

.trace__leg[b-j1e45v1tox] { color: var(--on-field-soft); }

/* ---------------------------------------------------------------------------
   THE ORCHESTRATED MOMENT
   Stem, then spine, then the four ticks in sequence. Strong ease-out throughout —
   never ease-in, which delays the movement at exactly the moment the eye is on it.
   Marketing motion is allowed to run longer than UI motion; this settles at ~1.3s.
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .trace__stem[b-j1e45v1tox]  { transform: scaleX(0); animation: trace-x-b-j1e45v1tox 280ms var(--ease-out) 120ms forwards; }
    .trace__spine[b-j1e45v1tox] { transform: scaleY(0); animation: trace-y-b-j1e45v1tox 380ms var(--ease-out) 340ms forwards; }

    .trace__tick[b-j1e45v1tox] {
        transform: scaleX(0);
        animation: trace-x-b-j1e45v1tox 300ms var(--ease-out) forwards;
    }
    .trace__tick--1[b-j1e45v1tox] { animation-delay: 660ms; }
    .trace__tick--2[b-j1e45v1tox] { animation-delay: 730ms; }
    .trace__tick--3[b-j1e45v1tox] { animation-delay: 800ms; }
    .trace__tick--4[b-j1e45v1tox] { animation-delay: 870ms; }

    .trace__tick[b-j1e45v1tox]::after {
        opacity: 0;
        animation: trace-dot-b-j1e45v1tox 220ms var(--ease-out) forwards;
        animation-delay: inherit;
    }
    .trace__tick--1[b-j1e45v1tox]::after { animation-delay: 900ms; }
    .trace__tick--2[b-j1e45v1tox]::after { animation-delay: 970ms; }
    .trace__tick--3[b-j1e45v1tox]::after { animation-delay: 1040ms; }
    .trace__tick--4[b-j1e45v1tox]::after { animation-delay: 1110ms; }
}

@keyframes trace-x-b-j1e45v1tox { to { transform: scaleX(1); } }
@keyframes trace-y-b-j1e45v1tox { to { transform: scaleY(1); } }
@keyframes trace-dot-b-j1e45v1tox { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* WITHOUT JavaScript the run above plays on load — the no-script page still draws.
   WITH it, site.js sets html.js-trace and holds the run paused until the graphic is
   actually on screen, so a visitor who scrolls down to it sees the posting happen
   instead of arriving after it finished. Pausing (rather than re-triggering) keeps
   the sequence intact and costs nothing to resume. */
html.js-trace .trace__stem[b-j1e45v1tox],
html.js-trace .trace__spine[b-j1e45v1tox],
html.js-trace .trace__tick[b-j1e45v1tox],
html.js-trace .trace__tick[b-j1e45v1tox]::after {
    animation-play-state: paused;
}

html.js-trace .trace.is-drawing .trace__stem[b-j1e45v1tox],
html.js-trace .trace.is-drawing .trace__spine[b-j1e45v1tox],
html.js-trace .trace.is-drawing .trace__tick[b-j1e45v1tox],
html.js-trace .trace.is-drawing .trace__tick[b-j1e45v1tox]::after {
    animation-play-state: running;
}

/* ---------------------------------------------------------------------------
   NARROW
   The bracket is a two-column device; below 880px the trace becomes a vertical
   run — document above, records below — and the bracket is removed rather than
   squeezed. The meaning survives because the column heads carry it in words.
   --------------------------------------------------------------------------- */
@media (max-width: 880px) {
    .trace__grid[b-j1e45v1tox] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        row-gap: var(--s-2);
    }

    .trace__head--src[b-j1e45v1tox],
    .trace__source[b-j1e45v1tox],
    .trace__list[b-j1e45v1tox] { grid-column: 1; }

    .trace__bracket[b-j1e45v1tox],
    .trace__spacer[b-j1e45v1tox] { display: none; }

    .trace__source[b-j1e45v1tox] {
        padding-right: 0;
        padding-bottom: var(--s-4);
    }

    .trace__totalwrap[b-j1e45v1tox] { margin-top: var(--s-3); }

    .trace__head[b-j1e45v1tox] { margin-top: var(--s-3); }
    .trace__head--src[b-j1e45v1tox] { margin-top: 0; }

    .trace__list[b-j1e45v1tox] { grid-template-rows: none; }

    .trace__dest[b-j1e45v1tox] {
        padding-left: var(--s-4);
        position: relative;
    }

    /* Each record keeps its posting mark, now as a bullet on the left rule. */
    .trace__dest[b-j1e45v1tox]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 1.45em;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent-bright);
    }
}
