/* ===========================================================================
   just a TV — "Bench Lamp"

   The look comes from one place: a neighbourhood electronics repair bench at
   night. A television opened up, its service sticker peeling, an anglepoise
   lamp, a printed service manual held open with a screwdriver.

   Collision: 1980s service manual meets serious newspaper editorial. Hairline
   rules and monospaced labels from the first; an editorial serif and long
   measure from the second.

   Deliberately NOT: a "hacking" site (black background, matrix green), a
   wellness app, or anything with a purple gradient.

   Palette "Bench Lamp", taken from that bench rather than from a swatch file:
     paper   manual stock, warm and slightly aged
     ink     printing ink on cheap paper — warm black, never blue-black
     board   the green of a bare printed circuit board, desaturated
     amber   the standby LED on the front of a set: off, but not really off
     rule    the hairline of a technical drawing
   =========================================================================== */

:root {
    /* --- Bench Lamp, light --------------------------------------------- */
    --paper: #f7f4ec;
    --paper-sunk: #efeade;
    --paper-raised: #fffdf8;
    --ink: #17150f;
    --ink-soft: #57513f;
    --ink-faint: #857d68;
    --board: #2f6f5a;
    --board-bright: #3d8a70;
    --amber: #b4681c;
    --alarm: #a3301f;
    --rule: #ddd6c4;
    --rule-strong: #c3b99f;

    --measure: 34rem;
    --shell: 62rem;

    --step: clamp(0.9rem, 0.4rem + 1.4vw, 1.4rem);
    --radius: 3px;

    --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
    --font-body: 'Familjen Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) {
        /* The same bench, after the overhead light goes off. */
        --paper: #14130f;
        --paper-sunk: #100f0c;
        --paper-raised: #1c1a15;
        --ink: #ece7d8;
        --ink-soft: #a89f89;
        --ink-faint: #7c7460;
        --board: #4f9d81;
        --board-bright: #63b697;
        --amber: #d08a3c;
        --alarm: #d4614c;
        --rule: #302c23;
        --rule-strong: #45402f;
    }
}

/* ===========================================================================
   Base
   =========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* The standby LED: a warm dot pinned to the top of every page. The light that
   means the set is off but not really off — the whole problem, in one colour. */
body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--amber) 0 3rem, var(--rule) 3rem);
    z-index: 60;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: balance;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + 0.85vw, 1.85rem); }
h3 { font-size: 1.2rem; }

p, li { text-wrap: pretty; }

a { color: var(--board); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber); }

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 2px;
}

code {
    font-family: var(--font-mono);
    font-size: 0.86em;
    background: var(--paper-sunk);
    border: 1px solid var(--rule);
    padding: 0.1em 0.35em;
    border-radius: var(--radius);
    word-break: break-word;
}

pre {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    overflow-x: auto;
    padding: 1rem 1.1rem;
    background: var(--paper-sunk);
    border: 1px solid var(--rule);
    border-left: 2px solid var(--board);
    border-radius: var(--radius);
}

pre code { background: none; border: 0; padding: 0; }

/* ===========================================================================
   Layout
   =========================================================================== */

main {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

.skip-link {
    position: absolute;
    left: -9999px;
    background: var(--ink);
    color: var(--paper);
    padding: 0.6rem 1rem;
}

.skip-link:focus { position: static; display: inline-block; }

/* ===========================================================================
   Header — a manual's running head: rules, not a bar
   =========================================================================== */

.site-header {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 1.4rem 1.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.4rem;
    border-bottom: 1px solid var(--rule);
}

.brand { display: inline-flex; line-height: 0; margin-right: auto; }
.logo { height: 30px; width: auto; color: var(--ink); }

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    font-size: 0.86rem;
}

.site-header nav a {
    color: var(--ink-soft);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.site-header nav a:hover { color: var(--ink); border-bottom-color: var(--board); }

/* ===========================================================================
   Live presence — up top, where people look first
   =========================================================================== */

.presence {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: var(--paper-raised);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.01em;
    color: var(--ink-soft);
    white-space: nowrap;
}

.presence [data-presence-count] { color: var(--ink); font-weight: 500; }

.presence-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--board-bright);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--board-bright) 65%, transparent);
    animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--board-bright) 55%, transparent); }
    70% { box-shadow: 0 0 0 7px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ===========================================================================
   Hero
   =========================================================================== */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
    padding: clamp(1.5rem, 5vw, 3.5rem) 0 2.5rem;
    border-bottom: 1px solid var(--rule);
}

.hero h1 { margin-bottom: 0.45em; }

.hero .lead {
    max-width: var(--measure);
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
    color: var(--ink-soft);
    margin: 0 0 1.5rem;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--board);
    margin: 0 0 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rule);
}

/* Reassurances answering the two objections that actually stop people:
   "will I break it" and "is this legal". */
.hero-assurances {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.hero-assurances li { display: flex; align-items: baseline; gap: 0.45rem; }
.hero-assurances li::before { content: "—"; color: var(--board); }

@media (max-width: 52rem) {
    .hero { grid-template-columns: 1fr; }
}

/* --- The service sticker: the object at the centre of this whole project --- */
.service-label {
    position: relative;
    padding: 1rem 1.1rem 1.1rem;
    background: var(--paper-raised);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--ink-soft);
    box-shadow: 0 1px 0 var(--rule);
    transform: rotate(-0.6deg);
}

.service-label::before {
    content: "";
    position: absolute;
    inset: 0.35rem;
    border: 1px dashed var(--rule);
    border-radius: 2px;
    pointer-events: none;
}

.service-label dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.3rem 1rem;
    margin: 0.7rem 0 0;
}

.service-label dt { color: var(--ink-faint); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.68rem; }
.service-label dd { margin: 0; color: var(--ink); }
.service-label .label-title { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.68rem; color: var(--ink-faint); }
.service-label .label-note { margin: 0.85rem 0 0; font-size: 0.7rem; color: var(--ink-faint); }

/* ===========================================================================
   Terminal — the signature motion: it types the command out
   =========================================================================== */

.terminal {
    margin: 1.6rem 0 0;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--paper-sunk);
    overflow: hidden;
}

.terminal-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.terminal-head::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--amber);
}

.terminal-body {
    margin: 0;
    padding: 0.9rem 1rem;
    font-family: var(--font-mono);
    font-size: clamp(0.72rem, 0.6rem + 0.4vw, 0.83rem);
    line-height: 1.9;
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-body .prompt { color: var(--board); user-select: none; }
.terminal-body .comment { color: var(--ink-faint); }
.terminal-body .ok { color: var(--board-bright); }

.caret {
    display: inline-block;
    width: 0.55em;
    height: 1.05em;
    margin-left: 0.1em;
    background: var(--amber);
    vertical-align: text-bottom;
    animation: blink 1.05s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ===========================================================================
   Sections and rules — the manual's numbered structure
   =========================================================================== */

.section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--rule);
}

.section:last-of-type { border-bottom: 0; }

.section > h2 {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
}

.section > h2::before {
    content: attr(data-index);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--board);
    flex: none;
}

.section > p { max-width: var(--measure); color: var(--ink-soft); }

/* --- Scope: what we do, and what we refuse to do -------------------------- */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem 2.5rem;
    margin-top: 1.5rem;
}

.scope-list { list-style: none; padding: 0; margin: 0.6rem 0 0; }

.scope-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    border-bottom: 1px solid var(--rule);
    font-size: 0.94rem;
}

.scope-list li::before {
    position: absolute;
    left: 0;
    top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.scope-does li::before { content: "+"; color: var(--board); }
.scope-refuses li::before { content: "×"; color: var(--alarm); }

.scope-head {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0;
}

/* ===========================================================================
   Form
   =========================================================================== */

.signup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

@media (max-width: 52rem) { .signup { grid-template-columns: 1fr; } }

.form-row {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-row label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

input[type='text'], input[type='email'] {
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    background: var(--paper-raised);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

input[type='text']:focus, input[type='email']:focus {
    outline: 0;
    border-color: var(--board);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--board) 18%, transparent);
}

/* Symfony renders the label before the widget; `order` puts the box on the
   left visually without disturbing the reading order. */
.form-row:has(input[type='checkbox']) {
    flex-direction: row;
    align-items: start;
    gap: 0.55rem;
}

.form-row input[type='checkbox'] {
    order: -1;
    flex: none;
    margin-top: 0.3rem;
    width: 1rem;
    height: 1rem;
    accent-color: var(--board);
}

.form-row:has(input[type='checkbox']) label {
    font-family: var(--font-body);
    font-size: 0.88rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-soft);
}

button[type='submit'] {
    width: 100%;
    padding: 0.85rem 1.4rem;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.14s var(--ease), background 0.18s var(--ease);
}

button[type='submit']:hover { background: var(--board); border-color: var(--board); transform: translateY(-1px); }
button[type='submit']:active { transform: translateY(0); }

.fineprint, .form-help {
    color: var(--ink-faint);
    font-size: 0.82rem;
}

/* The honeypot: out of sight and out of the accessibility tree, still a real
   input a bot will happily fill in. */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ===========================================================================
   The post it started from
   =========================================================================== */

.origin-tweet {
    margin: 1.2rem 0 0;
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--rule);
    border-left: 2px solid var(--amber);
    border-radius: var(--radius);
    background: var(--paper-raised);
    max-width: var(--measure);
}

.origin-tweet blockquote { margin: 0; font-size: 0.96rem; }
.origin-tweet blockquote p:first-child { margin-top: 0; }
.origin-tweet blockquote p:last-child { margin-bottom: 0; }

.origin-tweet figcaption {
    margin-top: 0.9rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--rule);
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-faint);
}

.origin-author { font-weight: 500; color: var(--ink); }
.origin-metrics { font-variant-numeric: tabular-nums; }

.embed-blocked {
    margin: 0.8rem 0 0;
    padding-top: 0.6rem;
    border-top: 1px dashed var(--rule);
}

:root[data-consent-embeds='granted'] .embed-blocked { display: none; }
.origin-tweet.is-loaded { border: 0; padding: 0; background: none; }
.origin-tweet.is-loaded figcaption { display: none; }

/* ===========================================================================
   Language switcher, breadcrumbs, footer
   =========================================================================== */

.language-switcher ul {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.language-switcher a { color: var(--ink-faint); text-decoration: none; }
.language-switcher a:hover { color: var(--board); }
.language-switcher [aria-current] { color: var(--ink); font-weight: 500; }

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-faint);
}

.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.55; }
.breadcrumbs a { color: var(--ink-faint); text-decoration: none; }
.breadcrumbs a:hover { color: var(--board); }

.site-footer {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    border-top: 1px solid var(--rule);
    color: var(--ink-faint);
    font-size: 0.82rem;
    display: grid;
    gap: 0.9rem;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--board); text-decoration: underline; }

/* ===========================================================================
   Directory and articles
   =========================================================================== */

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

th, td {
    text-align: left;
    padding: 0.7rem 0.6rem;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
}

th {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    border-bottom-color: var(--rule-strong);
}

caption { text-align: left; padding-bottom: 0.6rem; color: var(--ink-faint); font-size: 0.82rem; }

.risk-safe { color: var(--board); }
.risk-caution { color: var(--amber); }
.risk-risky { color: var(--amber); font-weight: 500; }
.risk-critical { color: var(--alarm); font-weight: 600; }

.wall {
    padding: 1.3rem 1.4rem;
    border: 1px solid var(--rule);
    border-left: 2px solid var(--board);
    border-radius: var(--radius);
    background: var(--paper-raised);
}

.article-list { list-style: none; padding: 0; }

.article-list > li {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--rule);
}

.article-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 1.3rem;
    align-items: start;
}

.article-body > :last-child { margin-bottom: 0; }

.article-card h2 { font-size: 1.18rem; margin: 0 0 0.3rem; }
.article-card h2 a { color: var(--ink); text-decoration: none; }
.article-card h2 a:hover { color: var(--board); }
.article-card p { margin: 0 0 0.4rem; color: var(--ink-soft); font-size: 0.94rem; }

.article-thumb {
    display: block;
    padding: 0.6rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--paper-sunk);
    color: var(--ink-soft);
    transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.article-card:hover .article-thumb { border-color: var(--rule-strong); transform: translateY(-2px); }
.article-thumb img { display: block; width: 100%; height: auto; }

@media (max-width: 34rem) {
    .article-card { grid-template-columns: 1fr; }
    .article-thumb { max-width: 200px; }
}

.category-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem; }

.category-nav a {
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: var(--paper-raised);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.category-nav a:hover { border-color: var(--board); color: var(--board); }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.7rem; }
.prose > p, .prose > ul, .prose > ol { font-size: 1.02rem; }

.prose blockquote {
    margin: 1.5rem 0;
    padding: 0.2rem 0 0.2rem 1.1rem;
    border-left: 2px solid var(--amber);
    color: var(--ink-soft);
    font-style: italic;
}

.prose table { display: block; overflow-x: auto; }

.article-hero, .diagram {
    margin: 1.8rem 0;
    padding: 1.2rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--paper-sunk);
    color: var(--ink);
    overflow-x: auto;
}

.article-hero { margin-top: 0; }
.article-hero img, .diagram svg {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    margin: 0 auto;
}

.article-footer {
    margin-top: 2.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--rule);
}

.specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1.2rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.specs dt {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    align-self: baseline;
}

.specs dd { margin: 0; }

/* ===========================================================================
   Consent
   =========================================================================== */

.consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 100;
    background: var(--paper-raised);
    border-top: 1px solid var(--rule-strong);
    box-shadow: 0 -10px 40px rgb(0 0 0 / 0.14);
    animation: rise 0.35s var(--ease) both;
}

@keyframes rise { from { transform: translateY(100%); } }

.consent[hidden] { display: none; }

.consent-inner { max-width: var(--shell); margin: 0 auto; padding: 1.3rem 1.5rem; }
.consent h2 { font-size: 1.05rem; margin: 0 0 0.35rem; }
.consent p { margin: 0 0 0.8rem; font-size: 0.88rem; color: var(--ink-soft); max-width: 46rem; }

.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

.consent button {
    padding: 0.6rem 1.15rem;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s var(--ease);
}

.consent button:hover { background: var(--board); border-color: var(--board); }

.consent .consent-secondary { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.consent .consent-secondary:hover { background: var(--paper-sunk); border-color: var(--ink-faint); }

.consent .consent-link {
    background: none;
    border: 0;
    color: var(--board);
    text-decoration: underline;
    padding: 0.6rem 0.2rem;
    font-weight: 500;
}

.consent-details ul { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.consent-details li { padding: 0.55rem 0; border-bottom: 1px solid var(--rule); }

.consent-details label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.1rem 0.6rem;
    align-items: start;
    font-size: 0.86rem;
    cursor: pointer;
}

.consent-details input { grid-row: span 2; margin-top: 0.25rem; accent-color: var(--board); }
.consent-details span { color: var(--ink-faint); grid-column: 2; font-size: 0.82rem; }

/* ===========================================================================
   Entrance motion — deliberate, never showy, and off on request
   =========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        animation: reveal 0.6s var(--ease) both;
        animation-timeline: view();
        animation-range: entry 0% entry 42%;
    }

    @keyframes reveal {
        from { opacity: 0; transform: translateY(14px); }
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .presence-dot, .caret, .consent { animation: none; }
    * { transition-duration: 0.01ms !important; }
}
