/* 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(2) { transform: translate(0, -100px) scale(1); }
.dial[data-open="true"] .dial__item:nth-child(3) { transform: translate(-60px, -84px) scale(1); }
.dial[data-open="true"] .dial__item:nth-child(4) { transform: translate(-96px, -42px) scale(1); }
.dial[data-open="true"] .dial__item:nth-child(5) { transform: translate(-102px, 12px) scale(1); }
.dial[data-open="true"] .dial__item:nth-child(6) { 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-block; padding: 0.45rem 0; }
.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: "–"; }
@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)); } }
