

:root {
   color-scheme:dark;
   --ink:#111411;
   --surface:#191c18;
   --paper:#f3efe5;
   --muted:#c3c5b9;
   --jewel:#174c3c;
   --rule:#42483e;
   --brass:#b99a61;
   --surface-raised:#232920;
   --jewel-hover:#205d49;
   --jewel-pressed:#123f31;
   --error:#ffb7a8;
   --error-surface:#361f1b;
   --success:#c1dfcb;

   --focus:#f3efe5;
   --beji-cea:'Bodoni Moda', Georgia, serif;
   --beji-280:'Bitter', Georgia, serif;
   --beji-f8e:'IBM Plex Mono', monospace;
   --weight-normal:400;
   --weight-medium:500;
   --weight-strong:600;
   --text-xs:clamp(.75rem, .72rem + .15vw, .85rem);
   --text-sm:clamp(.875rem, .84rem + .15vw, .95rem);
   --text-base:clamp(1rem, .96rem + .2vw, 1.15rem);
   --text-lg:clamp(1.125rem, 1rem + .5vw, 1.5rem);
   --text-xl:clamp(1.5rem, 1.12rem + 1.4vw, 2.5rem);
   --heading-sm:clamp(1.75rem, 1.2rem + 2vw, 3rem);
   --heading-md:clamp(2.125rem, 1.25rem + 3.5vw, 5rem);
   --heading-lg:clamp(2.5rem, 7.4vw, 8rem);
   --heading-hero:clamp(3.25rem, 8.4vw, 9.5rem);
   --leading-body:1.65;
   --leading-tight:.98;
   --leading-heading:1.1;
   --tracking-display:-.045em;
   --tracking-mono:-.025em;
   --space-1:.25rem;
   --space-2:.5rem;
   --space-3:.75rem;
   --space-4:1rem;
   --space-5:1.5rem;
   --space-6:2rem;
   --space-7:2.75rem;
   --space-8:3.75rem;
   --space-9:5rem;
   --space-10:7rem;
   --space-11:9rem;
   --gutter:clamp(1.125rem, 4vw, 5rem);
   --section-space:clamp(4rem, 8vw, 9rem);
   --section-gap:clamp(2rem, 4vw, 5rem);
   --content-width:100rem;
   --reading-width:42rem;
   --narrow-width:32rem;
   --header-height:6.5rem;
   --header-compact:4.75rem;
   --control-min:2.75rem;
   --border-width:1px;
   --radius:0;
   --rule-border:1px solid var(--rule);

   --brass-border:1px solid var(--brass);
   --shadow-panel:0 1rem 4rem #0007;
   --duration-fast:140ms;
   --duration-control:180ms;
   --duration-medium:400ms;
   --duration-slow:850ms;
   --ease-control:cubic-bezier(.2, .6, .3, 1);
   --ease-editorial:cubic-bezier(.22, 1, .36, 1);
   --ease-draw:cubic-bezier(.4, 0, .2, 1);
   --layer-header:30;
   --layer-menu:40;
   --layer-chat:60;
   --layer-consent:70;
   --layer-dialog:80;
   --layer-skip:100;
   --cookie-offset:0px;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-compact) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--beji-280); font-size: var(--text-base); font-weight: 400; line-height: var(--leading-body); text-rendering: optimizeLegibility; }
body, main, header, footer, section, article, aside, nav, div, form, fieldset { min-width: 0; }
main { display: block; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { text-transform: none; }
button, input[type="submit"], input[type="button"] { cursor: pointer; }
button { border-radius: 0; }
input, select, textarea { min-width: 0; max-width: 100%; }
textarea { resize: vertical; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; max-width: 100%; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
a, button { -webkit-tap-highlight-color: #b99a6133; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote { margin: 0; }
ul, ol { padding-inline-start: 1.4em; }
li + li { margin-block-start: .5em; }
li::marker { color: var(--muted); }
hr { border: 0; border-top: var(--rule-border); margin-block: var(--space-7); }
address { font-style: normal; }
strong, b { font-weight: var(--weight-strong); }
small { font-size: var(--text-sm); }
sub, sup { font-size: .72em; line-height: 0; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: .2em; }
summary { cursor: pointer; }
table { width: 100%; border-collapse: collapse; text-align: left; }
caption { text-align: left; }
th { font-weight: 500; }
[hidden] { display: none !important; }
[tabindex='-1']:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { background: var(--jewel); color: var(--paper); }


h1, h2, h3, h4 { font-family: var(--beji-cea); font-weight: 400; text-wrap: balance; overflow-wrap: break-word; }
h1, h2 { font-size: var(--heading-lg); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); }
h3 { font-size: var(--heading-sm); line-height: var(--leading-heading); letter-spacing: -.025em; }
h4 { font-size: var(--text-xl); line-height: 1.2; letter-spacing: -.02em; }
h5, h6 { font-size: var(--text-base); font-weight: 600; line-height: 1.4; }
p { overflow-wrap: break-word; }
.display { font-family: var(--beji-cea); font-size: var(--heading-lg); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); }
.lead { font-size: var(--text-lg); line-height: 1.55; max-width: var(--reading-width); }
.meta, .price, .mono { font-family: var(--beji-f8e); font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-mono); }
.meta { font-size: var(--text-xs); line-height: 1.6; }
.muted { color: var(--muted); }
.prose { max-width: var(--reading-width); }
.prose > * + * { margin-block-start: 1.25em; }
.prose > :is(h2, h3, h4) { margin-block-start: 1.8em; }
.prose > :first-child { margin-block-start: 0; }
.prose h2 { font-size: var(--heading-md); }
.prose h3 { font-size: var(--heading-sm); }
.prose h4 { font-size: var(--text-xl); }
.prose :is(h2, h3, h4) + * { margin-block-start: 1.15rem; }
.prose a { text-decoration-color: var(--brass); }
.prose li { padding-inline-start: .25rem; }
.prose blockquote { border-inline-start: var(--brass-border); padding-inline-start: var(--space-5); font-size: var(--text-lg); }
.prose blockquote cite { display: block; margin-top: 1rem; color: var(--muted); font-family: var(--beji-f8e); font-size: var(--text-sm); font-style: normal; }
.prose dl { border-top: var(--rule-border); }
.prose dt { font-weight: 600; padding-top: var(--space-5); }
.prose dd { margin: .5rem 0 0; padding-bottom: var(--space-5); border-bottom: var(--rule-border); color: var(--muted); }
.prose code { font-family: var(--beji-f8e); font-size: .9em; overflow-wrap: anywhere; }
.prose pre { max-width: 100%; overflow: auto; padding: var(--space-5); background: var(--surface); border: var(--rule-border); }
.prose figcaption { color: var(--muted); margin-top: var(--space-3); font-size: var(--text-sm); }


.container { width: 100%; max-width: var(--content-width); margin-inline: auto; padding-inline: var(--gutter); }
.full-bleed { width: 100%; }
.section { padding-block: var(--section-space); padding-inline: var(--gutter); }
.section-inner { max-width: var(--content-width); margin-inline: auto; }
.reading-column { width: 100%; max-width: var(--reading-width); }
.narrow-column { width: 100%; max-width: var(--narrow-width); }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, var(--space-5)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, var(--space-4)); }

.grid { display: grid; gap: var(--grid-gap, var(--section-gap)); }
.grid > *, .cluster > *, .stack > * { min-width: 0; }
.flow > * + * { margin-block-start: var(--flow-space, 1.5rem); }
.rule-top { border-top: var(--rule-border); }
.rule-bottom { border-bottom: var(--rule-border); }
.surface { background: var(--surface); }
.jewel { background: var(--jewel); }
.visually-hidden, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.honeypot { display: none !important; }
.icon { display: inline-block; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; vertical-align: middle; }
.scroll-region { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--brass) var(--surface); }
.anchor-target, [id] { scroll-margin-top: calc(var(--header-compact) + 1.5rem); }
.break-anywhere { overflow-wrap: anywhere; }
.no-margin { margin: 0; }


@media (min-width: 100rem) {
   :root { --gutter: max(5rem, calc((100vw - 100rem) / 2)); }
   .container { padding-inline: 5rem; }
}
@media (max-width: 47.99rem) {
   :root { --header-height: 5.5rem; --header-compact: 4.5rem; }
   .section { padding-block: clamp(3.75rem, 12vw, 6rem); }
   .prose blockquote { padding-inline-start: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
   :root { --duration-fast: 0ms; --duration-control: 0ms; --duration-medium: 0ms; --duration-slow: 0ms; }
   html { scroll-behavior: auto !important; }
   *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
   .diagram-line, [data-draw-line] { stroke-dashoffset: 0 !important; }
}
@media print {
   :root { color-scheme: light; }
   body { background: white; color: black; font-size: 11pt; }
   h1, h2, h3 { break-after: avoid; }
   figure, table, blockquote { break-inside: avoid; }
   a { color: inherit; }
   .section { padding: 1.5rem 0; }
   .container { padding-inline: 0; }
}
