/* ============================================================
   Team bio pages (robert.html, randy.html, stockton.html)
   Builds on style.css tokens. One look for all three pages.
   ============================================================ */

.bio-hero {
    background: var(--gradient-navy);
    color: white;
    position: relative;
    overflow: hidden;
}
.bio-hero::after {               /* thin REMAX red rule under the hero */
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 4px; background: var(--remax-red);
}
.bio-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}
.bio-back {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: white; text-decoration: none; font-weight: 600; font-size: 0.92rem;
    opacity: 0.85; margin-bottom: 1.75rem;
}
.bio-back:hover { opacity: 1; }

.bio-hero-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: center;
}
.bio-photo {
    width: 220px; height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.12);
    display: flex; align-items: center; justify-content: center;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-photo .monogram {
    font-family: var(--font-head);
    font-size: 4.2rem; font-weight: 800; letter-spacing: 2px;
    color: white;
}
.bio-kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    background: var(--remax-red); color: white;
    padding: 0.3rem 0.75rem; border-radius: var(--radius-pill);
    margin-bottom: 0.9rem;
}
.bio-hero h1 {
    font-family: var(--font-head);
    font-size: 2.9rem; font-weight: 800; line-height: 1.1;
    margin-bottom: 0.5rem;
}
.bio-title { font-size: 1.12rem; opacity: 0.92; margin-bottom: 0.25rem; }
.bio-firm { font-size: 0.95rem; opacity: 0.75; }
.bio-letters {
    margin-top: 0.75rem;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px;
    opacity: 0.85; line-height: 1.6;
}
.bio-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.5rem; }
.bio-btn {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    font-weight: 700; font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.15s, background 0.18s, color 0.18s;
}
.bio-btn:hover { transform: translateY(-2px); }
.bio-btn.solid { background: white; color: var(--remax-blue); }
.bio-btn.solid:hover { background: #EAF0FA; }
.bio-btn.ghost { border: 2px solid rgba(255, 255, 255, 0.8); color: white; }
.bio-btn.ghost:hover { background: white; color: var(--remax-blue); }

/* ── quick facts strip ── */
.bio-facts {
    max-width: 1100px;
    margin: -1.75rem auto 0;
    padding: 0 1.5rem;
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.bio-fact {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--remax-blue);
    padding: 1.15rem 1.25rem;
}
.bio-fact .num {
    font-family: var(--font-head);
    font-size: 1.55rem; font-weight: 800; color: var(--remax-blue);
    line-height: 1.15;
}
.bio-fact .lbl { font-size: 0.86rem; color: var(--ink-muted); margin-top: 0.3rem; line-height: 1.4; }

/* ── body sections ── */
.bio-main { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 1rem; }
.bio-section { margin-bottom: 3rem; }
.bio-section h2 {
    font-family: var(--font-head);
    font-size: 1.6rem; font-weight: 800; color: var(--dark);
    margin-bottom: 1.25rem;
    position: relative; padding-bottom: 0.6rem;
}
.bio-section h2::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 44px; height: 4px; border-radius: 2px;
    background: var(--remax-red);
}

.bio-about {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}
.bio-text p { color: #33475E; line-height: 1.75; margin-bottom: 1.1rem; font-size: 1.02rem; }
.bio-text p.aside { color: var(--ink-muted); font-style: italic; }

.bio-glance {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
}
.bio-glance h3 {
    font-family: var(--font-head);
    font-size: 0.85rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--remax-blue); margin-bottom: 1rem;
}
.bio-glance dl { margin: 0; }
.bio-glance dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--ink-muted); }
.bio-glance dd { margin: 0.15rem 0 0.95rem; color: var(--dark); font-size: 0.95rem; line-height: 1.5; }
.bio-glance dd:last-child { margin-bottom: 0; }
.bio-glance a { color: var(--remax-blue); text-decoration: none; font-weight: 600; }
.bio-glance a:hover { text-decoration: underline; }

/* focus / specialty cards */
.bio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.bio-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.bio-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(0, 61, 165, 0.25); }
.bio-card .ic {
    width: 46px; height: 46px; border-radius: 12px;
    background: #EAF0FA; color: var(--remax-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; margin-bottom: 0.9rem;
}
.bio-card h3 { font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.bio-card p { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.6; margin: 0; }
a.bio-card { text-decoration: none; color: inherit; display: block; }

/* awards timeline */
.bio-awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.75rem; }
.bio-awards li {
    display: flex; gap: 0.9rem; align-items: center;
    background: white; border: 1px solid var(--line); border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
}
.bio-awards .yr {
    flex: 0 0 auto;
    font-family: var(--font-head); font-weight: 800; font-size: 0.9rem;
    color: white; background: var(--remax-blue);
    border-radius: 8px; padding: 0.35rem 0.6rem; min-width: 3.4rem; text-align: center;
}
.bio-awards .what { font-size: 0.93rem; color: var(--dark); line-height: 1.4; }
.bio-awards .who { display: block; font-size: 0.78rem; color: var(--ink-muted); }

/* scan or save */
.bio-save {
    display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center;
    background: white; border: 1px solid var(--line); border-radius: var(--radius-md);
    box-shadow: var(--shadow-card); padding: 1.75rem;
}
.bio-qr { width: 200px; height: 200px; background: white; border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--line); }
.bio-save h2 { margin-bottom: 0.75rem; }
.bio-save p { color: var(--ink-muted); margin-bottom: 1rem; }
.bio-save .bio-btn.solid { background: var(--remax-blue); color: white; }
.bio-save .bio-btn.solid:hover { background: var(--remax-blue-deep); }

/* meet the rest of the team */
.bio-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.bio-team a {
    display: flex; gap: 1rem; align-items: center;
    background: white; border: 1px solid var(--line); border-radius: var(--radius-md);
    padding: 1rem 1.15rem; text-decoration: none; color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bio-team a:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.bio-team .mini {
    flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
    background: var(--gradient-navy); color: white;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
}
.bio-team .mini img { width: 100%; height: 100%; object-fit: cover; }
.bio-team strong { display: block; font-family: var(--font-head); color: var(--dark); }
.bio-team span { font-size: 0.86rem; color: var(--ink-muted); }
.bio-team .go { margin-left: auto; color: var(--remax-blue); }

/* call to action */
.bio-cta {
    background: var(--gradient-navy); color: white;
    border-radius: var(--radius-md);
    padding: 2.25rem 1.75rem; text-align: center;
    margin-bottom: 3rem;
}
.bio-cta h2 { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 0.5rem; }
.bio-cta p { opacity: 0.9; max-width: 620px; margin: 0 auto 1.4rem; }
.bio-cta .bio-actions { justify-content: center; margin-top: 0; }

/* ── phones ── */
@media (max-width: 820px) {
    .bio-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
    .bio-photo { width: 170px; height: 170px; margin: 0 auto; }
    .bio-hero h1 { font-size: 2.2rem; }
    .bio-actions { justify-content: center; }
    .bio-about { grid-template-columns: 1fr; }
    .bio-save { grid-template-columns: 1fr; text-align: center; }
    .bio-qr { margin: 0 auto; }
    .bio-save .bio-actions { justify-content: center; }
}
@media (max-width: 480px) {
    .bio-hero-inner { padding: 1.5rem 1rem 2.75rem; }
    .bio-facts, .bio-main { padding-left: 1rem; padding-right: 1rem; }
    .bio-hero h1 { font-size: 1.95rem; }
    .bio-btn { flex: 1 1 100%; justify-content: center; }
    .bio-facts { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
    .bio-fact { padding: 0.9rem 0.85rem; }
    .bio-fact .num { font-size: 1.2rem; }
    .bio-fact .lbl { font-size: 0.78rem; }
}
