/* RAMM Financial — editorial private-credit theme.
   A warm field-guide palette with charcoal structure and restrained brass. */

:root {
  --bg: #f3efe5;
  --bg-deep: #151713;
  --fg: #191b17;
  --muted: #e9e3d7;
  --muted-fg: #5d6058;
  --fine-fg: #77796f;
  --placeholder: #98998f;

  --card: #f9f6ef;
  --card-hi: #fffdf8;
  --surface-2: #eee8dc;
  --surface-3: #e4ddcf;
  --surface-alt: #eae4d8;
  --hover-bg: #e5ded0;
  --input-bg: #fffdf8;

  --border: #cfc7b8;
  --border-hi: #9d7729;

  --primary: #8f681c;
  --primary-hover: #714f12;
  --primary-fg: #fffaf0;
  --primary-soft: rgb(143 104 28 / .09);
  --primary-ring: rgb(143 104 28 / .18);
  --primary-edge: rgb(143 104 28 / .38);
  --primary-faint: rgb(143 104 28 / .22);

  --accent: #53604a;
  --accent-soft: rgb(83 96 74 / .10);
  --accent-edge: rgb(83 96 74 / .38);

  --menu-shadow: rgb(18 20 16 / .18);
  --brand-sub-fg: #b7903b;
  --glow-1: transparent;
  --glow-2: transparent;
  --visual-glow: rgb(183 144 59 / .16);
  --photo-veil: rgb(15 17 14 / .70);
  --photo-vignette: rgb(15 17 14 / .34);
  --header-bg: rgb(21 23 19 / .94);
  --header-bg-stuck: rgb(21 23 19 / .98);

  --font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --radius: 2px;
  --shell: 1240px;
  --gap: 22px;
}

.site-header,
.mobile-nav,
.deal-hero,
.band,
.site-footer {
  --bg: #151713;
  --bg-deep: #10120f;
  --fg: #f5f0e5;
  --muted: #242820;
  --muted-fg: #bdbaae;
  --fine-fg: #8e9186;
  --placeholder: #74776f;
  --card: #1d211b;
  --card-hi: #24291f;
  --surface-2: #1a1d18;
  --surface-3: #2a2f26;
  --surface-alt: #171a15;
  --hover-bg: #272c24;
  --input-bg: #171a15;
  --border: #383d33;
  --border-hi: #b7903b;
  --primary: #d1ad5a;
  --primary-hover: #e3c574;
  --primary-fg: #151713;
  --primary-soft: rgb(209 173 90 / .12);
  --primary-ring: rgb(209 173 90 / .22);
  --primary-edge: rgb(209 173 90 / .42);
  --primary-faint: rgb(209 173 90 / .24);
  --accent: #aebd9e;
  --accent-soft: rgb(174 189 158 / .12);
  --accent-edge: rgb(174 189 158 / .34);
  --menu-shadow: rgb(0 0 0 / .56);
  --brand-sub-fg: #d1ad5a;
  background: var(--bg);
  color: var(--fg);
}

.interior-hero {
  background: #e8e1d4;
  border-bottom: 1px solid var(--border);
}

.alt { background: var(--surface-alt); border-block: 1px solid var(--border); }
.card { box-shadow: none; }
.site-header:not(.is-stuck) { border-bottom-color: rgb(255 255 255 / .08); }

/* Ramm Financial — design system
   Gold on black, drawn from the brand mark. Space Grotesk display + Inter text. */

/* Palette tokens live in static/theme-*.css and are prepended at build time. */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 0.95rem; }
p  { margin: 0 0 1rem; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--primary-fg);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.muted { color: var(--muted-fg); }
.lead { color: var(--muted-fg); font-size: 1.05rem; max-width: 62ch; }
.fine { color: var(--fine-fg); font-size: 0.8rem; max-width: 70ch; margin-top: 18px; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 14px;
}
.accent { color: var(--primary); }

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

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600;
  padding: 12px 22px; border-radius: 9px;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, transform .18s, color .18s;
}
.btn-sm { padding: 9px 17px; font-size: 0.85rem; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-hi); background: var(--hover-bg); }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row.is-center { justify-content: center; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-stuck { border-bottom-color: var(--border); background: var(--header-bg-stuck); }

.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { width: 34px; height: 34px; flex: none; object-fit: contain; }
/* Full lockup artwork (mark + wordmark in one file). */
.brand-lockup { height: 48px; width: auto; flex: none; object-fit: contain; }
.footer-brand .brand-lockup { height: 58px; }
@media (max-width: 480px) { .brand-lockup { height: 38px; } }
.brand-word { display: grid; line-height: 1; }
/* Italic weight matches the wordmark in the brand lockup. */
.brand-name { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 1.02rem; letter-spacing: 0.05em; color: var(--primary); }
.brand-sub { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 0.58rem; letter-spacing: 0.3em; color: var(--brand-sub-fg); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav-link {
  position: relative; text-decoration: none; font-size: 0.87rem; font-weight: 500;
  color: var(--muted-fg); padding: 6px 0; transition: color .18s;
}
.nav-link:hover { color: var(--fg); }
.nav-link.is-active { color: var(--fg); }
.nav-link.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--primary); border-radius: 2px;
}

/* ---- dropdown ---- */

.nav-item.has-menu { position: relative; display: inline-flex; align-items: center; gap: 3px; }
.nav-caret {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 6px 2px; margin: 0;
  color: var(--muted-fg); cursor: pointer; border-radius: 5px;
  transition: color .18s;
}
.nav-caret:hover { color: var(--fg); }
.chev { width: 11px; height: 11px; flex: none; transition: transform .2s; }
.nav-item.has-menu.is-open .chev { transform: rotate(180deg); }
.nav-item.has-menu.is-open .nav-link,
.nav-item.has-menu.is-open .nav-caret { color: var(--fg); }

.nav-menu {
  position: absolute; top: 100%; left: 0; margin-top: 8px; z-index: 60;
  min-width: 232px; padding: 6px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 18px 40px var(--menu-shadow);
  display: grid; gap: 1px;
}
.nav-menu[hidden] { display: none; }
.nav-menu a {
  text-decoration: none; font-size: 0.86rem; font-weight: 500;
  color: var(--muted-fg); padding: 9px 12px; border-radius: 7px;
  transition: color .15s, background-color .15s;
}
.nav-menu a:hover { color: var(--fg); background: var(--primary-soft); }
.nav-menu a:first-child { color: var(--primary); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 9px;
  background: transparent; border: 1px solid var(--border);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer;
}
.nav-toggle .bar { display: block; width: 16px; height: 1.5px; background: var(--fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--border); background: var(--bg-deep); padding-block: 14px 22px; }
.mobile-nav .shell { display: grid; gap: 4px; }
.mobile-nav a { text-decoration: none; padding: 11px 4px; color: var(--muted-fg); font-weight: 500; border-radius: 8px; }
.mobile-nav a:hover { color: var(--fg); background: var(--muted); }
.mobile-nav .btn { margin-top: 12px; justify-content: center; }
.mobile-nav .btn-primary { color: var(--primary-fg); }

.mobile-group > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 4px; color: var(--muted-fg); font-weight: 500;
  cursor: pointer; list-style: none; border-radius: 8px;
}
.mobile-group > summary::-webkit-details-marker { display: none; }
.mobile-group[open] > summary { color: var(--fg); }
.mobile-group[open] > summary .chev { transform: rotate(180deg); }
.mobile-group > a { padding-left: 18px; font-size: .92rem; }

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

.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px); }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 620px; pointer-events: none;
  background:
    radial-gradient(46% 52% at 22% 34%, var(--glow-1), transparent 68%),
    radial-gradient(38% 44% at 78% 18%, var(--glow-2), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .lead { max-width: 54ch; }

/* Pages with no side visual: single column, wider measure. */
.hero-inner.is-solo { grid-template-columns: 1fr; }
.hero-inner.is-solo h1 { max-width: 20ch; }
.hero-inner.is-solo .lead { max-width: 64ch; }

.hero-visual {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 20% 0%, var(--visual-glow), transparent 60%),
    linear-gradient(160deg, var(--hover-bg), hsl(40 10% 4%));
}
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Photographic hero: sink the edges into the black page so it reads as one surface. */
.hero-visual.has-photo { margin: 0; aspect-ratio: 16 / 11; background: var(--bg-deep); }
.hero-visual.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual.has-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, var(--photo-veil) 0%, transparent 46%),
    radial-gradient(120% 100% at 50% 50%, transparent 52%, var(--photo-vignette) 100%);
}

.stat-strip {
  border-block: 1px solid var(--border);
  background: var(--surface-2);
}
.stat-strip .shell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stat-strip .stat {
  padding: 22px 20px; display: flex; align-items: center; gap: 11px;
  font-size: 0.86rem; color: var(--muted-fg);
}
.stat-strip .stat + .stat { border-left: 1px solid var(--border); }
.stat-strip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- sections ---------- */

section { padding-block: clamp(56px, 7vw, 92px); }
section.tight { padding-block: clamp(40px, 5vw, 64px); }
.alt { background: var(--surface-alt); border-block: 1px solid var(--border); }

.section-head { margin-bottom: 44px; max-width: 70ch; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .lead { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; height: 100%;
  transition: border-color .25s, background-color .25s, transform .25s;
}
.card:hover { border-color: var(--primary-edge); background: var(--card-hi); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted-fg); font-size: 0.92rem; }
.card .card-foot { margin-top: auto; padding-top: 18px; }
.card-link { color: var(--primary); text-decoration: none; font-size: 0.87rem; font-weight: 600; display: inline-flex; gap: 7px; align-items: center; }
.card-link:hover { text-decoration: underline; }

.card-icon {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px;
  display: grid; place-items: center; flex: none;
  background: var(--primary-soft); color: var(--primary);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pill {
  font-size: 0.74rem; font-weight: 500; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px;
  background: var(--surface-3); border: 1px solid var(--border); color: var(--muted-fg);
}

/* program detail cards */
.program {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 30px; scroll-margin-top: 96px;
}
.program-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.program-head h3 { font-size: 1.5rem; margin: 0; }
.program-kicker {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; margin: 24px 0;
}
.spec { background: var(--surface-2); padding: 16px 18px; }
.spec dt {
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted-fg); margin-bottom: 6px;
}
.spec dd { margin: 0; font-size: 0.98rem; font-weight: 600; }

/* numbered steps */
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; height: 100%; }
.step-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--primary-faint); line-height: 1; margin-bottom: 10px;
}
.step-tag {
  display: inline-block; font-size: 0.66rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted-fg); font-size: 0.9rem; margin: 0; }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--muted-fg); font-size: 0.94rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-edge);
}
.checklist li::after {
  content: ''; position: absolute; left: 5px; top: 12px;
  width: 6px; height: 3px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* insights */
.post { display: flex; flex-direction: column; }
.post-tag {
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.post h3 { font-size: 1.1rem; }
.post-meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--fine-fg); margin-top: 14px; }

/* accordion */
.faq { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 0.98rem;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 1.3rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--fg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted-fg); font-size: 0.93rem; }

/* ---------- forms ---------- */

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: clamp(22px, 3.5vw, 36px); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.property-location-grid {
  grid-column: 1 / -1; display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(100px, .7fr) minmax(130px, .9fr);
  gap: 18px;
}
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-fg);
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.94rem; color: var(--fg);
  background: var(--input-bg); border: 1px solid var(--border);
  border-radius: 9px; padding: 11px 13px;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring);
}
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field .prefix-wrap { position: relative; }
.field .prefix-wrap span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-fg); font-size: 0.94rem; }
.field .prefix-wrap input { padding-left: 28px; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: 0.87rem; color: var(--muted-fg); }
.check input { width: 17px; height: 17px; flex: none; margin-top: 2px; accent-color: var(--primary); }

/* Two-step request form. Without JS both steps render and the single submit
   still works, so nothing is unreachable. */
.step-track {
  display: flex; gap: 10px; list-style: none; padding: 0;
  margin: 0 auto 18px; max-width: 520px;
}
.step-track li {
  flex: 1; display: flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 500; color: var(--fine-fg);
  padding: 10px 12px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--card);
}
.step-track li span {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  background: var(--surface-3); color: var(--fine-fg);
}
.step-track li.is-current { color: var(--fg); border-color: var(--border-hi); }
.step-track li.is-current span { background: var(--primary); color: var(--primary-fg); }
.step-track li.is-done span { background: var(--primary-soft); color: var(--primary); }
.js .form-step[hidden] { display: none; }

/* Branching intake. Without JS every group stays visible — long, but usable.
   With JS, one group shows at a time and the rest are disabled. */
.intake-group {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; margin-top: 22px; background: var(--surface-2);
}
.intake-legend {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
  padding: 0 8px;
}
.js .intake-group { display: none; }
.js .intake-group.is-active { display: block; }
.field-help { display: block; font-size: 0.74rem; color: var(--fine-fg); margin-top: 2px; }

/* TCPA consent block — deliberately visible, not buried in fine print. */
.consent {
  margin-top: 22px; padding: 15px 16px;
  background: var(--input-bg); border: 1px solid var(--border); border-radius: 10px;
}
.consent .check { align-items: flex-start; font-size: 0.82rem; line-height: 1.55; margin: 0; }
.consent a { color: var(--primary); }

/* Legal / long-form pages */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.prose h3 { font-size: 1rem; margin: 22px 0 6px; color: var(--fg); }
.prose p { color: var(--muted-fg); font-size: 0.95rem; }
.prose a { color: var(--primary); }
.prose > h2:first-child { margin-top: 0; }

.form-status { margin-top: 16px; font-size: 0.9rem; padding: 12px 14px; border-radius: 9px; display: none; }
.form-status.is-ok { display: block; background: hsl(160 60% 45% / .12); border: 1px solid hsl(160 60% 45% / .4); color: hsl(160 60% 70%); }
.form-status.is-err { display: block; background: hsl(0 80% 55% / .12); border: 1px solid hsl(0 80% 55% / .4); color: hsl(0 80% 76%); }

/* contact details */
.contact-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item dt {
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted-fg); margin-bottom: 6px;
}
.contact-item dd { margin: 0; font-size: 1rem; }
.contact-item dd a { color: var(--fg); text-decoration: none; }
.contact-item dd a:hover { color: var(--primary); }

/* Contact choice — two clear actions on raised white surfaces. */
.contact-choice-page {
  min-height: calc(100vh - 78px);
  padding-block: clamp(38px, 4.5vw, 64px);
  background:
    radial-gradient(circle at 50% 0%, rgb(209 173 90 / .13), transparent 32%),
    #f6f3ec;
}
.contact-choice-intro {
  max-width: 1000px;
  margin: 0 auto clamp(26px, 3vw, 38px);
  text-align: center;
}
.contact-choice-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(3.2rem, 5.5vw, 5.4rem);
  line-height: .96;
}
.contact-choice-intro .lead { max-width: 58ch; margin-inline: auto; }
.contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  max-width: 1080px;
  margin-inline: auto;
}
.contact-choice-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: clamp(28px, 3vw, 38px);
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd6c8;
  box-shadow: 0 18px 50px rgb(27 29 24 / .10);
  transition: transform .2s, box-shadow .2s;
}
.contact-choice-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #1d211b;
}
.contact-choice-panel--deal::before { background: #c59a3e; }
.contact-choice-panel:hover { transform: translateY(-5px); box-shadow: 0 26px 62px rgb(27 29 24 / .15); }
.contact-choice-number {
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #7d6024;
  background: #f8f2e4;
  border: 1px solid #e6d6b4;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
}
.contact-choice-kicker {
  margin: 18px 0 0;
  color: #b7903b;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.contact-choice-panel h2 { margin: 7px 0 10px; font-size: clamp(2.1rem, 3.25vw, 3.2rem); }
.contact-choice-panel > p:not(.contact-choice-kicker) { max-width: 48ch; margin: 0 0 22px; color: #676a62; }
.contact-choice-button { width: 100%; margin-top: auto; justify-content: space-between; min-height: 56px; padding-inline: 22px; }
.contact-choice-button--dark { color: #fff; background: #1b1f1a; border-color: #1b1f1a; }
.contact-choice-button--dark:hover { color: #fff; background: #2a3028; border-color: #2a3028; transform: translateY(-1px); }
.contact-direct-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  max-width: 1080px;
  margin: 26px auto 0;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e1dbcf;
}
.contact-direct-row p { margin: 0; color: #6e7069; }
.contact-direct-row a { color: #191b17; font-weight: 700; text-decoration: none; }
.contact-direct-row a:hover { color: #9a711d; }
.contact-direct-row span { margin-right: 7px; color: #9a711d; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }

/* scheduler */
.sched { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 18px; }
.slot {
  font: inherit; font-size: 0.88rem; font-weight: 600; text-align: center;
  padding: 11px 8px; border-radius: 9px; cursor: pointer;
  background: var(--input-bg); border: 1px solid var(--border); color: var(--fg);
  transition: border-color .15s, background-color .15s;
}
.slot:hover:not(:disabled) { border-color: var(--primary); background: var(--primary-soft); }
.slot[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.slot:disabled { opacity: .32; cursor: not-allowed; }
.day-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.day-tab {
  font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  padding: 9px 14px; border-radius: 9px; line-height: 1.25; text-align: center;
  background: transparent; border: 1px solid var(--border); color: var(--muted-fg);
}
.day-tab small { display: block; font-weight: 500; font-size: 0.7rem; opacity: .8; }
.day-tab[aria-pressed="true"] { border-color: var(--primary); color: var(--fg); background: var(--primary-soft); }

/* ---------- band + footer ---------- */

.band { background: linear-gradient(180deg, var(--surface-alt), hsl(0 0% 0%)); border-top: 1px solid var(--border); }
.band-inner { text-align: center; max-width: 760px; margin-inline: auto; }
.band-inner .lead { margin-inline: auto; }
.band-inner .fine { margin-inline: auto; }

.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer-head {
  font-size: 0.68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-fg); margin-bottom: 16px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-style: normal; font-size: 0.89rem; color: var(--muted-fg); }
.footer-list a { color: var(--muted-fg); text-decoration: none; }
.footer-list a:hover { color: var(--primary); }
.footer-list .pt-2 { margin-top: 10px; }
.footer-legal { border-top: 1px solid var(--border); padding-block: 24px 32px; }
.footer-legal p { font-size: 0.76rem; color: var(--fine-fg); max-width: 92ch; }
.footer-legal .copyright { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.footer-legal .legal-links a { color: var(--muted-fg); text-decoration: none; }
.footer-legal .legal-links a:hover { color: var(--primary); }

/* ---------- reveal animation ---------- */

/* Content is visible by default. Only hidden once JS confirms it is running and
   can animate it back in — a stalled observer must never leave the page blank. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- searchable program guides + field notes ---- */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 24px;
  padding-bottom: 2px;
  color: var(--muted-fg);
  font-size: .78rem;
  letter-spacing: .04em;
}
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span[aria-current="page"] { color: var(--fg); }

.spec-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.spec-grid-wide .spec {
  min-height: 132px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
}
.program h3 a,
.field-note h2 a { color: inherit; text-decoration: none; }
.program h3 a:hover,
.field-note h2 a:hover { color: var(--primary-hover); }

.checklist.is-caution li::before { content: "—"; color: var(--primary-hover); }
.article-narrow { max-width: 920px; }
.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 30px;
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 22px 44px 22px 0;
  font-weight: 650;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--primary-hover);
  font: 500 1.4rem/1 var(--font-sans);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0; padding: 0 46px 24px 0; color: var(--muted-fg); }
.related-links {
  display: grid;
  gap: 10px;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgb(249 246 239 / .72);
}
.related-links .eyebrow { margin-bottom: 4px; }
.related-links a { width: fit-content; font-weight: 650; }

.article-header {
  padding: clamp(74px, 10vw, 138px) 0 clamp(52px, 7vw, 88px);
  background: #151713;
  color: #f5f0e5;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.article-header h1 {
  max-width: 900px;
  margin: 12px 0 24px;
  font: 600 clamp(3rem, 7vw, 6rem)/.94 var(--font-display);
  letter-spacing: -.045em;
}
.article-header .lead { max-width: 760px; color: rgba(245,241,232,.76); }
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  color: rgba(245,241,232,.58);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.article-body { padding-top: clamp(54px, 8vw, 96px); padding-bottom: clamp(64px, 9vw, 112px); }
.article-answer {
  margin-bottom: 54px;
  padding: clamp(28px, 5vw, 46px);
  border-left: 4px solid var(--primary);
  background: var(--card);
}
.article-answer h2 { margin: 8px 0 16px; font-size: clamp(1.7rem, 4vw, 2.7rem); }
.article-answer p:last-child { margin-bottom: 0; font-size: 1.08rem; }
.article-section { margin: 0 0 54px; }
.article-section h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.article-section > p { color: var(--muted-fg); font-size: 1.02rem; line-height: 1.85; }
.article-section > ul { display: grid; gap: 10px; margin-top: 20px; padding-left: 20px; }
.article-checklist { padding-top: 44px; border-top: 1px solid var(--line); }
.article-example {
  margin: 64px 0 34px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--line);
  background: #151713;
  color: #f5f0e5;
}
.article-example > p:not(.eyebrow):not(.fine) { font: 500 clamp(1.35rem, 3vw, 2rem)/1.42 var(--font-display); }
.article-example .fine { color: rgba(245,241,232,.58); }
.article-disclaimer { margin-top: 36px; }
.field-optional { color: var(--muted-fg); font-weight: 400; text-transform: none; letter-spacing: 0; }

@media (max-width: 680px) {
  .breadcrumbs { padding-top: 18px; }
  .spec-grid-wide { grid-template-columns: 1fr 1fr; }
  .spec-grid-wide .spec { min-height: 110px; padding: 18px; }
  .article-header h1 { font-size: clamp(2.7rem, 15vw, 4.3rem); }
  .article-byline { display: grid; gap: 8px; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1 { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .sched { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .shell { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(odd) { border-left: 0; }
  .stat-strip .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-grid, .property-location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .program { padding: 24px 20px; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- loan programs: footnote, cross-link, qualification band ---------- */

.program-crosslink { margin: 14px 0 0; font-size: 0.88rem; }
.program-crosslink a { color: var(--primary); font-weight: 600; text-decoration: none; }
.program-crosslink a:hover { text-decoration: underline; }
.program-footnote { margin-top: 10px; }

/* Secondary band — reads as qualification, not as another product. */
.qual-band { padding-block: clamp(28px, 4vw, 44px); }
.qual {
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px;
}
.qual h2 { font-size: 1.15rem; margin-bottom: 4px; }
.qual > .muted { font-size: 0.88rem; margin-bottom: 16px; }
.qual-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 26px; margin: 0; }
.qual-list dt { font-size: 0.8rem; font-weight: 600; color: var(--muted-fg); }
.qual-list dd { margin: 2px 0 0; font-size: 0.95rem; font-weight: 600; }

/* Nav dividers separate the qualification path from the product entries. */
.nav-menu-divider, .mobile-group-divider {
  border: 0; border-top: 1px solid var(--border); margin: 6px 4px;
}

.footer-footprint { color: var(--muted-fg); margin-bottom: 10px; }

/* Worked example — visually separated from body copy. */
.scenario {
  background: var(--card); border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 28px);
}
.scenario p { color: var(--muted-fg); font-size: 0.95rem; }
.scenario-math {
  display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 20px 0;
}
.scenario-math > div {
  background: var(--surface-2); padding: 12px 16px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
}
.scenario-math dt { font-size: 0.88rem; color: var(--muted-fg); margin: 0; }
.scenario-math dd { margin: 0; font-size: 0.95rem; font-weight: 600; text-align: right; }
.scenario-math .is-total { background: var(--primary-soft); }
.scenario-math .is-total dt, .scenario-math .is-total dd { color: var(--fg); font-weight: 700; }

/* Calendly inline embed — the widget renders its own white surface, so give it a
   card frame that matches the rest of the page rather than floating on cream. */
.calendly-wrap {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px; overflow: hidden;
}
.calendly-inline-widget, .calendly-mount { border-radius: calc(var(--radius) - 4px); overflow: hidden; }
.calendly-wrap .fine { padding: 0 12px 6px; }
.schedule-calendar { scroll-margin-top: 92px; }
.schedule-calendar-intro { padding: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 34px) 10px; }
.schedule-calendar-intro h2 { max-width: 16ch; margin-top: 8px; }

/* ===========================================================================
   RAMM 2.0 — editorial capital desk
   The original utility classes remain as a compatibility layer for legal pages
   and forms. These rules establish the independent public-facing system.
   ========================================================================== */

body {
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgb(25 27 23 / .025) 50%, transparent calc(50% + 1px)),
    var(--bg);
  font-size: 15.5px;
  line-height: 1.72;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.028em;
}
h1 { font-size: clamp(3rem, 2rem + 4vw, 5.7rem); line-height: .96; }
h2 { font-size: clamp(2.2rem, 1.55rem + 2.4vw, 4rem); line-height: 1.01; }
h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em; }

.shell { max-width: var(--shell); padding-inline: clamp(20px, 4vw, 48px); }
.lead { font-size: clamp(1rem, .94rem + .24vw, 1.15rem); line-height: 1.72; }
.eyebrow {
  font-family: var(--font-sans);
  color: var(--primary);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .22em;
}
.section-index {
  display: block;
  margin-bottom: 34px;
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--fine-fg);
}

/* Header — compact, structured, and intentionally unlike the former eight-link bar. */
.site-header { backdrop-filter: blur(18px); }
.header-inner { height: 78px; }
.brand-lockup { height: 46px; }
.nav { gap: clamp(20px, 2.25vw, 34px); }
.nav-link { color: #c7c4b8; font-size: .79rem; font-weight: 600; letter-spacing: .02em; }
.nav-link.is-active::after { left: 0; right: auto; width: 20px; bottom: -8px; height: 1px; border-radius: 0; }
.nav-menu { border-radius: 2px; padding: 10px; min-width: 340px; }
.nav-menu a { border-radius: 1px; padding: 10px 12px; }
.header-actions .btn { min-height: 42px; }

/* Buttons — architectural blocks rather than rounded SaaS controls. */
.btn {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 1px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.btn-sm { min-height: 40px; padding: 10px 16px; font-size: .72rem; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(15 17 14 / .14); }
.btn-ghost { border-color: currentColor; opacity: .82; }

/* Homepage masthead — full-bleed editorial panorama, not a split card hero. */
.deal-hero {
  position: relative;
  min-height: min(800px, calc(100svh - 78px));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid #363b31;
}
.deal-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.deal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(14 16 13 / .94) 0%, rgb(14 16 13 / .78) 40%, rgb(14 16 13 / .20) 72%, rgb(14 16 13 / .08) 100%),
    linear-gradient(0deg, rgb(14 16 13 / .88) 0%, transparent 42%);
}
.deal-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: clamp(76px, 11vh, 132px);
  padding-bottom: 0;
}
.deal-hero-copy { max-width: 1100px; align-self: center; padding-bottom: 70px; }
.deal-hero .section-index { color: #b2b0a5; }
.deal-hero h1 { color: #f7f1e4; max-width: 26ch; margin-bottom: 28px; }
.deal-hero .lead { color: #d2cfc3; max-width: 60ch; font-size: clamp(1.05rem, .94rem + .38vw, 1.28rem); }
.deal-hero .fine { color: #aaa99e; }
.deal-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgb(255 255 255 / .22);
  background: rgb(11 13 10 / .58);
  backdrop-filter: blur(12px);
}
.deal-hero-meta > div { min-height: 104px; padding: 21px 24px; border-left: 1px solid rgb(255 255 255 / .16); }
.deal-hero-meta > div:first-child { border-left: 0; }
.deal-hero-meta strong { display: block; color: #f2eadb; font-size: .86rem; margin-bottom: 5px; }
.deal-hero-meta span { color: #aaa99e; font-size: .75rem; line-height: 1.45; }

/* Primary conversion paths — one clear choice before any form. */
.landing-action-hub {
  position: relative;
  z-index: 2;
  padding-block: clamp(58px, 7vw, 92px);
  background:
    radial-gradient(circle at 10% 8%, rgb(209 173 90 / .18), transparent 25rem),
    radial-gradient(circle at 92% 84%, rgb(53 91 61 / .14), transparent 28rem),
    #f4efe3;
  border-bottom: 1px solid #d5cbb8;
}
.landing-action-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.landing-action-heading h2 { max-width: 13ch; margin: 0; font-size: clamp(2.4rem, 4vw, 4rem); }
.landing-action-heading > p { max-width: 43ch; margin: 0; color: #686b63; line-height: 1.65; }
.landing-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.landing-action-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 17px;
  align-items: start;
  min-height: 190px;
  padding: 28px 24px;
  color: #1a1c18;
  text-decoration: none;
  background: rgb(255 253 248 / .9);
  border: 1px solid #cfc4b0;
  border-top: 4px solid #9b792d;
  box-shadow: 0 16px 34px rgb(43 47 37 / .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.landing-action-card:nth-child(2) { border-top-color: #536c52; }
.landing-action-card:nth-child(3) { color: #f8f2e6; background: linear-gradient(145deg, #2a3026, #141712); border-color: rgb(209 173 90 / .34); border-top-color: #d1ad5a; box-shadow: 0 18px 42px rgb(28 31 24 / .2); }
.landing-action-card:hover { transform: translateY(-4px); border-color: #9b792d; box-shadow: 0 24px 48px rgb(43 47 37 / .15); }
.landing-action-card:focus-visible { outline: 3px solid rgb(209 173 90 / .45); outline-offset: 3px; }
.landing-action-number { color: #8c6b1e; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.landing-action-card:nth-child(3) .landing-action-number,
.landing-action-card:nth-child(3) .landing-action-arrow { color: #d1ad5a; }
.landing-action-card strong { display: block; margin-bottom: 13px; font-family: var(--font-display); font-size: clamp(1.55rem, 2vw, 2rem); font-weight: 600; line-height: 1.04; }
.landing-action-card small { display: block; color: #666a62; font-size: .78rem; line-height: 1.58; }
.landing-action-card:nth-child(3) small { color: #b9b8ad; }
.landing-action-arrow { align-self: end; color: #8c6b1e; font-size: 1.25rem; }

/* Interior mastheads use whitespace and rules instead of copied black photo layouts. */
.interior-hero { padding-block: clamp(72px, 9vw, 132px); }
.interior-hero .hero-inner { display: block; }
.interior-hero .hero-copy { max-width: 980px; }
.interior-hero .hero-copy h1 { max-width: 13ch; color: var(--fg); }
.interior-hero .hero-copy .lead { max-width: 68ch; margin-top: 24px; }
.interior-hero .btn-row { margin-top: 34px; }

section { padding-block: clamp(72px, 8.5vw, 120px); }
section.tight { padding-block: clamp(56px, 6vw, 84px); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.section-head .lead { margin-top: 18px; }
.section-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: 56px;
}
.section-intro-grid .section-head { margin: 0; }
.section-aside { border-left: 1px solid var(--border); padding-left: 24px; color: var(--muted-fg); }

/* Transaction-path navigator. */
.path-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--border); }
.path-card {
  position: relative;
  min-height: 260px;
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: rgb(249 246 239 / .64);
  transition: background-color .2s, transform .2s;
}
.path-card + .path-card { border-left: 1px solid var(--border); }
.path-card:hover { background: var(--card-hi); transform: translateY(-4px); }
.path-num { color: var(--primary); font-size: .65rem; font-weight: 700; letter-spacing: .18em; }
.path-card h3 { margin-top: auto; margin-bottom: 8px; font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; }
.path-card p { color: var(--muted-fg); font-size: .83rem; line-height: 1.55; margin: 0; }
.path-arrow { position: absolute; top: 23px; right: 20px; color: var(--primary); }

/* Program matrix — the complete information at a glance. */
.matrix-wrap { overflow-x: auto; border-block: 1px solid var(--border); }
.capital-matrix { width: 100%; min-width: 860px; border-collapse: collapse; }
.capital-matrix th {
  padding: 16px 14px;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  text-align: left;
  color: var(--fine-fg);
  border-bottom: 1px solid var(--border);
}
.capital-matrix td { padding: 20px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--muted-fg); font-size: .84rem; }
.capital-matrix tr:last-child td { border-bottom: 0; }
.capital-matrix td:first-child { color: var(--fg); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.capital-matrix a { color: var(--primary); font-weight: 700; text-decoration: none; white-space: nowrap; }
.capital-matrix tbody tr:hover { background: rgb(255 253 248 / .48); }

/* Narrative feature panels. */
.editorial-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.editorial-split.is-centered { align-items: center; }
.feature-number { font-family: var(--font-display); font-size: clamp(5rem, 12vw, 10rem); line-height: .8; color: var(--primary-faint); }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); }
.metric { min-height: 150px; padding: 24px; border: 1px solid var(--border); margin: -1px 0 0 -1px; }
.metric strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--primary); line-height: 1.1; }
.metric span { display: block; margin-top: 8px; color: var(--muted-fg); font-size: .78rem; }

.lens-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.lens-item { padding: 30px 26px 28px 0; border-bottom: 1px solid var(--border); }
.lens-item:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--border); }
.lens-item span { display: block; color: var(--primary); font-size: .62rem; letter-spacing: .18em; font-weight: 700; }
.lens-item h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 20px 0 8px; }
.lens-item p { color: var(--muted-fg); font-size: .84rem; margin: 0; }

.desk-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }
.desk-card { padding: 34px 30px; min-height: 300px; display: flex; flex-direction: column; background: var(--card); }
.desk-card + .desk-card { border-left: 1px solid var(--border); }
.desk-card .eyebrow { margin-bottom: auto; }
.desk-card h3 { font-family: var(--font-display); font-size: 2rem; margin: 44px 0 12px; }
.desk-card p { color: var(--muted-fg); font-size: .87rem; }

/* Cards and program details lose the copied rounded-card rhythm. */
.card, .program, .step, .qual, .form-card, .scenario, .calendly-wrap {
  border-radius: 2px;
}
.card { padding: 28px; background: rgb(249 246 239 / .72); }
.card:hover { transform: translateY(-3px); border-color: var(--border-hi); background: var(--card-hi); }
.card-icon { border-radius: 50%; width: 36px; height: 36px; font-size: .72rem; }
.pill { border-radius: 1px; background: transparent; border-color: var(--border); }

.program { padding: clamp(28px, 4vw, 46px); background: rgb(249 246 239 / .76); }
.program-head { justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.program-head h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.5rem + 1vw, 2.6rem); }
.program-kicker { font-family: var(--font-sans); }
.program > .lead { margin: 24px 0 0; }
.spec-grid { border-radius: 1px; margin-top: 30px; }
.spec dt, .field label, .contact-item dt { font-family: var(--font-sans); }

.step { border-top: 3px solid var(--primary); }
.step-num { font-family: var(--font-display); }
.step-tag { border-radius: 1px; }

/* Resource field notes contain real guidance rather than placeholder article links. */
.note-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); }
.field-note { padding: clamp(28px, 4vw, 48px); min-height: 360px; background: rgb(249 246 239 / .65); }
.field-note:nth-child(even) { border-left: 1px solid var(--border); }
.field-note:nth-child(n+3) { border-top: 1px solid var(--border); }
.field-note h2 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.6rem); margin-bottom: 18px; }
.field-note p { color: var(--muted-fg); }
.field-note ul { padding-left: 18px; color: var(--muted-fg); }
.field-note li + li { margin-top: 7px; }

/* Partner and specialty directories. */
.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }
.track { min-height: 310px; padding: 30px; display: flex; flex-direction: column; background: var(--card); }
.track + .track { border-left: 1px solid var(--border); }
.track h3 { font-family: var(--font-display); font-size: 2rem; margin-top: auto; }
.directory { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); }
.directory-item { padding: 20px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: minmax(150px, .7fr) 1fr; gap: 24px; }
.directory-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--border); }
.directory-item:nth-child(odd) { padding-right: 24px; }
.directory-item strong { font-size: .87rem; }
.directory-item span { color: var(--muted-fg); font-size: .8rem; }

/* Forms remain highly functional while receiving the editorial shell. */
.form-card { background: #faf7f0; border-top: 4px solid var(--primary); }
.field input, .field select, .field textarea { border-radius: 1px; min-height: 48px; }
.field textarea { min-height: 132px; }
.consent, .intake-group, .step-track li, .form-status { border-radius: 1px; }
.step-track li span { border-radius: 1px; }
.request-shell { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; align-items: start; }
.request-aside { position: sticky; top: 110px; }

/* Coach-specific referral funnels keep RAMM's underwriting experience while giving
   the originating education relationship a distinct, credible entrance. */
.squeeze-header { background: #10130f; color: #f5f0e5; border-bottom: 1px solid rgb(255 255 255 / .13); }
.squeeze-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.squeeze-header-context { margin: 0; color: #c8c3b7; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.squeeze-header-context span { color: #d1ad5a; font-size: .82rem; }
.squeeze-header-context b { color: #73766f; font-family: var(--font-display); font-size: 1rem; font-weight: 400; margin-inline: 9px; }
.squeeze-header-actions { display: flex; align-items: center; gap: 18px; }
.squeeze-header-actions .btn { color: #f5f0e5; border-color: rgb(255 255 255 / .3); white-space: nowrap; }
.portal-access-card { margin-top: 28px; padding: 24px 26px; border: 1px solid var(--border); background: var(--panel); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.portal-access-card h2 { margin: 3px 0 8px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.portal-access-card p { margin-bottom: 0; }
.portal-access-card .btn { flex: none; }
.squeeze-footer { padding: 52px 0 26px; color: #aaa99f; background: #0e100e; border-top: 1px solid rgb(255 255 255 / .12); }
.squeeze-footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 44px; }
.squeeze-footer-inner > div:first-child { max-width: 520px; }
.squeeze-footer-inner .brand { margin-bottom: 18px; }
.squeeze-footer-inner p { color: #aaa99f; font-size: .78rem; margin: 0; }
.squeeze-footer-contact { display: grid; gap: 9px; text-align: right; font-size: .8rem; }
.squeeze-footer-contact a, .squeeze-footer-legal a { color: #d8d3c7; }
.squeeze-footer-legal { display: flex; justify-content: space-between; gap: 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .11); }
.squeeze-footer-legal p { color: #777b73; font-size: .64rem; margin: 0; }
.squeeze-disclosure { padding: 22px 0; background: #151713; border-top: 1px solid rgb(255 255 255 / .1); }
.squeeze-disclosure .fine { max-width: 110ch; color: #7f817a; margin: 0; }
.coach-compliance { padding-block: 26px; border-top: 1px solid var(--border); background: var(--muted); }
.coach-compliance .fine { max-width: 110ch; margin: 0; }
.coach-funnel-hero {
  --fg: #f5f0e5;
  --muted-fg: #c8c3b7;
  --fine-fg: #9e9f97;
  --border: rgb(255 255 255 / .17);
  --primary: #d1ad5a;
  --primary-hover: #e3c574;
  --primary-fg: #151713;
  min-height: 690px;
  display: grid;
  align-items: center;
  color: var(--fg);
  background:
    linear-gradient(90deg, rgb(13 16 14 / .96) 0%, rgb(13 16 14 / .88) 47%, rgb(13 16 14 / .48) 100%),
    linear-gradient(0deg, rgb(13 16 14 / .86), transparent 55%),
    url('/assets/ramm-deal-desk-hero.jpg') center / cover no-repeat;
}
.coach-funnel-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); gap: clamp(48px, 8vw, 112px); align-items: center; }
.coach-funnel-copy { max-width: 780px; }
.coach-funnel-copy h1 { max-width: 11ch; font-size: clamp(4.5rem, 8.2vw, 8.5rem); line-height: .82; letter-spacing: -.06em; text-transform: uppercase; }
.coach-brand-headline { color: #f7f2e7; margin: 0 0 28px; }
.coach-powered-by { margin-bottom: 20px; }
.coach-hero-promise { max-width: 13ch; color: #d1ad5a; font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3.75rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 24px; }
.coach-funnel-copy .lead { max-width: 66ch; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.coach-funnel-copy .btn-ghost { color: var(--fg); border-color: var(--border); }
.coach-funnel-copy .btn-ghost:hover { background: rgb(255 255 255 / .08); }
.coach-preapproval-row { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.coach-preapproval-row .btn { min-width: 255px; justify-content: space-between; border-color: rgb(209 173 90 / .7); }
.coach-preapproval-row > span { max-width: 34ch; color: #b7b4aa; font-size: .72rem; line-height: 1.45; }
.coach-founder-card { max-width: 440px; justify-self: end; border: 1px solid rgb(255 255 255 / .18); background: #151713; box-shadow: 0 24px 70px rgb(0 0 0 / .32); }
.coach-founder-photo { overflow: hidden; background: #fff; aspect-ratio: .975 / 1; }
.coach-founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.coach-founder-caption { padding: 24px 26px 26px; }
.coach-founder-caption .eyebrow { margin-bottom: 10px; }
.coach-founder-caption h2 { color: #f7f2e7; font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 9px; }
.coach-founder-caption p:last-child { color: #b7b4aa; font-size: .82rem; margin: 0; }
.coach-founder-summary { color: #b7b4aa; font-size: .82rem; margin: 0; }
.coach-founder-contact { display: grid; gap: 7px; margin-top: 20px; padding-top: 17px; border-top: 1px solid rgb(255 255 255 / .14); }
.coach-founder-contact a { width: fit-content; color: #e3c574; font-size: .76rem; font-weight: 650; letter-spacing: .025em; text-decoration: none; }
.coach-founder-contact a:hover { color: #f5f0e5; text-decoration: underline; text-underline-offset: 3px; }
.academy-founder-card { border-color: rgb(209 173 90 / .5); }
.academy-founder-photo { aspect-ratio: 1 / 1.08; }
.academy-founder-photo img { object-position: center 18%; }
.academy-brand-headline span { display: block; }
.academy-funnel-copy h1 { max-width: 12ch; font-size: clamp(4rem, 7.2vw, 7.4rem); }
.academy-identity-card {
  width: min(100%, 440px);
  justify-self: end;
  overflow: hidden;
  color: #f7f2e7;
  background: linear-gradient(145deg, rgb(34 37 30 / .98), rgb(14 17 14 / .98));
  border: 1px solid rgb(209 173 90 / .5);
  box-shadow: 0 24px 70px rgb(0 0 0 / .34);
}
.academy-mark {
  min-height: 238px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 34px 30px;
  color: #f7f2e7;
  background:
    linear-gradient(135deg, rgb(209 173 90 / .12), transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 52px, rgb(255 255 255 / .045) 52px 53px);
  border-bottom: 1px solid rgb(255 255 255 / .14);
  text-align: center;
}
.academy-mark span { font-size: clamp(1.5rem, 2.4vw, 2.4rem); font-weight: 700; letter-spacing: .12em; }
.academy-mark strong { color: #d1ad5a; font-family: var(--font-display); font-size: clamp(6rem, 8vw, 8.5rem); font-weight: 500; line-height: .72; padding-inline: 11px; }
.academy-identity-copy { padding: 26px 28px 28px; }
.academy-identity-copy .eyebrow { margin-bottom: 12px; }
.academy-identity-copy h2 { color: #f7f2e7; font-size: clamp(1.9rem, 2.8vw, 2.8rem); line-height: .98; margin-bottom: 15px; }
.academy-identity-copy > p:not(.eyebrow) { color: #b7b4aa; font-size: .82rem; }
.academy-coach { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .14); }
.academy-coach span { color: #8f928a; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.academy-coach strong { color: #e3c574; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.coach-proof-strip { background: #151713; color: #c8c3b7; border-top: 1px solid rgb(255 255 255 / .12); }
.coach-proof-strip .shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.coach-proof-strip span { padding: 19px 20px; text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .06em; }
.coach-proof-strip span + span { border-left: 1px solid rgb(255 255 255 / .12); }
.coach-process-grid .track h3 { margin-top: 56px; }
.coach-program-grid .card { min-height: 320px; }
.coach-program-grid .pill-list { margin-top: auto; padding-top: 18px; }
.coach-intake-section, .coach-booking-section { scroll-margin-top: 72px; }
.coach-booking-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(560px, 1.28fr); gap: clamp(42px, 7vw, 96px); align-items: start; }
.coach-booking-copy { position: sticky; top: 110px; }
.coach-booking-copy h2 { max-width: 10ch; }
.coach-booking-copy .checklist { margin-top: 30px; }
.coach-booking-form { margin: 0; }
.coach-closing-section { color: #f5f0e5; background: #151713; }

.request-terms-page { padding-top: clamp(30px, 4vw, 54px); }
.request-terms-intro {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 38px);
}
.request-terms-intro h1 { margin-top: 8px; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.request-terms-intro-copy .lead { margin: 0 0 10px; }
.request-terms-intro-copy .text-link { color: var(--primary-hover); font-weight: 700; }
.schedule-page { padding-top: clamp(30px, 4vw, 54px); }
.schedule-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.schedule-intro h1 { margin-top: 8px; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.schedule-intro .lead { margin: 0; }
.schedule-contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  margin-bottom: clamp(38px, 6vw, 72px);
}
.schedule-contact-copy { position: sticky; top: 110px; }
.schedule-contact-copy h2 { margin: 10px 0 18px; font-size: clamp(2rem, 4vw, 3.4rem); }
.schedule-contact-copy .checklist { margin-top: 24px; }
.coach-closing-section h2 { color: #f5f0e5; max-width: 14ch; }
.coach-closing-section .btn-ghost { color: #f5f0e5; border-color: rgb(255 255 255 / .24); }
.coach-disclosure { max-width: 100ch; margin-top: 28px; }

/* Closing band and footer. */
.band { background: #151713; padding-block: clamp(78px, 9vw, 130px); }
.band-inner { max-width: 900px; }
.band-inner h2 { color: #f5f0e5; }
.site-footer { padding-top: 70px; }
.footer-grid { grid-template-columns: 1.4fr .7fr 1fr 1fr; }
.footer-head { font-family: var(--font-sans); }
.footer-legal { margin-top: 8px; }

@media (max-width: 1050px) {
  .path-grid { grid-template-columns: repeat(3, 1fr); }
  .path-card:nth-child(4) { border-left: 0; border-top: 1px solid var(--border); }
  .path-card:nth-child(5) { border-top: 1px solid var(--border); }
  .editorial-split, .section-intro-grid { grid-template-columns: 1fr; }
  .section-aside { border-left: 0; border-top: 1px solid var(--border); padding: 22px 0 0; }
  .request-shell { grid-template-columns: 1fr; }
  .request-aside { position: static; }
  .coach-funnel-grid { grid-template-columns: 1fr; }
  .coach-founder-card { max-width: 520px; justify-self: start; }
  .academy-identity-card { max-width: 520px; justify-self: start; }
  .coach-program-grid { grid-template-columns: repeat(2, 1fr); }
  .coach-booking-grid { grid-template-columns: 1fr; }
  .coach-booking-copy { position: static; }
  .request-terms-intro { grid-template-columns: 1fr; gap: 16px; }
  .schedule-intro { grid-template-columns: 1fr; gap: 16px; }
  .schedule-contact-grid { grid-template-columns: 1fr; }
  .schedule-contact-copy { position: static; }
}

@media (max-width: 820px) {
  .deal-hero { min-height: 820px; }
  .deal-hero::after { background: linear-gradient(90deg, rgb(14 16 13 / .92), rgb(14 16 13 / .5)), linear-gradient(0deg, rgb(14 16 13 / .9), transparent 50%); }
  .deal-hero-meta { grid-template-columns: repeat(2, 1fr); }
  .deal-hero-meta > div:nth-child(3) { border-left: 0; border-top: 1px solid rgb(255 255 255 / .16); }
  .deal-hero-meta > div:nth-child(4) { border-top: 1px solid rgb(255 255 255 / .16); }
  .lens-grid, .desk-grid, .track-grid { grid-template-columns: 1fr; }
  .lens-item, .lens-item:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; }
  .desk-card + .desk-card, .track + .track { border-left: 0; border-top: 1px solid var(--border); }
  .note-grid { grid-template-columns: 1fr; }
  .field-note:nth-child(even) { border-left: 0; }
  .field-note + .field-note { border-top: 1px solid var(--border); }
  .directory { grid-template-columns: 1fr; }
  .directory-item:nth-child(even), .directory-item:nth-child(odd) { padding: 18px 0; border-left: 0; }
  .landing-action-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .landing-action-grid, .coach-choice-grid { grid-template-columns: 1fr; }
  .landing-action-card { min-height: 0; }
  .coach-funnel-hero { min-height: auto; }
  .coach-proof-strip .shell { grid-template-columns: repeat(2, 1fr); }
  .coach-proof-strip span:nth-child(3) { border-left: 0; border-top: 1px solid rgb(255 255 255 / .12); }
  .coach-proof-strip span:nth-child(4) { border-top: 1px solid rgb(255 255 255 / .12); }
}

@media (max-width: 620px) {
  .contact-choice-page { padding-block: 20px; }
  .contact-choice-page .shell { padding-inline: 12px; }
  .contact-choice-intro { padding: 28px 16px 0; }
  .contact-choice-intro h1 { font-size: clamp(3rem, 16vw, 4.2rem); }
  .contact-choice-grid { grid-template-columns: 1fr; }
  .contact-choice-panel { min-height: 340px; padding: 28px 24px; }
  .contact-choice-panel:hover { transform: none; }
  .contact-direct-row { justify-content: flex-start; align-items: flex-start; flex-direction: column; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .deal-hero h1 { font-size: clamp(2.8rem, 10.5vw, 3.3rem); max-width: none; }
  .header-actions > .btn { display: none; }
  .deal-hero-grid { padding-top: 54px; }
  .deal-hero-copy { padding-bottom: 44px; }
  .deal-hero-meta { margin-inline: -20px; }
  .deal-hero-meta > div { min-height: 90px; padding: 16px 20px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 190px; }
  .path-card + .path-card { border-left: 0; border-top: 1px solid var(--border); }
  .metric-grid { grid-template-columns: 1fr; }
  .directory-item { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .coach-funnel-copy h1 { font-size: clamp(3.8rem, 18vw, 5.8rem); }
  .academy-funnel-copy h1 { font-size: clamp(3.35rem, 15.5vw, 5.2rem); }
  .coach-hero-promise { font-size: clamp(2rem, 10vw, 3rem); }
  .coach-founder-card { width: 100%; }
  .coach-founder-photo { max-height: 360px; }
  .coach-program-grid { grid-template-columns: 1fr; }
  .squeeze-header-inner { min-height: 68px; }
  .squeeze-header-actions { gap: 10px; }
  .squeeze-header-actions .btn { min-height: 38px; padding-inline: 12px; }
  .squeeze-header-context { max-width: 145px; text-align: right; line-height: 1.5; }
  .squeeze-header-context b { margin-inline: 5px; }
  .portal-access-card { align-items: flex-start; flex-direction: column; }
  .squeeze-footer-inner, .squeeze-footer-legal { display: grid; grid-template-columns: 1fr; }
  .squeeze-footer-contact { text-align: left; }
}
.coach-choice-page { min-height: 680px; background: #0d110e; }
.coach-choice-hero {
  min-height: 390px;
  align-items: center;
  padding: clamp(30px, 4vw, 50px) 0 clamp(70px, 6vw, 88px);
  background:
    radial-gradient(circle at 73% 18%, rgb(209 173 90 / .18), transparent 34%),
    linear-gradient(112deg, rgb(13 17 14 / .98), rgb(13 17 14 / .83)),
    url('/assets/ramm-deal-desk-hero.jpg') center / cover no-repeat;
}
.coach-choice-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}
.coach-choice-copy { max-width: 760px; }
.coach-choice-copy h1 {
  max-width: none;
  margin: 12px 0 18px;
  color: #f7f2e7;
  font-size: clamp(4rem, 6.2vw, 6.4rem);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: none;
}
.coach-choice-copy .lead { max-width: 62ch; margin-bottom: 0; }
.coach-choice-mobile-coach { display: none; }
.coach-choice-promise {
  max-width: 38ch;
  margin: 0 0 12px;
  color: #d1ad5a;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.08;
}
.coach-choice-portrait {
  display: grid;
  grid-template-rows: 286px auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .2);
  background: #171c18;
  box-shadow: 0 26px 62px rgb(0 0 0 / .36);
}
.coach-choice-photo { height: 286px; background: #fff; }
.coach-choice-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.coach-choice-caption {
  position: static;
  padding: 16px 18px 18px;
  color: #f7f2e7;
  background: #171c18;
  border-top: 1px solid rgb(209 173 90 / .48);
}
.coach-choice-caption .dynamic-coach-logo { max-width: 150px; max-height: 42px; margin-bottom: 9px; }
.coach-choice-caption .eyebrow { margin-bottom: 4px; }
.coach-choice-caption h2 { margin: 0; color: #f7f2e7; font-size: clamp(1.7rem, 2.7vw, 2.35rem); }
.coach-choice-biography {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 6px 0 0;
  color: #bfc1ba;
  font-size: .72rem;
  line-height: 1.45;
}
.coach-choice-shell {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin-top: -54px;
  padding: 26px;
  color: #1a1c18;
  background: #f5f0e5;
  border: 1px solid #d8cfbd;
  box-shadow: 0 24px 70px rgb(0 0 0 / .34);
}
.coach-choice-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.coach-choice-heading h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.7rem); }
.coach-choice-heading p { max-width: 430px; margin: 0; color: #686b63; font-size: .83rem; line-height: 1.5; text-align: right; }
.coach-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.coach-choice-button {
  min-height: 116px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 20px;
  color: #1a1c18;
  background: #fffdf7;
  border: 1px solid #c9c0ae;
  border-radius: 1px;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.coach-choice-button:first-child { border-color: #8c6b1e; }
.coach-choice-button--preapproval {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 7px);
  background: #f0eadc;
  border-color: #aa8a41;
}
.coach-choice-button:hover { transform: translateY(-2px); border-color: #8c6b1e; box-shadow: 0 12px 28px rgb(49 39 17 / .12); }
.coach-choice-button:focus-visible { outline: 3px solid rgb(209 173 90 / .45); outline-offset: 2px; }
.coach-choice-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #8c6b1e; background: #eee4cd; font-family: var(--font-display); font-size: 1.15rem; }
.coach-choice-button strong { display: block; margin-bottom: 5px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1; }
.coach-choice-button small { display: block; color: #6b6d67; font-size: .76rem; line-height: 1.45; }
.coach-choice-arrow { color: #8c6b1e; font-size: 1.25rem; }
.coach-choice-programs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 28px 20px 38px;
  color: #a8afa9;
  font-size: .74rem;
}
.coach-choice-programs span + span::before { content: "·"; margin: 0 10px; color: #6f756f; }
.coach-choice-dialog {
  width: min(900px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #1a1c18;
  background: #f5f0e5;
  border: 0;
  border-radius: 1px;
  box-shadow: 0 34px 100px rgb(0 0 0 / .55);
}
.coach-choice-dialog::backdrop { background: rgb(4 7 5 / .84); backdrop-filter: blur(6px); }
.coach-choice-dialog-head {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 20px;
  background: rgb(245 240 229 / .98);
  border-bottom: 1px solid #d8cfbd;
}
.coach-choice-dialog-head .eyebrow { margin: 0 0 4px; }
.coach-choice-dialog-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.coach-choice-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: #262922;
  background: transparent;
  border: 1px solid #c9c0ae;
  border-radius: 1px;
  font-size: 1.55rem;
  line-height: 1;
}
.coach-choice-dialog-body { padding: 26px 28px 30px; }
.coach-choice-dialog .request-shell { grid-template-columns: 1fr; gap: 0; }
.coach-choice-dialog .request-aside { display: none; }
.coach-choice-dialog .step-track { margin-top: 0; }
.coach-choice-dialog .form-card { margin-bottom: 0; }
.coach-choice-dialog .form-card.reveal,
.coach-choice-dialog .step-track.reveal { opacity: 1; transform: none; }
.coach-funding-call-dialog { width: min(760px, calc(100vw - 32px)); }
.coach-funding-call-body > .lead { margin: 0 0 20px; color: #686b63; font-size: .95rem; }
.coach-funding-call-form { margin: 0; }
.coach-funding-call-form textarea { min-height: 92px; }
.coach-choice-page .coach-compliance { color: #6f716b; background: #f5f0e5; }

@media (max-width: 820px) {
  .coach-choice-hero { padding: 34px 0 88px; }
  .coach-choice-hero-grid { grid-template-columns: 1fr; }
  .coach-choice-grid { grid-template-columns: 1fr; }
  .coach-choice-button--preapproval { grid-column: auto; width: 100%; }
  .coach-choice-copy h1 { font-size: clamp(3.7rem, 14vw, 6rem); }
  .coach-choice-portrait { width: min(100%, 420px); justify-self: start; }
  .coach-choice-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .coach-choice-heading p { text-align: left; }
}

@media (max-width: 620px) {
  .squeeze-page .squeeze-header-context { display: none; }
  .coach-choice-hero { padding: 26px 0 72px; }
  .coach-choice-shell { width: calc(100% - 28px); margin-top: -48px; padding: 20px 16px; }
  .coach-choice-grid { grid-template-columns: 1fr; }
  .coach-choice-button { min-height: 104px; padding: 16px; }
  .coach-choice-copy h1 { font-size: clamp(3.15rem, 15.5vw, 4.35rem); }
  .coach-choice-copy .lead { font-size: .95rem; }
  .coach-choice-mobile-coach { display: block; margin: 14px 0 0; color: #d1ad5a; font-size: .78rem; letter-spacing: .04em; }
  .coach-choice-portrait { display: none; }
  .coach-choice-heading h2 { font-size: 1.85rem; }
  .coach-preapproval-row { align-items: stretch; flex-direction: column; }
  .coach-preapproval-row .btn { width: 100%; min-width: 0; }
  .coach-choice-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .coach-choice-dialog-head { padding: 18px 18px 15px; }
  .coach-choice-dialog-body { padding: 18px 14px 22px; }
  .coach-choice-dialog .form-card { padding: 20px 15px; }
}

.dynamic-coach-logo { max-width: 220px; max-height: 72px; margin: 0 0 18px; object-fit: contain; }
.dynamic-coach-error { max-width: 780px; padding-top: 96px; padding-bottom: 120px; text-align: center; }

/* Conditional pre-approval request. */
.preapproval-page {
  position: relative;
  overflow: clip;
  padding: clamp(26px, 4vw, 54px) 0 clamp(72px, 9vw, 128px);
  background:
    radial-gradient(circle at 5% 8%, rgb(209 173 90 / .22), transparent 28rem),
    radial-gradient(circle at 94% 12%, rgb(57 91 64 / .16), transparent 31rem),
    linear-gradient(135deg, #f4eddd 0%, #fbf8f0 48%, #eee8da 100%);
}
.preapproval-page::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgb(60 65 53 / .06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(60 65 53 / .06) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 76%);
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}
.preapproval-landing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: start;
}
.preapproval-landing > *,
.preapproval-form-card,
.preapproval-story,
.preapproval-confirmed { min-width: 0; }
.preapproval-story {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.5vw, 48px);
  color: #f5f0e5;
  background:
    radial-gradient(circle at 88% 4%, rgb(209 173 90 / .27), transparent 15rem),
    linear-gradient(145deg, #252a21 0%, #171a15 58%, #10120e 100%);
  border: 1px solid rgb(209 173 90 / .26);
  border-top: 5px solid #d1ad5a;
  box-shadow: 0 30px 70px rgb(28 31 24 / .2), inset 0 1px 0 rgb(255 255 255 / .06);
}
.preapproval-story::before {
  content: '';
  position: absolute;
  top: -82px;
  right: -72px;
  width: 230px;
  height: 230px;
  border: 1px solid rgb(209 173 90 / .26);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgb(209 173 90 / .05), 0 0 0 58px rgb(209 173 90 / .035);
}
.preapproval-story > * { position: relative; z-index: 1; }
.preapproval-story-brand { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }
.preapproval-story-brand img { width: 48px; height: 48px; object-fit: contain; filter: brightness(0) saturate(100%) invert(71%) sepia(28%) saturate(893%) hue-rotate(3deg) brightness(93%) contrast(88%); }
.preapproval-story-brand span { color: #e9dfc7; font: italic 700 .83rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.preapproval-story .eyebrow { color: #d1ad5a; }
.preapproval-story h1 { max-width: 10ch; margin: 8px 0 22px; color: #fffaf0; font-size: clamp(2.65rem, 3.55vw, 3.55rem); line-height: .91; }
.preapproval-story .lead { max-width: 37ch; margin: 0; color: #c9c7bc; font-size: clamp(.95rem, 1.15vw, 1.08rem); line-height: 1.68; }
.preapproval-assurances { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.preapproval-assurances span { padding: 8px 10px; color: #e7d8b5; background: rgb(209 173 90 / .08); border: 1px solid rgb(209 173 90 / .23); font-size: .65rem; font-weight: 700; letter-spacing: .05em; }
.preapproval-form-card {
  position: relative;
  scroll-margin-top: 96px;
  padding: clamp(26px, 4vw, 48px);
  background: rgb(255 253 248 / .96);
  border: 1px solid rgb(140 107 30 / .24);
  border-top: 5px solid var(--primary);
  box-shadow: 0 34px 84px rgb(45 48 38 / .18), 0 3px 12px rgb(45 48 38 / .07);
  backdrop-filter: blur(10px);
}
.preapproval-form-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: 18px;
  bottom: -14px;
  left: 18px;
  height: 28px;
  background: rgb(53 91 61 / .14);
  filter: blur(20px);
}
.preapproval-coach-note { margin: 0 0 24px; padding: 11px 14px; color: #435144; background: #eef1e7; border-left: 3px solid #536c52; font-size: .76rem; font-weight: 700; line-height: 1.5; }
.preapproval-progress { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 34px; padding: 0; list-style: none; border-bottom: 1px solid #ded7c7; }
.preapproval-progress li { display: grid; gap: 5px; position: relative; padding: 0 8px 16px; color: #8a8c84; }
.preapproval-progress li::after { content: ''; position: absolute; right: 0; bottom: -2px; left: 0; height: 3px; background: transparent; }
.preapproval-progress li.is-current::after,
.preapproval-progress li.is-complete::after { background: var(--primary); }
.preapproval-progress span { font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.preapproval-progress strong { font-size: .78rem; }
.preapproval-progress .is-current,
.preapproval-progress .is-complete { color: #1a1c18; }
.preapproval-stage[hidden] { display: none; }
.preapproval-stage h2:focus { outline: none; }
.preapproval-form-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.preapproval-form-heading h2 { max-width: 18ch; margin: 6px 0 0; color: #22271f; font-size: clamp(2rem, 3vw, 3rem); }
.preapproval-form-heading > p { max-width: 32ch; margin: 0; color: #686b63; font-size: .82rem; line-height: 1.55; }
.preapproval-contact-fields,
.preapproval-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.preapproval-contact-fields { margin-bottom: 18px; }
.preapproval-form-card .field input { background: #fffefb; border-color: #d7cfbe; box-shadow: inset 0 1px 0 rgb(28 31 24 / .03); }
.preapproval-form-card .field input:focus { background: #fff; border-color: #9b792d; box-shadow: 0 0 0 3px rgb(209 173 90 / .2); }
.preapproval-stage-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.preapproval-stage-actions .preapproval-submit { min-width: min(100%, 310px); }
.preapproval-report-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); gap: clamp(24px, 4vw, 54px); align-items: start; }
.preapproval-report-panel > div > p:first-child { margin-top: 0; color: #4f524b; line-height: 1.7; }
.preapproval-report-panel .btn { margin: 10px 0 16px; }
.preapproval-report-panel .fine { max-width: 60ch; }
.credit-report-instructions { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.credit-report-instructions li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.credit-report-instructions li > span { color: #8c6b1e; font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.credit-report-instructions strong { font-size: .86rem; }
.credit-report-instructions p { margin: 5px 0 0; color: #686b63; font-size: .75rem; line-height: 1.5; }
.preapproval-confirmation { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 16px 18px; color: #353831; background: #f1ecdf; border-left: 3px solid #8c6b1e; font-size: .8rem; line-height: 1.5; cursor: pointer; }
.preapproval-confirmation input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #8c6b1e; flex: 0 0 auto; }
.preapproval-upload { display: grid; justify-items: center; gap: 8px; padding: clamp(32px, 6vw, 62px) 24px; text-align: center; background: #fffdf8; border: 1px dashed #a89d87; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.preapproval-upload:hover,
.preapproval-upload:focus-within,
.preapproval-upload.has-file { background: #f4efe2; border-color: #8c6b1e; }
.preapproval-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.preapproval-upload-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; color: #fff; background: #8c6b1e; border-radius: 50%; font-size: 1.5rem; }
.preapproval-upload strong { max-width: 44ch; font-size: 1rem; overflow-wrap: anywhere; }
.preapproval-upload small { color: #73766f; font-size: .7rem; line-height: 1.5; }
.preapproval-fine-print { max-width: 105ch; margin: 18px 0 0; color: var(--fine-fg); font-size: .66rem; line-height: 1.6; }
.preapproval-stage .form-status { margin-top: 14px; }
.preapproval-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / .14); }
.preapproval-steps li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; min-width: 0; padding: 15px 0; border-bottom: 1px solid rgb(255 255 255 / .14); }
.preapproval-steps li > span { color: #d1ad5a; font-size: .65rem; font-weight: 700; letter-spacing: .15em; }
.preapproval-steps strong { color: #f5f0e5; font-size: .86rem; }
.preapproval-steps p { margin: 5px 0 0; color: #aaa99f; font-size: .75rem; line-height: 1.5; }
.preapproval-story-fine { margin: 24px 0 0; color: #85887f; font-size: .62rem; line-height: 1.58; }
.preapproval-confirmed { scroll-margin-top: 96px; max-width: 880px; margin-top: clamp(44px, 7vw, 88px); padding: clamp(34px, 6vw, 72px); text-align: center; background: #faf7f0; border: 1px solid var(--border); border-top: 4px solid #8c6b1e; }
.preapproval-confirmed-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; color: #fff; background: #355b3d; border-radius: 50%; font-size: 1.6rem; }
.preapproval-confirmed h2 { max-width: 17ch; margin: 8px auto 18px; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.preapproval-confirmed > p:not(.eyebrow):not(.fine) { max-width: 62ch; margin-inline: auto; color: #4f524b; line-height: 1.7; }
.preapproval-confirmed .fine { margin-top: 22px; }

@media (max-width: 1000px) {
  .preapproval-landing { grid-template-columns: 1fr; }
  .preapproval-story { padding: clamp(28px, 5vw, 46px); }
  .preapproval-story-brand { margin-bottom: 28px; }
  .preapproval-story h1 { max-width: 12ch; font-size: clamp(2.7rem, 7vw, 3.8rem); }
  .preapproval-story .lead { max-width: 62ch; }
}

@media (max-width: 760px) {
  .preapproval-page { padding-top: 16px; }
  .preapproval-story { padding: 24px 22px 28px; }
  .preapproval-story-brand { margin-bottom: 18px; }
  .preapproval-story-brand img { width: 40px; height: 40px; }
  .preapproval-story h1 { margin-bottom: 16px; font-size: clamp(2.4rem, 10.5vw, 3rem); }
  .preapproval-story .lead { line-height: 1.58; }
  .preapproval-assurances { margin: 20px 0 22px; }
  .preapproval-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preapproval-story-fine { margin-top: 18px; }
  .preapproval-form-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .preapproval-form-card { padding-inline: 20px; }
  .preapproval-contact-fields, .preapproval-fields, .preapproval-report-panel { grid-template-columns: 1fr; }
  .preapproval-progress li { padding-inline: 4px; }
  .preapproval-progress strong { font-size: .68rem; }
  .preapproval-stage-actions { align-items: stretch; flex-direction: column-reverse; }
  .preapproval-stage-actions .btn { width: 100%; min-height: auto; white-space: normal; }
}
