/* Blueprint for Apex. Drawing sheets, dimension lines, title blocks and a crosshair. */

.blueprint {
	--gl: var(--accent-2, #6f9bd6);
	--gut: clamp(16px, 3.6vw, 52px);
	--max: 1400px;
	--gap: clamp(14px, 1.8vw, 26px);
	--mono: var(--font-mark, "IBM Plex Mono"), ui-monospace, monospace;
	--hand: "Architects Daughter", "Comic Sans MS", cursive;
	--line: color-mix(in srgb, var(--ink) 30%, transparent);
	--muted: color-mix(in srgb, var(--ink) 72%, transparent);
	--stroke: 1.5px;
	margin: 0;
	background-color: var(--paper);
	background-image:
		linear-gradient(color-mix(in srgb, var(--gl) 45%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--gl) 45%, transparent) 1px, transparent 1px),
		linear-gradient(color-mix(in srgb, var(--gl) 20%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--gl) 20%, transparent) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	background-position: -1px -1px;
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.bgd-coarse { background-size: 160px 160px, 160px 160px, 40px 40px, 40px 40px; }
.bgd-dots { background-image: radial-gradient(circle, color-mix(in srgb, var(--gl) 70%, transparent) 1.2px, transparent 1.6px); background-size: 24px 24px; }
.bgd-none { background-image: none; }
.blueprint *, .blueprint *::before, .blueprint *::after { box-sizing: border-box; }
:where(.blueprint) img { max-width: 100%; height: auto; display: block; }
:where(.blueprint) a { color: inherit; }
:where(.blueprint) p { margin: 0; }
:where(.blueprint) :is(h1, h2, h3) { margin: 0; font-family: var(--font-head); font-weight: var(--head-w, 700); font-style: var(--head-style, normal); line-height: 0.98; letter-spacing: -0.01em; text-transform: uppercase; }
.blueprint ::selection { background: var(--accent); color: var(--on-accent); }
.blueprint > main, .blueprint > footer { overflow-x: clip; }
.b-wrap { width: min(100% - var(--gut) * 2, var(--max)); margin-inline: auto; }
.b-skip { position: absolute; left: -9999px; }
.b-skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: 10px 14px; }
.b-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* -------------------------------------------------------------- drafting parts */

.b-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.b-bubble { position: relative; display: grid; grid-template-rows: 1fr 1fr; width: 54px; height: 54px; border: var(--stroke) solid var(--ink); border-radius: 50%; text-align: center; flex: none; line-height: 1; }
.b-bubble::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: var(--stroke) solid var(--ink); }
.b-bubble b { align-self: end; padding-bottom: 4px; font-family: var(--font-head); font-size: 17px; }
.b-bubble i { align-self: start; padding-top: 4px; font-style: normal; font-size: 9px; letter-spacing: 0.04em; }
.b-mark__t { font-weight: 600; border-bottom: var(--stroke) solid var(--ink); padding-bottom: 3px; }
.b-mark__s { color: var(--muted); }
.b-h2 { font-size: clamp(44px, 6.8vw, 112px); letter-spacing: -0.015em; }
.b-head { margin-bottom: clamp(30px, 4vw, 56px); }
.b-lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 46ch; margin-bottom: 22px; }
.b-lede--big { font-size: clamp(19px, 1.8vw, 26px); color: var(--ink); }
.b-hand { font-family: var(--hand); color: var(--accent); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }
.b-split { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap); align-items: end; margin-bottom: clamp(34px, 4vw, 60px); }
.b-split .b-head { margin-bottom: 0; }
.b-split__side { padding-bottom: 8px; }
.b-checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.b-checks li { display: flex; gap: 10px; align-items: center; }
.b-checks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border: var(--stroke) solid var(--accent); color: var(--accent); font-size: 12px; }
.b-balloon { display: inline-grid; place-items: center; width: 34px; height: 34px; border: var(--stroke) solid var(--ink); border-radius: 50%; font-family: var(--mono); font-weight: 600; font-size: 14px; flex: none; background: var(--paper); }
.b-balloon--big { width: 56px; height: 56px; font-size: 20px; border-width: 2px; }
.b-stamp { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); border: 2px solid currentColor; padding: 3px 8px; transform: rotate(-4deg); }
.b-ok { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }

/* dimension lines: JS adds .b-dim with a measured width above any [data-dim] */
[data-dim] { position: relative; }
.b-dim { position: absolute; left: 0; right: 0; top: -22px; height: 14px; pointer-events: none; color: var(--accent); }
.b-dim::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1px solid currentColor; }
.b-dim::after { content: ""; position: absolute; inset: 0; border-left: 1px solid currentColor; border-right: 1px solid currentColor; }
.b-dim b { position: absolute; left: 50%; top: -3px; transform: translateX(-50%); background: var(--paper); padding: 0 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.2; }
.b-dim i { position: absolute; top: 3px; width: 0; height: 0; border: 4px solid transparent; }
.b-dim i:first-of-type { left: 0; border-right: 8px solid currentColor; border-left: 0; }
.b-dim i:last-of-type { right: 0; border-left: 8px solid currentColor; border-right: 0; }
.bfx-full .b-dim { animation: b-grow 0.9s cubic-bezier(.2, .8, .2, 1) both; transform-origin: center; }
@keyframes b-grow { from { transform: scaleX(0); opacity: 0; } }

.b-ph { --n: 0; position: relative; display: block; width: 100%; height: 100%; min-height: 120px; background: color-mix(in srgb, var(--mist) 80%, transparent); overflow: hidden; }
.b-ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 0.75px), var(--line) calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px)), linear-gradient(to bottom right, transparent calc(50% - 0.75px), var(--line) calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px)); }
.b-ph::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; border: var(--stroke) dashed var(--accent); left: calc(50% + 24% * cos(var(--n) * 71deg) - 19%); top: calc(50% + 24% * sin(var(--n) * 71deg) - 19%); }

.b-frame { position: relative; margin: 0; padding: 10px; border: var(--stroke) solid var(--ink); background: color-mix(in srgb, var(--paper) 70%, transparent); }
.b-frame > img, .b-frame > .b-ph { width: 100%; height: 100%; object-fit: cover; }
.bph-tint .b-frame > img, .bph-tint .b-plate__fig > img, .bph-tint .b-fn__img > img { filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; }
.b-crop { position: absolute; width: 16px; height: 16px; border-color: var(--accent); border-style: solid; border-width: 0; }
.b-crop--tl { left: -8px; top: -8px; border-left-width: 2px; border-top-width: 2px; }
.b-crop--tr { right: -8px; top: -8px; border-right-width: 2px; border-top-width: 2px; }
.b-crop--bl { left: -8px; bottom: -8px; border-left-width: 2px; border-bottom-width: 2px; }
.b-crop--br { right: -8px; bottom: -8px; border-right-width: 2px; border-bottom-width: 2px; }
.b-frame__cap { position: absolute; left: 10px; bottom: -32px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }
.b-frame__cap::before { content: ""; display: inline-block; width: 26px; border-top: 2px solid var(--ink); vertical-align: middle; margin-right: 8px; }

.b-tb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 2px solid var(--ink); background: var(--paper); }
.b-tb > div { padding: 8px 12px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); min-width: 0; }
.b-tb > div.is-wide { grid-column: 1 / -1; border-right: 0; }
.b-tb > div:nth-last-child(-n + 3):not(.is-wide) { border-bottom: 0; }
.b-tb dt { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.b-tb dd { margin: 3px 0 0; font-family: var(--font-head); font-size: 16px; font-weight: 600; text-transform: uppercase; overflow-wrap: anywhere; }
.b-tb__dwg { font-size: 22px; color: var(--accent); }

.b-zones { position: absolute; display: flex; justify-content: space-around; font-family: var(--mono); font-size: 10px; color: var(--muted); pointer-events: none; }
.b-zones i { font-style: normal; }
.b-zones--top { left: 0; right: 0; top: -1px; height: 18px; align-items: center; border-bottom: 1px solid var(--ink); }
.b-zones--side { top: 18px; bottom: 0; left: -1px; width: 18px; flex-direction: column; align-items: center; border-right: 1px solid var(--ink); }

.b-cloud { position: absolute; inset: -14px -18px; width: calc(100% + 36px); height: calc(100% + 28px); fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; pointer-events: none; transition: stroke-dashoffset 1.6s ease 0.2s; overflow: visible; }
.is-in .b-cloud, .is-in.b-cloud { stroke-dashoffset: 0; }

/* -------------------------------------------------------------- buttons */

.b-btn {
	--bb: var(--accent);
	--bf: var(--on-accent);
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 13px 20px;
	background: var(--bb);
	color: var(--bf);
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	border: 0;
	cursor: pointer;
	position: relative;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.b-btn__i { display: inline-grid; width: 18px; height: 18px; }
.b-i { width: 100%; height: 100%; transition: transform 0.25s; }
.b-btn:hover .b-i { transform: translateX(4px); }
.b-btn:active { transform: translateY(1px); }
.b-btn--sm { padding: 9px 14px; font-size: 11.5px; }
.b-btn--big { padding: 17px 26px; font-size: 14px; }
.b-btn--hi { --bb: var(--accent); --bf: var(--on-accent); }
.bb-block .b-btn { box-shadow: 4px 4px 0 var(--ink); }
.bb-block .b-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.bb-outline .b-btn { --bb: transparent; --bf: var(--ink); box-shadow: inset 0 0 0 var(--stroke) var(--ink); }
.bb-outline .b-btn::before, .bb-outline .b-btn::after { content: ""; position: absolute; width: 10px; height: 10px; border-color: var(--accent); border-style: solid; border-width: 0; transition: all 0.25s; }
.bb-outline .b-btn::before { left: -5px; top: -5px; border-left-width: 2px; border-top-width: 2px; }
.bb-outline .b-btn::after { right: -5px; bottom: -5px; border-right-width: 2px; border-bottom-width: 2px; }
.bb-outline .b-btn:hover { --bb: var(--accent); --bf: var(--on-accent); }
.bb-outline .b-btn:hover::before { left: -9px; top: -9px; }
.bb-outline .b-btn:hover::after { right: -9px; bottom: -9px; }
.bb-outline .b-btn--hi { --bb: var(--accent); --bf: var(--on-accent); box-shadow: none; }
.bb-leader .b-btn { --bb: transparent; --bf: var(--ink); padding-left: 0; padding-right: 0; gap: 12px; }
.bb-leader .b-btn::before { content: ""; width: 34px; height: 34px; border-radius: 50%; border: var(--stroke) solid var(--accent); order: 3; flex: none; }
.bb-leader .b-btn__i { order: 2; width: 46px; height: 2px; background: var(--accent); overflow: hidden; color: transparent; transition: width 0.3s; }
.bb-leader .b-btn:hover .b-btn__i { width: 70px; }
.bb-tab .b-btn { --bb: var(--ink); --bf: var(--paper); border-radius: 0 14px 0 0; }
.bb-tab .b-btn:hover, .bb-tab .b-btn--hi { --bb: var(--accent); --bf: var(--on-accent); }
.bb-pill .b-btn { border-radius: 999px; }
.bb-pill .b-btn:hover { --bb: var(--ink); --bf: var(--paper); }
.bb-hand .b-btn { --bb: transparent; --bf: var(--accent); font-family: var(--hand); font-size: 22px; text-transform: none; letter-spacing: 0; padding: 4px 6px; }
.bb-hand .b-btn::after { content: ""; position: absolute; inset: -6px -12px; border: 2px solid var(--accent); border-radius: 46% 54% 52% 48% / 58% 44% 56% 42%; transform: rotate(-2deg); transition: transform 0.3s; }
.bb-hand .b-btn:hover::after { transform: rotate(2deg) scale(1.05); }
.b-btn--line, .bb-hand .b-btn--line { --bb: transparent; --bf: var(--ink); padding: 6px 0; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.b-btn--line::before, .b-btn--line::after { display: none !important; }

/* -------------------------------------------------------------- header */

.b-top { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); height: 66px; padding: 0 var(--gut); background: var(--paper); border-bottom: 2px solid var(--ink); transition: transform 0.35s; }
.b-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; border-bottom: 1px solid var(--ink); }
.b-top.is-hidden { transform: translateY(-110%); }
.admin-bar .b-top { top: 32px; }
.b-top__brand { display: grid; text-decoration: none; margin-right: auto; padding-right: 18px; border-right: 1px solid var(--ink); line-height: 1; }
.b-top__brand b { font-family: var(--font-head); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.b-top__brand small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); margin-top: 4px; }
.b-top__brand img { max-height: 36px; width: auto; }
.b-nav { display: flex; }
.b-nav a { display: grid; padding: 8px 14px; text-decoration: none; border-left: 1px solid var(--line); line-height: 1.1; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: 0.04em; transition: background 0.15s, color 0.15s; }
.b-nav a small { font-family: var(--mono); font-size: 9.5px; color: var(--accent); letter-spacing: 0.1em; font-weight: 500; }
.b-nav a:hover { background: var(--ink); color: var(--paper); }
.b-xy { display: grid; font-family: var(--mono); font-size: 11px; line-height: 1.3; letter-spacing: 0.08em; min-width: 70px; }
.b-xy b { color: var(--accent); font-weight: 600; }
.b-top__tg { display: none; position: relative; width: 46px; height: 46px; background: transparent; border: var(--stroke) solid var(--ink); cursor: pointer; }
.b-top__tg span:not(.screen-reader-text) { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform 0.3s; }
.b-top__tg span:first-child { top: 17px; }
.b-top__tg span:nth-child(2) { top: 26px; }
.b-menu-open .b-top__tg span:first-child { transform: translateY(4.5px) rotate(45deg); }
.b-menu-open .b-top__tg span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.b-menu { position: fixed; inset: 66px 0 0; z-index: 55; padding: 30px var(--gut); background: var(--paper); display: grid; align-content: start; gap: 26px; clip-path: inset(0 0 100% 0); transition: clip-path 0.5s cubic-bezier(.7, 0, .2, 1); overflow-y: auto; background-image: inherit; }
.b-menu.is-open { clip-path: inset(0); }
.b-menu nav { display: grid; border-top: 2px solid var(--ink); }
.b-menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 9vw, 56px); line-height: 1; }
.b-menu nav a small { font-family: var(--mono); font-size: 12px; color: var(--accent); }

.b-cross { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.b-cross.is-on { opacity: 1; }
.b-cross__h, .b-cross__v { position: absolute; background: color-mix(in srgb, var(--accent) 55%, transparent); }
.b-cross__h { left: 0; right: 0; height: 1px; top: var(--y, -10px); }
.b-cross__v { top: 0; bottom: 0; width: 1px; left: var(--x, -10px); }
.bfx-off .b-cross, .bfx-soft .b-cross { display: none; }

/* -------------------------------------------------------------- sections */

.b-sec { position: relative; padding-block: clamp(80px, 9vw, 150px); }
.b-sec[data-space="sm"] { padding-block: clamp(48px, 6vw, 80px); }
.b-sec[data-space="lg"] { padding-block: clamp(110px, 13vw, 200px); }
.b-sec[data-space="xl"] { padding-block: clamp(140px, 17vw, 260px); }
.blueprint [data-bg="paper"] { background-color: var(--paper); }
.blueprint [data-bg="mist"] { background-color: var(--mist); }
.blueprint [data-bg="ink"] { background-color: var(--ink); color: var(--paper); --ink: var(--paper); --paper: var(--ink); --muted: color-mix(in srgb, currentColor 72%, transparent); --line: color-mix(in srgb, currentColor 28%, transparent); }
.blueprint [data-bg="accent"] { background-color: var(--accent); color: var(--on-accent); --ink: var(--on-accent); --muted: color-mix(in srgb, var(--on-accent) 80%, transparent); }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s, transform 0.7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.bfx-off [data-reveal], .bfx-soft [data-reveal] { opacity: 1; transform: none; transition: none; }

/* -------------------------------------------------------------- hero: sheet */

.b-hero { padding-top: calc(66px + clamp(30px, 4vw, 54px)); padding-bottom: clamp(60px, 7vw, 110px); }
.b-sheet { position: relative; border: 2px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 6px; padding: 18px 0 0 18px; background: color-mix(in srgb, var(--paper) 55%, transparent); }
.b-sheet__in { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: clamp(40px, 5vw, 70px) clamp(20px, 3vw, 44px) clamp(24px, 3vw, 40px); }
.b-sheet__title { grid-column: 1 / -1; padding-top: 10px; }
.b-sheet__h { display: inline-block; font-size: clamp(76px, 15vw, 250px); line-height: 0.82; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.bfx-full .b-sheet__h, .bfx-full .b-detail__h { animation: b-stencil 1.2s steps(14) both 0.2s; }
@keyframes b-stencil { from { clip-path: inset(-40px 100% -40px -40px); } to { clip-path: inset(-40px -40px -40px -40px); } }
.b-sheet__fig { grid-column: 6 / -1; grid-row: 2 / 4; }
.b-sheet__fig .b-frame { aspect-ratio: 16 / 11; }
.b-sheet__notes { grid-column: 1 / 6; grid-row: 2; display: grid; gap: 22px; align-content: start; justify-items: start; }
.b-notes__h { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; border-bottom: var(--stroke) solid var(--ink); padding-bottom: 4px; }
.b-notes { margin: 0; padding-left: 22px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; }
.b-notes li::marker { font-family: var(--mono); color: var(--accent); }
.b-hero__tb { grid-column: 1 / 6; grid-row: 3; align-self: end; }
.b-sheet__hand { position: absolute; right: 8%; top: clamp(30px, 4vw, 60px); font-family: var(--hand); font-size: clamp(22px, 2.4vw, 34px); color: var(--accent); transform: rotate(-6deg); }
.b-sheet__hand::after { content: ""; position: absolute; left: -60px; top: 60%; width: 54px; height: 40px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); border-radius: 0 0 0 30px; transform: rotate(10deg); }

/* -------------------------------------------------------------- hero: detail */

.b-detail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; min-height: calc(100svh - 170px); }
.b-detail__copy { grid-column: 1 / 7; display: grid; gap: 20px; justify-items: start; }
.b-detail__h { font-size: clamp(70px, 11vw, 190px); line-height: 0.84; overflow-wrap: anywhere; display: inline-block; margin-top: 30px; }
.b-detail__fig { grid-column: 7 / -1; position: relative; aspect-ratio: 1; }
.b-detail__plate { position: absolute; inset: 0 18% 18% 0; border: var(--stroke) solid var(--ink); padding: 8px; }
.b-detail__plate img, .b-detail__plate .b-ph { width: 100%; height: 100%; object-fit: cover; }
.b-detail__bubble { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent); background: var(--paper); box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--ink); }
.b-detail__bubble img, .b-detail__bubble .b-ph { width: 100%; height: 100%; object-fit: cover; transform: scale(1.8); }
.b-detail__tag { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 8px; white-space: nowrap; }
.b-detail__ring { position: absolute; left: 20%; top: 26%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--accent); }
.b-detail__lead { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 0.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s 0.4s; }
.b-detail__fig.is-in .b-detail__lead { stroke-dashoffset: 0; }
.b-detail .b-tb { grid-column: 1 / -1; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.b-detail .b-tb > div.is-wide { grid-column: span 2; border-right: 1px solid var(--ink); }
.b-detail .b-tb > div { border-bottom: 0; }

/* -------------------------------------------------------------- general notes */

.b-gen__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.b-gen__t { font-family: var(--font-head); font-weight: 500; text-transform: none; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.08; letter-spacing: -0.015em; }
.b-gen__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.b-gen__notes li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.b-gen__notes h3 { font-size: 22px; margin-bottom: 4px; }
.b-gen__notes p { color: var(--muted); font-size: 15px; }

/* -------------------------------------------------------------- revision table */

.b-revs { padding-block: clamp(40px, 5vw, 70px); }
.b-rev { width: 100%; border-collapse: collapse; border: 2px solid var(--ink); background: var(--paper); }
.b-rev caption { text-align: left; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; padding-bottom: 10px; font-weight: 600; }
.b-rev th, .b-rev td { border: 1px solid var(--ink); padding: 10px 14px; text-align: left; }
.b-rev th { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; color: var(--muted); }
.b-rev td:first-child { width: 70px; font-family: var(--mono); font-weight: 600; color: var(--accent); }
.b-rev td:nth-child(2) { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 1.8vw, 26px); }
.b-rev td:nth-child(2) img { height: 30px; width: auto; }
.b-rev td:last-child { width: 160px; }
.b-rev tbody tr { transition: background 0.15s; }
.b-rev tbody tr:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* -------------------------------------------------------------- assembly */

.b-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(26px, 3vw, 44px) var(--gap); }
.b-step { position: relative; display: grid; gap: 14px; align-content: start; }
.b-step__lead { position: absolute; left: 60px; right: -20px; top: 8px; height: 40px; width: calc(100% - 40px); fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 6 5; }
.b-step:last-child .b-step__lead { display: none; }
.b-step__box { border: var(--stroke) solid var(--ink); padding: 20px; background: var(--paper); display: grid; gap: 8px; min-height: 230px; align-content: start; }
.b-step__tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
.b-step h3 { font-size: clamp(24px, 2.2vw, 32px); }
.b-step__box > p:last-child { color: var(--muted); font-size: 15px; }
.b-step:nth-child(even) .b-step__box { transform: translateY(26px); }
.b-tol { margin-top: clamp(70px, 8vw, 120px); display: grid; gap: 22px; max-width: 900px; }
.b-dimrow { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: var(--gap); }
.b-dimrow__l { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; }
.b-dimrow__line { position: relative; height: 18px; }
.b-dimline { position: absolute; left: 0; top: 0; height: 18px; width: calc(var(--p) * 1%); color: var(--accent); border-left: 1px solid currentColor; border-right: 1px solid currentColor; transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 0.15s); }
.b-dimline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; border-top: 1.5px solid currentColor; }
.b-dimline b { position: absolute; left: 50%; top: -3px; transform: translateX(-50%); background: var(--paper); padding: 0 6px; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.b-tol:not(.is-in) .b-dimline { transform: scaleX(0); }

/* -------------------------------------------------------------- work: plates */

.b-plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(30px, 3.4vw, 52px) var(--gap); }
.b-plate { display: grid; text-decoration: none; border: 2px solid var(--ink); background: var(--paper); transition: transform 0.3s, box-shadow 0.3s; }
.b-plate__fig { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--ink); margin: 8px 8px 0; }
.b-plate__fig img, .b-plate__fig .b-ph { width: 100%; height: 100%; object-fit: cover; transition: filter 0.4s, transform 0.6s; }
.b-plate__ring { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--accent); left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.4); opacity: 0; transition: transform 0.4s cubic-bezier(.3, 1.5, .5, 1), opacity 0.3s; }
.b-plate__ring::before, .b-plate__ring::after { content: ""; position: absolute; background: var(--accent); }
.b-plate__ring::before { left: 50%; top: -20px; bottom: -20px; width: 1px; }
.b-plate__ring::after { top: 50%; left: -20px; right: -20px; height: 1px; }
.b-plate:hover .b-plate__ring { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.b-plate:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--accent); }
.b-plate:hover .b-plate__fig img { filter: none; mix-blend-mode: normal; transform: scale(1.03); }
.b-plate__tb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-plate__t { grid-column: 1 / -1; padding: 12px 14px; border-bottom: 1px solid var(--ink); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1; }
.b-plate__m { display: grid; padding: 8px 14px; border-right: 1px solid var(--ink); min-width: 0; }
.b-plate__m:last-child { border-right: 0; }
.b-plate__m span { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.b-plate__m b { font-family: var(--font-head); font-size: 15px; font-weight: 600; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-plate:nth-child(3n + 2) { margin-top: clamp(0px, 4vw, 60px); }

/* -------------------------------------------------------------- work: schedule */

.b-sched { border: 2px solid var(--ink); background: var(--paper); }
.b-sched__h, .b-sched a { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 200px) minmax(0, 200px) 80px; gap: var(--gap); align-items: center; padding: 12px 16px; }
.b-sched__h { border-bottom: 2px solid var(--ink); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.b-sched ol { list-style: none; margin: 0; padding: 0; }
.b-sched li + li { border-top: 1px solid var(--ink); }
.b-sched a { position: relative; text-decoration: none; transition: background 0.15s, color 0.15s; font-size: 15px; }
.b-sched__no { font-family: var(--mono); color: var(--accent); font-weight: 600; }
.b-sched__t { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 38px); line-height: 1; }
.b-sched__rev { font-family: var(--mono); text-align: right; }
.b-sched__pic { position: absolute; right: 30%; top: 50%; width: 240px; aspect-ratio: 4 / 3; z-index: 3; border: 2px solid var(--ink); background: var(--paper); padding: 6px; pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(-2deg) scale(0.85); transition: opacity 0.2s, transform 0.3s; }
.b-sched__pic img, .b-sched__pic .b-ph { width: 100%; height: 100%; object-fit: cover; }
.b-sched a:hover { background: var(--ink); color: var(--paper); }
.b-sched a:hover .b-sched__pic { opacity: 1; transform: translateY(-50%) rotate(-2deg) scale(1); }

/* -------------------------------------------------------------- specification */

.b-spec__t { font-family: var(--font-head); font-weight: 500; text-transform: none; font-size: clamp(26px, 3.2vw, 48px); line-height: 1.1; max-width: 26ch; margin-bottom: clamp(60px, 7vw, 100px); }
.b-spec__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(50px, 5vw, 70px) var(--gap); }
.b-stat { display: grid; gap: 8px; align-content: start; }
.b-stat__n { display: inline-flex; align-items: flex-start; justify-self: start; font-family: var(--font-head); font-weight: 700; font-size: clamp(90px, 10vw, 170px); line-height: 0.82; letter-spacing: -0.03em; }
.b-stat__n small { font-size: 0.36em; color: var(--accent); margin-left: 4px; }
.b-stat h3 { font-size: 22px; border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 10px; }
.b-stat p:last-child { color: var(--muted); font-size: 15px; }

/* -------------------------------------------------------------- bill of materials */

.b-bom__table { border: 2px solid var(--ink); background: var(--paper); }
.b-bom__h, .b-part { display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1.6fr) 150px; gap: var(--gap); align-items: center; padding: 12px 18px; }
.b-bom__h { border-bottom: 2px solid var(--ink); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.b-bom__table ol { list-style: none; margin: 0; padding: 0; }
.b-part { position: relative; padding-block: 22px; transition: background 0.15s; }
.b-part + .b-part { border-top: 1px solid var(--ink); }
.b-part h3 { font-size: clamp(24px, 2.4vw, 36px); }
.b-part p { color: var(--muted); font-size: 15px; }
.b-part__t { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; text-align: right; color: var(--accent); }
.b-part__img { position: absolute; right: 180px; top: 50%; width: 200px; aspect-ratio: 4 / 3; border: 2px solid var(--ink); padding: 5px; background: var(--paper); opacity: 0; transform: translateY(-50%) scale(0.9); transition: opacity 0.2s, transform 0.3s; pointer-events: none; z-index: 2; }
.b-part__img img, .b-part__img .b-ph { width: 100%; height: 100%; object-fit: cover; }
.b-part:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.b-part:hover .b-part__img { opacity: 1; transform: translateY(-50%) scale(1); }
.b-part:hover .b-balloon { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.b-bom__cta { margin-top: 30px; }
.b-band { margin-top: clamp(60px, 7vw, 100px); }
.b-band .b-frame { aspect-ratio: 21 / 8; }

/* -------------------------------------------------------------- detail callouts */

.b-details__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(36px, 4vw, 60px) var(--gap); }
.b-det { display: grid; gap: 10px; justify-items: start; }
.b-det__circle { position: relative; width: min(100%, 240px); aspect-ratio: 1; display: grid; place-items: center; text-align: center; }
.b-det__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transition: stroke-dashoffset 1.3s ease calc(var(--i) * 0.15s); }
.b-det.is-in .b-det__ring { stroke-dashoffset: 0; }
.b-det__circle::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed var(--accent); }
.b-det__big { position: relative; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 66px); line-height: 0.88; padding: 0 16%; }
.b-det__tag { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }
.b-det__tag span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.b-det h3 { font-size: 24px; }
.b-det p:not([class]) { color: var(--muted); font-size: 15px; }

/* -------------------------------------------------------------- redlines */

.b-reds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(50px, 5vw, 80px) clamp(40px, 4vw, 70px); padding: 20px 20px 0; }
.b-redline { position: relative; margin: 0; display: grid; gap: 16px; align-content: start; }
.b-redline:nth-child(even) { transform: translateY(40px) rotate(1deg); }
.b-redline:nth-child(even).is-in { transform: translateY(40px) rotate(1deg); }
.b-redline__rev { justify-self: start; display: grid; place-items: center; width: 44px; height: 38px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--accent); }
.b-redline__rev { color: var(--on-accent); padding-top: 12px; font-size: 10px; }
.b-redline blockquote { margin: 0; font-family: var(--hand); color: var(--accent); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }
.b-red--sheets .b-redline { border: 2px solid var(--ink); padding: 26px; background: var(--paper); transform: none !important; }
.b-red--sheets .b-redline blockquote { font-family: var(--font); color: var(--ink); font-size: 19px; line-height: 1.5; }
.b-redline figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.b-redline figcaption span { display: grid; color: var(--muted); }
.b-redline figcaption b { color: var(--ink); font-family: var(--font-head); text-transform: uppercase; font-size: 16px; }
.b-face { width: 50px !important; height: 50px !important; min-height: 0; border-radius: 50%; object-fit: cover; filter: grayscale(1); border: var(--stroke) solid var(--ink); flex: none; }

/* -------------------------------------------------------------- elevations */

.b-elev__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(50px, 5vw, 70px) var(--gap); }
.b-elev__i { grid-column: span 4; }
.b-elev__i .b-frame { aspect-ratio: 4 / 5; }
.b-elev__i--0 { grid-column: 1 / span 5; }
.b-elev__i--1 { grid-column: 7 / span 6; margin-top: 80px; }
.b-elev__i--1 .b-frame, .b-elev__i--4 .b-frame { aspect-ratio: 16 / 11; }
.b-elev__i--2 { grid-column: 2 / span 4; }
.b-elev__i--3 { grid-column: 7 / span 4; }
.b-elev__i--4 { grid-column: 1 / span 7; }
.b-elev__i--5 { grid-column: 9 / span 4; margin-top: -60px; }

/* -------------------------------------------------------------- drawn by */

.b-drawn__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.b-drawn__fig { position: relative; aspect-ratio: 1; }
.b-drawn__pic { position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; border: 2px solid var(--ink); }
.b-drawn__pic img, .b-drawn__pic .b-ph { width: 100%; height: 100%; object-fit: cover; }
.b-drawn__x::before, .b-drawn__x::after { content: ""; position: absolute; background: var(--accent); }
.b-drawn__x::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.b-drawn__x::after { top: 50%; left: 0; right: 0; height: 1px; }
.b-drawn__d { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); background: var(--paper); padding: 2px 8px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.b-drawn__copy { display: grid; gap: 18px; justify-items: start; }
.b-drawn__copy .b-mark, .b-drawn__copy .b-lede { margin-bottom: 0; }
.b-insp { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.b-insp__s { font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); border: 2px solid var(--accent); padding: 6px 10px; transform: rotate(-3deg); }

/* -------------------------------------------------------------- specs */

.b-sw { display: inline-flex; border: var(--stroke) solid var(--ink); }
.b-sw button { border: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; padding: 10px 16px; cursor: pointer; }
.b-sw [aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.b-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); border-left: 2px solid var(--ink); border-top: 2px solid var(--ink); background: var(--paper); }
.b-sp { border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: clamp(22px, 2.4vw, 36px); display: grid; gap: 14px; align-content: start; justify-items: start; position: relative; }
.b-sp.is-featured { background: color-mix(in srgb, var(--accent) 12%, var(--paper)); }
.b-sp.is-featured::after { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--accent); pointer-events: none; }
.b-sp__h { display: flex; justify-content: space-between; align-items: center; width: 100%; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.b-sp h3 { font-size: clamp(34px, 3.2vw, 50px); }
.b-sp__blurb { color: var(--muted); font-size: 15px; }
.b-sp__price { display: grid; font-family: var(--font-head); font-weight: 700; font-size: clamp(54px, 5.4vw, 84px); line-height: 0.85; letter-spacing: -0.02em; }
.b-sp__price small { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 400; color: var(--muted); margin-top: 8px; }
.b-sp__inc { list-style: none; margin: 0 0 12px; padding: 0; width: 100%; border-top: 1px solid var(--ink); }
.b-sp__inc li { display: grid; grid-template-columns: 40px 1fr; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.b-sp__inc li span { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.b-sp__inc .is-off { opacity: 0.45; text-decoration: line-through; }
.b-quote__more { margin-top: 30px; }

/* -------------------------------------------------------------- RFI log */

.b-rfi__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.b-rfi__side { position: sticky; top: 110px; }
.b-rfi__side .b-h2 { font-size: clamp(40px, 5vw, 80px); }
.b-rfi__log { border: 2px solid var(--ink); background: var(--paper); }
.b-q + .b-q { border-top: 1px solid var(--ink); }
.b-q summary { list-style: none; display: grid; grid-template-columns: 90px minmax(0, 1fr) 30px; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; }
.b-q summary::-webkit-details-marker { display: none; }
.b-q__n { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); }
.b-q__q { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.15; }
.b-q__x { position: relative; width: 26px; height: 26px; border: var(--stroke) solid var(--ink); border-radius: 50%; }
.b-q__x::before, .b-q__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.3s; }
.b-q__x::after { transform: translate(-50%, -50%) rotate(90deg); }
.b-q[open] .b-q__x::after { transform: translate(-50%, -50%) rotate(0); }
.b-q[open] summary { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.b-q__a { padding: 0 20px 22px 126px; color: var(--muted); }
.b-q__r { font-family: var(--hand); color: var(--accent); font-size: 20px; margin-bottom: 4px; }
.b-q__a p + p { margin-top: 10px; }

/* -------------------------------------------------------------- field notes */

.b-fns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--gap); }
.b-fn a { display: grid; gap: 12px; padding: 10px 10px 20px; border: 2px solid var(--ink); background: var(--paper); text-decoration: none; height: 100%; align-content: start; transition: box-shadow 0.25s, transform 0.25s; }
.b-fn a:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.b-fn__img { aspect-ratio: 16 / 10; overflow: hidden; }
.b-fn__img img, .b-fn__img .b-ph { width: 100%; height: 100%; object-fit: cover; }
.b-fn__meta { display: flex; justify-content: space-between; gap: 10px; padding: 0 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.b-fn__t { padding: 0 8px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1; }
.b-fn__x { padding: 0 8px; color: var(--muted); font-size: 15px; }
.b-fn__go { padding: 0 8px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }

/* -------------------------------------------------------------- RFP form */

.b-rfp__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.b-mail { display: inline-block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.8vw, 40px); text-decoration: none; border-bottom: 2px solid var(--accent); overflow-wrap: anywhere; }
.b-form { border: 2px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 5px; background: var(--paper); display: grid; }
.b-form__h { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 2px solid var(--ink); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 20px; }
.b-form__h span:last-child { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent); align-self: center; }
.b-form__row { display: grid; grid-template-columns: 1fr 1fr; }
.b-form label { display: grid; gap: 4px; padding: 12px 18px; border-bottom: 1px solid var(--ink); }
.b-form__row label + label { border-left: 1px solid var(--ink); }
.b-form label span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.b-form input, .b-form textarea { border: 0; background: transparent; color: var(--ink); font-family: var(--hand); font-size: 24px; padding: 4px 0; outline: none; resize: vertical; width: 100%; }
.b-form input:focus, .b-form textarea:focus { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.b-form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; flex-wrap: wrap; }
.b-form__sig { display: grid; font-size: 14px; }
.b-form__sig span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.b-form__sig b { font-family: var(--hand); font-size: 24px; color: var(--accent); font-weight: 400; }
.b-ok, .b-err { margin: 14px 18px 0; padding: 10px 12px; font-family: var(--mono); font-size: 13px; border: 2px solid currentColor; }
.b-ok { color: #1f9d55; }
.b-err { color: #d64545; }

/* -------------------------------------------------------------- footer */

.b-foot { padding: clamp(40px, 5vw, 80px) 0 40px; }
.b-foot__sheet { position: relative; border: 2px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 6px; padding: 18px 0 0 18px; background: color-mix(in srgb, var(--paper) 60%, transparent); }
.b-foot__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; padding: clamp(24px, 3vw, 44px); }
.b-foot__word { grid-column: 1 / -1; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 18vw; line-height: 0.8; letter-spacing: -0.02em; white-space: nowrap; }
.b-foot__word span { display: inline-block; }
.b-north { width: 70px; fill: none; stroke: var(--ink); stroke-width: 1.5; align-self: end; grid-row: 2; grid-column: 2; }
.b-north path { fill: var(--accent); stroke: none; }
.b-north text { fill: var(--ink); stroke: none; font-family: var(--mono); font-size: 11px; }
.b-foot__tb { grid-row: 2; grid-column: 1; }
.b-foot__tb dd { text-transform: none; font-family: var(--font); font-weight: 400; font-size: 15px; }
.b-foot__mail { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2vw, 28px); text-transform: uppercase; text-decoration: none; margin-bottom: 6px; overflow-wrap: anywhere; }
.b-foot__t { color: var(--muted); }
.b-foot__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.b-foot__nav a { text-decoration: none; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: 17px; }
.b-foot__nav a small { font-family: var(--mono); font-size: 10px; color: var(--accent); margin-right: 6px; }
.b-foot__nav a:hover { color: var(--accent); }
.b-foot__bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--mono); font-size: 12px; }
.b-foot__warn { text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }

/* -------------------------------------------------------------- plotter intro */

.b-plot { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background-color: var(--paper); background-image: inherit; background-size: inherit; animation: b-out 0.6s ease 2.3s forwards; cursor: pointer; }
.b-nointro .b-plot, .bfx-off .b-plot { display: none; }
.b-plot__frame { position: absolute; width: min(90vw, 1100px); height: min(62vw, 680px); fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.b-plot__frame * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: b-draw 1.2s cubic-bezier(.6, 0, .2, 1) forwards; }
.b-plot__frame rect:nth-child(2) { animation-delay: 0.25s; }
.b-plot__frame path { animation-delay: 0.6s; }
.b-plot__axis { stroke: var(--accent); stroke-dasharray: 1; opacity: 0.6; }
.b-plot__name { position: relative; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 11vw, 170px); line-height: 0.85; animation: b-stencil 0.9s steps(12) 0.9s both; }
.b-plot__meta { position: absolute; bottom: calc(50% - min(31vw, 340px) + 30px); right: calc(50% - min(45vw, 550px) + 40px); display: grid; gap: 4px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; text-align: right; }
.b-plot__meta b { color: var(--accent); }
@keyframes b-draw { to { stroke-dashoffset: 0; } }
@keyframes b-out { to { opacity: 0; visibility: hidden; } }

/* -------------------------------------------------------------- inner pages */

.b-proj, .b-work--archive, .b-article, .b-notesec--archive, .b-page, .b-404 { padding-top: calc(66px + clamp(60px, 7vw, 100px)); }
.b-ihead { display: grid; justify-items: start; gap: 12px; margin-bottom: clamp(36px, 4vw, 60px); }
.b-ihead__t { display: inline-block; font-size: clamp(54px, 8.6vw, 150px); line-height: 0.86; overflow-wrap: anywhere; margin-top: 24px; }
.b-proj__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap); align-items: end; margin-bottom: clamp(60px, 6vw, 90px); }
.b-proj__fig .b-frame { aspect-ratio: 16 / 10; }
.b-proj__tb { grid-template-columns: 1fr; }
.b-proj__tb > div, .b-proj__tb > div:nth-last-child(-n + 3):not(.is-wide) { border-right: 0; border-bottom: 1px solid var(--ink); }
.b-proj__tb > div:last-child { border-bottom: 0; }
.b-proj__tb dd { text-transform: none; }
.b-prose { max-width: 70ch; font-size: 18px; line-height: 1.7; margin-left: calc((100% + var(--gap)) / 12 * 3); }
.b-prose > * + * { margin-top: 1.1em; }
.b-prose h2, .b-prose h3 { font-size: clamp(26px, 2.6vw, 38px); margin-top: 1.5em; }
.b-prose a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.b-prose img { border: 2px solid var(--ink); padding: 6px; background: var(--paper); }
.b-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-family: var(--hand); color: var(--accent); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; }
.b-prose code { font-family: var(--mono); font-size: 0.9em; }
.b-nextsheet { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; margin: 0 var(--gut); padding: clamp(30px, 4vw, 60px); border: 2px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; }
.b-nextsheet__s { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; }
.b-nextsheet__t { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(42px, 7vw, 120px); line-height: 0.86; }
.b-nextsheet__arr { font-size: clamp(50px, 7vw, 110px); line-height: 0.8; color: var(--accent); transition: transform 0.3s; }
.b-nextsheet:hover .b-nextsheet__arr { transform: translateX(14px); }
.b-icta__box { position: relative; display: grid; justify-items: start; gap: 18px; padding: clamp(30px, 4vw, 60px); border: 2px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 6px; background: var(--paper); }
.b-icta__t { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 6vw, 96px); line-height: 0.9; max-width: 16ch; }
.b-article__tb { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 900px; margin-bottom: 40px; }
.b-article__tb > div { border-bottom: 0 !important; }
.b-article__fig { margin-bottom: 70px; }
.b-article__fig .b-frame { aspect-ratio: 16 / 9; }
.b-article .b-prose, .b-page .b-prose { margin-left: 0; }
.b-pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; max-width: 70ch; border-top: 2px solid var(--ink); padding-top: 18px; }
.b-pnav a { display: grid; text-decoration: none; }
.b-pnav span:last-child { text-align: right; }
.b-pnav small { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.b-pnav b { font-family: var(--font-head); text-transform: uppercase; font-size: 20px; }
.b-404__sheet { position: relative; display: grid; justify-items: start; gap: 20px; padding: clamp(30px, 5vw, 70px); border: 2px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 6px; background: var(--paper); }
.b-404__n { font-family: var(--font-head); font-weight: 700; font-size: clamp(140px, 26vw, 400px); line-height: 0.8; -webkit-text-stroke: 2px var(--ink); color: transparent; }
.b-404__cloud { inset: 10px auto auto 10px; width: clamp(300px, 52vw, 760px); height: clamp(170px, 30vw, 420px); }
.b-404__note { position: absolute; right: 8%; top: 18%; transform: rotate(-5deg); }
.b-404__t { font-size: clamp(30px, 4vw, 60px); max-width: 20ch; }
.b-404__act { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.b-search { display: flex; width: min(100%, 560px); border: 2px solid var(--ink); background: var(--paper); margin-top: 10px; }
.b-search label { flex: 1; }
.b-search input { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; padding: 13px 16px; outline: none; }
.b-search button { border: 0; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; padding: 0 20px; cursor: pointer; }
.b-pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 34px; font-family: var(--mono); }
.b-pager a, .b-pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: var(--stroke) solid var(--ink); text-decoration: none; background: var(--paper); }
.b-pager .current { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.b-empty { font-family: var(--hand); font-size: 30px; color: var(--accent); }

/* -------------------------------------------------------------- responsive */

@media (max-width: 1200px) {
	.b-nav, .b-xy { display: none; }
	.b-top__tg { display: block; }
}
@media (max-width: 900px) {
	.b-top__cta { display: none; }
	.b-split, .b-gen__grid, .b-rfi__grid, .b-rfp__grid, .b-drawn__grid, .b-proj__grid { grid-template-columns: 1fr; }
	.b-sheet__in { grid-template-columns: 1fr; }
	.b-sheet__title, .b-sheet__fig, .b-sheet__notes, .b-hero__tb { grid-column: 1 / -1; grid-row: auto; }
	.b-sheet__fig { margin-bottom: 30px; }
	.b-sheet__hand { display: none; }
	.b-detail { grid-template-columns: 1fr; min-height: 0; }
	.b-detail__copy, .b-detail__fig { grid-column: 1 / -1; }
	.b-detail .b-tb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.b-detail .b-tb > div.is-wide { grid-column: 1 / -1; }
	.b-step:nth-child(even) .b-step__box { transform: none; }
	.b-step__lead { display: none; }
	.b-dimrow { grid-template-columns: 1fr; gap: 6px; }
	.b-plate:nth-child(3n + 2) { margin-top: 0; }
	.b-sched__h { display: none; }
	.b-sched a { grid-template-columns: 1fr auto; row-gap: 4px; }
	.b-sched__no { grid-row: 1; }
	.b-sched__t { grid-column: 1 / -1; }
	.b-sched a > span:nth-child(3) { grid-column: 1; }
	.b-sched a > span:nth-child(4) { display: none; }
	.b-sched__rev { grid-row: 1; grid-column: 2; }
	.b-sched__pic { display: none; }
	.b-bom__h { display: none; }
	.b-part { grid-template-columns: 46px 1fr; row-gap: 6px; }
	.b-part p, .b-part__t { grid-column: 2; text-align: left; }
	.b-part__img { display: none; }
	.b-elev__grid { grid-template-columns: 1fr 1fr; }
	.b-elev__i[class*="--"] { grid-column: span 1; margin-top: 0; }
	.b-elev__i--0, .b-elev__i--4 { grid-column: 1 / -1 !important; }
	.b-redline:nth-child(even), .b-redline:nth-child(even).is-in { transform: none; }
	.b-rfi__side { position: static; }
	.b-q summary { grid-template-columns: 1fr 26px; }
	.b-q__n { grid-column: 1 / -1; }
	.b-q__a { padding: 0 20px 20px; }
	.b-form__row { grid-template-columns: 1fr; }
	.b-form__row label + label { border-left: 0; }
	.b-drawn__fig { width: 80%; margin-inline: auto; }
	.b-foot__in { grid-template-columns: 1fr; }
	.b-foot__tb, .b-north { grid-column: 1; grid-row: auto; }
	.b-north { display: none; }
	.b-prose { margin-left: 0; }
	.b-article__tb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.b-pnav { grid-template-columns: 1fr; }
	.b-pnav span:last-child { text-align: left; }
	.b-tb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.b-tb > div:nth-last-child(-n + 3):not(.is-wide) { border-bottom: 1px solid var(--ink); }
	.b-rev td:last-child { width: auto; }
}
@media (max-width: 560px) {
	.blueprint { font-size: 16px; }
	.b-elev__grid { grid-template-columns: 1fr; }
	.b-plate__tb { grid-template-columns: 1fr 1fr; }
	.b-plate__m:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.blueprint *, .blueprint *::before, .blueprint *::after { animation: none !important; transition-duration: 0.01ms !important; }
	.b-plot { display: none; }
	[data-reveal] { opacity: 1; transform: none; }
}

.b-red--redlines .b-redline { padding: 44px 40px 36px; }
.b-red--redlines .b-cloud { inset: 0; width: 100%; height: 100%; }
.b-red--redlines .b-redline__rev { position: absolute; left: -10px; top: -10px; }
.b-head .b-h2 { display: inline-block; }
