/* Manny Knows Loans: "California private-client". See DESIGN.md. */

@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Surfaces */
  --ink-950: #0d0c0a;
  --ink-900: #161411;
  --ink-850: #1d1a16;
  --ink-700: #3a352d;
  --bone-50: #fbfaf6;
  --bone-100: #f6f3ec;
  --bone-200: #efe9de;
  /* Text */
  --text: #1a1814;
  --text-soft: #5b5549;
  --text-on-dark: #f3efe6;
  --text-on-dark-soft: #b9b1a1;
  /* Brass */
  --brass: #c7aa5f;
  --brass-hi: #d9bf7a;
  --brass-ink: #7a5f24;
  /* Lines and depth */
  --hairline: rgba(13, 12, 10, .09);
  --hairline-strong: rgba(13, 12, 10, .16);
  --hairline-dark: rgba(255, 255, 255, .09);
  --shadow-raised: 0 1px 1px rgba(13,12,10,.04), 0 6px 14px -6px rgba(13,12,10,.08), 0 28px 60px -28px rgba(13,12,10,.18);
  --shadow-float: 0 1px 1px rgba(0,0,0,.2), 0 24px 70px -20px rgba(0,0,0,.55);
  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Space */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --space-s: clamp(40px, 6vw, 56px);
  --space-m: clamp(64px, 9vw, 112px);
  --space-l: clamp(88px, 12vw, 152px);
  --radius: 4px;
  --radius-l: 10px;
  /* Motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms;
  --t-med: 240ms;
  --t-slow: 420ms;
  /* Film grain for dark surfaces */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bone-100);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01";
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
::selection { background: var(--brass); color: var(--ink-950); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0 0 .45em; color: var(--ink-950); font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -.03em; font-variation-settings: "SOFT" 30, "WONK" 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.012em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; color: var(--brass-ink); }
p, li { text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--bone-50); color: var(--ink-950); padding: 10px 14px; border-radius: var(--radius); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.small, small { font-size: .85rem; }
mark.todo { background: #ffe08a; color: #000; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Label: small caps line led by a brass rule */
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; color: var(--brass-ink); margin: 0 0 1.4em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; flex: 0 0 28px; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text-soft); max-width: 36em; }

/* Dark surfaces */
.dark { background: var(--ink-950); color: var(--text-on-dark); position: relative; isolation: isolate; }
.dark::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .05; mix-blend-mode: overlay; pointer-events: none; z-index: -1; }
.dark h1, .dark h2, .dark h3 { color: var(--text-on-dark); }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--brass); }
.dark .eyebrow { color: var(--brass); }
.dark .lede { color: var(--text-on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink-950); --btn-bd: var(--hairline-strong);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .85em 1.5em; border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font: 600 .95rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn .arrow { display: inline-block; width: 1em; transition: transform var(--t-med) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: .7em 1.15em; font-size: .88rem; }
.btn-lg { min-height: 56px; padding: 1em 1.8em; font-size: 1rem; }
.btn-gold { --btn-bg: var(--brass); --btn-fg: var(--ink-950); --btn-bd: var(--brass); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.2); }
.btn-gold:hover { --btn-bg: var(--brass-hi); --btn-bd: var(--brass-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 24px -10px rgba(199,170,95,.7); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform 700ms var(--ease-out); pointer-events: none; }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-outline, .btn-outline-light { --btn-fg: var(--text-on-dark); --btn-bd: rgba(255,255,255,.28); }
.btn-outline:hover, .btn-outline-light:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: rgba(255,255,255,.55); }
.btn-ghost { --btn-fg: var(--ink-950); --btn-bd: var(--hairline-strong); }
.btn-ghost:hover { --btn-bd: var(--ink-950); }
.btn-ink { --btn-bg: var(--ink-950); --btn-fg: var(--text-on-dark); --btn-bd: var(--ink-950); }
.btn-ink:hover { --btn-bg: var(--ink-850); }
.btn[disabled] { opacity: .6; cursor: wait; }
@media (prefers-reduced-motion: reduce) { .btn-gold::after { display: none; } }

.text-link, .more { color: var(--ink-950); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size var(--t-med) var(--ease-out), color var(--t-med); }
.text-link:hover, .more:hover { color: var(--brass-ink); background-size: 0 1px; background-position: 100% 100%; }
.prose a:not(.btn) { color: var(--brass-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; color: var(--text-on-dark); background: var(--ink-950); transition: background-color var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out), backdrop-filter var(--t-slow); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hairline-dark); opacity: 0; transition: opacity var(--t-slow); }
.site-header.scrolled { background: rgba(13,12,10,.9); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
.site-header.scrolled::after { opacity: 1; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 14px; }
.brand-mark { font-family: var(--serif); font-size: 1.4rem; letter-spacing: -.02em; color: var(--text-on-dark); white-space: nowrap; }
.brand-mark em, .footer-brand em { font-style: italic; font-weight: 300; color: var(--brass); }
.brand-sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-dark-soft); padding-left: 14px; border-left: 1px solid var(--hairline-dark); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { position: relative; text-decoration: none; color: var(--text-on-dark-soft); font-size: .92rem; letter-spacing: .01em; padding: 6px 0; transition: color var(--t-med); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform var(--t-med) var(--ease-out); }
.nav-links a:hover, body[data-page="loans"] [data-nav="loans"], body[data-page="about"] [data-nav="about"] { color: var(--text-on-dark); }
.nav-links a:hover::after, body[data-page="loans"] [data-nav="loans"]::after, body[data-page="about"] [data-nav="about"]::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; position: relative; z-index: 60; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--text-on-dark); }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform var(--t-med) var(--ease-in-out), opacity var(--t-fast); }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 28px; }
.site-header.open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-meta { display: none; }
@media (min-width: 961px) { .nav-quote-link { display: none; } }

@media (max-width: 960px) {
  .header-row { min-height: 64px; }
  .brand-sub { display: none; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: 50; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: 96px var(--gutter) max(28px, env(safe-area-inset-bottom)); background: var(--ink-950); overflow-y: auto; }
  .nav::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .05; mix-blend-mode: overlay; pointer-events: none; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.6rem); letter-spacing: -.02em; color: var(--text-on-dark); padding: 14px 0; border-bottom: 1px solid var(--hairline-dark); }
  .nav-links a::after { display: none; }
  .nav-meta { display: block; font-size: .8rem; color: var(--text-on-dark-soft); letter-spacing: .04em; }
  .nav-meta a { color: var(--text-on-dark); }
  .nav-actions { flex-direction: column; gap: 12px; }
  .nav-actions .btn { min-height: 56px; font-size: 1rem; }
  .js .nav { visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), visibility 0s linear var(--t-slow); }
  .js .site-header.open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), visibility 0s; }
  .js .site-header.open .nav-links a { animation: rise var(--t-slow) var(--ease-out) both; }
  .js .site-header.open .nav-links a:nth-child(2) { animation-delay: 50ms; }
  .js .site-header.open .nav-links a:nth-child(3) { animation-delay: 100ms; }
  .no-js .nav, html:not(.js) .nav { position: static; padding: 0 0 24px; }
  html:not(.js) .header-row { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
}
body.menu-open { overflow: hidden; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero-copy { padding-bottom: clamp(24px, 5vw, 72px); }
.hero h1 { max-width: 11ch; margin-bottom: .35em; }
.hero .lede { margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { position: relative; margin: 0; }
.art-frame { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); border: 1px solid var(--hairline-dark); border-radius: var(--radius); background: var(--ink-900); box-shadow: var(--shadow-float); color: var(--brass); }
.art-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.06); border-radius: 2px; pointer-events: none; }
.hero-art { width: 100%; height: 100%; opacity: .85; }
.hero-art path { vector-effect: non-scaling-stroke; }
.js .hero-art path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-out); transition-delay: calc(.25s + var(--d, 0) * 60ms); }
.js .hero-figure.is-in .hero-art path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .js .hero-art path { stroke-dashoffset: 0; transition: none; } }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-on-dark-soft); }
.hero-figure figcaption strong { font-weight: 600; color: var(--text-on-dark); letter-spacing: .1em; }

.ledger { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline-dark); }
.ledger li { display: flex; align-items: baseline; gap: 14px; padding: 22px 24px 26px 0; font-size: .95rem; color: var(--text-on-dark); }
.ledger li + li { padding-left: 24px; border-left: 1px solid var(--hairline-dark); }
.ledger .n { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: .95rem; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { max-width: 13ch; }
  .hero-actions .btn { flex: 1 1 100%; }
  .art-frame { aspect-ratio: 4 / 3; }
  .hero-art { max-width: 420px; }
  .hero-figure figcaption { flex-direction: column; gap: 2px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger li { padding: 18px 0; }
  .ledger li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--hairline-dark); }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-m) 0; }
.section-l { padding: var(--space-l) 0; }
.section-alt { background: var(--bone-200); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--text-soft); max-width: 34em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }

/* How it works: editorial timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline-strong); counter-reset: step; }
.timeline li { position: relative; padding: 32px clamp(20px, 3vw, 40px) 8px 0; }
.timeline li + li { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--hairline); }
.timeline li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--brass-ink); transition: width 900ms var(--ease-out); }
.timeline.is-in li::before { width: 56px; }
.timeline li + li::before { left: clamp(20px, 3vw, 40px); }
.timeline .step-n { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.04em; color: var(--brass-ink); margin-bottom: 28px; font-variant-numeric: lining-nums; }
.timeline h3 { margin-bottom: .5em; }
.timeline p { color: var(--text-soft); margin: 0; max-width: 28em; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--hairline-strong); margin-left: 4px; }
  .timeline li, .timeline li + li { padding: 4px 0 40px 28px; border-left: 0; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before, .timeline li + li::before { top: 14px; left: -1px; width: 1px; height: 0; transition: height 900ms var(--ease-out); }
  .timeline.is-in li::before { width: 1px; height: 40px; }
  .timeline .step-n { font-size: 2.6rem; margin-bottom: 14px; }
}

/* Loan options: bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-l); text-decoration: none;
  background: var(--bone-50); border: 1px solid var(--hairline); box-shadow: var(--shadow-raised);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out), border-color var(--t-slow); }
.tile:hover { transform: translateY(-3px); border-color: var(--hairline-strong); box-shadow: 0 1px 1px rgba(13,12,10,.04), 0 10px 20px -8px rgba(13,12,10,.1), 0 40px 80px -30px rgba(13,12,10,.25); }
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; margin-bottom: .4em; }
.tile p { color: var(--text-soft); margin: 0; max-width: 30em; }
.tile-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brass-ink); }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tile-foot .more { background: none; padding: 0; font-size: .92rem; }
.tile-arrow { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 1px solid var(--hairline-strong); transition: background-color var(--t-med), border-color var(--t-med), transform var(--t-slow) var(--ease-out); }
.tile-arrow svg { width: 16px; height: 16px; }
.tile:hover .tile-arrow { background: var(--ink-950); border-color: var(--ink-950); color: var(--bone-50); transform: rotate(-45deg); }
.tile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tile-tags span { font-size: .78rem; padding: 6px 12px; border: 1px solid var(--hairline-strong); border-radius: 999px; color: var(--text); }
.tile-lg { grid-column: span 7; grid-row: span 2; }
.tile-art { width: min(78%, 420px); align-self: flex-end; color: var(--brass-ink); opacity: .55; margin: 8px 0 -8px; }
.tile-art path, .tile-art line, .tile-art rect { vector-effect: non-scaling-stroke; }
.js .bento .tile-art path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-out) .3s; }
.js .bento.is-in .tile-art path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .js .bento .tile-art path { stroke-dashoffset: 0; } }
.tile-lg h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.tile-sm { grid-column: span 5; }
.tile.dark { background: var(--ink-950); border-color: var(--ink-950); box-shadow: var(--shadow-float); overflow: hidden; }
.tile.dark p { color: var(--text-on-dark-soft); }
.tile.dark .tile-label { color: var(--brass); }
.tile.dark .more { color: var(--text-on-dark); }
.tile.dark .tile-arrow { border-color: var(--hairline-dark); color: var(--text-on-dark); }
.tile.dark:hover .tile-arrow { background: var(--brass); border-color: var(--brass); color: var(--ink-950); }
@media (max-width: 960px) { .tile-lg, .tile-sm { grid-column: span 12; grid-row: auto; } .bento { grid-auto-rows: auto; } .tile { min-height: 0; } .tile-art { width: 100%; } }

/* About split */
.about-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pull { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ink-950); }
.pull::before { content: "\201C"; display: block; font-size: 3.4em; line-height: .7; height: .42em; color: var(--brass-ink); }
.signoff { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.signoff img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; filter: saturate(.9); }
.signoff span { display: flex; flex-direction: column; line-height: 1.35; font-size: .9rem; color: var(--text-soft); }
.signoff strong { color: var(--ink-950); font-weight: 600; }
.about-body p { color: var(--text-soft); }
.about-body .lede { color: var(--text); }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } }

/* FAQ */
.faq-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-split .faq-intro { position: sticky; top: 120px; }
.faq-list { border-top: 1px solid var(--hairline-strong); }
.faq { border-bottom: 1px solid var(--hairline-strong); interpolate-size: allow-keywords; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; list-style: none; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -.01em; line-height: 1.3; color: var(--ink-950); transition: color var(--t-med); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass-ink); }
.faq summary::after { content: ""; flex: 0 0 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform var(--t-slow) var(--ease-out); }
.faq[open] summary::after { transform: rotate(135deg); }
.faq::details-content { block-size: 0; overflow: hidden; transition: block-size var(--t-slow) var(--ease-out), content-visibility var(--t-slow) allow-discrete; }
.faq[open]::details-content { block-size: auto; }
.faq p { color: var(--text-soft); max-width: 40em; padding-bottom: 26px; margin: 0; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; } .faq-split .faq-intro { position: static; } }

/* ---------- Inner page heads and content ---------- */
.page-head { padding: clamp(56px, 9vw, 128px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--hairline-dark); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); max-width: 14ch; }
.page-head .lede { margin: 0; }
.page-head a { color: var(--brass); }
.about-head { display: block; }

.prose { font-size: 1.05rem; }
.prose > p, .prose > ul { max-width: 38em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-soft); }
.prose strong { color: var(--text); }

.with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 112px; display: flex; flex-direction: column; border-left: 1px solid var(--hairline-strong); }
.toc a { padding: 8px 0 8px 18px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; font-size: .9rem; color: var(--text-soft); transition: color var(--t-med), border-color var(--t-med); }
.toc a:hover, .toc a.active { color: var(--ink-950); border-left-color: var(--brass-ink); }
.toc-label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brass-ink); padding: 0 0 12px 18px; }
@media (max-width: 960px) { .with-toc { grid-template-columns: 1fr; } .toc { display: none; } }
.chapter { padding-bottom: clamp(48px, 7vw, 96px); margin-bottom: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--hairline-strong); }
.chapter:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.chapter > h2 { margin-top: 0; }
.chapter > p { color: var(--text-soft); max-width: 38em; }
.loans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 32px; }
.loan { display: flex; flex-direction: column; padding: 28px; background: var(--bone-50); border: 1px solid var(--hairline); border-radius: var(--radius-l); box-shadow: var(--shadow-raised); }
.loan h3 { margin-bottom: .5em; }
.loan p { color: var(--text-soft); font-size: .98rem; }
.loan .fit { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: .9rem; color: var(--text-soft); }
.loan .fit strong { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 4px; }

.ticks { padding-left: 0; list-style: none; border-top: 1px solid var(--hairline); }
.ticks li { padding: 16px 0 16px 36px; position: relative; border-bottom: 1px solid var(--hairline); color: var(--text-soft); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 14px; height: 1px; background: var(--brass-ink); }
.eho-line { display: flex; gap: 14px; align-items: flex-start; }
.eho { width: 34px; height: 34px; flex: 0 0 34px; }

/* ---------- Quote tool ---------- */
.quote-section { padding-top: clamp(40px, 6vw, 72px); }
.quote, .result { position: relative; background: var(--bone-50); border: 1px solid var(--hairline); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-raised); }
.quote::before, .result::before { content: ""; position: absolute; left: clamp(24px, 4vw, 48px); right: clamp(24px, 4vw, 48px); top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); opacity: .8; }
.progress { height: 2px; background: var(--hairline); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.progress span { display: block; height: 100%; width: 20%; background: var(--brass-ink); transition: width var(--t-slow) var(--ease-out); }
.step-count { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brass-ink); margin-bottom: 18px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.qstep:not([hidden]) { animation: rise var(--t-slow) var(--ease-out) both; }
legend { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 28px; color: var(--ink-950); padding: 0; }
.quote label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 20px; color: var(--text); }
.quote label small { display: block; font-weight: 400; color: var(--text-soft); margin-top: 2px; }
.opt { font-weight: 400; color: var(--text-soft); }
.quote input:not([type=radio]):not([type=checkbox]), .quote select {
  display: block; width: 100%; margin-top: 8px; min-height: 52px; padding: 13px 16px; font: 400 1rem var(--sans); color: var(--text);
  background: var(--bone-100); border: 1px solid var(--hairline-strong); border-radius: 8px; -webkit-appearance: none; appearance: none;
  transition: border-color var(--t-med), box-shadow var(--t-med), background-color var(--t-med); }
.quote select { background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.quote input::placeholder { color: #a39b8c; }
.quote input:hover, .quote select:hover { border-color: rgba(13,12,10,.28); }
.quote input:focus, .quote select:focus { border-color: var(--brass-ink); background-color: var(--bone-50); outline: none; box-shadow: 0 0 0 4px rgba(199,170,95,.22); }
.quote .invalid input, .quote .invalid select, .quote input.invalid, .quote select.invalid { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179,38,30,.1); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.choices { display: grid; gap: 12px; }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; margin: 0 !important; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding: 22px 24px; border: 1px solid var(--hairline-strong); border-radius: var(--radius-l); background: var(--bone-100);
  font-family: var(--serif); font-size: 1.3rem; font-weight: 400; letter-spacing: -.01em; cursor: pointer;
  transition: border-color var(--t-med), background-color var(--t-med), box-shadow var(--t-med), transform var(--t-fast) var(--ease-out); }
.choice span::after { content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%; border: 1px solid var(--hairline-strong); background: var(--bone-50); transition: border var(--t-med) var(--ease-out), background-color var(--t-med); }
.choice:hover span { border-color: rgba(13,12,10,.3); }
.choice:active span { transform: scale(.99); }
.choice input:checked + span { border-color: var(--ink-950); background: var(--bone-50); box-shadow: var(--shadow-raised); }
.choice input:checked + span::after { border: 6px solid var(--ink-950); }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 3px; }
.consent { display: flex !important; gap: 12px; font-weight: 400 !important; font-size: .82rem !important; line-height: 1.55; color: var(--text-soft) !important; padding: 16px; background: var(--bone-100); border-radius: 8px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--ink-950); }
.consent a { color: var(--brass-ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.form-nav [data-next], .form-nav [data-submit] { margin-left: auto; }
.form-nav .btn-gold { --btn-bg: var(--ink-950); --btn-fg: var(--text-on-dark); --btn-bd: var(--ink-950); box-shadow: none; }
.form-nav .btn-gold:hover { --btn-bg: var(--ink-850); --btn-bd: var(--ink-850); }
.form-error { color: #b3261e; font-weight: 600; font-size: .92rem; }
.fine { font-size: .8rem; line-height: 1.6; color: var(--text-soft); margin-top: 28px; max-width: 52em; }
.notice { background: #fff6dd; padding: 14px; border-radius: 8px; }

.result { animation: rise var(--t-slow) var(--ease-out) both; }
.result:focus { outline: none; }
.result h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.result .sub { color: var(--text-soft); margin: 0 0 6px; }
.result .big { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 10vw, 6rem); letter-spacing: -.045em; color: var(--ink-950); line-height: .95; margin: 0 0 24px; font-variant-numeric: lining-nums tabular-nums; }
.breakdown { width: 100%; border-collapse: collapse; margin: 28px 0; font-variant-numeric: tabular-nums lining-nums; }
.breakdown td { padding: 14px 0; border-bottom: 1px solid var(--hairline); color: var(--text-soft); }
.breakdown td:last-child { text-align: right; color: var(--text); }
.breakdown tr.total td { font-weight: 600; color: var(--ink-950); border-bottom: 0; border-top: 1px solid var(--ink-950); padding-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 8px; }
.chip { border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-variant-numeric: tabular-nums; }
.result-notes { padding-left: 0; list-style: none; color: var(--text); }
.result-notes li { position: relative; padding: 8px 0 8px 28px; }
.result-notes li::before { content: ""; position: absolute; left: 2px; top: 1.25em; width: 14px; height: 1px; background: var(--brass-ink); }
.result .small { color: var(--text-soft); }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.result-actions .btn-outline { --btn-fg: var(--ink-950); --btn-bd: var(--hairline-strong); }
.result-actions .btn-outline:hover { --btn-bg: transparent; --btn-bd: var(--ink-950); }

.quote-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-aside { position: sticky; top: 112px; padding-top: 8px; }
.aside-steps { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--hairline-strong); counter-reset: a; }
.aside-steps li { counter-increment: a; position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--hairline); font-size: .92rem; color: var(--text-soft); }
.aside-steps li::before { content: counter(a, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--serif); font-style: italic; color: var(--brass-ink); }
.aside-steps strong { display: block; color: var(--ink-950); font-weight: 600; }
.aside-contact { display: flex; align-items: center; gap: 14px; font-size: .85rem; color: var(--text-soft); }
.aside-contact img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.aside-contact span { display: flex; flex-direction: column; line-height: 1.45; }
.aside-contact strong { color: var(--ink-950); }
.aside-contact a { color: var(--brass-ink); }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } .quote-aside { display: none; } }

/* About page */
.about-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-card { position: sticky; top: 112px; padding: clamp(24px, 3vw, 36px); background: var(--bone-50); border: 1px solid var(--hairline); border-radius: var(--radius-l); box-shadow: var(--shadow-raised); }
.contact-card h3 { margin-bottom: .3em; }
.contact-card p { color: var(--text-soft); font-size: .95rem; }
.contact-card .contact-line { display: block; font-family: var(--serif); font-size: 1.3rem; letter-spacing: -.01em; color: var(--ink-950); text-decoration: none; padding: 12px 0; border-top: 1px solid var(--hairline); }
.contact-card .contact-line:hover { color: var(--brass-ink); }
.contact-card .contact-line small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); font-weight: 600; }
.contact-card .btn { width: 100%; margin-top: 16px; }
@media (max-width: 960px) { .about-layout { grid-template-columns: 1fr; } .contact-card { position: static; } }
body[data-page="quote"] .cta-band { display: none; }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--space-m) 0; border-top: 1px solid var(--hairline-dark); }
.cta-band::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(560px, 70vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--brass), transparent); }
.cta-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.cta-row h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 14ch; }
.cta-row p { margin: 16px 0 0; color: var(--text-on-dark-soft); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-row { grid-template-columns: 1fr; } .cta-actions .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 8vw, 96px) 0 calc(40px + env(safe-area-inset-bottom)); font-size: .9rem; color: var(--text-on-dark-soft); border-top: 1px solid var(--hairline-dark); }
.site-footer a { color: var(--text-on-dark); text-decoration: none; transition: color var(--t-med); }
.site-footer a:hover { color: var(--brass); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--hairline-dark); }
.footer-brand { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.02em; color: var(--text-on-dark); margin-bottom: .5em; line-height: 1.1; }
.footer-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brass); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { display: inline-block; font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: 4px; }
.disclosures { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; padding-top: 36px; font-size: .82rem; line-height: 1.65; }
.disclosures p { margin-bottom: .9em; }
.disclosures a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.disclosures .eho { color: var(--text-on-dark); }
.disclosures .eho-line { align-items: center; color: var(--text-on-dark); }
@media (max-width: 860px) { .footer-top, .disclosures { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Phone quote bar ---------- */
/* Floating "Get a quote" pill: shows after the first screen, phone and desktop. */
.quote-bar { position: fixed; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 7px 7px 7px 20px; border-radius: 999px; background: rgba(13,12,10,.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  color: var(--text-on-dark); box-shadow: var(--shadow-float); border: 1px solid var(--hairline-dark);
  left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 24px);
  transform: translate(-50%, calc(100% + 40px)); opacity: 0; pointer-events: none;
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow) var(--ease-out); }
.quote-bar.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.quote-bar-text { margin: 0; font-size: .9rem; line-height: 1.3; letter-spacing: .005em; }
.quote-bar-sub { color: var(--text-on-dark-soft); }
.quote-bar-sub::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); vertical-align: middle; margin: 0 .7em 0 .45em; }
.quote-bar .btn { min-height: 44px; white-space: nowrap; }
body[data-page="quote"] .quote-bar { display: none; }
@media (max-width: 760px) {
  .quote-bar { left: 12px; right: 12px; width: auto; max-width: none; bottom: max(12px, env(safe-area-inset-bottom));
    padding: 8px 8px 8px 18px; gap: 12px; transform: translateY(140%); }
  .quote-bar.show { transform: none; }
  .quote-bar-text { font-size: .85rem; }
  .quote-bar-text span { display: block; }
  .quote-bar-sub { font-size: .78rem; margin-top: 1px; }
  .quote-bar-sub::before { display: none; }
}

/* ---------- Reveal on scroll (only with JS, never with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] > * { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in > * { opacity: 1; transform: none; }
  .js .hero [data-reveal] > * { transition-duration: 900ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
