/* KirchWorks: what fonts.css and site.css keep after scripts/builder-css-to-blocks.py moved the rest onto
   the blocks: @font-face, :root, every media query, state (the motion layer, hover, the open menu) and markup
   that is not a block (the drawings, the map, the animation). */
/* Builder lets a text block's children inherit its background image (".__text_block__ > *", for gradient text).
   A .textlink's underline is a background image, so its arrow span was painted solid gold (2026-11-17). */
.textlink > span { background-image: none; }
:root { --navy: #0b162a; --sheet: #2d333c; --navy-deep: color-mix(in srgb, var(--sheet) 74%, #000); --bone: #f8f1e6; --logo-orange: #c83803; --accent: #ff6f47; --bone-2: color-mix(in srgb, var(--bone) 76%, var(--navy)); --bone-line: color-mix(in srgb, var(--bone) 30%, transparent); --navy-2: color-mix(in srgb, var(--navy) 80%, var(--bone)); --navy-line: color-mix(in srgb, var(--navy) 26%, transparent); --stamp: var(--logo-orange); --ease: cubic-bezier(.16, 1, .3, 1); --ease-plot: cubic-bezier(.65, 0, .35, 1); --display: "Big Shoulders Display", "Arial Narrow", sans-serif; --text: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; --mono: "Overpass Mono", ui-monospace, Menlo, monospace; --pad: clamp(20px, 4vw, 56px); --maxw: 1320px; --bar: 68px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
.hand svg { display: block; overflow: visible; }
.hand svg path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.frame .z { position: absolute; font: 600 10px/1 var(--mono); letter-spacing: .08em; }
.frame .z-top { top: 6px; transform: translateX(-50%); }
.frame .z-left { left: 7px; transform: translateY(-50%); }
.frame .tick { position: absolute; }
.frame .tick-top { top: 0; height: 9px; border-left: 1px solid currentColor; }
.frame .tick-left { left: 0; width: 9px; border-top: 1px solid currentColor; }
.bar.is-scrolled { background: var(--navy-deep); border-bottom-color: var(--bone-line); }
.bar-brand img { width: 40px; height: 40px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.kw-mark { flex: none; display: block; }
.kw-seal { display: block; width: 100%; height: auto; color: var(--navy); }
.sheet-bone .kw-seal { --ring: #c83803; }
.line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.line > span { display: inline-block; }
.gold { color: var(--accent); }
h2 { font: 800 clamp(2.6rem, 5.4vw, 4.6rem)/.9 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0; text-wrap: balance; }
h3 { font: 800 clamp(2rem, 3.2vw, 2.8rem)/.95 var(--display); text-transform: uppercase; letter-spacing: .015em; margin: 0 0 16px; }
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 17px 24px 16px; font: 600 15px/1 var(--text); letter-spacing: .02em; text-decoration: none; border: 1px solid; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn-navy { background: var(--navy); color: var(--bone); border-color: var(--navy); }
.is-placeholder { opacity: .5; cursor: not-allowed; }
.callout, .callout-key { display: inline-grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 600 13px/1 var(--mono); letter-spacing: 0; }
.callout { width: 30px; height: 30px; margin-left: .18em; vertical-align: top; position: relative; top: .32em; }
.callout-key { width: 22px; height: 22px; font-size: 11px; margin-right: 6px; }
.note a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.note a:hover { color: var(--bone); }
.plate-empty { display: grid; place-items: center; background: color-mix(in srgb, var(--navy-deep) 40%, transparent); }
.plate-empty svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate-empty svg rect, .plate-empty svg path { fill: none; stroke: var(--bone-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plate-empty span { position: relative; padding: 8px 12px 7px; background: var(--sheet); border: 1px solid var(--bone-line); font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
.tb-brand small { font: 600 10px/1 var(--mono); letter-spacing: .14em; color: var(--bone-2); }
.system-copy > .kw-p:not(.tag) { font-size: 1.1rem; line-height: 1.55; max-width: 40ch; }
.drawing { display: block; width: 100%; height: auto; overflow: visible; }
.drawing .ink { fill: none; stroke: var(--bone); stroke-width: 1.5; stroke-linejoin: miter; }
.drawing .ink-soft { stroke: var(--bone-2); }
.drawing .ink-gold { stroke: var(--accent); }
.drawing .ink-dash { fill: none; stroke: var(--bone-2); stroke-width: 1.5; stroke-dasharray: 5 4; }
.drawing .lbl { font: 600 12.5px var(--mono); letter-spacing: .06em; fill: var(--bone); }
.drawing .lbl-sm { font-size: 10.5px; fill: var(--bone-2); }
.drawing .lbl-gold, .drawing .co text { fill: var(--accent); }
.drawing .co circle { stroke: var(--accent); }
.drawing .hatch-line { stroke: color-mix(in srgb, var(--bone) 34%, transparent); stroke-width: 1; }
html.motion .drawing .hatch { opacity: 0; transition: opacity .9s ease var(--td, 900ms); }
html.motion .drawing.is-drawn .hatch { opacity: 1; }
html.motion .drawing .ink-dash { opacity: 0; transition: opacity .9s ease var(--td, 900ms); }
html.motion .drawing.is-drawn .ink-dash { opacity: 1; }
.districts { display: block; width: 100%; height: auto; aspect-ratio: 720 / 380; }
.rec:not(.rec-static):hover { background: color-mix(in srgb, var(--navy) 4%, transparent); }
.rec .yr { grid-column: 1; font: 600 14px/1.3 var(--mono); font-variant-numeric: tabular-nums; color: var(--navy); }
.rec .co-name { grid-column: 2; font: 800 clamp(1.7rem, 2.3vw, 2.15rem)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.rec .co-name small, .sub .co-name small, .rd-name small { margin-left: 6px; font: 600 12px/1 var(--mono); letter-spacing: .08em; color: var(--navy-2); }
.rec .role { grid-column: 3; font: 600 15px/1.4 var(--text); color: var(--navy); }
.rec .open { grid-column: 4; grid-row: 1; justify-self: end; align-self: center; }
.rec .res { grid-column: 2 / 4; max-width: 78ch; font-size: 16px; line-height: 1.55; color: var(--navy-2); }
.rec .res b { color: var(--navy); font-weight: 700; }
.rec-lead .co-name { font-size: clamp(2rem, 2.9vw, 2.7rem); }
.sub .co-name { grid-column: 1; font: 800 1.3rem/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.sub .sub-meta { grid-column: 1; font-size: 14.5px; line-height: 1.4; color: var(--navy-2); }
.sub .open { grid-column: 2; grid-row: 1 / span 2; }
.open { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--stamp); border-radius: 50%; font: 500 18px/1 var(--mono); color: var(--stamp); transition: background-color .25s ease, color .25s ease; }
.rec:hover .open, .rec:focus-visible .open, .sub:hover .open, .sub:focus-visible .open { background: var(--stamp); color: var(--bone); }
.hold { display: inline-block; padding: 3px 6px 2px; border: 1px solid var(--accent); font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
html.has-detail { overflow: hidden; }
.rec-detail.is-open { transform: none; opacity: 1; }
.rec-detail::backdrop { background: color-mix(in srgb, var(--navy-deep) 62%, transparent); }
html:not(.motion) .rec-detail { transform: none; opacity: 1; transition: none; }
.rd-close span { font-size: 16px; }
.wl-form { display: grid; gap: 18px; margin-top: 30px; max-width: 34rem; }
.wl-field { display: grid; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); }
.wl-field small { font-size: 11px; letter-spacing: .08em; text-transform: none; color: var(--navy-2); opacity: .8; }
.wl-field input, .wl-field textarea { box-sizing: border-box; width: 100%; padding: 12px 14px; border: 1px solid var(--navy); border-radius: 0; background: color-mix(in srgb, var(--bone) 70%, #fff); color: var(--navy); font: 400 16px/1.45 var(--text); letter-spacing: 0; text-transform: none; }
.wl-field textarea { resize: vertical; min-height: 6.5em; }
.wl-form .btn { justify-self: start; cursor: pointer; }
.wl-form .btn[disabled] { opacity: .6; cursor: default; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-msg { min-height: 1.4em; margin: 0; font-size: 15px; color: var(--navy); }
.wl-form.is-sent .wl-field, .wl-form.is-sent .btn { display: none; }
@media (max-width: 1080px) { .rec { grid-template-columns: 6.5rem minmax(0, 1fr) 32px; column-gap: 22px; } }
@media (max-width: 1080px) { .rec .role, .rec .res { grid-column: 2; } }
@media (max-width: 1080px) { .rec .open { grid-column: 3; } }
@media (max-width: 1080px) { .rec-groups { margin-left: calc(6.5rem + 22px); } }
@media (max-width: 900px) { .rec-groups { grid-template-columns: minmax(0, 1fr); row-gap: 26px; } }
@media (max-width: 640px) { .rec { grid-template-columns: minmax(0, 1fr) 32px; row-gap: 6px; padding: 20px 0 18px; } }
@media (max-width: 640px) { .rec .yr, .rec .co-name, .rec .role, .rec .res { grid-column: 1; } }
@media (max-width: 640px) { .rec .open { grid-column: 2; grid-row: 1 / span 2; } }
@media (max-width: 640px) { .rec-groups { margin-left: 0; } }
.record-foot b { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-right: 8px; }
.contact-links a { color: var(--navy); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; }
.foot a { text-decoration: none; color: var(--bone); }
html.motion [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1s var(--ease), transform 1.3s var(--ease); }
html.motion [data-reveal].is-in { opacity: 1; transform: none; }
html.motion [data-lines] .line > span { transform: translate3d(0, 108%, 0); transition: transform 1.25s var(--ease) calc(var(--i, 0) * 120ms); }
html.motion [data-lines].is-in .line > span { transform: none; }
html.motion .drawing .ink { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.5s var(--ease-plot) var(--d, 0ms); }
html.motion .drawing.is-drawn .ink { stroke-dashoffset: 0; }
html.motion .drawing .lbl { opacity: 0; transition: opacity .7s ease var(--td, 900ms); }
html.motion .drawing.is-drawn .lbl { opacity: 1; }
html.motion .schedule .row:not(.row-head) { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .8s var(--ease) calc(var(--i, 0) * 45ms), transform 1s var(--ease) calc(var(--i, 0) * 45ms); }
html.motion .schedule.is-in .row { opacity: 1; transform: none; }
@media (max-width: 1080px) { .titleblock { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .titleblock > div { border-top: 1px solid var(--bone-line); } }
@media (max-width: 1080px) { .titleblock > div:nth-child(-n+3) { border-top: 0; } }
@media (max-width: 1080px) { .titleblock > div:nth-child(3n+1) { border-left: 0; } }
@media (max-width: 900px) { .bar-nav { display: none; position: fixed; top: var(--bar); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 20px; background: var(--navy-deep); border-bottom: 1px solid var(--bone-line); } }
@media (max-width: 900px) { .bar-nav.is-open { display: flex; } }
@media (max-width: 900px) { .bar-nav a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--bone-line); background: none; } }
@media (max-width: 900px) { .bar-menu { display: inline-block; } }
@media (max-width: 900px) { .bar { background: var(--navy-deep); border-bottom-color: var(--bone-line); } }
@media (max-width: 900px) { .btn-portal { padding: 12px 12px 11px; } }
@media (max-width: 900px) { .hero-grid, .sheet-head, .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .plate-portrait { max-width: 440px; } }
@media (max-width: 900px) { .vdim { display: none; } }
@media (max-width: 900px) { .system, .system-flip { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .system-flip .system-copy { order: 0; } }
@media (max-width: 900px) { .system-flip .detail { order: 1; } }
@media (max-width: 900px) { .detail { overflow-x: auto; } }
@media (max-width: 900px) { .detail .drawing, .detail .districts { min-width: 600px; } }
@media (max-width: 900px) { .detail:has(.drawing)::before { content: "Swipe to see the whole drawing \2192"; display: block; margin-bottom: 12px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); } }
@media (max-width: 900px) { .general-notes { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .general-notes li { padding: 32px 0 36px; border-left: 0; border-bottom: 1px solid var(--bone-line); } }
@media (max-width: 900px) { .stamp { right: 0; } }
@media (max-width: 640px) { .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .titleblock > div { border-left: 1px solid var(--bone-line); border-top: 1px solid var(--bone-line); } }
@media (max-width: 640px) { .titleblock > div:nth-child(odd) { border-left: 0; } }
@media (max-width: 640px) { .titleblock > div:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 640px) { .titleblock > div:nth-child(3n+1) { border-left: 1px solid var(--bone-line); } }
@media (max-width: 640px) { .titleblock > div:nth-child(odd) { border-left: 0; } }
@media (max-width: 640px) { .frame { inset: 8px; } }
@media (max-width: 460px) { .bar-brand span { display: none; } }
@media (max-width: 460px) { .hero-title { font-size: clamp(3.1rem, 15vw, 4.2rem); } }
@media (max-width: 460px) { .btn { padding: 15px 18px 14px; } }
.drawing .knock { fill: color-mix(in srgb, var(--sheet) 84%, #000); }
.hand-hero svg { margin: 4px 0 0 -14px; }
.krys-notes li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
@media (min-width: 901px) { .krys-notes li:nth-child(n+4) { border-top: 1px solid var(--bone-line); } }
.record-detail { margin-top: clamp(48px, 7vw, 88px); }
.record-detail + .record-detail { margin-top: 0; }
.see-detail { margin-left: 6px; }
.sheet-bone .system { border-top-color: var(--navy-line); }
.sheet-bone .tag { color: var(--stamp); }
.sheet-bone .detail { border-color: var(--navy-line); background: color-mix(in srgb, var(--bone) 70%, transparent); }
.sheet-bone .detail-tag { color: var(--navy-2); }
.sheet-bone .detail:has(.drawing)::before { color: var(--stamp); }
.sheet-bone .drawing .ink { stroke: var(--navy); }
.sheet-bone .drawing .ink-soft { stroke: var(--navy-2); }
.sheet-bone .drawing .ink-gold, .sheet-bone .drawing .co circle { stroke: var(--stamp); }
.sheet-bone .drawing .lbl { fill: var(--navy); }
.sheet-bone .drawing .lbl-sm { fill: var(--navy-2); }
.sheet-bone .drawing .lbl-gold { fill: var(--stamp); }
.sheet-bone .drawing .co text { fill: var(--navy); }
.sheet-bone .drawing .hatch-line { stroke: color-mix(in srgb, var(--navy) 30%, transparent); }
.sheet-bone .drawing .knock { fill: var(--bone); }
@media (max-width: 900px) { .hand, .construct .cline-v { display: none; } }
@media (max-width: 900px) { .hero .arc-1 { width: 760px; height: 760px; left: -420px; top: -300px; } }
.drawing .map-coast { stroke-width: 1.25; }
.drawing .map-grat { stroke-width: .75; opacity: .4; }
.drawing .map-border, .drawing .map-state { stroke-width: .75; opacity: .55; }
.drawing .map-state { opacity: .35; }
.drawing .map-frame { stroke-width: 1; }
.drawing .map-leader { stroke-width: 1; }
.drawing .map-pin circle, .drawing .map-pin path, .drawing .map-co circle { fill: none; stroke: var(--accent); stroke-width: 1.25; }
.drawing .map-co circle { fill: var(--sheet); }
.drawing .map-co text { font-size: 9.5px; letter-spacing: 0; fill: var(--accent); }
.drawing .map-co-detail text { font-size: 10.5px; }
.drawing .map-box { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 4 3; }
html.motion .drawing .map-pin, html.motion .drawing .map-co, html.motion .drawing .map-box { opacity: 0; transition: opacity .5s ease calc(var(--td, 900ms) + var(--k, 0) * 45ms); }
html.motion .drawing.is-drawn .map-pin, html.motion .drawing.is-drawn .map-co, html.motion .drawing.is-drawn .map-box { opacity: 1; }
.sb-head span:first-child { color: var(--accent); }
.sb-n { grid-row: 1 / span 2; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 600 10px/1 var(--mono); }
.sb-city { font: 500 15.5px/1.25 var(--text); color: var(--bone); }
.sb-sub { font: 600 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); }
.sb-ref { color: var(--accent); }
@media (max-width: 1080px) { .sb-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .sb-col:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 1080px) { .sb-col:nth-child(n+3) { border-top: 1px solid var(--bone-line); } }
@media (max-width: 900px) { .map-details { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .map-world .drawing { min-width: 880px; } }
@media (max-width: 640px) { .sb-cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sb-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--bone-line); } }
@media (max-width: 640px) { .sb-col:first-child { border-top: 0; } }
.drawing .map-marks .lbl { paint-order: stroke; stroke: var(--sheet); stroke-width: 4px; stroke-linejoin: round; }
.hub-seal { color: var(--bone); --kw-corners: none; }
@media (max-width: 900px) { .hub .drawing { min-width: 860px; } }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url(/files/kw-52bd5e69-big-shoulders-display-normal-700.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/files/kw-d5e6781d-libre-franklin-normal-400.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/files/kw-dfc4401f-libre-franklin-italic-400.woff2) format("woff2"); }
@font-face { font-family: "Overpass Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/files/kw-385550a1-overpass-mono-normal-400.woff2) format("woff2"); }
@font-face { font-family: "Nothing You Could Do"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/files/kw-ee874148-nothing-you-could-do-normal-400.woff2) format("woff2"); }

/* Rules on blocks that a media rule above must not beat (see clashes() in kirchworks-builder-site.py). */
.bar-nav a:hover { background-size: 100% 1px; }
.general-notes li:first-child { border-left: 0; padding-left: 0; }
.titleblock > div:first-child { border-left: 0; }
.hero .frame { top: calc(var(--bar) + 8px); }
.sb-col:first-child { border-left: 0; padding-left: 0; }
