/* American Business Funds.
 *
 * On the ADR-0011 skeleton -- `tools/sitegen/page.css` is the layout. What is
 * here is the palette and the two typefaces.
 *
 * RED, NAVY AND NOTHING ELSE. The brand is red-white-and-blue and says so in
 * its own headline, so the accent is the red its call to action already used
 * and the tick that is green on LendCloud is this brand's navy. `--warn`, the
 * one figure on a card that is a price rather than a number, takes the deep
 * red: on a two-colour site a third colour is a fourth thing to explain.
 *
 * BRICOLAGE GRANDE is a variable display face with real weight range, so this
 * theme runs it at 800 with the reference's tracking -- the opposite call
 * from Allied, whose display face has one weight and wanted less.
 *
 * DERIVED RATHER THAN BRAND: `--ink-soft`, `--accent-wash`, `--accent-line`,
 * `--good-wash`, `--rule-firm`, `--ask-ink` and `--ask-accent`. Each sits
 * inside a colour the brand already uses.
 */

@font-face {
  font-family: "Bricolage";
  src: url("display.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "SourceSans";
  src: url("text.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --ink: #0b1220;
  --ink-soft: #1d2637;
  --text: #3b465c;
  --muted: #55627a;

  --accent: #c40000;
  --accent-deep: #a90f0f;
  --accent-wash: #fdeeee;
  --accent-line: #f2cfcf;

  /* The tick is the brand's navy, and so is nothing else on the page. */
  --good: #072d79;
  --good-wash: #e7edf9;
  --warn: #a90f0f;

  --paper: #ffffff;
  --card: #ffffff;
  --tint: #f2f5fa;
  --rule: #d5dde9;
  --rule-firm: #b3bfd2;

  --ask-ink: #aab6cc;
  --ask-accent: #ff8f8f;

  --shadow: 11, 18, 32;

  --display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --body: "SourceSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --display-weight: 800;
  --display-track: -0.028em;

  --shell: 1160px;
  --radius: 14px;
  --radius-sm: 10px;
}

/* ---- the shared chrome, painted in this brand's colours ---- */
:root {
  --nav-bg: #ffffff;
  --nav-ink: #0b1220;
  --nav-ink-soft: #6c7587;
  --nav-rule: #d3d4d7;
  --nav-hover: #c40000;
  --nav-panel: #ffffff;
  --nav-cta-bg: #c40000;
  --nav-cta-ink: #ffffff;
  --nav-font: var(--body);
  --nav-size: 0.9375rem;
  --nav-weight: 500;
  --nav-track: 0;
  --nav-case: none;

  --foot-bg: #0b1220;
  --foot-ink: #9fa9bd;
  --foot-head: #ffffff;
  --foot-rule: #27314a;
  --foot-link: #ffffff;
}

/* ================================================================== *
 * THE OCTOBER 2026 REDRAW -- for a phone first.
 *
 * Most of this brand's visitors tap a link in a text message, so every
 * band below is drawn at 390px first and widened after. See the head of
 * build.mjs for the order and why.
 * ================================================================== */

/* ---------- the door: headline, then the form, on a phone ---------- */
.door__call {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--text);
}
.door__call a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.door__call a:hover {
  color: var(--accent);
}
.door__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--good-wash);
  color: var(--good);
}
.door .ticks {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 26px;
}
.door .lede {
  margin-bottom: 24px;
}

@media (max-width: 760px) {
  .door {
    padding: 22px 0 40px;
  }
  .door .head__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  /* The words column comes apart so its pieces can sit either side of the
     form: eyebrow and headline above it, everything else below. */
  .door .head__say {
    display: contents;
  }
  .door .eyebrow { order: 1; margin-bottom: 10px; }
  .door .h1 {
    order: 2;
    font-size: clamp(1.65rem, 7.4vw, 2.05rem);
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .door .head__grid .frame {
    order: 3;
    margin: 0 0 28px;
  }
  .door .lede { order: 4; font-size: 1.02rem; margin-bottom: 18px; }
  .door .ticks { order: 5; margin-bottom: 20px; }
  .door__call { order: 6; }
}

/* ---------- the trust strip, closing the door ---------- */
.door__trust {
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid var(--rule);
}
.trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.trust__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}
.trust__list b {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.1;
  color: var(--good);
}
.trust__list span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.35;
}
.trust__list--card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}
@media (max-width: 760px) {
  .door__trust {
    margin-top: 8px;
    padding-top: 26px;
  }
  .trust__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .trust__list li {
    padding-left: 12px;
  }
}

/* ---------- the six, as tappable cards ---------- */
.picks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pick {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.pick:hover {
  border-color: var(--rule-firm);
  box-shadow: 0 16px 40px rgba(var(--shadow), 0.1);
  transform: translateY(-3px);
}
.pick img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.pick__say {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 64px 26px 24px;
  flex: 1;
}
.pick__name {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: calc(var(--display-track) * 0.5);
  font-size: 1.2rem;
  color: var(--ink);
}
.pick__fig {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--good);
}
.pick__lead {
  color: var(--text);
  font-size: 0.97rem;
}
.pick__go {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
}
@media (max-width: 1000px) {
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* On a phone, a thumbnail beside the words: six in a screen and a half. */
@media (max-width: 760px) {
  .picks {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pick {
    flex-direction: row;
    align-items: stretch;
  }
  .pick img {
    width: 96px;
    height: auto;
    min-height: 100%;
    flex: none;
  }
  .pick__say {
    padding: 14px 52px 14px 16px;
    gap: 3px;
  }
  .pick__name { font-size: 1.05rem; }
  .pick__fig { font-size: 0.86rem; }
  .pick__lead {
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .pick__go {
    top: 50%;
    bottom: auto;
    right: 12px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
  }
}

/* ---------- three steps, three icons ---------- */
.trio {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.trio li {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.trio__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--good);
  color: var(--card);
  margin-bottom: 20px;
}
.trio__icon i {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--card);
  border: 2px solid var(--card);
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
}
.trio .h3 {
  margin: 0 0 8px;
}
.trio p {
  margin: 0;
  color: var(--text);
}
.more {
  text-align: center;
  margin: 40px 0 0;
}
.more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.more a:hover {
  color: var(--accent-deep);
}
@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; gap: 12px; }
  .trio li {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    padding: 20px;
  }
  .trio__icon { grid-row: span 2; margin: 0; }
  .trio .h3 { margin: 4px 0 4px; }
}

/* ---------- the four reasons ---------- */
.reasons {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}
.reasons li {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reasons__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent);
}
.reasons b {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.reasons li > span:last-child {
  color: var(--text);
  font-size: 0.97rem;
}
@media (max-width: 560px) {
  .reasons { grid-template-columns: 1fr; gap: 18px; }
  .reasons li { flex-direction: row; align-items: flex-start; gap: 14px; }
}

/* ---------- what you'll need, beside the questions ---------- */
.prep {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gap);
  align-items: start;
}
.needs {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.needs li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}
.needs__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--good-wash);
  color: var(--good);
}
.needs b {
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
}
.needs li > span:last-child {
  color: var(--text);
  font-size: 0.95rem;
  align-self: center;
}
.prep__faq .faq {
  margin-top: 8px;
}
.prep__faq .faq details {
  padding: 18px 0;
}
.prep__faq .faq summary {
  font-size: 1.02rem;
}
@media (max-width: 900px) {
  .prep { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------- the close: the way back to the form, and the office ---------- */
.close .acts {
  margin: 4px 0 30px;
}
.close .btn {
  min-height: 54px;
  padding-left: 30px;
  padding-right: 30px;
}
.office {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.office li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.office li > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.office a {
  font-weight: 600;
  text-decoration: none;
}
.close .office li {
  color: var(--ask-ink);
}
.close .office li > span {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ask-accent);
}
.close .office a {
  color: var(--card);
}
@media (max-width: 1000px) {
  .close .shot {
    order: -1;
    margin-bottom: 8px;
  }
}

/* ---------- About: who we are, and the office card ---------- */
.who {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--gap);
  align-items: start;
}
.hq {
  background: var(--tint);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
}
.hq .h3 {
  margin: 0 0 10px;
}
.hq > p {
  margin: 0 0 22px;
  color: var(--text);
}
.hq .office li {
  color: var(--text);
}
.hq .office li > span {
  background: var(--card);
  color: var(--accent);
  border: 1px solid var(--rule);
}
.hq .office a {
  color: var(--ink);
}
@media (max-width: 900px) {
  .who { grid-template-columns: 1fr; gap: 32px; }
  .hq { padding: 24px; }
}

/* ---------- About: the values ---------- */
.values {
  list-style: none;
  counter-reset: v;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.values li {
  counter-increment: v;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--good);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.values li::before {
  content: counter(v);
  display: block;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.values .h3 { margin: 0 0 8px; }
.values p { margin: 0; color: var(--text); }
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; gap: 12px; }
  .values li { padding: 20px; }
  .values li::before { font-size: 1.2rem; margin-bottom: 4px; }
}

/* ---------- A programme page: is it right for you, and what it is ---------- */
.fit,
.what {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap);
  align-items: center;
}
.what {
  align-items: start;
}
.fit .lede {
  margin-bottom: 26px;
}
.fit__card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 40px -28px rgba(var(--shadow), 0.35);
}
.fit__k {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.fit__card .needs {
  margin-top: 16px;
  gap: 8px;
}
.fit__card .needs li {
  padding: 12px 14px;
  align-items: center;
}
.what .rows {
  grid-template-columns: 1fr;
}
@media (max-width: 900px) {
  .fit, .what { grid-template-columns: 1fr; gap: 32px; }
  .fit__card { padding: 22px 18px; }
}

/* ---------- THE BAR: quote and call, at the foot of a phone ---------- */
.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--rule);
  box-shadow: 0 -10px 30px rgba(var(--shadow), 0.12);
  animation: mbar-in 0.2s ease-out;
}
.mbar[hidden] {
  display: none;
}
@keyframes mbar-in {
  from { transform: translateY(100%); }
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mbar { animation: none; }
}
.mbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 12px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
}
.mbar__call {
  flex: none;
  padding: 0 18px;
  border: 1.5px solid var(--rule-firm);
  color: var(--good);
  background: var(--card);
}
.mbar__go {
  flex: 1;
  background: var(--accent);
  color: var(--card);
}
.mbar__go:active {
  background: var(--accent-deep);
}
@media (min-width: 761px) {
  .mbar { display: none !important; }
}
/* Room at the foot of the page, so the bar never sits over the footer's
   last line. */
html.has-mbar body {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}


/* ================================================================== *
 * THE HEROES -- a photograph across the whole width, under a navy wash.
 *
 * "I want the heroes to be more of a hero": the door and every inner page
 * head now stand on their own photograph rather than a pale gradient with a
 * plate beside the words. The wash is the brand's ink, heaviest behind the
 * words, so the type is read against ink and not against the picture.
 * ================================================================== */
.hero-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.94) 0%, rgba(11, 18, 32, 0.82) 42%, rgba(11, 18, 32, 0.45) 100%);
}
.hero-photo .h1 {
  color: #ffffff;
}
.hero-photo .lede {
  color: #d5dcea;
}
.hero-photo .eyebrow {
  color: var(--ask-accent);
}
.hero-photo .eyebrow::before {
  background: var(--ask-accent);
}
.hero-photo .ticks li {
  color: #ffffff;
}
.hero-photo .ticks li::before {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* The door on its photograph. */
.door.hero-photo {
  padding: 96px 0 0;
}
@media (min-width: 761px) {
  .door.hero-photo .head__grid {
    align-items: center;
  }
}
.door.hero-photo .frame {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.door.hero-photo .door__call {
  color: #d5dcea;
}
.door.hero-photo .door__call a {
  color: #ffffff;
}
.door.hero-photo .door__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.door.hero-photo .door__trust {
  margin-top: 80px;
  padding: 30px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.door.hero-photo:not(:has(.door__trust)) {
  padding-bottom: 96px;
}
.hero-photo .trust__list b {
  color: #ffffff;
}
.hero-photo .trust__list span {
  color: var(--ask-ink);
}

/* An inner page's hero. */
.phero {
  padding: 120px 0 112px;
}
.phero__say {
  max-width: 640px;
}
.phero .h1 {
  max-width: 18ch;
}
.phero .lede {
  font-size: 1.15rem;
  margin-bottom: 30px;
}
.phero .acts {
  gap: 12px;
}
.phero .btn {
  min-height: 54px;
  padding-left: 28px;
  padding-right: 28px;
}
.phero__call {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.phero__call:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
/* A programme's figures, as four glass tiles. */
.phero__figs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 30px;
}
.phero__figs div {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.phero__figs dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ask-ink);
  margin-bottom: 4px;
}
.phero__figs dd {
  margin: 0;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 1.08rem;
  color: #ffffff;
}

@media (max-width: 1000px) {
  .phero__figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* On a phone the photograph runs behind the headline and the top of the
   form, then gives way to the ink -- a picture stretched behind a whole
   column of text would be a blur of navy. */
@media (max-width: 760px) {
  .hero-bg {
    bottom: auto;
    height: 440px;
  }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.35) 0%, rgba(11, 18, 32, 0.72) 45%, rgba(11, 18, 32, 1) 100%);
  }
  .door.hero-photo {
    padding: 64px 0 0;
  }
  .door.hero-photo .h1 {
    margin-bottom: 22px;
  }
  .door.hero-photo:not(:has(.door__trust)) {
    padding-bottom: 44px;
  }
  .door.hero-photo .door__trust {
    margin-top: 32px;
    padding: 26px 0 30px;
  }
  .phero {
    padding: 56px 0 56px;
  }
  .phero .hero-bg {
    height: 100%;
  }
  .phero .hero-bg::after {
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.6) 0%, rgba(11, 18, 32, 0.88) 100%);
  }
  .phero .lede {
    font-size: 1.04rem;
  }
  .phero .acts .btn {
    flex: 1 1 100%;
  }
}


/* ================================================================== *
 * A PROGRAMME PAGE'S FURTHER BANDS: step by step, what lenders look at
 * beside the trade-offs, and its own questions.
 * ================================================================== */
.flow {
  list-style: none;
  counter-reset: f;
  margin: 26px 0 32px;
  padding: 0;
  display: grid;
  gap: 22px;
}
.flow li {
  counter-increment: f;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
}
.flow li::before {
  content: counter(f);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--good);
  color: var(--card);
  font-family: var(--display);
  font-weight: var(--display-weight);
}
.flow b {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin: 2px 0 2px;
}
.flow span {
  color: var(--text);
}

.judge {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gap);
  align-items: start;
}
.judge .needs {
  margin-top: 8px;
}
.weigh {
  background: var(--tint);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
}
.weigh .h3 {
  margin: 20px 0 12px;
  font-size: 1.15rem;
}
.weigh__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.weigh__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
}
.weigh__list li::before {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}
.weigh__list--good li::before {
  content: "\2713";
  background: var(--good-wash);
  color: var(--good);
}
.weigh__list--weigh li::before {
  content: "!";
  background: var(--accent-wash);
  color: var(--accent-deep);
}
.weigh__note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--muted);
}

.pfaq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--gap);
  align-items: start;
}
.pfaq .lede a {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .judge,
  .pfaq {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .weigh {
    padding: 24px 20px;
  }
}
@media (max-width: 760px) {
  .flow .btn,
  .row__say > .acts .btn {
    width: 100%;
  }
}


/* ================================================================== *
 * FULLER, October 2026: "the whole website feels too empty". Less air
 * between bands, and the home page gains who we fund, the six side by
 * side, the specialist, and what the money is for.
 * ================================================================== */
:root {
  --band: 88px;
  --gap: 56px;
}
@media (max-width: 1000px) {
  :root { --band: 72px; --gap: 40px; }
}
@media (max-width: 760px) {
  :root { --band: 56px; }
}
.mid {
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .mid { margin-bottom: 32px; }
}

/* ---------- who we fund ---------- */
.trades {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.trades li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 12px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--ink);
}
.trades__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--good-wash);
  color: var(--good);
}
@media (max-width: 1000px) {
  .trades { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .trades { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .trades li { padding: 14px 6px; gap: 8px; font-size: 0.8rem; }
  .trades__icon { width: 42px; height: 42px; }
  .trades__icon svg { width: 22px; height: 22px; }
}

/* ---------- the six, side by side ---------- */
.table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -30px rgba(var(--shadow), 0.4);
}
.table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.table th,
.table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.table thead th {
  background: var(--good);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.table tbody tr:last-child > * {
  border-bottom: 0;
}
.table tbody tr:nth-child(even) > * {
  background: var(--tint);
}
.table tbody th a {
  font-family: var(--display);
  font-weight: var(--display-weight);
  color: var(--ink);
  text-decoration: none;
}
.table tbody th a:hover {
  color: var(--accent);
}
.table td {
  color: var(--ink-soft);
  font-weight: 600;
}
.table td.is-cost {
  color: var(--warn);
}
.table__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
/* The programme name stays put while the figures scroll under it. */
.table tbody th,
.table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
}
.table tbody tr:nth-child(odd) th {
  background: var(--card);
}
.table tbody th {
  box-shadow: 1px 0 0 var(--rule);
}
@media (max-width: 760px) {
  .table {
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .table table,
  .table tbody {
    display: block;
    min-width: 0;
  }
  .table thead {
    display: none;
  }
  .table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    margin-bottom: 12px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
  }
  .table tbody tr > *,
  .table tbody tr:nth-child(even) > * {
    background: none;
  }
  .table tbody th,
  .table td {
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    white-space: normal;
  }
  .table tbody th {
    grid-column: 1 / -1;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rule);
    font-size: 1.05rem;
  }
  .table td[data-k]::before {
    content: attr(data-k);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .table td:last-child {
    grid-column: 1 / -1;
  }
}

/* ---------- the specialist ---------- */
.spot {
  padding: calc(var(--band) * 1.1) 0;
}
.spot__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap);
  align-items: center;
}
.spot .h2 {
  color: #ffffff;
}
.spot .lede {
  margin-bottom: 30px;
}
.spot .acts {
  gap: 12px;
}
.spot .btn {
  min-height: 54px;
  padding-left: 28px;
  padding-right: 28px;
}
.spot__figs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.spot__figs li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.spot__figs b {
  flex: none;
  min-width: 4.2ch;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 1.9rem;
  color: #ffffff;
}
.spot__figs span {
  color: #d5dcea;
}
@media (max-width: 900px) {
  .spot__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .spot .hero-bg { height: 100%; }
  .spot .hero-bg::after {
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.7) 0%, rgba(11, 18, 32, 0.9) 100%);
  }
  .spot .acts .btn { flex: 1 1 100%; }
  .spot__figs li { padding: 14px 18px; }
  .spot__figs b { font-size: 1.5rem; }
}

/* ---------- what owners use it for ---------- */
.uses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.uses a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 20px 48px 20px 20px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.uses a:hover {
  box-shadow: 0 12px 30px rgba(var(--shadow), 0.1);
  transform: translateY(-2px);
}
.uses b {
  color: var(--ink);
  font-size: 1.02rem;
}
.uses span {
  color: var(--good);
  font-size: 0.88rem;
  font-weight: 600;
}
.uses svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
}
@media (max-width: 1000px) {
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .uses { gap: 8px; }
  .uses a { padding: 14px 36px 14px 14px; }
  .uses b { font-size: 0.95rem; }
  .uses svg { right: 10px; }
}


/* ================================================================== *
 * THE FORM, AS ONE CARD.
 *
 * The form on the forms server is a flat white page with its own header and
 * its own grey trust strip, and the skeleton's frame wrapped it in a second
 * white card -- ten pixels of border, a shadow, and its own radius -- so it
 * read as a card stacked on a card. Here the frame IS the card: no padding,
 * the form running edge to edge inside it and clipped to its corners. (A
 * red-and-navy rule along its top edge was tried and taken off at the
 * operator's request.)
 * ================================================================== */
.frame {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  border: 0;
  box-shadow: 0 1px 0 rgba(11, 18, 32, 0.04), 0 24px 60px -18px rgba(11, 18, 32, 0.35);
}
.frame iframe {
  border-radius: 0;
}
.door.hero-photo .frame,
.ask .frame {
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.55);
}
@media (max-width: 760px) {
  .frame {
    border-radius: 16px;
  }
}


/* ---------- reviews: real ones only (see COPY.reviews) ---------- */
.reviews {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1100px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.reviews li {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
/* A quotation mark, not stars: the testimonials carry no rating where they
   were published, and stars would claim one. */
.reviews__mark {
  margin: 0 0 4px;
  height: 36px;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
}
.reviews blockquote {
  margin: 0 0 20px;
  flex: 1;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}
.reviews__who {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.reviews__who b {
  display: block;
  color: var(--ink);
}
.reviews__who span {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
}
@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; gap: 12px; }
  .reviews li { padding: 22px; }
}


/* ================================================================== *
 * THE LANDING PAGES' BAR (/v and /s): the logo and the phone number, and
 * nothing else to tap away to. A visitor from a text has one job on these
 * pages and the full menu was eight ways off it. The footer keeps its links
 * for anybody who goes looking. The chrome is shared, so this is done by
 * hiding, keyed on the landing door being on the page.
 * ================================================================== */
html:has(.door--landing) .sitenav,
html:has(.door--landing) .sitehead__burger,
html:has(.door--landing) .sitehead__cta {
  display: none !important;
}
html:has(.door--landing) .sitehead__acts {
  display: flex !important;
  margin-left: auto;
}
html:has(.door--landing) .sitehead__tel {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--good);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
html:has(.door--landing) .sitehead__tel::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 760px) {
  html:has(.door--landing) .sitehead__tel {
    padding: 8px 14px;
    font-size: 0.92rem;
  }
}

/* /v's form (american-v-mca.php) draws its own card -- radius, shadow and
   all -- inside the page, unlike americanmca.php, which is flat. So around
   that one the frame steps out of the way entirely, or it is the card on a
   card again. */
.frame:has(iframe[src*="american-v-mca"]) {
  background: transparent;
  box-shadow: none !important;
  border-radius: 0;
  overflow: visible;
}

/* The bar steps aside while the phone menu is open: the menu has its own
   quote button, and two at once is one too many. */
html.sitenav-locked .mbar {
  display: none !important;
}
