/* =============================================================
 * Bold direction — shared layout, primitives, photo placeholders
 * Loaded after tokens.css
 * ============================================================= */

/* ── CONTAINER ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

.prose { max-width: var(--max-w-prose); }
.narrow { max-width: var(--max-w-narrow); }

/* ── NAV ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-page);
  border-bottom: 1px solid var(--hairline-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 76px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 48px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.nav-brand .mark {
  width: 38px; height: 38px;
  background: var(--red);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  border-radius: 50%;
  position: relative;
}
.nav-brand .mark::after {
  content: ".";
  position: absolute;
  bottom: 4px; right: 10px;
  font-size: 22px;
  line-height: 0;
}
.nav-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.nav-brand .wordmark .sub {
  display: block;
  font-size: 9px;
  letter-spacing: 0.36em;
  color: var(--slate);
  margin-top: 3px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
  align-items: center;
}
.nav-links > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--fg-1);
  padding: 28px 0;
  position: relative;
  transition: color var(--dur-fast);
}
.nav-links > a::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-links > a:hover::after,
.nav-links > a.active::after { transform: scaleX(1); }
.nav-links > a .caret {
  font-size: 9px;
  opacity: 0.55;
}

.nav-cta {
  margin-left: 8px;
  padding: 12px 22px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  border: none;
  border-radius: var(--r-pill);
  transition: background var(--dur-fast), transform var(--dur-fast);
  cursor: pointer;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); }

.nav-mobile-toggle { display: none; }
.nav-mobile-panel { display: none; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 11px; }
  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    margin-right: 16px;
    cursor: pointer;
    /* was a bare <div>; now a real button, so clear the UA button styling */
    background: none;
    border: 0;
    padding: 10px 4px;   /* 44px tall tap target */
  }
  .nav-mobile-toggle span {
    display: block; width: 24px; height: 2px; background: var(--ink);
    transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
  }
  /* burger turns into an X while the menu is open */
  .nav-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-mobile-panel {
    display: block;
    border-top: 1px solid var(--hairline-dark, rgba(0,0,0,.1));
    background: var(--paper, #fff);
    padding: 8px 20px 20px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-mobile-panel[hidden] { display: none; }
  .nav-mobile-panel nav { display: flex; flex-direction: column; }
  .nav-mobile-panel nav a {
    padding: 15px 2px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-dark, rgba(0,0,0,.08));
  }
  .nav-mobile-panel nav a.active { color: var(--red); }
  .nav-mobile-cta {
    display: block;
    margin-top: 18px;
    padding: 15px 22px;
    background: var(--red);
    color: var(--paper);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    border-radius: var(--r-pill);
  }
}

/* ── MOBILE OVERFLOW GUARDS ───────────────────────────
 * A grid item defaults to min-width:auto, so a `1fr` track refuses to shrink
 * below its content's min-content width. On phones that pushed several of
 * these single-column layouts 45-150px wider than the screen and the whole
 * page scrolled sideways. minmax(0,1fr) + min-width:0 lets them actually
 * collapse. Wide tables get their own scroller instead.
 */
@media (max-width: 1024px) {
  .apage, .clayout, .dbody, .how-grid, .founder-grid, .fgrid, .sub-i, .rlayout {
    grid-template-columns: minmax(0, 1fr);
  }
  .apage > *, .clayout > *, .dbody > *, .how-grid > *,
  .founder-grid > *, .fgrid > *, .sub-i > *, .rlayout > * { min-width: 0; }

  /* Rate/comparison tables carry more columns than a phone can show. Give each
     its own horizontal scroller instead of letting it drag the page sideways. */
  .ctable, .ltable, .rates-tbl {
    display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .ctable thead, .ltable thead, .rates-tbl thead { white-space: nowrap; }

  /* The apply-form step indicator lays 4 pips in a row; the labels do not fit
     at phone width, so the row wraps instead of overhanging the screen. */
  .prog { flex-wrap: wrap; row-gap: 14px; }
  .pip { flex: 1 1 45%; min-width: 0; }
  .pip .lbl { min-width: 0; overflow-wrap: anywhere; }

  /* Newsletter signup: the input is flex:1 but min-width:auto keeps it at its
     intrinsic size, which shoved the Subscribe button past the right edge. */
  .sub-form .line { flex-wrap: wrap; row-gap: 12px; }
  .sub-form .line input { min-width: 0; flex: 1 1 100%; font-size: 20px; }
  .sub-form .line button { flex: 0 0 auto; }

  img, video, iframe { max-width: 100%; height: auto; }
}

/* The calculator's custom sliders are drag targets. Without this the browser
   treats a horizontal drag as a page scroll on touch, so on a phone the slider
   barely moves and the page jumps instead. */
.si { touch-action: none; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--paper);
  padding: 96px 0 28px;
}
.footer .container { max-width: var(--max-w); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand .lockup {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.footer-brand .mark {
  width: 44px; height: 44px;
  background: var(--red); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  border-radius: 50%; position: relative;
}
.footer-brand .mark::after {
  content: "."; position: absolute; bottom: 5px; right: 12px; font-size: 26px; line-height: 0;
}
.footer-brand .wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--paper);
}
.footer-brand .tagline {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 320px; margin: 0;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 22px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--paper); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 28px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-eqhouse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.72);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.eq-house-icon {
  width: 16px; height: 16px;
  border: 1.5px solid currentColor;
  border-bottom: none;
  position: relative;
}
.eq-house-icon::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 9.5px solid transparent;
  border-right: 9.5px solid transparent;
  border-bottom: 7px solid currentColor;
}
.footer-disclosure {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 760px;
  letter-spacing: 0.01em;
}
.footer-disclosure strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.footer-meta-links {
  display: flex; gap: 18px; flex-wrap: wrap;
}
.footer-meta-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.footer-meta-links a:hover { color: var(--red); }

@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* =============================================================
 * EDITORIAL PHOTO PLACEHOLDER — family / lifestyle
 *
 * Now resembles a Movement-style real-people photo: a warm gradient
 * suggesting people in a home, with a clear small-caps tag and an
 * italic descriptor explaining what the real shot would be.
 * ============================================================= */
.photo {
  position: relative;
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 80% at 72% 24%, rgba(215,35,50,0.10) 0%, transparent 55%),
    radial-gradient(90% 80% at 20% 85%, rgba(255,255,255,0.06) 0%, transparent 60%),
    linear-gradient(155deg, #16161A 0%, #2B2B31 45%, #4A4A52 78%, #6E6E76 100%);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* Real stock photo fill — an <img> dropped inside any .photo container */
.photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
  z-index: 0;
}
/* Dark bottom scrim so the corner tag stays legible over any image */
.photo:has(> img)::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,10,0.80) 0%, rgba(8,8,10,0.32) 34%, rgba(8,8,10,0) 64%);
  z-index: 1; pointer-events: none;
  border-radius: inherit;
}
.photo-meta {
  position: absolute;
  inset: auto 24px 22px 24px;
  display: flex; justify-content: space-between; align-items: flex-end;
  z-index: 2; gap: 16px;
}
.photo-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding: 5px 9px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(4px);
  border-radius: var(--r-sm);
}
.photo-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  text-align: right;
  max-width: 60%;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Variants — vary the wash to suggest scene type */
.photo.warm {
  background:
    radial-gradient(100% 80% at 80% 20%, rgba(255,255,255,0.10) 0%, transparent 60%),
    linear-gradient(140deg, #24242A 0%, #3C3C44 45%, #5C5C65 80%, #7E7E86 100%);
}
.photo.cool {
  background:
    radial-gradient(110% 80% at 30% 30%, rgba(150,160,175,0.30) 0%, transparent 60%),
    linear-gradient(160deg, #202832 0%, #3A4450 50%, #6A7480 100%);
}
.photo.bright {
  background:
    radial-gradient(120% 80% at 50% 26%, rgba(215,35,50,0.06) 0%, transparent 60%),
    linear-gradient(150deg, #E7E7EB 0%, #F0F0F3 50%, #FAFAFB 100%);
  color: var(--ink);
}
.photo.bright .photo-tag { background: rgba(10,10,10,0.80); color: var(--paper); }
.photo.bright .photo-desc { color: rgba(10,10,10,0.78); text-shadow: none; }
.photo.dusk {
  background:
    radial-gradient(110% 80% at 72% 20%, rgba(215,35,50,0.16) 0%, transparent 58%),
    linear-gradient(160deg, #0E0E12 0%, #1E1E24 45%, #33333B 80%, #4A4A52 100%);
}

/* House-cutout mask — Movement-style hexagonal house shape */
.photo.house-cutout {
  clip-path: polygon(0 18%, 8% 9%, 16% 5%, 28% 2%, 50% 0%, 72% 2%, 84% 5%, 92% 9%, 100% 18%, 100% 100%, 0 100%);
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: var(--r-btn);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow-2); }

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: var(--red); border-color: var(--red); }

.btn-ghost-light {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }

.btn-link {
  padding: 0; background: transparent; border: none; border-radius: var(--r-btn);
  color: var(--fg-1);
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  letter-spacing: 0.10em;
}
.btn-link:hover { color: var(--red); background: transparent; }

.btn-link.on-dark { color: var(--paper); border-color: var(--red); }
.btn-link.on-dark:hover { color: var(--red); }

/* arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-1);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--red);
  transition: gap var(--dur-base) var(--ease-out);
}
.arrow-link:hover { gap: 16px; }
.arrow-link.on-dark { color: var(--paper); }

/* ── PILLS ────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: var(--r-pill);
}
.pill.cream { background: var(--cream); color: var(--ink); }
.pill.gold { background: var(--gold); color: var(--ink); }
.pill.outlined { background: transparent; border: 1.5px solid var(--fg-1); color: var(--fg-1); }

/* ── EYEBROW ──────────────────────────────────────────── */
.eyebrow-row {
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow-row::before {
  content: "";
  width: 32px; height: 3px;
  background: var(--red);
  display: inline-block;
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section { padding: var(--section-y) 0; }
.section-tight { padding: var(--section-y-tight) 0; }
.section-cream { background: var(--bg-warm); }
.section-warm { background: var(--bg-warm); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-black { background: var(--black); color: var(--paper); }

/* ── HAIRLINES ────────────────────────────────────────── */
.hairline { height: 1px; background: var(--hairline-dark); border: none; margin: 0; }
.hairline-red { height: 3px; background: var(--red); border: none; margin: 0; width: 48px; }

/* ── G. SEAL — gold concentric pentagon (Movement-style) ─ */
.gseal {
  position: relative;
  width: 200px; height: 200px;
  display: inline-block;
}
.gseal svg { width: 100%; height: 100%; display: block; }

/* ── INPUTS ───────────────────────────────────────────── */
.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--hairline-dark-strong);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg-1);
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.input::placeholder { color: var(--mist); }

.field-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
  font-weight: 700;
}

/* ── CARDS ────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-2);
  padding: 32px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ── MEDIA HELPERS ────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-y: 64px;
    --section-y-tight: 48px;
    --gutter: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════
 * PREMIUM LAYER — paired with _premium.js
 * ═══════════════════════════════════════════════════════════ */

/* ── Nav: transparent over the hero, dense once you scroll ── */
header.nav {
  transition: background var(--dur-base, .3s) var(--ease-out, ease),
              box-shadow var(--dur-base, .3s) var(--ease-out, ease),
              backdrop-filter var(--dur-base, .3s);
}
header.nav.is-scrolled {
  background: rgba(12, 12, 16, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 12px 34px rgba(0,0,0,.34);
}
header.nav.is-scrolled .nav-inner { padding-top: 6px; padding-bottom: 6px; }
header.nav .nav-inner {
  transition: padding var(--dur-base, .3s) var(--ease-out, ease);
}
header.nav.is-scrolled .nav-brand img {
  height: 38px !important;
  transition: height var(--dur-base, .3s) var(--ease-out, ease);
}
header.nav .nav-brand img { transition: height var(--dur-base, .3s) var(--ease-out, ease); }

/* ── Reading progress ─────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 999;
  background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform; pointer-events: none;
}

/* ── Hero headline word rise ──────────────────────────────── */
.hero-headline .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  animation: hw-rise .82s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes hw-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-headline .hw { opacity: 1; transform: none; animation: none; }
  .scroll-progress { display: none; }
}

/* ── Card physics ─────────────────────────────────────────
 * Photography lifts and pushes in slightly on hover. Restrained on purpose —
 * a 4px lift reads considered, a 12px lift reads like a template.
 */
.lp, .rcard, .team-card, .card {
  transition: transform var(--dur-base, .3s) var(--ease-out, ease),
              box-shadow var(--dur-base, .3s) var(--ease-out, ease);
}
.lp:hover, .rcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0,0,0,.34);
}
.lp .photo, .rcard .photo, .team-card .photo { overflow: hidden; }
.lp .photo img, .rcard .photo img, .team-card .photo img {
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.lp:hover .photo img, .rcard:hover .photo img { transform: scale(1.045); }

/* ── Focus visibility ─────────────────────────────────────
 * The design is dark and low-contrast; without this, keyboard users lose the
 * cursor completely. Only shows for keyboard focus, never on mouse click.
 */
a:focus-visible, button:focus-visible, .si:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Vegas neighbourhood marquee ──────────────────────────
 * The positioning statement, made literal: the places they actually lend.
 */
.hoods {
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  background: var(--bg-deep);
  padding: 26px 0;
  overflow: hidden;
}
.hoods-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: hoods-scroll 42s linear infinite;
}
.hoods:hover .hoods-track { animation-play-state: paused; }
.hoods-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--fg-3);
  padding: 0 26px;
  white-space: nowrap;
  transition: color var(--dur-fast, .18s);
}
.hoods-track span::after {
  content: "·";
  color: var(--red);
  margin-left: 26px;
}
.hoods-track span:hover { color: var(--fg-1); }
@keyframes hoods-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hoods-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ── Calculator: amortization visual ──────────────────────
 * Answers the question everyone asks after the payment: how much of this is
 * interest. One bar for the lifetime split, one curve for the balance.
 */
.camort {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline-dark);
}
.camort[hidden] { display: none; }
.camort-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.camort-t {
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase; color: var(--fg-3);
}
.camort-k {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.camort-k .k { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.camort-k .k-i { margin-left: 10px; }
.camort-k .k-p { background: var(--fg-1); }
.camort-k .k-i { background: var(--red); }

.camort-bar {
  display: flex; height: 40px; border-radius: var(--r-sm, 6px);
  overflow: hidden; background: var(--bg-elev);
}
.camort-bar .seg {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; white-space: nowrap;
  transition: width .5s cubic-bezier(.22,1,.36,1);
  min-width: 0; overflow: hidden;
}
.camort-bar .seg-p { background: var(--fg-1); color: var(--ink); font-weight: 700; }
.camort-bar .seg-i { background: var(--red); color: #fff; font-weight: 700; }

.camort-curve {
  display: block; width: 100%; height: 130px; margin-top: 18px;
  overflow: visible;
}
.camort-curve path { transition: d .4s cubic-bezier(.22,1,.36,1); }
.camort-axis {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em;
  color: var(--fg-4);
}
@media (max-width: 640px) {
  .camort-curve { height: 100px; }
  .camort-bar { height: 34px; }
  .camort-bar .seg { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .camort-bar .seg, .camort-curve path { transition: none; }
}
