/* Fonts are hosted on our own site (13 Nov 2026), not loaded from Google, so no visitor
   data goes to a third party. Latin subset, woff2. Licenses: assets/fonts/OFL-*.txt */
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/lato-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/lato-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("../fonts/lato-900.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/montserrat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   One Infinity Mortgage
   Brand colors sampled from OneInfinityMortgage.png.
   Layout/typography direction follows Fixa: floating pill nav, oversized
   display type with an italic-serif accent word, sections as large rounded
   panels floating on a dark page, calm scroll-reveal motion.
   ========================================================================== */

:root {
  /* Brand - exact values from OIMBrandBoard.png */
  --navy:        #0B2D48;   /* Navy          - trust, strength, stability */
  --navy-deep:   #061B2C;   /* page bed behind the floating panels */
  --navy-700:    #16496F;
  --blue:        #2F87C8;   /* Infinity Blue - accents + LARGE text only (3.87:1) */
  --blue-ink:    #266CA0;   /* links/small text; passes on white, Soft White AND Modern Gray */
  --blue-050:    #E8F2FA;
  --gold:        #C49A4A;   /* Signature Gold - rules, and text on navy (5.44:1) */
  --gold-ink:    #7D632F;   /* gold text on any light surface incl. Modern Gray cards */

  /* Neutrals - Modern Gray + Soft White from the brand board */
  --ink:         #10283F;
  --slate:       #56677A;
  --slate-300:   #C2CAD3;
  --slate-100:   #E4E7EB;   /* Modern Gray */
  --paper:       #FFFFFF;
  --panel:       #F8F9FA;   /* Soft White */
  --panel-card:  #E4E7EB;   /* Modern Gray */

  /* Type */
  --font-head:   "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-serif:  "Instrument Serif", Georgia, serif;
  --font-body:   "Lato", "Segoe UI", system-ui, sans-serif;

  /* Shape + motion */
  --wrap: 1200px;
  --radius: 12px;
  --radius-lg: 24px;
  --panel-radius: clamp(28px, 4vw, 52px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-pill: 0 2px 10px rgba(6,27,44,.10), 0 10px 40px rgba(6,27,44,.14);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* The header floats above the page, so anything scrolled to needs clearance
   or it lands underneath the pill. */
:target, h1, h2, h3, section[id] { scroll-margin-top: calc(var(--header-h) + 28px); }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

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

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--navy); color: #fff; padding: .8rem 1.4rem;
  z-index: 300; font-weight: 600; text-decoration: none; border-radius: 0 0 12px 12px;
}
.skip-link:focus { top: 0; color: #fff; }

/* ------------------------------------------------------- display type ---- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -.03em;
  line-height: 1.04;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 7.2vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.9rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; line-height: 1.25; }
h4 { font-size: 1.0625rem; letter-spacing: -.01em; }

/* the Fixa move: one word in italic serif */
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  padding-right: .06em;
}

p { margin: 0 0 1.1rem; max-width: 66ch; }
p:last-child { margin-bottom: 0; }

.kicker {
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-ink);
  display: block; margin: 0 0 1.25rem;
}
.kicker--on-dark { color: rgba(255,255,255,.72); }

.lede { font-size: clamp(1.0625rem, 1.5vw, 1.3rem); color: var(--slate); max-width: 56ch; }

.rule { width: 48px; height: 3px; border: 0; background: var(--gold); margin: 0 0 1.75rem; }

/* ------------------------------------------------------------- layout ---- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }

/* Sections are large rounded panels floating on the dark page bed */
.section {
  background: var(--panel);
  border-radius: var(--panel-radius);
  padding: clamp(4rem, 9vw, 8.5rem) 0;
  margin: 0 clamp(8px, 1.2vw, 18px) clamp(8px, 1.2vw, 18px);
  position: relative;
}
.section--alt   { background: var(--paper); }
.section--navy  { background: var(--navy); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }

main > .section:first-child { margin-top: clamp(8px, 1.2vw, 18px); }

.section-head { max-width: 900px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .rule { margin-inline: auto; }

.grid { display: grid; gap: clamp(14px, 1.4vw, 20px); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
/* explicit pairs: auto-fit would give 3 + 1 orphan for a four-card set */
.grid--pairs { grid-template-columns: 1fr; }
@media (min-width: 880px) { .grid--pairs { grid-template-columns: repeat(2, 1fr); } }

/* ----------------------------------------------------- floating pill nav -- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; justify-content: center;
  padding: clamp(12px, 1.6vw, 20px);
  pointer-events: none;
}
.header-bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.25rem);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-radius: 999px;
  box-shadow: var(--shadow-pill);
  padding: .5rem .6rem .5rem 1.35rem;
  max-width: calc(100vw - 2 * clamp(12px, 1.6vw, 20px));
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: clamp(38px, 3.3vw, 48px); width: auto; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.primary-nav a {
  display: block;
  font-family: var(--font-body);
  font-size: .875rem; font-weight: 600; letter-spacing: -.005em;
  color: var(--ink); text-decoration: none;
  padding: .5rem .72rem; border-radius: 999px;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.primary-nav a:hover { background: rgba(10,32,58,.07); }
.primary-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

.header-cta { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--navy); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: .875rem;
  text-decoration: none; padding: .62rem 1.1rem; border-radius: 999px;
  white-space: nowrap;
  transition: background .2s var(--ease);
}
.header-phone:hover { background: var(--blue-ink); color: #fff; }
/* Gold Apply Now beside the phone number (13 Nov 2026). Navy text on gold, never white.
   Phones use the bottom bar instead. */
.header-apply {
  display: inline-flex; align-items: center;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-body); font-weight: 700; font-size: .875rem;
  text-decoration: none; padding: .62rem 1.1rem; border-radius: 999px;
  white-space: nowrap; transition: background .2s var(--ease);
}
.header-apply:hover { background: #D5AE62; color: var(--navy); }
.header-apply:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 760px) { .header-apply { display: none; } }

.nav-toggle {
  display: none;
  background: var(--navy); color: #fff; border: 0;
  width: 42px; height: 42px; border-radius: 999px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { display: block; }

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

.hero {
  position: relative;
  min-height: min(96vh, 900px);
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  border-radius: var(--panel-radius);
  margin: clamp(8px, 1.2vw, 18px);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; background: var(--navy); z-index: -2; overflow: hidden; container-type: size; }

/* Slow pan across Terry's full aerial (30 Oct 2026), from downtown on the
   right (east) to the river on the left (west). The photo is about 2:1, so
   it is sized taller than the hero and at least 140% of its width, leaving
   room to travel. On a phone the whole panorama glides past, which replaced
   the old portrait crop. cq units are the hero's own width and height. */
.hero__pan {
  position: absolute; top: 50%; left: 0; max-width: none;
  height: max(125cqh, calc(140cqw / 2.0072)); width: auto;
  transform: translate(calc(-100% + 100cqw), -50%);
  animation: heroPan 40s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroPan {
  from { transform: translate(calc(-100% + 100cqw), -50%); }
  to   { transform: translate(0, -50%); }
}
@media (max-width: 760px) { .hero__pan { animation-duration: 60s; } }
.hero.is-paused .hero__pan { animation-play-state: paused; }

/* Pause control: moving content that runs longer than 5 seconds needs one (WCAG 2.2.2) */
.hero__pause {
  position: absolute; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(6,27,44,.55); border: 1px solid rgba(255,255,255,.45);
  transition: background .2s var(--ease);
}
.hero__pause:hover { background: rgba(6,27,44,.8); }
.hero__pause:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero__pause .i-play, .hero.is-paused .hero__pause .i-pause { display: none; }
.hero.is-paused .hero__pause .i-play { display: block; }
/* Photo toned well down (19 Oct 2026) so the logo stands out: a stronger navy
   wash, a softer pool behind the logo, and the photo slightly desaturated. */
.hero__media { filter: saturate(.75); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 42%, rgba(6,27,44,.45) 0%, rgba(6,27,44,0) 100%),
    linear-gradient(180deg, rgba(6,27,44,.74) 0%, rgba(6,27,44,.62) 40%, rgba(6,27,44,.84) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: clamp(6.5rem, 14vh, 10rem) 0 clamp(4.5rem, 10vh, 7rem); }
.hero h1 {
  color: #fff;
  max-width: 16ch; margin-inline: auto; margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(6,27,44,.35);
}
/* The company name leads: reverse logo as the page's h1 */
.hero__brand { max-width: none; margin: 0 auto clamp(1rem, 2.4vh, 1.6rem); line-height: 0; }
.hero__brand img {
  display: block; width: min(700px, 86vw); height: auto; margin-inline: auto;
  filter: drop-shadow(0 6px 28px rgba(6,27,44,.55));
}
.hero p.hero__what {
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  font-size: clamp(.8rem, 1.15vw, 1rem); letter-spacing: .18em; color: #fff;
  max-width: none; margin: 0 auto clamp(1.75rem, 4vh, 2.75rem);
}
.hero__dot { color: var(--gold); margin: 0 .35em; }
@media (max-width: 600px) {
  .hero__dot { display: none; }
  .hero__where { display: block; margin-top: .35em; }
}
.hero p.hero__headline {
  font-family: var(--font-head); font-weight: 700; color: #fff;
  font-size: clamp(1.55rem, 3.1vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em;
  max-width: 30ch; margin: 0 auto 1rem;
}
.hero p {
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  max-width: 44ch; margin-inline: auto;
  text-shadow: 0 1px 16px rgba(6,27,44,.4);
}

/* bottom-anchored CTA bar, Fixa style */
.hero__bar {
  /* Centred with auto margins, NOT translateX: the reveal animation owns
     `transform`, and a translateX here would be wiped out by it. */
  position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vh, 44px);
  margin-inline: auto;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .75rem;
  width: fit-content; max-width: min(880px, calc(100% - 32px));
  background: rgba(6,27,44,.58);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .5rem .5rem .5rem 1.5rem;
}
.hero__bar p { color: rgba(255,255,255,.94); font-size: .9375rem; margin: 0; max-width: none; }

/* interior page banner, same language as hero */
.page-banner {
  background: var(--navy);
  color: #fff;
  border-radius: var(--panel-radius);
  margin: clamp(8px, 1.2vw, 18px);
  padding: clamp(8rem, 16vh, 12rem) 0 clamp(4rem, 8vw, 6.5rem);
  text-align: center;
}
.page-banner h1 { color: #fff; max-width: 18ch; margin-inline: auto; }
.page-banner p { color: rgba(255,255,255,.78); max-width: 50ch; margin-inline: auto; font-size: 1.1875rem; }
.page-banner .kicker { color: rgba(255,255,255,.6); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: .9375rem; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue-ink); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--slate-300); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
/* Signature Gold button: navy text on gold is 5.44:1. Never white text on gold. */
.btn--gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn--gold:hover { background: #D6B068; color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.75); }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--xl { font-size: clamp(1.0625rem, 1.3vw, 1.2rem); padding: 1.05rem 2.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: clamp(1.75rem, 4vh, 2.6rem); }
.hero__cta .btn--gold { box-shadow: 0 10px 30px rgba(196,154,74,.35); }
.btn--on-dark { background: #fff; color: var(--navy); }
.btn--on-dark:hover { background: var(--gold); color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

.textlink {
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  color: var(--blue-ink); display: inline-flex; align-items: center; gap: .4rem;
}
.textlink::after { content: "\2192"; transition: transform .22s var(--ease); }
.textlink:hover::after { transform: translateX(5px); }

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

.card {
  background: var(--panel-card);
  border: 0; border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.4vw, 2.25rem);
  min-height: clamp(300px, 34vw, 420px);
  display: flex; flex-direction: column;
  transition: background .25s var(--ease), transform .3s var(--ease);
}
.section--alt .card { background: var(--panel); }
.card:hover { background: #D9DCE0; transform: translateY(-4px); }
.card__num {
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em;
  color: var(--gold-ink);
  margin: 0 0 auto;              /* pins the number top, text bottom */
  display: block;
}
.card h3 { margin: 2.5rem 0 .6rem; }
.card p { color: var(--slate); font-size: .9875rem; margin-bottom: 1.1rem; }
.card .textlink { margin-top: auto; }

/* process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.2vw, 16px); }
.step {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: var(--panel-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
}
.section--alt .step { background: var(--panel); }
.step__num {
  font-family: var(--font-body); font-weight: 700; font-size: .8125rem; letter-spacing: .1em;
  color: var(--gold-ink); flex-shrink: 0; padding-top: .35rem; min-width: 34px;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--slate); margin: 0; }

.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--slate); }
.checks li::before { content: "\2713"; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.section--navy .checks li { color: rgba(255,255,255,.88); }
.section--navy .checks li::before { color: var(--gold); }

/* ----------------------------------------------------------- CTA band ---- */

.cta-band {
  background: var(--navy); color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 4.5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.6rem); margin: 0 0 .5rem; }
.cta-band p { color: rgba(255,255,255,.76); margin: 0; }
.cta-band__text { flex: 1 1 360px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.home-areas { color: rgba(255,255,255,.85); margin: 2rem 0 0; }
.home-areas a { color: #fff; font-weight: 700; }

/* Phone bar: Call and Apply pinned to the bottom of the screen on phones (13 Nov 2026).
   On the home page it waits until the hero's own buttons have scrolled away. */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: flex; gap: .5rem; position: fixed; z-index: 150;
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: .45rem; border-radius: 999px;
    background: rgba(11,45,72,.97); box-shadow: 0 10px 30px rgba(6,27,44,.35);
    transform: translateY(160%); transition: transform .35s var(--ease);
  }
  .mobile-cta.is-shown { transform: none; }
  .mobile-cta .btn { flex: 1 1 0; justify-content: center; text-align: center; padding: .7rem .9rem; font-size: .9375rem; }
  body { padding-bottom: 84px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* --------------------------------------------------------- calculator ---- */

.calc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.82fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.calc__form { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.6rem, 2.4vw, 2.25rem); }
.section--alt .calc__form { background: var(--panel); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: .45rem; }
.field input, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1.0625rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--slate-300); border-radius: var(--radius); background: #fff;
}
.field input:focus, .field select:focus { border-color: var(--blue); outline: 3px solid var(--blue-050); }
.field__hint { font-size: .875rem; color: var(--slate); margin: .4rem 0 0; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 1rem; }
.calc__group { font-size: 1.05rem; margin: 0 0 1rem; }
.calc__group:not(:first-child) { margin-top: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--slate-300); }
.calc__group-note { margin: -.5rem 0 1.1rem; }

.calc__out { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 2.4vw, 2.25rem); position: sticky; top: calc(var(--header-h) + 24px); }
.calc__out h3 { color: rgba(255,255,255,.72); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; font-weight: 600; font-family: var(--font-body); }
.calc__figure { font-family: var(--font-head); font-size: clamp(2.6rem, 5.5vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1; margin: .25rem 0 1.75rem; }
.calc__rows { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.calc__rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .9375rem; color: rgba(255,255,255,.74); }
.calc__rows strong { color: #fff; }
.calc__note { font-size: .8125rem; color: rgba(255,255,255,.6); margin: 0; line-height: 1.55; }
.calc__share { font-size: .9375rem; color: #fff; margin: -.5rem 0 1.5rem; padding-left: .85rem; border-left: 3px solid var(--gold); }
.calc__rows--small li { font-size: .875rem; padding: .6rem 0; }

.disclaimer-box { background: var(--panel-card); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2vw, 1.9rem); margin-top: clamp(16px, 2vw, 28px); }
.section--alt .disclaimer-box { background: var(--panel); }
.disclaimer-box h3 { margin-bottom: .5rem; }
.disclaimer-box p { font-size: .9375rem; color: var(--slate); margin: 0; }

/* ---------------------------------------------------------------- team ---- */

.team-grid { display: grid; gap: clamp(14px, 1.4vw, 20px); grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.member { background: var(--panel-card); border-radius: var(--radius-lg); padding: clamp(1.75rem, 2.4vw, 2.25rem); text-align: left; transition: background .25s var(--ease), transform .3s var(--ease); }
.section--alt .member { background: var(--panel); }
.member:hover { background: #D9DCE0; transform: translateY(-4px); }
.member__avatar {
  width: 56px; height: 56px; margin: 0 0 1.75rem;
  border-radius: 999px; background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em;
}
.member__photo {
  display: block; width: 112px; height: 112px; margin: 0 0 1.5rem;
  border-radius: 999px; object-fit: cover; object-position: center 30%;
  background: var(--slate-100);
  box-shadow: 0 0 0 4px var(--panel), 0 8px 24px rgba(6,27,44,.16);
}
.section--alt .member__photo { box-shadow: 0 0 0 4px var(--paper), 0 8px 24px rgba(6,27,44,.16); }
.member__contact a { overflow-wrap: anywhere; }
.member h3 { margin-bottom: .25rem; }
.member__role { color: var(--blue-ink); font-weight: 600; font-size: .9375rem; margin: 0 0 .2rem; }
.member__nmls { color: var(--slate); font-size: .875rem; margin: 0 0 .9rem; }
.member__cred {
  color: var(--navy);
  font-size: .8125rem; line-height: 1.5;
  margin: 0 0 1.35rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(11,45,72,.16);
}
.member__contact { display: grid; gap: .45rem; justify-items: start; }
.member__contact a { font-size: .9375rem; font-weight: 600; text-decoration: none; }
.member__contact a:hover { text-decoration: underline; }

/* Photo credit under a licensed photo (required by CC BY-SA) */
.photo-credit { margin: 0; }
/* Kept small on purpose (Glenda, 13 Nov 2026). CC BY-SA sets no size, only a credit that is
   reasonable for the medium. Contrast must still pass 4.5:1. */
.photo-credit figcaption { margin-top: .4rem; font-size: .625rem; line-height: 1.4; color: var(--slate); }
.photo-credit figcaption a { color: var(--slate); }

/* Area page photo: a wide band at the top of the first section */
.area-photo { margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem); }
.area-photo img { width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 760px) { .area-photo img { aspect-ratio: 2 / 1; } }
.area-photo figcaption { margin-top: .4rem; font-size: .625rem; line-height: 1.4; color: var(--slate); }
.area-photo figcaption a { color: var(--slate); }

/* ------------------------------------------------- loan finder quiz ---- */
.hero p.hero__quiz { margin: 1.1rem auto 0; font-size: .9375rem; }
.hero p.hero__quiz a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.quiz-wrap { max-width: 820px; }
.quiz__progress { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 1.25rem; }
.quiz__q { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; scroll-margin-top: 120px; }
.quiz__q legend { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 1rem; padding: 0; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: .65rem; }
.quiz__opt { position: relative; display: block; cursor: pointer; }
.quiz__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz__opt span {
  display: block; height: 100%; padding: .95rem 1.1rem; border: 1px solid var(--slate-300); border-radius: 14px;
  background: #fff; color: var(--navy); font-weight: 700;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.quiz__opt:hover span { border-color: var(--navy); }
.quiz__opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.quiz__opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.quiz__results { background: var(--panel-card); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); scroll-margin-top: 110px; }
.quiz__results h2 { margin: 0 0 1.25rem; }
.quiz__list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .75rem; }
.quiz__list li { background: #fff; border-radius: 14px; padding: 1rem 1.2rem; }
.quiz__list h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.quiz__list h3 a { color: var(--navy); text-decoration: none; }
.quiz__list h3 a:hover { text-decoration: underline; }
.quiz__list p { margin: 0; color: var(--slate); font-size: .9375rem; }
.quiz__note { font-size: .875rem; color: var(--slate); }

/* ------------------------------------------------------------ guides ---- */
.guide { max-width: 760px; }
.guide h2 { margin-top: 2.25rem; }
.guide__note { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--slate-300); font-size: .875rem; color: var(--slate); }

/* ------------------------------------------------- loan officer pages ---- */
.profile {
  display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--panel-card); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.75rem);
}
@media (max-width: 700px) { .profile { grid-template-columns: 1fr; justify-items: start; } }
.profile__photo {
  display: block; width: 100%; max-width: 200px; height: auto; aspect-ratio: 1;
  border-radius: 999px; object-fit: cover; object-position: center 30%;
  box-shadow: 0 0 0 6px var(--paper), 0 12px 32px rgba(6,27,44,.18);
}
.profile__info h2 { margin: 0 0 1rem; }
.profile__facts { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--slate-300); }
.profile__facts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--slate-300); font-size: .9375rem; }
.profile__facts span { color: var(--slate); }
.profile__facts strong, .profile__facts a { color: var(--navy); font-weight: 700; overflow-wrap: anywhere; }

/* ----------------------------------------------------------------- faq ---- */

.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--slate-300); background: transparent; }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.6rem 3.5rem 1.6rem 0;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  letter-spacing: -.01em; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 300; color: var(--blue); line-height: 1;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq__body { padding: 0 3.5rem 1.6rem 0; }
.faq .faq__body p { color: var(--slate); margin: 0; }

/* ------------------------------------------------------- contact panel ---- */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(16px, 2vw, 28px); }
.contact-card { background: var(--panel-card); border-radius: var(--radius-lg); padding: clamp(1.75rem, 2.6vw, 2.5rem); }
.section--alt .contact-card { background: var(--panel); }
.contact-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 1.2rem; }
.contact-list dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: .25rem; }
.contact-list dd { margin: 0; font-size: 1.0625rem; }
.contact-list dd a { font-weight: 600; text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }
.contact-big { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy); text-decoration: none; }
.contact-big:hover { color: var(--blue-ink); }

/* -------------------------------------------------------------- prose ---- */

.prose { max-width: 70ch; }
.prose h2 { margin-top: 3rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.25rem; }
.prose ul, .prose ol { color: var(--slate); padding-left: 1.3rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose p { color: var(--slate); }
.prose strong { color: var(--ink); }

.notice { background: #F6EFE2; border-radius: var(--radius-lg); padding: 1.4rem 1.7rem; margin: 0 0 2rem; }
.notice p { color: #6B4E22; margin: 0; font-size: .9375rem; }
.notice strong { color: #4A3614; }

/* ------------------------------------------------------------- footer ---- */

.site-footer {
  background: var(--navy); color: rgba(255,255,255,.72);
  border-radius: var(--panel-radius);
  margin: 0 clamp(8px, 1.2vw, 18px) clamp(8px, 1.2vw, 18px);
  padding: clamp(3.5rem, 7vw, 6rem) 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 3.5rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer p { font-size: .9375rem; margin-bottom: .9rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-logo { background: #fff; border-radius: var(--radius); padding: .8rem 1rem; display: inline-block; margin-bottom: 1.4rem; }
.footer-logo img { height: 34px; width: auto; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .9375rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.75rem 0; display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; font-size: .8125rem; }
.footer-bottom p { margin: 0; }
.eho { display: flex; align-items: flex-start; gap: .85rem; margin-top: 1.25rem; }
.eho svg { flex-shrink: 0; }
.eho span { font-size: .8125rem; line-height: 1.5; }

/* -------------------------------------------------------- calm motion ---- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

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

@media (max-width: 1240px) { .primary-nav a { padding: .5rem .58rem; font-size: .84rem; } }
@media (max-width: 1080px) { .header-phone span { display: none; } .header-phone { padding: .62rem .8rem; } }

/* The menu folds into the drawer at 1180px and below: with Areas, Guides and the gold
   Apply button, the full menu no longer fits the top bar below that (13 Nov 2026). */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-bar { padding: .5rem .6rem .5rem 1.1rem; gap: .6rem; }

  .primary-nav {
    position: fixed; top: calc(var(--header-h) + 14px); right: clamp(12px,1.6vw,20px);
    width: min(330px, calc(100vw - 2 * clamp(12px,1.6vw,20px)));
    background: rgba(255,255,255,.98);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-radius: 28px; box-shadow: var(--shadow-pill);
    padding: .75rem; z-index: 201;
    opacity: 0; transform: translateY(-10px) scale(.97); visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .primary-nav[data-open="true"] { opacity: 1; transform: none; visibility: visible; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .primary-nav a { font-size: .9375rem; padding: .8rem 1rem; border-radius: 16px; }

  .nav-backdrop { position: fixed; inset: 0; background: rgba(6,27,44,.4); opacity: 0; pointer-events: none; transition: opacity .28s var(--ease); z-index: 199; }
  .nav-backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }
}

@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
  .calc__out { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 260px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero { min-height: 92vh; }
  .hero__inner { padding-bottom: 5.5rem; } /* room for the pause button under the stacked buttons */
  .hero__bar { flex-direction: column; gap: .6rem; padding: 1rem; border-radius: 26px; width: calc(100% - 32px); }
  .hero__bar p { text-align: center; }
  .hero__bar .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: .75rem; }
  .card h3 { margin-top: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  /* Hold the pan still, centred on the bridges */
  .hero__pan { animation: none; transform: translate(calc(-50% + 50cqw), -50%); }
  .hero__pause { display: none; }
}

@media print {
  body { background: #fff; }
  .site-header, .site-footer, .nav-backdrop, .btn, .hero__bar { display: none !important; }
  .section, .hero, .page-banner { margin: 0; border-radius: 0; background: #fff !important; color: #000 !important; }
}

/* ------------------------------------------------------- app showcase ---- */

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .74fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
/* Portal not live yet: single centred column, no store badges or phone frame */
.app-showcase--soon { display: block; max-width: 64ch; margin-inline: auto; text-align: center; }
.app-showcase--soon .checks { justify-content: center; text-align: left; width: fit-content; margin-inline: auto; }
.app-showcase--soon a { color: #fff; font-weight: 700; }
.app-showcase .kicker { color: var(--gold); }
.app-showcase h2 { color: #fff; }
.app-showcase p  { color: rgba(255,255,255,.8); }

.store-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.store-btn {
  display: inline-flex; align-items: center; gap: .65rem;
  background: #fff; color: var(--navy);
  border-radius: 14px; padding: .7rem 1.25rem;
  text-decoration: none; transition: background .22s var(--ease);
}
.store-btn:hover { background: var(--gold); color: var(--navy); }
.store-btn svg { flex-shrink: 0; }
.store-btn span { display: block; line-height: 1.15; }
.store-btn .store-btn__sm  { font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.store-btn .store-btn__lg  { font-family: var(--font-head); font-weight: 700; font-size: .9375rem; letter-spacing: -.01em; }
.store-btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* CSS phone frame - holds its shape before real screenshots exist */
.phone {
  width: min(280px, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 19;
  background: linear-gradient(170deg, #1B4A6E 0%, #0B2D48 100%);
  border-radius: 38px;
  padding: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.14);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; left: 50%; top: 20px; transform: translateX(-50%);
  width: 86px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.26); z-index: 2;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 29px;
  background: var(--panel);
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .9rem; padding: 2rem 1.25rem; text-align: center;
}
/* Scoped to .phone__shot only - a blanket `img` rule here was stretching
   the placeholder logo to fill the whole screen. */
.phone__screen .phone__shot { width: 100%; height: 100%; object-fit: cover; border-radius: 29px; }
.phone__screen .phone__logo { width: 72%; height: auto; opacity: .85; }
.phone__note {
  font-size: .78rem; color: var(--slate); line-height: 1.45; margin: 0; max-width: 22ch;
}

@media (max-width: 860px) {
  .app-showcase { grid-template-columns: 1fr; }
  .phone { width: min(240px, 72%); }
}

/* --------------------------------------------------- hero: live sky ------ */
/* Motion is layered OVER the photograph rather than trying to animate pixels
   baked into it. Everything here is calm and slow by design. */

.hero__sky {
  position: absolute; inset: 0 0 auto 0;
  height: 62%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}

/* Soft drifting haze. The layer is 200% wide and travels exactly -50%,
   so the loop is seamless. */
.hero__clouds {
  position: absolute; inset: 0;
  width: 200%;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  background-image:
    radial-gradient(ellipse 18% 42% at 8%  38%, rgba(255,255,255,.26) 0%, transparent 70%),
    radial-gradient(ellipse 13% 32% at 26% 22%, rgba(255,255,255,.20) 0%, transparent 72%),
    radial-gradient(ellipse 22% 38% at 44% 46%, rgba(255,255,255,.16) 0%, transparent 70%),
    radial-gradient(ellipse 15% 30% at 66% 26%, rgba(255,255,255,.22) 0%, transparent 72%),
    radial-gradient(ellipse 19% 40% at 86% 42%, rgba(255,255,255,.18) 0%, transparent 70%);
  animation: cloudDrift 90s linear infinite;
}
@keyframes cloudDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* Gulls. Two different wing positions, because four identical silhouettes
   read as a repeated letter rather than as birds. The outer span glides,
   the inner span flaps - two transforms can't live on one element. */
.hero__birds { position: absolute; inset: 104px 0 0 0; pointer-events: none; }
.bird {
  position: absolute;
  color: rgba(255,255,255,.66);
  animation-name: birdGlide;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}
.bird__wing { display: block; transform-origin: 50% 40%; }
.bird svg { display: block; width: 100%; height: auto; fill: currentColor; }

.bird--flap .bird__wing {
  animation: wingFlap 1.1s ease-in-out infinite;
}

.bird--1 { top: 21%; width: 30px; animation-duration: 58s; animation-delay:  -4s; }
.bird--2 { top: 28%; width: 20px; animation-duration: 74s; animation-delay: -22s; opacity: .82; }
.bird--3 { top: 17%; width: 24px; animation-duration: 66s; animation-delay: -41s; opacity: .9; }
.bird--4 { top: 34%; width: 15px; animation-duration: 88s; animation-delay: -57s; opacity: .7; }

.bird--1 .bird__wing { animation-duration: 1.05s; }
.bird--3 .bird__wing { animation-duration: 1.45s; }

@keyframes wingFlap {
  0%, 100% { transform: scaleY(1); }
  45%      { transform: scaleY(.42); }
  60%      { transform: scaleY(.55); }
}

@keyframes birdGlide {
  from { transform: translate3d(-12vw, 0, 0); }
  50%  { transform: translate3d(50vw, -2.2vh, 0); }
  to   { transform: translate3d(112vw, 1.4vh, 0); }
}

/* a slow travelling glint along the bridge line, standing in for traffic */
.hero__bridge-light {
  position: absolute; left: 0; right: 0; top: 46%;
  height: 26%;
  pointer-events: none;
  background: linear-gradient(104deg, transparent 0%, transparent 42%,
              rgba(255,255,255,.07) 50%, transparent 58%, transparent 100%);
  background-size: 260% 100%;
  animation: bridgeGlint 17s ease-in-out infinite;
}
@keyframes bridgeGlint {
  0%, 12%  { background-position: 150% 0; }
  88%,100% { background-position: -50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__clouds, .bird, .bird__wing, .hero__bridge-light { animation: none !important; }
  .bird { opacity: 0; }
}
@media (max-width: 760px) {
  .bird--2, .bird--4 { display: none; }   /* keep it calm on a small screen */
  .hero__sky { height: 52%; }
}

/* ----------------------------------------------------------- stat row ---- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin: clamp(2.5rem, 4vw, 3.5rem) 0 0;
  padding: 0; list-style: none;
}
.stat {
  border-top: 2px solid rgba(255,255,255,.22);
  padding-top: 1.1rem;
}
.stat__fig {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1;
  color: #fff; margin-bottom: .45rem;
}
.stat__label { color: rgba(255,255,255,.72); font-size: .9375rem; margin: 0; }
.section--navy .stat { border-top-color: rgba(255,255,255,.22); }

/* Light-surfaced components sitting inside a navy panel must keep dark text.
   The .section--navy colour rules would otherwise turn card headings and the
   phone placeholder white-on-light, i.e. invisible. */
.section--navy .card h3,
.section--navy .phone__screen h3 { color: var(--navy); }

.section--navy .card p,
.section--navy .phone__screen p,
.section--navy .phone__note { color: var(--slate); }

.section--navy .card .textlink { color: var(--blue-ink); }

/* --------------------------------------------- GLBA model privacy form ---- */

.privacy-table { width: 100%; border-collapse: collapse; margin: 0 0 2rem; font-size: .9375rem; }
.privacy-table caption {
  text-align: left; font-family: var(--font-head); font-weight: 700;
  color: var(--navy); font-size: 1.0625rem; padding-bottom: .75rem;
}
.privacy-table th, .privacy-table td {
  border: 1px solid var(--slate-300);
  padding: .8rem .9rem; text-align: left; vertical-align: top;
}
.privacy-table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.privacy-table tbody th { font-weight: 600; color: var(--ink); background: var(--panel); }
.privacy-table td { color: var(--slate); }
.privacy-table td[data-answer] { font-weight: 700; color: var(--navy); white-space: nowrap; }
.privacy-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.needs-review {
  background: #FDF3E3;
  border: 2px dashed #C49A4A;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 0 0 2.5rem;
}
.needs-review p { color: #6B4E22; margin: 0 0 .7rem; }
.needs-review p:last-child { margin-bottom: 0; }
.needs-review strong { color: #4A3614; }

/* ------------------------------------------------------ social proof ---- */
/* Gold stars only via --gold-ink on light surfaces (gold on white is 2.6:1). */

.stars { color: var(--gold-ink); letter-spacing: .12em; font-size: 1.05rem; line-height: 1; display: block; }
.section--navy .stars { color: var(--gold); }

.proof-strip {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.proof { border-top: 2px solid var(--slate-100); padding-top: 1.1rem; }
.proof__link { display: block; text-decoration: none; color: inherit; }
.proof__fig {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.1;
  color: var(--navy); margin: .45rem 0 .35rem;
}
.proof__label { display: block; color: var(--slate); font-size: .9375rem; }
.proof__label .stars { display: inline; font-size: .95rem; margin-right: .3rem; letter-spacing: .08em; }
.proof__more { color: var(--blue-ink); font-weight: 700; white-space: nowrap; margin-left: .35rem; }
.proof__more::after { content: " \2192"; }
.proof__link:hover .proof__more { text-decoration: underline; }

.proof-cards { align-items: stretch; }
.proof-card {
  background: var(--panel); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: .85rem;
}
.proof-card .kicker { margin: 0; color: var(--gold-ink); }
.proof-card__fig {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: clamp(3rem, 7vw, 5rem); letter-spacing: -.04em; line-height: 1;
}
.proof-card__fig--sm { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.proof-card p { color: var(--slate); margin: 0; }
.proof-card .btn { margin-top: auto; }

.review-grid {
  margin-top: clamp(14px, 2vw, 24px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.review { margin: 0; background: var(--panel); border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.4vw, 2.1rem); display: flex; flex-direction: column; gap: .9rem; }
.review blockquote { margin: 0; }
.review blockquote p { color: var(--ink); }
.review figcaption { color: var(--slate); font-size: .875rem; margin-top: auto; }
.review-note { color: var(--slate); font-size: .875rem; margin-top: 1.5rem; max-width: 70ch; }

/* Very small phones (320px): let long display words hyphenate instead of
   pushing the page sideways ("straightforward" on Loan Process). */
@media (max-width: 400px) {
  h1, h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
}

.review details { margin-top: .6rem; }
.review summary { cursor: pointer; color: var(--blue-ink); font-weight: 700; font-size: .9375rem; list-style: none; }
.review summary::-webkit-details-marker { display: none; }
.review summary::after { content: " \2193"; }
.review details[open] summary { margin-bottom: .6rem; }
.review details[open] summary::after { content: " \2191"; }

.review__note { display: block; margin-top: .3rem; font-style: italic; }

@media (max-width: 600px) {
  .hero__cta { flex-direction: column; align-items: stretch; width: min(360px, 100%); margin-inline: auto; }
}

/* ------------------------------------------------------ why a broker ---- */
.callout {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -.02em;
  max-width: 34ch; margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding-left: 1.25rem; border-left: 4px solid var(--gold);
}
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(14px, 2vw, 24px); margin-bottom: 2rem; }
.point { background: var(--panel); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.2vw, 1.9rem); }
.point h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.point p { color: var(--slate); margin: 0; font-size: .9875rem; }
.point sup a { color: var(--blue-ink); text-decoration: none; font-weight: 700; }
.footnote { color: var(--slate); font-size: .8125rem; max-width: 80ch; margin-top: 1.5rem; }
.member__apply { color: var(--gold-ink) !important; font-weight: 700; }

/* -------------------------------------------------------- loan programs ---- */
.program-intro { margin-bottom: clamp(2rem, 4vw, 3rem); }
.program-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.program-jump a { font-size: .875rem; font-weight: 700; color: var(--navy); text-decoration: none; background: var(--slate-100); padding: .45rem .9rem; border-radius: 999px; }
.program-jump a:hover { background: var(--navy); color: #fff; }
.program-group { scroll-margin-top: 110px; margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.program-group h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: 0 0 1rem; }
.program-group .points { margin-bottom: 0; }
.program-group .point { background: var(--slate-100); }

/* Pull quote above a profile bio, in the person's own voice (Glenda, 19 Nov 2026).
   Gold is only the rule here; the text is navy and slate, both passing on white. */
.pullquote { margin: 0 0 2.25rem; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--gold); }
.pullquote blockquote { margin: 0; }
.prose .pullquote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.35; color: var(--navy); margin: 0 0 .75rem; }
.pullquote figcaption { font-size: .875rem; font-weight: 700; color: var(--slate); }
