/* ==========================================================================
   Frontier Kits (frontierkits.com) stylesheet
   One file for every page. No external requests.
   Sections: 1 fonts  2 tokens  3 base  4 header  5 layout  6 components
             7 menu  8 forms  9 footer  10 print
   ========================================================================== */

/* 1. Fonts (self-hosted, SIL Open Font License; see fonts/LICENSES.txt) */
@font-face { font-family: "Anton"; src: url("fonts/anton.woff") format("woff"); font-weight: 400; font-style: normal; font-display: optional; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: optional; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: optional; }

/* 2. Tokens (DFSN institutional dark palette) */
:root {
  --bg: #0F1115;
  --surface: #181C23;
  --raised: #1F242D;
  --ink: #F1F5F9;
  --ink-2: #94A3B8;
  --green: #3B5E47;
  --green-hover: #4D7A5D;
  --link: #A7CDB3;
  --amber: #D97706;
  --amber-ink: #E8912A;
  --border: #2A303C;
  --border-control: #64748B;
  --error: #FCA5A5;
  --white: #FFFFFF;
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem;
  --radius: 2px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 28px -10px rgba(0, 0, 0, 0.7);
  --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 var(--space-3); letter-spacing: 0.02em; text-transform: uppercase; }
h1 { font-size: clamp(1.75rem, 1.1rem + 3.4vw, 3.5rem); }
@media (max-width: 22.49rem) { h1 { font-size: 1.5rem; } }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: 0.03em; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 var(--space-4); }
p, li, dd { text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid var(--amber-ink); outline-offset: 2px; }
[id] { scroll-margin-top: 6rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-2); }
.tm { font-size: 0.55em; vertical-align: super; line-height: 0; }
.data { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 0.875rem; color: var(--ink-2); }
.container { width: 100%; max-width: 76rem; margin: 0 auto; padding-left: max(var(--space-4), env(safe-area-inset-left)); padding-right: max(var(--space-4), env(safe-area-inset-right)); }
@media (min-width: 48rem) { .container { padding-left: max(var(--space-6), env(safe-area-inset-left)); padding-right: max(var(--space-6), env(safe-area-inset-right)); } }
.skip-link { position: absolute; left: var(--space-3); top: -5rem; z-index: 100; padding: var(--space-3) var(--space-4); background: var(--amber); color: #0F1115; font-weight: 700; }
.skip-link:focus { top: var(--space-3); color: #0F1115; }

/* 4. Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4.25rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: var(--space-3); min-height: 2.75rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 2.75rem; height: 2.75rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-sub { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.nav-toggle { display: none; align-items: center; gap: var(--space-2); min-height: 2.75rem; padding: 0 var(--space-3); background: transparent; border: 1px solid var(--border-control); border-radius: var(--radius); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.nav-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.site-nav a { display: flex; align-items: center; min-height: 2.75rem; padding: 0 var(--space-3); color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover { color: var(--link); border-bottom-color: var(--border-control); }
.site-nav a[aria-current="page"] { color: var(--link); border-bottom-color: var(--link); }
@media (max-width: 55.99rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: 100%; padding-bottom: var(--space-3); }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { border-bottom: 1px solid var(--border); padding: 0 var(--space-2); min-height: 3rem; }
}
.status-strip { margin: 0; background: var(--raised); border-bottom: 1px solid var(--border); border-left: 4px solid var(--amber); color: var(--ink); font-size: 0.9375rem; }
.status-line { display: block; padding-top: var(--space-2); padding-bottom: var(--space-2); }
.status-strip a { color: var(--white); font-weight: 700; }

/* 5. Layout */
.section { padding: var(--space-7) 0; }
.section-tight { padding-top: var(--space-6); }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 48rem) { .section { padding: var(--space-8) 0; } .section-tight { padding-top: var(--space-6); } }
.section-head { max-width: 46rem; margin-bottom: var(--space-6); }
.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 44rem; }
.eyebrow { display: block; margin-bottom: var(--space-3); font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-ink); }
.grid { display: grid; gap: var(--space-5); }
.grid > * { min-width: 0; }
@media (min-width: 40rem) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.split { display: grid; gap: var(--space-6); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 56rem) { .split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.line-art { display: block; width: 100%; max-width: 22rem; margin: 0 auto; }
.page-head { padding: var(--space-7) 0 var(--space-6); background: var(--surface); border-bottom: 1px solid var(--border); }
.page-head .notice { margin-top: var(--space-5); }

/* Hero */
.hero { padding: var(--space-7) 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; gap: var(--space-6); align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 60rem) { .hero { padding: var(--space-8) 0; } .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-7); } }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
@media (max-width: 29.99rem) { .cta-row .btn { width: 100%; } }

/* 6. Components */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: var(--space-3) var(--space-5); border: 2px solid var(--green); border-radius: var(--radius); font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, box-shadow 0.15s; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); color: var(--white); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--link); }
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
.text-link::after { content: "\2192"; margin-left: var(--space-2); }
.card { padding: var(--space-5); background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.section:not(.section-alt) .card { background: var(--surface); box-shadow: none; }
.card p:last-child { margin-bottom: 0; }
.ui-icon { display: block; width: 2.25rem; height: 2.25rem; margin-bottom: var(--space-3); fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ui-icon .acc, .h-icon .acc { stroke: var(--amber); }
.h-icon { display: inline-block; width: 1.25em; height: 1.25em; margin-right: var(--space-2); vertical-align: -0.25em; fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-block; margin-bottom: var(--space-3); padding: var(--space-1) var(--space-2); border: 1px solid var(--border-control); border-radius: 2px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); background: var(--bg); }
.notice { margin-top: var(--space-5); padding: var(--space-4) var(--space-5); background: var(--raised); border: 1px solid var(--border); border-left: 4px solid var(--amber); border-radius: var(--radius); font-size: 0.9375rem; }
.notice p { margin: 0; }
.after-grid { margin: var(--space-5) 0 0; }
.chain { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
.chain li { padding: var(--space-2) 0; }
.chain li::marker { font-family: var(--font-mono); font-weight: 700; color: var(--amber-ink); }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li { padding: var(--space-3) 0; border-top: 1px solid var(--border); }
.plain-list li:first-child { border-top: 0; padding-top: 0; }

/* Supply ledger (hero) */
.ledger { padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow); }
.ledger h2 { font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--space-3); }
.ledger dl, .item-data { margin: 0; }
.ledger dl > div { padding: var(--space-3) 0; border-top: 1px solid var(--border); }
.ledger dt, .item-data dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.ledger dd { margin: 0; font-weight: 700; }
.ledger dd .data { display: block; font-weight: 400; }

/* Route diagram and steps */
.route-art { display: block; width: 100%; margin-bottom: var(--space-5); }
@media (max-width: 39.99rem) { .route-art { display: none; } }
.steps { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.steps > li { min-width: 0; padding-top: var(--space-4); border-top: 2px solid var(--green); }
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step-no { display: block; margin-bottom: var(--space-2); font-family: var(--font-mono); font-size: 0.875rem; font-weight: 700; color: var(--amber-ink); }
.steps p { margin: 0; color: var(--ink-2); }

.banner { padding: var(--space-6) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: var(--radius); }
.banner p { max-width: 44rem; }

/* Tables */
.table-wrap { margin: var(--space-5) 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--raised); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
caption { padding: var(--space-3) var(--space-4); text-align: left; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
th, td { padding: var(--space-3) var(--space-4); text-align: left; vertical-align: top; border-top: 1px solid var(--border); }
thead th { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
tbody th { font-weight: 700; width: 40%; }

/* Legal */
.legal { max-width: 52rem; padding-top: var(--space-6); padding-bottom: var(--space-8); }
.legal section { padding-top: var(--space-6); }
.legal h3 { margin-top: var(--space-5); font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.toc { padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.toc h2 { font-size: 1.125rem; }
.toc ul { margin: 0; padding: 0; list-style: none; }
.toc a { display: flex; align-items: center; min-height: 2.75rem; }

/* 7. Menu */
.filters { margin-bottom: var(--space-5); }
.filter-group { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.chip { min-height: 2.75rem; padding: 0 var(--space-4); background: var(--raised); border: 1px solid var(--border-control); border-radius: 999px; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--link); color: var(--link); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--link); color: var(--white); }
.chip-mode { border-radius: var(--radius); }
.chip-mode[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #0F1115; }
.filter-count { margin: 0; font-family: var(--font-mono); font-size: 0.875rem; color: var(--ink-2); min-height: 1.5em; }
.item-grid { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 66rem) { .item-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.item { min-width: 0; padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.item[hidden] { display: none; }
.item p { color: var(--ink-2); }
.item-data > div { padding: var(--space-2) 0; border-top: 1px solid var(--border); }
.item-data dd { margin: 0; font-size: 0.9375rem; }
.filter-empty { padding: var(--space-5); background: var(--surface); border: 1px dashed var(--border-control); border-radius: var(--radius); }
.loc .item-data > div:first-child { border-top: 0; }

/* 8. Forms */
.form-layout { display: grid; gap: var(--space-6); align-items: start; }
.form-layout > * { min-width: 0; }
@media (min-width: 60rem) { .form-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-7); } }
.site-form { padding: var(--space-5); background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { margin-bottom: var(--space-5); }
.field label { display: block; margin-bottom: var(--space-1); font-weight: 700; }
.hint { display: block; margin-bottom: var(--space-2); font-size: 0.9375rem; color: var(--ink-2); }
p.hint { margin-top: var(--space-4); margin-bottom: 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { display: block; width: 100%; min-height: 3rem; padding: var(--space-3); background: var(--raised); border: 1px solid var(--border-control); border-radius: var(--radius); color: var(--ink); font: inherit; font-size: 1rem; }
textarea { min-height: 8rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.required-mark { color: var(--error); }
.field-error { display: block; margin-top: var(--space-2); color: var(--error); font-weight: 700; }
.field-error[hidden] { display: none; }
.field-screen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: var(--space-5); padding: var(--space-4) var(--space-5); background: var(--raised); border: 2px solid var(--green); border-radius: var(--radius); }
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: var(--error); }
.form-status h2, .form-status h3 { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: var(--space-2); }
.form-status p, .form-status ul { margin: 0; }
.form-status ul { padding-left: var(--space-5); }
.form-status li a { display: inline-block; padding: var(--space-2) 0; }
.site-form .notice { margin: 0 0 var(--space-5); background: var(--bg); }

/* 9. Footer */
.site-footer { background: #0A0C0F; border-top: 2px solid var(--green); color: var(--ink-2); padding: var(--space-7) 0 max(var(--space-6), env(safe-area-inset-bottom)); font-size: 0.9375rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: var(--space-6); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); margin-bottom: var(--space-2); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: flex; align-items: center; min-height: 2.75rem; }
.footer-legal { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.footer-legal p { max-width: 60rem; }
.footer-legal p:last-child { margin-bottom: 0; }

/* 9b. Dark-theme surfaces, texture and depth */
body { background-image: var(--tex-grain); }
.site-header { background: #0C0E12; border-bottom: 1px solid var(--green); }
.hero { background-image: var(--tex-grain), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 10px), radial-gradient(ellipse at 20% 30%, #1B222B 0%, #0F1115 70%); }
.page-head, .section-alt { background-image: var(--tex-grain), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 10px); }
.card, .item, .ledger, .site-form, .table-wrap, .banner, .toc { background-image: var(--tex-grain), linear-gradient(180deg, #1E232C 0%, #161A20 100%); box-shadow: var(--shadow); }
.section:not(.section-alt) .card { background-color: var(--surface); box-shadow: var(--shadow); }
.card, .item { border-top: 2px solid var(--green); transition: transform 0.18s ease, border-color 0.18s ease; }
.card:hover, .item:hover { transform: translateY(-3px); border-top-color: var(--amber); }
.ledger { border-top: 4px solid var(--amber); }
.steps > li { border-top-color: var(--amber); }
.btn-primary { box-shadow: 0 3px 0 #23382B, 0 10px 18px -8px rgba(0, 0, 0, 0.8); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #0F1115; }
.tag { background: var(--bg); border-color: var(--amber); color: var(--amber-ink); }
.data { color: var(--amber-ink); }
.item-data dd.pending, .pending { color: var(--ink-2); font-style: italic; }
.notice { background: var(--surface); }
.notice-safety { border-left-color: #FCA5A5; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.site-nav a[aria-current="page"], .site-nav a:hover { border-bottom-color: var(--amber); color: var(--white); }
input::placeholder, textarea::placeholder { color: var(--ink-2); }
select option { background: var(--raised); color: var(--ink); }
.grid-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.div-no { display: block; margin-bottom: var(--space-2); font-family: var(--font-mono); font-size: 0.875rem; font-weight: 700; color: var(--amber-ink); }
@media (prefers-reduced-motion: reduce) { .card:hover, .item:hover { transform: none; } }

/* 9c. Photographs, bands, lists, lot lookup */
.photo { margin: 0; }
.photo img { display: block; width: 100%; border: 1px solid var(--border-control); box-shadow: 0 22px 40px -14px rgba(0, 0, 0, 0.9), 10px 10px 0 -2px rgba(59, 94, 71, 0.55); }
.photo figcaption, .band figcaption { margin-top: var(--space-2); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-2); }
@media (max-width: 55.99rem) { .photo { max-width: 26rem; } }
@media (min-width: 56rem) { .photo-map { max-width: 22rem; justify-self: end; } }
.band { position: relative; margin: 0; background: var(--surface); border-top: 4px solid var(--green); border-bottom: 1px solid var(--border); }
.band img { display: block; width: 100%; height: clamp(11rem, 32vw, 28rem); object-fit: cover; }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(11rem, 32vw, 28rem); pointer-events: none; box-shadow: inset 0 30px 44px -22px rgba(0, 0, 0, 0.8), inset 0 -40px 50px -24px rgba(0, 0, 0, 0.85); }
.band figcaption { margin-top: 0; padding-top: var(--space-2); padding-bottom: var(--space-2); }
.chain { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
.chain li { padding: var(--space-2) 0; }
.chain li::marker { font-family: var(--font-mono); font-weight: 700; color: var(--amber-ink); }
.lookup { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: flex-end; }
.lookup .field { flex: 1 1 14rem; margin-bottom: 0; }
.lookup-result { margin-top: var(--space-4); padding: var(--space-4) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--amber); }
.lookup-result[hidden] { display: none; }
.lookup-result p { margin: 0; }
.badge { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 2.75rem; padding: 0 var(--space-3); border: 1px solid var(--green-hover); background: rgba(59, 94, 71, 0.25); color: var(--ink); font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* 9d. Depth, texture and dimensional icons */
.hero { position: relative; background-image: var(--tex-grain), repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.07) 0 1px, transparent 1px 2.5rem), repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.07) 0 1px, transparent 1px 2.5rem), radial-gradient(ellipse at 75% 35%, rgba(59, 94, 71, 0.35) 0%, rgba(15, 17, 21, 0) 60%); box-shadow: inset 0 -60px 70px -40px #0F1115; }
.hero .eyebrow { display: inline-block; padding: var(--space-1) var(--space-2); background: rgba(15, 17, 21, 0.9); }
.hero .lede { color: var(--ink); }
.hero h1 { text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6), 0 10px 26px rgba(0, 0, 0, 0.8); }
.page-head, .section-alt { background-image: var(--tex-grain), repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.07) 0 1px, transparent 1px 2.5rem), repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.07) 0 1px, transparent 1px 2.5rem); box-shadow: inset 0 18px 30px -20px rgba(0, 0, 0, 0.9), inset 0 -18px 30px -20px rgba(0, 0, 0, 0.8); }
.card, .item, .ledger, .table-wrap, .steps > li { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 -1px 0 rgba(0, 0, 0, 0.5) inset, 0 18px 34px -14px rgba(0, 0, 0, 0.9), 0 3px 6px rgba(0, 0, 0, 0.45); }
.steps > li { padding: var(--space-5); background-image: var(--tex-grain), linear-gradient(180deg, #1E232C 0%, #161A20 100%); border: 1px solid var(--border); border-top: 3px solid var(--amber); }
.ledger { background-image: var(--tex-grain), linear-gradient(180deg, rgba(31, 36, 45, 0.97) 0%, rgba(22, 26, 32, 0.97) 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 30px 50px -18px rgba(0, 0, 0, 0.95), 10px 10px 0 -2px rgba(59, 94, 71, 0.5); }
.section-head h2 { padding-bottom: var(--space-3); background: linear-gradient(90deg, var(--amber) 0 3rem, var(--border) 3rem 100%) left bottom / 100% 2px no-repeat; }
.section-head h2 + .lede { margin-top: var(--space-3); }

/* Dimensional icons: each icon sits on a raised, bevelled tile with a lit top
   edge and a shadow under it, and its lines cast a short shadow. */
.ui-icon { box-sizing: content-box; width: 2.25rem; height: 2.25rem; padding: 0.7rem; margin-bottom: var(--space-4); border-radius: 0.6rem; background: linear-gradient(145deg, #4D7A5D 0%, #2F4C3A 55%, #1F3327 100%); border: 1px solid #5E8F70; stroke: #F1F5F9; stroke-width: 1.75; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 -3px 0 rgba(0, 0, 0, 0.35) inset, 0 5px 0 #14231A, 0 14px 20px -6px rgba(0, 0, 0, 0.85); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35)); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.ui-icon path, .ui-icon circle { filter: drop-shadow(0 1.500px 0.500px rgba(0, 0, 0, 0.55)); }
.ui-icon .acc { stroke: #FDBA5A; }
.card:hover .ui-icon { transform: translateY(-3px) rotate(-3deg); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 -3px 0 rgba(0, 0, 0, 0.35) inset, 0 8px 0 #14231A, 0 20px 26px -8px rgba(0, 0, 0, 0.9); }
.h-icon { box-sizing: content-box; padding: 0.3rem; border-radius: 0.35rem; background: linear-gradient(145deg, #4D7A5D, #1F3327); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 3px 0 #14231A, 0 6px 10px -3px rgba(0, 0, 0, 0.8); vertical-align: -0.5em; margin-right: var(--space-3); }
.h-icon .acc { stroke: #FDBA5A; }
.step-no, .div-no { display: inline-block; padding: var(--space-1) var(--space-3); margin-bottom: var(--space-3); background: linear-gradient(180deg, #E88A1A, #B25F04); color: #0F1115; border-radius: 0.25rem; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 3px 0 #6E3B02, 0 8px 12px -4px rgba(0, 0, 0, 0.8); }
.brand img { border-radius: 0.5rem; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 3px 0 #14231A, 0 8px 14px -4px rgba(0, 0, 0, 0.9); }
.chip { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 3px 0 rgba(0, 0, 0, 0.5); }
.chip[aria-pressed="true"] { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 3px 0 #23382B; }
@media (prefers-reduced-motion: reduce) { .card:hover .ui-icon { transform: none; } }
@media print { .hero, .page-head, .section-alt { background-image: none !important; box-shadow: none !important; } }

@media (max-width: 29.99rem) { .brand-name { font-size: 1.05rem; } .brand-sub { font-size: 0.6875rem; } .header-inner { flex-wrap: nowrap; } .js .site-nav.is-open { position: absolute; left: 0; right: 0; top: 100%; background: #0C0E12; padding: 0 var(--space-4) var(--space-3); border-bottom: 1px solid var(--green); } .site-header { position: sticky; } }

/* 10. Print (menu and nutrition matrix) */
@media print {
  .site-header .nav-toggle, .site-nav, .skip-link, .filters, .site-form, .form-status, #waitlist, .cta-row, .footer-links, .route-art { display: none !important; }
  .site-header { position: static; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .status-strip { background: #fff; color: #000; border-bottom: 1px solid #000; }
  .status-strip a { display: none; }
  .section, .page-head, .hero { padding: 12pt 0; background: #fff; border: 0; }
  .item-grid { display: block; }
  .item { display: block !important; break-inside: avoid; margin-bottom: 10pt; background: #fff; border: 1px solid #000; }
  .item[hidden] { display: block !important; }
  .card, .ledger, .notice { box-shadow: none; background: #fff; break-inside: avoid; }
  .site-footer { background: #fff; color: #000; padding: 12pt 0; }
  .site-footer a, a { color: #000; }
}

/* ==========================================================================
   12. Application screens: catalog, configurator, tracker, vendor, admin
   ========================================================================== */
.app-shell { max-width: 72rem; }
.app-shell > .notice { margin-top: var(--space-6); }
.panel { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 2px solid var(--green); scroll-margin-top: 6rem; }
.panel:first-child { margin-top: 0; }
.panel > h2 { margin-bottom: var(--space-4); }
.panel h3 { margin: var(--space-6) 0 var(--space-3); }
.panel h4 { margin: var(--space-5) 0 var(--space-3); font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; }

.app-nav { position: sticky; top: 4.25rem; z-index: 5; margin-bottom: var(--space-6); padding: var(--space-2) var(--space-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.app-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin: 0; padding: 0; list-style: none; }
.app-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--space-2); font-weight: 700; }
.app-nav li:last-child { margin-left: auto; }
.app-nav .btn { min-height: 2.75rem; padding: var(--space-2) var(--space-4); }

.app-form { margin-top: var(--space-4); max-width: 44rem; }
.app-form.narrow { max-width: 28rem; }
.app-form.inline-form { max-width: 28rem; }
.field-check { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.field-check input { width: 1.5rem; height: 1.5rem; margin: 0.125rem 0 0; accent-color: var(--green-hover); }
.field-check label { margin: 0; font-weight: 400; }
.field input[type="file"] { width: 100%; min-height: 3rem; padding: var(--space-2); font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--border-control); border-radius: var(--radius); }
.form-layout.two { margin-top: var(--space-4); }
@media (min-width: 60rem) { .form-layout.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }

.kv { display: grid; gap: 0; margin: 0 0 var(--space-4); }
.kv > div { display: grid; gap: var(--space-1); padding: var(--space-3) 0; border-top: 1px solid var(--border); }
.kv > div:first-child { border-top: 0; }
.kv dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
@media (min-width: 40rem) { .kv > div { grid-template-columns: 14rem minmax(0, 1fr); gap: var(--space-4); align-items: baseline; } }
.totals { max-width: 28rem; margin: var(--space-5) 0 0 auto; padding: var(--space-3) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--amber); border-radius: var(--radius); }
.totals > div { grid-template-columns: minmax(0, 1fr) auto; }
.totals dd { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }
.totals .total dd { font-size: 1.25rem; color: var(--white); }

.pill { display: inline-block; padding: 0.125rem var(--space-2); border: 1px solid var(--border-control); border-radius: 2px; font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: var(--bg); }
.pill-approved, .pill-active, .pill-verified, .pill-shipped, .pill-completed, .pill-paid { border-color: var(--green-hover); color: var(--link); }
.pill-pending, .pill-pending-review, .pill-partially-shipped, .pill-awaiting-shipment { border-color: var(--amber); color: var(--amber-ink); }
.pill-suspended, .pill-rejected, .pill-stock-exception, .pill-cancelled { border-color: var(--error); color: var(--error); }

.app-table th[scope="row"] { font-weight: 700; width: auto; }
.app-table td, .app-table th { overflow-wrap: break-word; }
.app-table thead th { white-space: nowrap; }
.app-table .btn { white-space: nowrap; }
.status-strip[hidden] { display: none; }
.app-table select { width: 100%; min-height: 2.75rem; padding: var(--space-2); font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--border-control); border-radius: var(--radius); }
.part-cell { display: grid; gap: var(--space-2); min-width: 12rem; }
.part-cell .data { display: block; }
.alt-label { font-size: 0.875rem; color: var(--ink-2); }
.btn-small { min-height: 2.75rem; padding: var(--space-2) var(--space-4); font-size: 0.9375rem; }
.btn-pair { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.bp-grid { margin-top: var(--space-4); }
@media (min-width: 48rem) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bp-card h3 a { color: var(--white); }
.schematic { display: block; width: 100%; max-width: 56rem; height: auto; padding: var(--space-4); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.app-steps { margin: 0; padding-left: var(--space-6); }
.app-steps li { padding: var(--space-2) 0; }
.checkout { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.shipment { margin-top: var(--space-5); }
.shipment h3 { margin-top: 0; }

/* Narrow screens: each table row becomes a labelled block. */
@media (max-width: 47.99rem) {
  .app-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .app-table, .app-table tbody, .app-table tr, .app-table td, .app-table th { display: block; width: 100%; }
  .app-table tr { padding: var(--space-3) 0; border-top: 2px solid var(--border); }
  .app-table tr:first-child { border-top: 0; }
  .app-table td, .app-table th[scope="row"] { padding: var(--space-2) var(--space-4); border-top: 0; }
  .app-table td::before, .app-table th[scope="row"]::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
  .app-nav { position: static; }
  .app-nav li:last-child { margin-left: 0; }
}
input[type="password"], input[type="number"], input[type="url"] { display: block; width: 100%; min-height: 3rem; padding: var(--space-3); background: var(--raised); border: 1px solid var(--border-control); border-radius: var(--radius); color: var(--ink); font: inherit; font-size: 1rem; }
.app-form input, .app-form select, .app-form textarea { background: var(--bg); }
.app-shell [aria-live] > h2 { margin-top: var(--space-6); }

/* Drop-ship additions: grouped fields, addresses, returns, printed packing slip */
.fieldset { margin: 0 0 var(--space-5); padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.fieldset legend { padding: 0 var(--space-2); font-weight: 700; }
.fieldset .field:last-child { margin-bottom: 0; }
.addr { font-style: normal; }
.addr span { display: block; }
.return-block { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.return-block:empty { display: none; }
.return-block h4 { margin: 0 0 var(--space-3); font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; }
.return-block .app-form { margin-top: var(--space-4); }
.app-form[hidden] { display: none; }
.shipment > .btn { margin: var(--space-2) 0 var(--space-4); }
.panel > .btn { margin-bottom: var(--space-4); }
.slip-print { display: none; }
@media print {
  body.printing-slip > *:not(.slip-print) { display: none !important; }
  body.printing-slip { background: #fff; color: #000; }
  body.printing-slip .slip-print { display: block; padding: 0.5in; font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #000; }
  .slip-print h1 { font-family: Arial, Helvetica, sans-serif; font-size: 20pt; text-transform: none; letter-spacing: 0; color: #000; margin: 0 0 8pt; }
  .slip-print h2 { font-family: Arial, Helvetica, sans-serif; font-size: 13pt; text-transform: none; letter-spacing: 0; color: #000; margin: 16pt 0 4pt; }
  .slip-print p, .slip-print address { color: #000; margin: 0 0 6pt; }
  .slip-print .slip-brand { font-weight: 700; }
  .slip-print table { width: 100%; border-collapse: collapse; margin: 6pt 0 12pt; }
  .slip-print th, .slip-print td { border: 1px solid #000; padding: 5pt 7pt; text-align: left; color: #000; background: #fff; }
}

/* Flight test */
.flight-summary { margin: var(--space-3) 0; padding: var(--space-3) var(--space-4); border: 1px solid var(--border); border-left: 4px solid var(--amber); background: var(--surface); font-weight: 700; }
.flight-summary.is-pass { border-left-color: var(--green-hover); }
.flight-summary.is-fail { border-left-color: var(--error); color: var(--error); }
.flight-table td:last-child { color: var(--ink-2); }
.flight-steps li { padding: var(--space-3) 0; border-top: 1px solid var(--border); }
.flight-steps li:first-child { border-top: 0; }
#ft-report { width: 100%; min-height: 12rem; margin-top: var(--space-4); padding: var(--space-3); font-family: var(--font-mono); font-size: 0.875rem; color: var(--ink); background: var(--bg); border: 1px solid var(--border-control); border-radius: var(--radius); }
#ft-report[hidden] { display: none; }

/* Member proposals and bids */
.proposal > .btn, .proposal > .btn-pair { margin: var(--space-3) 0; }
.proposal .notice { margin: var(--space-3) 0; }
.bid-cell { padding: var(--space-2) 0; border-top: 1px solid var(--border); }
.bid-cell:first-child { border-top: 0; padding-top: 0; }
.bid-cell input[type="number"] { min-height: 2.75rem; padding: var(--space-2); }

/* One-step purchase */
.kit-price { display: grid; gap: var(--space-1); margin: 0 0 var(--space-4); }
.kit-price-value { font-family: var(--font-mono); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--white); }
.bp-card .kit-price { margin-top: var(--space-4); }
.bp-card .kit-price-value { font-size: 1.5rem; }
.bp-card > .btn { margin-top: auto; align-self: flex-start; }
.btn-buy { min-height: 3.5rem; padding-left: var(--space-6); padding-right: var(--space-6); font-size: 1.125rem; }
@media (max-width: 39.99rem) { .btn-buy { width: 100%; } }
.buy-points { margin: var(--space-4) 0 0; max-width: 46rem; }
.buy-points li { padding: var(--space-2) 0 var(--space-2) var(--space-4); border-left: 3px solid var(--green); margin-bottom: var(--space-2); }
.buy-terms { margin-top: var(--space-3); font-size: 0.9375rem; max-width: 46rem; }
.kit-parts { margin-top: var(--space-5); border-top: 1px solid var(--border); }
.kit-parts > summary { min-height: 2.75rem; padding: var(--space-3) 0; cursor: pointer; font-weight: 600; color: var(--ink); }
.kit-parts > summary:hover { color: var(--white); }

/* Home page: the sign-up form sits in the first screen. On a phone it comes straight after the heading. */
.hero-signup { padding: var(--space-5) 0 var(--space-6); }
.hero-signup .hero-grid { gap: var(--space-4); align-items: start; }
.hero-signup h1 { margin-bottom: 0; }
.hero-form { scroll-margin-top: 6rem; }
.hero-form .site-form { padding: var(--space-4); border-top: 4px solid var(--amber); }
.hero-form .site-form h2 { margin: 0 0 var(--space-3); font-size: 1.25rem; }
.hero-form .field { margin-bottom: var(--space-3); }
.hero-form .btn { width: 100%; }
.hero-form .hint { margin: var(--space-3) 0 0; font-size: 0.875rem; }
.hero-rest .lede { margin-top: 0; }
@media (max-width: 59.99rem) { .hero-signup h1 { font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem); } .hero-signup .eyebrow { margin-bottom: var(--space-2); } }
@media (min-width: 60rem) {
  .hero-signup { padding: var(--space-7) 0; }
  .hero-signup .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: var(--space-7); row-gap: var(--space-5); }
  .hero-head { grid-column: 1; grid-row: 1; }
  .hero-rest { grid-column: 1; grid-row: 2; }
  .hero-form { grid-column: 2; grid-row: 1 / span 2; }
  .hero-form .site-form { padding: var(--space-5); }
}
.ledger-wrap { max-width: 44rem; }
@media (max-width: 29.99rem) { .hero-signup .eyebrow { display: none; } }
/* One checkbox with its label on a public form. The control is 44px square; the drawn box inside it is 24px. */
.field-tick { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--space-2); align-items: center; margin-bottom: var(--space-3); }
.site-form .field-tick input[type="checkbox"] { -webkit-appearance: none; appearance: none; position: relative; width: 2.75rem; height: 2.75rem; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; cursor: pointer; }
.site-form .field-tick input[type="checkbox"]::before { content: ""; position: absolute; left: 0.625rem; top: 0.625rem; width: 1.5rem; height: 1.5rem; box-sizing: border-box; border: 2px solid var(--ink-2); background: var(--bg); }
.site-form .field-tick input[type="checkbox"]:checked::before { border-color: var(--green-hover); background: var(--green); }
.site-form .field-tick input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 1rem; top: 1.0625rem; width: 0.8125rem; height: 0.4375rem; border-left: 3px solid var(--white); border-bottom: 3px solid var(--white); transform: rotate(-45deg); }
.field-tick label { margin: 0; font-weight: 400; cursor: pointer; }
@media (forced-colors: active) { .site-form .field-tick input[type="checkbox"] { -webkit-appearance: auto; appearance: auto; } .site-form .field-tick input[type="checkbox"]::before, .site-form .field-tick input[type="checkbox"]::after { content: none; } }
.form-more { margin-bottom: var(--space-3); }
.form-more > summary { min-height: 2.75rem; display: flex; align-items: center; cursor: pointer; color: var(--ink-2); font-size: 0.9375rem; }
.form-more > summary:hover { color: var(--white); }
.form-more .field { margin: var(--space-2) 0 0; }

/* 9e. Second texture and depth pass.
   Layers, back to front: page colour, contour lines or schematic drawing, grid, grain, light, content.
   Every texture is decoration. Text always sits on a solid or near-solid surface. */
.site-header { background: rgba(12, 14, 18, 0.86); -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 12px 24px -12px rgba(0, 0, 0, 0.9); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: #0C0E12; } }

/* Hero and page heads: a parts schematic drawn behind the content, lit from the right, fading into the page. */
.hero, .page-head { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .page-head::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: url("img/tex-schematic.svg") right -4rem center / auto 135% no-repeat; opacity: 0.2;
  -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 72%, #000 100%); mask-image: linear-gradient(90deg, transparent 38%, #000 72%, #000 100%); }
.page-head::before { background-size: auto 240%; background-position: right -2rem top 30%; opacity: 0.13; }
.hero::after, .page-head::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 82% 20%, rgba(217, 119, 6, 0.13) 0%, rgba(217, 119, 6, 0) 60%), radial-gradient(ellipse 70% 90% at 10% 100%, rgba(59, 94, 71, 0.28) 0%, rgba(59, 94, 71, 0) 65%), linear-gradient(180deg, rgba(15, 17, 21, 0) 55%, #0F1115 100%); }
@media (max-width: 59.99rem) { .hero::before, .page-head::before { background-size: auto 70%; background-position: right -6rem top; opacity: 0.12; } }
.hero h1, .page-head h1 { text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 3px 0 rgba(0, 0, 0, 0.7), 0 14px 30px rgba(0, 0, 0, 0.9); }

/* The sign-up card stands above the drawing: lit top edge, hard offset plate, long soft shadow. */
.hero-form .site-form { position: relative; background-color: #1A1F27; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 -1px 0 rgba(0, 0, 0, 0.6) inset, 12px 12px 0 -2px rgba(59, 94, 71, 0.45), 0 40px 60px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6); }

/* Alternate sections: contour lines of terrain under the grid, with the edges in shadow. */
.section-alt { position: relative; isolation: isolate; }
.section-alt::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: url("img/tex-contour.svg") center / cover no-repeat; opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse 85% 100% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 85% 100% at 50% 50%, #000 30%, transparent 100%); }
.site-footer { position: relative; isolation: isolate; overflow: hidden; box-shadow: inset 0 30px 40px -30px rgba(0, 0, 0, 0.9); }
.site-footer::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: url("img/tex-contour.svg") center bottom / cover no-repeat; opacity: 0.1; }

/* A ruler edge where a plain section begins. */
.section:not(.section-alt):not(.section-tight) { background-image: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.28) 0 1px, transparent 1px 0.625rem), repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.45) 0 1px, transparent 1px 3.125rem); background-size: 100% 0.375rem, 100% 0.75rem; background-repeat: no-repeat; background-position: left top, left top; }

/* Cards read as plates fixed to the page: lit top edge, dark bottom edge, corner marks, contact shadow and long shadow. */
.card, .item, .steps > li { position: relative; background-image: var(--tex-grain), linear-gradient(165deg, #232934 0%, #191D24 45%, #14181D 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09) inset, 1px 0 0 rgba(255, 255, 255, 0.03) inset, 0 -2px 0 rgba(0, 0, 0, 0.55) inset, 0 2px 2px rgba(0, 0, 0, 0.5), 0 26px 44px -18px rgba(0, 0, 0, 0.95); }
.card::after, .item::after, .steps > li::after { content: ""; position: absolute; right: 0.5rem; bottom: 0.5rem; width: 0.875rem; height: 0.875rem; pointer-events: none; border-right: 2px solid rgba(148, 163, 184, 0.35); border-bottom: 2px solid rgba(148, 163, 184, 0.35); }
.card:hover, .item:hover { transform: translateY(-5px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 -2px 0 rgba(0, 0, 0, 0.55) inset, 0 4px 4px rgba(0, 0, 0, 0.5), 0 40px 60px -20px rgba(0, 0, 0, 1), 0 0 0 1px rgba(217, 119, 6, 0.35); }
.card:hover::after, .item:hover::after { border-color: var(--amber); }

/* Panels of the app screens and tables: recessed wells. */
.panel { position: relative; }
.table-wrap { background-image: var(--tex-grain), linear-gradient(180deg, #171B22 0%, #12151A 100%); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7) inset, 0 1px 0 rgba(255, 255, 255, 0.05); }
.site-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .site-form select, .site-form textarea { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) inset; }
.kit-price-value { text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7), 0 0 28px rgba(217, 119, 6, 0.25); }

/* Buttons: a raised key that travels down when pressed. */
.btn { transition: transform 0.08s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease; }
.btn-primary { background-image: linear-gradient(180deg, #4F7C5F 0%, #3B5E47 55%, #314F3C 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 4px 0 #1C2E23, 0 14px 22px -8px rgba(0, 0, 0, 0.9); }
.btn-primary:hover { background-image: linear-gradient(180deg, #5C8E6E 0%, #4D7A5D 55%, #3F664D 100%); }
.btn-ghost { background-color: rgba(15, 17, 21, 0.55); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 4px 0 rgba(0, 0, 0, 0.6), 0 12px 18px -8px rgba(0, 0, 0, 0.8); }
.btn:active:not([disabled]) { transform: translateY(3px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 0 #1C2E23, 0 4px 8px -4px rgba(0, 0, 0, 0.9); }

/* Platform ledger as a full-width specification plate. */
.ledger-wrap { max-width: none; }
.ledger-wrap .ledger dl { display: grid; gap: 0 var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .ledger-wrap .ledger dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .ledger-wrap .ledger dl { grid-template-columns: repeat(5, minmax(0, 1fr)); } .ledger-wrap .ledger dl > div { border-top: 0; border-left: 1px solid var(--border); padding: 0 0 0 var(--space-4); } .ledger-wrap .ledger dl > div:first-child { border-left: 0; padding-left: 0; } }

@media (prefers-reduced-motion: reduce) { .card:hover, .item:hover, .btn:active:not([disabled]) { transform: none; } }
@media (forced-colors: active) { .hero::before, .hero::after, .page-head::before, .page-head::after, .section-alt::before, .site-footer::before, .card::after, .item::after, .steps > li::after { display: none; } }
@media print { .hero::before, .hero::after, .page-head::before, .page-head::after, .section-alt::before, .site-footer::before, .card::after, .item::after, .steps > li::after { display: none !important; } .section { background-image: none !important; } }
.page-head::before { background-size: auto 190%; background-position: right 2rem center; opacity: 0.22; -webkit-mask-image: linear-gradient(90deg, transparent 58%, #000 82%); mask-image: linear-gradient(90deg, transparent 58%, #000 82%); }
@media (max-width: 59.99rem) { .page-head::before { background-size: auto 70%; background-position: right -6rem top; opacity: 0.12; -webkit-mask-image: none; mask-image: none; } }

/* Open market: check labels and challenges */
.pill-built, .pill-staff, .pill-confirmed, .pill-community { border-color: var(--green-hover); color: var(--link); }
.pill-some, .pill-hypothesis, .pill-proposed, .pill-in-review { border-color: var(--amber); color: var(--amber-ink); }
.verify { margin: var(--space-3) 0; font-size: 0.9375rem; color: var(--ink-2); }
.verify .pill { margin-right: var(--space-1); }
.challenge-list li { padding: var(--space-3) var(--space-4); margin-bottom: var(--space-2); background: rgba(0, 0, 0, 0.25); border-left: 3px solid var(--amber); }
.challenge-list .data { display: inline; font-size: 0.8125rem; }
.sell-block { margin: var(--space-4) 0; padding: var(--space-4); background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); border-left: 3px solid var(--green-hover); }
.sell-block h4 { margin-top: 0; }

/* 9f. Field theme: waxed canvas, stitching, brass rivets, a bearing ring. Colours stay in the DFSN palette. */
body { background-image: var(--tex-grain), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px); }
/* Stitching: a dashed line set in from the edge of each card, like a sewn hem. Rivets: one in each corner. */
.card, .item, .steps > li, .ledger, .bo-kpi {
  outline: 1px dashed rgba(217, 119, 6, 0.32); outline-offset: -0.4375rem;
  background-image:
    radial-gradient(circle at 0.8125rem 0.8125rem, #E0B15A 0 0.09rem, #8A5A14 0.1rem 0.19rem, rgba(0, 0, 0, 0.55) 0.2rem 0.27rem, transparent 0.29rem),
    radial-gradient(circle at calc(100% - 0.8125rem) 0.8125rem, #E0B15A 0 0.09rem, #8A5A14 0.1rem 0.19rem, rgba(0, 0, 0, 0.55) 0.2rem 0.27rem, transparent 0.29rem),
    radial-gradient(circle at 0.8125rem calc(100% - 0.8125rem), #E0B15A 0 0.09rem, #8A5A14 0.1rem 0.19rem, rgba(0, 0, 0, 0.55) 0.2rem 0.27rem, transparent 0.29rem),
    var(--tex-grain),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #252B33 0%, #1A1F25 45%, #14181D 100%); }
.card:hover, .item:hover { outline-color: rgba(217, 119, 6, 0.75); }
.hero-form .site-form { outline: 1px dashed rgba(217, 119, 6, 0.35); outline-offset: -0.4375rem; }
/* Webbing-strap buttons: a woven face with a stitched line along each long edge. */
.btn-primary { background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 4px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 4px), linear-gradient(180deg, #4F7C5F 0%, #3B5E47 55%, #314F3C 100%); outline: 1px dashed rgba(241, 245, 249, 0.35); outline-offset: -0.3125rem; }
.btn-primary:hover { background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 4px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 4px), linear-gradient(180deg, #5C8E6E 0%, #4D7A5D 55%, #3F664D 100%); }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
/* Field labels: eyebrows and tags as stamped tape. */
.eyebrow { display: inline-block; padding: 0.125rem var(--space-2); border-left: 3px solid var(--amber); background: rgba(217, 119, 6, 0.08); }
.hero .eyebrow { background: rgba(15, 17, 21, 0.9); }
/* A bearing ring behind the hero text, turning slowly. */
.hero-signup .hero-head { position: relative; }
.hero-signup .hero-head::before { content: ""; position: absolute; z-index: -1; left: -9rem; top: -11rem; width: 34rem; height: 34rem; pointer-events: none; background: url("img/tex-compass.svg") center / contain no-repeat; opacity: 0.09; animation: bearing 240s linear infinite; }
@keyframes bearing { to { transform: rotate(360deg); } }
@media (max-width: 59.99rem) { .hero-signup .hero-head::before { left: -8rem; top: -9rem; width: 24rem; height: 24rem; } }
/* Section headings: a notched rule, like a measuring stick. */
.section-head h2 { background: linear-gradient(90deg, var(--amber) 0 3rem, transparent 3rem), repeating-linear-gradient(90deg, var(--border-control) 0 1px, transparent 1px 0.5rem); background-size: 100% 3px, 100% 6px; background-position: left bottom, left bottom; background-repeat: no-repeat; padding-bottom: var(--space-4); }
/* Member area form groups and the price guide */
.check-group { margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--border); }
.check-group legend { padding: 0 var(--space-2); font-weight: 600; }
.price-guide { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px dashed var(--border-control); }
@media (prefers-reduced-motion: reduce) { .hero-signup .hero-head::before { animation: none; } }
@media (forced-colors: active) { .card, .item, .steps > li, .ledger { outline: none; } .hero-signup .hero-head::before { display: none; } }
@media print { .card, .item, .steps > li, .ledger, .btn-primary { outline: none !important; } .hero-signup .hero-head::before { display: none !important; } body { background-image: none !important; } }
.stars { color: var(--amber); letter-spacing: 0.1em; white-space: nowrap; }
.comment-list li, .review-list li { border-left-color: var(--green-hover); overflow-wrap: anywhere; }
.comment-list .btn, .comment-list .fold { margin-top: var(--space-2); }
.comment-list li > .btn, .challenge-reply > .btn { display: flex; width: max-content; }
div.challenge-reply { margin-top: var(--space-3); }
.challenge-reply { margin: var(--space-2) 0 0; padding-left: var(--space-3); border-left: 2px solid var(--green-hover); color: var(--ink-2); }

/* 9g. Illustrations and customer-page layouts */
.art { display: block; width: 100%; height: auto; }
.art-photo { height: 100%; object-fit: cover; }
.art-frame { margin: 0; padding: var(--space-3); border: 1px solid var(--border); background-image: var(--tex-grain), radial-gradient(ellipse at 50% 100%, rgba(59, 94, 71, 0.28) 0%, rgba(59, 94, 71, 0) 70%), linear-gradient(180deg, #171C22 0%, #101318 100%); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) inset, 0 1px 0 rgba(255, 255, 255, 0.05); outline: 1px dashed rgba(217, 119, 6, 0.28); outline-offset: -0.375rem; }
.art-frame:has(.art-photo) { padding: 0; outline-offset: -0.5rem; }
.card-art { padding-top: var(--space-4); }
.card-art .art-frame { margin-bottom: var(--space-4); }
.art-banner { max-width: 34rem; margin: 0 0 var(--space-5); }
.split { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-7); } .split-reverse > .art-frame { order: 2; } }
.check-list, .plain-steps { margin: var(--space-4) 0; padding: 0; list-style: none; }
.check-list li, .plain-steps li { position: relative; padding: var(--space-3) 0 var(--space-3) var(--space-6); border-top: 1px solid var(--border); }
.check-list li::before { content: ""; position: absolute; left: 0.25rem; top: 1.1rem; width: 0.9rem; height: 0.5rem; border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg); }
.plain-steps { counter-reset: ps; }
.plain-steps li { counter-increment: ps; }
.plain-steps li::before { content: counter(ps, decimal-leading-zero); position: absolute; left: 0; top: var(--space-3); font-family: var(--font-mono); font-weight: 700; color: var(--amber-ink); }
.item .data { margin-top: auto; color: var(--ink-2); }
@media print { .art-frame { border: 1pt solid #000; background: #fff; outline: none; } }

/* Home hero with the valley backdrop: the image sits under a dark wash so the heading and form keep their contrast. */
.hero-signup.has-backdrop { background: linear-gradient(90deg, rgba(15, 17, 21, 0.82) 0%, rgba(15, 17, 21, 0.5) 55%, rgba(15, 17, 21, 0.25) 100%), linear-gradient(180deg, rgba(15, 17, 21, 0) 60%, #0F1115 100%), url("img/photo/backdrop.webp") center / cover no-repeat #0F1115; }
.hero-signup.has-backdrop::before { opacity: 0.1; }
.art-frame:has(.art-photo) { overflow: hidden; }
.art-photo { aspect-ratio: 4 / 3; }
.hero-signup.has-backdrop::after { background: none; }

/* 9h. Figure details: numbered captions, corner brackets, a lens vignette, an amber edge light. */
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.art-frame { position: relative; }
.art-frame figcaption { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-2) var(--space-3); background: #0C0E12; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.art-frame .fig-no { padding: 0.0625rem var(--space-2); background: var(--amber); color: #0F1115; font-weight: 700; }
.art-frame:has(.art-photo) { outline: none; border-color: #3A4250; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 0 0 1px rgba(0, 0, 0, 0.7), 0 28px 48px -18px rgba(0, 0, 0, 0.95), 10px 10px 0 -3px rgba(217, 119, 6, 0.22); }
/* vignette over the picture, and brackets in two corners */
.art-frame::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto 0; aspect-ratio: 4 / 3; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(12, 14, 18, 0.7) 100%); }
.art-frame:not(:has(.art-photo))::before { display: none; }
.art-frame::after { content: ""; position: absolute; z-index: 2; left: 0.5rem; top: 0.5rem; width: 1.25rem; height: 1.25rem; pointer-events: none; border-left: 2px solid var(--amber); border-top: 2px solid var(--amber); }
.card-art { overflow: visible; }
.card-art .art-frame { margin: calc(var(--space-2) * -1) calc(var(--space-2) * -1) var(--space-4); }
.card-art:hover .art-photo { filter: brightness(1.12) saturate(1.08); }
.art-photo { transition: filter 0.2s ease; }
@media (prefers-reduced-motion: reduce) { .art-photo { transition: none; } }
@media print { .art-frame::before, .art-frame::after { display: none; } }

/* Tick boxes: a 44 px touch area with a 24 px drawn box inside it. */
.field-check { grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.field-check input { -webkit-appearance: none; appearance: none; position: relative; width: 2.75rem; height: 2.75rem; margin: -0.5rem 0 0; background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; }
.field-check input::before { content: ""; position: absolute; left: 0.625rem; top: 0.625rem; width: 1.5rem; height: 1.5rem; box-sizing: border-box; background: #0F1115; border: 2px solid var(--border-control); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) inset; }
.field-check input:checked::before { background: var(--green); border-color: var(--green-hover); }
.field-check input:checked::after { content: ""; position: absolute; left: 1.0625rem; top: 0.9375rem; width: 0.75rem; height: 0.4375rem; border-left: 3px solid #FFFFFF; border-bottom: 3px solid #FFFFFF; transform: rotate(-45deg); }
.field-check input:focus-visible { outline: 3px solid var(--amber); outline-offset: -4px; }
.field-check label { padding-top: 0.125rem; cursor: pointer; }
@media (forced-colors: active) { .field-check input { -webkit-appearance: auto; appearance: auto; width: 1.5rem; height: 1.5rem; margin: 0.25rem 0.625rem; } .field-check input::before, .field-check input::after { display: none; } }
.field-check input { margin: 0; z-index: 1; }
.field-check label { padding-top: 0.625rem; }
/* Seam between sections: a stitched line under the top edge of each alternate section. */
.section-alt { border-top: 1px solid #2A303C; box-shadow: inset 0 0.5rem 0 -0.4375rem rgba(217, 119, 6, 0.0); background-image: linear-gradient(90deg, rgba(217, 119, 6, 0.45) 50%, transparent 50%); background-size: 0.75rem 1px; background-repeat: repeat-x; background-position: left 0.375rem; }
@media print { .section-alt { background-image: none; } }
.art-frame .fig-no { white-space: nowrap; flex: none; } .art-frame figcaption { white-space: nowrap; overflow: hidden; }

/* Blueprints wanted */
.item-wanted, .item-open { display: flex; flex-direction: column; }
.item-wanted .text-link, .item-open .text-link { margin-top: auto; padding-top: var(--space-3); }
.item-open { border-top: 3px solid var(--amber); }
.item-open .tag { color: var(--amber-ink); border-color: var(--amber); }
.item-wanted { border-top: 3px solid var(--green-hover); }
.launch-grid { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 62rem) { .launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .launch-card:first-child { grid-column: 1 / -1; } }
.launch-card { border-top: 3px solid var(--amber); display: flex; flex-direction: column; }
.launch-card .text-link { margin-top: auto; padding-top: var(--space-3); }
.launch-lists { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); margin: var(--space-3) 0; }
@media (min-width: 40rem) { .launch-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.launch-lists h4 { margin: 0 0 var(--space-2); font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-ink); }
.launch-lists li { padding: var(--space-2) 0 var(--space-2) var(--space-4); border-top: 1px solid var(--border); position: relative; }
.launch-lists li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 0.5rem; height: 2px; background: var(--border-control); }
.section-head-next { margin-top: var(--space-8, 4rem); }
@media (min-width: 62rem) { .launch-card:first-child { grid-column: auto; } }
@media (min-width: 78rem) { .launch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .launch-lists { grid-template-columns: minmax(0, 1fr); } }
.launch-card .art-frame { margin-bottom: var(--space-4); }

/* Category cards on the blueprints page */
.category-grid { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 44rem) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 78rem) { .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.category-card { display: flex; flex-direction: column; scroll-margin-top: 6rem; }
.category-card h4 { margin: var(--space-3) 0 var(--space-1); font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-ink); }
.idea-list { margin: 0 0 var(--space-3); }
.idea-list li { position: relative; padding: var(--space-2) 0 var(--space-2) var(--space-4); border-top: 1px solid var(--border); font-size: 0.9375rem; }
.idea-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 0.5rem; height: 2px; background: var(--amber); }
.category-card .text-link { margin-top: auto; padding-top: var(--space-3); }
.art-photo { height: auto; }
.category-card .art-frame, .launch-card .art-frame { flex: none; }

/* 9i. Photographs as theme: behind the home hero and behind each page heading.
   The left side stays near-solid so the heading and text keep their contrast. */
.hero-signup.has-backdrop { background: linear-gradient(90deg, rgba(15, 17, 21, 0.94) 0%, rgba(15, 17, 21, 0.82) 38%, rgba(15, 17, 21, 0.38) 72%, rgba(15, 17, 21, 0.25) 100%), linear-gradient(180deg, rgba(15, 17, 21, 0) 55%, #0F1115 100%), url("img/photo/camp.webp") center 40% / cover no-repeat #0F1115; }
.hero-signup.has-backdrop::before { display: none; }
.hero-signup.has-backdrop .hero-head::before { opacity: 0.14; }
.ph-structures { --ph: url("img/photo/structures.webp"); } .ph-camp { --ph: url("img/photo/camp.webp"); } .ph-tower { --ph: url("img/photo/tower.webp"); } .ph-tools { --ph: url("img/photo/tools.webp"); }
.ph-pack { --ph: url("img/photo/pack.webp"); } .ph-blueprint { --ph: url("img/photo/blueprint.webp"); } .ph-shed { --ph: url("img/photo/shed.webp"); } .ph-livestock { --ph: url("img/photo/livestock.webp"); } .ph-backdrop { --ph: url("img/photo/backdrop.webp"); }
.page-head.has-photo { background: linear-gradient(90deg, #0F1115 0%, rgba(15, 17, 21, 0.9) 42%, rgba(15, 17, 21, 0.35) 78%, rgba(15, 17, 21, 0.2) 100%), linear-gradient(180deg, rgba(15, 17, 21, 0) 60%, #0F1115 100%), var(--ph) right 35% / cover no-repeat #0F1115; }
.page-head.has-photo::before { display: none; }
.page-head.has-photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%); }
@media (min-width: 60rem) { .page-head.has-photo { min-height: 20rem; display: flex; align-items: center; } .page-head.has-photo > .container { width: 100%; } }
@media (max-width: 59.99rem) { .page-head.has-photo { background: linear-gradient(180deg, rgba(15, 17, 21, 0.78) 0%, rgba(15, 17, 21, 0.9) 100%), var(--ph) center / cover no-repeat #0F1115; } .hero-signup.has-backdrop { background: linear-gradient(180deg, rgba(15, 17, 21, 0.8) 0%, rgba(15, 17, 21, 0.93) 60%, #0F1115 100%), url("img/photo/camp.webp") center top / cover no-repeat #0F1115; } }
@media print { .page-head.has-photo, .hero-signup.has-backdrop { background: #fff !important; } }
@media (min-width: 60rem) {
  .page-head.has-photo { background: linear-gradient(90deg, #0F1115 0%, #0F1115 44%, rgba(15, 17, 21, 0.55) 62%, rgba(15, 17, 21, 0.15) 100%), linear-gradient(180deg, rgba(15, 17, 21, 0) 65%, #0F1115 100%), var(--ph) right center / 56% auto no-repeat #0F1115; }
  .hero-signup.has-backdrop { background: linear-gradient(90deg, #0F1115 0%, #0F1115 36%, rgba(15, 17, 21, 0.6) 56%, rgba(15, 17, 21, 0.3) 100%), linear-gradient(180deg, rgba(15, 17, 21, 0) 60%, #0F1115 100%), url("img/photo/camp.webp") right center / 64% auto no-repeat #0F1115; }
}

/* 9j. Photographs are never covered by text or cards.
   Page headings: the text keeps to the left half and the photograph has the right half to itself.
   --py is the vertical position that keeps each photograph's subject inside the band. */
.ph-structures { --py: 48%; } .ph-camp { --py: 62%; } .ph-tower { --py: 38%; } .ph-tools { --py: 55%; } .ph-pack { --py: 62%; }
.ph-blueprint { --py: 68%; } .ph-shed { --py: 58%; } .ph-livestock { --py: 52%; } .ph-backdrop { --py: 30%; }
@media (min-width: 60rem) {
  .page-head.has-photo { min-height: 24rem; background: linear-gradient(90deg, #0F1115 0%, #0F1115 50%, rgba(15, 17, 21, 0.35) 58%, rgba(15, 17, 21, 0) 70%), linear-gradient(180deg, rgba(15, 17, 21, 0) 78%, #0F1115 100%), var(--ph) right var(--py, 50%) / 50% auto no-repeat #0F1115; }
  .page-head.has-photo::after { background: none; }
  .page-head.has-photo h1, .page-head.has-photo .lede, .page-head.has-photo .notice, .page-head.has-photo .cta-row, .page-head.has-photo p { max-width: min(34rem, 44vw); }
}
/* Phones and small tablets: the photograph is a band above the heading. The text starts below it. */
@media (max-width: 59.99rem) {
  .page-head.has-photo { background: #0F1115; padding-top: 11.5rem; }
  .page-head.has-photo::before { display: block; inset: 0 0 auto 0; height: 10.5rem; opacity: 1; background: var(--ph) center var(--py, 50%) / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .page-head.has-photo::after { background: none; }
}
/* Home hero: the heading is on the left and the sign-up card on the right, so no area is free for a subject.
   The valley view has no single subject and was made with dark empty space, so it is the picture used here. */
.hero-signup.has-backdrop { background: linear-gradient(90deg, rgba(15, 17, 21, 0.86) 0%, rgba(15, 17, 21, 0.6) 45%, rgba(15, 17, 21, 0.35) 100%), linear-gradient(180deg, rgba(15, 17, 21, 0) 70%, #0F1115 100%), url("img/photo/backdrop.webp") center 30% / cover no-repeat #0F1115; }
@media (max-width: 59.99rem) { .hero-signup.has-backdrop { background: linear-gradient(180deg, rgba(15, 17, 21, 0.55) 0%, rgba(15, 17, 21, 0.88) 45%, #0F1115 100%), url("img/photo/backdrop.webp") center top / cover no-repeat #0F1115; } }
@media (min-width: 60rem) { .page-head.has-photo h1 { font-size: clamp(2rem, 3.3vw, 3.25rem); overflow-wrap: normal; word-break: normal; hyphens: none; } }

/* 9k. Safe-zone photographs. Each was made with its subject in the right 40 percent and dark empty
   space on the left, so it runs the full width behind the heading and nothing covers the subject. */
.ph-head-blueprints { --ph: url("img/photo/head-blueprints.webp"); } .ph-head-how { --ph: url("img/photo/head-how.webp"); } .ph-head-vendors { --ph: url("img/photo/head-vendors.webp"); }
.ph-head-catalog { --ph: url("img/photo/head-catalog.webp"); } .ph-head-conditioning { --ph: url("img/photo/head-conditioning.webp"); } .ph-head-member { --ph: url("img/photo/head-member.webp"); }
.ph-head-guide { --ph: url("img/photo/head-guide.webp"); } .ph-head-bids { --ph: url("img/photo/head-bids.webp"); } .ph-head-track { --ph: url("img/photo/head-track.webp"); } .ph-head-legal { --ph: url("img/photo/head-legal.webp"); }
@media (min-width: 60rem) {
  .page-head.has-photo { min-height: 26rem; background: linear-gradient(90deg, rgba(15, 17, 21, 0.9) 0%, rgba(15, 17, 21, 0.78) 40%, rgba(15, 17, 21, 0.2) 60%, rgba(15, 17, 21, 0) 72%), linear-gradient(180deg, rgba(15, 17, 21, 0) 80%, #0F1115 100%), var(--ph) right center / cover no-repeat #0F1115; }
  .page-head.has-photo h1, .page-head.has-photo .lede, .page-head.has-photo .notice, .page-head.has-photo .cta-row, .page-head.has-photo p { max-width: min(36rem, 46vw); }
}
@media (max-width: 59.99rem) {
  .page-head.has-photo { padding-top: 12.5rem; }
  .page-head.has-photo::before { height: 11.5rem; background: var(--ph) 94% center / auto 150% no-repeat; }
}
.hero-signup.has-backdrop { background: linear-gradient(90deg, rgba(15, 17, 21, 0.72) 0%, rgba(15, 17, 21, 0.45) 50%, rgba(15, 17, 21, 0.3) 100%), linear-gradient(180deg, rgba(15, 17, 21, 0) 72%, #0F1115 100%), url("img/photo/hero.webp") center top / cover no-repeat #0F1115; }
@media (min-width: 60rem) { .hero-signup.has-backdrop { padding-top: 9rem; } }
@media (max-width: 59.99rem) { .hero-signup.has-backdrop { padding-top: 8rem; background: linear-gradient(180deg, rgba(15, 17, 21, 0) 0%, rgba(15, 17, 21, 0.2) 5rem, rgba(15, 17, 21, 0.9) 9rem, #0F1115 100%), url("img/photo/hero.webp") 70% top / auto 26rem no-repeat #0F1115; } }
@media (max-width: 59.99rem) { .hero-signup.has-backdrop { padding-top: 3.5rem; background: linear-gradient(180deg, rgba(15, 17, 21, 0) 0%, rgba(15, 17, 21, 0.3) 2.5rem, rgba(15, 17, 21, 0.82) 7.5rem, #0F1115 16rem), url("img/photo/hero.webp") 70% top / auto 22rem no-repeat #0F1115; } }
.flag-block { margin: var(--space-3) 0; border-top: 1px dashed var(--border-control); }
.flag-block > summary { min-height: 2.75rem; display: flex; align-items: center; cursor: pointer; color: var(--ink-2); font-size: 0.9375rem; }
.flag-block > summary:hover { color: var(--white); }
.flag-list { margin: var(--space-3) 0; padding: var(--space-3) var(--space-4); border: 1px solid var(--amber); background: rgba(217, 119, 6, 0.08); }
.flag-list h4 { margin-top: 0; }
.pill-flagged { border-color: #F87171; color: #FCA5A5; }
@media (min-width: 78rem) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 9l. Short pages: detail folds away until the visitor opens it. */
.folds { display: grid; gap: var(--space-3); max-width: 56rem; }
.fold { border: 1px solid var(--border); background-image: var(--tex-grain), linear-gradient(165deg, #20252E 0%, #171B21 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 14px 24px -14px rgba(0, 0, 0, 0.9); scroll-margin-top: 6rem; }
.fold > summary { display: flex; align-items: center; gap: var(--space-3); min-height: 3.5rem; padding: var(--space-3) var(--space-5); cursor: pointer; font-family: var(--font-sans); font-weight: 700; font-size: 1.125rem; line-height: 1.3; color: var(--white); list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "+"; flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border: 1px solid var(--amber); color: var(--amber-ink); font-family: var(--font-mono); font-weight: 700; }
.fold[open] > summary::before { content: "\2212"; background: var(--amber); color: #0F1115; }
.fold > summary:hover { background: rgba(255, 255, 255, 0.03); }
.fold > *:not(summary) { margin-left: var(--space-5); margin-right: var(--space-5); }
.fold > *:last-child { margin-bottom: var(--space-5); }
.fold-small { border: 0; background: none; box-shadow: none; border-top: 1px solid var(--border); }
.fold-small > summary { min-height: 2.75rem; padding: var(--space-2) 0; font-size: 0.9375rem; font-family: inherit; color: var(--ink); }
.fold-small > summary::before { width: 1.25rem; height: 1.25rem; font-size: 0.875rem; }
.fold-small > *:not(summary) { margin-left: 0; margin-right: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link h3 { margin: 0; }
.card-link:hover h3, .card-link:focus-visible h3 { color: var(--amber-ink); }

/* 9m. Quick pages: tighter sections and compact category tiles. */
.section { padding-top: clamp(2rem, 1.2rem + 3vw, 3.5rem); padding-bottom: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.section-head { margin-bottom: var(--space-5); }
#domains .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (min-width: 40rem) { #domains .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } }
@media (min-width: 72rem) { #domains .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
#domains .card-link { padding: var(--space-2) var(--space-2) var(--space-3); outline-offset: -0.25rem; }
#domains .card-link .art-frame { margin: 0 0 var(--space-2); }
#domains .card-link figcaption { display: none; }
#domains .card-link h3 { font-size: 0.9375rem; line-height: 1.25; padding: 0 var(--space-1); }
#domains .card-link::after { display: none; }
/* Blueprints page: a category is one row on a phone (picture, name, ideas) and a small card on wider screens. */
.category-grid { gap: var(--space-3); }
.category-card { padding: var(--space-3); display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: var(--space-3); align-items: start; }
.category-card .art-frame { grid-row: 1 / span 4; margin: 0; }
.category-card figcaption, .category-card .tag { display: none; }
.category-card h3 { margin: 0 0 var(--space-1); font-size: 1.0625rem; }
.category-card > p { margin: 0 0 var(--space-2); font-size: 0.9375rem; }
.category-card .text-link { padding-top: var(--space-2); }
.category-card .art-frame::after { display: none; }
@media (min-width: 44rem) { .category-card { grid-template-columns: 7rem minmax(0, 1fr); } }
@media (min-width: 78rem) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 9n. Member area: one screen at a time, part rows, folded forms. */
.app-tabs a[aria-current="page"] { background: var(--amber); color: #0F1115; border-color: var(--amber); }
.part-rows { display: grid; gap: var(--space-3); margin: var(--space-3) 0; }
.part-row { display: grid; gap: var(--space-2); grid-template-columns: minmax(0, 1fr); padding-bottom: var(--space-3); border-bottom: 1px dashed var(--border); }
.part-row input { width: 100%; min-height: 2.75rem; font-size: 1rem; }
@media (min-width: 48rem) { .part-row { grid-template-columns: minmax(0, 2.2fr) 5.5rem minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1.8fr); padding-bottom: 0; border-bottom: 0; } }
.parts-field { border: 1px solid var(--border); }
.proposal .fold-small > *:not(summary) { margin-bottom: var(--space-3); }
.proposal .fold-small .sell-block { margin: 0 0 var(--space-3); }

/* 9o. No synthesized bold: the display face has one weight, so headings and bold text inside them stay at 400. */
h1, h2, h3, h1 strong, h2 strong, h3 strong, .brand-name, .footer-brand { font-synthesis: none; }
h1 strong, h2 strong, h3 strong { font-weight: 400; }
.legal h3 strong, .form-status h2 strong, .form-status h3 strong { font-weight: 700; }

/* 9p. Short pages: legal notices as folds, compact catalog rows. */
.legal.folds { max-width: 56rem; }
.legal .fold > p, .legal .fold > h3 { margin-top: 0; }
.legal .fold > h3 { margin-top: var(--space-4); }
.item-grid { gap: var(--space-3); }
.item { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-3); padding: var(--space-3) var(--space-4); }
.item .tag { margin-bottom: 0; }
.item h3 { flex: 1 1 100%; margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.3; }
.item p { margin: 0; font-size: 0.9375rem; }
.item .data { margin-top: 0; margin-left: auto; font-size: 0.8125rem; }
@media (max-width: 39.99rem) { .item-grid { grid-template-columns: minmax(0, 1fr); } }
.container.folds { max-width: 76rem; }
.folds > details { width: 100%; max-width: 56rem; }

/* 9q. Footer: social media. */
.footer-social { grid-column: 1 / -1; padding-top: var(--space-4); border-top: 1px solid var(--border); }
.footer-head { margin: 0 0 var(--space-3); font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.social-link { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.375rem; }
.social-link:hover { background: rgba(255, 255, 255, 0.06); }
/* Official logo files, unmodified: no recolour, no border, no shadow, no word beside the logo. The 44px link box gives the clear space the brand rules ask for. */
.social-link img { display: block; width: 1.75rem; height: 1.75rem; }
@media print { .footer-social { display: none !important; } }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.footer-social .footer-head { flex: 1 1 100%; margin-bottom: 0; }

/* 9r. Blueprint filters: three selects in one row. */
.bp-filters { display: grid; gap: var(--space-3); margin-bottom: var(--space-4); max-width: 48rem; }
.bp-filters .field { margin: 0; }
@media (min-width: 40rem) { .bp-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 9s. Twelve categories: 2 columns of 6 on a phone, 3 of 4 on a tablet, 4 of 3 on a desktop. */
@media (min-width: 40rem) { #domains .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { #domains .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 78rem) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 9t. Store items and the API key box. */
.ware h3 { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.3; }
.key-value { overflow-wrap: anywhere; user-select: all; padding: var(--space-3); background: #0C0E12; border: 1px dashed var(--amber); }
.ware-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--border); border-radius: 0.25rem; background: #0C0E12; margin-bottom: var(--space-3); }
.ware-img-small { width: 12.5rem; max-width: 100%; }
.ware-buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-3); }
.ware-buy .field { margin: 0; flex: 0 0 6rem; }
.ware-buy select { width: 100%; min-height: 2.75rem; font-size: 1rem; }
.ware-buy .btn { flex: 1 1 10rem; }
.cart { margin-bottom: var(--space-5); }
.cart .ware-qty { min-height: 2.75rem; min-width: 4.5rem; font-size: 1rem; }
.cart > .btn { margin-right: var(--space-3); margin-top: var(--space-3); }

/* 9u. A wide table scrolls inside its own frame. The hidden caption must not widen the page. */
.table-wrap { position: relative; }

/* 9v. Post form: free or paid. */
.reward-field { border: 1px solid var(--amber); }
.reward-paid { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px dashed var(--border); }
.reward-paid input[type="file"] { max-width: 100%; }

/* 9w. Category counts: how many blueprints or store items a category has. */
.cat-count { margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--ink-2); }
.cat-count.is-empty { color: var(--amber-ink); }
.count-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
.count-list a { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; }
.count-list a:hover, .count-list a:focus-visible { border-color: var(--green-hover); }
@media (min-width: 640px) { .count-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .count-list { grid-template-columns: repeat(4, 1fr); } }

/* 9x. Post form: draft buttons and their status line. */
.draft-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-3); }
.draft-bar .draft-note { margin: 0; flex: 1 1 16rem; }

/* 9y. Numbered steps, and the member cards of the admin area. */
.step-list { margin: var(--space-4) 0; padding-left: 1.5rem; }
.step-list li { padding: var(--space-2) 0; }
.member-card h3 { overflow-wrap: anywhere; }

/* 9z. Sixteen categories. Home: 2 columns of 8, then 4 rows of 4 on a desktop. Blueprints page: 1 column, then 2 columns of 8. No row ends with one card. */
#domains .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 40rem) { #domains .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { #domains .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 44rem) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 78rem) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* A category with no photograph yet: its symbol on a plain panel, in the same 4:3 frame. */
.art-icon { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; color: var(--ink-2); }
.art-icon svg { width: 34%; height: auto; }

/* 10a. The Drafting Table card (full row, last in the category grids), related-category lines, and small notices. */
.drafting-card { grid-column: 1 / -1; }
.drafting-card h3 { margin-top: 0; }
.drafting-card .btn { margin-top: var(--space-3); }
.related { margin: var(--space-3) 0 0; font-size: 0.9375rem; color: var(--ink-2); }
.notice-small { margin: var(--space-3) 0; padding: var(--space-2) var(--space-3); font-size: 0.9375rem; }
.category-card > :not(.art-frame) { grid-column: 2; }
.category-card .art-frame { grid-column: 1; grid-row: 1 / span 8; }
.category-card.drafting-card { display: block; }
.category-card.drafting-card > p { font-size: 1rem; }

/* 10b. The Drafting Table: request cards. */
.request-list { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); margin-bottom: var(--space-5); }
@media (min-width: 48rem) { .request-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.request-card h3 { margin: var(--space-2) 0; overflow-wrap: anywhere; }
.request-card p { overflow-wrap: anywhere; }
.request-card .btn-pair { margin-top: var(--space-3); }
#requests { scroll-margin-top: 5rem; }

/* 10c. Analytics notice: a bar at the bottom of the window, and the footer button that opens it again. */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--surface-2, #1F242D); border-top: 2px solid var(--amber); box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.5); }
.consent-text { flex: 1 1 18rem; margin: 0; font-size: 0.9375rem; color: var(--ink); }
.consent-actions { display: flex; gap: var(--space-2); flex: 0 0 auto; }
.consent-actions .btn { min-height: 44px; min-width: 6rem; }
.link-button { min-height: 44px; padding: 0 var(--space-1); border: 0; background: none; color: var(--link); font: inherit; text-decoration: underline; cursor: pointer; }
.link-button:hover, .link-button:focus-visible { color: var(--ink); }
@media print { .consent-bar { display: none; } }

/* 10d. Wishlist buttons. */
.wish-button[aria-pressed="true"] { border-color: var(--green-hover); color: var(--link); }
.ware .wish-button { align-self: flex-start; margin: var(--space-2) 0; }
.wish-row { margin: var(--space-3) 0 0; }

.guide-cover { display: block; width: 100%; max-width: 20rem; height: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.guide-note { font-size: 0.9375rem; margin-top: var(--space-4); max-width: 26rem; }
.guide-table table { width: 100%; }
.guide-table th[scope="row"] { width: 34%; }

/* Post a blueprint: the sixth box of a part row says where the part comes from. */
/* Parts on the Post a Blueprint form. Each part is one bordered block with a label above every box. */
.part-rows { gap: var(--space-3); margin: var(--space-4) 0; }
.part-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-4); border: 1px solid var(--border); background: var(--bg); }
.part-row > * { grid-column: 1 / -1; min-width: 0; }
.part-num { margin: 0; font-weight: 700; color: var(--ink); }
.part-cell label { display: block; margin: 0 0 var(--space-1); font-size: 0.9375rem; font-weight: 600; }
.part-cell input { display: block; width: 100%; margin: 0; }
.part-row .part-local { margin: 0; }
.parts-field > .hint { margin: 0; }
.parts-field > .btn { margin: 0; }
@media (min-width: 36rem) {
  .part-row { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .part-row > .part-slot_name { grid-column: 1 / span 9; }
  .part-row > .part-required_qty { grid-column: 10 / span 3; }
  .part-row > .part-reference_manufacturer { grid-column: 1 / span 4; }
  .part-row > .part-reference_part_number { grid-column: 5 / span 3; }
  .part-row > .part-specification { grid-column: 8 / span 5; }
}
