/* OrchestratorAI site styles. Brand direction B "The Record": light throughout, navy only for the closing band.
   Every colour, font, space, radius and shadow comes from css/tokens.css (generated from tokens.json; never edit it).
   Order: base · layout · header · buttons · type · components · pages · footer · utilities. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--color-surface);
    color: var(--color-ink);
    font-family: var(--text-body-font);
    font-size: var(--text-body-size);
    line-height: var(--text-body-lh);
    -webkit-font-smoothing: antialiased;
    text-wrap: pretty;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-brand-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
/* Short display text (ledes, section lines, questions, buttons, band lines) balances its lines too. */
.lede, .sub, summary, .btn, figcaption, .band-navy p { text-wrap: balance; }
.nowrap { white-space: nowrap; }
strong, b { font-weight: 600; }

:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.band-navy :focus-visible { outline-color: var(--color-on-brand); }

/* ---------- Layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--space-4); }
@media (min-width: 600px) { .wrap { padding-inline: var(--space-6); } }
@media (min-width: 900px) { .wrap { padding-inline: 40px; } }

.section { padding-block: var(--space-12); }
.section--alt { background: var(--color-surface-alt); }
@media (min-width: 900px) { .section { padding-block: var(--space-20); } }

.grid-2, .hero-grid { display: grid; gap: var(--space-8); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); } }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--space-12); align-items: center; } }

/* ---------- Header ---------- */
.skip-link {
    position: absolute; left: var(--space-4); top: -100px; z-index: 50;
    background: var(--color-surface); color: var(--color-ink);
    padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-2); }

.site-header {
    position: sticky; top: 0; z-index: 20;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-rule);
}
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; }
.brand { display: inline-flex; align-items: flex-start; color: var(--color-ink); text-decoration: none; font-size: 17px; line-height: 1; white-space: nowrap; padding-block: 12px; }
.brand img { width: auto; height: 20px; }
/* Next to the 20px wordmark the in-text 0.55em reads too small; a fixed 12px keeps it legible. */
.brand .tm { font-size: 12px; margin-top: -3px; margin-left: 2px; }
.tm { font-size: .55em; opacity: .7; margin-left: 1px; }
.footer-brand { display: grid; gap: var(--space-3); }
.footer-mark { display: inline-flex; align-items: flex-start; justify-self: start; color: var(--color-ink); text-decoration: none; }
.footer-mark .tm { align-self: flex-start; font-size: 11px; margin-left: 2px; }
.footer-mark img { width: auto; height: 16px; }

.site-nav { display: none; gap: var(--space-6); font-size: 15px; }
.site-nav a { color: var(--color-ink); text-decoration: none; padding-block: var(--space-1); }
.site-nav a:hover { color: var(--color-brand-text); }
.site-nav a[aria-current="page"] { color: var(--color-brand-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-actions .btn { display: none; }
.menu-toggle {
    font: 600 14px/1 var(--font-sans);
    background: var(--color-surface); color: var(--color-ink);
    border: 1px solid var(--color-border); border-radius: var(--radius-sm);
    padding: 10px 12px; cursor: pointer; min-height: 44px;
}
.drawer { border-top: 1px solid var(--color-rule); background: var(--color-surface); }
.drawer a { display: block; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-rule); color: var(--color-ink); text-decoration: none; }
.drawer a[aria-current="page"] { color: var(--color-brand-text); font-weight: 600; }
.drawer .btn { margin: var(--space-4) 0; }
@media (min-width: 640px) { .header-actions .btn { display: inline-block; } .drawer .btn { display: none; } }
@media (min-width: 1000px) { .site-nav { display: flex; } .menu-toggle, .drawer { display: none !important; } }

/* ---------- Buttons and links ---------- */
.btn {
    display: inline-block;
    font: 600 15px/1 var(--font-sans);
    text-decoration: none; white-space: nowrap; cursor: pointer;
    padding: 14px 18px; border-radius: var(--radius-sm);
    background: var(--color-brand); color: var(--color-on-brand); border: 1px solid var(--color-brand);
}
.btn:hover { background: var(--color-navy); border-color: var(--color-navy); }
.btn--secondary { background: transparent; color: var(--color-brand-text); }
.btn--secondary:hover { background: var(--color-surface-tint); border-color: var(--color-brand); }
.text-link { color: var(--color-brand-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-border); text-decoration-thickness: 2px; }
.text-link:hover { text-decoration-color: var(--color-brand); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-8); }

/* ---------- Type ---------- */
.kicker { display: block; color: var(--color-brand-text); font-weight: 600; font-size: var(--text-small-size); line-height: var(--text-small-lh); margin-bottom: var(--space-3); }
.h1 {
    font-size: clamp(32px, 1.35rem + 2.7vw, var(--text-display-size));
    line-height: 1.08; letter-spacing: -0.015em; max-width: 22ch;
}
.h1--page { font-size: clamp(30px, 1.3rem + 2vw, var(--text-h1-size)); max-width: 26ch; }
.h2 { font-size: clamp(24px, 1.1rem + 1.2vw, var(--text-h2-size)); line-height: 1.2; letter-spacing: var(--text-h2-ls); max-width: 34ch; }
.h3 { font-size: var(--text-h3-size); line-height: var(--text-h3-lh); }
.lede { font-size: var(--text-lead-size); line-height: var(--text-lead-lh); color: var(--color-ink); margin-top: var(--space-6); max-width: 60ch; }
.sub { color: var(--color-ink); margin-top: var(--space-3); max-width: 64ch; }
.prose { max-width: 68ch; }
.wrap.prose { max-width: 1180px; }
.wrap.prose > * { max-width: 68ch; }
.prose p { color: var(--color-ink); }
.prose p + p { margin-top: var(--space-4); }
.prose h2 + p, .prose .h2 + p { margin-top: var(--space-4); }
.note { color: var(--color-ink-muted); font-size: var(--text-small-size); line-height: var(--text-small-lh); margin-top: var(--space-6); max-width: 70ch; }
.mono { font-family: var(--text-label-font); font-weight: var(--text-label-weight); font-size: var(--text-label-size); line-height: var(--text-label-lh); letter-spacing: var(--text-label-ls); }
.muted { color: var(--color-ink-muted); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-12); }
@media (min-width: 900px) { .hero { padding-block: var(--space-20); } }

/* ---------- Conversation card (ask, answer, one decide line) ---------- */
.chat {
    background: var(--color-surface);
    border: 1px solid var(--color-rule); border-radius: var(--radius-md);
    box-shadow: var(--shadow-frame);
    font-size: 15px; line-height: 24px;
}
.chat-head { display: flex; justify-content: space-between; gap: var(--space-2); padding: 10px var(--space-4); border-bottom: 1px solid var(--color-rule); color: var(--color-ink-muted); background: var(--color-surface-alt); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.chat-body { padding: var(--space-4); display: grid; gap: var(--space-4); }
.chat-who { display: block; color: var(--color-ink-muted); margin-bottom: var(--space-1); }
.chat-ask { justify-self: end; max-width: 85%; text-align: right; }
.chat-ask p { display: inline-block; text-align: left; background: var(--color-surface-tint); border: 1px solid var(--color-rule); border-radius: var(--radius-md); padding: 10px 14px; font-weight: 600; }
.chat-answer h3 { font-size: 17px; line-height: 24px; margin-bottom: var(--space-2); }
.chat-answer ol { display: grid; gap: var(--space-2); counter-reset: step; }
.chat-answer li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-2); }
.chat-answer li::before { counter-increment: step; content: counter(step); font-family: var(--font-mono); font-weight: 500; font-size: var(--text-label-size); color: var(--color-brand-text); padding-top: 1px; }
.chat-answer li b { font-weight: 600; }
.chat-sources { color: var(--color-ink-muted); margin-top: var(--space-3); }
.decide { background: var(--color-decide-wash); border-left: 3px solid var(--color-decide); padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.decide .mono { display: block; color: var(--color-decide); margin-bottom: 2px; }

/* ---------- Activity log (the signature; one per page at most) ---------- */
.log { background: var(--color-surface-alt); border: 1px solid var(--color-rule); border-radius: var(--radius-md); font-size: 15px; line-height: 23px; }
.log-head { display: flex; justify-content: space-between; gap: var(--space-2); padding: 10px var(--space-4); border-bottom: 1px solid var(--color-rule); color: var(--color-ink-muted); }
.log li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-rule); }
.log li:last-child { border-bottom: 0; }
.log time { color: var(--color-ink-muted); padding-top: 3px; }
.log .who { display: block; color: var(--color-ink-muted); margin-bottom: 2px; }
.log li.is-decide { background: var(--color-decide-wash); }
.log li.is-decide .who { color: var(--color-decide); }

/* ---------- Ruled groups ---------- */
.ruled { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--color-ink); margin-top: var(--space-8); }
.ruled > * { padding: var(--space-6) 0; border-bottom: 1px solid var(--color-rule); display: grid; gap: var(--space-2); align-content: start; min-width: 0; }
.ruled :is(h2, h3) { font-size: 18px; line-height: 26px; }
.hero .ruled { margin-top: var(--space-12); }
.section .ruled + .sub { margin-top: var(--space-6); }
/* Custom solutions: an example's parts (the problem, how it works, what it delivers) */
.ex-part { display: grid; gap: var(--space-1); }
.ex-part h4 { font-size: var(--text-small-size); line-height: var(--text-small-lh); font-weight: 600; color: var(--color-ink-muted); }
/* Custom solutions, "How we build": four steps drawn as a loop. From 600px a 2x2 grid read clockwise
   (1 top left, 2 top right, 3 bottom right, 4 bottom left), an arrow in each gap; one column with down arrows below. */
.build-loop { --loop-gap: var(--space-12); list-style: none; margin: var(--space-8) 0 0; padding: 0; max-width: 760px; display: grid; gap: var(--loop-gap); counter-reset: build; }
.build-loop li { position: relative; counter-increment: build; padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-md); }
.build-loop li::before { content: counter(build, decimal-leading-zero); display: block; margin-bottom: var(--space-1); font: var(--text-label-weight) var(--text-label-size)/1 var(--text-label-font); color: var(--color-brand-text); }
.build-loop h3 { font-size: var(--text-body-size); line-height: var(--text-body-lh); font-weight: 600; }
.build-loop p { margin-top: var(--space-1); color: var(--color-ink-muted); font-size: var(--text-small-size); line-height: var(--text-small-lh); }
.build-loop li::after { position: absolute; font: 600 20px/1 var(--font-sans); color: var(--color-brand-text); }
.build-loop li:not(:last-child)::after { content: "\2193" / ""; left: 50%; bottom: calc(var(--loop-gap) / -2); transform: translate(-50%, 50%); }
.build-loop li:last-child::after { content: "\21BA" / ""; left: 50%; bottom: calc(var(--loop-gap) / -2); transform: translate(-50%, 50%); }
@media (min-width: 600px) {
    .build-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .build-loop li:nth-child(1) { grid-area: 1 / 1; }
    .build-loop li:nth-child(2) { grid-area: 1 / 2; }
    .build-loop li:nth-child(3) { grid-area: 2 / 2; }
    .build-loop li:nth-child(4) { grid-area: 2 / 1; }
    .build-loop li:nth-child(1)::after { content: "\2192" / ""; left: auto; bottom: auto; right: calc(var(--loop-gap) / -2); top: 50%; transform: translate(50%, -50%); }
    .build-loop li:nth-child(2)::after { content: "\2193" / ""; }
    .build-loop li:nth-child(3)::after { content: "\2190" / ""; left: calc(var(--loop-gap) / -2); bottom: auto; top: 50%; transform: translate(-50%, -50%); }
    .build-loop li:nth-child(4)::after { content: "\2191" / ""; bottom: auto; top: calc(var(--loop-gap) / -2); transform: translate(-50%, -50%); }
}
/* Text beside the loop from 980px; stacked, text first, below that. */
@media (min-width: 980px) {
    .build-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-12); align-items: center; }
    .build-split .build-loop { margin-top: 0; }
}
.ruled p { color: var(--color-ink); }
.ruled .step { color: var(--color-brand-text); }
@media (min-width: 820px) {
    .ruled--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ruled--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ruled--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ruled--2 > *, .ruled--3 > *, .ruled--4 > * { border-bottom: 0; border-right: 1px solid var(--color-rule); padding: var(--space-6); }
    .ruled > *:first-child { padding-left: 0; }
    .ruled > *:last-child { border-right: 0; padding-right: 0; }
}

/* ---------- Index list (label, then text) ---------- */
.index { border-top: 2px solid var(--color-ink); margin-top: var(--space-8); }
.index li { display: grid; gap: var(--space-1); padding: var(--space-4) 0; border-bottom: 1px solid var(--color-rule); }
.index .label { color: var(--color-ink-muted); font-size: var(--text-small-size); line-height: var(--text-small-lh); }
.index .ask { font-weight: 600; }
.index .text { color: var(--color-ink); }
@media (min-width: 820px) { .index li { grid-template-columns: 200px minmax(0, 1fr); gap: var(--space-8); align-items: baseline; } }
/* A run of short items inside an index row: one line of text, dot-separated, still a list for screen readers. */
.index .inline-list li { display: inline; padding: 0; border: 0; white-space: nowrap; }
.index .inline-list li:not(:last-child)::after { content: "\00a0\00b7 "; color: var(--color-ink-muted); }

/* ---------- Statement (the point of view) ---------- */
.statement { border-top: 2px solid var(--color-ink); padding-top: var(--space-6); margin-top: var(--space-12); max-width: 46ch; font-size: clamp(22px, 1rem + 1vw, 28px); line-height: 1.35; font-weight: 600; letter-spacing: -0.005em; text-wrap: balance; }

/* ---------- Quote ---------- */
.quote { margin-top: var(--space-8); border-left: 3px solid var(--color-brand); padding-left: var(--space-4); }
.quote p { font-size: var(--text-lead-size); line-height: var(--text-lead-lh); font-weight: 600; }
.quote cite { display: block; margin-top: var(--space-1); color: var(--color-ink-muted); font-style: normal; font-size: var(--text-small-size); }

/* ---------- Handoff blocks ---------- */
.handoff { border-top: 2px solid var(--color-ink); padding-top: var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
.handoff h3 { font-size: var(--text-h3-size); line-height: var(--text-h3-lh); }
.handoff p { color: var(--color-ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--color-ink); margin-top: var(--space-8); max-width: 820px; }
.faq > div { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-rule); }
.faq dt { font-weight: 600; margin-bottom: var(--space-1); }
.faq dd { color: var(--color-ink); }

/* ---------- Video (click to load) ---------- */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface-alt); margin-top: var(--space-2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.talk .meta { color: var(--color-ink-muted); }
.talk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-2); }
/* Resources: a video's thumbnail is its play button (the button sits in a corner, clear of the cover's title) (the player loads only on click, from the privacy-enhanced domain). */
.talks { row-gap: var(--space-12); }
.talk { display: grid; gap: var(--space-2); align-content: start; }
.talk-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: var(--space-2); padding: 0; border: 1px solid var(--color-rule); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface-alt); cursor: pointer; }
.talk-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.talk-play { position: absolute; left: var(--space-3); bottom: var(--space-3); width: 48px; height: 48px; border-radius: 50%; background: var(--color-ink); transition: background-color var(--motion-enter) var(--ease-out); }
.talk-play::after { content: ""; position: absolute; left: 19px; top: 14px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--color-surface); }
.talk-thumb:hover .talk-play, .talk-thumb:focus-visible .talk-play { background: var(--color-brand); }
.talk .talk-actions { margin-top: 0; }

/* ---------- Link list ---------- */
.links { border-top: 2px solid var(--color-ink); margin-top: var(--space-6); }
.links li { padding: var(--space-1) 0; border-bottom: 1px solid var(--color-rule); }
.links a { display: inline-block; padding-block: 10px; color: var(--color-ink); font-weight: 600; text-decoration-color: var(--color-border); }
.links a:hover { color: var(--color-brand-text); }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: var(--space-4); max-width: 560px; }
.contact-form .row { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .contact-form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-form label { display: grid; gap: 6px; font-size: var(--text-small-size); line-height: var(--text-small-lh); font-weight: 600; }
.contact-form input, .contact-form textarea, .contact-form select {
    font: 16px/1.4 var(--font-sans); color: var(--color-ink); background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 10px 12px; width: 100%;
}
.contact-form textarea { min-height: 128px; resize: vertical; }
.contact-form ::placeholder { color: var(--color-ink-muted); opacity: 1; }
.contact-form .btn { justify-self: start; }
.contact-side { display: grid; gap: var(--space-4); align-content: start; }
.contact-side .calendar-cta { justify-self: start; min-height: 44px; }
.contact-side .calendar-cta:empty { display: none; }

/* Google's booking button is injected with inline styles; keep its label legible on the brand colour */
button.qxCTlb { color: var(--color-on-brand) !important; border-radius: var(--radius-sm) !important; font-family: var(--font-sans) !important; font-weight: 600 !important; font-size: 15px !important; padding: 13px 18px !important; justify-self: start; }

/* Google's booking popup: its appointment page paints no background of its own (seen 25-Nov-2026), so without one
   the page behind shows through the frame. Matched on the frame's address, not Google's generated class names. */
iframe[src^="https://calendar.google.com/calendar/appointments/"] { background: var(--color-surface); }

/* ---------- Legal and status pages ---------- */
.legal { max-width: 760px; }
.wrap.legal { max-width: 1180px; }
.wrap.legal > * { max-width: 760px; }
.legal h2 { font-size: var(--text-h3-size); line-height: var(--text-h3-lh); margin-top: var(--space-8); margin-bottom: var(--space-3); }
.legal p, .legal li { color: var(--color-ink); }
.legal ul { list-style: disc; padding-left: var(--space-6); display: grid; gap: var(--space-2); }
.legal strong { color: var(--color-ink); }
.legal .updated { color: var(--color-ink-muted); font-size: var(--text-small-size); margin-top: var(--space-2); }

/* ---------- Closing band (the only navy on the site) ---------- */
.band-navy { background: var(--color-navy); color: var(--color-on-brand); }
.band-navy .wrap { display: grid; gap: var(--space-6); padding-block: var(--space-12); }
@media (min-width: 820px) { .band-navy .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.band-navy h2 { color: var(--color-on-brand); font-size: clamp(22px, 1rem + 1vw, 28px); line-height: 1.25; max-width: 36ch; }
.band-navy p { color: color-mix(in srgb, var(--color-on-brand) 82%, var(--color-navy)); margin-top: var(--space-2); }
.band-navy .btn { background: var(--color-surface); color: var(--color-navy); border-color: var(--color-surface); }
.band-navy .btn:hover { background: var(--color-surface-tint); border-color: var(--color-surface-tint); }

/* ---------- Footer ---------- */
body:has(> main .legal) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
body:has(> main .legal) > main { flex: 1 0 auto; }
.site-footer { border-top: 1px solid var(--color-rule); font-size: var(--text-small-size); line-height: var(--text-small-lh); color: var(--color-ink-muted); }
.site-footer .wrap { display: grid; gap: var(--space-4); padding-block: var(--space-8); }
.site-footer .about-line { max-width: 60ch; }
.site-footer nav, .site-footer .meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); }
.site-footer a { color: var(--color-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-brand-text); text-decoration: underline; }
@media (min-width: 820px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .site-footer .meta { grid-column: 1 / -1; } }

/* ---------- FAQ accordion (home) ---------- */
.faq-list { border-top: 2px solid var(--color-ink); margin-top: var(--space-8); max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--color-rule); }
.faq-list summary { cursor: pointer; font-weight: 600; padding: var(--space-4) var(--space-8) var(--space-4) 0; position: relative; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: var(--space-4); font-family: var(--font-mono); color: var(--color-brand-text); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { color: var(--color-ink); padding-bottom: var(--space-4); max-width: 68ch; }

/* ---------- Phones: 44px tap targets and 16px body text. A link inside a sentence (.text-link--inline) stays
   inline, so its lines keep their spacing (WCAG 2.5.8 exempts it). ---------- */
@media (max-width: 599px) {
    .text-link:not(.text-link--inline), .site-footer nav a, .site-footer .meta a, .footer-mark { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
    .note { font-size: 16px; line-height: 24px; }
}

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hidden { display: none; }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
/* A closing aside under a section's content: a light rule, then the lines it groups. */
.closing-note { border-top: 1px solid var(--color-rule); margin-top: var(--space-12); padding-top: var(--space-3); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
