/* Trimwell Brands site styles, shared by every page.
   Colours are the logo sheet's cream and ink (the dealer portal uses the same pair). The .dark sections (portal band,
   technology, portal tour) lean toward Dockside green #0d3830 from the October 2026 brandbook; the brand cards,
   buttons, contact band and footer stay ink.
   Type: Fraunces for big headlines only, Inter Tight for titles, Inter for reading. */

/* Fonts, self-hosted (SIL Open Font License): the latin and latin-ext subsets Google Fonts served for the families
   below, downloaded 2026-11-03. Every page preloads the four latin files. */
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/fraunces-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/fraunces-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/fraunces-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/fraunces-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/inter-tight-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/inter-tight-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #faf6e8;
  --cream-2: #f2ecd9;
  --paper: #fffdf7;
  --ink: #16181b;
  --ink-2: #3d4148;          /* body copy: 10:1 on cream */
  --ink-3: #5c6067;          /* small print */
  --line: #e3dbc6;
  --brass: #7d5f30;          /* small accent text: 5.6:1 on cream */
  --gold: #c9ab78;           /* accent on dark grounds */
  --night: #121417;
  --night-2: #1c1f23;
  --on-night: #f0ebdd;
  --on-night-2: #b4b1a8;
  --night-line: #2c3036;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --head: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
sup { line-height: 0; font-size: .6em; }
a { color: inherit; }
:where(a, button, summary):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2, .display {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h1 em, h2 em, .display em { font-style: italic; }
h3, h4 { font-family: var(--head); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  text-decoration: none; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #000; }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn-ghost { border: 1.5px solid rgba(240, 235, 221, .4); color: var(--on-night); }
.btn-ghost:hover { border-color: var(--on-night); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 36px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 232, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.home { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.home .mono { height: 34px; width: auto; }
.home .word { height: 25px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) {
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  padding-block: 6px; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 0 1.5px;
  transition: color .2s var(--ease), background-size .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background-size: 100% 1.5px; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink);
  font-weight: 600; font-size: 14.5px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(280px, calc(100vw - 40px));
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(22, 24, 27, .35);
  padding: 10px; display: grid;
}
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--cream-2); }
.menu-panel .btn { justify-content: center; margin-top: 6px; }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 104px) clamp(72px, 9vw, 128px);
}
.hero h1 { font-size: clamp(48px, 6.1vw, 88px); line-height: .98; margin-top: 24px; }
.hero h1 em { display: block; }
.lede { font-size: clamp(18px, 1.45vw, 20px); color: var(--ink-2); max-width: 46ch; margin-top: 28px; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); padding-bottom: 56px; }
.duo-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--night); color: #fff; text-decoration: none;
  box-shadow: 0 40px 70px -40px rgba(22, 24, 27, .55);
}
.duo-tile:nth-child(2) { transform: translateY(56px); }
.duo-tile img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo-tile:hover img.photo { transform: scale(1.04); }
.duo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 13, .78) 0%, rgba(10, 11, 13, .25) 38%, rgba(10, 11, 13, 0) 60%); }
.duo-foot { position: absolute; z-index: 1; left: 22px; right: 22px; top: 20px; display: grid; gap: 10px; }
.duo-foot img { width: auto; filter: brightness(0) invert(1); }
.duo-foot .hoss { height: 54px; }
.duo-foot .xena { height: 26px; }
.duo-foot span { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.watermark { position: absolute; z-index: -1; pointer-events: none; right: -6%; top: -4%; width: min(62vw, 820px); height: auto; opacity: .05; }

/* ---------- logo strip ---------- */
.strip { border-block: 1px solid var(--line); }
.logos { display: flex; align-items: center; justify-content: space-between; gap: 24px clamp(24px, 4vw, 56px); flex-wrap: wrap; padding-block: 30px; }
.logos img { width: auto; filter: brightness(0); opacity: .8; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.logos img:hover { filter: none; opacity: 1; }
.logos .l-hoss { height: 58px; }
.logos .l-diehard { height: 30px; }
.logos .l-moxie { height: 44px; }
.logos .l-mack { height: 40px; }
.logos .l-xena { height: 28px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 144px); }
.alt { background: var(--cream-2); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 6vw, 76px); }
.head h2 { font-size: clamp(40px, 5vw, 66px); margin-top: 18px; }
.head > p { color: var(--ink-2); font-size: 18px; max-width: 48ch; }

/* ---------- brand cards ---------- */
.brand-card { background: var(--night); color: var(--on-night); border-radius: calc(var(--radius) + 6px); overflow: hidden; isolation: isolate; }
.brand-card + .brand-card { margin-top: clamp(20px, 3vw, 32px); }
.brand-top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 520px; }
.brand-photo { position: relative; grid-column: 2; grid-row: 1; }
.brand-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--night) 0%, rgba(18, 20, 23, .55) 22%, rgba(18, 20, 23, 0) 55%); }
.brand-card.flip .brand-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.brand-card.flip .brand-photo { grid-column: 1; }
.brand-card.flip .brand-body { grid-column: 2; }
.brand-card.flip .brand-photo::before { background: linear-gradient(270deg, var(--night) 0%, rgba(18, 20, 23, .55) 22%, rgba(18, 20, 23, 0) 55%); }
.brand-body { grid-column: 1; grid-row: 1; position: relative; z-index: 2; padding: clamp(32px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.brand-logo { height: 132px; width: auto; align-self: flex-start; }
.brand-logo.xena { height: 60px; }
.brand-body h3.logo-h { line-height: 0; margin-bottom: 4px; }
.brand-body h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(34px, 3.6vw, 48px); }
.brand-body .tagline { font-family: var(--display); font-style: italic; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.4; color: var(--on-night); }
.brand-body p { color: var(--on-night-2); max-width: 46ch; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.specs div { padding: 16px 16px 0 0; }
.specs dt { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-night-2); }
.specs dd { font-family: var(--head); font-weight: 500; font-size: 17px; margin-top: 4px; color: var(--on-night); line-height: 1.35; }
.ext { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--on-night); border-bottom: 1px solid rgba(240, 235, 221, .35); padding-bottom: 3px; transition: border-color .2s var(--ease); }
.ext:hover { border-color: var(--on-night); }
.ext svg { width: 13px; height: 13px; }

.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.lines li { padding: 30px clamp(20px, 2.4vw, 32px) 36px; display: flex; flex-direction: column; gap: 12px; }
.lines li + li { border-left: 1px solid var(--night-line); }
.lines .logo-box { height: 56px; display: flex; align-items: center; }
.lines .logo-box img { max-height: 100%; max-width: 160px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.lines .logo-box .l-hoss { height: 56px; }
.lines .logo-box .l-diehard { height: 30px; }
.lines .logo-box .l-moxie { height: 46px; }
.lines .logo-box .l-mack { height: 42px; }
.lines.points .logo-box { height: 40px; }
.lines.points svg { width: 30px; height: 30px; fill: none; stroke: #409cc8; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lines h4 { font-size: 18px; color: var(--on-night); }
.lines p { font-size: 15px; line-height: 1.55; color: var(--on-night-2); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.services.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service { padding: 30px 32px 40px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); }
.service .num { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--brass); }
.service h3 { font-size: 21px; }
.service p { color: var(--ink-2); font-size: 16px; max-width: 40ch; }
.services.two .service p { max-width: 52ch; }
.service a { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- dark band (portal, how-we-work portal) ---------- */
.dark { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; isolation: isolate; }
/* .dark sections go Dockside green; the brand cards and the contact band keep --night from :root. */
.dark { --night: #0d3830; --night-2: #15433a; --night-line: #2b5c50; }
.dark .eyebrow { color: var(--gold); }
.dark .watermark { left: -8%; right: auto; top: auto; bottom: -18%; width: min(52vw, 640px); opacity: .045; z-index: -1; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.split h2 { font-size: clamp(40px, 5vw, 66px); margin-top: 20px; }
.split .copy > p:not(.eyebrow) { color: var(--on-night-2); font-size: 18px; max-width: 46ch; margin-top: 26px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px; padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 8px; transition: border-color .3s var(--ease); }
.feature:hover { border-color: #427a6c; }
.feature svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.feature h3 { font-size: 18px; color: var(--on-night); }
.feature p { font-size: 15px; line-height: 1.55; color: var(--on-night-2); }

/* ---------- the trim definition (home) + old-chart texture ---------- */
.chart { position: relative; overflow: hidden; isolation: isolate; }
.chart::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/assets/chart.svg") 62% 50% / cover no-repeat; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
#name.chart::before { background-size: max(1800px, 125%) auto; background-position: right -240px top -120px; }
.define { margin-top: 22px; padding-left: 22px; border-left: 2px solid var(--brass); }
.define-word { font-family: var(--display); font-size: clamp(52px, 6vw, 84px); line-height: 1; letter-spacing: -0.03em; }
.define p.define-meta { margin-top: 8px; font-size: 16px; color: var(--brass); font-family: var(--display); }
.define p.define-text { margin-top: 14px; font-family: var(--display); font-style: italic; font-size: clamp(21px, 2vw, 26px); line-height: 1.4; color: var(--ink); max-width: 30ch; }

/* ---------- portal dashboard picture (home) ---------- */
.features.four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); }
.dash { margin: 0; }
.dash-frame { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); font-family: var(--sans); color: var(--ink); }
.dash-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9e5da; }
.dash-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #c9c3b3; }
.dash-chrome span { margin-left: 12px; flex: 1; max-width: 260px; background: #fffdf7; border-radius: 6px; font-size: 11px; color: var(--ink-3); padding: 3px 10px; }
.dash-screen { background: var(--cream); padding: 0 0 14px; }
.dash-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fffdf7; }
.dash-top .d-mono { height: 18px; width: auto; }
.dash-top .d-word { height: 13px; width: auto; }
.dash-top .d-search { flex: 1; margin-left: 10px; font-size: 10.5px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; white-space: nowrap; overflow: hidden; }
.dash-top .d-cart { font-size: 10.5px; font-weight: 600; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.dash-nav { display: flex; gap: 16px; padding: 0 16px; background: #fffdf7; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--ink-2); }
.dash-nav > * { padding: 7px 0 8px; }
.dash-nav b { font-weight: 600; color: var(--ink); box-shadow: inset 0 -2px var(--ink); }
.dash-hi { font-family: var(--display); font-size: 19px; padding: 14px 16px 10px; }
.dash-band { position: relative; margin: 0 16px 10px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--night); color: var(--on-night); }
.dash-band .d-photo { position: absolute; right: 0; top: 0; width: 62%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.dash-band .d-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 14px; height: 100%; justify-content: center; }
.dash-band .d-logo { height: 26px; width: auto; }
.dash-band.xena .d-logo { height: 15px; margin-block: 4px 2px; }
.dash-band strong { font-size: 11px; font-weight: 600; }
.dash-band small { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-2); }
.dash-band .d-btn { margin-top: 3px; font-size: 9.5px; font-weight: 600; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 2px 9px; }
.dash-orders { margin: 4px 16px 0; background: #fffdf7; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 10.5px; }
.dash-orders p { font-weight: 600; margin-bottom: 4px; }
.dash-orders div { display: grid; grid-template-columns: 1fr 1fr auto; padding: 4px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.dash-orders .d-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.dash figcaption { margin-top: 14px; font-size: 13px; color: var(--on-night-2); }

/* ---------- about teaser (home) ---------- */
.teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.teaser h2 { font-size: clamp(38px, 4.6vw, 60px); margin-top: 18px; }
.teaser > div > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; max-width: 50ch; margin-top: 22px; }
.faces { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: clamp(28px, 3.6vw, 44px); background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); }
.faces ul { display: flex; }
.faces li { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 3px solid var(--paper); background: var(--cream-2); }
.faces li + li { margin-left: -16px; }
.faces li img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.faces .initials { display: grid; place-items: center; font-family: var(--display); font-size: 26px; color: var(--ink); background: var(--cream-2); }
.faces .logo { display: grid; place-items: center; padding: 11px; background: var(--cream-2); }
.faces .logo img { height: auto; object-fit: contain; }
.faces p { font-size: 15.5px; color: var(--ink-2); }
.faces strong { font-family: var(--head); font-weight: 600; color: var(--ink); }

/* ---------- page hero (sub pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(48px, 6.6vw, 92px); margin-top: 22px; max-width: 14ch; }
.page-hero .lede { max-width: 52ch; }

/* ---------- steps (for brands) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font-family: var(--display); font-style: italic; font-size: 44px; line-height: 1; color: var(--brass); margin-bottom: 10px; }
.step h3 { font-size: 21px; }
.step p { color: var(--ink-2); font-size: 16px; }

/* ---------- about page ---------- */
.name-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.mark-card { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--paper); }
.mark-card img { width: min(78%, 320px); height: auto; }
.mark-card .word { width: min(70%, 280px); }
.name-story h2 { font-size: clamp(38px, 4.6vw, 60px); margin-top: 18px; }
.name-story > div > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; max-width: 52ch; margin-top: 22px; }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.person { display: flex; flex-direction: column; }
.person .shot { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--cream-2); }
.person .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.92); transition: transform 1s var(--ease); }
.person:hover .shot img { transform: scale(1.03); }
.person .shot.logo-tile { display: grid; place-items: center; padding: 15%; background: var(--cream-2); }
.person .shot.logo-tile img { width: 100%; height: auto; object-fit: contain; filter: none; }
.person:hover .shot.logo-tile img { transform: none; }
.person .shot.initials { display: grid; place-items: center; background: var(--night); }
.person .shot.initials span { font-family: var(--display); font-size: clamp(56px, 6vw, 84px); color: var(--on-night); letter-spacing: -0.02em; }
.person h3 { font-size: 21px; margin-top: 22px; }
.person .role { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-top: 6px; line-height: 1.5; }
.person p.bio { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin-top: 14px; }
.person .ext-link { margin-top: 14px; align-self: flex-start; }

/* ---------- contact ---------- */
.contact { background: var(--night); color: var(--on-night); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: end; }
.contact .eyebrow { color: var(--gold); }
.contact h2 { font-size: clamp(42px, 5.6vw, 78px); margin-top: 20px; }
.contact-copy > p:not(.eyebrow) { color: var(--on-night-2); font-size: 18px; max-width: 50ch; margin-top: 26px; }
.mail {
  display: inline-block; margin-top: 34px;
  font-family: var(--display); font-style: italic;
  font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2;
  color: var(--on-night); text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 100% 1.5px;
  padding-bottom: 6px; overflow-wrap: anywhere;
  transition: color .2s var(--ease);
}
.mail:hover { color: #fff; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px; padding: 24px 26px; text-decoration: none; transition: border-color .3s var(--ease), background .3s var(--ease); }
.c-card:hover { border-color: #5a5f66; background: #22262b; }
.c-card small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-night-2); }
.c-card strong { display: block; font-family: var(--head); font-weight: 600; font-size: 20px; margin-top: 6px; color: var(--on-night); }
.c-card svg { width: 18px; height: 18px; flex: none; stroke: var(--on-night); fill: none; stroke-width: 1.6; transition: transform .2s var(--ease); }
.c-card:hover svg { transform: translate(3px, -3px); }

/* ---------- footer ---------- */
.site-footer { background: #0c0d0f; color: var(--on-night-2); font-size: 14.5px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 72px 56px; }
.foot-top .lockup { width: 168px; height: auto; opacity: .95; }
.foot-top .tag { font-family: var(--display); font-style: italic; font-size: 19px; color: var(--on-night); margin-top: 22px; }
.foot-top h2 { font-family: var(--sans); font-size: 11.5px; font-weight: 600; font-style: normal; line-height: 1.25; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-night); margin: 0 0 16px; }
.foot-top li + li { margin-top: 10px; }
.foot-top a { text-decoration: none; color: var(--on-night-2); transition: color .2s var(--ease); }
.foot-top a:hover { color: var(--on-night); }
.foot-bottom { background: linear-gradient(#22252a, #22252a) no-repeat var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px; padding-block: 26px 40px; display: grid; gap: 8px; font-size: 13px; color: #8f8c85; }
.foot-bottom p { max-width: 110ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 6px; }
.foot-links a { color: var(--on-night-2); text-decoration: none; border-bottom: 1px solid #3a3d42; transition: color .2s var(--ease), border-color .2s var(--ease); }
.foot-links a:hover { color: var(--on-night); border-color: var(--on-night-2); }

/* ---------- policy pages (/privacy/, /terms/) ---------- */
.prose { max-width: 72ch; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.prose h2 { font-family: var(--head); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; color: var(--ink); margin-top: 44px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--head); font-weight: 600; font-size: 18px; color: var(--ink); margin-top: 28px; margin-bottom: 8px; }
.prose p { margin-top: 14px; }
.prose ul { margin-top: 12px; padding-left: 22px; list-style: disc; }
.prose li { margin-top: 8px; padding-left: 4px; }
.prose a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .meta { font-size: 15px; color: var(--ink-3); margin-top: 0; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.policy-nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; background: var(--paper); transition: border-color .2s var(--ease); }
.policy-nav a:hover, .policy-nav a[aria-current="page"] { border-color: var(--ink); color: var(--ink); }

/* ---------- become a dealer (inquiry form) ---------- */
.inquiry { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.inq-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 3.5vw, 44px); }
.inq-form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .fieldset legend { font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.field label small, .fieldset legend small { font-weight: 500; font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.field input, .field select, .field textarea { font: 500 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; transition: border-color .2s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: #9a978f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 124px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2316181b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.field select:invalid { color: var(--ink-3); }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.fieldset legend { padding: 0; margin-bottom: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px 9px 12px; font-size: 15px; font-weight: 500; background: #fff; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.checks label:hover { border-color: var(--ink-3); }
.checks label:has(:checked) { border-color: var(--ink); background: var(--cream-2); }
.checks input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.checks sup { font-size: .6em; }
.inq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.inq-actions .btn { cursor: pointer; border: 0; }
.inq-note { font-size: 14px; line-height: 1.5; color: var(--ink-3); max-width: 44ch; }
.inq-status { background: var(--cream-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.inq-status[hidden] { display: none; }
.inq-status a { color: var(--ink); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq-actions .btn[disabled] { opacity: .65; cursor: wait; }
.inq-side { display: grid; gap: 26px; padding-top: 10px; }
.inq-side h2 { font-size: clamp(32px, 3.4vw, 44px); margin-top: -8px; }
.steps-list { display: grid; gap: 18px; counter-reset: s; }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.steps-list li > div { min-width: 0; }
.steps-list li::before { counter-increment: s; content: counter(s); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--cream); font: italic 600 15px/1 var(--display); margin-top: 2px; }
.steps-list strong { display: block; font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 17.5px; margin-bottom: 2px; }
.inq-already { font-size: 16px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
@media (max-width: 920px) {
  .inquiry { grid-template-columns: minmax(0, 1fr); }
  .inq-side { order: -1; padding-top: 0; }
}
@media (max-width: 600px) {
  .inq-form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px 26px; }
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
/* Former inline styles, moved here so the content security policy can forbid style attributes. */
.hero .photo.pos-hoss { object-position: 42% 60%; }
.hero .photo.pos-xena { object-position: 58% 70%; }
.svg-defs { position: absolute; }
.faces { text-decoration: none; }
.boot.c-tan { color: #8a6a43; }
.pv-swatch .sw-tan { background: #8a6a43; }
.pv-swatch .sw-char { background: #2f2b28; }
.pv-swatch .sw-brown { background: #5b3a24; }
/* Above the fold nothing waits for JavaScript: the hero's reveals animate on their own as soon as they paint. */
.js .hero .reveal, .js .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s var(--ease) both; }
.js .hero .reveal.d1, .js .page-hero .reveal.d1 { animation-delay: .08s; }
.js .hero .reveal.d2, .js .page-hero .reveal.d2 { animation-delay: .16s; }
.js .hero .reveal.d3, .js .page-hero .reveal.d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.js .duo-tile.reveal.in:nth-child(2) { transform: translateY(56px); }
.js .duo-tile.reveal:nth-child(2) { transform: translateY(78px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lines li:nth-child(3) { border-left: 0; }
  .features.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lines li:nth-child(n+3) { border-top: 1px solid var(--night-line); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero-grid, .split, .teaser, .contact-grid, .head, .name-story { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-top: 32px; }
  .duo { max-width: 620px; }
  .head { align-items: start; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .brand-top, .brand-card.flip .brand-top { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .brand-photo, .brand-card.flip .brand-photo { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 9; }
  .brand-body, .brand-card.flip .brand-body { grid-column: 1; grid-row: 2; padding-top: 8px; }
  .brand-photo::before, .brand-card.flip .brand-photo::before { background: linear-gradient(0deg, var(--night) 0%, rgba(18, 20, 23, 0) 45%); }
  .mark-card { max-width: 520px; }
  .logos { justify-content: flex-start; gap: 22px 36px; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .home .word { height: 21px; }
  .home .mono { height: 30px; }
  .bar { height: 68px; }
  .services, .services.two, .features, .features.four { grid-template-columns: minmax(0, 1fr); }
  .chart::before { opacity: .3; -webkit-mask-image: none; mask-image: none; }
  .service { padding-right: 0; }
  .lines li { padding: 24px 18px 28px; }
  .lines .logo-box { height: 44px; }
  .lines .logo-box .l-hoss { height: 44px; }
  .lines .logo-box .l-diehard { height: 24px; }
  .lines .logo-box .l-moxie { height: 36px; }
  .lines .logo-box .l-mack { height: 34px; }
  .lines h4 { font-size: 16.5px; }
  .lines p { font-size: 14px; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs div { padding-right: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--night-line); }
  .specs dd { margin: 0; text-align: right; }
  .brand-logo { height: 100px; }
  .brand-logo.xena { height: 46px; }
  .duo { padding-bottom: 36px; }
  .duo-tile:nth-child(2), .js .duo-tile.reveal.in:nth-child(2) { transform: translateY(36px); }
  .duo-foot { left: 14px; right: 14px; top: 14px; }
  .duo-foot .hoss { height: 40px; }
  .duo-foot .xena { height: 18px; }
  .duo-foot span { font-size: 12px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .team { grid-template-columns: minmax(0, 1fr); }
  .person { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .person .shot { grid-row: span 4; border-radius: 14px; }
  .person h3 { margin-top: 0; }
  .person .shot.initials span { font-size: 40px; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .logos .l-hoss { height: 48px; }
}
@media (max-width: 360px) {
  .home .word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; animation: none; }
}

/* ---------- brand view: role tabs, drawn dashboard, numbered keys (how-we-work #systems) ---------- */
.bv .r { display: none; }
.bv[data-role="mgr"] .r-mgr, .bv[data-role="rep"] .r-rep, .bv[data-role="view"] .r-view,
.bv[data-role="page"] .r-page, .bv[data-role="style"] .r-style, .bv[data-role="res"] .r-res,
.bv[data-role="home"] .r-home, .bv[data-role="order"] .r-order { display: revert; }
.bv-roles { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-bottom: 28px; }
.bv-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.bv-tabs button { font: 600 14.5px/1 var(--head); color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.bv-tabs button:hover { color: var(--ink); }
.bv-tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.bv-note { flex: 1 1 320px; color: var(--ink-2); font-size: 16px; max-width: 62ch; }
.bv-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.bv-stage { margin: 0; position: relative; isolation: isolate; background: var(--night); border-radius: var(--radius); padding: clamp(20px, 3vw, 40px); overflow: hidden; }
.bv-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 0%, rgba(201, 171, 120, .22), transparent 70%), url("/assets/chart.svg") right -200px top -160px / 1400px auto no-repeat; opacity: .9; }
.bv-stage figcaption { margin-top: 16px; font-size: 13px; color: var(--on-night-2); }
.bv-stage figcaption a { color: var(--on-night); text-underline-offset: 3px; }
.bv-frame { border-radius: 12px; overflow: hidden; background: var(--cream); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); font-family: var(--sans); color: var(--ink); font-size: 10.5px; line-height: 1.4; }
.bv-screen { padding-bottom: 14px; }
.bv-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.bv-logo { display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--head); letter-spacing: .02em; white-space: nowrap; }
.bv-logo b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--ink); color: var(--gold); font-size: 8.5px; letter-spacing: .04em; }
.bv-nav { display: flex; gap: 12px; flex: 1; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.bv-nav b { color: var(--ink); font-weight: 600; }
.bv-badge { position: relative; font-weight: 600; font-size: 10px; background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.bv-hi { display: flex; align-items: center; gap: 6px; padding: 12px 14px 8px; }
.bv-hi p { font-family: var(--display); font-size: 18px; flex: 1; }
.bv-hi > span { display: none; gap: 6px; }
.bv[data-role="mgr"] .bv-hi .r-mgr, .bv[data-role="rep"] .bv-hi .r-rep, .bv[data-role="view"] .bv-hi .r-view { display: inline-flex; }
.bv-btn { display: inline-block; font-size: 9.5px; font-weight: 600; border: 1px solid var(--ink); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.bv-btn.ink { background: var(--ink); color: var(--cream); }
.bv-btn.ro { border-color: var(--line); background: var(--cream-2); color: var(--ink-3); }
.bv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 14px 8px; }
.bv-kpis > div, .bv-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.bv-kpis small { display: block; font-size: 9px; color: var(--ink-3); letter-spacing: .04em; }
.bv-kpis strong { display: inline-block; font: 600 16px/1.3 var(--head); margin-right: 4px; }
.bv-kpis em { font-style: normal; font-size: 9px; font-weight: 600; color: #3f7a4a; }
.bv-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; padding: 0 14px 8px; }
.bv-row:last-child { padding-bottom: 0; }
.bv-h { font-weight: 600; font-size: 10.5px; margin-bottom: 6px; display: flex; justify-content: space-between; gap: 8px; }
.bv-h span { font-weight: 400; color: var(--ink-3); font-size: 9px; display: inline-flex; align-items: center; gap: 4px; }
.bv-h .k1, .bv-h .k2 { width: 10px; height: 2px; background: var(--brass); margin-left: 4px; }
.bv-h .k2 { background: repeating-linear-gradient(90deg, #b4b1a8 0 3px, transparent 3px 5px); }
.bv-chart svg { width: 100%; height: 86px; display: block; }
.bv-attn > div { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 5px 0; border-top: 1px solid var(--line); }
.bv-attn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-attn b { font-size: 9px; font-weight: 600; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.t-due { background: #f6e7c8; color: #7a5413; }
.t-lapse { background: #f5dcd6; color: #8a3324; }
.t-deal { background: #dde7f1; color: #2b4a6b; }
.bv-styles > div { display: grid; grid-template-columns: minmax(0, 1.6fr) .7fr .8fr .7fr .7fr; gap: 6px; padding: 4px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.bv-styles .th { color: var(--ink-3); font-size: 9px; border-top: 0; padding-top: 0; }
.bv-styles .up { color: #3f7a4a; font-weight: 600; }
.bv-styles .up::before { content: "\25B2  "; font-size: 7px; }
.bv-styles .down { color: #8a3324; font-weight: 600; }
.bv-styles .down::before { content: "\25BC  "; font-size: 7px; }
.bv-ask .q { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-style: italic; }
.bv-ask .a { margin: 6px 0 7px; color: var(--ink-2); }
.pin { position: absolute; top: -9px; left: -9px; z-index: 1; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--ink); font: italic 600 11px/1 var(--display); box-shadow: 0 0 0 3px rgba(201, 171, 120, .35); }
.bv-badge .pin { top: -10px; left: -12px; }
.bv-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.bv-keys li { position: relative; padding: 22px 0 22px 52px; border-top: 1px solid var(--line); }
.bv-keys li:last-child { border-bottom: 1px solid var(--line); }
.bv-keys .pin { top: 22px; left: 0; width: 32px; height: 32px; font-size: 16px; box-shadow: none; background: var(--ink); color: var(--gold); }
.bv-keys h3 { font-size: 19px; }
.bv-keys p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.bv-connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 20px clamp(32px, 4.5vw, 64px); align-items: center; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--ink); }
.bv-connect h3 { font-size: 21px; }
.bv-connect p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.bv-connect ul { display: flex; flex-wrap: wrap; gap: 10px; }
.bv-connect li { font: 500 14px/1 var(--head); padding: 11px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.bv-connect li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); margin-right: 9px; vertical-align: 1px; }
@media (max-width: 1080px) {
  .bv-grid, .bv-connect { grid-template-columns: minmax(0, 1fr); }
  .bv-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .bv-keys li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .bv-tabs { display: flex; width: 100%; }
  .bv-tabs button { flex: 1; padding: 11px 8px; font-size: 13.5px; }
  .bv-stage { padding: 14px; margin-inline: calc(var(--gutter) * -0.5); }
  .bv-nav span, .bv-hi .bv-btn:not(.ink):not(.ro) { display: none; }
  .bv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bv-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 12px; }
  .bv-styles > div { grid-template-columns: minmax(0, 1.6fr) .7fr .8fr; }
  .bv-styles .c-stock, .bv-styles .c-eta { display: none; }
  .bv-keys { grid-template-columns: minmax(0, 1fr); }
  .bv-keys li:nth-last-child(2) { border-bottom: 0; }
}
.bv-card .pin { left: 10px; }

/* ---------- dealer portal tour (how-we-work #portal): same pattern as the brand view, on dark ---------- */
.dark .head > div > p { color: var(--on-night-2); font-size: 18px; max-width: 48ch; }
.dark .head .cta-row { margin-top: 26px; }
.on-dark .bv-tabs { background: var(--night-2); border-color: var(--night-line); }
.on-dark .bv-tabs button { color: var(--on-night-2); }
.on-dark .bv-tabs button:hover { color: var(--on-night); }
.on-dark .bv-tabs button[aria-selected="true"] { background: var(--cream); color: var(--ink); }
.on-dark .bv-note { color: var(--on-night-2); }
.on-dark .bv-keys li { border-color: var(--night-line); }
.on-dark .bv-keys .pin { background: var(--gold); color: var(--ink); }
.on-dark .bv-keys h3 { color: var(--on-night); }
.on-dark .bv-keys p { color: var(--on-night-2); }
.dark .bv-connect { border-top-color: var(--night-line); }
.dark .bv-connect h3 { color: var(--on-night); }
.dark .bv-connect p { color: var(--on-night-2); }
.dark .bv-connect li { background: var(--night-2); border-color: var(--night-line); color: var(--on-night); }
.dark .bv-connect li::before { background: var(--gold); }
.pv-stage { margin: 0; position: relative; }
.pv-stage::before { content: ""; position: absolute; inset: -12% -8%; z-index: -1; background: radial-gradient(50% 50% at 50% 45%, rgba(201, 171, 120, .16), transparent 70%); }
.pv-stage figcaption { margin-top: 14px; font-size: 13px; color: var(--on-night-2); }
.alt .pv-stage figcaption { color: var(--ink-3); }
.alt .pv-stage::before { opacity: .5; }
/* The tour section carries its own watermark: it needs to be a positioned box, or the image anchors to the page and lands on the hero's. */
#tour { position: relative; overflow: hidden; isolation: isolate; }
#tour .watermark { left: -8%; right: auto; top: auto; bottom: -18%; width: min(52vw, 640px); opacity: .045; }
.pv-screen { background: var(--cream); padding-bottom: 14px; min-height: 0; }
.pv-screen > .r { padding: 12px 14px 0; }
.pv-screen .dash-nav { gap: 14px; }
.pv-hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; height: 118px; padding: 14px 16px; border-radius: 10px; color: var(--on-night); background: radial-gradient(70% 120% at 85% 20%, rgba(201, 171, 120, .45), transparent 60%), linear-gradient(120deg, #1b1d21 30%, #3a2f22); }
.pv-hero > div { display: flex; flex-direction: column; gap: 2px; }
.pv-mark { font: 600 17px/1 var(--display); letter-spacing: .14em; color: var(--gold); }
.pv-hero strong { font-size: 12px; font-weight: 600; margin-top: 6px; }
.pv-hero small { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-2); }
.pv-hero .d-btn { font-size: 9.5px; font-weight: 600; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.pv-lines { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.pv-lines span { font: 600 10px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 11px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.pv-cards { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.pv-cards > div { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 6px 6px 8px; }
.pv-cards p { font-weight: 600; font-size: 10.5px; margin-top: 6px; padding-inline: 3px; }
.pv-cards small { font-size: 9px; color: var(--ink-3); padding-inline: 3px; }
.pv-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 7px; background: linear-gradient(180deg, #f1ebdb, #e6dec8); }
.pv-img .boot { width: 58%; height: auto; filter: drop-shadow(0 6px 6px rgba(40, 30, 20, .18)); }
.pv-img .tag { position: absolute; left: 5px; top: 5px; font-size: 8.5px; font-weight: 600; border-radius: 999px; padding: 1px 6px; }
.tag.new { background: var(--ink); color: var(--cream); }
.tag.back { background: #dcebdc; color: #2f6b3c; }
.pv-style { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 12px; align-items: center; }
.pv-img.big { aspect-ratio: 5 / 4; }
.pv-info { position: relative; display: flex; flex-direction: column; gap: 4px; }
.pv-info small { font-size: 9px; color: var(--ink-3); letter-spacing: .04em; }
.pv-info strong { font: 400 17px/1.15 var(--display); }
.pv-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pv-chips b { font-size: 8.5px; font-weight: 600; background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; }
.pv-swatch { display: flex; gap: 5px; margin-top: 6px; }
.pv-swatch i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.pv-swatch i.on { box-shadow: 0 0 0 2px var(--cream), 0 0 0 3.5px var(--ink); }
.pv-grid { position: relative; margin-top: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.pv-grid .row { display: grid; grid-template-columns: 22px repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 4px; }
.pv-grid .row span { text-align: center; padding: 4px 0; border-radius: 5px; background: var(--cream); font-size: 10px; white-space: nowrap; }
.pv-grid .row span:first-child { background: none; font-weight: 600; text-align: left; }
.pv-grid .th span { background: none; color: var(--ink-3); font-size: 9px; padding: 0; }
.pv-grid .lo { background: #f6e7c8 !important; color: #7a5413; }
.pv-grid .out { background: var(--ink) !important; color: var(--cream); font-size: 8px !important; font-weight: 600; letter-spacing: -.01em; }
.pv-actions { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pv-actions small { margin-left: auto; font-size: 9px; color: var(--ink-3); }
.pv-title { font: 400 18px/1.2 var(--display); margin-bottom: 8px; }
.pv-files { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 2px 10px; margin-bottom: 8px; }
.pv-files > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 0; }
.pv-files > div + div { border-top: 1px solid var(--line); }
.pv-files span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-files small { font-size: 9px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ft { font-size: 8px; font-weight: 700; border-radius: 4px; padding: 3px 4px; color: #fff; }
.ft.pdf { background: #9a3b2b; }
.ft.xls { background: #2f6b3c; }
.pv-team { position: relative; display: flex; align-items: center; gap: 10px; background: var(--night); color: var(--on-night); border-radius: 9px; padding: 10px 12px; }
.pv-team .av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink); font: italic 600 11px/1 var(--display); }
.pv-team strong { display: block; font-size: 11px; }
.pv-team small { font-size: 9px; color: var(--on-night-2); }
.pv-screen .pin { top: -9px; left: 10px; }
@media (max-width: 600px) {
  .pv-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-cards > div:nth-child(4) { display: none; }
  .pv-style { grid-template-columns: minmax(0, 1fr); }
  .pv-img.big { aspect-ratio: 16 / 9; }
  .pv-img.big .boot { width: 36%; }
  .pv-grid .row { grid-template-columns: 18px repeat(7, minmax(0, 1fr)); gap: 3px; }
  .pv-grid .row span { font-size: 9px; }
  .pv-grid .out { font-size: 6.5px !important; }
  .pv-screen .dash-nav span:not(.r) { display: none; }
}
.pv-info .pin { left: auto; right: 0; top: -2px; }
.pv-actions .pin { position: static; margin-right: 2px; }
@media (min-width: 601px) {
  .bv[data-role] .pv-screen > .r { min-height: 392px; }
  .bv[data-role="res"] .pv-screen > .r-res { display: flex; flex-direction: column; }
  .pv-team { margin-top: auto; }
}
@media (max-width: 600px) {
  .bv[data-role] .pv-screen .dash-nav span { display: none; }
  .pv-img.big { aspect-ratio: 2 / 1; }
}

/* ---------- dealer portal tour (home #portal): extra pieces on top of the how-we-work patterns ---------- */
.pv-screen .dash-band { margin: 0 0 8px; height: 88px; }
.pv-screen .dash-band .pin { top: 8px; left: auto; right: 8px; }
.pv-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.pv-two .pv-files { margin-bottom: 0; }
.pv-two .pv-files > div { grid-template-columns: minmax(0, 1fr) auto; }
.pv-two .pv-files > div:has(.tag) { grid-template-columns: auto minmax(0, 1fr); }
.pv-files .tag { position: static; font-size: 8.5px; font-weight: 600; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.tag.own { background: var(--cream-2); color: var(--ink-2); border: 1px solid var(--line); }
.pv-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pv-title .chips { display: inline-flex; gap: 4px; font-family: var(--sans); }
.pv-title .chips > * { font-size: 9px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; background: var(--paper); font-weight: 500; }
.pv-title .chips b { background: var(--ink); color: var(--cream); border-color: var(--ink); font-weight: 600; }
.pv-cart > div { grid-template-columns: 70px minmax(0, 1fr) auto; padding: 9px 0; }
.pv-cart .cl { width: auto; justify-self: start; }
.pv-cart .cl.hoss { height: 26px; }
.pv-cart .cl.xena { height: 12px; }
.pv-ship { padding: 8px 10px; }
.pv-ship .opts { display: flex; flex-wrap: wrap; gap: 5px; }
.pv-ship .opts > * { font-size: 9.5px; border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; background: var(--cream); font-weight: 500; }
.pv-ship .opts b { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; background: var(--paper); }
.pv-ship > div:last-child { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line); }
.pv-ship .sb { font-weight: 600; }
.bv-tabs.four button { padding-inline: 16px; }
@media (max-width: 600px) {
  .bv-tabs.four button { padding-inline: 4px; font-size: 12.5px; }
  .pv-two { grid-template-columns: minmax(0, 1fr); }
  .pv-cart > div { grid-template-columns: 56px minmax(0, 1fr); }
  .pv-cart .tag { grid-column: 2; justify-self: start; }
  .pv-screen .d-cart { display: none; }
}
.pv-grid, .pv-ship { padding-top: 14px; }
.pv-screen .dash-band .d-logo { height: 32px; }
.pv-screen .dash-band.xena .d-logo { height: 15px; }
.pv-cart .cl.hoss { height: 32px; }
/* made-up sample brands in the home portal tour (no real brand shown there) */
.pv-band { position: relative; height: 92px; margin-bottom: 8px; border-radius: 10px; overflow: hidden; color: var(--on-night); isolation: isolate; }
.pv-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 9px); }
.pv-band.rb { background: radial-gradient(60% 140% at 80% 30%, rgba(201, 171, 120, .5), transparent 65%), linear-gradient(115deg, #17140f 35%, #4a3520); }
.pv-band.wr { background: radial-gradient(60% 140% at 80% 30%, rgba(120, 190, 200, .38), transparent 65%), linear-gradient(115deg, #0f1719 35%, #1f4a52); }
.pv-band .d-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; height: 100%; padding: 10px 14px; }
.pv-band strong { font-size: 11px; font-weight: 600; }
.pv-band .d-btn { margin-top: 3px; font-size: 9.5px; font-weight: 600; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 2px 9px; }
.pv-band .art { position: absolute; right: 6%; bottom: -6%; width: 38%; height: auto; transform: rotate(-7deg); filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .55)); }
.pv-band.rb .art { color: #a07a4a; }
.pv-band.wr .art { color: #c9d6d4; right: 7%; bottom: 2%; transform: rotate(-4deg); }
.pv-band .pin { top: 8px; left: auto; right: 8px; }
.wm.rb { font: 800 13px/1 var(--head); letter-spacing: .22em; color: var(--gold); }
.wm.wr { font: italic 400 19px/1 var(--display); letter-spacing: -.01em; color: #9fd0d6; }
.pv-cart .wm.rb { color: #6b4e26; font-size: 10.5px; letter-spacing: .16em; }
.pv-cart .wm.wr { color: #1f5a63; font-size: 15px; }
@media (max-width: 600px) { .pv-band .art { width: 34%; } }
.pv-band .art { width: 128px; right: 9%; bottom: 2px; }
.pv-band.wr .art { width: 132px; right: 9%; bottom: 4px; }
.pv-cart > div { grid-template-columns: 96px minmax(0, 1fr) auto; }
@media (max-width: 600px) {
  .pv-band .art, .pv-band.wr .art { width: 104px; right: 4%; }
  .pv-cart > div { grid-template-columns: 84px minmax(0, 1fr); }
  .pv-cart .wm.rb { font-size: 9.5px; letter-spacing: .12em; }
}

/* ---------- logo strip grouped by company; Hoss card label; short portal section (home) ---------- */
.logos { align-items: flex-end; }
.logo-group { display: flex; flex-direction: column; gap: 12px; }
.logo-group > div { display: flex; align-items: center; gap: 24px clamp(24px, 4vw, 56px); flex-wrap: wrap; min-height: 58px; }
.hoss-group { flex: 1 1 auto; padding-right: clamp(24px, 4vw, 56px); border-right: 1px solid var(--line); }
.hoss-group > div { justify-content: space-between; }
.lg-label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.lines-label { padding: 22px clamp(20px, 2.4vw, 32px) 0; border-top: 1px solid var(--night-line); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.lines-label + .lines { border-top: 0; }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--on-night); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) translateY(-3px); }
.portal-lite .pv-screen > div:last-child { padding: 12px 14px 0; }
@media (max-width: 920px) {
  .hoss-group { border-right: 0; padding-right: 0; flex-basis: 100%; }
  .logos { align-items: flex-start; }
}

/* ---------- Beta marks; About team as two columns for resume-style bios ---------- */
.beta { display: inline-block; vertical-align: 2px; margin-left: 6px; font: 600 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; background: var(--brass); color: var(--cream); }
.bv-h .beta { font-size: 7.5px; padding: 2px 5px; margin-left: 4px; vertical-align: 1px; }
.bv-legend { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.bv-legend .beta { margin-left: 2px; font-size: 9px; padding: 3px 6px; }
.team { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); row-gap: clamp(48px, 6vw, 72px); }
.person { display: grid; grid-template-columns: clamp(140px, 15vw, 200px) minmax(0, 1fr); column-gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.person .shot { grid-row: 1 / span 20; }
.person > :not(.shot) { grid-column: 2; }
.person h3 { margin-top: 0; }
.person p.bio + p.bio { margin-top: 10px; }
.bv-h .beta { color: var(--cream); font-weight: 600; }
.team { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
.person { grid-template-columns: clamp(140px, 17vw, 230px) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 56px); padding-block: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--line); }
.person:last-child { border-bottom: 1px solid var(--line); }
.person p.bio { max-width: 70ch; font-size: 16px; }
@media (max-width: 600px) {
  .person { grid-template-columns: minmax(0, 1fr); }
  .person .shot { grid-row: auto; width: 150px; margin-bottom: 18px; }
  .person > :not(.shot) { grid-column: 1; }
}
.person .ext-link { justify-self: start; }
.dark .head > p { color: var(--on-night-2); }
/* Hoss card line logos: Hoss and Moxie Trades in their own colours; DieHard and Mack are one-colour black marks, shown reversed (white) on the dark card */
.lines .logo-box .l-hoss, .lines .logo-box .l-moxie { filter: none; opacity: 1; }

/* ---------- brand cards: company group labels; logo-panel cards for lines without photos ---------- */
.group-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: clamp(36px, 5vw, 56px) 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.head + .group-label { margin-top: 0; }
.group-label span { letter-spacing: .06em; text-transform: none; font-weight: 500; color: var(--ink-3); font-size: 14px; }
.group-label sup { font-size: .6em; }
.brand-card.compact .brand-top { min-height: 420px; }
.brand-photo.panel { display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.brand-photo.panel img { position: relative; inset: auto; z-index: 2; width: auto; height: auto; max-width: 52%; max-height: 46%; object-fit: contain; }
.brand-photo.panel::after { content: ""; position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 11px); }
.p-diehard { background: radial-gradient(70% 90% at 60% 45%, rgba(201, 171, 120, .28), transparent 70%), linear-gradient(135deg, #1d1f23, #2c2a26); }
.p-diehard img { filter: brightness(0) invert(1); }
.p-moxie { background: radial-gradient(70% 90% at 45% 45%, #fff6fa, #f3d3e2 75%); }
.p-moxie::before { opacity: .9; }
.p-moxie img { max-height: 58%; }
.p-mack { background: radial-gradient(70% 90% at 55% 45%, rgba(190, 200, 210, .22), transparent 70%), linear-gradient(135deg, #22262b, #3a4048); }
.p-mack img { filter: brightness(0) invert(1); max-height: 52%; }
.logo-group a { display: inline-flex; border-radius: 6px; }
.logo-group a:hover img { filter: none; opacity: 1; }
.logo-group a:focus-visible { outline-offset: 6px; }
@media (max-width: 920px) {
  .brand-card.compact .brand-photo.panel { aspect-ratio: 2 / 1; }
}
.p-moxie { background: radial-gradient(70% 90% at 55% 45%, rgba(230, 70, 150, .30), transparent 70%), linear-gradient(135deg, #1f141b, #3a1d2e); }
.p-moxie::before { opacity: 1; }

/* ---------- Hoss card: the four lines as "learn more" tiles opening a detail panel ---------- */
.line-picker .lines-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.line-picker .lines-label span { letter-spacing: .04em; text-transform: none; font-weight: 500; color: var(--on-night-2); font-size: 13px; }
.line-tiles { border-top: 0; }
.line-tile { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px clamp(20px, 2.4vw, 32px) 26px; transition: background .25s var(--ease); }
.line-tile + .line-tile { border-left: 1px solid var(--night-line); }
.line-tile:hover { background: var(--night-2); }
.line-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.line-tile .lt-name { font: 600 18px/1.25 var(--head); color: var(--on-night); }
.line-tile .lt-name sup { font-size: .6em; }
.line-tile .lt-text { font-size: 15px; line-height: 1.55; color: var(--on-night-2); }
.lt-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.lt-more i { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .3s var(--ease), background .25s var(--ease); }
.lt-more i::before, .lt-more i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.lt-more i::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.line-tile:hover .lt-more i { background: rgba(201, 171, 120, .15); }
.line-tile[aria-expanded="true"] { background: var(--night-2); box-shadow: inset 0 -2px var(--gold); }
.line-tile[aria-expanded="true"] .lt-more i { transform: rotate(180deg); }
.line-tile[aria-expanded="true"] .lt-more i::after { opacity: 0; }
.line-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.5vw, 44px) clamp(20px, 3.5vw, 48px) clamp(28px, 4vw, 52px); border-top: 1px solid var(--night-line); background: var(--night-2); }
.line-panel + .line-panel { margin-top: 0; }
.js-lines .line-panel:not(.open) { display: none; }
.line-panel.open { animation: lp-in .35s var(--ease); }
@keyframes lp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lp-img { border-radius: 16px; overflow: hidden; background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.lp-img.contain img { width: 82%; height: 82%; object-fit: contain; }
.lp-img.cover img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.lp-body { display: flex; flex-direction: column; gap: 16px; }
.lp-body h4 { font: 400 clamp(28px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.02em; color: var(--on-night); }
.lp-body h4 sup { font-size: .45em; }
.lp-body .tagline { font-family: var(--display); font-style: italic; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.4; color: var(--on-night); }
.lp-body p { color: var(--on-night-2); max-width: 54ch; }
@media (max-width: 920px) {
  .line-panel { grid-template-columns: minmax(0, 1fr); }
  .lp-img { aspect-ratio: 16 / 10; }
}
@media (max-width: 1080px) {
  .line-tile:nth-child(3) { border-left: 0; }
  .line-tile:nth-child(n+3) { border-top: 1px solid var(--night-line); }
}
@media (max-width: 600px) {
  .line-tile { padding: 20px 16px 22px; }
  .line-tile .lt-name { font-size: 16.5px; }
  .line-tile .lt-text { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .line-panel.open { animation: none; } }
.bv-connect + .bv-connect { margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.bv-build li { background: transparent; border-style: dashed; }

/* ---------- Trimwell-green variant (branch green-accents, 2026-11-03) ----------
   Buttons, small accents (eyebrows, numerals, roles, pills, nav underline), the brand-view stage and the chart texture
   take Dockside green from the October 2026 brandbook. The brand cards, the contact band and the footer stay near-black
   (Zac, 2026-11-03).
   chart-green.svg is chart.svg with its stroke recoloured. */
:root { --green: #0d3830; --green-2: #15433a; --green-line: #2b5c50; --brass: #1a5346; }   /* #1a5346: 7.4:1 on cream */
.btn-ink { background: var(--green); }
.btn-ink:hover { background: var(--green-2); }
.btn-line { border-color: var(--green); color: var(--green); }
.btn-line:hover { background: var(--green); color: var(--cream); }
.menu summary { border-color: var(--green); color: var(--green); }
.skip { background: var(--green); }
.nav a:not(.btn) { background-image: linear-gradient(var(--green), var(--green)); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--green); }
.link-arrow, .service a { color: var(--green); }
.bv-tabs button[aria-selected="true"] { background: var(--green); }
.tag.new, .pv-title .chips b, .dash-top .d-cart, .bv-logo b, .bv-keys .pin { background: var(--green); }
.pv-title .chips b { border-color: var(--green); }
.dash-nav b { box-shadow: inset 0 -2px var(--green); }
.dash-orders .d-link { color: var(--green); }
.chart::before { background-image: url("/assets/chart-green.svg"); }
.bv-stage, .person .shot.initials { --night: var(--green); --night-2: var(--green-2); --night-line: var(--green-line); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.checks label:has(:checked) { border-color: var(--green); }
.checks input { accent-color: var(--green); }
.steps-list li::before { background: var(--green); }
.inq-status a { color: var(--green); }
