/* Find Equipment — design tokens and the few things Tailwind utilities don't do well.
   Look: Soft Structuralism for an industrial B2B marketplace. Light ground, deep ink, one safety-orange accent.
   Type: Space Grotesk (display) + Plus Jakarta Sans (body). Motion: one spring curve, transform/opacity only. */
:root {
  --ink: #0B0F14;
  --ink-2: #1C232B;
  --ground: #F6F7F9;
  --paper: #FFFFFF;
  --line: rgba(11, 15, 20, 0.08);
  --line-strong: rgba(11, 15, 20, 0.14);
  --muted: #5B6572;
  --accent: #F2620F;
  --accent-ink: #B9440A;
  --accent-soft: rgba(242, 98, 15, 0.12);
  --on-accent: #0B0F14;
  --panel: #0B0F14;
  --ink-rgb: 11 15 20; --ink2-rgb: 28 35 43; --ground-rgb: 246 247 249; --paper-rgb: 255 255 255; --muted-rgb: 91 101 114; --accent-rgb: 242 98 15; --accent-ink-rgb: 185 68 10;
  --radius-xl: 0; --radius-lg: 0; --radius-md: 0; --r-pill: 0; --bezel-pad: 0;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-soft: 0 1px 2px rgba(11, 15, 20, 0.04), 0 24px 48px -24px rgba(11, 15, 20, 0.18);
  --shadow-float: 0 1px 1px rgba(11, 15, 20, 0.04), 0 40px 80px -32px rgba(11, 15, 20, 0.28);
}
html { scroll-behavior: smooth; }
body { background: var(--ground); color: var(--ink); font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.display { font-family: "Space Grotesk", "Plus Jakarta Sans", ui-sans-serif, sans-serif; letter-spacing: -0.03em; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-md); }

/* Film grain over everything, fixed so it never repaints with scroll */
.grain::before {
  content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* Hero background: full image if present, blurred thumb underneath, dark scrim on top */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--panel); color: #fff; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__img--thumb { filter: blur(18px) saturate(1.1); transform: scale(1.12); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,15,20,0.88) 0%, rgba(11,15,20,0.72) 45%, rgba(11,15,20,0.35) 100%),
              linear-gradient(0deg, rgba(11,15,20,0.85) 0%, rgba(11,15,20,0) 40%); }

/* Double bezel: outer shell + inner core, concentric radii */
.bezel { background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius-xl); padding: var(--bezel-pad); }
.bezel > .core { background: var(--paper); border-radius: calc(var(--radius-xl) - var(--bezel-pad)); }
.bezel--dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.bezel--dark > .core { background: rgba(255,255,255,0.06); backdrop-filter: none; }

/* Pill buttons with the nested icon disc */
.btn { display: inline-flex; align-items: center; gap: 0.75rem; border-radius: var(--r-pill); padding: 0.75rem 0.75rem 0.75rem 1.5rem; font-weight: 600; font-size: 0.95rem; line-height: 1;
  transition: transform 500ms var(--ease), background-color 400ms var(--ease), color 400ms var(--ease), box-shadow 500ms var(--ease); text-decoration: none; cursor: pointer; border: 0; }
.btn:active { transform: scale(0.98); }
.btn .disc { width: 2rem; height: 2rem; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; transition: transform 500ms var(--ease); flex: 0 0 auto; }
.btn:hover .disc { transform: translate(2px, -1px) scale(1.05); }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 24px -12px rgba(242,98,15,0.6); }
.btn--accent .disc { background: rgba(0,0,0,0.12); }
.btn--accent:hover { background: #FF6F1A; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink .disc { background: rgba(255,255,255,0.12); }
.btn--ghost { background: transparent; color: inherit; border: 1px solid var(--line-strong); }
.btn--ghost .disc { background: rgba(11,15,20,0.06); }
.hero .btn--ghost { border-color: rgba(255,255,255,0.22); color: #fff; }
.hero .btn--ghost .disc { background: rgba(255,255,255,0.1); }
.btn--plain { padding: 0.75rem 1.25rem; }

/* Eyebrow tag */
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: var(--r-pill); padding: 0.3rem 0.8rem; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.eyebrow--light { background: rgba(255,255,255,0.12); color: #FFE3D1; border: 1px solid rgba(255,255,255,0.18); }
.eyebrow--dark { background: var(--accent-soft); color: var(--accent-ink); }

/* Island nav */
.island { position: sticky; top: 0.75rem; z-index: 30; }
.island__bar { backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); background: rgba(11,15,20,0.72); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-pill); box-shadow: var(--shadow-float); }
.island__bar a { transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.menu-overlay { position: fixed; inset: 0; z-index: 35; background: rgba(11,15,20,0.86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: none; }
.menu-overlay[data-open="true"] { display: flex; }
.menu-overlay a { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
.menu-overlay[data-open="true"] a { opacity: 1; transform: none; }
.burger span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform 500ms var(--ease), opacity 300ms var(--ease); transform-origin: center; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* Scroll reveals */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); will-change: transform, opacity; }
.reveal.is-in { opacity: 1; transform: none; filter: none; will-change: auto; }
.reveal[data-delay="1"] { transition-delay: 80ms; } .reveal[data-delay="2"] { transition-delay: 160ms; } .reveal[data-delay="3"] { transition-delay: 240ms; } .reveal[data-delay="4"] { transition-delay: 320ms; }

/* Cards */
.card { transition: transform 600ms var(--ease), box-shadow 600ms var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.chip { display: inline-flex; align-items: center; border-radius: var(--r-pill); padding: 0.4rem 0.85rem; font-size: 0.8rem; font-weight: 500; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color 300ms var(--ease), transform 400ms var(--ease); }
.chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.chip--active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Forms */
.field { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 0.85rem 1rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
label.lbl { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink-2); }
.err { color: #B42318; font-size: 0.85rem; margin-top: 0.35rem; }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.9rem 1rem; }
.tbl td { padding: 0.95rem 1rem; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn, .btn .disc, .card, .chip, .menu-overlay a, .burger span { transition: none; }
}

/* ===== Build 3: editorial + sales layer ===== */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }
.grid-lines { background-image: linear-gradient(to right, rgba(11,15,20,0.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(11,15,20,0.045) 1px, transparent 1px); background-size: 48px 48px; }
.grid-lines--dark { background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Marquee keyframes (used by the deals strip) */
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero word split */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-word > span { display: inline-block; transform: translateY(110%); }
.no-js .split-word > span, .motion-off .split-word > span { transform: none; }

.pulse { position: relative; }
.pulse::before { content: ""; position: absolute; inset: -4px; border-radius: var(--r-pill); border: 2px solid var(--accent); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }

/* Category rail */
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0 1.25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; flex: 0 0 220px; text-decoration: none; color: inherit; }
.tile .core { display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; padding: 1.25rem; }
.tile .ico { font-size: 4.5rem; color: var(--ink); transition: transform 600ms var(--ease), color 400ms var(--ease); }
.tile:hover .ico { transform: translateX(6px) scale(1.04); color: var(--accent); }
.tile .num { font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; }

/* Province grid */
.prov { text-decoration: none; color: inherit; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1; padding: 1rem; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); transition: transform 500ms var(--ease), border-color 400ms var(--ease), background 400ms var(--ease); }
.prov:hover { transform: translateY(-3px); border-color: var(--ink); }
.prov .code { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.prov--hot { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.prov--city { aspect-ratio: auto; min-height: 104px; gap: 0.5rem; }
.prov--hot:hover { border-color: var(--accent); }

/* Steps with drawn progress line */
.steps { position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 2.35rem; height: 2px; background: var(--line); }
.steps__line > i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.motion-off .steps__line > i { transform: none; }
.step__num { width: 4.7rem; height: 4.7rem; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 700; background: var(--paper); border: 2px solid var(--line-strong); position: relative; z-index: 1; }
.step__num--on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Comparison strip */
.vs { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.vs > div { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.vs > .h { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.vs .bad { color: var(--muted); }
.vs .good { font-weight: 600; }
@media (max-width: 640px) { .vs { grid-template-columns: 1fr; } .vs > .h:not(:first-child) { display: none; } .vs > div:nth-child(3n+2)::before { content: "The old way: "; color: var(--muted); font-weight: 400; } .vs > div:nth-child(3n+3)::before { content: "Here: "; color: var(--accent-ink); } }

/* Big stat */
.stat .n { font-family: "Space Grotesk", sans-serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; }

/* Sticky mobile CTA */
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: rgba(11,15,20,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,0.1); display: flex; gap: 0.75rem; align-items: center; justify-content: space-between; color: #fff; transform: translateY(110%); transition: transform 600ms var(--ease); }
.mcta.is-on { transform: none; }
@media (min-width: 768px) { .mcta { display: none; } }

/* Parallax hero image */
.hero__img--full { will-change: transform; transform: scale(1.08); }

/* ===== Build 4: themes, menus, funnel, ads, video hero ===== */
/* Theme: prairie (Alberta) — dark, ochre, condensed */
[data-theme="prairie"] { --ink: #F4EFE6; --ink-2: #E6DCCB; --ground: #15120F; --paper: #1F1A15; --line: rgba(244,239,230,0.1); --line-strong: rgba(244,239,230,0.18); --muted: #B3A795; --accent: #E89B2D; --accent-ink: #F2B35A; --accent-soft: rgba(232,155,45,0.16); --on-accent: #15120F; --ink-rgb: 244 239 230; --ink2-rgb: 230 220 203; --ground-rgb: 21 18 15; --paper-rgb: 31 26 21; --muted-rgb: 179 167 149; --accent-rgb: 232 155 45; --accent-ink-rgb: 242 179 90; --radius-xl: 2px; --radius-lg: 2px; --radius-md: 2px; --r-pill: 2px; --shadow-soft: 0 24px 48px -24px rgba(0,0,0,0.6); --shadow-float: 0 40px 80px -32px rgba(0,0,0,0.8); }
[data-theme="prairie"] body { font-family: Barlow, ui-sans-serif, system-ui, sans-serif; }
[data-theme="prairie"] .display { font-family: "Barlow Condensed", Barlow, sans-serif; letter-spacing: -0.01em; text-transform: uppercase; }
[data-theme="prairie"] .hero::after { background: linear-gradient(90deg, rgba(21,18,15,0.92) 0%, rgba(21,18,15,0.7) 50%, rgba(21,18,15,0.3) 100%), linear-gradient(0deg, #15120F 0%, rgba(21,18,15,0) 45%); }
[data-theme="prairie"] .grain::before { opacity: 0.08; mix-blend-mode: screen; }
[data-theme="prairie"] .btn--ink { background: var(--accent); color: var(--on-accent); }
[data-theme="prairie"] .eyebrow--dark { background: var(--accent-soft); color: var(--accent-ink); }
[data-theme="prairie"] .prov { background: var(--paper); } [data-theme="prairie"] .prov--hot { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
[data-theme="prairie"] .chip, [data-theme="prairie"] .field { background: var(--paper); color: var(--ink); }
[data-theme="prairie"] .tbl td { border-color: var(--line); }
[data-theme="prairie"] { --panel: #0C0A08; }


/* Theme: steel (Ontario) — cool, blue, Archivo, squared */
[data-theme="steel"] { --ink: #0E1A2B; --ink-2: #1F2F47; --ground: #EEF2F6; --paper: #FFFFFF; --line: rgba(14,26,43,0.1); --line-strong: rgba(14,26,43,0.2); --muted: #4E6078; --accent: #1D4ED8; --accent-ink: #1E40AF; --accent-soft: rgba(29,78,216,0.1); --on-accent: #FFFFFF; --ink-rgb: 14 26 43; --ink2-rgb: 31 47 71; --ground-rgb: 238 242 246; --paper-rgb: 255 255 255; --muted-rgb: 78 96 120; --accent-rgb: 29 78 216; --accent-ink-rgb: 30 64 175; --radius-xl: 0.375rem; --radius-lg: 0.25rem; --radius-md: 0.25rem; --r-pill: 0.25rem; }
[data-theme="steel"] body { font-family: Manrope, ui-sans-serif, system-ui, sans-serif; }
[data-theme="steel"] .display { font-family: Archivo, Manrope, sans-serif; letter-spacing: -0.035em; font-weight: 800; }
[data-theme="steel"] .hero::after { background: linear-gradient(90deg, rgba(14,26,43,0.9) 0%, rgba(14,26,43,0.66) 50%, rgba(29,78,216,0.25) 100%), linear-gradient(0deg, rgba(14,26,43,0.9) 0%, rgba(14,26,43,0) 45%); }
[data-theme="steel"] { --panel: #0E1A2B; }
[data-theme="steel"] .prov--hot { background: var(--accent); border-color: var(--accent); }
[data-theme="steel"] .grain::before { opacity: 0.02; }

/* Theme: ledger (prices) — cream, green, mono numbers */
[data-theme="ledger"] { --ink: #1B1F1A; --ink-2: #2E352D; --ground: #F7F3EA; --paper: #FFFDF8; --line: rgba(27,31,26,0.1); --line-strong: rgba(27,31,26,0.2); --muted: #5A6356; --accent: #1E7A4C; --accent-ink: #166539; --accent-soft: rgba(30,122,76,0.12); --on-accent: #FFFFFF; --ink-rgb: 27 31 26; --ink2-rgb: 46 53 45; --ground-rgb: 247 243 234; --paper-rgb: 255 253 248; --muted-rgb: 90 99 86; --accent-rgb: 30 122 76; --accent-ink-rgb: 22 101 57; --radius-xl: 4px; --radius-lg: 4px; --radius-md: 4px; --r-pill: 4px; }
[data-theme="ledger"] body { font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif; }
[data-theme="ledger"] .display { font-family: Fraunces, Georgia, serif; letter-spacing: -0.02em; font-weight: 600; }
[data-theme="ledger"] .tbl td, [data-theme="ledger"] .stat .n, [data-theme="ledger"] .mono, [data-theme="ledger"] .num { font-family: "IBM Plex Mono", ui-monospace, monospace; }
[data-theme="ledger"] .tbl td:nth-child(2), [data-theme="ledger"] .tbl td:nth-child(3) { font-variant-numeric: tabular-nums; }
[data-theme="ledger"] .hero::after { background: linear-gradient(90deg, rgba(27,31,26,0.9) 0%, rgba(27,31,26,0.7) 50%, rgba(30,122,76,0.3) 100%), linear-gradient(0deg, rgba(27,31,26,0.9) 0%, rgba(27,31,26,0) 45%); }
[data-theme="ledger"] { --panel: #1B1F1A; }
[data-theme="ledger"] .tbl thead tr { background: var(--accent-soft) !important; }

/* Video hero */
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__sweep { position: absolute; inset: -20%; z-index: -1; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%); transform: translateX(-60%); animation: sweep 9s var(--ease) infinite; mix-blend-mode: screen; }
@keyframes sweep { 0% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.motion-off .hero__sweep { display: none; }

/* Funnel form */
.funnel .core { padding: 1.25rem; }
.funnel .lbl { color: var(--ink-2); }
.funnel .field { background: var(--paper); color: var(--ink); }
[data-theme="prairie"] .funnel .core, [data-theme="prairie"] .ad .core { background: var(--paper); }

/* Ad slot — one clean card, always labelled */
.ad { text-decoration: none; color: inherit; display: block; }
.ad .core { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.25rem; position: relative; color: var(--ink); }
.ad .tag { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; }
.ad--wide .core .tag { flex: 0 0 auto; flex-direction: column; gap: 0.2rem; }
.ad .tag b { color: var(--accent-ink); font-weight: 600; }
.ad--wide .core { flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.ad__ph { border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: 1rem 1.25rem; font-size: 0.85rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

/* Radial dial menu (mobile-first; also used on desktop for radial sites) */
.dial { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 32; }
.dial__fab { width: 64px; height: 64px; border-radius: 9999px; background: var(--accent); color: var(--on-accent); border: 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5); cursor: pointer; transition: transform 500ms var(--ease), background 300ms var(--ease); position: relative; z-index: 2; }
.dial__fab:active { transform: scale(0.95); }
.dial__fab .bar { position: absolute; width: 22px; height: 2px; background: currentColor; transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.dial__fab .bar:nth-child(1) { transform: translateY(-6px); } .dial__fab .bar:nth-child(3) { transform: translateY(6px); }
.dial[data-open="true"] .dial__fab .bar:nth-child(1) { transform: rotate(45deg); } .dial[data-open="true"] .dial__fab .bar:nth-child(2) { opacity: 0; } .dial[data-open="true"] .dial__fab .bar:nth-child(3) { transform: rotate(-45deg); }
.dial__item { position: absolute; right: 8px; bottom: 8px; width: 48px; height: 48px; border-radius: 9999px; background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; text-decoration: none; opacity: 0; transform: translate(0,0) scale(0.4); transition: transform 600ms var(--ease), opacity 400ms var(--ease); box-shadow: 0 12px 24px -12px rgba(0,0,0,0.4); }
.dial__item .ico { font-size: 1.25rem; }
.dial__item span.lbl { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--ink); color: var(--ground); font-size: 12px; font-weight: 600; padding: 0.35rem 0.6rem; border-radius: 0.375rem; opacity: 0; transition: opacity 300ms var(--ease); pointer-events: none; }
.dial[data-open="true"] .dial__item { opacity: 1; transition-delay: calc(var(--i) * 40ms); }
.dial[data-open="true"] .dial__item span.lbl { opacity: 1; transition-delay: calc(var(--i) * 40ms + 250ms); }
.dial[data-open="true"] .dial__item:nth-child(1) { transform: translate(0, -100px) scale(1); }
.dial[data-open="true"] .dial__item:nth-child(2) { transform: translate(-60px, -84px) scale(1); }
.dial[data-open="true"] .dial__item:nth-child(3) { transform: translate(-96px, -42px) scale(1); }
.dial[data-open="true"] .dial__item:nth-child(4) { transform: translate(-102px, 12px) scale(1); }
.dial[data-open="true"] .dial__item:nth-child(5) { transform: translate(-66px, 62px) scale(1); }
.dial__item--accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.dial__scrim { position: fixed; inset: 0; z-index: 31; background: rgba(0,0,0,0.35); opacity: 0; pointer-events: none; transition: opacity 400ms var(--ease); }
.dial[data-open="true"] ~ .dial__scrim { opacity: 1; pointer-events: auto; }
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.topbar a { color: #fff; }

/* Bottom tab bar (prices) */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.6rem 0 0.5rem; font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tabs a.on, .tabs a:hover { color: var(--accent-ink); }
.tabs .ico { font-size: 1.3rem; }
@media (min-width: 768px) { .tabs { display: none; } }
.toplinks { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }

/* Build 5: accessibility pass */
.pill-accent { background: var(--accent); color: var(--on-accent); }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; }
.burger { width: 44px !important; height: 44px !important; }
.tbl th { font-size: 12px; }
@media (max-width: 640px) { .island__bar nav a, .toplinks nav a { min-height: 44px; display: inline-flex; align-items: center; } }

/* Panels and footer are always dark, whatever the theme ink is */
.panel, .core.\!bg-ink, footer.site-footer, .menu-overlay, .island__bar { background-color: var(--panel) !important; color: #fff; }
.btn--ink { background: var(--panel); color: #fff; }
.island__bar { background-color: rgba(11,15,20,0.72) !important; }
[data-theme="prairie"] .island__bar { background-color: rgba(12,10,8,0.8) !important; }
.menu-overlay { background-color: rgba(11,15,20,0.86) !important; }
.prov--hot { background: var(--panel); color: #fff; }
.chip--active { background: var(--panel); color: #fff; border-color: var(--panel); }
.btn--ink .disc { background: rgba(255,255,255,0.12); }
.hero .text-white\/75 { color: rgba(255,255,255,0.85); }
.hero .text-white\/70 { color: rgba(255,255,255,0.82); }

/* Top bars for radial/tabs sites: readable over any page top */
.topbar__bar { background: rgba(11,15,20,0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-pill); box-shadow: var(--shadow-float); color: #fff; }
[data-theme="prairie"] .topbar__bar { background: rgba(12,10,8,0.8); }
[data-theme="steel"] .topbar__bar { background: rgba(14,26,43,0.78); }
[data-theme="ledger"] .topbar__bar { background: rgba(27,31,26,0.8); }
.topbar, .toplinks { position: sticky; top: 0; z-index: 30; }
/* Mobile filter drawer */
.filters > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.25rem; font-weight: 600; }
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); }
.filters[open] > summary::after { content: "\2212"; }
@media (min-width: 1024px) { .filters > summary { display: none; } .filters > .core { display: block !important; } }

/* ===== Build 6: industrial print layer (Find Equipment hub) =====
   Square geometry, hairline compartments, heavy uppercase display, one orange. No pills, no bezels, no soft shadows. */
[data-theme] .rounded-full { border-radius: var(--r-pill); }
.card:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.btn--accent { box-shadow: none; }
.hero .display, .display--caps { text-transform: uppercase; letter-spacing: -0.04em; }
.rule { border-top: 1px solid var(--line-strong); }
.rule--thick { border-top: 3px solid var(--ink); }
.hairgrid { display: grid; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.hairgrid > * { background: var(--paper); }
.hairgrid--ground > * { background: var(--ground); }

/* Flat full-width nav bar (hub) */
.navbar { position: sticky; top: 0; z-index: 30; background: var(--panel); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.14); }
.navbar__in { display: flex; align-items: center; gap: 0.5rem; min-height: 64px; }
.navbar__brand { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: -0.02em; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; white-space: nowrap; }
.navbar__brand i { display: inline-block; width: 12px; height: 12px; background: var(--accent); }
.navbar nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.85); text-decoration: none; border-left: 1px solid rgba(255,255,255,0.12); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.navbar nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.navbar .burger span { background: #fff; }

/* Scrolling menu: horizontal category strip under the nav */
.catbar { background: var(--panel); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.14); position: relative; }
.catbar__scroll { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.catbar__scroll::-webkit-scrollbar { display: none; }
.catbar__scroll a { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0 1.1rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-decoration: none; border-right: 1px solid rgba(255,255,255,0.12); white-space: nowrap; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.catbar__scroll a .ico { font-size: 1.25rem; color: var(--accent); }
.catbar__scroll a:hover, .catbar__scroll a[aria-current] { background: var(--accent); color: var(--on-accent); }
.catbar__scroll a:hover .ico, .catbar__scroll a[aria-current] .ico { color: var(--on-accent); }
.catbar__scroll a.catbar__all { background: rgba(255,255,255,0.06); }
.catbar::after { content: ""; position: absolute; top: 0; bottom: 1px; right: 0; width: 56px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--panel)); }
.catbar__btn { position: absolute; top: 0; bottom: 1px; width: 44px; display: none; align-items: center; justify-content: center; background: var(--panel); color: #fff; border: 0; border-left: 1px solid rgba(255,255,255,0.14); cursor: pointer; z-index: 2; }
.catbar__btn--r { right: 0; } .catbar__btn--l { left: 0; border-left: 0; border-right: 1px solid rgba(255,255,255,0.14); }
@media (min-width: 1024px) { .catbar__btn { display: flex; } .catbar::after { display: none; } .catbar__scroll { margin: 0 44px; } }

/* Hero (industrial): headline block, flat search bar, request board */
.hero--flat .hero__kick { display: inline-flex; align-items: center; gap: 0.75rem; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; border-left: 3px solid var(--accent); padding-left: 0.75rem; }
.searchbar { display: grid; grid-template-columns: 1fr; background: #fff; color: var(--ink); border: 1px solid #fff; }
.searchbar__cell { display: flex; flex-direction: column; padding: 0.7rem 1rem 0.6rem; border-bottom: 1px solid var(--line-strong); }
.searchbar__cell label { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.searchbar__cell input, .searchbar__cell select { border: 0; padding: 0.25rem 0 0; font: inherit; font-size: 1.05rem; font-weight: 500; color: var(--ink); background: transparent; width: 100%; min-height: 32px; }
.searchbar__cell input:focus, .searchbar__cell select:focus { outline: none; }
.searchbar__cell:focus-within { background: var(--accent-soft); }
.searchbar__go { display: flex; align-items: center; justify-content: center; gap: 0.75rem; background: var(--accent); color: var(--on-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; padding: 1rem 1.5rem; border: 0; cursor: pointer; transition: background-color 300ms var(--ease); min-height: 56px; }
.searchbar__go:hover { background: #FF6F1A; }
.searchbar__go:active { transform: scale(0.99); }
@media (min-width: 640px) { .searchbar { grid-template-columns: 1.4fr 1fr auto; } .searchbar__cell { border-bottom: 0; border-right: 1px solid var(--line-strong); } }
.board { background: rgba(11,15,20,0.55); border: 1px solid rgba(255,255,255,0.22); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.board__head, .board__row, .board__foot { display: grid; grid-template-columns: 1fr auto; gap: 0.75rem 1rem; padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.14); align-items: baseline; }
.board__head { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.board__row .m { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.01em; }
.board__row .w { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 0.15rem; }
.board__row .s { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #FFD2B8; white-space: nowrap; }
.board__row .s b { display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-right: 0.5rem; vertical-align: 1px; }
.board__foot { border-bottom: 0; grid-template-columns: 1fr; }
.board__foot a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hero--flat .hero__points { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.22); }
.hero--flat .hero__points > div { padding: 1rem 1rem 1rem 0; border-right: 1px solid rgba(255,255,255,0.14); margin-right: 1rem; font-size: 0.9rem; color: rgba(255,255,255,0.88); }
.hero--flat .hero__points > div:last-child { border-right: 0; margin-right: 0; }
.hero--flat .hero__points b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1; margin-bottom: 0.3rem; }
@media (max-width: 639px) { .hero--flat .hero__points { grid-template-columns: 1fr; } .hero--flat .hero__points > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.14); margin-right: 0; } .hero--flat .hero__points > div:last-child { border-bottom: 0; } }

/* SALE marquee: sponsored deals, one strip, labelled */
.sale { display: flex; align-items: stretch; background: var(--paper); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line-strong); overflow: hidden; }
.sale__label { flex: 0 0 auto; display: flex; align-items: center; gap: 0.5rem; padding: 0 1rem; background: var(--panel); color: #fff; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; z-index: 1; white-space: nowrap; }
.sale__label i { display: inline-block; width: 8px; height: 8px; background: var(--accent); }
.sale__scroll { flex: 1 1 auto; overflow: hidden; white-space: nowrap; position: relative; }
.sale__track { display: inline-flex; will-change: transform; animation: ticker 60s linear infinite; }
.sale:hover .sale__track, .sale:focus-within .sale__track { animation-play-state: paused; }
.motion-off .sale__track { animation: none; }
.sale__item { display: inline-flex; align-items: center; gap: 0.9rem; min-height: 52px; padding: 0 1.4rem; border-right: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.sale__item:hover .sale__hl { text-decoration: underline; text-underline-offset: 4px; }
.sale__tag { display: inline-block; background: var(--accent); color: var(--on-accent); font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; padding: 0.3rem 0.5rem; text-transform: uppercase; }
.sale__sp { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sale__hl { font-weight: 600; }
.sale__cta { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 639px) { .sale__label span { display: none; } }

/* Category grid: hairline compartments instead of a card rail */
.rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); padding: 0; overflow: visible; scroll-snap-type: none; }
@media (min-width: 640px) { .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rail { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { flex: none; min-width: 0; background: var(--paper); border: 0 !important; transition: background-color 300ms var(--ease); }
.tile:hover { background: var(--ground); }
.tile .core { min-height: 190px; padding: 1.1rem; background: transparent; }
.tile .ico { font-size: 3.6rem; }
.tile .num { font-size: 1.75rem; }
.tile--ad .core { padding: 0; }
.tile--ad .ad, .tile--ad .bezel { height: 100%; border: 0; }

/* Steps: oversized numerals, hairline columns */
.steps__grid { display: grid; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
@media (min-width: 768px) { .steps__grid { grid-template-columns: repeat(3, 1fr); } }
.steps__grid > div { background: var(--paper); padding: 1.5rem 1.5rem 1.75rem; }
.step__num { width: auto; height: auto; border: 0; background: transparent; border-radius: 0; justify-content: flex-start; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--line-strong); -webkit-text-stroke: 1px var(--ink); color: transparent; transition: color 500ms var(--ease); }
.step__num--on { background: transparent; color: var(--accent); -webkit-text-stroke: 0; border-color: transparent; }
.steps__line { top: 0; }

/* Provinces: hairline grid, no lift */
.provgrid { display: grid; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.provgrid .prov { border: 0; }
.prov:hover { transform: none; background: var(--ground); border-color: transparent; }
.prov--hot:hover { background: var(--accent); color: var(--on-accent); }
.prov--hot:hover .text-white\/75, .prov--hot:hover .text-white { color: var(--on-accent); }

/* Comparison + stats: rules, not boxes */
.vs > div { border-bottom: 1px solid var(--line-strong); }
.vs > .h { border-bottom: 3px solid var(--ink); }
.stat { border-top: 3px solid var(--ink); padding-top: 1rem; }
.stat .n { color: var(--ink); }

/* Guides: hairline grid */
.guides { display: grid; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
@media (min-width: 768px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.guides > a { background: var(--paper); border: 0; }
.guides > a:hover { background: var(--ground); }

/* Mobile menu overlay: left-aligned list with rules */
.menu-overlay nav.menu-list { align-items: stretch; text-align: left; gap: 0; width: 100%; max-width: 32rem; padding: 0 1.5rem; }
.menu-overlay nav.menu-list a { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.14); font-size: 2rem; }
.menu-overlay nav.menu-list a:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }

/* Themes keep their own geometry where it matters */
[data-theme="prairie"] .step__num { -webkit-text-stroke: 1px var(--ink); }
[data-theme="prairie"] .vs > .h, [data-theme="prairie"] .stat, [data-theme="prairie"] .rule--thick, [data-theme="prairie"] .sale { border-top-color: var(--ink); }
[data-theme="prairie"] .searchbar, [data-theme="prairie"] .searchbar__cell input, [data-theme="prairie"] .searchbar__cell select { background: var(--paper); color: var(--ink); border-color: var(--paper); }
[data-theme="prairie"] .navbar, [data-theme="prairie"] .catbar { background: var(--panel); }
.hairgrid .bezel, .hairgrid .card { border: 0; height: 100%; }
.steps__line { height: 3px; z-index: 1; }
.steps__line > i { background: var(--accent); }
.hairgrid--fit { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.guides--fit { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (min-width: 768px) { .guides--fit { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }

/* =====================================================================================
   Design pass 2 (2026-10-23): one language per site, carried through every page.
   hub = Swiss industrial print · prairie = oilfield yard work order · steel = engineering blueprint · ledger = classifieds board
   ===================================================================================== */

/* ---------- Shared mechanics ---------- */
.hero__video { filter: none; }
.hero__poster { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.kick { display: inline-flex; align-items: center; gap: 0.75rem; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border-left: 3px solid var(--accent); padding-left: 0.75rem; color: inherit; }
.measure { max-width: 42rem; }
.prose-body { font-size: 1.0625rem; line-height: 1.75; }
.prose-body p { margin-bottom: 1.25rem; }
.prose-body p:first-of-type { font-size: 1.2rem; line-height: 1.6; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; padding-top: 1.5rem; font-size: 0.9rem; }
.pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager a:hover { border-color: var(--ink); }
.crumbs { font-size: 0.85rem; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { margin: 0 0.5rem; opacity: 0.6; }

/* ---------- HUB: industrial print, inner pages ---------- */
.ph { border-top: 3px solid var(--ink); }
.ph--dark { background: var(--panel); color: #fff; border-top-color: var(--accent); }
.ph h1 { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.9; font-weight: 700; font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
.ph__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.ph__meta > div { background: var(--paper); padding: 0.9rem 1rem; }
.ph__meta b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.ph__meta span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; }
@media (min-width: 768px) { .ph__meta { grid-template-columns: repeat(4, 1fr); } }
.ph--dark .ph__meta { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.2); }
.ph--dark .ph__meta > div { background: var(--panel); }
.ph--dark .ph__meta span { color: rgba(255,255,255,0.7); }

/* Ledger rows: the hub directory list. Name / place / sells / action, one hairline between rows */
.rows { border-top: 3px solid var(--ink); }
.rows__h, .row { display: grid; gap: 0.75rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line-strong); align-items: start; }
.rows__h { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 0.6rem 0; }
.row .name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.15; text-decoration: none; color: var(--ink); }
.row .name:hover { color: var(--accent-ink); }
.row .sub { font-size: 0.9rem; color: var(--muted); margin-top: 0.2rem; }
.row .tags { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; font-size: 0.85rem; }
.row .tags a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.row .tags a:hover { border-color: var(--accent); color: var(--accent-ink); }
.row .act { display: flex; flex-direction: column; gap: 0.4rem; }
.row .flag { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.row .flag--partner { color: var(--accent-ink); }
@media (min-width: 768px) { .rows__h, .row { grid-template-columns: 1.4fr 1fr 1.2fr auto; } .rows__h { display: grid; } }
@media (max-width: 767px) { .rows__h { display: none; } }

/* Spec list on branch page */
.spec { border-top: 3px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-strong); }
.spec dt { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.spec dd { margin: 0; }
.spec dd.big { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
@media (max-width: 480px) { .spec > div { grid-template-columns: 1fr; gap: 0.2rem; } }

/* Index: provinces and categories as two ruled columns */
.index2 { display: grid; gap: 3rem; }
@media (min-width: 900px) { .index2 { grid-template-columns: 1fr 1.4fr; } }
.ilist { border-top: 3px solid var(--ink); }
.ilist a { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; min-height: 48px; padding: 0.4rem 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); font-weight: 600; }
.ilist a span:last-child { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.ilist a:hover { color: var(--accent-ink); }
.ilist a:hover span:last-child { color: var(--accent-ink); }
.catgrid { display: grid; grid-template-columns: repeat(2, 1fr); background: transparent; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
@media (min-width: 640px) { .catgrid { grid-template-columns: repeat(3, 1fr); } }
.catgrid a { background: var(--paper); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 1rem; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: var(--ink); gap: 0.5rem; }
.catgrid a:hover { background: var(--ground); }
.catgrid .ico { font-size: 2.4rem; color: var(--ink); }
.catgrid b { font-weight: 600; font-size: 0.95rem; line-height: 1.2; }
.catgrid small { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Order form: fields live in hairline cells; the cell is the border */
.oform { display: grid; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.oform > div { background: var(--paper); padding: 0.8rem 1rem 0.7rem; display: flex; flex-direction: column; gap: 0.2rem; }
.oform label { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.oform input, .oform select, .oform textarea { border: 0; padding: 0.3rem 0 0; font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; width: 100%; min-height: 36px; }
.oform textarea { min-height: 110px; resize: vertical; }
.oform input:focus, .oform select:focus, .oform textarea:focus { outline: none; }
.oform > div:focus-within { background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--paper); } /* layered on paper so the grid lines behind never show through and drop label contrast */
.oform .span2 { grid-column: 1 / -1; }
.oform .err { margin: 0; font-size: 0.8rem; }
.oform .consent { flex-direction: row; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--ink-2); }
.oform .consent input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.oform .go { background: var(--accent); color: var(--on-accent); padding: 0; }
.oform .go button { width: 100%; min-height: 60px; background: transparent; border: 0; font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; cursor: pointer; color: inherit; display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem; }
.oform .go:hover { background: #FF6F1A; }
@media (min-width: 640px) { .oform { grid-template-columns: 1fr 1fr; } }

/* Dark flat panel (sidebar / CTA) */
.flat { background: var(--panel); color: #fff; padding: 1.5rem; border-top: 3px solid var(--accent); }
.flat h2, .flat .h { font-family: "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: -0.03em; font-weight: 700; font-size: 1.6rem; line-height: 1; }
.flat .btn--ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.flat .btn--ghost .disc { background: rgba(255,255,255,0.1); }
.numlist { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.numlist li { counter-increment: n; display: block; position: relative; padding: 0.7rem 0 0.7rem 2.5rem; border-top: 1px solid rgba(255,255,255,0.15); }
.numlist li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0.7rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--accent); font-size: 1.1rem; line-height: 1.3; }
.numlist--ink li { border-top-color: var(--line-strong); }

/* Guides index: numbered rules, newspaper index */
.gindex { border-top: 3px solid var(--ink); }
.gindex a { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); align-items: start; }
.gindex a .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--muted); line-height: 1; }
.gindex a .t { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.15; }
.gindex a:hover .t { color: var(--accent-ink); }
.gindex a .s { color: var(--muted); margin-top: 0.35rem; max-width: 60ch; }
.gindex a .m { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }
@media (min-width: 768px) { .gindex a { grid-template-columns: 4rem 1fr 11rem; } .gindex a .m { margin-top: 0.35rem; text-align: right; } }

/* Pricing as a comparison table, not three cards */
.ptable { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.ptable > div { background: var(--paper); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ptable .tier { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ptable .price { font-family: "Space Grotesk", sans-serif; font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.ptable .hot { background: var(--panel); color: #fff; }
.ptable .hot .tier { color: #FFD2B8; }
@media (min-width: 768px) { .ptable { grid-template-columns: 1fr 1.2fr 1fr; } }
.thanks-num { font-family: "Space Grotesk", sans-serif; font-size: clamp(5rem, 18vw, 14rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px #fff; }

/* ---------- PRAIRIE: oilfield yard ---------- */
[data-theme="prairie"] { --hazard: repeating-linear-gradient(135deg, var(--accent) 0 14px, transparent 14px 28px); }
[data-theme="prairie"] .hero::after { background: linear-gradient(90deg, rgba(21,18,15,0.9) 0%, rgba(21,18,15,0.75) 45%, rgba(21,18,15,0.45) 100%), linear-gradient(0deg, #15120F 0%, rgba(21,18,15,0) 50%); }
[data-theme="prairie"] .hero__video, [data-theme="prairie"] .hero__poster { filter: sepia(0.25) saturate(0.9) contrast(1.08); }
.hazard { height: 10px; background: var(--hazard); opacity: 0.9; }
.pr-h1 { font-family: "Barlow Condensed", sans-serif; font-weight: 900; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.01em; font-size: clamp(3.2rem, 8.5vw, 7.5rem); }
.pr-h1 em { font-style: normal; color: var(--accent); }
.pr-h2 { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; line-height: 0.9; letter-spacing: 0; font-size: clamp(2.2rem, 5vw, 4rem); }
.stamp { display: inline-block; font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; border: 2px solid var(--accent); color: var(--accent); padding: 0.25rem 0.6rem; transform: rotate(-2deg); }
/* Work order form */
.wo { background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); }
.wo__bar { background: var(--accent); color: var(--on-accent); display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 1rem; font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.05rem; }
.wo__bar span:last-child { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; font-weight: 600; }
.wo__body { padding: 1.25rem 1.25rem 1.5rem; display: grid; gap: 1.1rem; }
.wo__body .f { display: flex; flex-direction: column; gap: 0.25rem; }
.wo label { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--accent-ink); }
.wo input, .wo select, .wo textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); font: inherit; font-size: 1.05rem; padding: 0.45rem 0; min-height: 40px; width: 100%; border-radius: 0; }
.wo select option { color: #15120F; }
.wo textarea { min-height: 84px; resize: vertical; }
.wo input:focus, .wo select:focus, .wo textarea:focus { outline: none; border-bottom-color: var(--accent); border-bottom-width: 2px; }
.wo .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wo .consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.wo .consent input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); flex: 0 0 auto; margin-top: 1px; }
.wo__go { display: flex; justify-content: space-between; align-items: center; width: 100%; background: var(--accent); color: var(--on-accent); border: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.25rem; padding: 0.9rem 1.1rem; min-height: 56px; cursor: pointer; }
.wo__go:hover { background: #F5AE4A; }
.wo .err { color: #FF9A8A; }
/* City tiles */
.pr-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); background: transparent; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
@media (min-width: 768px) { .pr-cities { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
.pr-city { background: var(--paper); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); min-height: 128px; min-width: 0; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: var(--ink); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.pr-city b { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 0.92; letter-spacing: 0; overflow-wrap: anywhere; }
.pr-city span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pr-city:hover { background: var(--accent); color: var(--on-accent); }
.pr-city:hover span { color: var(--on-accent); }
/* What Alberta buys: horizontal strip of category slabs */
.pr-strip { display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--line-strong); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); scrollbar-width: none; }
.pr-strip::-webkit-scrollbar { display: none; }
.pr-strip a { flex: 0 0 min(72vw, 260px); scroll-snap-align: start; background: var(--ground); padding: 1.25rem 1rem 1rem; display: flex; flex-direction: column; gap: 1.5rem; text-decoration: none; color: var(--ink); min-height: 190px; }
.pr-strip a:hover { background: var(--paper); }
.pr-strip .ico { font-size: 3.6rem; color: var(--accent); }
.pr-strip b { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 0.95; }
.pr-strip small { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
/* Dealer roster rows */
.roster { border-top: 2px solid var(--accent); }
.roster__row { display: grid; gap: 0.5rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-strong); align-items: center; }
@media (min-width: 768px) { .roster__row { grid-template-columns: 1.3fr 1fr auto; } }
.roster__row .nm { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 0.95; text-decoration: none; color: var(--ink); }
.roster__row .nm:hover { color: var(--accent); }
.roster__row .wh { color: var(--muted); font-size: 0.95rem; }
.roster__row .tel { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--accent-ink); text-decoration: none; letter-spacing: 0.02em; }
.roster__row .cats { font-size: 0.85rem; color: var(--ink-2); }
/* Yard board: deals as 4 static compartments */
.yard { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
@media (min-width: 640px) { .yard { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .yard { grid-template-columns: repeat(4, 1fr); } }
.yard a { background: var(--paper); padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; color: var(--ink); min-height: 150px; }
.yard a:hover { background: #2A231C; }
.yard .tag { align-self: flex-start; background: var(--accent); color: var(--on-accent); font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; padding: 0.2rem 0.5rem; }
.yard .sp { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.yard .hl { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.25rem; line-height: 1; text-transform: uppercase; }
.yard .cta { margin-top: auto; color: var(--accent-ink); font-weight: 600; font-size: 0.9rem; }
/* Prairie reading page */
.pr-read { max-width: 44rem; }
.pr-read .prose-body { font-size: 1.125rem; line-height: 1.8; color: var(--ink-2); }
.pr-read .prose-body p:first-of-type { color: var(--ink); font-size: 1.35rem; line-height: 1.5; font-weight: 500; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pr-rule { height: 4px; background: var(--accent); width: 5rem; }
.pr-gl a { display: grid; gap: 0.3rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); }
.pr-gl a .t { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 0.92; }
.pr-gl a:hover .t { color: var(--accent); }
.pr-gl a .s { color: var(--muted); max-width: 60ch; }
[data-theme="prairie"] .navbar, [data-theme="prairie"] .site-footer { background: #0C0A08; }
[data-theme="prairie"] .topbar__bar { border-radius: 0; }
[data-theme="prairie"] .dial__fab { border-radius: 0; }
[data-theme="prairie"] .dial__item { border-radius: 0; }
[data-theme="prairie"] .btn, [data-theme="prairie"] .btn .disc { border-radius: 0; }
[data-theme="prairie"] .btn--accent { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.1rem; font-weight: 800; }
[data-theme="prairie"] .btn--accent:hover { background: #F5AE4A; }
[data-theme="prairie"] .ph { border-top-color: var(--accent); }
[data-theme="prairie"] .ph h1, [data-theme="prairie"] .flat h2, [data-theme="prairie"] .row .name, [data-theme="prairie"] .gindex a .t, [data-theme="prairie"] .spec dd.big, [data-theme="prairie"] .ph__meta b, [data-theme="prairie"] .ptable .price { font-family: "Barlow Condensed", sans-serif; font-weight: 800; letter-spacing: 0; }
[data-theme="prairie"] .ph h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: 0.86; }
[data-theme="prairie"] .row .name { font-size: 1.6rem; text-transform: uppercase; }
[data-theme="prairie"] .rows, [data-theme="prairie"] .spec, [data-theme="prairie"] .ilist, [data-theme="prairie"] .gindex, [data-theme="prairie"] .stat, [data-theme="prairie"] .vs > .h { border-top-color: var(--accent); }
[data-theme="prairie"] .oform .go:hover { background: #F5AE4A; }
[data-theme="prairie"] .flat { background: var(--paper); border-top-color: var(--accent); }
[data-theme="prairie"] .ptable .hot { background: var(--accent); color: var(--on-accent); }
[data-theme="prairie"] .ptable .hot .tier { color: var(--on-accent); }
[data-theme="prairie"] .thanks-num { -webkit-text-stroke-color: var(--accent); }

/* ---------- STEEL: engineering blueprint ---------- */
[data-theme="steel"] body { background-color: var(--ground); background-image: linear-gradient(to right, rgba(29,78,216,0.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(29,78,216,0.07) 1px, transparent 1px); background-size: 32px 32px; background-attachment: fixed; }
[data-theme="steel"] .hero::after { background: linear-gradient(90deg, rgba(14,26,43,0.88) 0%, rgba(14,26,43,0.7) 50%, rgba(29,78,216,0.35) 100%), linear-gradient(0deg, rgba(14,26,43,0.9) 0%, rgba(14,26,43,0) 50%); }
[data-theme="steel"] .hero__video, [data-theme="steel"] .hero__poster { filter: grayscale(0.7) contrast(1.05) brightness(0.95); }
.st-h1 { font-family: Archivo, sans-serif; font-weight: 900; letter-spacing: -0.045em; line-height: 0.92; font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.st-h2 { font-family: Archivo, sans-serif; font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(1.9rem, 4vw, 3rem); }
/* Dimension line: a labelled rule with end ticks, used as section header */
.dim { display: flex; align-items: center; gap: 1rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
.dim::before, .dim::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--accent); position: relative; }
.dim::before { background-image: linear-gradient(var(--accent), var(--accent)); }
.dim i { width: 1px; height: 12px; background: var(--accent); display: inline-block; }
.dim--left::before { display: none; }
/* Sheet: the white drawing sheet with a cobalt title bar */
.sheet { background: var(--paper); border: 1px solid var(--accent); box-shadow: 0 1px 0 var(--accent), 0 24px 48px -32px rgba(14,26,43,0.35); border-radius: 2px; }
.sheet__bar { background: var(--accent); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 1rem; font-family: Archivo, sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sheet__bar span:last-child { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; opacity: 0.9; font-weight: 500; }
.sheet__body { padding: 1.25rem; }
.sheet .f { display: flex; flex-direction: column; gap: 0.3rem; }
.sheet label { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.sheet input, .sheet select, .sheet textarea { border: 1px solid var(--line-strong); border-radius: 2px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; padding: 0.6rem 0.75rem; min-height: 44px; width: 100%; }
.sheet input:focus, .sheet select:focus, .sheet textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sheet textarea { min-height: 90px; resize: vertical; }
.sheet .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.sheet .consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.sheet .consent input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); flex: 0 0 auto; margin-top: 1px; }
.sheet__go { width: 100%; display: flex; justify-content: space-between; align-items: center; background: var(--accent); color: #fff; border: 0; border-radius: 2px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; padding: 0.9rem 1.1rem; min-height: 52px; cursor: pointer; }
.sheet__go:hover { background: var(--accent-ink); }
/* Drawing index: city list on the hero's right */
.dindex { background: rgba(14,26,43,0.55); border: 1px solid rgba(255,255,255,0.3); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 2px; }
.dindex__h { display: grid; grid-template-columns: 1fr auto; padding: 0.7rem 1rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.3); }
.dindex a { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 0.55rem 1rem; min-height: 46px; border-bottom: 1px solid rgba(255,255,255,0.16); text-decoration: none; color: #fff; font-family: Archivo, sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.dindex a:last-child { border-bottom: 0; }
.dindex a:hover { background: rgba(255,255,255,0.08); }
.dindex a span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; color: #BFD3FF; }
/* Tabs: construction / demolition / recycling */
.st-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--accent); overflow-x: auto; scrollbar-width: none; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tabs button { background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 0.8rem 1.1rem; min-height: 48px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; color: var(--muted); cursor: pointer; white-space: nowrap; }
.st-tabs button[aria-selected="true"] { color: var(--accent-ink); border-bottom-color: var(--accent); }
.st-tabs button:hover { color: var(--ink); }
.st-panel[hidden] { display: none; }
.st-cats { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--paper); border-top: 1px solid rgba(29,78,216,0.35); border-left: 1px solid rgba(29,78,216,0.35); border-radius: 2px; overflow: hidden; }
@media (min-width: 640px) { .st-cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .st-cats { grid-template-columns: repeat(4, 1fr); } }
.st-cats a { background: var(--paper); border-right: 1px solid rgba(29,78,216,0.35); border-bottom: 1px solid rgba(29,78,216,0.35); padding: 1rem; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.st-cats a:hover { background: var(--accent-soft); }
.st-cats .ico { font-size: 2.8rem; color: var(--accent); }
.st-cats b { font-family: Archivo, sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.15; letter-spacing: -0.01em; }
.st-cats small { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
/* Spec-sheet dealer card */
.spec-sheet { background: var(--paper); border: 1px solid var(--accent); border-radius: 2px; display: flex; flex-direction: column; }
.spec-sheet__bar { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.85rem 1rem; border-bottom: 1px solid var(--accent); }
.spec-sheet__bar a { font-family: Archivo, sans-serif; font-weight: 800; letter-spacing: -0.025em; font-size: 1.25rem; line-height: 1.1; text-decoration: none; color: var(--ink); }
.spec-sheet__bar a:hover { color: var(--accent-ink); }
.spec-sheet__bar span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; }
.spec-sheet dl { margin: 0; display: grid; grid-template-columns: 6rem 1fr; }
.spec-sheet dt, .spec-sheet dd { padding: 0.55rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; margin: 0; }
.spec-sheet dt { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); }
.spec-sheet__foot { margin-top: auto; display: flex; gap: 0.5rem; padding: 0.75rem 1rem; }
.st-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .st-grid { grid-template-columns: repeat(2, 1fr); } }
.st-region { font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; }
/* Notices strip: deals as a numbered table */
.notices { border: 1px solid var(--accent); border-radius: 2px; background: var(--paper); }
.notices a { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 0.75rem 1rem; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.notices a:last-child { border-bottom: 0; }
.notices a:hover { background: var(--accent-soft); }
.notices .tag { background: var(--accent); color: #fff; font-family: Archivo, sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.5rem; border-radius: 2px; font-size: 12px; }
.notices .hl { font-weight: 600; }
.notices .sp { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.notices .cta { color: var(--accent-ink); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
/* Two-column technical blog */
.st-article { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .st-article { grid-template-columns: 16rem 1fr; } .st-article aside { position: sticky; top: 5rem; align-self: start; } }
.st-article aside dl { margin: 0; border-top: 1px solid var(--accent); }
.st-article aside dt { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 0.75rem; }
.st-article aside dd { margin: 0 0 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.st-article .prose-body { font-family: Manrope, sans-serif; }
.st-article .prose-body p:first-of-type { font-weight: 500; }
.st-gl { border-top: 1px solid var(--accent); }
.st-gl a { display: grid; gap: 0.75rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); }
@media (min-width: 768px) { .st-gl a { grid-template-columns: 10rem 1fr; } }
.st-gl .m { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.st-gl .t { font-family: Archivo, sans-serif; font-weight: 800; letter-spacing: -0.03em; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.1; }
.st-gl a:hover .t { color: var(--accent-ink); }
.st-gl .s { color: var(--muted); margin-top: 0.3rem; max-width: 60ch; }
[data-theme="steel"] .ph { border-top: 1px solid var(--accent); }
[data-theme="steel"] .ph h1 { font-family: Archivo, sans-serif; text-transform: none; font-weight: 900; letter-spacing: -0.045em; }
[data-theme="steel"] .ph--dark { background: var(--panel); }
[data-theme="steel"] .rows, [data-theme="steel"] .spec, [data-theme="steel"] .ilist, [data-theme="steel"] .gindex, [data-theme="steel"] .stat { border-top: 1px solid var(--accent); }
[data-theme="steel"] .row .name, [data-theme="steel"] .gindex a .t, [data-theme="steel"] .spec dd.big, [data-theme="steel"] .ph__meta b, [data-theme="steel"] .ptable .price, [data-theme="steel"] .flat h2 { font-family: Archivo, sans-serif; font-weight: 800; letter-spacing: -0.03em; }
[data-theme="steel"] .flat h2 { text-transform: none; }
[data-theme="steel"] .hairgrid, [data-theme="steel"] .oform, [data-theme="steel"] .ph__meta, [data-theme="steel"] .ptable { background: rgba(29,78,216,0.3); border-color: rgba(29,78,216,0.3); }
[data-theme="steel"] .oform .go { color: #fff; }
[data-theme="steel"] .oform .go:hover { background: var(--accent-ink); }
[data-theme="steel"] .flat { border-top: 4px solid var(--accent); }
[data-theme="steel"] .btn--accent:hover { background: var(--accent-ink); }
[data-theme="steel"] .thanks-num { -webkit-text-stroke-color: #BFD3FF; }
[data-theme="steel"] .topbar__bar { border-radius: 2px; }
[data-theme="steel"] .dial__fab { border-radius: 4px; }

/* ---------- LEDGER: classifieds board ---------- */
[data-theme="ledger"] { --ink: #141615; --ink-2: #2B302C; --ground: #F1F1ED; --paper: #FFFFFF; --line: rgba(20,22,21,0.1); --line-strong: rgba(20,22,21,0.18); --muted: #566058; --accent: #197A46; --accent-ink: #146038; --accent-soft: rgba(25,122,70,0.1); --on-accent: #FFFFFF; --ink-rgb: 20 22 21; --ink2-rgb: 43 48 44; --ground-rgb: 241 241 237; --paper-rgb: 255 255 255; --muted-rgb: 86 96 88; --accent-rgb: 25 122 70; --accent-ink-rgb: 20 96 56; --radius-xl: 2px; --radius-lg: 2px; --radius-md: 2px; --r-pill: 2px; --panel: #141615; }
[data-theme="ledger"] .display { font-family: "Libre Franklin", "IBM Plex Sans", sans-serif; letter-spacing: -0.03em; font-weight: 800; }
[data-theme="ledger"] .hero::after { background: linear-gradient(90deg, rgba(20,22,21,0.88) 0%, rgba(20,22,21,0.7) 50%, rgba(20,22,21,0.4) 100%), linear-gradient(0deg, rgba(20,22,21,0.92) 0%, rgba(20,22,21,0) 45%); }
[data-theme="ledger"] .hero__video, [data-theme="ledger"] .hero__poster { filter: saturate(0.85) contrast(1.05); }
[data-theme="ledger"] .grain::before { opacity: 0.05; }
[data-theme="ledger"] .tbl thead tr { background: transparent !important; }
[data-theme="ledger"] .tbl th { border-bottom: 2px solid var(--ink); }
.lg-top { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); }
.lg-top__in { display: flex; align-items: center; gap: 0.75rem; min-height: 60px; }
.lg-brand { font-family: "Libre Franklin", sans-serif; font-weight: 900; letter-spacing: -0.04em; font-size: 1.35rem; text-decoration: none; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.lg-brand i { display: inline-block; width: 10px; height: 10px; background: var(--accent); }
.lg-search { flex: 1 1 auto; display: none; border: 1px solid var(--ink); border-radius: 2px; max-width: 34rem; min-height: 44px; }
.lg-search input { flex: 1 1 0; width: 100%; border: 0; padding: 0 0.75rem; font: inherit; font-size: 0.95rem; min-width: 0; background: transparent; color: var(--ink); }
.lg-search input:focus { outline: none; }
.lg-search button { border: 0; border-left: 1px solid var(--ink); background: var(--ground); padding: 0 0.9rem; cursor: pointer; color: var(--ink); min-width: 44px; display: inline-flex; align-items: center; }
.lg-search:focus-within { box-shadow: 0 0 0 3px var(--accent-soft); }
@media (min-width: 640px) { .lg-search { display: flex; } }
.lg-search--always { display: flex; max-width: 100%; }
.lg-top__in { min-width: 0; } .lg-top__in > * { min-width: 0; }
.lg-cats__scroll { min-width: 0; }
.lg-nav { display: none; gap: 0.25rem; align-items: center; }
@media (min-width: 1024px) { .lg-nav { display: flex; } }
.lg-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.lg-nav a:hover { color: var(--accent-ink); }
.lg-post { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem; background: var(--accent); color: #fff; font-family: "Libre Franklin", sans-serif; font-weight: 800; font-size: 0.9rem; letter-spacing: -0.01em; text-decoration: none; border-radius: 2px; white-space: nowrap; margin-left: auto; }
.lg-post:hover { background: var(--accent-ink); }
.lg-cats { background: var(--paper); border-bottom: 1px solid var(--line-strong); }
.lg-cats__scroll { display: flex; overflow-x: auto; scrollbar-width: none; gap: 0; }
.lg-cats__scroll::-webkit-scrollbar { display: none; }
.lg-cats__scroll a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.9rem; font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.lg-cats__scroll a:hover { color: var(--accent-ink); }
.lg-cats__scroll a[aria-current], .lg-cats__scroll a.on { color: var(--accent-ink); border-bottom-color: var(--accent); }
.lg-cats__scroll a.ext { color: var(--muted); }
.lg-cats__scroll a.ext svg { width: 0.75em; height: 0.75em; }
/* Board header: title + link, 2px rule */
.bh { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.5rem; margin-bottom: 1px; }
.bh h2, .bh h1 { font-family: "Libre Franklin", sans-serif; font-weight: 800; letter-spacing: -0.03em; font-size: 1.5rem; line-height: 1; }
.bh a { font-size: 0.9rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.bh a:hover { text-decoration: underline; }
/* Dense listing board */
.board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: transparent; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
@media (min-width: 640px) { .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .board-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .board-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tile-l { background: var(--paper); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; }
.tile-l:hover { background: #FAFAF7; }
.tile-l:hover .tl-t { text-decoration: underline; text-underline-offset: 3px; }
.tile-l .ph { aspect-ratio: 4 / 3; background: var(--ground); position: relative; display: flex; align-items: center; justify-content: center; border-top: 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.tile-l .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-l .ph .ico { font-size: 3rem; color: var(--muted); opacity: 0.7; }
.tile-l .ph .dl { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.06em; padding: 0.15rem 0.45rem; text-transform: uppercase; }
.tile-l .tb { padding: 0.6rem 0.7rem 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.tile-l .tl-t { font-weight: 600; font-size: 0.9rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-l .tl-p { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 1.05rem; color: var(--accent-ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tile-l .tl-m { font-size: 12px; color: var(--muted); line-height: 1.3; }
.tile-l .tl-m:last-child { margin-top: auto; padding-top: 0.25rem; }
/* Category board on the home page: rows with counts */
.cat-board { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
@media (min-width: 640px) { .cat-board { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-board { grid-template-columns: repeat(4, 1fr); } }
.cat-board a { background: var(--paper); padding: 0.9rem 1rem; display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center; text-decoration: none; color: var(--ink); min-height: 72px; }
.cat-board a:hover { background: #FAFAF7; }
.cat-board .ico { font-size: 2.2rem; color: var(--ink); }
.cat-board b { font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 0.95rem; line-height: 1.15; letter-spacing: -0.01em; display: block; }
.cat-board small { display: block; font-size: 12px; color: var(--muted); margin-top: 0.1rem; }
.cat-board .n { font-family: "IBM Plex Mono", monospace; font-size: 0.9rem; color: var(--muted); }
.cat-board .ext { color: var(--accent-ink); font-weight: 600; font-size: 0.85rem; }
/* Price box on detail; forms */
.pricebox { background: var(--paper); border: 2px solid var(--ink); border-radius: 2px; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.8rem; }
.pricebox .p { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 2rem; letter-spacing: -0.03em; color: var(--accent-ink); line-height: 1; }
.pricebox .btn { border-radius: 2px; }
.lform { display: grid; gap: 0; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 2px; }
.lform__group { padding: 1.25rem; border-bottom: 1px solid var(--line-strong); display: grid; gap: 0.9rem; }
.lform__group:last-child { border-bottom: 0; }
.lform__group h2 { font-family: "Libre Franklin", sans-serif; font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; text-transform: uppercase; }
.lform .f { display: flex; flex-direction: column; gap: 0.3rem; }
.lform label { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.lform input, .lform select, .lform textarea { border: 1px solid var(--line-strong); border-radius: 2px; padding: 0.65rem 0.8rem; font: inherit; font-size: 1rem; background: var(--paper); color: var(--ink); width: 100%; min-height: 44px; }
.lform input:focus, .lform select:focus, .lform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.lform input[type=file] { padding: 0.5rem; font-size: 0.9rem; }
.lform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 480px) { .lform .two { grid-template-columns: 1fr; } }
.lform .help { font-size: 12px; color: var(--muted); }
.lrows { border-top: 2px solid var(--ink); }
.lrow { display: grid; gap: 0.5rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-strong); align-items: center; }
@media (min-width: 768px) { .lrow { grid-template-columns: 1fr auto auto; } }
.lrow .t { font-weight: 600; text-decoration: none; color: var(--ink); }
.lrow .t:hover { color: var(--accent-ink); }
.lrow .m { font-size: 0.85rem; color: var(--muted); }
.lrow .st { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.lrow .acts { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.lrow .acts a, .lrow .acts button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; border: 1px solid var(--line-strong); background: var(--paper); font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: none; border-radius: 2px; }
.lrow .acts a:hover, .lrow .acts button:hover { border-color: var(--ink); }
.deal-ribbon { display: flex; gap: 1px; overflow-x: auto; background: var(--line-strong); border: 1px solid var(--line-strong); scrollbar-width: none; }
.deal-ribbon::-webkit-scrollbar { display: none; }
.deal-ribbon a { flex: 1 0 220px; background: var(--paper); padding: 0.75rem 0.9rem; display: flex; flex-direction: column; gap: 0.2rem; text-decoration: none; color: var(--ink); }
.deal-ribbon a:hover { background: #FAFAF7; }
.deal-ribbon .tag { font-family: "Libre Franklin", sans-serif; font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.deal-ribbon .hl { font-weight: 600; font-size: 0.9rem; }
.deal-ribbon .sp { font-size: 12px; color: var(--muted); }
[data-theme="ledger"] .tabs { border-top: 2px solid var(--ink); }
[data-theme="ledger"] .tabs a { font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 12px; }
[data-theme="ledger"] .btn { border-radius: 2px; }
[data-theme="ledger"] .btn .disc { border-radius: 2px; }
[data-theme="ledger"] .btn--accent { color: #fff; }
[data-theme="ledger"] .btn--accent:hover { background: var(--accent-ink); }
[data-theme="ledger"] .ph { border-top: 2px solid var(--ink); }
[data-theme="ledger"] .ph h1 { font-family: "Libre Franklin", sans-serif; text-transform: none; letter-spacing: -0.04em; font-weight: 900; }
[data-theme="ledger"] .gindex a .t, [data-theme="ledger"] .flat h2, [data-theme="ledger"] .ptable .price, [data-theme="ledger"] .ph__meta b { font-family: "Libre Franklin", sans-serif; font-weight: 800; }
[data-theme="ledger"] .flat h2 { text-transform: none; }
[data-theme="ledger"] .oform .go { color: #fff; }
[data-theme="ledger"] .oform .go:hover { background: var(--accent-ink); }
[data-theme="ledger"] .thanks-num { -webkit-text-stroke-color: #9AD6B5; }

[data-theme="ledger"] .hero .display { text-transform: none; letter-spacing: -0.04em; }
[data-theme="ledger"] .hero .dindex { border-color: rgba(255,255,255,0.3); }
[data-theme="ledger"] .numlist li::before { font-family: "IBM Plex Mono", monospace; color: #9AD6B5; }

/* Touch targets: every standalone link or control is at least 44px tall, including inline ones in rows and sheets */
.crumbs a, .row .tags a, .bh a, .lrow .m a, .cat-board .ext, .dealer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; }
.row .tags { gap: 0 0.9rem; } .row .tags a { margin: -0.4rem 0; }
.lg-search { min-height: 46px; } .lg-search input, .lg-search button { min-height: 44px; }
.wo input, .wo select, .wo textarea { min-height: 44px; }
.spec-sheet dd { line-height: 1.4; }
.dindex__h { min-height: 44px; }
.row .tags a, .spec-sheet dd a, .roster .cats a { padding: 0 0.3rem; margin-left: -0.3rem; }
.row .name, .roster__row .nm, .roster__row .tel, .spec-sheet__bar a, .lrow .t, .gindex a .t, .pr-gl a .t, .st-gl .t { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) { .rows--3 .rows__h, .rows--3 .row { grid-template-columns: 1.6fr 1fr auto; } }
.rows--3 .tags { margin-top: 0.4rem; }
.gindex a .t, .pr-gl a .t, .st-gl .t { display: flex; }
.oform input, .oform select { min-height: 44px; }
.oform .consent input, .wo .consent input, .sheet .consent input, form input[type=checkbox] { width: 24px !important; height: 24px !important; min-height: 0 !important; }
.dial__fab { min-width: 64px; min-height: 64px; }
.burger { min-width: 44px; min-height: 44px; }
.searchbar__cell input, .searchbar__cell select { min-height: 44px; }
.board__foot a, .spec dd a, .ph__meta a, .rows .sub a, .roster__row .wh a { display: inline-flex; align-items: center; min-height: 44px; }
.board__foot { padding-top: 0.4rem; padding-bottom: 0.4rem; }
.spec dd.big a { min-height: 44px; }
a.underline.font-semibold, .bh a, .crumbs a, .ilist a span:last-child { padding-left: 0.3rem; padding-right: 0.3rem; margin-left: -0.3rem; }
.bh a { min-width: 44px; justify-content: center; }
.tbl td a, .ph__meta a, .st-article aside dd a, .spec dd a, .ilist a span:last-child, .pr-city span { min-height: 44px; display: inline-flex; align-items: center; }
.tbl td a, .crumbs a, .row .tags a { min-width: 44px; justify-content: center; }
.spec-sheet dd a, .roster .cats a { display: inline; min-height: 0; min-width: 0; padding: 0; margin: 0; }
details.filters a.underline { min-width: 44px; justify-content: center; }

/* ---------- Gallery (2026-10-24): one language per theme, shared lightbox ---------- */
.gal-hub { display: grid; grid-template-columns: 1fr; border-top: 3px solid var(--ink); }
@media (min-width: 640px) { .gal-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1px; background: linear-gradient(var(--line-strong), var(--line-strong)) center / 1px 100% no-repeat; } }
@media (min-width: 1024px) { .gal-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); background: none; column-gap: 1.5rem; } }
.gal-hub figure { margin: 0; padding: 1.25rem 0; border-bottom: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 0.75rem; }
.gal-hub a { display: block; overflow: hidden; background: var(--panel); }
.gal-hub img, .gal-lg img, .gal-st__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 700ms var(--ease); }
.gal-hub a:hover img, .gal-lg a:hover img, .gal-st__img:hover img, .gal-pr a:hover img { transform: scale(1.03); }
.gal-hub figcaption { display: flex; flex-direction: column; gap: 0.2rem; }
.gal-hub figcaption span { font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1rem; line-height: 1.15; }
.gal-hub figcaption small, .gal-lg figcaption small { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gal-pr { display: grid; grid-template-columns: 1fr; gap: 2rem 1.5rem; }
@media (min-width: 768px) { .gal-pr { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gal-pr .wide { grid-column: 1 / -1; } }
.gal-pr figure { margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.gal-pr a { display: block; overflow: hidden; border-bottom: 4px solid var(--accent); }
.gal-pr img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; filter: sepia(0.2) contrast(1.06); transition: transform 700ms var(--ease); }
.gal-pr .wide img { aspect-ratio: 21 / 9; }
.gal-pr figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; }
.gal-pr figcaption b { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 0.95; }
.gal-pr figcaption span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.gal-st { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .gal-st { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gal-st { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gal-st figure { margin: 0; }
.gal-st__img { display: block; overflow: hidden; border-bottom: 1px solid var(--accent); }
.gal-st figcaption dl { grid-template-columns: 5.5rem 1fr; }
.gal-st figcaption dd:last-child, .gal-st figcaption dt:nth-last-child(2) { border-bottom: 0; }
.gal-lg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
@media (min-width: 900px) { .gal-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gal-lg figure { margin: 0; background: var(--paper); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.gal-lg a { display: block; overflow: hidden; }
.gal-lg figcaption { padding: 0.6rem 0.7rem 0.75rem; font-size: 0.9rem; font-weight: 600; line-height: 1.3; display: flex; flex-direction: column; gap: 0.2rem; }
/* Lightbox */
.lb { border: 0; padding: 0; max-width: min(96vw, 1280px); width: 100%; background: var(--panel); color: #fff; }
.lb::backdrop { background: rgba(5, 7, 10, 0.88); }
.lb__fig { margin: 0; }
.lb__img { display: block; width: 100%; height: auto; max-height: 78dvh; object-fit: contain; background: #000; }
.lb__cap { padding: 0.75rem 1rem 0; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.lb__bar { display: flex; align-items: center; gap: 0.25rem; padding: 0.5rem; }
.lb__count { flex: 1 1 auto; text-align: center; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.12em; color: rgba(255,255,255,0.75); }
.lb__btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); cursor: pointer; font: inherit; font-weight: 600; padding: 0 0.9rem; }
.lb__btn:hover { background: rgba(255,255,255,0.1); }
.lb__btn--close { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
[data-theme="steel"] .lb__btn--close, [data-theme="ledger"] .lb__btn--close { color: #fff; }
/* Gallery preview strip on home pages */
.gal-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; }
.gal-strip a { display: block; overflow: hidden; }
.gal-strip img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 700ms var(--ease); }
.gal-strip a:hover img { transform: scale(1.04); }
@media (max-width: 639px) { .gal-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gal-strip a:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .gal-hub img, .gal-lg img, .gal-st__img img, .gal-pr img, .gal-strip img { transition: none; } }
/* Audit leftovers (2026-10-24): single links in spec cells reach 44px without growing the row; board headers wrap on phones */
.spec-sheet dd > a:only-child { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin: -0.75rem 0; }
.spec-sheet dd { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.bh { flex-wrap: wrap; row-gap: 0.25rem; }
/* Best Prices locations */
.loc-cols { display: grid; gap: 2rem 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .loc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .loc-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.loc-prov h2 a { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.loc-prov h2 a:hover { color: var(--accent-ink); }
.loc-prov ul, .loc-list { list-style: none; margin: 0; padding: 0; }
.loc-prov li a, .loc-list li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.loc-prov li a span:last-child, .loc-list li a span:last-child { font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; color: var(--muted); }
.loc-prov li a:hover, .loc-list li a:hover { color: var(--accent-ink); }
.loc-list { display: grid; grid-template-columns: 1fr; column-gap: 2rem; }
@media (min-width: 640px) { .loc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.loc-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.loc-cats a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--ink); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.9rem; background: var(--paper); }
.loc-cats a span { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--accent-ink); }
.loc-cats a:hover { background: var(--ink); color: #fff; } .loc-cats a:hover span { color: #9AD6B5; }

/* ---------- Staff portal (2026-10-24): neutral operations layout, hub tokens, independent of the site theme ---------- */
.portal { background: var(--ground); color: var(--ink); font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; min-height: 100dvh; }
.portal h1, .portal h2 { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.03em; font-weight: 700; }
.portal h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; }
.portal h2 { font-size: 1.25rem; line-height: 1.1; }
.pt-top { background: var(--panel); color: #fff; border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 30; }
.pt-top__in { max-width: 80rem; margin: 0 auto; padding: 0 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; min-height: 60px; }
.pt-brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; color: #fff; text-decoration: none; }
.pt-brand i { width: 12px; height: 12px; background: var(--accent); display: inline-block; }
.pt-nav { display: flex; flex-wrap: wrap; gap: 0; order: 3; width: 100%; overflow-x: auto; }
.pt-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem; color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; font-size: 0.9rem; border-bottom: 3px solid transparent; margin-bottom: -3px; white-space: nowrap; }
.pt-nav a:hover { color: #fff; } .pt-nav a[aria-current] { color: #fff; border-bottom-color: #fff; }
@media (min-width: 900px) { .pt-nav { order: 0; width: auto; } }
.pt-out { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.pt-user { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.08em; color: rgba(255,255,255,0.75); }
.pt-out button { min-height: 44px; padding: 0 0.9rem; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); font: inherit; font-weight: 600; cursor: pointer; }
.pt-main { max-width: 80rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; display: flex; flex-direction: column; gap: 1.5rem; }
.pt-head { display: flex; flex-direction: column; gap: 0.4rem; }
.pt-head--row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.pt-muted { color: var(--muted); }
.pt-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
@media (min-width: 900px) { .pt-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pt-kpis a { background: var(--paper); padding: 1rem; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 0.3rem; min-height: 96px; }
.pt-kpis a:hover { background: #fff7f1; }
.pt-kpis b { font-family: "Space Grotesk", sans-serif; font-size: 2rem; line-height: 1; letter-spacing: -0.04em; }
.pt-kpis span { font-size: 0.85rem; color: var(--muted); }
.pt-kpis a.is-hot { box-shadow: inset 0 3px 0 var(--accent); } .pt-kpis a.is-hot b { color: var(--accent-ink); }
.pt-sec { background: var(--paper); border: 1px solid var(--line-strong); padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.pt-sechead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pt-sechead > a:not(.pt-btn), .pt-actions a, .pt-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pt-two { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .pt-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pt-tablewrap { overflow-x: auto; border: 1px solid var(--line-strong); background: var(--paper); position: relative; }
.pt-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 760px; }
.pt-table th, .pt-table td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }
.pt-table thead th { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.pt-table tbody th { font-weight: 600; }
.pt-sitename { display: inline-flex; align-items: center; min-height: 44px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.pt-sitename:hover { color: var(--accent-ink); }
.pt-host { display: block; font-size: 12px; color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.04em; margin-top: 0.15rem; }
.pt-table .pt-link { display: flex; min-height: 44px; text-decoration: none; }
.pt-hot { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.pt-actions { display: flex; gap: 0.25rem 1rem; align-items: center; flex-wrap: wrap; }
.pt-actions--wrap { gap: 0.25rem 1.5rem; }
.pt-actions form { margin: 0; }
.pt-actions button, .pt-inline button, .pt-filters button, .pt-table td > form > button, .pt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 0.9rem; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; text-decoration: none; }
.pt-btn--go, .pt-filters button { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pt-actions button.is-danger { background: #8F1D10; border-color: #8F1D10; color: #fff; }
.pt-table td > form > button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pt-inline { display: flex; gap: 0.4rem; align-items: center; }
.pt-inline select, .pt-filters select, .pt-filters input { min-height: 44px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-size: 0.92rem; padding: 0 0.6rem; }
.pt-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; background: var(--paper); border: 1px solid var(--line-strong); padding: 0.75rem; }
.pt-filters > div { display: flex; flex-direction: column; gap: 0.25rem; } .pt-filters .grow { flex: 1 1 14rem; } .pt-filters .grow input { width: 100%; }
.pt-filters label { font-size: 12px; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pt-table details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 0.6rem; font-weight: 600; list-style: none; }
.pt-table details summary::-webkit-details-marker { display: none; }
.pt-table details summary::after { content: "+"; flex: 0 0 auto; width: 1.4rem; height: 1.4rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); color: var(--muted); font-weight: 700; }
.pt-table details[open] summary::after { content: "\2212"; }
.pt-table details p { margin: 0.4rem 0; }
.pt-table details dl { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.2rem 0.75rem; font-size: 0.85rem; margin: 0; }
.pt-table details dt { color: var(--muted); }
.pt-table details dd { margin: 0; }
.pt-list { list-style: none; margin: 0; padding: 0; }
.pt-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.pt-list li:last-child { border-bottom: 0; }
.pt-list li > span:first-child { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.pt-list small { color: var(--muted); font-size: 0.82rem; }
.pt-list q { display: block; margin-top: 0.3rem; padding-left: 0.75rem; border-left: 3px solid var(--accent); color: var(--ink-2); quotes: none; }
.pt-badge { display: inline-flex; align-items: center; padding: 0.2rem 0.5rem; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid var(--line-strong); white-space: nowrap; color: var(--ink-2); }
.pt-badge--new { background: #FFF1E6; border-color: var(--accent); color: var(--accent-ink); }
.pt-badge--sent, .pt-badge--contacted, .pt-badge--quoted { background: #EEF2F6; border-color: #9DB1C8; color: #1F2F47; }
.pt-badge--won, .pt-badge--signed { background: #E7F4EC; border-color: #6FB28A; color: #146038; }
.pt-badge--lost, .pt-badge--junk, .pt-badge--declined { background: #F3F3F3; color: #555; }
.pt-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 768px) { .pt-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pt-photos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pt-photos a { display: flex; flex-direction: column; gap: 0.3rem; text-decoration: none; color: var(--ink); font-size: 0.82rem; font-weight: 600; }
.pt-photos img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line-strong); }
.pt-login { max-width: 28rem; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.pt-login .oform { grid-template-columns: 1fr; }
.pt-actions a.pt-btn { text-decoration: none; color: var(--ink); }
.pt-actions a.pt-btn.pt-btn--go, .pt-sechead a.pt-btn--go { color: var(--on-accent); }
@media (max-width: 899px) { .pt-kpis a:last-child:nth-child(odd) { grid-column: 1 / -1; } }
