/* Mio Mortgage — loan officer pages (uses tokens from styles.css) */

.lo-hero { padding: calc(var(--header-h) + var(--space-head)) 0 clamp(48px, 5vw, 72px); background: linear-gradient(180deg, var(--white), var(--mist)); }
.lo-hero-grid { display: grid; gap: var(--space-cols); align-items: center; }
@media (min-width: 960px) { .lo-hero-grid { grid-template-columns: minmax(0, 1fr) auto; } }
.lo-hero-copy { display: grid; gap: var(--space-stack); justify-items: start; }
.lo-name { max-width: none; font-size: clamp(2.8rem, 1.2rem + 5vw, 5.6rem); }
.lo-bio { color: var(--muted); max-width: 52ch; text-wrap: pretty; }

/* Portrait */
.lo-portrait { position: relative; justify-self: center; width: min(100%, 340px); }
.lo-portrait > img, .lo-mono { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 28px; object-fit: cover; object-position: center 20%; }
.lo-mono {
  position: relative; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 20% 10%, var(--navy-2), var(--navy-deep));
  box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .7);
}
.lo-mono > span {
  font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 4rem + 8vw, 10rem); letter-spacing: -0.06em; line-height: 1;
  color: var(--teal-light);
}
.lo-mono-bang { position: absolute; right: 12%; top: 12%; width: 18px; height: 66px; color: var(--teal); animation: bob 5s var(--ease-in-out) infinite; }
.lo-badge {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px);
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(15, 23, 42, .5); color: var(--navy); font-size: .82rem;
}
.lo-badge strong { display: block; font-family: var(--display); font-weight: 700; font-size: .95rem; }
.lo-badge a { color: var(--teal); border-bottom: 1px solid currentColor; }
.lo-badge-check { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.lo-badge-check svg { width: 18px; height: 18px; }

/* Facts */
.lo-facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(56px, 6vw, 80px); border-block: 1px solid var(--line); }
@media (min-width: 800px) { .lo-facts { grid-template-columns: 2fr 1fr 1fr; } }
.lo-facts div { padding: 22px 18px 22px 0; display: grid; gap: 6px; }
.lo-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.lo-facts .lo-fact-call dd { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); }
@media (max-width: 799px) {
  .lo-facts .lo-fact-call { grid-column: 1 / -1; }
  .lo-facts div:nth-child(2) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .lo-facts div:nth-child(3) { border-top: 1px solid var(--line); }
}
.lo-facts dt { font-family: var(--display); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lo-facts dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, .9rem + .6vw, 1.45rem); letter-spacing: -0.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.lo-facts a:hover { color: var(--teal); }

/* Specialties */
.lo-cards { display: grid; gap: 16px; }
@media (min-width: 700px) { .lo-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lo-cards { grid-template-columns: repeat(3, 1fr); } }
.lo-card { display: grid; gap: 12px; align-content: start; justify-items: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--mist); border: 1px solid transparent; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.lo-card:hover { background: #fff; border-color: var(--line); transform: translateY(-4px); }
.lo-card-num { font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -0.05em; color: var(--teal); }
.lo-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--navy); }
.lo-card p { color: var(--muted); }

/* Areas */
.lo-areas { background: var(--navy); color: #fff; }
.lo-areas .h2 { color: #fff; }
.lo-areas .accent { color: var(--teal-light); }
.lo-areas-grid { display: grid; gap: var(--space-head); align-items: center; }
@media (min-width: 960px) { .lo-areas-grid { grid-template-columns: 1fr 1fr; gap: var(--space-cols); } }
.lo-area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.lo-area-list li { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line-light); font-family: var(--display); font-weight: 600; font-size: .95rem; transition: background .3s, border-color .3s; }
.lo-area-list li:hover { background: var(--teal); border-color: var(--teal); }

/* Directory */
.lo-dir-hero .container { display: grid; gap: var(--space-stack); justify-items: start; }
.lo-dir-hero { min-height: 70vh; }
.lo-dir { width: 100%; display: grid; gap: 20px; margin-top: 32px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lo-dir-card { display: grid; gap: 18px; padding: 14px; border-radius: 28px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.lo-dir-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .5); }
.lo-dir-card img, .lo-mono-sm { width: 100%; aspect-ratio: 4 / 4.4; border-radius: 20px; object-fit: cover; }
.lo-mono-sm > span { font-size: 5rem; }
.lo-dir-body { display: grid; gap: 4px; padding: 0 8px 10px; justify-items: start; }
.lo-dir-body strong { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--navy); }
.lo-dir-body > span:not(.link-arrow) { color: var(--muted); font-size: .9rem; }
.lo-dir-body .link-arrow { margin-top: 8px; }
