/* loan-officer.html — page-only composition. Components come from ../system.css. */

/* ---------- hero: portrait, name, listing details ---------- */
.lo-hero .page-hero-grid { align-items: end; }
.lo-portrait { position: relative; display: inline-grid; margin: 0 0 clamp(24px, 3vw, 36px); }
.lo-portrait figcaption { position: absolute; left: 8px; bottom: 8px; z-index: 2; }
.lo-portrait-frame.page-hero-media { width: clamp(120px, 10vw, 144px); aspect-ratio: 1; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.lo-portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.lo-portrait .tag-placeholder { background: rgba(5, 15, 12, .82); color: var(--brass-hi); box-shadow: inset 0 0 0 1px rgba(226, 182, 97, .35); }
.lo-hero h1 { max-width: 12em; }
.lo-role { line-height: 1.5; }
.lo-cred { border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 32px); }
.lo-cred-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lo-cred-head h2 { font-size: var(--t-small); font-weight: 500; letter-spacing: 0; color: var(--d-text); }
.lo-cred-list { margin-top: 18px; display: grid; }
.lo-cred-list div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--d-line); }
.lo-cred-list dt { font-size: var(--t-small); color: var(--d-muted); }
.lo-cred-list dd { font-size: var(--t-small); font-weight: 500; color: #fff; text-align: right; }
.lo-verify { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--d-line); width: 100%; }

/* ---------- about + contact ---------- */
.lo-about .cols { align-items: start; }
.lo-bio h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: var(--track-display); font-weight: 300; max-width: 15ch; }
.lo-bio h2 + p { margin-top: 28px; }
.lo-bio p { font-size: var(--t-lead); }
.lo-facts { margin-top: clamp(40px, 4.4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.lo-facts div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.lo-facts div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.lo-facts dt { font-size: var(--t-micro); color: var(--l-faint); }
.lo-facts dd { margin-top: 6px; font-size: var(--t-text); color: var(--l-text); }
.lo-note { margin-top: 24px; max-width: 62ch; }
.lo-prepare { margin-top: clamp(48px, 5vw, 72px); }
.lo-prepare h3 { font-size: var(--t-h3); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 20px; }
.lo-prepare .ticks { max-width: 60ch; }
.lo-prepare .ticks li:last-child { border-bottom: 1px solid var(--line); }
.lo-prepare .callout { margin-top: 32px; max-width: 60ch; }

.lo-contact { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg); }
.lo-contact h2 { font-size: var(--t-h3); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }
.lo-contact > p:not(.lo-contact-fine) { margin-top: 12px; font-size: var(--t-text); }
.lo-contact .btn-block { margin-top: 24px; white-space: normal; text-align: center; padding-top: 12px; padding-bottom: 12px; }
.lo-channels { list-style: none; margin: 22px 0 0; padding: 0; }
.lo-channels li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--d-line); }
.lo-channels .i { width: 36px; height: 36px; padding: 9px; border-radius: 10px; color: var(--mint); background: rgba(138, 217, 199, .08); box-shadow: inset 0 0 0 1px var(--d-line-2); }
.lo-channels b { display: block; font-size: var(--t-small); font-weight: 500; color: var(--d-text); }
.lo-channels small { display: block; margin-top: 2px; font-size: var(--t-micro); color: var(--d-faint); }
.lo-contact-fine { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--d-line); font-size: var(--t-micro); line-height: 1.5; color: var(--d-faint) !important; }

/* ---------- booking ---------- */
.lo-booking { isolation: isolate; overflow: clip; }
.lo-booking h2 { max-width: 12ch; }
.lo-booking .assure { margin-top: 32px; }
.booking { border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); }
.booking-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.booking-head h3 { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-body); color: #fff; }
.booking-head h3 .i { color: var(--mint); }
.booking-stage { position: relative; margin-top: 20px; border-radius: var(--r-md); overflow: hidden; background: rgba(5, 15, 12, .45); box-shadow: inset 0 0 0 1px var(--d-line); }
.booking-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 18px; }
.booking-grid span { font-size: var(--t-micro); color: var(--d-faint); text-align: center; padding-bottom: 4px; }
.booking-grid i { height: 38px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--d-line); background: rgba(138, 217, 199, .03); }
.booking-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: linear-gradient(180deg, rgba(8, 22, 18, .35), rgba(8, 22, 18, .8) 70%); }
.booking-status { max-width: 40ch; font-size: var(--t-small); line-height: 1.5; color: var(--d-text) !important; }
.booking-status:empty { display: none; }
.booking.is-loading .booking-grid i { animation: slot-pulse 1.2s var(--ease-out) infinite alternate; }
.booking.is-loading .booking-grid i:nth-of-type(3n+2) { animation-delay: .15s; }
.booking.is-loading .booking-grid i:nth-of-type(3n) { animation-delay: .3s; }
@keyframes slot-pulse { from { opacity: .35; } to { opacity: 1; } }
.booking.is-done .booking-cover { background: rgba(8, 22, 18, .86); }
.booking-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; }
.booking-link-ph { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); font-weight: 500; color: var(--d-muted); }

/* ---------- reviews ---------- */
.lo-reviews .cols { align-items: start; }
.lo-reviews-list h2 { max-width: 10ch; }
.lo-reviews-list .lede { font-size: var(--t-text); }
.lo-reviews-empty { margin-top: 32px; padding: 24px; }
.lo-reviews-empty h3 { font-size: var(--t-h4); }
.lo-review-sample { margin-top: 12px; padding: 22px 24px; border-radius: var(--r-md); background: rgba(255, 255, 255, .4); border: 1px dashed rgba(15, 42, 36, .28); }
.lo-review-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lo-review-name { font-size: var(--t-text); font-weight: 500; color: var(--l-text); }
.lo-review-meta { margin-top: 4px; font-size: var(--t-micro); color: var(--l-faint); }
.lo-review-sample > p:last-child { margin-top: 12px; font-size: var(--t-text); color: var(--l-muted); }

.lo-review-form { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); }
.lo-review-form form { display: grid; gap: 22px; margin-top: 24px; }
.lo-review-form form > .btn { justify-self: start; }
.rating { border: 0; margin: 0; padding: 0; min-width: 0; }
.rating legend { padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--l-muted); }
.rating-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 360px; }
.rating-scale label { position: relative; cursor: pointer; }
.rating-scale input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.rating-scale label > span { display: grid; place-items: center; height: 48px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 17px; font-weight: 500; color: var(--l-text); font-variant-numeric: tabular-nums; transition: background-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur) var(--ease-out); }
.rating-scale label:hover > span { box-shadow: inset 0 0 0 1px var(--pine-bright); }
.rating-scale label:active > span { transform: scale(.96); }
.rating-scale input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.rating-scale input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.rating-scale input[aria-invalid="true"] + span { box-shadow: inset 0 0 0 1px var(--brass); }
.rating .field-help { margin-top: 8px; }
.review-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.review-count { flex: none; font-size: var(--t-micro); color: var(--l-faint); font-variant-numeric: tabular-nums; }
.review-count.is-short { color: var(--brass-deep); }
.lo-form-note { color: var(--pine) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .lo-hero .page-hero-grid { align-items: start; }
  .lo-contact-wrap { order: 2; }
  .lo-booking h2 { max-width: 18ch; }
}
@media (max-width: 760px) {
  .lo-facts { grid-template-columns: minmax(0, 1fr); }
  .lo-facts div:nth-child(even) { padding-left: 0; border-left: 0; }
  .booking-grid { gap: 6px; padding: 14px; }
  .booking-grid i { height: 30px; }
  .booking-cover .btn { width: 100%; }
  .lo-review-form form > .btn { justify-self: stretch; }
  .review-foot { flex-direction: column; gap: 4px; }
}


.lo-portrait { grid-auto-flow: column; gap: 12px; }
