@font-face {
  font-family: 'Source Serif';
  src: url('fonts/source-serif-var.woff2') format('woff2-variations');
  font-weight: 380 620;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   BellMed Resources, Inc. — stylesheet
   Palette derived from the original site's brand assets:
     orange  #007ac2   brown #231f20
     accent  #0069a8   slate #7b7ebc
   ============================================================ */

:root {
  /* Palette derived from the BellMed logo artwork (Logo.ai).
     Only #231f20 and #007ac2 pass contrast for text — the other four logo
     colours are decorative and appear in the mark itself, never as type. */
  --blue:        #007ac2;   /* logo blue — primary accent */
  --blue-dk:     #0069a8;   /* hover / links */
  --blue-text:   #005c93;   /* small caps + eyebrows, 7.1:1 on white */
  --blue-tint:   #e6f2fa;   /* chip + icon backgrounds */

  /* logo quartet — decorative only, never text */
  --q-yellow:    #ffd520;
  --q-peri:      #7b7ebc;
  --q-red:       #ed1b2d;
  --q-green:     #009b67;

  --paper:       #ffffff;
  --paper-warm:  #f6f7f9;
  --paper-warm2: #eceef2;
  --line:        #dde1e7;
  --line-soft:   #eaedf1;

  --ink:         #231f20;   /* logo black */
  --ink-2:       #4a4749;
  --ink-3:       #6b6769;

  --brown:       #231f20;   /* legacy names kept so rules below resolve */
  --brown-dp:    #1b1819;
  --brown-ink:   #171415;
  --orange:      #007ac2;
  --orange-dk:   #0069a8;
  --orange-text: #005c93;
  --accent:      #0069a8;
  --slate:       #7b7ebc;

  --wrap:        1180px;
  --gut:         clamp(1.25rem, 4vw, 3rem);

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;

  --sh-1: 0 1px 2px rgba(35,31,32,.06), 0 1px 3px rgba(35,31,32,.05);
  --sh-2: 0 2px 4px rgba(35,31,32,.05), 0 8px 24px rgba(35,31,32,.07);

  --ff-display: "Source Serif", Georgia, "Times New Roman", serif;
  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange-dk); }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p { margin: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff;
  padding: .7rem 1.1rem; z-index: 200; border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

:where(a, button):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- section scaffolding ---------- */

section { scroll-margin-top: 84px; }

.band { padding-block: clamp(3.75rem, 8vw, 6.5rem); }
.band--warm  { background: var(--paper-warm); }
.band--warm2 { background: var(--paper-warm2); }
.band--dark  { background: var(--paper-warm2); color: var(--ink-2); }
.band--dark h2, .band--dark h3 { color: var(--ink); }

.eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: .9rem;
}
.band--dark .eyebrow { color: var(--orange); }

.h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); }
.h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-2);
  max-width: 62ch;
  margin-top: 1.1rem;
}
.band--dark .lede { color: var(--ink-2); }

.head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: var(--r-sm);
  font-weight: 650;
  font-size: .975rem;
  letter-spacing: -.005em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dk); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--paper-warm); color: var(--ink); }

.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brown); color: var(--ink); }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 68px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 244px; height: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav a {
  color: var(--ink-2); text-decoration: none;
  font-size: .93rem; font-weight: 550;
  padding: .5rem .75rem; border-radius: var(--r-sm);
}
.nav a:hover { color: var(--ink); background: var(--paper-warm2); }

.head-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-left: .6rem;
  color: var(--blue-dk); text-decoration: none;
  font-weight: 650; font-size: .93rem;
  padding: .5rem 1rem;
  border: 1.5px solid var(--blue);
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.head-cta:hover { background: var(--orange); color: #fff; }

@media (max-width: 860px) {
  .site-head__in {
    min-height: 56px;
    flex-wrap: wrap;
    row-gap: .15rem;
    padding-bottom: .45rem;
  }
  .brand img { width: 190px; }
  .head-cta { margin-left: auto; }

  /* keep the nav reachable on phones as a swipeable strip */
  .nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    gap: .1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gut));
    padding-inline: var(--gut);
  }
  .nav::-webkit-scrollbar { display: none; }
  /* fade the right edge so it reads as scrollable rather than cut off */
  .nav {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), transparent 100%);
  }
  .nav a { white-space: nowrap; font-size: .88rem; padding: .3rem .55rem; }

  section { scroll-margin-top: 104px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  color: #fff;
  background: var(--paper);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .34;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(62% 74% at 80% 24%, rgba(0,122,194,.13) 0%, rgba(0,122,194,0) 64%),
    radial-gradient(52% 64% at 8% 86%, rgba(123,126,188,.12) 0%, rgba(123,126,188,0) 62%),
    radial-gradient(40% 54% at 98% 94%, rgba(237,27,45,.07) 0%, rgba(237,27,45,0) 62%),
    linear-gradient(to bottom, rgba(255,213,32,.07) 0%, rgba(255,255,255,0) 38%);
}
.hero__in {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 940px) {
  .hero__in { grid-template-columns: 1.55fr .45fr; }
}

/* their own spine artwork, in the logo's 2x2 arrangement */
.hero__art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.6rem, 1.6vw, 1rem);
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.hero__art img {
  display: block; width: 100%; height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 34px rgba(0,0,0,.42);
}
@media (max-width: 939px) { .hero__art { max-width: 300px; } }
@media (max-width: 560px) { .hero__art { max-width: 230px; } }

/* smaller, supporting role rather than dominating the hero */
.hero__art--sm { max-width: 268px; gap: .5rem; }
@media (max-width: 939px) { .hero__art--sm { max-width: 220px; } }
@media (max-width: 560px) { .hero__art--sm { max-width: 176px; } }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  color: var(--ink);
  max-width: 18ch;
  letter-spacing: -.03em;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__sub {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.6;
}
.hero__acts { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__terr {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: 1.15rem;
}
.hero__terr .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.4rem; }
.hero__terr .lbl {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero__terr ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
}
.hero__terr li { font-size: .95rem; font-weight: 600; color: var(--ink); }

/* ---------- capability cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 1.85rem 1.7rem;
  box-shadow: var(--sh-1);
}
.card__ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: #e6f2fa;
  color: var(--orange-dk);
  margin-bottom: 1.15rem;
}
.card__ico svg { width: 21px; height: 21px; }
.card h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.card p { color: var(--ink-2); font-size: .97rem; }

.model {
  margin-top: 2.25rem;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.model__item {
  border-left: 3px solid var(--orange);
  padding: .25rem 0 .25rem 1.15rem;
}
.model__item h4 { font-size: 1rem; margin-bottom: .3rem; }
.model__item p { font-size: .95rem; color: var(--ink-2); }

/* ---------- philosophy ---------- */

.phil { display: grid; gap: clamp(2.25rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 940px) { .phil { grid-template-columns: 1.05fr .95fr; align-items: start; } }

.phil__media { position: relative; }
.phil__media img { border-radius: var(--r); width: 100%; }
.quote {
  margin: -2.5rem 1.5rem 0 -0.5rem;
  position: relative;
  background: var(--orange);
  color: #fff;
  padding: 1.5rem 1.6rem;
  border-radius: var(--r);
  box-shadow: var(--sh-2);
}
.quote p { font-size: clamp(1.1rem, 2.2vw, 1.3rem); font-weight: 650; line-height: 1.35; letter-spacing: -.015em; }
.quote span { display: block; margin-top: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.82); }
@media (max-width: 939px) { .quote { margin: -2rem .75rem 0 .75rem; } }

.tenets { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.tenets li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .1rem 1.1rem; }
.tenets .n {
  grid-row: span 2;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  /* 1.25rem bold clears the WCAG large-text threshold, so 3:1 applies —
     that is what lets periwinkle and red be used here at all */
  font-size: 1.25rem; font-weight: 700;
  font-family: var(--ff-display);
  line-height: 1;
}
/* one colour for all of them — the primary accent, as used for buttons and links */
.tenets .n { background: var(--blue); color: #fff; }
.tenets h3 { font-size: 1.05rem; }
.tenets p { color: var(--ink-2); font-size: .97rem; margin-top: .25rem; }

/* ---------- partners ---------- */

.pgroup + .pgroup { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.pgroup__h {
  display: flex; align-items: baseline; gap: .9rem;
  padding-bottom: .9rem; margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.pgroup__h h3 { font-size: 1.1rem; }
.pgroup__h span { font-size: .85rem; color: var(--ink-3); }

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.logo-tile {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  height: 116px;
  display: grid; place-items: center;
  padding: 1rem 1.2rem;
  box-shadow: var(--sh-1);
}
.logo-tile img {
  /* px cap, not %, so tall/square marks can't outgrow the tile */
  max-height: 68px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
/* brands whose only published logo is a white knockout — shown on their own dark field */
.logo-tile--ko { background: #1b1819; border-color: #1b1819; }

/* portrait / square lockups need more vertical room to stay legible */
.logo-tile--tall img { max-height: 92px; }

/* two-up on phones — 14 single-file tiles is a lot of scrolling */
@media (max-width: 560px) {
  /* four items now, so they fit without the swipe strip */
  .nav a { font-size: .85rem; padding: .5rem .34rem; }

  .pgroup__h { flex-direction: column; gap: .15rem; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .logo-tile { height: 94px; padding: .7rem .8rem; }
  .logo-tile img { max-height: 48px; }
  .logo-tile--tall img { max-height: 66px; }
}

/* ---------- line card: 44 linked manufacturers ---------- */
.lines {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.lines li { border-bottom: 1px solid var(--line-soft); }
.lines a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .7rem .85rem .7rem .2rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: .96rem;
  border-radius: var(--r-sm);
}
/* arrow is decorative; the link text already says where it goes */
.lines a::after {
  content: "\2197";
  color: var(--ink-3);
  font-weight: 400;
  opacity: 0;
  transform: translateX(-2px);
  transition: opacity .14s ease, transform .14s ease;
}
.lines a:hover,
.lines a:focus-visible { color: var(--orange-text); background: var(--paper-warm); }
.lines a:hover::after,
.lines a:focus-visible::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lines a::after { transition: none; }
}
@media (max-width: 560px) {
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .lines a { font-size: .89rem; padding: .6rem .5rem .6rem .1rem; }
}

.pnote {
  margin-top: 2.5rem;
  font-size: .9rem;
  color: var(--ink-3);
  max-width: 70ch;
}

/* ---------- team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.member {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--sh-1);
  display: flex;
  align-items: center;
  gap: .85rem;
}
.member__tx { min-width: 0; }
.member__ph {
  flex: 0 0 auto;
  width: 62px; height: 62px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-warm2);
}
/* people who have not sent a photo get initials, not a broken frame */
.member__ph--mono {
  display: grid; place-items: center;
  font-size: .95rem; font-weight: 700; letter-spacing: .02em;
  color: #5f6a72;
  background: var(--paper-warm2);
  border: 1px solid var(--line-soft);
}
.member .nm { font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.member .rl { font-size: .89rem; color: var(--ink-3); margin-top: .15rem; }
.member__em {
  display: block;
  padding-block: .2rem;
  /* full address is 148px at .8rem in a 145px slot — it wrapped mid-domain
     and pushed its whole grid row 70px taller */
  font-size: .74rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: .1rem;
  overflow-wrap: anywhere;
}
.member__em:hover { text-decoration: underline; }

.member .tr {
  display: inline-block; margin-top: .7rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap;
  color: #005c93; background: #e6f2fa;
  padding: .22rem .55rem; border-radius: 4px;
}

@media (max-width: 560px) {
  /* two-up team cards: one-per-row made this section ~2,900px tall on a phone */
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .member { padding: .8rem .75rem; gap: .6rem; }
  .member__ph { width: 46px; height: 46px; }
  .member .nm { font-size: .95rem; }
  .member .rl { font-size: .8rem; }
  /* long territories ('Colorado Springs') overflow a 2-up card if held on one line */
  .member .tr { font-size: .68rem; margin-top: .5rem; padding: .18rem .4rem;
                white-space: normal; }
}

/* ---------- contact ---------- */

.contact { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1fr; align-items: start; } }

.dl { display: grid; gap: 1.4rem; margin: 0; }
.dl div { display: grid; gap: .2rem; }
.dl dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--orange);
}
.dl dd { margin: 0; font-size: 1.06rem; color: var(--ink); }
/* real underline rather than a border, so vertical padding can grow the tap
   target without the rule detaching from the text */
.dl dd a {
  display: inline-block;
  padding-block: .28rem;
  color: var(--blue-dk);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.dl dd a:hover { color: var(--blue-text); text-decoration-thickness: 2px; }
.dl dd.addr { line-height: 1.5; }

.cta-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  box-shadow: var(--sh-1);
}
.cta-card h3 { font-size: 1.25rem; }
.cta-card p { margin-top: .7rem; color: var(--ink-2); font-size: .99rem; }
.cta-card .acts { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--paper);
  color: var(--ink-3);
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
}
.site-foot__in {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
}
@media (min-width: 720px) {
  .site-foot__in { grid-template-columns: 1.6fr .7fr .9fr; }
}
.eyebrow--yellow { --chip: var(--q-yellow); }
.eyebrow--peri   { --chip: var(--q-peri); }
.eyebrow--blue   { --chip: var(--blue); }
.eyebrow--red    { --chip: var(--q-red); }
.eyebrow--green  { --chip: var(--q-green); }

/* ---------- capability cards take a colour from the mark ---------- */

.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: var(--tone, var(--blue));
}
.card--yellow { --tone: var(--q-yellow); }
.card--blue   { --tone: var(--blue); }
.card--red    { --tone: var(--q-red); }
.card--yellow .card__ico { background: #fff6d1; color: #6b5300; }
.card--blue   .card__ico { background: var(--blue-tint); color: var(--blue-text); }
.card--red    .card__ico { background: #fde7e9; color: #a5101d; }

/* the wholesale / distribution / market trio cycles the same quartet */
.model__item:nth-child(1) { border-left-color: var(--q-yellow); }
.model__item:nth-child(2) { border-left-color: var(--blue); }
.model__item:nth-child(3) { border-left-color: var(--q-red); }

/* on the dark contact band, the dark accent blue drops to 3.8:1 — lift it */
.band--dark .eyebrow,
.band--dark .dl dt { color: var(--blue-text); }


/* ---------- display type: large serif at regular weight ---------- */

h1, .h2, .hero h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.08;
  text-wrap: balance;
}
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.hero h1 { font-weight: 400; letter-spacing: -.022em; }

/* pill buttons */
.btn { border-radius: 100px; }
.head-cta { border-radius: 100px; }

/* ---------- scroll reveals ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); }
  .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .55s cubic-bezier(.22,.61,.36,1),
                transform .55s cubic-bezier(.22,.61,.36,1);
  }
}

.head-cta:hover { background: var(--blue); color: #fff; border-color: var(--blue); }


/* ---------- partners: a line card you can actually search ---------- */

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.linebar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.6rem;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.linebar__stat { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.linebar__stat strong {
  font-family: var(--ff-display);
  font-size: 2.6rem; font-weight: 400; line-height: 1;
  color: var(--blue); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.linebar__stat span {
  font-size: .82rem; font-weight: 600; line-height: 1.3;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em;
}
.linebar__find { flex: 1 1 260px; min-width: 0; }
.linebar__find input {
  width: 100%;
  font: inherit; font-size: .96rem;
  color: var(--ink);
  padding: .62rem .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.linebar__find input::placeholder { color: var(--ink-3); }
.linebar__find input:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
.linebar__count {
  margin: .45rem 0 0 .9rem; font-size: .82rem; color: var(--ink-3); min-height: 1.2em;
}
.lines li[hidden] { display: none; }
.lines--empty { display: none; }


/* ---------- manufacturer marquee, directly under the header ---------- */

.marks {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0 1.35rem;
  overflow: hidden;
}
.marks__lbl {
  margin: 0 0 .85rem;
  text-align: center;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-3);
}
/* fade both edges so marks enter and leave rather than pop */
.marks__vp {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marks__track {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center;
  gap: clamp(2rem, 4.5vw, 3.6rem);
  width: max-content;
  animation: marks-scroll 62s linear infinite;
}
.marks__track li { flex: 0 0 auto; display: flex; align-items: center; }
.marks__track img {
  height: 34px; width: auto; display: block;
  /* full colour, full strength: greyscale + reduced opacity made the
     lighter logos (Acuity, Altus, Cerapedics, Aurora) effectively invisible */
  opacity: 1;
  transition: transform .25s ease;
}
.marks:hover .marks__track { animation-play-state: paused; }
.marks__track img:hover { transform: scale(1.06); }

@keyframes marks-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marks__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 1.2rem; }
  .marks__track li:nth-child(n+24) { display: none; }   /* hide the duplicate half */
}
@media (max-width: 560px) {
  .marks__track img { height: 27px; }
  .marks { padding: .9rem 0 1.05rem; }
}


/* ---------- partners: tinted band, list lifted onto a card ---------- */

.band--lines {
  position: relative;
  background:
    radial-gradient(72% 82% at 14% 0%, rgba(123,126,188,.26) 0%, rgba(123,126,188,0) 62%),
    radial-gradient(60% 72% at 94% 100%, rgba(0,122,194,.16) 0%, rgba(0,122,194,0) 64%),
    linear-gradient(155deg, #3f4161 0%, #363752 52%, #2e2f47 100%);
  color: #c9cbd8;
}
/* the quartet again, as a hairline along the top of the band */
.band--lines::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(to right,
    var(--q-yellow) 0 25%, var(--q-peri) 25% 50%,
    var(--blue) 50% 75%, var(--q-red) 75% 100%);
}
.lines__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: clamp(1.1rem, 2.4vw, 1.9rem) clamp(1.1rem, 2.4vw, 2.1rem);
}
.lines__card .lines { margin-bottom: 0; border-top: 0; }
.lines__card .lines li:nth-child(-n+5) { border-top: 0; }

/* partners sits dark so the white line card reads as a document on it */
.band--lines .h2 { color: #fff; }
.band--lines .lede { color: #cdcfdb; }
.band--lines .eyebrow { color: #8ac9ef; }
.band--lines .pnote { color: #b3b6c6; border-top-color: rgba(255,255,255,.16); }
.band--lines .lines__card { box-shadow: 0 18px 50px rgba(24,25,42,.4); border-color: transparent; }

/* ---------- contact: the call to action gets the brand blue ---------- */

.band--dark {
  background: linear-gradient(150deg, #00669f 0%, #005c93 46%, #004f7f 100%);
  color: #dceaf5;
}
.band--dark .h2, .band--dark h3 { color: #fff; }
.band--dark .lede { color: #dceaf5; }
.band--dark .eyebrow, .band--dark .dl dt { color: #bcdcf2; }
.band--dark .eyebrow::before { background: var(--q-yellow); }
.band--dark .dl dd { color: #fff; }
.band--dark .dl dd a { color: #fff; }
.band--dark .dl dd a:hover { color: #fff; text-decoration-thickness: 2px; }
.band--dark .cta-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: none;
}
.band--dark .cta-card p { color: #dceaf5; }
.band--dark .btn--primary { background: #fff; color: #004f7f; }
.band--dark .btn--primary:hover { background: #eef4fa; color: #004f7f; }


/* ---------- footer ---------- */

.foot-brand img { width: 210px; height: auto; display: block; margin-bottom: .9rem; }
.foot-brand p { margin: 0; max-width: 40ch; color: var(--ink-3); font-size: .92rem; line-height: 1.6; }

.site-foot h2 {
  font-family: var(--ff);
  font-size: .74rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 .8rem;
}
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-nav a, .foot-contact a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-size: .95rem;
}
.foot-nav a:hover, .foot-contact a:not(.btn):hover { color: var(--blue-dk); text-decoration: underline; }
.foot-contact p { margin: 0 0 .9rem; }
.btn--sm { padding: .5rem 1.1rem; font-size: .9rem; }

.site-foot__base {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-3);
}
.site-foot__base p { margin: 0; }
.foot-tm { max-width: 62ch; }
.foot-top {
  margin-left: auto; color: var(--blue-dk); text-decoration: none; font-weight: 600;
  white-space: nowrap;
}
.foot-top:hover { text-decoration: underline; }

/* ten names you can't act on isn't much use — give each a way through */
.member__ask {
  /* block, not inline-block: beside a short tag like "Utah" it was
     flowing onto the same line and reading as part of the territory */
  display: block;
  /* padding, not margin, so the tap target itself clears 44px —
     at 20px tall these were below the WCAG minimum and fiddly on a phone */
  margin-top: .15rem;
  padding: .78rem 0 .6rem;
  font-size: .8rem; font-weight: 600;
  color: var(--blue-dk); text-decoration: none;
  white-space: nowrap;
}
.member__ask span { display: inline-block; transition: transform .2s ease; }
.member__ask:hover { text-decoration: underline; }
.member__ask:hover span { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .member__ask span { transition: none; } }
@media (max-width: 560px) { .member__ask { font-size: .74rem; padding: .85rem 0 .7rem; } }

/* footer links were 18-22px tall — under the 24px WCAG target-size minimum,
   and the footer is exactly where people tap on a phone */
.foot-nav a,
.foot-contact a:not(.btn),
.foot-top,
.site-foot__base a {
  display: inline-block;
  padding-block: .45rem;
}
.foot-nav ul { gap: .15rem; }

/* ---------------------------------------------------------------- 404 page */
.nf-body { display: grid; place-items: center; min-height: 100vh; margin: 0;
           background: var(--paper, #fff); }
.nf { text-align: center; padding: 48px 24px; max-width: 520px; }
.nf__logo { display: block; margin: 0 auto 40px; height: auto; }
.nf__eyebrow { margin: 0 0 10px; font-size: .78rem; font-weight: 700;
               letter-spacing: .12em; text-transform: uppercase;
               color: var(--blue-text); }
.nf__h { margin: 0 0 14px; font-family: var(--ff-display);
         font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 400;
         line-height: 1.15; color: var(--ink); }
.nf__p { margin: 0 0 32px; color: var(--ink-2, #4a4648); line-height: 1.6; }
.nf__actions { display: flex; gap: 12px; justify-content: center;
               flex-wrap: wrap; margin: 0; }
