/* Hallmark · shape: portrait-split with gutter-counter sections · genre: editorial · theme: custom · redesign: full · copy: verbatim · job: visit · idea: "Andrew Hillman, made distinct from its nine sister sites" · vibe: "bar chrome, slide-fill buttons, Zodiak over Satoshi"
 * paper: #FBF8F1 · accent: #1B3A6B · display: Zodiak · body: Satoshi · hero: portrait-split · nav: bar · footer: band · imagery: photographs · signature: portrait-split hero with Andrew Hillman imagery
 * axes: paper/Zodiak/accent · posture: settled · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the kept copy is long; the composition carries the change and every word stays */
:root {
  color-scheme: light;
  --color-paper: #FBF8F1; --color-paper-2: #F2ECDD; --color-paper-3: #E8E0CC;
  --color-ink: #141C2E; --color-ink-2: #28324A; --color-muted: #4A5266;
  --color-rule: #D8CFBC; --color-rule-strong: #757880;
  --color-accent: #1B3A6B; --color-accent-ink: #FBF8F1; --color-accent-2: #8C5A1C; --color-link: #1B3A6B; --color-focus: #B3471B;
  --color-band: #1B3A6B; --color-band-ink: #FBF8F1; --color-band-rule: #5e7393; --color-band-2: #2d4976;
  --color-select: rgba(27, 58, 107, 0.22); --color-paper-glass: rgba(251, 248, 241, 0.9);
  --color-on-photo: #F7F5F0; --color-photo-ink: #0E1310; --color-photo-chip: rgba(14, 19, 16, 0.5); --color-on-photo-rule: rgba(247, 245, 240, 0.5);
  --scrim-cinematic: linear-gradient(to top, rgba(7, 11, 9, 0.9) 0%, rgba(7, 11, 9, 0.62) 38%, rgba(7, 11, 9, 0.18) 70%, rgba(7, 11, 9, 0.55) 100%);
  --color-dot: rgba(27, 58, 107, 0.2); --color-shine: rgba(247, 245, 240, 0.35);
  --shadow-card: 0 1px 2px rgba(20, 28, 46, 0.08), 0 8px 24px rgba(20, 28, 46, 0.08);
  --shadow-pop: 0 12px 40px rgba(20, 28, 46, 0.18);
  --shadow-press: 0 4px 0 #182d50;
  --shadow-brutal: 6px 6px 0 #141C2E;
  --font-display: "Zodiak", ui-serif, Georgia, serif; --font-body: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem;
  --text-display-s: clamp(2.25rem, 3vw + 1rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem); --text-section: clamp(1.875rem, 2vw + 1rem, 3rem); --text-title: clamp(1.25rem, 0.6vw + 1rem, 1.5rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --gutter: 48px; --gap-columns: 28px; --section-pad: var(--space-3xl); --container: 1240px;
  --z-sticky-nav: 300; --z-modal: 400; --tracking-display: -0.02em;
  --radius-btn: 8px; --radius-card: 8px; --radius-img: 8px; --radius-input: 8px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --color-paper: #10131A; --color-paper-2: #181D28; --color-paper-3: #222937;
  --color-ink: #F2EDE2; --color-ink-2: #DAD3C4; --color-muted: #B7B0A0;
  --color-rule: #343B4A; --color-rule-strong: #6f6f6e;
  --color-accent: #E3C58D; --color-accent-ink: #10131A; --color-accent-2: #E9B07A; --color-link: #E3C58D; --color-focus: #F4A562;
  --color-band: #E3C58D; --color-band-ink: #10131A; --color-band-rule: #a4906b; --color-band-2: #d2b784;
  --color-select: rgba(227, 197, 141, 0.22); --color-paper-glass: rgba(16, 19, 26, 0.9);
  --color-on-photo: #F7F5F0; --color-photo-ink: #0E1310; --color-photo-chip: rgba(14, 19, 16, 0.5); --color-on-photo-rule: rgba(247, 245, 240, 0.5);
  --scrim-cinematic: linear-gradient(to top, rgba(7, 11, 9, 0.9) 0%, rgba(7, 11, 9, 0.62) 38%, rgba(7, 11, 9, 0.18) 70%, rgba(7, 11, 9, 0.55) 100%);
  --color-dot: rgba(227, 197, 141, 0.2); --color-shine: rgba(247, 245, 240, 0.35);
  --shadow-card: 0 1px 2px rgba(242, 237, 226, 0.4), 0 8px 24px rgba(242, 237, 226, 0.35);
  --shadow-pop: 0 12px 40px rgba(242, 237, 226, 0.6);
  --shadow-press: 0 4px 0 #ead7b3;
  --shadow-brutal: 6px 6px 0 #F2EDE2;
} }
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-paper: #10131A; --color-paper-2: #181D28; --color-paper-3: #222937;
  --color-ink: #F2EDE2; --color-ink-2: #DAD3C4; --color-muted: #B7B0A0;
  --color-rule: #343B4A; --color-rule-strong: #6f6f6e;
  --color-accent: #E3C58D; --color-accent-ink: #10131A; --color-accent-2: #E9B07A; --color-link: #E3C58D; --color-focus: #F4A562;
  --color-band: #E3C58D; --color-band-ink: #10131A; --color-band-rule: #a4906b; --color-band-2: #d2b784;
  --color-select: rgba(227, 197, 141, 0.22); --color-paper-glass: rgba(16, 19, 26, 0.9);
  --color-on-photo: #F7F5F0; --color-photo-ink: #0E1310; --color-photo-chip: rgba(14, 19, 16, 0.5); --color-on-photo-rule: rgba(247, 245, 240, 0.5);
  --scrim-cinematic: linear-gradient(to top, rgba(7, 11, 9, 0.9) 0%, rgba(7, 11, 9, 0.62) 38%, rgba(7, 11, 9, 0.18) 70%, rgba(7, 11, 9, 0.55) 100%);
  --color-dot: rgba(227, 197, 141, 0.2); --color-shine: rgba(247, 245, 240, 0.35);
  --shadow-card: 0 1px 2px rgba(242, 237, 226, 0.4), 0 8px 24px rgba(242, 237, 226, 0.35);
  --shadow-pop: 0 12px 40px rgba(242, 237, 226, 0.6);
  --shadow-press: 0 4px 0 #ead7b3;
  --shadow-brutal: 6px 6px 0 #F2EDE2;
}
@font-face { font-family: "Zodiak"; src: url("/rd26/fonts/zodiak-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("/rd26/fonts/zodiak-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/rd26/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/rd26/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--space-3xl); scrollbar-color: var(--color-muted) var(--color-paper); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--color-select); color: var(--color-ink); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }
a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; color: var(--color-ink); }
h1 { letter-spacing: var(--tracking-display); }
p { text-wrap: pretty; }
img, video { max-width: 100%; height: auto; }
img { display: inline-block; vertical-align: middle; }
picture { display: contents; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); font-weight: 600; border-radius: var(--radius-btn); transform: translateY(-200%); }
.skip:focus-visible, .skip:focus { transform: none; }

/* header (shared skeleton; each site re-composes it below) */
.site-head { position: relative; z-index: var(--z-sticky-nav); background: var(--color-paper); }
.head-in { display: flex; align-items: center; gap: var(--space-lg); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.1; min-height: 44px; }
.brand:hover { text-decoration: none; }
.logo { width: 40px; height: 40px; display: block; }
.logo .lg-fill { fill: var(--color-accent); }
.logo .lg-ink { fill: var(--color-accent-ink); }
.logo .lg-line { fill: none; stroke: var(--color-accent); stroke-width: 2; }
.logo text { font-family: var(--font-display); font-weight: 700; }
.primary { margin-left: auto; }
.primary ul, .menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); }
.primary a, .menu a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-2xs); color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); font-weight: 500; }
.primary a:hover, .menu a:hover { color: var(--color-link); text-decoration: underline; text-decoration-thickness: 2px; }
.primary a[aria-current], .menu a[aria-current] { color: var(--color-link); text-decoration: underline; }
.menu { display: none; margin-left: auto; position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-btn); font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > nav { position: absolute; right: 0; top: calc(100% + var(--space-xs)); width: min(88vw, 22rem); max-height: 70svh; overflow-y: auto; background: var(--color-paper); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-card); box-shadow: var(--shadow-pop); padding: var(--space-sm); }
.menu[open] ul { flex-direction: column; gap: 0; }
.menu[open] a { width: 100%; padding-inline: var(--space-sm); }
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-btn); border: 1px solid var(--color-rule-strong); background: var(--color-paper); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.theme-toggle:hover { background: var(--color-paper-2); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; } }
@media (max-width: 64rem) { .primary { display: none; } .menu { display: block; } }

/* buttons: shared shape, personality per site */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: var(--space-sm) var(--space-lg); border: 2px solid var(--color-accent); border-radius: var(--radius-btn); background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn:hover { text-decoration: none; }
.btn--quiet { background: transparent; color: var(--color-link); }
.btn .i-arrow { width: 18px; height: 18px; transition: transform var(--dur-short) var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }

/* hero shared parts */
.hero { position: relative; }
.hero h1 { font-size: var(--text-display); line-height: 1.02; margin: 0; max-width: 18ch; }
.hero .lede { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 46ch; margin: var(--space-lg) 0 0; }
.hero figure { margin: 0; }
.hero figcaption, .topic-band figcaption { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-xs); }
.hero img, .topic-band img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* topic band */
.topic-band { margin: 0 auto; padding-block: var(--space-2xl); }
.topic-band .tb-frame { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius-img); background: var(--color-paper-2); }

/* content: the kept pages */
.content { display: block; }
.content > * { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.content > :where(section, article, div, nav, aside, form) { padding-block: var(--section-pad); }
.content > :where(section, article, div, nav, aside) + :where(section, article, div, nav, aside) { border-top: 1px solid var(--color-rule); }
.content > script, .content > span:empty { padding: 0; border: 0; }
.content :where(section, article, div, aside, nav) :where(section, article, aside) { padding-block: var(--space-lg); }
.content h1 { font-size: var(--text-display-s); line-height: 1.05; margin: 0 0 var(--space-lg); max-width: 20ch; }
.content h2 { font-size: var(--text-section); line-height: 1.08; margin: 0 0 var(--space-lg); max-width: 24ch; letter-spacing: var(--tracking-display); }
.content h3 { font-size: var(--text-title); line-height: 1.2; margin: var(--space-xl) 0 var(--space-xs); }
.content h4 { font-size: var(--text-lg); margin: var(--space-lg) 0 var(--space-2xs); font-family: var(--font-body); }
.content :where(h2, h3, h4):first-child { margin-top: 0; }
.content p { margin: 0 0 var(--space-md); max-width: 68ch; }
.content :where(ul, ol) { margin: 0 0 var(--space-md); padding-left: 1.25em; max-width: 72ch; }
.content li { margin-bottom: var(--space-2xs); }
.content li::marker { color: var(--color-accent); }
.content strong { font-weight: 700; color: var(--color-ink); }
.content small { font-size: var(--text-sm); }
.content :where(p, li, dd, td, figcaption, blockquote) a:not(.btn) { color: var(--color-link); }
.content img { height: auto; }
.content :where(figure) { margin: var(--space-lg) 0; }
.content figcaption { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-xs); max-width: 68ch; }
.content blockquote { margin: var(--space-lg) 0; padding: var(--space-xs) 0 var(--space-xs) var(--space-lg); border-left: 3px solid var(--color-accent); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); }
.content hr { border: 0; border-top: 1px solid var(--color-rule); margin: var(--space-xl) 0; }
.content table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin: var(--space-md) 0; display: block; overflow-x: auto; }
.content :where(th, td) { text-align: left; vertical-align: top; padding: var(--space-xs) var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.content th { font-family: var(--font-body); font-weight: 700; color: var(--color-ink); }
.content dl { margin: 0 0 var(--space-md); } .content dt { font-weight: 700; margin-top: var(--space-sm); } .content dd { margin: 0 0 var(--space-xs); }
.content details { border-top: 1px solid var(--color-rule); padding: var(--space-2xs) 0; max-width: 72ch; }
.content details:last-of-type { border-bottom: 1px solid var(--color-rule); }
.content summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); }
.content details > :not(summary) { margin-top: var(--space-xs); }
.content code { font-size: 0.92em; background: var(--color-paper-2); padding: 0 var(--space-2xs); border-radius: 4px; }
.content svg:not([width]) { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.2em; }
.content svg[width] { display: inline-block; vertical-align: middle; }
.content img[width="16"], .content img[width="20"], .content img[width="24"] { display: inline-block; vertical-align: -0.15em; margin-right: var(--space-2xs); border-radius: 3px; }
.content iframe { max-width: 100%; border: 0; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-columns); margin: var(--space-lg) 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid > .card { margin: 0; min-width: 0; }
.card > :last-child { margin-bottom: 0; }
.card img { width: 100%; height: auto; }
.link-cloud { columns: 3 14rem; column-gap: var(--gap-columns); list-style: none; padding: 0 !important; max-width: none !important; }
.link-cloud li { break-inside: avoid; margin-bottom: var(--space-2xs); }
.link-cloud a { display: inline-flex; align-items: center; min-height: 32px; }
.link-row { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); align-items: center; }
.link-row > a { display: inline-flex; align-items: center; min-height: 32px; }
.content :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]), select, textarea) { display: block; width: 100%; max-width: 32rem; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); }
.content textarea { min-height: 8rem; }
.content ::placeholder { color: var(--color-muted); opacity: 1; }
.content label { display: block; font-weight: 600; margin: var(--space-md) 0 var(--space-2xs); }
.content :where(button, input[type="submit"]) { min-height: 48px; padding: var(--space-sm) var(--space-lg); border: 2px solid var(--color-accent); border-radius: var(--radius-btn); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; cursor: pointer; transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.content :where(button, input[type="submit"]):hover { transform: translateY(-1px); }
.page-head { padding-top: var(--space-2xl) !important; }

/* footer */
.site-foot { background: var(--color-band); color: var(--color-band-ink); margin-top: var(--space-2xl); }
.site-foot a { color: var(--color-band-ink); }
.site-foot :where(h2, h3, h4, strong) { color: var(--color-band-ink); font-family: var(--font-display); }
.site-foot h2 { font-size: var(--text-xl); margin: 0 0 var(--space-sm); }
.foot-in { padding-block: var(--space-2xl) var(--space-xl); font-size: var(--text-sm); }
.foot-in > * + * { margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-band-rule); }
.foot-in :where(footer, section, aside, div) { max-width: none; }
.foot-in p { max-width: 72ch; margin: 0 0 var(--space-sm); }
.foot-in ul { list-style: none; padding: 0; margin: 0 0 var(--space-md); columns: 3 13rem; column-gap: var(--gap-columns); }
.foot-in li { break-inside: avoid; margin-bottom: var(--space-2xs); }
.foot-in li a, .foot-in .link-row a, .foot-in p a { display: inline-block; min-height: 24px; line-height: 24px; }
.foot-in img { max-height: 48px; width: auto; }
.foot-in :focus-visible, .site-foot :focus-visible { outline-color: var(--color-band-ink); }
.foot-credits { padding-block: var(--space-lg); border-top: 1px solid var(--color-band-rule); font-size: var(--text-sm); display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); }
.foot-credits p { margin: 0; }

@media (max-width: 60rem) { :root { --gutter: 24px; --section-pad: var(--space-2xl); } }
@media (max-width: 40rem) { :root { --gutter: 18px; --section-pad: var(--space-xl); --gap-columns: 16px; } .foot-in ul { columns: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
@media print { .site-head, .site-foot, .theme-toggle, .menu { display: none !important; } }

/* embedded video facades and frames never exceed the column */
.content .yt-facade { display: block; position: relative; inline-size: 100%; max-inline-size: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius-img); overflow: hidden; }
.content .yt-facade img { inline-size: 100%; block-size: auto; }
.content iframe, .content video, .content embed, .content object { max-inline-size: 100%; }

/* two-part headings: name, then a quieter descriptor line */
.pl-vh { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero h1 .pl-n { display: block; }
.hero h1 .pl-s { display: block; margin-block-start: var(--space-sm); font-family: var(--font-body); font-size: var(--text-lead); font-weight: 400; line-height: 1.4; letter-spacing: 0; color: var(--color-muted); }

/* galleries and image cards: rows size to their content; photos crop, marks never do */
.content .collage { grid-auto-rows: auto !important; }
.content .card img { inline-size: 100%; block-size: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); }
.content :is(img[alt*="logo" i], img[alt*="wordmark" i], img[alt*="signature" i], img[alt*="monogram" i], img[alt*="seal" i]) { object-fit: contain; background: var(--color-paper-2); padding: var(--space-sm); }

/* controls keep one line; long labels step down on small phones */
.btn, .primary a, .menu a, .menu > summary, .content button { white-space: nowrap; }
body { overflow-wrap: break-word; }
.content li, .site-foot li { min-inline-size: 0; }
.content .h-note { display: block; margin-block: calc(var(--space-xs) * -1) var(--space-sm); font-size: var(--text-sm); color: inherit; }
.btn { max-inline-size: 100%; }
@media (max-width: 26rem) {
  .btn, .content button { padding-inline: var(--space-md); font-size: var(--text-sm); }
  .actions { gap: var(--space-xs); }
}
.brand { min-inline-size: 0; }
@media (max-width: 30rem) {
  .brand .wordmark { font-size: var(--text-md); line-height: 1.15; }
  .head-in { gap: var(--space-xs); }
}

/* icon-only and stacked inline links meet the 24px target */
.content a[aria-label]:not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 24px; min-block-size: 24px; }
#ah-name-variants a { display: inline-block; min-block-size: 24px; padding-block: var(--space-3xs); }
.menu:not([open]) > nav { display: none; }
/* footer links meet the 24px target on touch screens */
.site-foot a { display: inline-block; min-block-size: 24px; padding-block: var(--space-3xs); }

/* hub: portrait editorial. Sticky paper bar, text-left/photo-right hero, numbered gutter sections. */
:root { --container: 1240px; --radius-btn: 2px; --radius-card: 2px; --radius-img: 2px; --radius-input: 2px; --section-pad: var(--space-3xl); --tracking-display: -0.015em; }
.site-head { position: sticky; top: 0; border-bottom: 1px solid var(--color-rule); background: var(--color-paper-glass); backdrop-filter: saturate(1.4) blur(10px); }
.head--bar .brand { font-size: 1.375rem; font-weight: 400; }
.hero--portrait-split { padding-block: var(--space-2xl) var(--space-3xl); }
.hero--portrait-split .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: end; }
@media (min-width: 60rem) { .hero--portrait-split .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); } }
.hero--portrait-split h1 { font-weight: 400; font-size: clamp(2.5rem, 4.2vw + 0.75rem, 4.75rem); }
.hero--portrait-split .hero-figure { position: relative; }
.hero--portrait-split .hf-frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
.hero--portrait-split .hero-figure::before { content: ""; position: absolute; inset: calc(var(--space-md) * -1) var(--space-md) var(--space-xl) calc(var(--space-md) * -1); border: 1px solid var(--color-accent); z-index: -1; }
.content { counter-reset: sec; }
@media (min-width: 64rem) {
  .content > section, .content > article { position: relative; padding-left: calc(var(--gutter) + 5rem); }
  .content > :where(section, article) > h2:first-child, .content > :where(section, article) > :first-child > h2:first-child { counter-increment: sec; }
  .content > :where(section, article) > h2:first-child::before, .content > :where(section, article) > :first-child > h2:first-child::before { content: counter(sec, decimal-leading-zero); position: absolute; left: var(--gutter); margin-top: 0.35em; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; color: var(--color-accent-2); }
}
.card { border: 1px solid var(--color-rule); padding: var(--space-lg); background: var(--color-paper); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-ink); transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-long) var(--ease-out); }
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--color-paper); border-color: var(--color-ink); }
.btn--quiet:hover { color: var(--color-paper); }


/* layout-2026-11-16: per-site layout preview. Do not homogenize fonts or colors. */

/* 1. Readable line length in main prose, not only inside a nested .content column. */
main p, main li, main dd, main blockquote, main figcaption,
.block > p, .wrap > p, .dm-cta-band > p, section > p {
  max-width: 68ch;
}

/* 2. Center the inner column on wide screens. Exclude full-bleed heroes. */
main > .content,
main > article,
main > .wrap,
main > section:not(.hero):not([class*="hero"]) {
  width: min(var(--container, 72rem), calc(100% - 2 * clamp(1rem, 4vw, 3rem)));
  max-width: 100%;
  margin-inline: auto;
}

/* 3. Cap display type so H1 cannot grow past 5.5rem. Do not enlarge smaller page titles. */
h1, .hero h1 {
  font-size: min(var(--text-display, 5.5rem), 5.5rem);
}
.content h1, .page-head h1 {
  font-size: min(var(--text-display-s, 3.75rem), 3.75rem);
}
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* 4. 44px tap targets for chrome and standalone text links. */
header a, nav a, footer a, a.text-link, a.btn, .btn, button, summary,
ul.links a, ol.links a, .theme-toggle, a.org-logo, .org-logo {
  min-height: 44px;
  min-width: 0;
}
header a, nav a, footer a, a.text-link, a.btn, .btn, button, summary,
ul.links a, ol.links a, .theme-toggle {
  display: inline-flex;
  align-items: center;
}
.theme-toggle { min-width: 44px; }

/* 5. Landscape phones: do not let the hero fill several screens. */
@media (orientation: landscape) and (max-height: 500px) {
  .hero, [class*="hero"] { min-height: auto; padding-block: 2rem; }
  .hero h1 { font-size: clamp(1.75rem, 6vh + 1rem, 2.75rem); }
}

/* 6. Equal-height cards where a card grid is used. */
.card-grid, .grid, .bento { align-items: stretch; }
.card { display: flex; flex-direction: column; }
.card > :last-child { margin-top: auto; }

/* 7. Name-variant link row: a wrapping list, no copy change. */
#ah-name-variants p:has(a) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

/* YouTube facade and brass buttons were clipping their own box. */
.yt-facade { overflow: visible; }
.yt-facade img { border-radius: inherit; }
.btn { overflow: visible; }

/* Timeline view switch (record /timeline/). Hidden panel is display:none so duplicates are not shown. */
.tl-switch { margin-block: 1rem; }
.tl-switch .tl-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-block-end: 1rem;
}
.tl-switch input[name="tl-view"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tl-switch .tl-tab {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.85rem;
  border: 1px solid var(--color-rule, currentColor);
  border-radius: 999px;
  cursor: pointer;
}
.tl-switch .tl-date-panel { display: none; }
.tl-switch:has(#tl-date:checked) .tl-date-panel { display: block; }
.tl-switch:has(#tl-date:checked) .tl-topic-panel { display: none; }
.tl-switch:has(#tl-topic:checked) .tl-topic-panel { display: block; }
.tl-switch:has(#tl-topic:checked) .tl-date-panel { display: none; }
.tl-switch:has(#by-date:target) .tl-date-panel,
#by-date:target { display: block; }
.tl-switch:has(#by-date:target) .tl-topic-panel { display: none; }

/* 8. Hoisted unique footer prose and home directories: center and cap like main. */
.page-notes,
.site-directory {
  width: min(var(--container, 72rem), calc(100% - 2 * clamp(1rem, 4vw, 3rem)));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
.page-notes p, .page-notes li, .page-notes dd, .page-notes figcaption,
.site-directory p, .site-directory li, .site-directory dd, .site-directory figcaption {
  max-width: 60ch;
}

.hero--poster::before,
.hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 35%;
  background: linear-gradient(rgb(0 0 0 / 0.45), transparent);
  pointer-events: none;
}
.hero--poster, .hero.has-photo { position: relative; }
