/* REVIVE Transit — site styles. Light design: white / off-white surfaces, charcoal text, restrained red accents. */
:root {
  --red: #E53935;
  --red-dark: #C62828;
  --red-tint: #FDECEA;
  --black: #171717;
  --ink: #171717;
  --ink-2: #404040;
  --ink-3: #666666;
  --line: #E5E5E5;
  --line-2: #D4D4D4;
  --bg: #ffffff;
  --bg-2: #F7F7F5;
  --ok: #1d7a3e;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10, 5, 5, 0.05), 0 6px 20px rgba(10, 5, 5, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--black); letter-spacing: -0.01em; }
h1 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section.tight { padding: 40px 0; }
.section.alt { background: var(--bg-2); }
.section.dark { background: var(--black); color: #e9e5e4; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .muted { color: #b5adab; }
.muted { color: var(--ink-3); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 720px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; display: block; }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; color: var(--ink-3); }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--font); padding: 14px 20px; border-radius: 8px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2a2424; }
.btn-outline { background: #fff; color: var(--black); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--black); }
.section.dark .btn-outline { background: transparent; color: #fff; border-color: #4a4242; }
.section.dark .btn-outline:hover { border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); padding: 10px 12px; }
.btn-ghost:hover { color: var(--red); }
.btn-sm { padding: 9px 13px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--red); font-weight: 900; letter-spacing: .3em; font-size: 19px; font-family: "Arial Black", var(--font); }
.logo .bars { display: inline-flex; gap: 3px; align-items: flex-end; }
.logo .bars i { width: 3px; height: 16px; background: var(--red); display: block; }
.logo .bars i:nth-child(2) { height: 11px; opacity: .7; }
.logo .bars i:nth-child(3) { height: 7px; opacity: .45; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 11px; border-radius: 6px; }
.nav a:hover { color: var(--black); background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--black); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav a, .nav-toggle { white-space: nowrap; }
.nav-group { position: relative; }
.nav-toggle { font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-2); background: none; border: 0; padding: 8px 11px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-toggle:hover, .nav-group.open .nav-toggle { color: var(--black); background: var(--bg-2); }
.nav-group.is-active .nav-toggle { color: var(--black); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav-toggle .caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; flex-direction: column; z-index: 70; }
.nav-group.open .nav-sub { display: flex; }
.nav-sub a { padding: 10px 12px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wo-link { position: relative; }
.wo-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: #fff; color: var(--red); font-size: 12.5px; padding: 0 6px; }
.wo-count[data-n="0"] { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--black); margin: 3px 0; }
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 12px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 16px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
  .menu-btn { display: block; }
  /* In the mobile menu the Customers links are listed inline under a small heading. */
  .nav-toggle { display: none; }
  .nav-sub { display: flex; position: static; box-shadow: none; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 4px 0; margin: 4px 0; min-width: 0; }
  .nav-sub::before { content: "Customers"; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px 2px; }
  .nav { max-height: calc(100vh - 66px); overflow-y: auto; }
  .header-actions .btn-label-long { font-size: 14px; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 10px; }
  .logo { font-size: 16px; letter-spacing: .22em; }
  .header-actions .btn { padding: 10px 12px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 900px; }
.hero h1 .red { color: var(--red); }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.promise { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; }
.promise b { display: block; font-size: 16px; color: var(--black); margin-bottom: 4px; }
.promise span { font-size: 14.5px; color: var(--ink-3); }
.promise::before { content: ""; display: block; width: 26px; height: 3px; background: var(--red); margin-bottom: 12px; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } .hero { padding: 44px 0 40px; } }

.page-head { padding: 48px 0 32px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-head h1 { font-size: clamp(28px, 4.2vw, 42px); }
.crumbs { font-size: 13.5px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; transition: border-color .15s, box-shadow .15s; display: block; }
a.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
a.card .go { color: var(--red); font-weight: 700; font-size: 14.5px; }
.section.dark .card { background: #151010; border-color: #2a2222; color: #d9d3d2; }
.cat-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; }
.cat-card .num { font: 700 12px var(--mono); color: var(--red); letter-spacing: .08em; }
.cat-card h3 { font-size: 16.5px; margin: 0; }
.cat-card .cnt { font-size: 13px; color: var(--ink-3); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 26px; margin: 8px 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: #fff; font-weight: 700; font-size: 14px; }
.section.dark .steps li::before { background: var(--red); }
.note { border-left: 3px solid var(--red); background: var(--bg-2); padding: 14px 16px; border-radius: 0 8px 8px 0; font-size: 14.5px; color: var(--ink-2); }
.section.alt .note { background: #fff; }

/* ---------- Price match ---------- */
.pm-banner { display: flex; align-items: center; gap: 18px; justify-content: space-between; flex-wrap: wrap; background: #fff; color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 22px 24px; }
.pm-banner strong { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; display: block; }
.pm-banner strong em { color: var(--red); font-style: normal; }
.pm-banner p { margin: 4px 0 0; color: var(--ink-3); font-size: 14.5px; max-width: 640px; }

/* ---------- Catalog ---------- */
.search-box { position: relative; max-width: 760px; }
.search-box input, .search-box input[type=search] {
  width: 100%; font: 500 18px var(--font); padding: 18px 120px 18px 52px; border: 2px solid var(--black);
  border-radius: 12px; background: #fff; color: var(--black); box-shadow: var(--shadow);
}
.search-box input:focus { outline: none; border-color: var(--red); }
.search-box svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search-box .btn { position: absolute; right: 8px; top: 8px; bottom: 8px; padding: 0 18px; }
@media (max-width: 520px) { .search-box input { font-size: 16px; padding: 16px 16px 16px 46px; } .search-box .btn { display: none; } }
.search-hints { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 600 13.5px var(--font); color: var(--ink-2); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--black); color: var(--black); }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .catalog-layout { grid-template-columns: 1fr; gap: 16px; } }
/* The sticky sidebar scrolls itself, so long lists never run past the viewport. */
.filters { position: sticky; top: 84px; max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; }
.filters h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin: 0 0 8px; }
.filters .group + .group { margin-top: 22px; }
.filter-list { list-style: none; margin: 0; padding: 0; max-height: 40vh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scroll-padding-block: 8px; }
.filter-list button:focus-visible, .filter-list a:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.filter-list button, .filter-list a { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 10px; border-radius: 6px; font-size: 14.5px; cursor: pointer; color: var(--ink-2); }
.filter-list button:hover, .filter-list a:hover { background: var(--bg-2); color: var(--black); }
.filter-list [aria-pressed="true"], .filter-list [aria-current="page"] { background: var(--red-tint); color: var(--red-dark); font-weight: 700; }
.filter-list .n { color: var(--ink-3); font-size: 13px; }
.filters select { display: none; }
@media (max-width: 900px) {
  .filters { position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filters .group + .group { margin-top: 0; }
  .filters h2 { margin-bottom: 4px; }
  .filter-list { display: none; }
  .filters select { display: block; width: 100%; }
}
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-bar .count { font-weight: 600; color: var(--ink-2); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.product .cat { font-size: 12.5px; color: var(--ink-3); }
.product .cat a { color: inherit; text-decoration: none; }
.product .cat a:hover { color: var(--red); }
.product h3 { font-size: 16px; margin: 0; }
.product .meta { font-size: 13px; color: var(--ink-3); }
.product .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-2); border-radius: 4px; padding: 2px 7px; align-self: flex-start; }
.product .actions { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; align-items: center; }
.product .in-wo { color: var(--ok); font-size: 13.5px; font-weight: 700; }
.group-head { grid-column: 1 / -1; margin: 18px 0 2px; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.group-head:first-child { margin-top: 0; }
.empty { border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 28px; text-align: center; background: #fff; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
label, .label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--black); }
.opt { font-weight: 400; color: var(--ink-3); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=password], input[type=search], select, textarea {
  width: 100%; font: 400 16px var(--font); padding: 12px 13px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--black);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--black); }
textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--red); }
.hp { position: absolute; left: -5000px; }
.msg { padding: 12px 14px; border-radius: 8px; font-size: 14.5px; }
.msg.err { background: var(--red-tint); color: var(--red-dark); }
.msg.ok { background: #e9f6ee; color: var(--ok); }
.msg[hidden] { display: none; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; }
legend { font-weight: 700; padding: 0 6px; }

/* ---------- Work order ---------- */
.wo-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
@media (max-width: 980px) { .wo-layout { grid-template-columns: 1fr; } }
.wo-items { display: grid; gap: 10px; }
.wo-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; }
.wo-item .top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.wo-item .top h3 { font-size: 16.5px; margin: 0; }
.wo-item .fields { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 10px; }
.wo-item .fields .full { grid-column: 1 / -1; }
.wo-item label { font-size: 13px; margin-bottom: 4px; color: var(--ink-2); }
.wo-item input, .wo-item select { padding: 9px 10px; font-size: 15px; }
@media (max-width: 620px) { .wo-item .fields { grid-template-columns: 1fr 1fr; } .wo-item .fields .qty { grid-column: 1 / -1; } }
.remove { background: none; border: 0; color: var(--ink-3); cursor: pointer; font: 600 13.5px var(--font); padding: 4px; }
.remove:hover { color: var(--red); }
.summary { position: sticky; top: 84px; }
.summary .card { padding: 20px; }
.tag-custom { font-size: 11px; font-weight: 700; background: var(--black); color: #fff; padding: 2px 7px; border-radius: 4px; letter-spacing: .05em; vertical-align: middle; margin-left: 6px; }
.ref { font: 800 clamp(24px, 4vw, 34px) var(--mono); letter-spacing: .04em; color: var(--black); }
.status { display: inline-block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); }
.status.s-quoted { background: var(--red-tint); color: var(--red-dark); border-color: #f6c9c6; }
.status.s-approved, .status.s-fulfilled, .status.s-invoiced { background: #e9f6ee; color: var(--ok); border-color: #bfe3cc; }
.status.s-cancelled { background: #eee; color: #666; }
table.lines { width: 100%; border-collapse: collapse; font-size: 15px; }
table.lines th, table.lines td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.lines th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
table.lines td.num, table.lines th.num { text-align: right; white-space: nowrap; }
table.lines tfoot td { font-weight: 700; border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); color: var(--ink-2); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 14.5px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--black); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.site-footer .logo { margin-bottom: 12px; color: var(--red); }
.site-footer .legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- Mobile work-order bar ---------- */
.mobile-wo { display: none; }
@media (max-width: 760px) {
  body.has-items .mobile-wo { display: flex; position: fixed; left: 12px; right: 84px; bottom: 12px; z-index: 55; background: var(--black); color: #fff; border-radius: 12px; padding: 10px 10px 10px 16px; align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
  body.has-items .mobile-wo .btn { padding: 10px 14px; }
  body.has-items.page-work-order .mobile-wo { display: none; }
  body.has-items { padding-bottom: 76px; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--black); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 120; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast a { color: #fff; font-weight: 700; margin-left: 8px; }

/* ---------- ASA ---------- */
.asa-launch { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; background: var(--black); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px 12px 12px; cursor: pointer; font: 700 15px var(--font); box-shadow: 0 8px 24px rgba(10,5,5,.25); }
.asa-launch .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.asa-launch:hover { background: #241e1e; }
@media (max-width: 760px) { .asa-launch { padding: 12px; } .asa-launch .lbl { display: none; } .asa-launch .dot { width: 34px; height: 34px; } }
.asa-panel { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 380px; max-width: calc(100vw - 24px); height: min(620px, calc(100vh - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(10,5,5,.22); display: flex; flex-direction: column; overflow: hidden; }
.asa-panel[hidden] { display: none; }
@media (max-width: 520px) { .asa-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; border-radius: 0; } }
.asa-head { background: var(--black); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.asa-head .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 800; font-size: 12.5px; }
.asa-head b { display: block; font-size: 15.5px; }
.asa-head span { font-size: 12.5px; color: #c9c1bf; }
.asa-head button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; padding: 4px 8px; }
.asa-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); }
.asa-msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.asa-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.asa-msg.me { background: var(--black); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.asa-msg a { color: var(--red); font-weight: 600; }
.asa-msg.me a { color: #fff; }
.asa-cards { display: grid; gap: 6px; align-self: stretch; }
.asa-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.asa-card small { display: block; color: var(--ink-3); font-size: 12px; }
.asa-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.asa-quick button { font: 600 13px var(--font); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.asa-quick button:hover { border-color: var(--black); }
.asa-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.asa-form input { flex: 1; padding: 11px 12px; font-size: 15px; }
.asa-form .btn { padding: 0 14px; }
.asa-typing { font-size: 13px; color: var(--ink-3); align-self: flex-start; }
.asa-foot { font-size: 11.5px; color: var(--ink-3); padding: 0 12px 10px; background: #fff; }

/* ---------- Admin ---------- */
.admin body, body.admin { background: var(--bg-2); }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; }
.admin-table th, .admin-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.admin-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); background: var(--bg-2); }
.admin-table tr:hover td { background: #fcfbfb; cursor: pointer; }
.admin-table input { padding: 7px 8px; font-size: 14px; width: 100px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.timeline { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.timeline li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--ink-3); display: block; font-size: 12.5px; }

/* ---------- Homepage paths ---------- */
.hero h1 { font-size: clamp(28px, 4.4vw, 44px); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }
.path { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.path .eyebrow { margin: 0; }
.path h2 { font-size: clamp(20px, 2.4vw, 25px); margin: 0; }
.path p { margin: 0; color: var(--ink-2); }
.path .btn { align-self: flex-start; margin-top: auto; }
.path .promise-line { font-weight: 700; color: var(--black); }
.path .promise-line em { color: var(--red); font-style: normal; }
.path .terms-line { padding-top: 10px; border-top: 1px solid var(--line); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .figures { grid-template-columns: 1fr; } }
.figure .letter { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red-tint); color: var(--red-dark); font-weight: 800; margin-bottom: 10px; }
.figure .who { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }

/* ---------- Quantity + mini basket ---------- */
.qty-in { width: 72px !important; padding: 8px !important; font-size: 15px !important; }
.mini-wo { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.mini-wo h2 { margin-bottom: 8px; }
.mini-wo ul { list-style: none; margin: 0 0 12px; padding: 0; font-size: 14px; max-height: 260px; overflow: auto; }
.mini-wo li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mini-wo li b { color: var(--red-dark); }
.mini-wo .btn { width: 100%; }
@media (max-width: 900px) { .mini-wo { display: none; } }

/* Work order — purchasing options ("Find it for me" / "I know what I want") */
.wo-modes { margin-bottom: 18px; }
.wo-modes-lead { margin: 0 0 10px; }
.wo-mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wo-mode { display: block; padding: 16px; color: inherit; text-decoration: none; }
.wo-mode:hover { border-color: var(--black); }
.wo-mode h3 { font-size: 16.5px; margin: 2px 0 4px; }
.wo-mode p { margin: 0; color: var(--ink-2); }
@media (max-width: 620px) { .wo-mode-cards { grid-template-columns: 1fr; } }
.wo-pref { border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
.wo-pref summary { cursor: pointer; color: var(--ink-2); }
.wo-pref-body { display: grid; gap: 10px; margin-top: 10px; }
.wo-item.is-find { border-left: 3px solid var(--red); }
.wo-item .qty .lbl { display: block; font-size: 13px; margin-bottom: 4px; color: var(--ink-2); font-weight: 600; }
.seg { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.seg label { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; font-size: 14px; margin: 0; color: var(--ink); }
.seg input { accent-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.radios { display: grid; gap: 6px; padding: 12px 14px; }
.radios legend { font-size: 15px; }
.rv-line { border-bottom: 1px solid var(--line); padding: 12px 0; }
.rv-line h3 { font-size: 16px; margin: 0 0 4px; }
.rv-line ul { margin: 0; padding-left: 18px; font-size: 14.5px; overflow-wrap: anywhere; }
.rv-line li span { color: var(--ink-3); }
.wo-item .wo-pref .fields { grid-template-columns: 1fr 1fr; }
.wo-item .wo-pref .fields > * { min-width: 0; }
@media (max-width: 460px) { .wo-item .wo-pref .fields { grid-template-columns: 1fr; } }

/* ---------- Industries, services, partners (Oct 2026) ---------- */
.ind-grid { margin-top: 20px; }
.ind-card { display: flex; flex-direction: column; gap: 8px; }
.ind-card h3 { margin: 0; font-size: 18px; }
.ind-card p { margin: 0; flex: 1; }
.svc-grid .promise h3 { font-size: 16px; margin: 0 0 6px; }
.svc-grid .promise p { margin: 0; }
.partner-grid { margin-top: 20px; }
.partner { display: flex; flex-direction: column; gap: 6px; }
.partner h3 { margin: 6px 0 0; font-size: 17px; }
.partner h3 a { color: var(--black); text-decoration: none; }
.partner h3 a:hover { color: var(--red); text-decoration: underline; }
.partner p { margin: 0; }
.partner-mark { display: grid; place-items: center; height: 84px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); text-decoration: none; }
.partner-mark img { max-width: 80%; max-height: 64px; width: auto; height: auto; }
.wordmark { font-family: "Arial Black", var(--font); font-weight: 900; font-size: 17px; letter-spacing: .04em; color: var(--ink); text-align: center; padding: 0 10px; }
.partner-mark:hover .wordmark { color: var(--red); }
.eyebrow-sm { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--red); }
.tag-muted { display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a5300; background: #fff4e0; border-radius: 4px; padding: 2px 7px; }
.link-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.rating { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.rating legend { grid-column: 1 / -1; }
address { font-style: normal; line-height: 1.6; }
.hero .lead { max-width: 760px; }
.hero .promise-line { margin-top: 22px; font-weight: 700; color: var(--black); }
.hero .promise-line em { color: var(--red); font-style: normal; }
@media (max-width: 900px) { .svc-grid.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-grid.grid-4 { grid-template-columns: 1fr; } }

/* Public membership introduction: REVIVE's existing white, charcoal and red identity. */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
[hidden] { display: none !important; }
.membership-home .section { padding: 88px 0; }
.public-hero { background: #fff; padding: 94px 0 68px; overflow: hidden; }
.public-hero .wrap { position: relative; }
.public-hero h1 { font-size: clamp(46px, 6.6vw, 88px); line-height: 1.02; letter-spacing: -.055em; max-width: 820px; margin: 24px 0; }
.public-hero .lead { max-width: 650px; }
.hero-region { max-width: 630px; margin-top: 28px; }
.hero-stamp { margin-top: 48px; border-top: 3px solid var(--red); padding-top: 18px; font-size: 11px; letter-spacing: .15em; color: var(--ink-3); }
.hero-stamp b { display: block; font-size: 16px; letter-spacing: 0; color: var(--ink); margin-top: 8px; }
.service-trio { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; margin-top: 34px; }
.service-trio .card { border-top: 3px solid var(--red); padding: 28px; scroll-margin-top: 110px; }
.service-number { display: block; font: 12px var(--mono); color: var(--red); margin-bottom: 32px; }
.service-trio h3 { font-size: 23px; }
.platform-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 36px 0 22px; }
.platform-previews .card { padding: 24px; }
.product-preview { min-height: 180px; padding: 22px; background: #f7f7f5; border: 1px solid var(--line); margin-bottom: 24px; border-radius: 6px; }
.product-preview > span { display: block; font: 10px var(--mono); letter-spacing: .06em; color: var(--ink-3); margin-bottom: 24px; }
.product-preview > b { font-size: 13px; }
.preview-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.preview-row i { color: var(--ink-3); font-style: normal; }
.preview-chart { display: flex; align-items: flex-end; gap: 10px; height: 66px; margin-bottom: 14px; }
.preview-chart i { flex: 1; height: 30%; background: var(--red); opacity: .65; }
.preview-chart i:nth-child(2n) { height: 65%; }.preview-chart i:nth-child(3n) { height: 85%; }.preview-chart i:last-child { height: 100%; opacity: 1; }
.reward-preview { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.reward-preview i { width: 20px; height: 20px; border: 2px solid var(--red); border-radius: 50%; }
.join-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; list-style: none; padding: 0; margin-top: 36px; counter-reset: join; }
.join-steps li { counter-increment: join; border-top: 1px solid var(--line); padding-top: 20px; }
.join-steps li::before { content: '0' counter(join); display: block; font: 16px var(--mono); color: var(--red); margin-bottom: 24px; }
.membership-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.membership-layout h2 { font-size: clamp(32px,4vw,50px); letter-spacing: -.04em; }
#membership-form label { display: block; font-size: 14px; font-weight: 600; margin: 15px 0 5px; }
#membership-form input, #membership-form select, #membership-form textarea, .request-record select, .request-record textarea { width: 100%; font: inherit; border: 1px solid var(--line-2); border-radius: 5px; background: white; color: var(--ink); padding: 12px; }
#membership-form .btn { width: 100%; white-space: normal; }
#membership-status { margin: 12px 0 0; font-size: 14px; }
button:disabled { opacity: .6; cursor: wait; }
.request-record { margin-top: 20px; }.request-record summary { cursor: pointer; }.request-record label { display: block; margin: 16px 0; }.request-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 900px) { .service-trio {grid-template-columns: 1fr;} .membership-layout {gap: 30px;} .join-steps {gap: 20px;} }
@media (max-width: 700px) { .membership-home .section {padding: 52px 0;} .public-hero {padding: 52px 0 40px;} .platform-previews, .membership-layout, .join-steps, .site-footer .cols {grid-template-columns: 1fr;} .hero-stamp {margin-top: 30px;} .platform-previews .card {padding: 18px;} .preview-row {flex-wrap: wrap;} .btn-row .btn {white-space: normal;} }
@media (prefers-reduced-motion: reduce) {html {scroll-behavior: auto;} }
