/* Retaja Capital — Home
   Design: "the well-dressed corporate banker" — navy suit, white herringbone shirt,
   red power tie, silver cufflinks, belt with buckle, polished black shoes.
   Built from the Figma frame "Retaja Capital — Home V3 (Inter, final copy)", 1440px desktop. */

:root {
  --navy-900: #0B1C36;
  --navy-800: #12284A;
  --navy-600: #2A4670;
  --navy-100: #E8EDF4;
  --red-600: #A6192E;
  --red-700: #861325;
  --ink: #16181D;
  --slate: #4A5565;
  --line: #D9DEE6;
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --silver: #A9B0BA;
  --black: #0D0F12;

  --font: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 80px;
  --sidebar: 300px;
  --gap: 48px;
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Herringbone shirt texture (navy on white, white on navy) */
  --herring-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18'%3E%3Cpath d='M0 18L18 0M0 9L9 0M9 18L18 9M18 0L36 18M18 9L27 18M27 0L36 9' stroke='%230B1C36' stroke-opacity='.05' fill='none'/%3E%3C/svg%3E");
  --herring-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18'%3E%3Cpath d='M0 18L18 0M0 9L9 0M9 18L18 9M18 0L36 18M18 9L27 18M27 0L36 9' stroke='%23FFFFFF' stroke-opacity='.05' fill='none'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red-600); outline-offset: 3px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; letter-spacing: .02em; line-height: 1;
  padding: 14px 22px; border-radius: 4px; overflow: hidden; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.btn--primary { background: var(--red-600); color: var(--white); }
.btn--primary::after {               /* silk sheen across the tie */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: transform .7s var(--ease);
}
.btn--primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(166,25,46,.7); }
.btn--primary:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn--path {
  background: var(--navy-900); color: var(--white); padding: 14px 26px;
  border: 1px solid rgba(255,255,255,.25);
}
.btn--path:hover { background: var(--navy-600); transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(11,28,54,.8); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em; color: var(--red-600);
}
.link::before {                     /* cufflink */
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, var(--silver) 45%, #7d8591 100%);
  box-shadow: 0 0 0 1px var(--navy-800);
}
.link::after { content: "→"; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(5px); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red-600); transform-origin: left; }
.eyebrow--silver { color: var(--silver); }
.eyebrow--navy { color: var(--navy-800); }

/* ---------- Utility bar ---------- */
.utility { background: var(--navy-900); color: rgba(255,255,255,.72); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; gap: 24px; }
.utility span { margin: 0 8px; }
.utility nav { display: flex; gap: 24px; }
.utility a { transition: color .2s; }
.utility a:hover { color: var(--white); }
.utility .strong { color: var(--white); font-weight: 700; }

/* ---------- Header ---------- */
.header { background: var(--white) var(--herring-navy); position: relative; }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 2px;
  background: var(--navy-900); color: var(--white); font-weight: 700; font-size: 28px;
}
.logo__word { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.logo__word strong { font-size: 22px; letter-spacing: .12em; color: var(--navy-900); }
.logo__word small { font-size: 11px; font-weight: 600; letter-spacing: .38em; color: var(--slate); }
.paths { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.paths__buttons { display: flex; gap: 12px; }
.tagline { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-900); }
.tagline i { width: 5px; height: 5px; border-radius: 50%; background: var(--red-600); }
.header__contact { display: flex; align-items: center; gap: 20px; }
.phone { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.phone small { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.phone a { font-size: 20px; font-weight: 700; color: var(--navy-900); }

/* ---------- Belt (nav) ---------- */
.belt { background: var(--navy-900); border-top: 3px solid var(--red-600); position: sticky; top: 0; z-index: 50; transition: box-shadow .3s; }
.belt.is-stuck { box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); }
.belt__inner { display: flex; justify-content: space-between; align-items: flex-end; }
.nav { display: flex; align-items: center; gap: 30px; padding: 16px 0; }
.buckle { width: 14px; height: 10px; border: 1.5px solid var(--silver); border-radius: 1px; }
.nav > a { position: relative; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75); transition: color .2s; }
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red-600);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > a:hover, .nav > a.is-active { color: var(--white); }
.nav > a.is-active { font-weight: 600; }
.nav > a:hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.niche-tab {
  width: var(--sidebar); background: var(--paper); border-radius: 3px 3px 0 0;
  padding: 14px 24px 12px; display: flex; flex-direction: column; gap: 2px;
}
.niche-tab strong { font-size: 20px; color: var(--navy-900); }
.niche-tab small { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }

/* ---------- Body layout ---------- */
.body { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar); gap: var(--gap); align-items: stretch; }
.main { padding: 40px 0 80px; display: flex; flex-direction: column; gap: 72px; min-width: 0; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 372px; background: var(--navy-900); border-radius: var(--radius); overflow: hidden; }
.hero__copy { position: relative; padding: 52px 40px 52px 48px; display: flex; flex-direction: column; gap: 22px; }
.hero__copy::before { content: ""; position: absolute; inset: 0; background: var(--herring-white); pointer-events: none; }
.hero h1 { position: relative; font-size: 46px; line-height: 54px; letter-spacing: -.015em; font-weight: 700; color: var(--white); max-width: 440px; }
.criteria { position: relative; display: flex; flex-direction: column; gap: 14px; }
.criteria li { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 24px; font-weight: 500; color: rgba(255,255,255,.9); }
.cuff-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--silver); font-size: 14px; font-weight: 700; color: var(--white);
}
.hero__actions { position: relative; display: flex; align-items: center; gap: 20px; padding-top: 8px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); }
.hero__actions span a { color: var(--white); }
.hero__photo { position: relative; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Trust strip ---------- */
.trust { display: flex; justify-content: space-between; padding: 4px 0 28px; border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 28px; line-height: 34px; font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }

/* ---------- DSCR ---------- */
.dscr { display: flex; align-items: center; gap: 32px; padding: 32px 36px; background: var(--paper); border-radius: var(--radius); }
.burst { position: relative; flex: none; width: 112px; height: 112px; display: grid; place-items: center; color: var(--white); text-align: center; }
.burst svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--red-600); animation: spin 60s linear infinite; }
.burst span { position: relative; display: flex; flex-direction: column; line-height: 1; }
.burst strong { font-size: 26px; }
.burst small { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.dscr:hover .burst svg { animation-duration: 12s; }
.dscr__copy { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dscr h2 { font-size: 28px; line-height: 34px; letter-spacing: -.01em; color: var(--navy-900); max-width: 470px; }
.dscr__copy > p:last-child { font-size: 16px; line-height: 24px; color: var(--slate); }
.dscr__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ---------- Core loans ---------- */
.core { display: flex; flex-direction: column; gap: 28px; }
.core h2, .advisor h2 { margin-top: 10px; font-size: 34px; line-height: 40px; letter-spacing: -.01em; color: var(--navy-900); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.card { position: relative; padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.card::before, .card::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; }
.card::before { right: 0; background: var(--navy-900); }
.card::after { width: 0; background: var(--red-600); transition: width .5s var(--ease); }
.card:hover::after { width: 100%; }
.card h3 { font-size: 24px; line-height: 30px; color: var(--navy-900); }
.card p { font-size: 15px; line-height: 23px; color: var(--slate); flex: 1; }

/* ---------- Large bridge ---------- */
.bridge { display: grid; grid-template-columns: 340px minmax(0, 1fr); background: var(--navy-900); border-radius: var(--radius); overflow: hidden; }
.bridge__photo { overflow: hidden; }
.bridge__photo img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.bridge__copy { padding: 48px 44px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.bridge h2 { font-size: 36px; line-height: 42px; letter-spacing: -.01em; color: var(--white); max-width: 460px; }
.bridge__copy > p:not(.eyebrow):not(.tags) { font-size: 16px; line-height: 25px; color: rgba(255,255,255,.82); max-width: 460px; }
.bridge .tags { font-size: 13px; font-weight: 600; line-height: 20px; color: var(--silver); }
.bridge .tags span { margin: 0 6px; }
.bridge .btn { margin-top: 8px; }

/* ---------- Advisor ---------- */
.advisor { display: flex; flex-direction: column; gap: 36px; }
.advisor__top { display: flex; gap: 40px; align-items: center; }
.creds {
  flex: none; width: 240px; background: var(--navy-900); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; color: var(--white);
}
.creds__mono {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--silver);
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.creds strong { font-size: 20px; }
.creds small { font-size: 13px; font-weight: 500; color: var(--silver); }
.rule { width: 32px; height: 2px; background: var(--red-600); }
.creds ul { display: flex; flex-direction: column; gap: 8px; }
.creds li { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); }
.creds li::before { content: "✓"; margin-right: 8px; }
.advisor__copy { display: flex; flex-direction: column; gap: 18px; }
.advisor blockquote { font-size: 20px; line-height: 30px; font-weight: 600; color: var(--navy-800); max-width: 520px; }
.advisor__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.advisor__ids { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--slate); }
.advisor__ids span { margin: 0 8px; }
.deals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.deal { border-left: 2px solid var(--red-600); padding: 4px 0 4px 20px; display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .3s var(--ease); }
.deal:hover { transform: translateX(4px); border-color: var(--navy-900); }
.deal span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); }
.deal p { font-size: 17px; line-height: 25px; font-weight: 600; color: var(--navy-900); }
.deal small { font-size: 13px; font-weight: 600; color: var(--slate); }

/* ---------- Sidebar ---------- */
.sidebar { background: var(--paper); padding: 12px 16px 40px 24px; }
.niche li a {
  display: flex; align-items: center; gap: 10px; padding: 7px 0;
  border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink);
  transition: color .2s, padding-left .3s var(--ease);
}
.niche li a::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--red-600); transition: width .3s var(--ease); }
.niche li a:hover { color: var(--red-600); padding-left: 4px; }
.niche li a:hover::before { width: 14px; height: 2px; }
.sidebar > .link { margin-top: 18px; }

/* ---------- Contact strip ---------- */
.cta { background: var(--navy-800); color: var(--white); }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.cta h2 { font-size: 30px; line-height: 36px; letter-spacing: -.01em; }
.cta p { margin-top: 6px; font-size: 15px; color: rgba(255,255,255,.78); }
.cta__actions { display: flex; align-items: center; gap: 24px; }
.cta__phone { font-size: 24px; font-weight: 700; }

/* ---------- Footer: polished shoes ---------- */
.footer {
  color: var(--silver);
  background: linear-gradient(180deg, #1E2126 0%, var(--black) 35%, var(--black) 100%);
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 56px 0 32px; position: relative; overflow: hidden;
}
.footer::before {                    /* the high polish: a slow highlight across the toe */
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: polish 7s var(--ease) infinite;
}
.footer__cols { display: grid; grid-template-columns: minmax(0, 1fr) 180px 180px 180px; gap: 64px; }
.footer__brand strong { display: block; font-size: 22px; letter-spacing: .08em; color: var(--white); }
.footer__brand p { margin-top: 14px; font-size: 14px; line-height: 22px; max-width: 320px; }
.footer h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.footer__cols > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--white); }
.toe-cap { border: 0; height: 1px; background: rgba(169,176,186,.35); margin: 36px 0; }
.legal { font-size: 12px; line-height: 18px; color: rgba(169,176,186,.8); }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes polish { 0% { left: -40%; } 60%, 100% { left: 110%; } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.js [data-anim="drop"] { animation: drop .7s var(--ease) both; }
.js [data-anim="rise"] { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
.js .hero__photo { animation: unveil 1.1s .35s var(--ease) both; }
.js .hero__photo img { animation: settle 2.4s .35s var(--ease) both; }
.js .eyebrow::before { animation: grow .8s .5s var(--ease) both; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  :root { --gutter: 48px; --sidebar: 260px; --gap: 36px; }
  .niche-tab { width: var(--sidebar); }
  .paths__buttons .btn { padding: 12px 18px; }
  .nav { gap: 22px; }
}
@media (max-width: 1100px) {
  .header__inner { flex-wrap: wrap; justify-content: center; }
  .body { grid-template-columns: 1fr; }
  .belt__inner { flex-direction: column; align-items: stretch; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .niche-tab { width: auto; border-radius: 0; text-align: center; }
  .sidebar { margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter) 40px; }
  .niche { columns: 2; column-gap: 32px; }
  .hero { grid-template-columns: 1fr 300px; }
  .cards, .deals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .utility p { display: none; }
  .utility__inner { justify-content: center; }
  .utility nav { gap: 16px; }
  .header__contact .phone { display: none; }
  .paths { order: 3; width: 100%; }
  .paths__buttons { width: 100%; }
  .paths__buttons .btn { flex: 1; padding: 12px 8px; font-size: 13px; }
  .tagline { gap: 8px; font-size: 11px; letter-spacing: .1em; }
  .nav { gap: 16px; padding: 12px 0; }
  .nav .buckle { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__photo { height: 240px; order: -1; }
  .hero__copy { padding: 32px 24px; }
  .hero h1 { font-size: 34px; line-height: 40px; }
  .trust { flex-wrap: wrap; row-gap: 20px; }
  .stat { width: 50%; }
  .dscr { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .dscr__actions { align-items: flex-start; }
  .core h2, .advisor h2 { font-size: 28px; line-height: 34px; }
  .cards, .deals { grid-template-columns: 1fr; }
  .bridge { grid-template-columns: 1fr; }
  .bridge__photo { height: 240px; }
  .bridge__copy { padding: 32px 24px; }
  .bridge h2 { font-size: 28px; line-height: 34px; }
  .advisor__top { flex-direction: column; align-items: stretch; }
  .creds { width: auto; }
  .niche { columns: 1; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__actions { flex-wrap: wrap; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* =========================================================
   Inner pages: About + Contact
   ========================================================= */
.h2 { margin-top: 10px; font-size: 34px; line-height: 40px; letter-spacing: -.01em; color: var(--navy-900); }
.h2--light { color: var(--white); }
.muted { font-size: 14px; font-weight: 500; color: var(--slate); }
.muted a { font-weight: 700; color: var(--navy-900); }
.fine { font-size: 12px; line-height: 18px; color: var(--slate); }

/* Intro */
.intro { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 8px 0 40px; border-bottom: 1px solid var(--line); }
.intro::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 96px; height: 3px; background: var(--red-600); }
.crumbs { font-size: 13px; font-weight: 500; color: var(--slate); }
.crumbs a { color: var(--navy-800); transition: color .2s; }
.crumbs a:hover { color: var(--red-600); }
.crumbs span { margin: 0 6px; color: var(--silver); }
.intro h1 { font-size: 52px; line-height: 58px; letter-spacing: -.02em; font-weight: 700; color: var(--navy-900); max-width: 720px; }
.lead { font-size: 19px; line-height: 30px; color: var(--slate); max-width: 680px; }
.intro__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 6px; }

/* Companies */
.companies { display: flex; flex-direction: column; gap: 28px; }
.companies__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.company {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 34px;
  background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.company:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(11,28,54,.55); }
.company h3 { font-size: 28px; line-height: 34px; color: var(--navy-900); }
.company__line { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.company__url { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--red-600); }
.company--dark { background: var(--navy-900) var(--herring-white); border-color: var(--navy-900); }
.company--dark h3 { color: var(--white); }
.company--dark .company__line { color: var(--silver); }
.company--dark .checks li { color: rgba(255,255,255,.88); }
.company--dark .company__url { color: var(--white); }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 23px; color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--red-600); }

/* Founder */
.founder { display: flex; gap: 48px; align-items: flex-start; }
.creds--lg { width: 280px; padding: 34px 30px; gap: 14px; }
.creds--lg .creds__mono { width: 72px; height: 72px; font-size: 22px; }
.creds--lg strong { font-size: 22px; }
.creds__phone { margin-top: 6px; font-size: 20px; font-weight: 700; color: var(--white); }
.creds__mail { font-size: 13px; font-weight: 500; color: var(--silver); word-break: break-all; transition: color .2s; }
.creds__mail:hover { color: var(--white); }
.founder__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.founder__copy > p:not(.eyebrow) { font-size: 17px; line-height: 28px; color: var(--slate); max-width: 620px; }
.founder blockquote {
  margin-top: 6px; padding-left: 22px; border-left: 3px solid var(--red-600);
  font-size: 26px; line-height: 34px; font-weight: 700; letter-spacing: -.01em; color: var(--navy-800);
}

/* Beliefs */
.beliefs { display: flex; flex-direction: column; gap: 28px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Process */
.process { position: relative; background: var(--navy-900); border-radius: var(--radius); padding: 48px 44px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.process::before { content: ""; position: absolute; inset: 0; background: var(--herring-white); pointer-events: none; }
.process > * { position: relative; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 12px; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 14px; left: 40px; right: -16px; height: 1px;
  background: linear-gradient(90deg, var(--silver), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease);
}
.process.is-in .steps li::after { transform: scaleX(1); }
.process.is-in .steps li:nth-child(2)::after { transition-delay: .2s; }
.process.is-in .steps li:nth-child(3)::after { transition-delay: .4s; }
.steps strong { font-size: 18px; line-height: 24px; color: var(--white); }
.steps p { font-size: 14px; line-height: 22px; color: rgba(255,255,255,.75); }
.steps .cuff-num { transition: background .3s, border-color .3s; }
.steps li:hover .cuff-num { background: var(--red-600); border-color: var(--red-600); }

/* Good match */
.match { display: flex; flex-direction: column; gap: 28px; }
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fit__col { padding: 30px 30px 32px; border-radius: var(--radius); border-top: 3px solid var(--navy-900); background: var(--paper); }
.fit__col--no { border-top-color: var(--silver); background: var(--white); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fit__col h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 16px; }
.fit__col ul { display: flex; flex-direction: column; gap: 12px; }
.fit__col li { position: relative; padding-left: 30px; font-size: 15px; line-height: 23px; color: var(--ink); }
.fit__col li::before {
  position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--white);
}
.fit__col--yes li::before { content: "✓"; background: var(--navy-900); }
.fit__col--no li::before { content: "×"; font-size: 14px; background: var(--silver); }

/* Contact */
.contact { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.direct {
  position: sticky; top: 84px; background: var(--navy-900) var(--herring-white); color: var(--white);
  border-radius: var(--radius); padding: 10px 28px; display: flex; flex-direction: column;
}
.direct > div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 4px; }
.direct > div:last-child { border-bottom: 0; }
.direct small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
.direct .big { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--white); word-break: break-word; transition: color .2s; }
.direct a.big:hover { color: #ffd5db; }
.direct > div:nth-child(2) .big { font-size: 17px; }
.direct p { font-size: 13px; line-height: 20px; color: rgba(255,255,255,.7); }

.form { background: var(--paper); border-radius: var(--radius); padding: 36px 36px 40px; display: flex; flex-direction: column; gap: 22px; }
.form__head h2 { font-size: 26px; line-height: 32px; color: var(--navy-900); }
.form__head p { margin-top: 4px; font-size: 14px; color: var(--slate); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--navy-800) 50%), linear-gradient(135deg, var(--navy-800) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(42,70,112,.18); }
.field.is-bad input { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(166,25,46,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; color: var(--slate); }
.consent input { margin-top: 2px; accent-color: var(--red-600); }
.form__error { font-size: 14px; font-weight: 600; color: var(--red-600); }
.form .btn { align-self: flex-start; }
.form__done { border-left: 3px solid var(--navy-900); padding: 6px 0 6px 18px; animation: rise .6s var(--ease) both; }
.form__done strong { font-size: 18px; color: var(--navy-900); }
.form__done p { margin-top: 6px; font-size: 14px; color: var(--slate); }
.form__done a { font-weight: 700; color: var(--navy-900); }
.form.is-sent .form__grid, .form.is-sent .consent, .form.is-sent > .btn { display: none; }

.prep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 8px; }
.prep__col { display: flex; flex-direction: column; gap: 12px; }
.prep__col h3 { font-size: 24px; line-height: 30px; color: var(--navy-900); margin-bottom: 6px; }
.ticks, .arrows { display: flex; flex-direction: column; }
.ticks li, .arrows li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 2px; font-weight: 700; color: var(--red-600); }
.arrows li::before { content: "→"; position: absolute; left: 2px; font-weight: 700; color: var(--navy-800); }

@media (max-width: 1280px) {
  .contact { grid-template-columns: 260px minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .steps li::after { display: none; }
}
@media (max-width: 1100px) {
  .direct { position: static; }
}
@media (max-width: 760px) {
  .intro h1 { font-size: 36px; line-height: 42px; }
  .lead { font-size: 17px; line-height: 27px; }
  .h2 { font-size: 28px; line-height: 34px; }
  .companies__grid, .fit, .prep, .cards--3, .form__grid, .contact { grid-template-columns: 1fr; }
  .company { padding: 28px 24px; }
  .founder { flex-direction: column; align-items: stretch; gap: 28px; }
  .creds--lg { width: auto; }
  .founder blockquote { font-size: 22px; line-height: 30px; }
  .process { padding: 32px 24px; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 28px 20px 32px; }
  .form .btn { align-self: stretch; }
}
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
button.btn:disabled { opacity: .7; cursor: wait; }

/* =========================================================
   Responsive header + slide-in menu
   ========================================================= */
.menu-btn, .nav__top, .nav__extra, .nav-backdrop { display: none; }
#niche { scroll-margin-top: 90px; }

@media (max-width: 1100px) {
  .header { position: sticky; top: 0; z-index: 60; border-bottom: 3px solid var(--red-600); }
  .header__inner { flex-wrap: nowrap; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
  .header__contact { gap: 12px; }
  .header__contact .phone { display: none; }
  .tagline { display: none; }
  .paths__buttons .btn { padding: 10px 14px; font-size: 13px; }

  .menu-btn {
    display: grid; align-content: center; justify-items: center; gap: 5px;
    width: 46px; height: 46px; flex: none; border: 0; border-radius: var(--radius);
    background: var(--navy-900); cursor: pointer; transition: background .2s;
  }
  .menu-btn:hover { background: var(--navy-600); }
  .menu-btn span { width: 20px; height: 2px; background: var(--white); border-radius: 1px; transition: transform .35s var(--ease), opacity .2s; }
  .menu-btn span:nth-child(2) { width: 14px; justify-self: center; background: var(--silver); }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* belt becomes the drawer */
  .belt { position: static; border-top: 0; background: transparent; box-shadow: none !important; }
  .belt__inner { display: block; padding: 0; }
  .niche-tab { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
    width: min(380px, 88vw); padding: 20px 28px 32px;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 0;
    background: var(--navy-900) var(--herring-white); border-left: 3px solid var(--red-600);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); box-shadow: -24px 0 48px -24px rgba(0,0,0,.6); }
  .nav .buckle { display: none; }
  .nav__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav__title { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); }
  .nav__close { position: relative; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s, transform .3s var(--ease); }
  .nav__close:hover { background: var(--red-600); border-color: var(--red-600); transform: rotate(90deg); }
  .nav__close::before, .nav__close::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; background: var(--white); }
  .nav__close::before { transform: rotate(45deg); }
  .nav__close::after { transform: rotate(-45deg); }

  .nav > a { padding: 16px 0; font-size: 18px; font-weight: 600; color: rgba(255,255,255,.82); border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav > a::after { bottom: -1px; }
  .nav > a.is-active { color: var(--white); }
  .nav.is-open > a, .nav.is-open .nav__extra { animation: rise .5s var(--ease) both; }
  .nav.is-open > a:nth-of-type(1) { animation-delay: .08s; }
  .nav.is-open > a:nth-of-type(2) { animation-delay: .12s; }
  .nav.is-open > a:nth-of-type(3) { animation-delay: .16s; }
  .nav.is-open > a:nth-of-type(4) { animation-delay: .20s; }
  .nav.is-open > a:nth-of-type(5) { animation-delay: .24s; }
  .nav.is-open > a:nth-of-type(6) { animation-delay: .28s; }
  .nav.is-open .nav__extra { animation-delay: .34s; }

  .nav__extra { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
  .nav__label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
  .nav__paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .nav__paths .btn { padding: 12px 6px; font-size: 13px; background: var(--navy-800); }
  .nav__phone { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; font-size: 24px; font-weight: 700; color: var(--white); }
  .nav__phone small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }
  .nav__extra .btn--primary { justify-content: center; }

  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(11,28,54,.55); backdrop-filter: blur(2px); opacity: 0; transition: opacity .35s; }
  .nav-backdrop.is-on { opacity: 1; }
  .nav-backdrop[hidden] { display: none; }
  body.menu-open { overflow: hidden; }

  .sidebar::before { content: "Niche Loans"; display: block; padding: 28px 0 10px; font-size: 24px; font-weight: 700; color: var(--navy-900); }
}
@media (max-width: 900px) {
  .paths { display: none; }
}
@media (max-width: 760px) {
  .header__inner { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .logo { gap: 10px; }
  .logo__mark { width: 40px; height: 40px; font-size: 24px; }
  .logo__word strong { font-size: 18px; }
  .logo__word small { font-size: 9px; letter-spacing: .32em; }
  .header__contact .btn--primary { padding: 11px 14px; font-size: 13px; }
  .menu-btn { width: 42px; height: 42px; }
}
@media (max-width: 360px) {
  .header__contact .btn--primary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav, .nav.is-open { transition: none; }
  .nav.is-open > a, .nav.is-open .nav__extra { animation: none; }
}
@media (max-width: 1100px) {
  .utility p { display: none; }
  .utility__inner { justify-content: center; }
  .nav__paths { grid-template-columns: 1fr 1fr; }
  .nav__paths .btn:last-child { grid-column: 1 / -1; }
}

/* Smooth scrolling for in-page links (#dscr, #match, #niche) */
html { scroll-padding-top: 80px; }
@media (max-width: 1100px) { html { scroll-padding-top: 96px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* =========================================================
   High-contrast pass (Greg's billboard rule: every text pair 7:1+)
   ========================================================= */
.legal { color: var(--silver); }                                  /* was 80% silver on black (5.8:1) */
.crumbs span { color: var(--slate); }                             /* "/" separator was 2.2:1 */
.link, .company__url, .sidebar .link { color: var(--red-700); }   /* red links on grey paper were 7.0:1, now 9:1 */
.company--dark .company__url { color: var(--white); }
.nav > a { color: rgba(255,255,255,.88); }                        /* nav links on navy */
.cta p { color: rgba(255,255,255,.9); }
.steps p, .direct p { color: rgba(255,255,255,.85); }
.field input::placeholder, .field textarea::placeholder { color: #6B7280; opacity: 1; }  /* default placeholder was ~2.8:1 */

/* =========================================================
   HOMEPAGE V2 (Greg's feedback, Oct 27)
   - Header = one static navy block: identity, message, bailout buttons, navigation
   - Niche Loans tab interrupts only the lower half of the nav bar
   - Every "thought" = picture + title + content, More Info always lower right
   ========================================================= */
html { scroll-padding-top: 220px; }

/* ---------- Header: one colour, sticky ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy-900) var(--herring-white); color: var(--white);
  border-bottom: 3px solid var(--red-600);
  transition: box-shadow .3s;
}
.header.is-stuck { box-shadow: 0 10px 28px -14px rgba(0,0,0,.6); }
.header__inner { padding-top: 18px; padding-bottom: 14px; align-items: center; transition: padding .3s var(--ease); }
.header .logo__mark { background: var(--white); color: var(--navy-900); }
.header .logo__word strong { color: var(--white); }
.header .logo__word small { color: var(--silver); }
.header .phone small { color: var(--silver); }
.header .phone a { color: var(--white); }

/* 1st thing they see: the message */
.pitch { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pitch__line {
  display: flex; align-items: center; gap: 16px; white-space: nowrap;
  font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--white);
  transition: font-size .3s var(--ease);
}
.pitch__line i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); flex: none; }

/* 2nd thing: the three bailout buttons, each explained on hover */
.paths__buttons { display: flex; gap: 12px; }
.paths__buttons .btn--path { overflow: visible; background: transparent; border: 1.5px solid rgba(255,255,255,.55); padding: 11px 22px; font-size: 14px; }
.paths__buttons .btn--path:hover, .paths__buttons .btn--path:focus-visible { background: var(--navy-600); border-color: var(--white); }
.tip {
  position: absolute; left: 50%; top: calc(100% + 12px); z-index: 80; width: 260px;
  transform: translate(-50%, -6px); opacity: 0; visibility: hidden; pointer-events: none;
  background: var(--white); color: var(--ink); border-radius: 6px; padding: 14px 16px;
  box-shadow: 0 18px 40px -16px rgba(11,28,54,.55); border-top: 3px solid var(--red-600);
  font-size: 13.5px; line-height: 20px; font-weight: 400; letter-spacing: 0; white-space: normal; text-align: left;
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .2s;
}
.tip::before { content: ""; position: absolute; left: 50%; top: -9px; margin-left: -6px; border: 6px solid transparent; border-bottom-color: var(--red-600); }
.tip b { display: block; font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.btn--path:hover .tip, .btn--path:focus-visible .tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease); }

/* Navigation: same colour, full width, separated by a hairline */
.belt { position: static; background: transparent; border-top: 1px solid rgba(255,255,255,.14); }
.belt__inner { padding-right: calc(var(--gutter) + var(--sidebar) + 24px); }
.nav { padding: 13px 0; }

/* 3rd thing: Niche Loans tab, part of the static header, hanging half below the nav bar */
.niche-anchor { position: absolute; left: 0; right: 0; bottom: -46px; z-index: 2; display: flex; justify-content: flex-end; pointer-events: none; }
.header .niche-tab {
  pointer-events: auto;
  width: var(--sidebar); height: 70px; padding: 12px 24px 0;
  background: var(--paper); border-radius: 4px 4px 0 0; box-shadow: 0 -1px 0 rgba(0,0,0,.04);
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
}
.header .niche-tab strong { font-size: 20px; color: var(--navy-900); }
.header .niche-tab small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.sidebar { padding-top: 54px; }

/* Header gets slimmer once the page scrolls (still static, less space) */
.header.is-compact .header__inner { padding-top: 10px; padding-bottom: 10px; }
.header.is-compact .pitch__line { font-size: 22px; }
.header.is-compact .pitch { gap: 8px; }
.header.is-compact .paths__buttons .btn--path { padding: 8px 18px; }

/* ---------- Thoughts ---------- */
.main--home { gap: 40px; padding-top: 36px; }
.thought {
  position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: 1fr auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.thought__pic { grid-row: 1 / span 2; position: relative; overflow: hidden; min-height: 260px; background: var(--navy-100); }
.thought__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thought__body { padding: 36px 40px 8px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.thought h1, .thought h2 { font-size: 32px; line-height: 38px; letter-spacing: -.015em; color: var(--navy-900); }
.thought__body > p { font-size: 17px; line-height: 27px; color: var(--slate); max-width: 560px; }
.thought__small { font-size: 14px !important; line-height: 21px !important; font-weight: 600; }
.btn--more {
  grid-column: 2; justify-self: end; align-self: end; margin: 8px 24px 24px;
  background: var(--navy-900); color: var(--white); padding: 12px 20px; font-size: 14px;
}
.btn--more::after { content: "→"; margin-left: 10px; transition: transform .3s var(--ease); }
.btn--more:hover { background: var(--red-600); transform: translateY(-2px); }
.btn--more:hover::after { transform: translateX(4px); }
.btn--sm { padding: 9px 14px; font-size: 13px; margin: 0; }

/* Dark thoughts (Slam Dunk, Large Bridge) */
.thought--dark { background: var(--navy-900) var(--herring-white); border-color: var(--navy-900); }
.thought--dark h1, .thought--dark h2 { color: var(--white); }
.thought--dark .thought__body > p { color: rgba(255,255,255,.86); }
.thought--dark .btn--more { background: var(--red-600); }
.thought--dark .btn--more:hover { background: var(--red-700); }

/* Slam Dunk: picture on the right, criteria in a smaller face */
.thought--slam { grid-template-columns: minmax(0, 1fr) 340px; }
.thought--slam .thought__pic { grid-column: 2; grid-row: 1 / span 2; }
.thought--slam .thought__body { grid-column: 1; grid-row: 1; padding-top: 40px; }
.thought--slam .btn--more { grid-column: 1; grid-row: 2; }
.thought--slam h1 { font-size: 40px; line-height: 46px; }
.thought__lead { font-size: 15px !important; line-height: 22px !important; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; width: 100%; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: rgba(255,255,255,.92); }
.checklist span { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--silver); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--white); }

/* DSCR: a quiet badge instead of a loud starburst */
.badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--navy-100); color: var(--navy-900); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Core loans: the title and the four loan names come first */
.thought--core { display: block; padding: 32px 36px 32px; }
.thought__title { margin-bottom: 22px; }
.core-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.core-item { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 6px; padding: 0 0 16px; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.core-item:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(11,28,54,.5); }
.core-item h3 { font-size: 22px; color: var(--navy-900); padding: 0 16px; }
.core-item p { font-size: 14px; line-height: 21px; color: var(--slate); padding: 0 16px; flex: 1; }
.core-item .btn--more { align-self: flex-end; margin-right: 16px; }

/* Photo placeholders (until licensed photos are chosen) */
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--navy-100), #D5DDE8); color: var(--navy-600); }
.ph svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ph span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ph--sm { position: relative; inset: auto; height: 130px; }
.ph--sm svg { width: 40px; height: 40px; }

/* Benefits roll by on their own; hover or focus pauses */
.roll { width: 100%; }
.roll__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.roll__track::-webkit-scrollbar { display: none; }
.roll__slide { flex: 0 0 100%; scroll-snap-align: start; padding-right: 8px; }
.roll__slide h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 6px; }
.roll__slide p { font-size: 16px; line-height: 25px; color: var(--slate); max-width: 540px; }
.roll__nav { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.roll__btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy-900); font-size: 20px; line-height: 1; cursor: pointer; }
.roll__btn:hover { border-color: var(--navy-900); }
.roll__dots { display: flex; gap: 8px; }
.roll__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: background .2s, width .3s var(--ease); }
.roll__dots button[aria-selected="true"] { width: 24px; border-radius: 5px; background: var(--red-600); }

/* Short footer */
.footer--short { padding: 28px 0 24px; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
.footer__brand-name { font-size: 16px; letter-spacing: .12em; color: var(--white); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .pitch__line { font-size: 24px; gap: 12px; }
  .thought { grid-template-columns: 240px minmax(0, 1fr); }
  .thought--slam { grid-template-columns: minmax(0, 1fr) 280px; }
  .core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  html { scroll-padding-top: 120px; }
  .belt { border-top: 0; }
  .belt__inner { padding-right: 0; }
  .niche-anchor { display: none; }
  .sidebar { padding-top: 12px; }
  .header__inner { flex-wrap: wrap; }
  .pitch { order: 3; width: 100%; gap: 10px; }
  .pitch__line { font-size: 20px; justify-content: center; }
  .header.is-compact .pitch__line { font-size: 16px; }
  .tip { display: none; }
}
@media (max-width: 900px) {
  .paths__buttons { display: none; }
}
@media (max-width: 760px) {
  .header__inner { gap: 10px; }
  .pitch__line { font-size: 14px; gap: 8px; letter-spacing: .04em; }
  .pitch__line i { width: 5px; height: 5px; }
  .header.is-compact .pitch__line { font-size: 13px; }
  .thought, .thought--slam { grid-template-columns: 1fr; grid-template-rows: auto; }
  .thought__pic, .thought--slam .thought__pic { grid-column: 1; grid-row: auto; min-height: 210px; order: -1; }
  .thought--slam .thought__body, .thought--slam .btn--more { grid-column: 1; grid-row: auto; }
  .thought__body { padding: 24px 22px 4px; }
  .btn--more { grid-column: 1; margin: 12px 20px 22px; }
  .thought h1, .thought h2, .thought--slam h1 { font-size: 26px; line-height: 32px; }
  .checklist { grid-template-columns: 1fr; }
  .thought--core { padding: 24px 20px; }
  .core-grid { grid-template-columns: 1fr; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
.header__inner { position: relative; z-index: 3; }   /* hover popups sit above the nav bar */
.belt { position: relative; z-index: 1; }
@media (max-width: 1100px) { .belt { position: static; } }

/* ===================== LOAN TYPE PAGES (template) ===================== */
.main--loan { gap: 0; padding-top: 40px; }
.loan { max-width: 860px; color: var(--ink); font-size: 16.5px; line-height: 1.65; }
.loan .crumbs { margin: 0 0 18px; font-size: 13px; font-weight: 500; color: var(--slate); }
.loan .crumbs a { color: var(--slate); text-decoration: none; }
.loan .crumbs a:hover { color: var(--red-700); text-decoration: underline; }
.loan .crumbs span { margin: 0 6px; color: var(--silver); }
.loan__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 14px; border-top: 3px solid var(--red-600); border-image: linear-gradient(90deg, var(--red-600) 56px, transparent 56px) 1; }
.loan__head h1 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: -.02em; color: var(--navy-900); }
.loan__head .btn { flex: none; }
.loan .lede { margin: 20px 0 6px; font-size: 19px; line-height: 1.6; color: var(--slate); }
.loan .aliases { margin: 0 0 18px; font-size: 13px; color: var(--slate); font-style: italic; }
.bubble { position: relative; margin: 18px 0 26px; padding: 16px 20px 16px 58px; background: var(--navy-100); border-radius: 14px; color: var(--navy-900); font-weight: 500; font-size: 15px; line-height: 1.5; }
.bubble::before { content: "i"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--navy-900); color: #fff; font: 700 15px/26px var(--font); text-align: center; }
.toc { margin: 0 0 34px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 8px; }
.toc p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 14.5px; }
.toc li { break-inside: avoid; margin: 3px 0; }
.toc a { color: var(--navy-900); text-decoration: none; }
.toc a:hover { color: var(--red-700); text-decoration: underline; }
.loan__body h2 { margin: 44px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 26px; line-height: 1.25; color: var(--navy-900); scroll-margin-top: 120px; }
.loan__body p { margin: 0 0 14px; }
.loan__body ul, .loan__body ol { margin: 0 0 16px; padding-left: 22px; }
.loan__body li { margin: 0 0 8px; }
.loan__body ul li::marker { color: var(--red-600); }
.loan__body strong { color: var(--navy-900); }
.loan__body a { color: var(--red-700); font-weight: 600; text-underline-offset: 3px; }
.loan__body .caveat { margin: 10px 0 20px; padding-left: 14px; border-left: 3px solid var(--silver); font-size: 14px; color: var(--slate); font-style: italic; }
.inset { margin: 22px 0 24px; padding: 20px 22px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.inset figcaption { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
.inset__scroll { overflow-x: auto; }
.inset table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.inset th { text-align: left; padding: 8px 12px 10px 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); border-bottom: 2px solid var(--navy-900); }
.inset td { padding: 10px 12px 10px 0; vertical-align: top; border-top: 1px solid var(--line); }
.inset td:first-child { font-weight: 700; color: var(--navy-900); width: 24%; }
.loan__body .related { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.loan__body .related li { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 14.5px; color: var(--slate); transition: border-color .2s, transform .2s var(--ease); }
.loan__body .related li:hover { border-color: var(--navy-600); transform: translateY(-2px); }
.loan__body .related a { display: block; margin-bottom: 2px; color: var(--navy-900); text-decoration: none; }
.loan__body .related a::after { content: " →"; color: var(--red-600); }
.loan-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 30px 34px; background: var(--navy-900) var(--herring-white); color: #fff; border-radius: 10px; }
.loan-cta h2 { margin: 0 0 4px; font-size: 26px; color: #fff; }
.loan-cta p { margin: 0; color: #C9D2DE; }
.loan-cta a:not(.btn) { color: #fff; font-weight: 600; }
.index-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.index-list li { padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; }
.index-list a { display: block; font-weight: 700; font-size: 17px; color: var(--navy-900); text-decoration: none; }
.index-list a:hover { color: var(--red-700); }
.index-list small { display: block; margin-top: 4px; font-size: 14px; color: var(--slate); line-height: 1.5; }
.niche a.is-current { color: var(--red-700); font-weight: 700; }
@media (max-width: 760px) {
  .loan__head { flex-direction: column; align-items: flex-start; }
  .toc ol { columns: 1; }
  .loan__body .related { grid-template-columns: 1fr; }
  .loan-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
}
.loan__body ul:not(.related) { list-style: disc; }
.loan__body ol { list-style: decimal; }
@media (max-width: 760px) { .loan .lede { font-size: 17px; } .loan { font-size: 16px; } }

/* ===================== HOMEPAGE V6 (Greg feedback + emails, Nov 3) ===================== */
.sec { display: flex; flex-direction: column; gap: 14px; }
.main--home { gap: 56px; }
.sec-label { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.sec-label b { color: var(--red-600); font-weight: 800; }
.sec-label span { color: var(--navy-900); font-weight: 700; }
.sec-label i { flex: 1; height: 1px; background: var(--line); }
.sec-label small { font-size: 12px; letter-spacing: .02em; text-transform: none; font-weight: 500; color: var(--slate); }
.thought--dark .thought__small { color: rgba(255,255,255,.8); font-weight: 500; }
.thought__small--red { color: var(--red-700); }
.phone .hotline { font-size: 11px; letter-spacing: .04em; color: var(--slate); text-transform: uppercase; }
.footer__links span { color: inherit; opacity: .85; }
@media (max-width: 760px) { .sec-label small { display: none; } }

/* ===================== SINGLE PAGES (Slam Dunk, Large Bridge, Good Match, Tools, Documents) ===================== */
.points { list-style: none !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.points li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; color: var(--navy-900); }
.points b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-size: 14px; }
.pull { margin: 18px 0 !important; padding: 4px 0 4px 18px; border-left: 4px solid var(--red-600); font-size: 21px; line-height: 1.45; font-weight: 600; color: var(--navy-900); }
.form--inline { margin-top: 40px; position: relative; }
.form--inline .anchor { position: absolute; top: -130px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red-600); flex: none; }
.glance { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.glance li { margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.glance b { display: block; color: var(--navy-900); }
.glance span { font-size: 14px; color: var(--slate); }
.match-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0 8px; }
.match-col { padding: 24px 26px; border-radius: 10px; border: 1px solid var(--line); }
.match-col h2 { margin: 0 0 10px; font-size: 22px; color: var(--navy-900); }
.match-col p { margin: 0; line-height: 1.65; }
.match-col--yes { border-top: 4px solid var(--navy-900); }
.match-col--no { background: var(--paper); border-top: 4px solid var(--red-600); }
.tool { margin: 30px 0 10px; padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.tool .h2 { margin: 8px 0 8px; }
.tool > p { margin: 0 0 18px; color: var(--slate); }
.tool__frame { background: #fff; border-radius: 8px; padding: 8px; min-height: 160px; }
.soon-title { margin: 40px 0 14px; font-size: 24px; color: var(--navy-900); }
.soon { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.soon li { padding: 18px; border: 1px dashed var(--silver); border-radius: 8px; }
.soon b { display: block; margin-bottom: 4px; color: var(--navy-900); }
.soon span { font-size: 14px; color: var(--slate); }
.docs { list-style: none !important; padding: 0 !important; display: grid; gap: 10px; }
.docs li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
.docs li div { flex: 1; }
.docs b { display: block; color: var(--navy-900); }
.docs small { font-size: 13px; color: var(--slate); }
.doc__icon { width: 30px; height: 36px; border-radius: 3px; background: var(--navy-100); border-top: 4px solid var(--red-600); flex: none; }
.loan__body a.doc__btn { padding: 8px 14px; border-radius: 6px; border: 1px solid var(--navy-900); color: var(--navy-900); text-decoration: none; font-size: 13px; }
.loan__body a.doc__btn:hover { background: var(--navy-900); color: #fff; }
.lead--sm { font-size: 17px !important; line-height: 1.6 !important; }
.team { display: flex; flex-direction: column; gap: 24px; }
.team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.exec { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; }
.exec__photo { flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-weight: 700; font-size: 24px; }
.exec--open { border-style: dashed; }
.exec--open .exec__photo { background: var(--navy-100); color: var(--navy-900); }
.exec h3 { margin: 0 0 2px; font-size: 19px; color: var(--navy-900); }
.exec p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.exec__role { margin-top: 0 !important; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--red-700) !important; font-weight: 600; }
.exec__links a { color: var(--navy-900); font-weight: 600; }
@media (max-width: 760px) {
  .points, .glance, .match-cols, .soon, .team__grid { grid-template-columns: 1fr; }
  .pull { font-size: 18px; }
  .tool { padding: 18px; }
}
.thought .thought__small--red { color: var(--red-700) !important; }

/* Core Loans — Figma V6: paper panel, 2x2 photo cards, key-term checklist */
.thought--core { background: var(--paper); border: 0; padding: 32px 36px; }
.core-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.core-head .thought__title { margin: 0; padding-top: 11px; position: relative; }
.core-head .thought__title::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 3px; background: var(--red-600); }
.core-head p { margin: 0; font-size: 14px; color: var(--slate); }
.thought--core .core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.core-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.core-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(11,28,54,.5); }
.core-card__pic { position: relative; height: 150px; background: var(--navy-100); border-bottom: 3px solid var(--red-600); overflow: hidden; }
.core-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.core-card:hover .core-card__pic img { transform: scale(1.04); }
.core-card__tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 3px; background: #fff; color: var(--navy-900); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.core-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 16px; }
.core-card h3 { margin: 0; font-size: 21px; color: var(--navy-900); }
.core-card p { margin: 0; font-size: 13.5px; color: var(--slate); }
.terms { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; flex: 1; align-content: start; }
.terms li { position: relative; padding-left: 24px; font-size: 13.5px; line-height: 1.4; color: var(--slate); }
.terms li::before { content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--red-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.terms b { color: var(--navy-900); }
.core-card .btn--more { align-self: flex-end; margin: 0; }
#dscr .thought__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#dscr .thought__pic { background: var(--navy-100); }
@media (max-width: 760px) {
  .thought--core { padding: 22px 16px; }
  .thought--core .core-grid { grid-template-columns: 1fr; }
  .core-head { flex-direction: column; align-items: flex-start; }
}
.nav .buckle { display: none !important; }

/* =========================================================
   HOMEPAGE V7 (Greg's edits, Nov 4): the tailored banker
   - Nav bar on top with a faint red line; 24/7 line + Get a Quote on the right
   - Message first, silver buttons second, logo present but quiet
   - Every block = 2-4 graphical elements: title, picture, text, More Info
   ========================================================= */
html { scroll-padding-top: 200px; }
.header { border-bottom: 0; }
.belt { border-top: 0 !important; border-bottom: 1px solid rgba(166,25,46,.75); background: rgba(0,0,0,.12) !important; }
.belt__inner { display: flex; align-items: center; justify-content: space-between; padding-right: var(--gutter) !important; }
.nav { padding: 11px 0 !important; gap: 28px; }
.nav > a { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.belt__right { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.9); }
.belt__phone small { margin-right: 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); }
.belt__phone:hover { color: #fff; }
.belt__quote { text-transform: uppercase; letter-spacing: .12em; color: #fff; padding-bottom: 2px; border-bottom: 1.5px solid #fff; }
.belt__quote:hover { color: var(--silver); border-color: var(--silver); }

.header__inner { display: grid !important; grid-template-columns: 220px minmax(0, 1fr) 220px; padding-top: 18px !important; padding-bottom: 22px !important; }
.header .logo { transform: scale(1.18); transform-origin: left center; }
.pitch { gap: 16px; }
.pitch__line { font-size: 40px; font-weight: 800; letter-spacing: .03em; gap: 22px; }
.pitch__line i { width: 9px; height: 9px; transform: rotate(45deg); border-radius: 1px; background: var(--silver); }
.header__contact { justify-content: flex-end; }
.header__quote { display: none; }

/* Silver buttons: one style for the paths, Get a Quote and every More Info */
.btn--silver, .paths__buttons .btn--path.btn--silver, .btn--more {
  background: linear-gradient(180deg, #FFFFFF 0%, #E9ECF0 55%, #CCD2DA 100%) !important;
  color: var(--navy-900) !important; border: 1px solid #fff !important;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.45), inset 0 -1px 0 rgba(11,28,54,.15);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.paths__buttons .btn--path.btn--silver { padding: 12px 26px; }
.btn--silver:hover, .btn--more:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -10px rgba(0,0,0,.5), inset 0 -1px 0 rgba(11,28,54,.15); }
.btn--more { border: 1.5px solid var(--red-600) !important; padding: 12px 20px; }
.btn--more::after { color: var(--red-600); }
.tip__list { display: block; margin: 4px 0 6px; }
.tip__list span { display: list-item; margin-left: 18px; list-style: disc; font-weight: 600; color: var(--navy-900); }

.header.is-compact .pitch__line { font-size: 26px; }
.header.is-compact .header__inner { padding-top: 10px !important; padding-bottom: 12px !important; }
.header.is-compact .logo { transform: scale(1); }

/* Niche tab hangs from the bottom of the header */
.niche-anchor { bottom: 0; transform: translateY(100%); }
.header .niche-tab { height: auto; padding: 16px 24px 12px; border-radius: 0; border-top: 3px solid var(--red-600); box-shadow: 0 8px 18px -12px rgba(11,28,54,.35); }
.header .niche-tab strong { font-size: 24px; }
.sidebar { padding-top: 92px; }

/* ---------- Blocks ---------- */
.main--home { gap: 44px; padding-top: 40px; }
.block { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "title title" "text pic" "more pic"; column-gap: 32px; border-radius: 6px; overflow: hidden; padding: 34px 0 0 40px; border: 1px solid var(--line); background: #fff; }
.block__title { grid-area: title; margin: 0 40px 20px 0; font-size: 38px; line-height: 1.12; letter-spacing: -.015em; color: var(--navy-900); }
.block__title span { color: var(--red-600); }
.block__text { grid-area: text; align-self: start; }
.block__text p { font-size: 18px; line-height: 1.6; color: var(--slate); max-width: 520px; }
.block__pic { grid-area: pic; position: relative; min-height: 260px; background: var(--navy-100); margin-top: 4px; border-radius: 6px 0 0 0; overflow: hidden; }
.block__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.block .btn--more { grid-area: more; justify-self: end; align-self: end; margin: 20px 0 28px; }

/* Slam Dunk: one light-blue block, title across the top */
.block--slam { background: var(--navy-100); border-color: var(--navy-100); }
.block--slam .block__title { font-size: 42px; }
.dots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.dots li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.45; color: var(--navy-900); font-weight: 500; }
.dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--red-600); }

/* Large Bridge: picture left */
.block--bridge { grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "pic title" "pic text" "pic more"; padding: 0; }
.block--bridge .block__pic { margin: 0; border-radius: 0; min-height: 300px; }
.block--bridge .block__title { margin: 34px 40px 14px 0; }
.block--bridge .btn--more { margin-right: 28px; }

/* Core Loans: navy block, white title boxes tie the five headings together */
.core { background: var(--navy-900) var(--herring-white); border-radius: 6px; padding: 34px 36px 36px; }
.core__title { display: inline-flex; align-items: baseline; gap: 12px; margin-bottom: 26px; padding: 10px 22px; background: #fff; border-radius: 3px; font-size: 34px; line-height: 1.1; color: var(--navy-900); }
.core__title span { color: var(--red-600); font-size: 1.15em; }
.core__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.core-card { display: flex; flex-direction: column; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.core-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); }
.core-card__pic { position: relative; height: 170px; background: linear-gradient(135deg, #2A4670, #12284A); }
.core-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.core-card__pic h3 { position: absolute; left: 16px; bottom: -16px; margin: 0; padding: 8px 14px; background: #fff; border-radius: 3px; font-size: 19px; line-height: 1.2; color: var(--navy-900); box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.core-card__terms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 32px 18px 6px; flex: 1; align-content: start; }
.core-card__terms li { position: relative; padding-left: 14px; font-size: 14.5px; line-height: 1.4; color: #fff; }
.core-card__terms li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; background: var(--red-600); transform: rotate(45deg); }
.core-card .btn--more { align-self: flex-end; margin: 12px 18px 18px; }

/* Instant DSCR: 1-4 units pops with a starburst */
.block--dscr .block__title { font-size: 36px; }
.starburst { position: absolute; right: 14px; bottom: 14px; width: 116px; height: 116px; display: grid; place-items: center; transform: rotate(-12deg); }
.starburst svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--red-600); filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.starburst b { position: relative; font-size: 14px; line-height: 1.05; text-align: center; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.btn--tip { overflow: visible !important; }
.tip--up { top: auto; bottom: calc(100% + 12px); left: auto; right: 0; width: 220px; transform: translate(0, 6px); border-top: 0; border-bottom: 3px solid var(--red-600); }
.tip--up::before { top: auto; bottom: -9px; left: auto; right: 24px; border-bottom-color: transparent; border-top-color: var(--red-600); }
.btn--tip:hover .tip--up, .btn--tip:focus-visible .tip--up { opacity: 1; visibility: visible; transform: translate(0, 0); transition: opacity .2s, transform .25s var(--ease); }

/* More than a broker: testimonials, three at a time */
.praise { background: var(--navy-900) var(--herring-white); border-radius: 6px; padding: 34px 36px 30px; color: #fff; }
.praise__head h2 { font-size: 34px; line-height: 1.15; color: #fff; margin-bottom: 22px; }
.praise__head h2 span { display: block; margin-top: 6px; font-size: 20px; font-weight: 500; font-style: italic; color: var(--silver); }
.praise .roll__slide { flex: 0 0 calc((100% - 32px) / 3); margin-right: 16px; padding: 20px 20px 18px; background: #fff; border-radius: 4px; border-top: 3px solid var(--red-600); display: flex; flex-direction: column; gap: 10px; }
.quote-card figcaption { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-700); }
.quote-card blockquote { font-size: 16px; line-height: 1.5; color: var(--navy-900); font-weight: 600; flex: 1; }
.quote-card cite { font-size: 12px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.praise .roll__nav { justify-content: flex-end; margin-top: 18px; }
.praise .roll__dots button { background: rgba(255,255,255,.3); }
.praise .roll__dots button[aria-selected="true"] { background: var(--red-600); }

/* Footer: fine print only */
.footer--fine { padding: 26px 0 26px; border-top: 3px solid var(--red-600); }
.footer__fine { display: flex; align-items: flex-start; gap: 24px; }
.footer__logo .logo__mark { width: 40px; height: 40px; font-size: 22px; background: #fff; color: var(--navy-900); }
.footer--fine .legal { font-size: 12px; line-height: 1.7; color: #C3CAD3; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .header__inner { grid-template-columns: 180px minmax(0, 1fr) 120px; }
  .pitch__line { font-size: 30px; gap: 14px; }
  .block { grid-template-columns: minmax(0, 1fr) 260px; }
  .block--bridge { grid-template-columns: 240px minmax(0, 1fr); }
  .praise .roll__slide { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 1100px) {
  .belt__right { display: none; }
  .header__inner { display: flex !important; }
  .header .logo { transform: none; }
  .pitch__line { font-size: 20px; }
  .header__quote { display: inline-flex; padding: 10px 14px; font-size: 12px; }
  .sidebar { padding-top: 12px; }
}
@media (max-width: 760px) {
  .block, .block--bridge { grid-template-columns: 1fr; grid-template-areas: "pic" "title" "text" "more"; padding: 0; }
  .block__pic, .block--bridge .block__pic { min-height: 210px; margin: 0; border-radius: 0; }
  .block__title, .block--bridge .block__title { margin: 22px 20px 12px; font-size: 28px !important; }
  .block__text { padding: 0 20px; }
  .block .btn--more, .block--bridge .btn--more { margin: 18px 20px 22px; }
  .dots { grid-template-columns: 1fr; }
  .core { padding: 22px 16px; }
  .core__title { font-size: 26px; }
  .core__grid { grid-template-columns: 1fr; }
  .praise { padding: 24px 18px; }
  .praise__head h2 { font-size: 26px; }
  .praise .roll__slide { flex-basis: 88%; }
  .header__quote { display: none; }
  .footer__fine { flex-direction: column; gap: 12px; }
}
.core-card__pic { overflow: hidden; border-bottom: 3px solid var(--red-600); }
.core-card__pic h3 { bottom: 14px; }
.core-card__terms { padding-top: 18px; }
.praise .roll__track { gap: 16px; }
.praise .roll__slide { margin-right: 0; }
@media (max-width: 760px) {
  .pitch__line { font-size: 14px !important; gap: 8px; }
  .pitch__line i { width: 5px; height: 5px; }
  .core-card__terms { grid-template-columns: 1fr; }
  .core-card__pic { height: 150px; }
}
.praise .roll__slide, .quote-card blockquote { margin: 0; }

/* ===================== APPLICATION / INTAKE PAGES (Nov 5) ===================== */
.main--app { gap: 0; padding-top: 40px; }
.app { max-width: 880px; }
.app-head h1 { margin: 0; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.02em; color: var(--navy-900); white-space: normal; }
.app-head .lede { margin: 12px 0 0; font-size: 18px; line-height: 1.6; color: var(--slate); }
.app-head .bubble { margin: 18px 0 24px; }
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form--app { padding: 30px 32px 32px; gap: 26px; position: relative; }
.form--app .anchor { position: absolute; top: -200px; }
.form__sec { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__sec legend { padding: 0; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
.form__note { margin: -6px 0 14px; font-size: 14px; color: var(--slate); }
.field b { color: var(--red-600); }
.field .other { margin-top: 8px; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--red-600); }
.consent.is-bad span { color: var(--red-700); }
.chips-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips-field legend { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800); margin-bottom: 8px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; color: var(--navy-900); transition: background .2s, border-color .2s; }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red-600); outline-offset: 2px; }
.seg { display: flex; gap: 8px; }
.seg label { position: relative; flex: 1; max-width: 200px; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; font-weight: 600; color: var(--navy-900); }
.seg input:checked + span { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.txn-box { margin-top: 4px; }
.upload input[type=file] { padding: 10px; background: #fff; border: 1px dashed var(--silver); border-radius: 4px; font-size: 14px; }
.upload small { font-size: 12px; color: var(--slate); }

/* Two-ended slider */
.range > span output { margin-left: 8px; padding: 2px 8px; border-radius: 3px; background: var(--navy-900); color: #fff; font-size: 12px; letter-spacing: .02em; text-transform: none; }
.range__track { position: relative; height: 28px; --a: 0%; --b: 100%; }
.range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--line) var(--a), var(--navy-900) var(--a), var(--navy-900) var(--b), var(--line) var(--b)); }
.range { --a: 0%; --b: 100%; }
.range .range__track { --a: inherit; --b: inherit; }
.range__track input { position: absolute; left: 0; top: 0; width: 100%; height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range__track input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-900); box-shadow: 0 2px 6px rgba(0,0,0,.25); cursor: grab; }
.range__track input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-900); cursor: grab; }
.range__track input::-moz-range-track { background: none; }
.range__ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--slate); }
.range__ends i { font-style: normal; }
.range--fico .range__track::before { background: linear-gradient(90deg, #C62828 0%, #C62828 64%, #E0A800 64%, #E0A800 76%, #2E7D32 76%, #2E7D32 90%, #1E40AF 90%); opacity: .9; }
.range--fico[data-lo="red"] output, .range--fico[data-hi="red"][data-lo="red"] output { background: #C62828; }
.range--fico[data-lo="yellow"] output { background: #B58900; }
.range--fico[data-lo="green"] output { background: #2E7D32; }
.range--fico[data-lo="blue"] output { background: #1E40AF; }

/* Example documents pop up on hover */
.doc-hint { margin: -6px 0 14px; font-size: 14px; color: var(--slate); }
.hover-docs { position: relative; font-weight: 700; color: var(--red-700); text-decoration: underline dotted; cursor: help; }
.hover-docs__pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; width: 300px; padding: 14px 16px; background: #fff; border-radius: 6px; border-top: 3px solid var(--red-600); box-shadow: 0 18px 40px -16px rgba(11,28,54,.55); color: var(--ink); font-weight: 400; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .2s; }
.hover-docs__pop b { display: block; margin-bottom: 6px; color: var(--navy-900); }
.hover-docs__pop ul { list-style: disc; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.hover-docs:hover .hover-docs__pop, .hover-docs:focus .hover-docs__pop { opacity: 1; visibility: visible; }
.btn--send { align-self: flex-start; min-width: 160px; }

/* DSCR flavor buttons and related links */
.flavors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 6px 0 24px; }
.flavor { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-radius: 6px; background: var(--navy-900) var(--herring-white); color: #fff; border-bottom: 3px solid var(--red-600); transition: transform .25s var(--ease), box-shadow .25s; }
.flavor:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(11,28,54,.7); }
.flavor b { font-size: 26px; }
.flavor span { font-size: 14px; color: #C9D2DE; }
.app-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.app-links a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy-900); }
.app-links a::after { content: " →"; color: var(--red-600); }
.app-links a:hover { border-color: var(--navy-900); }
.form--app + .app-links { margin-top: 24px; }
.app-more { margin-top: 20px; font-size: 15px; color: var(--slate); }
.app-more a { color: var(--red-700); font-weight: 600; }
.insets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.inset--info { margin: 0; padding: 20px; background: var(--navy-100); border: 0; border-radius: 8px; border-top: 3px solid var(--navy-900); }
.inset__title { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--navy-900); }
.inset--info p, .inset--info li { font-size: 14.5px; line-height: 1.5; color: var(--slate); }
.inset--info a { color: var(--red-700); font-weight: 600; }
.ticks li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--red-600); font-weight: 700; }
@media (max-width: 900px) { .insets, .flavors { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .form--app { padding: 22px 18px; } .hover-docs__pop { width: 260px; } }
.chip span, .seg span { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; }
.hover-docs__pop ul { display: block; }
.hover-docs__pop li { display: list-item; }
.doc-hint .hover-docs:last-child .hover-docs__pop { left: auto; right: -40px; }
.hover-docs__pop { display: none; opacity: 1; visibility: visible; }
.hover-docs:hover .hover-docs__pop, .hover-docs:focus .hover-docs__pop { display: block; }
@media (max-width: 760px) { .hover-docs__pop { position: fixed; left: 16px !important; right: 16px !important; top: auto; bottom: 16px; width: auto; } }
.field .range__track input { border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0; }
.range > span output { white-space: nowrap; display: inline-block; }
.bubble--top { margin: 0 0 22px; }
.toc ol { list-style: none; padding-left: 0; }
.toc li { position: relative; padding-left: 16px; }
.toc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red-600); }
.contact-lines { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 16px 0 10px; }
.contact-lines li { display: flex; flex-direction: column; gap: 2px; }
.contact-lines small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); }
.contact-lines a { font-size: 24px; font-weight: 700; color: var(--navy-900); }
.contact-live { margin: 6px 0 0; font-size: 16px; color: var(--slate); }
.contact-live a { color: var(--navy-900); font-weight: 700; }
.app-head .contact-live:last-child { margin-bottom: 24px; }

/* Footer 24-hour hotline (Ben, Nov 5) */
.footer__hotline { flex: none; margin: 0; padding-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--silver, #A9B0BA); white-space: nowrap; }
.footer__hotline a { color: #fff; text-decoration: none; margin-left: 8px; font-size: 15px; letter-spacing: .04em; }
.footer__hotline a:hover { text-decoration: underline; }
@media (max-width: 760px) { .footer__hotline { padding-top: 0; } }

/* =========================================================
   HOMEPAGE V8 — matches Figma "Home V7" redesign (Nov 6)
   Slam Dunk: copy left, full-bleed photo right, red tie rule, red checks
   Core Loans + More Than a Broker: white tab headings with a red underline,
   big-number stats, trait-led testimonial cards with a peeking 4th card
   ========================================================= */
/* Slam Dunk */
.block--slam { grid-template-columns: minmax(0, 1fr) 330px; grid-template-areas: "title pic" "text pic" "more pic"; grid-template-rows: auto 1fr auto; column-gap: 0; padding: 0; background: #EEF2F7; border-color: var(--line); border-radius: 4px; }
.block--slam .block__title { margin: 44px 36px 0 44px; font-size: 32px; line-height: 1.18; letter-spacing: -.01em; font-weight: 700; }
.block--slam .block__title::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 18px; background: var(--red-600); }
.block--slam .block__text { padding: 26px 36px 0 44px; }
.block--slam .block__pic { margin: 0; border-radius: 0; min-height: 100%; background: var(--navy-100); }
.block--slam .block__pic::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 70px; background: linear-gradient(90deg, #EEF2F7, rgba(238,242,247,0)); }
.block--slam .btn--more { margin: 28px 36px 36px 0; }
.dots { gap: 14px 24px; }
.dots li { padding-left: 26px; font-size: 15px; line-height: 22px; color: #1B2B45; }
.dots li::before { top: 4px; left: 2px; width: 11px; height: 6px; border-radius: 0; background: none; border: solid var(--red-600); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* Core Loans */
.core { background: var(--navy-900); border-radius: 4px; padding: 40px 36px; }
.core__title { display: inline-block; margin-bottom: 28px; padding: 12px 24px; border-radius: 0; border-bottom: 4px solid var(--red-600); font-size: 36px; font-weight: 800; letter-spacing: -.01em; }
.core__grid { gap: 20px; }
.core-card { background: #13284B; border: 1px solid #24406B; border-radius: 4px; }
.core-card:hover { border-color: rgba(255,255,255,.35); }
.core-card__pic { height: 190px; border-bottom: 0; }
.core-card__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,28,54,0) 45%, rgba(11,28,54,.55)); pointer-events: none; }
.core-card__pic h3 { z-index: 1; left: 0; bottom: 0; padding: 10px 18px; border-radius: 0; border-bottom: 4px solid var(--red-600); box-shadow: none; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.core-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: 24px 24px 0; flex: 1; align-content: start; }
.core-card__stats li { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 2px solid var(--red-600); }
.core-card__stats b { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.core-card__stats span { font-size: 11px; line-height: 1.35; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); }
.core-card__foot { display: flex; justify-content: flex-end; margin: 18px 24px 0; padding: 18px 0 22px; border-top: 1px solid #24406B; }
.core-card__foot .btn--more { margin: 0; }

/* More Than a Broker */
.praise { position: relative; overflow: hidden; background: var(--navy-900); border-radius: 4px; padding: 40px 0 36px 40px; }
.praise__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-right: 40px; margin-bottom: 28px; }
.praise__head h2 { margin: 0; font-size: inherit; }
.praise__tab { display: inline-block; padding: 12px 24px; background: #fff; border-bottom: 4px solid var(--red-600); font-size: 36px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: var(--navy-900); }
.praise__sub { display: block; margin-top: 14px; font-size: 20px; font-weight: 600; font-style: normal; color: var(--silver); }
.praise__arrows { display: flex; gap: 10px; flex: none; }
.praise .roll__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--silver); background: transparent; color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; }
.praise .roll__btn:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.praise .roll__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 40px; }
.praise .roll__track::-webkit-scrollbar { display: none; }
.praise .roll__slide { flex: 0 0 calc((100% - 40px - 60px) / 3.15); margin: 0; scroll-snap-align: start; padding: 22px 24px; border-radius: 4px; border-top: 4px solid var(--red-600); gap: 12px; }
.quote-card::before { content: "\201C"; display: block; height: 30px; font-size: 56px; line-height: 1; font-weight: 800; color: var(--red-600); }
.quote-card figcaption { font-size: 11px; letter-spacing: .14em; color: var(--red-600); }
.quote-card blockquote { margin: 0; font-size: 16px; line-height: 24px; font-weight: 500; }
.quote-card__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.quote-card__who i { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: #E8EDF4; font-size: 12px; font-style: normal; font-weight: 700; color: var(--navy-900); }
.quote-card__who cite { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 700; font-style: normal; letter-spacing: 0; text-transform: none; color: var(--navy-900); }
.quote-card__who small { font-size: 12px; font-weight: 400; color: var(--slate); }
.praise .roll__dots { display: flex; gap: 8px; margin-top: 22px; }
.praise .roll__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #2A4670; transition: width .25s, background .25s; cursor: pointer; }
.praise .roll__dots button[aria-selected="true"] { width: 28px; background: var(--red-600); }

@media (max-width: 1280px) {
  .block--slam { grid-template-columns: minmax(0, 1fr) 260px; }
  .praise .roll__slide { flex-basis: calc((100% - 40px - 20px) / 2.15); }
}
@media (max-width: 760px) {
  .block--slam { grid-template-columns: 1fr; grid-template-areas: "pic" "title" "text" "more"; grid-template-rows: auto; }
  .block--slam .block__pic { min-height: 210px; }
  .block--slam .block__pic::after { display: none; }
  .block--slam .block__title { margin: 22px 20px 0; }
  .block--slam .block__text { padding: 20px 20px 0; }
  .block--slam .btn--more { margin: 20px 20px 22px; }
  .core { padding: 24px 16px; }
  .core__title { font-size: 26px; padding: 10px 18px; }
  .core-card__pic h3 { font-size: 18px; }
  .praise { padding: 26px 0 26px 18px; }
  .praise__head { padding-right: 18px; }
  .praise__tab { font-size: 24px; padding: 10px 16px; }
  .praise__sub { font-size: 16px; }
  .praise__arrows { display: none; }
  .praise .roll__track { padding-right: 18px; }
  .praise .roll__slide { flex-basis: 84%; }
}
/* V8 fixes */
.core__title { width: fit-content; }
.block--slam .block__title { font-size: 30px; }
.praise__head h2 .praise__tab { display: inline-block; margin: 0; font-style: normal; font-size: 36px; font-weight: 800; color: var(--navy-900); }
.praise__head h2 .praise__sub { display: block; margin-top: 14px; font-style: normal; font-size: 20px; font-weight: 600; color: var(--silver); }
@media (max-width: 760px) { .praise__head h2 .praise__tab { font-size: 24px; } .praise__head h2 .praise__sub { font-size: 16px; } }
/* More Info: same quiet silver as the header buttons, red arrow only; red edge on hover */
.btn--more { border: 1px solid #A9B0BA !important; }
.btn--more:hover, .btn--more:focus-visible { border-color: var(--red-600) !important; }
/* Header fit (Nov 6): logo | pitch never overlap at any width */
@media (min-width: 1101px) {
  .header__inner { grid-template-columns: auto minmax(0, 1fr) auto !important; column-gap: 40px; }
  .pitch { max-width: none !important; width: 100%; min-width: 0; justify-self: center; align-items: center; }
  .pitch__line { font-size: clamp(26px, 2.55vw, 40px); gap: clamp(12px, 1.4vw, 22px); white-space: nowrap; }
  .header.is-compact .pitch__line { font-size: clamp(20px, 1.7vw, 26px); }
}
/* Top menu: one line at every desktop width */
@media (min-width: 1101px) {
  .nav > a, .belt__right > * { white-space: nowrap; }
  .nav { gap: clamp(14px, 1.9vw, 28px); }
  .nav > a { font-size: clamp(10.5px, .85vw, 12px); }
  .belt__right { gap: clamp(12px, 1.5vw, 22px); font-size: clamp(11px, .9vw, 13px); }
  .belt__inner { gap: 24px; }
}
/* Instant DSCR — match Figma V7: photo full height on the left, copy right, starburst top-right of photo */
.block--dscr { grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "pic title" "pic text" "pic more"; grid-template-rows: auto auto 1fr; padding: 0; border-radius: 4px; }
.block--dscr .block__pic { margin: 0; border-radius: 0; min-height: 262px; }
.block--dscr .block__title { margin: 36px 40px 14px; font-size: 32px; line-height: 1.19; font-weight: 700; }
.block--dscr .block__text { padding: 0 40px; }
.block--dscr .block__text p { font-size: 17px; line-height: 1.6; }
.block--dscr .btn--more { margin: 16px 40px 24px; }
.block--dscr .starburst { top: 14px; right: 12px; bottom: auto; width: 128px; height: 128px; transform: none; }
.block--dscr .starburst svg { stroke: #fff; stroke-width: 2; filter: none; }
.block--dscr .starburst b { font-size: 15px; line-height: 18px; font-weight: 800; }
@media (max-width: 1280px) { .block--dscr { grid-template-columns: 260px minmax(0, 1fr); } }
@media (max-width: 760px) {
  .block--dscr { grid-template-columns: 1fr; grid-template-areas: "pic" "title" "text" "more"; grid-template-rows: auto; }
  .block--dscr .block__pic { min-height: 220px; }
  .block--dscr .block__title { margin: 22px 20px 12px; }
  .block--dscr .block__text { padding: 0 20px; }
  .block--dscr .btn--more { margin: 18px 20px 22px; }
  .block--dscr .starburst { width: 104px; height: 104px; }
  .block--dscr .starburst b { font-size: 13px; line-height: 15px; }
}
.block--dscr .starburst b { font-size: 14px; line-height: 17px; letter-spacing: .02em; }
@media (max-width: 760px) { .block--dscr .starburst b { font-size: 12px; line-height: 14px; } }
/* Nov 6 — disclaimer right under the title */
.bubble--under { margin: -6px 0 18px; }
.app-head .bubble { margin-top: 0; }
/* Greg Nov 6: no short red bars on the menu pages */
.intro::after, .eyebrow::before { display: none; }

.flavor b { font-size: 19px; white-space: nowrap; }
@media (min-width: 1101px) { .body > .main:not(.main--home) { min-height: 1150px; } }
@media (max-width: 1280px) { .flavor b { font-size: 17px; white-space: normal; } }
/* DSCR chooser: title + 3 big buttons first, 4 small links top-right */
.dscr-top { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: start; }
.dscr-side { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.dscr-side a { padding: 7px 10px; border-radius: 4px; font-size: 12.5px; font-weight: 600; color: var(--navy-900); background: #fff; border: 1px solid var(--line); }
.dscr-side a::after { content: " →"; color: var(--red-600); }
.dscr-side a:hover { border-color: var(--navy-900); }
.dscr-side .dscr-side__quote { background: var(--navy-100); border-color: #B9C7DA; color: var(--navy-900); font-weight: 700; }
.flavor b { font-size: 22px; }
@media (max-width: 760px) { .dscr-top { grid-template-columns: 1fr; } .dscr-side { order: 2; } }

/* ===== PRE-APPROVAL LETTER PAGE (Nov 7) ===== */
.app--preapproval { max-width: 1040px; }
.preapp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.letter { position: sticky; top: 150px; }
.letter__tag { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.letter__sheet { background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 10px 30px rgba(11, 28, 54, .10); padding: 22px 22px 20px; font-size: 12.5px; line-height: 1.6; color: var(--ink); }
.letter__sheet p { margin: 0 0 10px; }
.letter__meta { display: grid; grid-template-columns: 52px 1fr; gap: 2px 8px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.letter__meta dt { font-weight: 700; color: var(--navy-900); }
.letter__meta dd { margin: 0; }
.letter mark { background: var(--navy-100); color: var(--navy-900); padding: 0 3px; border-radius: 2px; font-weight: 600; }
.letter mark.is-set { background: #FDF6D8; }
.letter__more { color: var(--slate); }
.letter__sig { margin: 14px 0 0 !important; padding-top: 10px; border-top: 1px solid var(--line); color: var(--navy-900); }
@media (max-width: 960px) {
  .preapp { grid-template-columns: minmax(0, 1fr); }
  .letter { position: static; order: -1; }
}

/* =====================================================================
   HOMEPAGE V7.1  (Figma "Retaja Capital — Home V7.1", Greg Nov 6 edits)
   Tokens: navy #0B1C36 · gold #E8B931 · light blue #BFD4F2 · red #A6192E
   ===================================================================== */
:root {
  --gold: #E8B931; --blue-200: #BFD4F2; --navy-700: #24406B; --red-500: #C42A40; --silver-300: #CCD2DA;
  --t-h1: 40px; --t-h2: 30px; --t-h4: 20px; --t-p: 15px; --t-bullet: 14px; --t-sm: 13px;
  --shadow-card: 0 1px 2px rgba(11,28,54,.06), 0 8px 24px -12px rgba(11,28,54,.18);
}
@media (max-width: 760px) { :root { --t-h1: 30px; --t-h2: 24px; --t-h4: 18px; --t-bullet: 13px; } }

/* ---------- Header: priority = title (light blue) → 3 buttons → logo → Get a Quote → nav ---------- */
.pitch__line span { color: var(--blue-200); }
.pitch__line i { background: var(--red-600) !important; border-radius: 50% !important; transform: none !important; width: 8px !important; height: 8px !important; }
.nav > a { color: var(--silver-300); }
.nav > a.is-active, .nav > a:hover { color: #fff; }
.belt__quote, .btn--red { display: inline-flex; align-items: center; justify-content: center; background: var(--red-600); color: #fff !important; border: 0 !important; border-radius: 2px; padding: 8px 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .25s, transform .25s var(--ease), box-shadow .25s; }
.belt__quote:hover, .btn--red:hover { background: var(--red-500); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(166,25,46,.7); }

.logo--brand { display: flex; align-items: center; gap: 4px; color: #fff; text-decoration: none; }
.logo--brand .logo__r { width: 62px; height: 68px; flex: none; color: #fff; }
.logo__words { display: flex; flex-direction: column; font-family: 'Lexend', var(--font); line-height: 1; padding-top: 4px; }
.logo__words strong { font-size: 25px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.logo__words em { font-style: normal; font-size: 22px; font-weight: 300; color: var(--blue-200); margin-top: 3px; }
.logo__words small { font-size: 6.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-300); margin-top: 5px; white-space: nowrap; }
.header .logo--brand { transition: transform .35s var(--ease); transform-origin: left center; }
.header.is-compact .logo--brand { transform: scale(.78); }
@media (max-width: 1100px) { .logo--brand .logo__r { width: 44px; height: 48px; } .logo__words strong { font-size: 19px; } .logo__words em { font-size: 16px; } .logo__words small { display: none; } }

/* ---------- Shared section look ---------- */
.main--v71 { display: flex; flex-direction: column; gap: 40px; padding-top: 36px; padding-bottom: 48px; }
.v-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow-card); overflow: hidden; }
.v-title { margin: 0; font-size: var(--t-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--navy-900); }
.v-red { color: var(--red-600); }
.v-title .v-red { display: block; }
.v-sub, .v-text { margin: 6px 0 0; font-size: var(--t-p); line-height: 1.6; color: var(--slate); }
.v-text strong { font-weight: 600; }
.v-pic { position: relative; overflow: hidden; background: var(--navy-100); }
.v-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.001); transition: transform 1.4s var(--ease); }
.v-card:hover .v-pic img { transform: scale(1.04); }

/* More Info: silver, thin red line (Greg), arrow slides on hover */
.v-more { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 12px 20px; border: 1.25px solid var(--red-600); border-radius: 2px;
  background: linear-gradient(180deg, #fff 0%, #E9ECF0 55%, #CCD2DA 100%); color: var(--navy-900); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 4px 10px -6px rgba(11,28,54,.35); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.v-more::after { content: "→"; color: var(--red-600); transition: transform .3s var(--ease); }
.v-more:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(11,28,54,.5); }
.v-more:hover::after { transform: translateX(4px); }
.v-more:focus-visible { outline: 2px solid var(--red-600); outline-offset: 3px; }
.v-more--ghost { background: transparent; color: #fff; border-color: var(--red-500); box-shadow: none; padding: 8px 10px; font-size: 11.5px; gap: 6px; }
.v-more--ghost::after { color: #fff; }
.v-more--ghost:hover { background: var(--red-600); border-color: var(--red-600); box-shadow: 0 8px 18px -8px rgba(166,25,46,.8); }

/* ---------- 1. Slam Dunk ---------- */
.v-slam { display: grid; grid-template-columns: minmax(0, 1fr) 250px; }
.v-slam__copy { padding: 24px 30px 22px 34px; }
.v-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
.v-checks li { display: flex; align-items: center; gap: 11px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: var(--t-bullet); font-weight: 500; color: var(--ink); white-space: nowrap; }
.v-checks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--red-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.8 2.8L13 6.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.v-checks li.v-checks__more { border: 0; justify-content: flex-end; padding-top: 16px; }
.v-checks li.v-checks__more::before { display: none; }
.v-pic--fade::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 70px; z-index: 1; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }

/* ---------- 2 + 4. Photo left, copy right ---------- */
.v-split { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.v-split__copy { padding: 24px 30px 22px 34px; display: flex; flex-direction: column; }
.v-split .v-text { margin-top: 12px; }
.v-actions { margin-top: auto; padding-top: 16px; display: flex; justify-content: flex-end; }
.v-steps-row { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.v-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 8px; }
.v-steps li { counter-increment: step; display: flex; align-items: center; gap: 11px; font-size: var(--t-bullet); font-weight: 500; color: var(--ink); }
.v-steps li::before { content: counter(step); flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--red-600); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.v-burst { position: absolute; top: 14px; right: 14px; width: 86px; height: 86px; display: grid; place-items: center; z-index: 2; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.v-burst svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--red-600); }
.v-burst b { position: relative; font-size: 11px; font-weight: 800; line-height: 1.12; letter-spacing: .04em; text-transform: uppercase; text-align: center; color: #fff; }

/* ---------- 3. Four core loans ---------- */
.v-core { background: var(--navy-900); border-radius: 4px; padding: 30px 36px 32px; }
.v-core__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 20px; }
.v-core__title { margin: 0; font-size: var(--t-h1); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: var(--gold); }
.v-core__sub { margin: 0; font-size: var(--t-h4); font-weight: 800; letter-spacing: -.01em; color: var(--blue-200); }
.v-core__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v-loan { display: grid; grid-template-columns: 90px minmax(0, 1fr); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; transition: transform .35s var(--ease), background .35s, border-color .35s; }
.v-loan:hover { transform: translateY(-3px); background: rgba(255,255,255,.09); border-color: rgba(232,185,49,.35); }
.v-loan__pic { position: relative; overflow: hidden; }
.v-loan__pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.v-loan:hover .v-loan__pic img { transform: scale(1.08); }
.v-loan__pic::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 34px; background: linear-gradient(90deg, rgba(23,37,57,0), #172539); }
.v-loan__body { padding: 14px 14px 14px 14px; }
.v-loan h3 { margin: 0 0 9px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: var(--t-h4); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--gold); }
.v-loan__row { display: flex; align-items: flex-end; gap: 16px; }
.v-loan ul { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: grid; gap: 3px; }
.v-loan li { display: flex; align-items: center; gap: 7px; font-size: var(--t-bullet); font-weight: 500; line-height: 1.45; color: #fff; white-space: nowrap; }
.v-loan li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-200); }

/* ---------- Testimonials: full width, joined to the footer ---------- */
.v-praise { background: var(--navy-900); color: #fff; padding: 40px 0 36px; }
.v-praise__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 20px; }
.v-praise__head h2 { margin: 0; font-size: var(--t-h2); font-weight: 700; letter-spacing: -.02em; color: #fff; }
.v-praise__head p { margin: 0; font-size: var(--t-h4); font-weight: 800; color: var(--blue-200); }
.v-praise .roll__track { gap: 20px; padding: 4px 2px 10px; }
.v-praise .roll__slide { flex: 0 0 calc((100% - 40px) / 3); margin: 0; padding: 22px 24px 18px; background: #fff; border-radius: 4px; border: 0; box-shadow: 0 12px 28px -18px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 10px; color: var(--ink); transition: transform .35s var(--ease); }
.v-praise .roll__slide:hover { transform: translateY(-3px); }
.v-quote figcaption { font-size: var(--t-sm); font-weight: 600; line-height: 1.5; color: var(--red-600); }
.v-quote blockquote { margin: 0; font-size: var(--t-sm); line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.v-quote.is-open blockquote { -webkit-line-clamp: unset; display: block; }
.v-quote__more { align-self: flex-start; padding: 0; border: 0; background: none; font: 600 var(--t-sm)/1.5 var(--font); color: var(--red-600); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.v-quote cite { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-style: normal; font-size: var(--t-sm); color: var(--slate); text-align: right; }
.v-quote cite b { font-weight: 600; color: var(--navy-900); }
.v-praise__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.v-praise .roll__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 16px; cursor: pointer; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.v-praise .roll__btn:hover { background: var(--red-600); border-color: var(--red-600); transform: translateY(-1px); }
.v-praise .roll__dots { display: none !important; }

/* ---------- Sidebar ends at the bottom of the page (taller rows, not bigger text) ---------- */
.main--home + .sidebar { display: flex; flex-direction: column; }
.main--home + .sidebar .niche { flex: 1; display: flex; flex-direction: column; }
.main--home + .sidebar .niche li { flex: 1 1 auto; display: flex; max-height: 46px; }
.main--home + .sidebar .niche li a { flex: 1; align-items: center; }

/* ---------- Footer with logo ---------- */
.footer--v71 { border-top: 0; }
.footer--v71 .footer__fine { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 24px; }
.footer--v71 .logo--sm .logo__r { width: 44px; height: 48px; }
.footer--v71 .logo--sm .logo__words strong { font-size: 18px; }
.footer--v71 .logo--sm .logo__words em { font-size: 16px; }
.footer--v71 .logo--sm .logo__words small { font-size: 5px; }
.footer--v71 .footer__hotline { justify-self: end; padding-top: 0; }
.footer--v71 .legal { grid-column: 1 / -1; }

/* ---------- Motion ---------- */
@keyframes v-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes v-pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes v-spin { to { transform: rotate(360deg); } }
@keyframes v-zoom { from { transform: scale(1.12); } to { transform: scale(1.001); } }
.js .pitch__line span, .js .pitch__line i { animation: v-rise .7s var(--ease) both; }
.js .pitch__line > :nth-child(1) { animation-delay: .05s; } .js .pitch__line > :nth-child(2) { animation-delay: .12s; }
.js .pitch__line > :nth-child(3) { animation-delay: .18s; } .js .pitch__line > :nth-child(4) { animation-delay: .25s; }
.js .pitch__line > :nth-child(5) { animation-delay: .31s; } .js .pitch__line > :nth-child(6) { animation-delay: .38s; }
.js .pitch__line > :nth-child(7) { animation-delay: .45s; }
.js .paths__buttons .btn { animation: v-rise .7s .55s var(--ease) both; }
.js .paths__buttons .btn:nth-child(2) { animation-delay: .63s; } .js .paths__buttons .btn:nth-child(3) { animation-delay: .71s; }
.js .logo--brand .logo__r { animation: v-rise .8s .1s var(--ease) both; }
.js .v-slam { animation: v-rise .8s .35s var(--ease) both; }
.js .v-slam .v-pic img { animation: v-zoom 2.2s .35s var(--ease) both; }
.js .v-checks li:not(.v-checks__more) { animation: v-rise .6s var(--ease) both; animation-delay: calc(.6s + var(--i) * .07s); }
.js .v-checks li:not(.v-checks__more)::before { animation: v-pop .45s var(--ease) both; animation-delay: calc(.75s + var(--i) * .07s); }
.js .v-checks__more { animation: v-rise .6s 1.2s var(--ease) both; }
.js [data-reveal] .v-pic img { transform: scale(1.1); transition: transform 1.6s var(--ease); }
.js [data-reveal].is-in .v-pic img { transform: scale(1.001); }
.js [data-reveal].is-in.v-card:hover .v-pic img { transform: scale(1.04); }
.js .v-loan { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease), background .35s, border-color .35s; transition-delay: calc(.15s + var(--i) * .1s), calc(.15s + var(--i) * .1s), 0s, 0s; }
.js .is-in .v-loan { opacity: 1; transform: none; }
.js .is-in .v-loan:hover { transform: translateY(-3px); transition-delay: 0s; }
.js .v-steps li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.3s + var(--i) * .12s); }
.js .is-in .v-steps li { opacity: 1; transform: none; }
.js .v-burst svg { animation: v-spin 40s linear infinite; }
.js .is-in .v-burst { animation: v-pop .6s .4s var(--ease) both; }
.v-burst:hover svg { animation-duration: 6s; }
.js .v-praise .roll__slide { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .v-praise.is-in .roll__slide { opacity: 1; transform: none; }
.js .v-praise.is-in .roll__slide:nth-child(2) { transition-delay: .1s; } .js .v-praise.is-in .roll__slide:nth-child(3) { transition-delay: .2s; }
.js .v-praise[data-reveal] { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .pitch__line span, .js .pitch__line i, .js .paths__buttons .btn, .js .logo--brand .logo__r, .js .v-slam, .js .v-slam .v-pic img,
  .js .v-checks li, .js .v-checks li::before, .js .v-checks__more, .js .v-burst svg, .js .is-in .v-burst { animation: none !important; }
  .js .v-loan, .js .v-steps li, .js .v-praise .roll__slide, .js [data-reveal] .v-pic img { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .v-checks li { white-space: normal; }
  .v-loan li { white-space: normal; }
  .v-loan__row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .v-loan__row .v-more { align-self: flex-end; }
}
@media (max-width: 1100px) {
  .main--home + .sidebar .niche li { max-height: none; flex: none; }
  .v-praise .roll__slide { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 900px) {
  .v-core__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main--v71 { gap: 24px; padding-top: 20px; }
  .v-slam { grid-template-columns: 1fr; }
  .v-slam .v-pic { order: -1; height: 180px; }
  .v-pic--fade::before { display: none; }
  .v-slam__copy, .v-split__copy { padding: 20px 18px; }
  .v-checks { grid-template-columns: 1fr; }
  .v-split { grid-template-columns: 1fr; }
  .v-split .v-pic { height: 190px; }
  .v-steps-row { flex-direction: column; align-items: stretch; }
  .v-steps-row .v-more, .v-actions .v-more, .v-checks__more .v-more { justify-content: center; }
  .v-actions { justify-content: stretch; } .v-actions .v-more { flex: 1; }
  .v-checks li.v-checks__more { justify-content: stretch; } .v-checks__more .v-more { flex: 1; }
  .v-core { padding: 22px 16px; }
  .v-loan { grid-template-columns: 72px minmax(0, 1fr); }
  .v-praise { padding: 28px 0; }
  .v-praise .roll__slide { flex-basis: 86%; }
  .footer--v71 .footer__fine { grid-template-columns: 1fr; }
  .footer--v71 .footer__hotline { justify-self: start; }
}

/* ---------- V7.1 fixes: copy sets the height, photos fill it ---------- */
@media (min-width: 1101px) { .header .header__quote { display: none !important; } }
.belt { border-bottom: 1.5px solid var(--red-600); }
.v-slam .v-pic, .v-split .v-pic, .v-loan__pic { min-height: 100%; }
.v-slam .v-pic img, .v-split .v-pic img, .v-loan__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-checks { align-items: end; }
.v-checks li.v-checks__more { padding: 8px 0 0; }
.v-split { min-height: 230px; }
@media (max-width: 760px) { .v-slam .v-pic, .v-split .v-pic { min-height: 0; } }

.flavor b { white-space: normal; font-size: clamp(17px, 1.55vw, 22px); }

/* ---------- Pixel match with Figma V7.1 (header, Niche tab, spacing) ---------- */
@media (min-width: 1101px) {
  .header, .header .belt, .header .header__inner { background-image: none !important; }
  .header { background-color: var(--navy-900) !important; }
  .nav > a { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 500 !important; }
  .nav > a.is-active { font-weight: 600 !important; }
  .pitch__line { font-size: 36px !important; letter-spacing: .02em !important; }
  .header.is-compact .pitch__line { font-size: 24px !important; }
  /* Niche Loans tab: white, raised half into the header (Greg liked), no red line */
  .header .niche-anchor { bottom: 0 !important; transform: translateY(37px) !important; }
  .header .niche-tab { width: 300px; height: 74px; padding: 13px 24px 10px !important; background: var(--paper) !important; border-top: 0 !important; border-radius: 4px 4px 0 0 !important; box-shadow: none !important; justify-content: flex-start; }
  .header .niche-tab strong { font-size: 20px !important; font-weight: 700; line-height: 1.2; }
  .header .niche-tab small { font-size: 11px !important; font-weight: 600 !important; letter-spacing: .06em !important; }
  .header.is-compact .niche-anchor { transform: translateY(37px) !important; }
  .sidebar { padding-top: 41px !important; }
  .main--v71 { gap: 56px; }
}

.v-link { text-decoration: none; border-bottom: 1px solid rgba(166,25,46,.35); transition: border-color .2s; }
.v-link:hover { border-color: var(--red-600); }

@media (max-width: 1100px) { .nav { padding: 20px 24px 32px !important; } }

/* ---------- Laptop widths: no collisions (Nov 7) ---------- */
@media (min-width: 1101px) {
  .pitch__line { font-size: clamp(26px, 2.5vw, 36px) !important; }
}
/* Niche tab rises into the header only where there is room for it (>= 1440px) */
@media (min-width: 1101px) and (max-width: 1439.98px) {
  .header .niche-anchor, .header.is-compact .niche-anchor { transform: translateY(100%) !important; }
  .sidebar { padding-top: 82px !important; }
}
/* Slam Dunk: photo gives way before the bullets do; bullets wrap instead of hiding under the photo */
@media (min-width: 761px) { .v-slam { grid-template-columns: minmax(0, 1fr) clamp(150px, calc(100% - 660px), 250px); } }
.v-checks li { white-space: normal; }
.v-slam__copy { position: relative; z-index: 2; background: #fff; }
@media (min-width: 1101px) and (max-width: 1279.98px) {
  .belt__phone small { display: none; }
  .nav { gap: 16px !important; column-gap: 16px !important; }
  .nav > a { font-size: 12px !important; }
  .belt__quote { padding: 7px 10px; letter-spacing: .08em; }
}
/* Laptop widths: Niche tab still rises into the header, but only into the strip below the buttons */
@media (min-width: 1101px) and (max-width: 1439.98px) {
  .header .niche-anchor, .header.is-compact .niche-anchor { transform: translateY(calc(100% - 16px)) !important; }
  .sidebar { padding-top: 66px !important; }
}
@media (min-width: 1101px) and (max-width: 1439.98px) {
  .header.is-compact .niche-anchor { transform: translateY(calc(100% - 8px)) !important; }
}

/* ===== Greg "edits" email (Nov 7) ===== */
/* Niche Loans: one shade darker so it reads against the white page */
.header .niche-tab { background: #E9EDF2 !important; }
.sidebar { background: #E9EDF2 !important; }
.sidebar .niche li, .sidebar .niche li a { border-color: #D3D9E2 !important; }
/* 4 Core Loans: bullets left, bigger photo right, standard More Info on the photo's bottom-right */
.v-loan--r { grid-template-columns: minmax(0, 1fr) 46%; min-height: 168px; }
.v-loan--r .v-loan__body { padding: 16px 18px; }
.v-loan--r h3 { margin-bottom: 10px; }
.v-loan--r ul { gap: 4px; }
.v-loan--r li { white-space: normal; }
.v-loan--r .v-loan__pic { position: relative; min-height: 100%; }
.v-loan--r .v-loan__pic::after { inset: 0 auto 0 0; width: 40px; background: linear-gradient(270deg, rgba(23,37,57,0), #172539); }
.v-loan--r .v-loan__pic .v-more { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 9px 12px; font-size: 11px; gap: 7px; }
/* Testimonials: scroll on their own, no "See more", boxes as tall as the longest quote, text centred between title and name */
.v-quote blockquote { display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; margin: auto 0 !important; }
.v-quote blockquote p { margin: 0 0 8px; } .v-quote blockquote p:last-child { margin-bottom: 0; }
.v-quote__more { display: none !important; }
.v-praise .roll__track { align-items: stretch; }
.v-praise .roll__slide { justify-content: space-between; }
.v-quote cite { margin-top: 0; }
@media (max-width: 760px) { .v-loan--r { grid-template-columns: minmax(0, 1fr) 40%; } }

.v-loan--r h3 { white-space: nowrap; font-size: clamp(17px, 1.45vw, 20px); }
@media (max-width: 1100px) { .v-loan--r h3 { white-space: normal; } }
.rural-links { display: block !important; grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.6; color: var(--slate); }
.rural-links a { display: inline !important; color: var(--red-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Pavan's paragraphs must use the same small testimonial text as the others */
.v-quote blockquote p { font-size: inherit !important; line-height: inherit !important; color: inherit !important; max-width: none !important; }
/* The sticky Niche tab belongs to the sidebar: hide it once the sidebar has scrolled away */
.header .niche-anchor { transition: opacity .25s ease, visibility .25s; }
.header.niche-off .niche-anchor { opacity: 0; visibility: hidden; }

/* Testimonials: equal boxes without the empty space - a long quote scrolls inside its box (Walery) */
.v-quote blockquote { max-height: 132px; overflow-y: auto !important; padding-right: 6px; scrollbar-width: thin; scrollbar-color: #C9D0DA transparent; overscroll-behavior: contain; }
.v-quote blockquote::-webkit-scrollbar { width: 5px; }
.v-quote blockquote::-webkit-scrollbar-thumb { background: #C9D0DA; border-radius: 4px; }
.v-quote.is-scroll { position: relative; }
.v-quote.is-scroll blockquote { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.v-quote.is-scroll.is-end blockquote { -webkit-mask-image: none; mask-image: none; }
@media (max-width: 760px) { .v-quote blockquote { max-height: 240px; } }

.sidebar > .link::before { display: none !important; }
/* Loan pages: no short red bar above the title (Greg), and the disclaimer never sits on the Apply Now button (Walery) */
.loan__head { border-top: 0 !important; }
.bubble--under { margin: 14px 0 18px !important; }

/* Testimonial text starts right under the red title; name stays at the bottom */
.v-quote blockquote { margin: 0 !important; }
.v-quote cite { margin-top: auto !important; }

/* Mobile menu: tighter rows */
@media (max-width: 1100px) {
  .nav { row-gap: 0 !important; }
  .nav > a { padding-top: 13px !important; padding-bottom: 13px !important; min-height: 0 !important; }
  .nav__top { padding-bottom: 10px !important; }
  .nav__extra { margin-top: 18px !important; }
}
/* Core cards on phones: keep bullets left + photo right; More Info moves under the bullets */
@media (max-width: 760px) {
  .v-loan--r { position: relative; grid-template-columns: minmax(0, 1fr) 38% !important; }
  .v-loan--r .v-loan__body { padding-bottom: 62px; }
  .v-loan--r .v-loan__pic { position: static; }
  .v-loan--r .v-loan__pic img { left: auto !important; right: 0 !important; top: 0; bottom: 0; width: 38% !important; height: 100% !important; }
  .v-loan--r .v-loan__pic::after { left: auto !important; right: calc(38% - 40px) !important; top: 0; bottom: 0; width: 40px !important; z-index: 1; }
  .v-loan--r .v-loan__pic .v-more { left: 16px; right: auto; bottom: 14px; }
}
