/* =============================================
   BraysonAlbin.com — Site Layout (site.css)
   Top-nav redesign, loaded via Site.Master
   ============================================= */

html { scroll-behavior: smooth; }
section[id], [id]:target { scroll-margin-top: calc(var(--nav-height) + 12px); }

:root {
    --crimson: #c41230;
    --navy: #0d1f3c;
    --navy-dark: #091628;
    --white: #ffffff;
    --off-white: #f4f4f2;
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --border: #e5e5e0;
    --nav-height: 64px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    margin: 0;
    padding-top: var(--nav-height);
}

/* ---- Navigation ---- */
#site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--navy);
    z-index: 1000;
    border-bottom: 3px solid var(--crimson);
    transition: box-shadow 0.2s ease;
}

#site-nav.scrolled {
    box-shadow: 0 6px 18px rgba(9, 22, 40, 0.35);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.nav-brand {
    font-family: 'Oswald', sans-serif;
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-brand .nav-number { color: var(--crimson); }
.nav-brand em { font-style: normal; font-weight: 400; opacity: 0.8; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 3px;
    transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-links a { position: relative; }

.nav-links a.active { color: var(--white); }

.nav-links a.active:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    background: var(--crimson);
    border-radius: 1px;
}

.nav-links a.nav-cta {
    background: var(--crimson);
    color: var(--white);
    margin-left: 8px;
}

.nav-links a.nav-cta:hover { background: #a50f28; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
    padding: 4px;
}

/* ---- Hero ---- */
#hero {
    background: var(--navy-dark);
    padding: 60px 24px 50px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/Alabama-Brayson-bg5-web.jpg') right 22% / cover no-repeat;
    opacity: 0.45;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        var(--navy-dark) 0%,
        rgba(9, 22, 40, 0.92) 35%,
        rgba(9, 22, 40, 0.55) 65%,
        rgba(9, 22, 40, 0.25) 100%);
    z-index: 0;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content { flex: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--crimson);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 16px;
}

.hero-name {
    font-family: 'Oswald', sans-serif;
    color: var(--white);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.hero-school {
    font-family: 'Oswald', sans-serif;
    color: rgba(255,255,255,0.45);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-stat { padding: 0 24px 0 0; }
.hero-stat:first-child { padding-left: 0; }

.hero-stat-num {
    font-family: 'Oswald', sans-serif;
    color: var(--crimson);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.hero-stat-label {
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 3px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    margin-right: 24px;
    flex-shrink: 0;
}

.hero-typed-wrap {
    font-family: 'Oswald', sans-serif;
    color: rgba(255,255,255,0.9);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    min-height: 34px;
}

.hero-typed-wrap .typed-cursor { color: var(--crimson); }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-hero-primary {
    display: inline-block;
    background: var(--crimson);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-hero-primary:hover { background: #a50f28; color: var(--white); }

.btn-hero-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 2px;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.btn-hero-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }

.hero-photo {
    width: 340px;
    flex-shrink: 0;
    position: relative;
    align-self: flex-end;
}

.hero-photo img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: top center;
    border-radius: 4px;
    border: 3px solid var(--crimson);
    display: block;
    box-shadow: 0 8px 40px rgba(196,18,48,0.25);
}

/* ---- Offers Strip ---- */
#offers-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}

.offers-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    flex-wrap: wrap;
}

.offers-strip-label {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--crimson);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.offer-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
}
.offer-pill:hover { border-color: var(--crimson); background: #fff; color: var(--navy); }
.offer-pill-dot { width: 7px; height: 7px; background: var(--crimson); border-radius: 50%; flex-shrink: 0; }

/* ---- Main content wrapper ---- */
.page-content { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }

/* ---- Section titles ---- */
.section-title { margin-bottom: 32px; }

.section-title h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--crimson);
    display: inline-block;
}

.section-title p { color: var(--text-muted); font-size: 15px; margin: 8px 0 0; }

/* ---- Card ---- */
.site-card {
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 24px;
}

.site-card-header {
    background: var(--navy);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-card-header h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.site-card-header h3 span { color: var(--crimson); margin-right: 6px; }

.site-card-body { padding: 20px; }

/* ---- Footer ---- */
#footer {
    background: var(--navy-dark);
    border-top: 3px solid var(--crimson);
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-family: 'Oswald', sans-serif;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer-number { color: var(--crimson); font-weight: 700; }

.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 18px; transition: color 0.15s; text-decoration: none; }
.footer-social a:hover { color: var(--crimson); }

.footer-credits { color: rgba(255,255,255,0.35); font-size: 12px; }
.footer-credits a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-credits a:hover { color: var(--white); }

/* ---- Section background ---- */
.section-bg { background: var(--off-white); }
.section-bg + section, section + .section-bg { }

/* ---- Poly badge ---- */
.poly-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff8e1;
    border: 1px solid #f9a825;
    border-radius: 3px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #7c5200;
}

/* ---- Measurables table ---- */
.measurables-table { width: 100%; border-collapse: collapse; }
.measurables-table tr { border-bottom: 1px solid var(--border); }
.measurables-table tr:last-child { border-bottom: none; }
.m-label { color: var(--text-muted); font-size: 12px; font-weight: 600; padding: 8px 16px; width: 55%; }
.m-value { font-family: 'Oswald', sans-serif; color: var(--navy); font-size: 15px; font-weight: 600; padding: 8px 16px 8px 0; text-align: right; }

/* ---- Contact list ---- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--text-dark); }
.contact-list li:last-child { border-bottom: none; }
.contact-list strong { color: var(--navy); margin-right: 6px; }
.contact-list a { color: var(--crimson); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---- Highlight event ---- */
li.highlight-event { font-weight: 600; color: var(--navy); }
li.highlight-event::marker { color: var(--crimson); }

/* ---- Awards grid ---- */
.awards-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.award-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s, transform 0.15s;
}
.award-item:hover { border-color: var(--crimson); transform: translateY(-2px); }
.award-item img { width: 100%; height: 200px; object-fit: cover; object-position: top center; display: block; }
.award-item h3 { font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 600; color: var(--navy); padding: 10px 12px 4px; margin: 0; }
.award-item p { font-size: 12px; color: var(--text-muted); padding: 0 12px 12px; margin: 0; }

/* ---- Evaluations ---- */
.eval-stars { font-size: 24px; }
.eval-highlight-box { display: flex; flex-direction: column; gap: 10px; }
.eval-highlight-item { display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; background: var(--off-white); border-left: 3px solid var(--crimson); border-radius: 0 3px 3px 0; }
.eval-num { font-family: 'Oswald', sans-serif; color: var(--crimson); font-size: 22px; font-weight: 700; white-space: nowrap; }
.eval-label { font-size: 13px; color: var(--navy); font-weight: 600; }

/* ---- Film portfolio ---- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }

/* ---- Recruiting profiles ---- */
.profiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.profile-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}
.profile-card:hover { border-color: var(--crimson); transform: translateY(-2px); }
.profile-card img { max-width: 160px; height: auto; object-fit: contain; }
.profile-card span { font-size: 12px; font-weight: 600; color: var(--navy); text-align: center; }

/* ---- Social follow ---- */
.social-follow-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 8px; padding-bottom: 60px; }
.social-follow-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 24px;
    text-decoration: none;
    color: var(--navy);
    transition: border-color 0.15s, color 0.15s;
    min-width: 120px;
}
.social-follow-card i { font-size: 28px; }
.social-follow-card strong { font-size: 20px; font-family: 'Oswald', sans-serif; font-weight: 700; line-height: 1.1; }
.social-follow-card span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.7; }
.social-follow-card:hover { border-color: var(--crimson); color: var(--crimson); }

/* ---- Career timeline year galleries ---- */
.year-gallery-swiper {
    position: relative;
    border-radius: 6px;
    padding-bottom: 34px; /* room for pagination bullets */
}

.year-gallery-swiper .swiper-slide {
    height: 360px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--navy-dark);
}

.year-gallery-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.year-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.35s ease;
}

.year-gallery-swiper .swiper-slide:hover img { transform: scale(1.04); }

.year-gallery-swiper .swiper-button-prev,
.year-gallery-swiper .swiper-button-next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--crimson);
    color: var(--white);
    top: calc(50% - 17px);
    transition: background 0.15s;
}

.year-gallery-swiper .swiper-button-prev:hover,
.year-gallery-swiper .swiper-button-next:hover { background: #a50f28; }

.year-gallery-swiper .swiper-button-prev::after,
.year-gallery-swiper .swiper-button-next::after {
    font-size: 15px;
    font-weight: 700;
}

.year-gallery-swiper .swiper-pagination {
    bottom: 6px;
}

.year-gallery-swiper .swiper-pagination-bullet {
    background: var(--navy);
    opacity: 0.35;
}

.year-gallery-swiper .swiper-pagination-bullet-active {
    background: var(--crimson);
    opacity: 1;
}

@media (max-width: 576px) {
    .year-gallery-swiper .swiper-slide { height: 420px; }
}

/* ---- Equipment list ---- */
.equipment-list { list-style:none; padding:0; margin:0; }
.equipment-list li { display:flex; align-items:baseline; gap:8px; padding:10px 0; border-bottom:1px solid var(--border); font-size:14px; color:#444; }
.equipment-list li:last-child { border-bottom:none; }
.equipment-list a { color:var(--crimson); text-decoration:none; font-weight:600; }
.equipment-list a:hover { text-decoration:underline; }

/* ---- Mobile ---- */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 24px 20px;
        gap: 0;
        border-bottom: 2px solid var(--crimson);
    }

    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 10px 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-links a.nav-cta { margin: 12px 0 0; border-bottom: none; padding: 10px 20px; border-radius: 2px; }

    .hero-inner { flex-direction: column-reverse; gap: 24px; }
    .hero-photo { width: 100%; max-width: 280px; margin: 0 auto; }
    .hero-name { font-size: 42px; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-social { justify-content: center; }
}
