/* ============================================================
   ABOUT.CSS — Singapore Saxophone Symposium
   ============================================================ */

/* ── Page Header ───────────────────────────────────────────── */
.page-header {
    padding: 5rem 0 3rem;
}

.page-header .content-wrapper {
    /* padding: 0 40px; */
}

/* ── About Intro ───────────────────────────────────────────── */
.about-intro {
    padding: 0 0 var(--section-pad);
    border-bottom: 1px solid var(--mid-gray);
}

.about-intro .content-wrapper {
    /* padding: 0 40px; */
}

.about-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-intro__image img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.about-intro__text p.about-intro__lead {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    margin-top: -10px;
}

.about-intro__text p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-intro__text p strong,
.about-intro__text p a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

.about-intro__text p a:hover {
    text-decoration: underline;
}

/* ── Past Faculty ──────────────────────────────────────────── */

.artists-wrapper {
    display: flex;
    flex-wrap: wrap;            /* 2 per row when they fit; gracefully drops to 1 per row */
    column-gap: 2rem;
    row-gap: 0.4rem;
    align-items: baseline;
}

.artists-wrapper > .pf-entry {
    flex: 0 0 auto;             /* each entry takes its natural width */
}
.past-faculty {
    padding: var(--section-pad) 0;
    border-bottom: 1px solid var(--mid-gray);
    background-color: var(--dark-card);
}

.past-faculty .content-wrapper {
    /* padding: 0 40px; */
}

.past-faculty__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-top: 2rem;
    margin-top: 1.5rem;
}

.past-faculty__col-label {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

/* Inline flowing artist names */
.past-faculty__flow {
    line-height: 1.9;
}

/* Featured Artists column — try to fit 3 entries per row, but if any
   entry is too wide for its 1/3 slot, that row drops to 2 entries instead
   (the wide one pushes its trailing sibling to the next row).
   Flex basis sets the target 1/3 width; min-width:max-content lets a wide
   entry grow past it, which triggers flex-wrap to break the row early. */
.past-faculty__flow--3col {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 0.2rem;
    line-height: 1.7;
    align-items: baseline;
}

.past-faculty__flow--3col .artists-wrapper {
    display: contents;
}

.past-faculty__flow--3col .pf-entry {
    flex: 0 1 calc((100% - 4rem) / 3);
    min-width: max-content;
}

@media screen and (max-width: 1100px) {
    .past-faculty__flow--3col .pf-entry {
        flex-basis: calc((100% - 2rem) / 2);
    }
}

.pf-entry {
    display: inline-block;      /* each entry is one self-contained chip */
}

.pf-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: #C7C0A8;
    white-space: nowrap;        /* keep the full name together — never break "Timothy O'Dwyer" or "Hong Kong Youth Saxophone Choir" mid-name */
}

.pf-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #888888;
    letter-spacing: 0.04em;
    margin-left: 6px;
    vertical-align: middle;
    white-space: nowrap;        /* keep "USA / Singapore" as one unit — never split mid-phrase */
}

.pf-sep {
    display: none;              /* grid columns separate entries visually; dot no longer needed */
}

/* ── Artistic Director ─────────────────────────────────────── */
.director-section {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--mid-gray);
}

.director-section .content-wrapper {
    /* padding: 0 40px; */
}

.director-section > .content-wrapper > .eyebrow {
    margin-bottom: 2.5rem;
}

.director-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.director-portrait {
    position: relative;
}

/* Decorative top-left corner bracket on portrait */
.director-portrait::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 26px;
    height: 26px;
    border-top: 1.5px solid var(--dark-gold);
    border-left: 1.5px solid var(--dark-gold);
    pointer-events: none;
    z-index: 2;
}

.director-portrait img {
    width: 100%;
    border-radius: 0;
    object-fit: cover;
    display: block;
}

.director-portrait__caption {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 12px;
    color: var(--dark-gold);
    margin-top: 1rem;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--mid-gray);
}

/* Bio right column */
.director-bio p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}


.director-bio__eyebrow {
    font-family: var(--font-mono);
    font-size: 11px !important;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold) !important;
    margin-bottom: 0.75rem;
}


.director-bio__name {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1rem;
}

.director-bio__title {
    font-family: var(--font-body);
    font-size: 14px !important;
    font-weight: 300;
    color: var(--gold) !important;
    line-height: 1.6;
    margin-bottom: 0;
}

.director-bio hr {
    width: 48px;
    margin: 1.5rem 0;
    border-color: var(--mid-gray);
}


.director-bio p strong {
    color: var(--white);
    font-weight: 400 !important;
}

/* Award tags */
.director-bio__awards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.5rem;
}

.director-award {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-gold);
    border: 1px solid var(--dark-gold);
    padding: 6px 14px;
    border-radius: 2px;
}

/* ══ Responsive ════════════════════════════════════════════ */
@media screen and (max-width: 1280px) {
    .about-intro .content-wrapper,
    .past-faculty .content-wrapper,
    .director-section .content-wrapper,
    .page-header .content-wrapper { padding: 0 40px; }
}

@media screen and (max-width: 900px) {
    .about-intro__grid,
    .director-grid { grid-template-columns: 1fr; gap: 40px; }

    .past-faculty__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media screen and (max-width: 768px) {
    .about-intro .content-wrapper,
    .past-faculty .content-wrapper,
    .director-section .content-wrapper,
    .page-header .content-wrapper { padding: 0 24px; }

    .about-intro__grid { gap: 32px; }
    .director-portrait__name { font-size: 22px; }
    .past-faculty__names { grid-template-columns: 1fr; }

    .page-header { padding: 4rem 0 2rem; }
    .about-intro__text p.about-intro__lead { font-size: 20px; margin-top: 0; }
    .director-bio__name { font-size: 38px; }
    .director-bio__title { font-size: 13px !important; }
    .director-bio p { font-size: 14px; }
    .director-bio__awards { gap: 6px; }

}

@media screen and (max-width: 480px) {
    .about-intro .content-wrapper,
    .past-faculty .content-wrapper,
    .director-section .content-wrapper,
    .page-header .content-wrapper { padding: 0 16px; }

    .page-header { padding: 3rem 0 1.5rem; }
    .about-intro__lead,
    .about-intro__text p.about-intro__lead { font-size: 18px; }
    .about-intro__text p { font-size: 13px; }

    .director-portrait img { width: 100%; height: auto; }
    .director-bio__name { font-size: 32px; }
    .director-bio__title { font-size: 12px !important; }
    .director-bio p { font-size: 13px; }
    .director-award { font-size: 9px; padding: 5px 10px; }

    .pf-name { font-size: 13px; }
    .pf-tag { font-size: 10px; }
}
