/* Loan officer page — "Website mode" (the alt template, repurposed 2026-10-23). Loaded ONLY on pages rendered by
   site/templates/loan-officer-alt.ts (features.alt_template). Scoped under .page-lo-site so the default template is
   untouched. The frame is the corporate CONTENT-page frame (hero-sub-pg, loan-lead-card, lp-card, sec/sec-alt) — these
   rules only add the officer-specific pieces (headshot in the hero, chips, path tiles, proof strip) and small tweaks.
   Brand tokens come from site.css. */

/* ---- header: the trimmed corporate menu must not squeeze the language pill below the 24px target size ---- */
.page-lo-site .site-header .lang-pill { flex: none; }
.page-lo-site .site-header .lang-pill .lang-seg { height: 28px; min-width: 38px; }
.page-lo-site .site-header .main-nav { margin-left: auto; } /* menu + Apply hug the right edge, like the corporate header (owner 2026-10-23) */

/* ---- hero: the content-page hero with the officer standing in it ---- */
.page-lo-site .lo-site-hero { min-height: 520px; }
.page-lo-site .lo-site-hero .hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 32px 48px; align-items: end; padding-bottom: 96px; }
.page-lo-site .lo-site-hero-copy { padding-bottom: 8px; min-width: 0; }
.page-lo-site .lo-site-hero .hero-eyebrow { flex-wrap: wrap; }
.page-lo-site .lo-site-hero .hero-eyebrow .nmls-badge { padding: 0; color: #fff; }
.page-lo-site .lo-site-hero h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -1.2px; margin-bottom: 10px; }
.page-lo-site .lo-site-hero .hero-sub { max-width: 560px; margin: 0 0 18px; }
/* Tagline (owner 2026-10-26: "should be gold … italic and bold, jazz it up"): gold italic, wrapped in soft gold quotes,
   with a short gold rule after it so it reads as the officer's own line rather than a subtitle. */
.page-lo-site .lo-site-hero .lo-site-tagline { display: flex; align-items: center; gap: 14px; margin: -2px 0 20px; color: var(--gold); font-size: 20px; font-weight: 800; font-style: italic; letter-spacing: .2px; line-height: 1.3; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.page-lo-site .lo-site-hero .lo-site-tagline span::before { content: '\201C'; margin-right: 2px; opacity: .6; }
.page-lo-site .lo-site-hero .lo-site-tagline span::after { content: '\201D'; margin-left: 2px; opacity: .6; }
@media (max-width: 640px) { .page-lo-site .lo-site-hero .lo-site-tagline { font-size: 18px; } }
.page-lo-site .lo-site-chips { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 22px; }
.page-lo-site .lo-site-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 14px 8px 12px; color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 700; backdrop-filter: blur(4px); }
.page-lo-site .lo-site-chip:hover { border-color: var(--gold); }
/* Language circle next to the chips (owner 2026-10-26): same glass, same height, round */
.page-lo-site .lo-lang { width: 38px; height: 38px; padding: 0; justify-content: center; }
.page-lo-site .lo-site-chip strong { font-weight: 900; font-size: 15px; }
.page-lo-site .lo-site-chip span { color: rgba(255,255,255,.82); }
.page-lo-site .lo-site-chip .ico { width: 15px; height: 15px; color: var(--gold); }
.page-lo-site .alt-stars { display: inline-flex; gap: 1px; }
.page-lo-site .alt-stars svg { width: 13px; height: 13px; fill: var(--gold); }
.page-lo-site .lo-site-hero .btn-row { margin-top: 0; }
.page-lo-site .lo-site-photo { position: relative; align-self: stretch; display: flex; justify-content: center; align-items: flex-end; min-height: 380px; margin-bottom: -96px; }
.page-lo-site .lo-site-photo.is-cutout img, .page-lo-site .lo-site-photo.is-cutout picture { position: absolute; left: 0; right: 0; bottom: 0; top: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 24px 34px rgba(0,0,0,.45)); }
.page-lo-site .lo-site-photo.is-cutout picture img { position: static; height: 100%; }
.page-lo-site .lo-site-photo.is-round { align-items: center; margin-bottom: 0; padding-bottom: 8px; }
.page-lo-site .lo-site-photo.is-round img { width: min(300px, 70%); aspect-ratio: 1; height: auto; object-fit: cover; object-position: top center; border-radius: 50%; border: 6px solid var(--gold); box-shadow: 0 24px 54px rgba(0,0,0,.4); background: #fff; }

/* ---- start card (loan-page lead card) ---- */
.page-lo-site .lo-site-start > .container { margin-top: -72px; }
.page-lo-site .lo-site-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.page-lo-site .lo-site-path { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 14.5px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.page-lo-site .lo-site-path:hover { border-color: var(--blue); box-shadow: 0 10px 24px rgba(17,120,188,.12); transform: translateY(-2px); color: var(--blue-deep); }
.page-lo-site .lo-site-path-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--tile); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.page-lo-site .lo-site-path-ico .ico { width: 18px; height: 18px; }
.page-lo-site .lo-site-path .btn-arr { width: 14px; height: 14px; margin-left: auto; color: #B5BEC8; transition: transform .15s, color .15s; }
.page-lo-site .lo-site-path:hover .btn-arr { transform: translateX(3px); color: var(--blue); }
.page-lo-site .loan-lead-actions .intro-phone strong { font-size: 17px; }
.page-lo-site .lo-site-email { font-size: 13px !important; letter-spacing: -.2px; overflow-wrap: normal; word-break: normal; } /* breaks only at the <wbr> after the @ */

/* ---- proof strip ---- */
.page-lo-site .lo-site-proof { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 0 0; }
.page-lo-site .lo-site-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.page-lo-site .lo-site-proof-3 { grid-template-columns: repeat(3, 1fr); }
.page-lo-site .lo-site-proof-2 { grid-template-columns: repeat(2, 1fr); }
.page-lo-site .lo-site-proof-grid > div { padding: 26px 24px; border-left: 1px solid var(--line); text-align: center; } /* owner 2026-10-25: centred */
.page-lo-site .lo-site-proof-grid > div:first-child { border-left: 0; padding-left: 0; }
.page-lo-site .lo-site-proof-grid strong { display: block; font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -1px; color: var(--navy); }
.page-lo-site .lo-site-proof-grid strong i { font-style: normal; color: var(--gold); }
.page-lo-site .lo-site-proof-grid strong.lo-site-proof-place { font-size: 26px; letter-spacing: -.5px; line-height: 1.1; padding-top: 6px; } /* owner 2026-10-27: "size the text down a little so it doesn't break to a second line" — Tinton Falls, NJ now fits a tile */
.page-lo-site .lo-site-proof-grid span { display: block; margin-top: 8px; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--body); }

/* ---- sections (content-page rhythm) ---- */
.page-lo-site .lo-site-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.page-lo-site .lo-site-sec-head .sec-title { margin-bottom: 8px; }
.page-lo-site .lo-site-sec-head .sec-sub { margin: 0; max-width: 560px; color: var(--body); }
.page-lo-site .lo-site-sec-head .btn { flex: none; margin-bottom: 6px; }
.page-lo-site .lo-site-lp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-lo-site .lo-site-about .article-grid { align-items: start; }
.page-lo-site .lo-site-bio p { font-size: 17.5px; line-height: 1.75; }
.page-lo-site .lo-site-lic { margin: 22px 0 0; padding: 16px 18px; background: var(--alt); border: 1px solid var(--line); border-radius: 14px; }
.page-lo-site .lo-site-lic b { display: block; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 900; color: var(--blue-deep); margin-bottom: 8px; }
.page-lo-site .lo-site-lic-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.page-lo-site .lo-site-lic-chips span { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-size: 12px; font-weight: 800; }
.page-lo-site .lo-site-side { display: grid; gap: 18px; }
.page-lo-site .lo-site-about .share-row { margin-top: 32px; }
.page-lo-site .lo-site-about .awards-row { margin-top: 28px; }
.page-lo-site .lo-site-pull { padding-bottom: 22px; }
.page-lo-site .lo-site-pull-text { font-size: 17px; line-height: 1.55; font-weight: 600; color: var(--navy); margin: 0 0 10px; }
.page-lo-site .lo-site-pull-by { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--body); }
.page-lo-site .lo-site-reviews .art-block { margin: 0; }
.page-lo-site .sec + .door-band { padding-top: 0; }
.page-lo-site .lo-site-main .door-band { padding: 0 0 70px; background: var(--alt); }
.page-lo-site .lo-site-main .door-band .container { padding-top: 0; }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .page-lo-site .lo-site-hero .hero-inner { grid-template-columns: 1fr; gap: 0; padding-bottom: 110px; }
  .page-lo-site .lo-site-photo { order: -1; min-height: 0; height: 320px; margin: 0 0 18px; }
  .page-lo-site .lo-site-photo.is-cutout img, .page-lo-site .lo-site-photo.is-cutout picture { position: static; height: 340px; }
  .page-lo-site .lo-site-photo.is-round { height: auto; margin: 0 0 18px; }
  .page-lo-site .lo-site-lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-lo-site .lo-site-proof-grid, .page-lo-site .lo-site-proof-3 { grid-template-columns: 1fr 1fr; }
  .page-lo-site .lo-site-proof-grid > div { border-left: 0; padding-left: 0; }
  .page-lo-site .lo-site-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .page-lo-site .lo-site-paths, .page-lo-site .lo-site-lp-grid { grid-template-columns: 1fr; }
  .page-lo-site .lo-site-hero h1 { font-size: 38px; }
  /* Phones (owner 2026-10-26): the circle for everyone, cut-out or not — "till we get my advanced on the full headshots".
     A cut-out PNG sits on a white disc inside the gold ring; the drop shadow goes with it. */
  .page-lo-site .lo-site-photo, .page-lo-site .lo-site-photo.is-cutout { height: auto; min-height: 0; align-items: center; margin: 0 0 18px; }
  .page-lo-site .lo-site-photo.is-cutout img, .page-lo-site .lo-site-photo.is-cutout picture { position: static; width: min(220px, 62%); height: auto; aspect-ratio: 1; object-fit: cover; object-position: top center; border-radius: 50%; border: 6px solid var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.4); background: #fff; filter: none; }
  .page-lo-site .lo-site-photo.is-round img { width: min(220px, 62%); }
  .page-lo-site .lo-site-start > .container { margin-top: -56px; }
  .page-lo-site .hero-eyebrow .eyebrow-sep { display: none; } /* the " · " dangled at the end of the line when the NMLS badge wrapped */
  .page-lo-site .hero-eyebrow .nmls-badge { flex-basis: 100%; }
}
