/* =====================================================================
   faculty.css - School faculty page styles
   Scoped to the .fx faculty page section.
   ===================================================================== */

.fx {
    --navy: #0a2a4f;
    --gold: #f5b83d;
    --text: #58606b;
    --soft: #f8f5ef;
    --line: #eee8dc;
    --ease: cubic-bezier(.22, .8, .24, 1);
    color: var(--text);
    line-height: 1.7;
}
.fx *, .fx *::before, .fx *::after { box-sizing: border-box; }
.fx h1, .fx h2, .fx h3, .fx h4, .fx p, .fx ul, .fx figure, .fx blockquote { margin: 0; padding: 0; }
.fx ul { list-style: none; }
.fx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.fx-hero {
    position: relative;
    overflow: hidden;
    padding: 184px 0 104px;
    color: #fff;
    background: linear-gradient(135deg, #0a2a4f 0%, #12397a 100%);
}
.fx-hero::before, .fx-hero::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.fx-hero::before {
    top: -150px;
    right: -110px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(245,184,61,.3), transparent 70%);
}
.fx-hero::after {
    bottom: -170px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
}
.fx-crumb { position: relative; margin-bottom: 14px; color: rgba(255,255,255,.75); font-size: 14px; }
.fx-crumb a { color: #fff; font-weight: 600; text-decoration: none; }
.fx-hero h1 {
    position: relative;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -.8px;
    line-height: 1.15;
}
.fx-hero h1::after {
    display: block;
    width: 70px;
    height: 4px;
    margin-top: 18px;
    border-radius: 4px;
    background: var(--gold);
    content: "";
}

.fx-principal {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: linear-gradient(180deg, #fbf6ea 0%, #fffdf8 100%);
}
.fx-principal::before {
    position: absolute;
    top: -140px;
    right: -140px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,184,61,.2), transparent 70%);
    content: "";
    pointer-events: none;
}
.fx-principal .fx-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}
.fx-pphoto { position: relative; }
.fx-pphoto::before {
    position: absolute;
    inset: 20px -20px -20px 20px;
    border: 2px solid var(--gold);
    border-radius: 32px;
    content: "";
}
.fx-pbox {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 32px;
    background: linear-gradient(160deg, #f6e7bf, #e9c777);
    box-shadow: 0 28px 56px rgba(120,90,20,.24);
}
.fx-pbox span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(10,42,79,.25);
    font-size: 96px;
    font-weight: 700;
    letter-spacing: 3px;
}
.fx-pbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.fx-pcap {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px 18px;
    border-left: 4px solid var(--gold);
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 24px rgba(10,42,79,.14);
    color: #6b6f78;
    font-size: 13px;
    line-height: 1.4;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.fx-pcap b {
    display: block;
    color: var(--navy);
    font-size: 20px;
}
.fx-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border: 1.5px solid var(--gold);
    border-radius: 999px;
    background: #fff;
    color: #8a5f00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.fx-pname {
    margin-top: 18px;
    color: var(--navy);
    font-size: clamp(34px, 4.6vw, 54px);
    font-weight: 700;
    letter-spacing: -.5px;
    line-height: 1.12;
}
.fx-pname::after {
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 18px;
    border-radius: 4px;
    background: var(--gold);
    content: "";
}
.fx-quote { position: relative; margin-top: 30px; padding-left: 4px; }
.fx-quote::before {
    display: block;
    height: 52px;
    color: rgba(245,184,61,.65);
    content: "\201C";
    font-size: 110px;
    line-height: 1;
}
.fx-quote p { color: #4a525d; font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.85; }
.fx-quote cite { display: block; margin-top: 22px; color: var(--navy); font-size: 15px; font-style: normal; font-weight: 700; }
.fx-quote cite span { display: block; color: #7a808a; font-size: 13.5px; font-weight: 500; }

.fx-staff { padding: 84px 0 96px; background: #fff; }
.fx-shead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.fx-eyebrow2 { display: block; margin-bottom: 8px; color: #8a5f00; font-size: 13px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.fx-h2 { color: var(--navy); font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.4px; line-height: 1.2; }
.fx-h2::after {
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 14px;
    border-radius: 4px;
    background: var(--gold);
    content: "";
}
.fx-total { margin-top: 12px; font-size: 15px; }
.fx-total b { color: var(--navy); }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; }
.fx-card {
    --g: linear-gradient(135deg, #dcfbe9, #cffaf6);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(10,42,79,.05);
    transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.fx-card.vp { --g: linear-gradient(135deg, #ffefc2, #ffdcc2); }
.fx-card.pgt { --g: linear-gradient(135deg, #dcfbe9, #cffaf6); }
.fx-card.tgt { --g: linear-gradient(135deg, #ffe2e4, #ffedd2); }
.fx-card.asst { --g: linear-gradient(135deg, #e6f1ff, #efe8ff); }
.fx-card.lab { --g: linear-gradient(135deg, #fff1e0, #ffe3ea); }
.fx-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(10,42,79,.1); }
.fx-card::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gold);
    content: "";
    transition: width .5s var(--ease);
}
.fx-card:hover::after { width: 100%; }
.fx-ph { position: relative; overflow: hidden; aspect-ratio: 1 / 1.08; background: var(--g); }
.fx-ph span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(10,42,79,.25);
    font-size: 52px;
    font-weight: 700;
}
.fx-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s var(--ease); }
.fx-card:hover .fx-ph img { transform: none; }
.fx-info { padding: 16px 16px 20px; text-align: center; }
.fx-info h4 { color: var(--navy); font-size: 16.5px; font-weight: 800; letter-spacing: -.1px; line-height: 1.3; }
.fx-role { display: inline-block; margin-top: 10px; padding: 5px 14px; border-radius: 999px; background: var(--g); color: var(--navy); font-size: 12.5px; font-weight: 700; line-height: 1.3; }

@media (max-width: 960px) {
    .fx-principal { padding: 64px 0 72px; }
    .fx-principal .fx-wrap { grid-template-columns: 1fr; gap: 64px; }
    .fx-pphoto { width: calc(100% - 20px); max-width: 400px; margin: 0 auto; }
    .fx-staff { padding: 64px 0 72px; }
}
@media (max-width: 640px) {
    .fx-hero { padding: 140px 0 74px; }
    .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .fx-card { border-radius: 18px; }
    .fx-info { padding: 12px 10px 16px; }
    .fx-info h4 { font-size: 14.5px; }
    .fx-role { padding: 4px 10px; font-size: 11.5px; }
    .fx-ph span { font-size: 40px; }
    .fx-shead { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .fx-card, .fx-card::after, .fx-ph img { transition: none; }
    .fx-card:hover { transform: none; }
    .fx-card:hover .fx-ph img { transform: none; }
}
