/*
Theme Name: TMB Interim
Description: The Mortgage Bureau — interim site. White-dominant, navy-led, teal-restrained. Inter.
Version: 1.0
Author: The Mortgage Bureau
Text Domain: tmb-interim
*/
:root { --navy:#25336B; --blue:#435385; --teal:#1EBBAE; --gray:#808285; --rule:rgba(128,130,133,.25); --ink:#3a3d42; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:#fff; color:var(--ink); font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size:17px; line-height:1.6; display:flex; flex-direction:column; min-height:100vh; }
a { color:var(--navy); }
h1,h2,h3 { color:var(--navy); font-weight:600; line-height:1.25; margin:0 0 .5em; }
h1 { font-size:clamp(28px, 4vw, 40px); font-weight:500; }
h2 { font-size:clamp(22px, 2.6vw, 28px); }
p { margin:0 0 1em; }
.wrap { width:min(1080px, 100% - 48px); margin:0 auto; }

/* Header */
.site-header { border-bottom:1px solid var(--rule); background:#fff; position:sticky; top:0; z-index:10; }
.site-header .wrap { display:flex; align-items:center; gap:24px; min-height:76px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--navy); font-weight:600; font-size:18px; letter-spacing:-.01em; }
.brand svg { width:58px; height:auto; display:block; }
.nav { display:flex; gap:22px; margin-left:8px; }
.nav a { text-decoration:none; color:var(--gray); font-weight:500; font-size:16px; }
.nav a:hover, .nav a[aria-current] { color:var(--navy); }
.ctas { margin-left:auto; display:flex; gap:10px; align-items:center; }
.btn { display:inline-block; padding:10px 18px; border-radius:6px; font-weight:600; font-size:15px; text-decoration:none; border:1.5px solid var(--navy); line-height:1.2; white-space:nowrap; }
.btn-primary { background:var(--navy); color:#fff; }
.btn-primary:hover { background:var(--blue); border-color:var(--blue); }
.btn-secondary { background:transparent; color:var(--navy); }
.btn-secondary:hover { border-color:var(--teal); color:var(--teal); }

/* Main */
main { flex:1; }
.hero { padding:88px 0 56px; }
.hero h1 { max-width:24em; }
.hero .lede { font-size:19px; max-width:38em; color:var(--gray); }
.hero .actions { margin-top:32px; display:flex; gap:12px; flex-wrap:wrap; }
.section { padding:40px 0 64px; }
.section p { max-width:38em; }
.page-content { padding:64px 0 80px; }
.page-content .entry { max-width:38em; }
.contact-list { list-style:none; padding:0; margin:24px 0 0; font-size:18px; line-height:2; }
.contact-list b { color:var(--navy); font-weight:600; }
.contact-list a { text-decoration:none; border-bottom:1.5px solid var(--teal); }

/* Footer */
.site-footer { border-top:1px solid var(--rule); padding:24px 0 32px; font-size:13px; line-height:1.7; color:var(--gray); text-align:center; }
.site-footer b { color:var(--navy); font-weight:600; }
.site-footer a { color:var(--navy); }
.eho { display:inline-flex; align-items:center; gap:6px; margin-top:6px; color:var(--navy); font-weight:500; }
.eho svg { width:18px; height:18px; }

/* Mobile */
@media (max-width: 820px) {
  .site-header .wrap { flex-wrap:wrap; padding:12px 0; gap:12px; }
  .nav { order:3; width:100%; gap:18px; margin:0; }
  .ctas { margin-left:auto; }
  .hero { padding:56px 0 40px; }
  body { font-size:16px; }
}

/* Consult dropdown */
.consult { position:relative; }
.consult summary { list-style:none; cursor:pointer; }
.consult summary::-webkit-details-marker { display:none; }
.consult-menu { position:absolute; right:0; top:calc(100% + 8px); background:#fff; border:1px solid var(--rule); border-radius:8px; box-shadow:0 8px 24px rgba(37,51,107,.10); min-width:280px; padding:6px; display:flex; flex-direction:column; z-index:20; }
.consult-menu a { display:block; padding:12px 14px; border-radius:6px; text-decoration:none; color:var(--navy); font-weight:500; font-size:15px; }
.consult-menu a:hover { background:rgba(30,187,174,.08); }
.consult-menu a + a { border-top:1px solid var(--rule); border-radius:0 0 6px 6px; }
.person { margin-bottom:36px; }
.person h2 { margin-bottom:.15em; }
.person .role { color:var(--gray); margin-bottom:.25em; }
.person .lic { font-size:14px; color:var(--gray); }
.person p { margin-bottom:.3em; }

/* Team cards */
.team-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:32px; margin-top:32px; }
.card { display:flex; flex-direction:column; align-items:flex-start; }
.card .photo { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:10px; background:#f3f4f6; margin-bottom:18px; }
.card .placeholder { display:flex; align-items:center; justify-content:center; font-size:48px; font-weight:600; color:var(--navy); background:rgba(37,51,107,.06); }
.card h2 { font-size:22px; margin-bottom:.1em; }
.card .role { color:var(--gray); margin-bottom:.6em; }
.card .contact { margin-bottom:.4em; line-height:1.7; }
.card .contact a { text-decoration:none; border-bottom:1.5px solid var(--teal); }
.card .lic { font-size:13px; color:var(--gray); margin-bottom:1.2em; }
.card .btn { margin-top:auto; }

/* Split hero */
.hero-split { padding:48px 0 72px; min-height:calc(100vh - 77px); display:flex; align-items:center; }
.hero-split .wrap { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.hero-logo svg { width:100%; max-width:520px; height:auto; display:block; margin:0 auto; }
.hero-copy .poem { font-size:clamp(24px, 2.4vw, 32px); line-height:1.35; color:var(--navy); font-weight:500; margin:0 0 .6em; }
.hero-copy .poem-sub { font-size:19px; color:var(--gray); margin:0 0 1.6em; }
.hero-copy .actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:0; }
@media (max-width: 820px) {
  .hero-split { min-height:0; padding:32px 0 48px; }
  .hero-split .wrap { grid-template-columns:1fr; gap:28px; text-align:center; }
  .hero-logo svg { max-width:300px; }
  .hero-copy .actions { justify-content:center; }
}
.hero-copy .poem-line { font-size:clamp(19px, 1.6vw, 22px); line-height:1.45; color:var(--gray); font-weight:500; margin:0 0 .9em; }
.hero-copy .poem-tag { font-size:17px; color:var(--gray); letter-spacing:.02em; margin:0 0 1.8em; }

/* What we do */
.what { padding:72px 0 96px; border-top:1px solid var(--rule); }
.what-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:center; }
.what-copy h2 { margin-bottom:.7em; }
.what-copy p { max-width:34em; font-size:18px; }
.what-photo { margin:0; }
.what-photo img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px; display:block; }
@media (max-width: 820px) { .what { padding:48px 0 64px; } .what-grid { grid-template-columns:1fr; gap:28px; } }
.what-copy .lead { font-size:20px; color:var(--teal); font-weight:600; margin-bottom:.8em; letter-spacing:.01em; }

/* Reviews */
.reviews { padding:72px 0 96px; border-top:1px solid var(--rule); }
.reviews h2 { margin-bottom:.2em; }
.reviews-sub { color:var(--gray); margin-bottom:28px; }
.lc_reviews_widget { display:block; border:0; }
@media (max-width: 820px) { .reviews { padding:48px 0 64px; } }
