/* B/R Instrument public site. Quotation language from CRM / quote PDF. */
:root {
  --primary: #294876;
  --primary-dark: #1A2F4D;
  --primary-light: #4a68a3;
  --navy: #1A2F4D;
  --navy-light: #294876;
  --heading: #294876;
  --arc: #31548a;
  --gold: #FFCF60;
  --ink: #050505;
  --rule: #D8DEE7;
  --panel: #F4F6F9;
  --note: #EDF2E8;
  --tag: #AEBCD4;
  --label: #c9d5e6;
  --green: #32620E;
  --green-bg: rgba(50, 98, 14, 0.10);
  --red: #B83114;
  --orange: #6E4C00;
  --muted: #5B6778;
  --ash: #BDBDBD;
  --primary-bg: rgba(41, 72, 118, 0.06);
  --primary-ring: rgba(255, 207, 96, 0.5);
  --bg: #ffffff;
  --card: #ffffff;
  --text: #050505;
  --radius: 0;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --topbar: 72px;
  --proto: 0px;
  --wrap: 1180px;
  --gutter: 28px;
  --font: Helvetica Neue, Helvetica, Arial, "Liberation Sans", sans-serif;
}

[data-theme="dark"] {
  --primary: #9DB4D8;
  --heading: #9DB4D8;
  --primary-dark: #9DB4D8;
  --primary-light: #B7C8E4;
  --green: #8FBF5A;
  --red: #E8704F;
  --orange: #FFCF60;
  --panel: #17222F;
  --rule: #2A3543;
  --note: #17261A;
  --bg: #0B121C;
  --card: #111A27;
  --text: #E6E9EE;
  --muted: #98A4B5;
  --ink: #E6E9EE;
  --primary-bg: rgba(157, 180, 216, 0.10);
  --primary-ring: rgba(255, 207, 96, 0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--topbar) + var(--proto));
  max-width: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--heading); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lede a, .cover-intro a, .prose a, .ans a, .post-body a { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
li { margin: 0 0 0.35em; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 100;
  font-weight: 700;
  font-size: 13px;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- chrome (CRM topbar) ---- */
.topbar {
  position: fixed;
  top: var(--proto); left: 0; right: 0;
  height: var(--topbar);
  z-index: 50;
  color: #fff;
  border-bottom: 4px solid var(--gold);
  background:
    radial-gradient(circle at calc(100% - 150px) -130px, transparent 149px, var(--arc) 150px, transparent 151.5px, transparent 214px, var(--arc) 215px, transparent 216.5px, transparent 279px, var(--arc) 280px, transparent 281.5px),
    var(--navy-light);
}
[data-theme="dark"] .topbar { background-color: #1A2F4D; background-image:
    radial-gradient(circle at calc(100% - 150px) -130px, transparent 149px, var(--arc) 150px, transparent 151.5px, transparent 214px, var(--arc) 215px, transparent 216.5px, transparent 279px, var(--arc) 280px, transparent 281.5px); }
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--gold);
  transform-origin: left;
  animation: draw 0.9s var(--ease) backwards;
}
.topbar .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  color: #fff !important;
  text-decoration: none !important;
  flex-shrink: 0;
}
.brand-mark {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-mark .slash { color: var(--gold); }
.brand-text {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--tag);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  height: 100%;
}
.nav a,
.nav .drop > button {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none !important;
  padding: 0;
  height: var(--topbar);
  display: inline-flex;
  align-items: center;
}
.nav a:hover,
.nav .drop > button:hover,
.nav .drop:hover > button,
.nav .drop:focus-within > button,
.nav .drop.open > button { color: var(--gold); }
.nav a.is-on { box-shadow: inset 0 -3px 0 var(--gold); }

.drop { position: relative; height: 100%; display: flex; align-items: center; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  z-index: 60;
  padding: 6px 0;
}
.drop-label {
  display: block;
  padding: 10px 18px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tag);
}
/* Cover the gold rule so the pointer never leaves .drop on the way to the list. */
.drop-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 8px;
}
.drop:hover .drop-menu,
.drop:focus-within .drop-menu,
.drop.open .drop-menu { display: block; }
.drop-menu a {
  display: block;
  height: auto;
  padding: 11px 18px;
  color: var(--text) !important;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  border-left: 4px solid transparent;
}
.drop-menu a:hover {
  background: var(--panel);
  border-left-color: var(--gold);
  color: var(--navy) !important;
  text-decoration: none !important;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.menu-btn { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--navy-light);
  background: var(--navy-light);
  color: #fff !important;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none !important;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.12s;
}
.btn:hover { background: var(--arc); border-color: var(--arc); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 15px; height: 15px; }
.btn-arrow::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg>') center / contain no-repeat;
  transition: transform 0.15s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--heading) !important;
  border-color: var(--heading);
}
.btn-ghost:hover { background: var(--navy-light); border-color: var(--navy-light); color: #fff !important; }
[data-theme="dark"] .btn-ghost { border-color: #4A5A70; }
[data-theme="dark"] .btn-ghost:hover { border-color: var(--navy-light); }
.btn-on-navy {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy) !important;
}
.btn-on-navy:hover { background: #F2BF45; border-color: #F2BF45; }
.btn-on-navy-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: #fff !important;
}
.btn-on-navy-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }
.topbar .btn { height: 40px; padding: 0 16px; font-size: 12px; letter-spacing: 0.12em; }

/* ---- type ---- */
.kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--heading);
}
.cover-title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--heading);
  letter-spacing: -0.015em;
  margin: 10px 0 0;
}
.error-code {
  font-size: clamp(72px, 12vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--heading);
  letter-spacing: -0.04em;
  margin: 8px 0 0;
}
.cover-intro {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 38em;
}
.sec-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.15;
  position: relative;
  padding-bottom: 10px;
  margin: 4px 0 14px;
}
.sec-title::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.lede { color: var(--muted); margin-bottom: 22px; max-width: 46em; }

/* ---- cover / hero ---- */
.hero {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--rule);
  animation: rise 0.5s var(--ease) backwards;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
body[data-page="home"] .hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
body[data-page="home"] .frame {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  margin: 0;
}
body[data-page="home"] .frame picture {
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
body[data-page="home"] .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-grid > * { min-width: 0; }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.meta {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}
.meta th, .meta td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  padding: 10px 16px 10px 0;
}
.meta th {
  width: 22%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 12px;
}
.meta td .v {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.meta td .s {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.frame {
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 8px;
  min-width: 0;
}
.frame img, .frame .plate { width: 100%; height: auto; }
.plate {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  padding: 28px 24px;
}
.frame .plate { aspect-ratio: 1; }
.scale-card .plate {
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 36px 28px;
}
.plate svg { width: 100%; height: 100%; display: block; }
.frame-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 2px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

/* ---- section chrome ---- */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  animation: rise 0.45s var(--ease) backwards;
}
.section-n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--navy-light);
  padding: 6px 10px;
  flex-shrink: 0;
}
[data-theme="dark"] .section-n { background: #1A2F4D; }

.band {
  background: var(--navy-light);
  color: #fff;
  border-bottom: 2px solid var(--gold);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.band .n { color: var(--gold); letter-spacing: 0.08em; }
[data-theme="dark"] .band { background: #1A2F4D; }

/* ---- cards ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.paper {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  animation: rise 0.5s var(--ease) backwards;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.grid-2 > *:nth-child(2), .grid-3 > *:nth-child(2), .grid-4 > *:nth-child(2) { animation-delay: 50ms; }
.grid-2 > *:nth-child(3), .grid-3 > *:nth-child(3), .grid-4 > *:nth-child(3) { animation-delay: 100ms; }
.grid-3 > *:nth-child(4), .grid-4 > *:nth-child(4) { animation-delay: 150ms; }
.grid-3 > *:nth-child(5), .grid-4 > *:nth-child(5) { animation-delay: 200ms; }
.grid-3 > *:nth-child(n+6), .grid-4 > *:nth-child(n+6) { animation-delay: 250ms; }
.paper::after, .scale-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.paper:hover::after, .scale-card:hover::after { transform: scaleX(1); }
.paper h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  overflow-wrap: anywhere;
  margin: 6px 0 8px;
  line-height: 1.25;
}
.paper p { color: var(--muted); font-size: 14.5px; flex: 1; }
.paper .more {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading) !important;
  text-decoration: none !important;
  align-self: flex-start;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.paper .more:hover { color: var(--navy) !important; }
.paper:hover { background: var(--card); border-color: var(--navy-light); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(26,47,77,0.35); }
.paper:has(a.stretch),
.scale-card:has(a.stretch) { cursor: pointer; }
.paper a.stretch::before,
.scale-card a.stretch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.paper:has(a.stretch:focus-visible),
.scale-card:has(a.stretch:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.note {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  background: var(--note);
  padding: 14px 18px;
}
.note .h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.spec th, .spec td {
  border: 1px solid var(--rule);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}
.spec th {
  background: var(--navy-light);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spec tbody tr { animation: fade 0.3s var(--ease) backwards; transition: background 0.12s var(--ease); }
.spec tbody tr:nth-child(2) { animation-delay: 40ms; } .spec tbody tr:nth-child(3) { animation-delay: 80ms; }
.spec tbody tr:nth-child(4) { animation-delay: 120ms; } .spec tbody tr:nth-child(5) { animation-delay: 160ms; }
.spec tbody tr:nth-child(n+6) { animation-delay: 200ms; }
.spec tbody tr:hover td { background: rgba(255,207,96,0.22); }
[data-theme="dark"] .spec th, [data-theme="dark"] .post-body th { background: #1A2F4D; }
.spec td:first-child {
  background: var(--panel);
  font-weight: 700;
  color: var(--heading);
  width: 34%;
}
.spec tbody tr:nth-child(even) td:not(:first-child) { background: var(--panel); }
.spec a { font-weight: 700; }
.spec-wrap { overflow-x: auto; }
.spec-matrix th:not(:first-child),
.spec-matrix td:not(:first-child) {
  text-align: center;
  vertical-align: middle;
}

.scale-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  animation: rise 0.5s var(--ease) backwards;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
a.scale-card, a.paper {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.paper:hover { text-decoration: none; }
.scale-card:hover { border-color: var(--navy-light); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(26,47,77,0.35); }
.scale-card img { width: 100%; height: 160px; object-fit: cover; background: var(--panel); }
.scale-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.scale-card h3 { font-size: 16px; color: var(--heading); margin-bottom: 4px; }
.scale-card .range {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.scale-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.scale-card .btn { margin-top: 14px; width: 100%; }
.scale-card .btn + .btn { margin-top: 8px; }
.steps .scale-card img {
  height: auto;
  object-fit: contain;
}
.fit .scale-card img {
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: 50% 50%;
  background: #1A2F4D;
}
.grid-4.fit .scale-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.fit.service .scale-card img,
.fit.service .scale-card .plate {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 50%;
}
/* recycler photos are mixed aspect; cover + pan so the unit fills the frame */
.fit.recycler .scale-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.fit.recycler .scale-card:nth-child(1) img { object-position: 58% 78%; }
.fit.recycler .scale-card:nth-child(2) img { object-position: 50% 48%; }
.fit.recycler .scale-card:nth-child(3) img { object-position: 48% 52%; }

/* ---- FAQ ---- */
.faq { border: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.faq details[open] summary::after { content: "-"; }
.faq details[open] summary {
  box-shadow: inset 3px 0 0 var(--gold);
}
.faq .ans { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }
.faq details[open] .ans { animation: fade 0.28s var(--ease); }

/* ---- contact / paper form ---- */
.page-cover {
  background: var(--panel);
  padding: 36px 0 64px;
}
.sheet {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--rule);
  animation: rise 0.5s var(--ease) backwards;
}
.sheet-brand {
  position: relative;
  padding: 30px 40px 26px;
  color: #fff;
  border-bottom: 5px solid var(--gold);
  background:
    radial-gradient(circle at calc(100% - 60px) -40px, transparent 79px, var(--arc) 80px, transparent 81.5px, transparent 129px, var(--arc) 130px, transparent 131.5px, transparent 179px, var(--arc) 180px, transparent 181.5px),
    #294876;
}
.sheet-brand::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 5px;
  background: var(--gold);
  transform-origin: left;
  animation: draw 0.9s var(--ease) backwards;
}
.sheet-brand h1 { font-size: 26px; font-weight: 700; color: #fff; }
.sheet-brand h1 span { color: var(--gold); }
.sheet-brand p {
  margin-top: 8px;
  color: var(--tag);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.sheet-body { padding: 24px 40px 8px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 40px;
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 0 14px;
  border-radius: 0;
}
.field textarea { height: auto; min-height: 120px; padding: 10px 14px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--heading);
  box-shadow: 0 0 0 2px var(--primary-ring);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sheet-actions { padding: 8px 0 20px; }
.sheet-actions .btn { width: 100%; }
.sheet-foot {
  background: var(--panel);
  border-top: 1px solid var(--rule);
  padding: 14px 40px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sheet-foot b { color: var(--heading); }

.crumbs {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
}
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--heading); }

.prose { max-width: 46em; }
.prose h2:not(.sec-title) {
  font-size: 22px;
  color: var(--heading);
  margin: 1.4em 0 0.5em;
}
.prose h3 {
  font-size: 17px;
  color: var(--heading);
  margin: 1.2em 0 0.4em;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}
.split .prose { max-width: none; }
.split .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checks li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid var(--rule);
  margin: 0;
}
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

/* ---- CTA / footer ---- */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at calc(100% - 80px) -60px, transparent 99px, var(--arc) 100px, transparent 101.5px, transparent 159px, var(--arc) 160px, transparent 161.5px, transparent 219px, var(--arc) 220px, transparent 221.5px),
    var(--navy-light);
  color: #fff;
  padding: 40px 0;
  border-top: 5px solid transparent;
}
.cta::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.cta h2 { color: #fff; font-size: 28px; font-weight: 700; margin: 8px 0 10px; }
.cta p { color: var(--tag); margin-bottom: 18px; max-width: 36em; }
.cta .kicker { color: var(--gold); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }

.foot {
  background: var(--panel);
  border-top: 1px solid var(--rule);
  padding: 28px 0 18px;
  font-size: 13px;
  color: var(--muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
  margin-bottom: 22px;
}
.foot h3 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 10px;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 6px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--heading); }
.foot-end {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}
.foot-end b { color: var(--heading); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chip, .pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border: 1px solid var(--heading);
  background: transparent;
  color: var(--heading);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover { background: var(--panel); }
.chip.is-on { background: var(--navy-light); border-color: var(--navy-light); color: #fff; }
.pill { cursor: default; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; }
.pill i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; opacity: 0; animation: ping 1.8s ease-out infinite; }
.pill-green { background: var(--green); border-color: var(--green); color: #fff; }
.pill-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pill-blue { background: var(--navy-light); border-color: var(--navy-light); color: #fff; }
[data-theme="dark"] .pill-green { background: #32620E; border-color: #32620E; }
[data-theme="dark"] .pill-gold { color: #050505; }

.thumb {
  height: 150px;
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.scale-card h3 a { color: inherit; text-decoration: none; }
.scale-card .thumb {
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 0;
}
.scale-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.price {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin: 8px 0 10px;
}
.price-lg { font-size: 36px; line-height: 1.1; }
.pn { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.search {
  height: 40px;
  width: min(420px, 100%);
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 0 14px;
  margin-bottom: 18px;
}

.post { max-width: 760px; }
.post-body { font-size: 16.5px; line-height: 1.65; }
.post-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin: 1.7em 0 0.5em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}
.post-body h3,
.post-body h4,
.post-body h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin: 1.3em 0 0.4em;
}
.post-body h5 strong { font-weight: 700; }
.post-body img {
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 6px;
  margin: 0.6em 0 1em;
}
.post-body figure { margin: 1.2em 0; }
.post-body figcaption,
.post-body em {
  color: var(--muted);
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 14.5px;
}
.post-body th,
.post-body td {
  border: 1px solid var(--rule);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.post-body th {
  background: var(--navy-light);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-body blockquote,
.post-body .note {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  background: var(--panel);
  padding: 14px 18px;
  margin: 1.2em 0;
}
.post-more { margin-top: 8px; }

.proto {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--proto);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--tag);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.alts a {
  color: var(--muted);
  text-decoration: none !important;
  box-shadow: inset 0 -2px 0 transparent;
}
.alts a:hover { color: var(--heading); }
.alts a.is-on {
  color: var(--heading);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.hero-grid.contact-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
  gap: 40px;
  align-items: start;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  padding: 22px 22px 8px;
  min-width: 0;
}

/* ---- ROI calculator ---- */
.d-none, [hidden] { display: none !important; }
.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--muted);
}
.example-chip {
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--heading);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  cursor: pointer;
}
.example-chip:hover, .example-chip.active {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: #fff;
}
.roi-panel {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 18px 18px 8px;
}
.roi-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.roi-panel-head h3 { font-size: 16px; color: var(--heading); margin: 0; }
.roi-hint { font-size: 13px; color: var(--muted); margin: 8px 0 16px; }
.input-prefix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--rule);
  background: var(--card);
}
.input-prefix span {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
  font-weight: 700;
  background: var(--panel);
  border-right: 1px solid var(--rule);
}
.input-prefix input {
  border: 0;
  height: 40px;
  width: 100%;
  padding: 0 14px;
  font-family: inherit;
  font-size: 15px;
  background: transparent;
  color: var(--text);
}
.input-prefix input:focus { outline: none; }
.field:focus-within .input-prefix { border-color: var(--heading); box-shadow: 0 0 0 2px var(--primary-ring); }
.solvent-row {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr auto;
  gap: 10px;
  align-items: end;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.solvent-row .field { margin-bottom: 0; }
.solvent-row .remove-row { height: 40px; padding: 0 12px; }
.savings-hero .amount {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.1;
  margin: 4px 0 6px;
}
.savings-hero .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.stat-value { font-size: 22px; font-weight: 700; color: var(--heading); margin: 4px 0 8px; }
.horizon-bars { display: flex; flex-direction: column; gap: 8px; }
.horizon-row {
  display: grid;
  grid-template-columns: 3.6rem 1fr auto;
  gap: 10px;
  align-items: center;
}
.horizon-label { font-size: 12px; color: var(--muted); font-weight: 700; }
.horizon-track {
  position: relative;
  height: 8px;
  background: var(--panel);
}
.horizon-fill { height: 100%; background: var(--navy-light); min-width: 2px; }
.horizon-fill.is-paidback { background: var(--green); }
.horizon-equip-mark {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--heading);
  transform: translateX(-1px);
}
.horizon-value { font-size: 12px; text-align: right; min-width: 5.5rem; line-height: 1.25; }
.horizon-net { display: block; font-size: 11px; color: var(--muted); }
.roi-results .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
#calcBreakdown ul { list-style: none; padding: 0; margin: 0 0 16px; }
#calcBreakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}
.missing-inputs-list { list-style: none; padding: 0; margin: 12px 0 0; }
.missing-inputs-list li {
  padding: 8px 12px;
  margin-bottom: 6px;
  background: var(--panel);
  border: 1px solid var(--rule);
  font-size: 13.5px;
}
@media (min-width: 981px) {
  .roi-results { position: sticky; top: 88px; }
}
.form-card .btn { min-width: 180px; }
.phone-xl {
  display: inline-block;
  font-size: clamp(36px, 6.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--heading);
  text-decoration: none !important;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 8px;
  margin: 14px 0 0;
}
.phone-xl:hover { color: var(--navy); }

.empty {
  padding: 28px 18px;
  text-align: center;
  border: 1px dashed var(--rule);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fade 0.5s backwards;
}
.empty svg { width: 28px; height: 28px; color: var(--rule); stroke: currentColor; fill: none; stroke-width: 1.6; }
.empty .btn { margin-top: 4px; }

.confirm { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; }
.confirm svg { width: 40px; height: 40px; flex-shrink: 0; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.confirm circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: circ 0.6s var(--ease) forwards; }
.confirm path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: checkdraw 0.35s 0.45s var(--ease) forwards; }
.confirm .kicker { color: var(--green); letter-spacing: 0.14em; }

.timeline { display: flex; flex-direction: column; }
.tl-item { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; animation: rise 0.4s var(--ease) backwards; }
.tl-item + .tl-item::before { content: ""; position: absolute; left: 15px; top: -10px; height: 20px; width: 1px; background: var(--rule); }
.tl-item:nth-child(2) { animation-delay: 90ms; } .tl-item:nth-child(3) { animation-delay: 180ms; } .tl-item:nth-child(4) { animation-delay: 270ms; } .tl-item:nth-child(n+5) { animation-delay: 360ms; }
.tl-dot { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--panel); border: 1px solid var(--rule); color: var(--heading); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.tl-t { font-weight: 700; font-size: 15px; color: var(--heading); }
.tl-m { font-size: 13px; color: var(--muted); }

.hero-copy .lede { margin: 14px 0 0; }

@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes circ { to { stroke-dashoffset: 0; } }
@keyframes checkdraw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes caret { 50% { border-color: transparent; } to { border-color: transparent; } }

/* Print gestures from CRM Design Lab: draw, rise, stagger. Pause below-the-fold until the section enters. */
.section-head,
.section .paper,
.section .scale-card,
.section .spec tbody tr,
.section .tl-item,
.cta .wrap {
  animation-play-state: paused;
}
.section.is-in .section-head,
.section.is-in .paper,
.section.is-in .scale-card,
.section.is-in .spec tbody tr,
.section.is-in .tl-item,
.cta.is-in .wrap {
  animation-play-state: running;
}
.section.is-in .sec-title::after,
.cta.is-in::before {
  animation: draw 0.7s 0.12s var(--ease) forwards;
}
body[data-page="home"] .hero.is-in .kicker {
  display: inline-block;
  padding-right: 3px;
  border-right: 2px solid var(--gold);
  animation: type-in 1.2s steps(23) 0.12s both, caret 0.8s step-end 1.35s 3;
}
.hero.is-in .crumbs {
  display: inline-block;
  padding-right: 3px;
  border-right: 2px solid var(--gold);
  animation: type-in 1.4s steps(40) 0.12s both, caret 0.8s step-end 1.55s 3;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .cover-title, .cover-intro, .actions, .meta,
  .section-head, .paper, .scale-card, .cta .wrap {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid:not(.contact-grid), .split, .grid-3, .grid-4, .foot-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar.open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--topbar);
    left: 0; right: 0;
    background: var(--card);
    border-bottom: 4px solid var(--gold);
    padding: 8px 0 16px;
    height: auto;
    gap: 0;
    box-shadow: 0 12px 40px rgba(13,20,32,0.16);
  }
  .topbar.open .nav a,
  .topbar.open .nav .drop > button {
    color: var(--text);
    height: 48px;
    padding: 0 28px;
    justify-content: flex-start;
    font-size: 16px;
  }
  .topbar.open .nav a:hover,
  .topbar.open .nav .drop > button:hover { color: var(--heading); background: var(--panel); }
  .topbar.open .drop { display: block; height: auto; }
  .topbar.open .drop-menu {
    position: static;
    border: 0;
    border-top: 0;
    min-width: 0;
    background: var(--panel);
  }
  .topbar.open .drop-menu::before { display: none; }
  .topbar.open .drop-menu a { padding-left: 40px; }
  .topbar.open .nav a.is-on { box-shadow: inset 4px 0 0 var(--gold); }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .alts { letter-spacing: 0.06em; gap: 8px 12px; font-size: 10px; }
  .hero { padding: 28px 0 36px; }
  .hero-grid, .hero-grid:not(.contact-grid), body[data-page="home"] .hero-grid, .split, .grid-3, .grid-4, .grid-2, .foot-grid, .row-2 { grid-template-columns: 1fr; }
  .solvent-row { grid-template-columns: 1fr 1fr; }
  .solvent-row .remove-row { grid-column: 1 / -1; width: 100%; }
  .section { padding: 40px 0; }
  .hero-copy .actions { flex-direction: column; align-items: stretch; }
  .hero-copy .actions .btn { width: 100%; }
  .hero-copy .actions .qty-step { width: 100%; }
  .page-cover { padding: 0 0 32px; }
  .sheet { border-left: 0; border-right: 0; }
  .sheet-brand, .sheet-body, .sheet-foot { padding-left: 20px; padding-right: 20px; }
  .meta th, .meta td { display: block; width: 100%; }
  .meta th { border-bottom: 0; padding-bottom: 0; }
  .topbar .btn { display: none; }
}

.qty-step {
  display: inline-flex;
  height: 40px;
  border: 1px solid var(--navy-light);
}
.qty-step button {
  width: 38px;
  border: 0;
  background: var(--panel);
  color: var(--heading);
  font-size: 18px;
  cursor: pointer;
  font-family: inherit;
}
.qty-step input {
  width: 48px;
  border: 0;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--card);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-step input::-webkit-outer-spin-button,
.qty-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.cart-row:last-child { border-bottom: 0; }
.cart-thumb {
  width: 88px;
  height: 88px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-info .pn { margin-bottom: 2px; }
.cart-info .unit { font-size: 13px; color: var(--muted); }
.cart-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-controls .line { font-weight: 700; color: var(--heading); }
.cart-controls .remove {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-controls .remove:hover { color: var(--red); }
.checkout-block { margin-bottom: 22px; }
.checkout-block .kicker { margin-bottom: 10px; }
#checkoutError:not([hidden]) {
  background: var(--panel);
  border-left: 4px solid var(--red);
  padding: 10px 12px;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 14px;
}
@media (max-width: 700px) {
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-controls { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
