*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red: #C8102E;
    --red-dark: #a00e26;
    --red-light: #f5e6e9;
    --white: #ffffff;
    --off-white: #f9f9f9;
    --gray-light: #ebebeb;
    --gray-mid: #b0b0b0;
    --gray-dark: #444444;
    --text: #222222;
    --font: Arial, Helvetica, sans-serif;
    --header-h: 68px;
    --nav-w: 280px;
    --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    font-family: var(--font);
    background: var(--white);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── HEADER ── */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: var(--white);
    border-bottom: 3px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

#logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1; /* Pushes other items to the right */
}

#logo-img {
    width: 48px;
    height: 48px;
    background: var(--gray-light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--gray-mid);
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
    overflow: hidden;
}

#site-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--red);
    white-space: nowrap;
    text-transform: uppercase;
}

#hamburger {
    /* Removed flex: 1 to fix the hover area issue */
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background var(--transition);

    /* Fixed horizontal stacking with flex-direction column */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hamburger:hover {
    background: var(--red-light);
}

#hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--red);
    border-radius: 2px;
    margin: 2px 0; /* Vertical spacing between bars */
    transition: var(--transition);
}

/* ── SLIDE NAV ── */
#nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 1100;
    pointer-events: none;
    transition: background var(--transition);
}
#nav-overlay.open {
    background: rgba(0,0,0,0.35);
    pointer-events: all;
}

#nav-panel {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: var(--nav-w);
    background: var(--white);
    border-left: 3px solid var(--red);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    overflow-y: auto;
}
#nav-panel.open { transform: translateX(0); }

#nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 2px solid var(--gray-light);
    background: var(--red);
}
#nav-header span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
}

#nav-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background var(--transition);
}
#nav-close:hover { background: rgba(255,255,255,0.2); }

#nav-links {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.nav-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 13px 24px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gray-dark);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
    text-transform: uppercase;
    border-left: 3px solid transparent;
}
.nav-btn:hover {
    background: var(--red-light);
    color: var(--red);
    padding-left: 30px;
    border-left-color: var(--red);
}
.nav-btn.active {
    background: var(--red-light);
    color: var(--red);
    border-left-color: var(--red);
}

/* ── MAIN CONTENT ── */
#main {
    margin-top: var(--header-h);
    min-height: calc(100vh - var(--header-h));
}

.page { display: none; }
.page.active { display: block; }

/* ── PAGE HERO BANNER ── */
.page-hero {
    background: var(--red);
    color: var(--white);
    padding: 52px 40px 42px;
    text-align: center;
}
.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.page-hero p {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── PAGE CONTENT ── */
.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 52px 32px 80px;
}

/* ── SECTION ── */
.section { margin-bottom: 72px; }
.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 10px;
    border-bottom: 2.5px solid var(--red);
    margin-bottom: 24px;
}

.section-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}
.section-body.full { grid-template-columns: 1fr; }
.section-body.image-right { grid-template-columns: 1fr 1fr; }

.section-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 12px;
}
.section-text p:last-child { margin-bottom: 0; }

.placeholder-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--gray-light);
    border:none;
    object-fit: cover;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--gray-mid);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}

/* ── STAFF GRID ── */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.staff-card {
    background: var(--off-white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: box-shadow var(--transition), transform var(--transition);
}
.staff-card:hover {
    box-shadow: 0 6px 24px rgba(200,16,46,0.1);
    transform: translateY(-2px);
}
.staff-photo {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--gray-light);
    border-bottom: 3px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--gray-mid);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.staff-info { padding: 16px 18px 20px; }
.staff-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.staff-role { font-size: 0.78rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
.staff-blurb { font-size: 0.85rem; color: var(--gray-dark); line-height: 1.65; }

/* ── LINKS LIST ── */
.links-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.links-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: 0.92rem; font-weight: 700; text-decoration: none; transition: color var(--transition); }
.links-list a::before { content: '→'; font-size: 1em; transition: transform var(--transition); }
.links-list a:hover { color: var(--red-dark); }
.links-list a:hover::before { transform: translateX(4px); }

/* ── DOWNLOAD BUTTONS ── */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    padding: 11px 22px;
    border-radius: 6px;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background var(--transition), transform var(--transition);
    margin-right: 12px;
    margin-bottom: 12px;
}
.download-btn:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── MAP PLACEHOLDER ── */
.map-placeholder {
    width: 100%;
    height: 220px;
    background: var(--gray-light);
    border: 2px dashed var(--gray-mid);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--gray-mid);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ── FOOTER ── */
#site-footer {
    background: var(--red);
    color: rgba(255,255,255,0.85);
    text-align: center;
    padding: 28px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}
#site-footer strong { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
    #site-title { font-size: 0.95rem; }
    .page-hero h1 { font-size: 1.5rem; }
    .section-body, .section-body.image-right { grid-template-columns: 1fr; }
    .staff-grid { grid-template-columns: repeat(2, 1fr); }
    .page-content { padding: 36px 18px 60px; }
}
@media (max-width: 480px) {
    .staff-grid { grid-template-columns: 1fr; }
}