/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold: #cfa670;
    --gold-light: #e2c9a5;
    --gold-dark: #b88d55;
    --dark: #151617;
    --darker: #000000;
    --dark-card: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #999;
    --radius: 7px;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: var(--darker);
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Navigation ─────────────────────────────────────────────── */

.site-header {
    background: var(--darker);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-img { height: 185px; width: auto; border-radius: 50%; }

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.nav-menu a {
    color: #ccc;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-menu a:hover { color: #fff; text-decoration: none; }

/* Active page indicator — the gold box follows the visitor's current page. */
.nav-menu a.nav-current {
    background: var(--gold) !important;
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background 0.2s;
}
.nav-menu a.nav-current:hover { background: var(--gold-dark) !important; color: #fff !important; }

/* Language dropdown */
.nav-lang {
    position: relative;
}
.lang-toggle {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ccc;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s;
}
.lang-toggle:hover { background: rgba(255,255,255,0.12); color: #fff; }
.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    list-style: none;
    min-width: 140px;
    overflow: hidden;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.nav-lang:hover .lang-dropdown,
.nav-lang.open .lang-dropdown { display: block; }
.lang-dropdown li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ccc !important;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.lang-dropdown li a:hover { background: rgba(255,255,255,0.05); color: #fff !important; }
.lang-dropdown li a.active { color: var(--gold) !important; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ─── Hero Section ───────────────────────────────────────────── */

.hero {
    background: var(--darker);
    text-align: center;
    padding: 4rem 2rem 5rem;
    position: relative;
}
.hero-logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(207, 166, 112, 0.3);
}
.hero h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}
.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.hero .btn-hero {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 2px solid #fff;
    color: #fff;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}
.hero .btn-hero:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    text-decoration: none;
}

/* ─── Section Dividers ───────────────────────────────────────── */

.divider-wave {
    width: 100%;
    height: 60px;
    display: block;
}
.divider-wave.blue { background: var(--darker); }
.divider-wave.blue svg { fill: var(--gold-dark); }
.divider-wave.dark { background: var(--gold-dark); }
.divider-wave.dark svg { fill: var(--dark); }

.section-divider {
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.section-divider svg {
    width: 100%;
    height: 60px;
}

/* ─── Gallery Section ────────────────────────────────────────── */

.gallery-section {
    background: var(--dark-card);
    padding: 4rem 2rem;
}
.gallery-section h2 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 2rem;
}
.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}
.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius);
    box-shadow: 1px 1px 33px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}
.gallery-grid img {
    cursor: pointer;
}
.gallery-grid img:hover {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}
.lightbox-close {
    position: absolute;
    top: 1rem; right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
    line-height: 1;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--gold); }

/* ─── About Section ──────────────────────────────────────────── */

.about-section {
    background: var(--dark);
    padding: 3rem 2rem;
}
.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.about-section h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-align: center;
}
.about-section p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.about-section a { color: var(--gold); }
.about-section a:hover { color: var(--gold); }

/* ─── Features / Services Cards ──────────────────────────────── */

.features-section {
    background: var(--darker);
    padding: 5rem 2rem;
}
.features-section h2 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 2.5rem;
}
.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 1px 1px 33px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}
.feature-card h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.feature-card .btn-feature {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gold);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background 0.2s;
}
.feature-card .btn-feature:hover {
    background: var(--gold-dark);
    text-decoration: none;
}

/* ─── Page Content Sections ──────────────────────────────────── */

.page-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.page-section h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.page-section p {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ─── Blog ───────────────────────────────────────────────────── */

.post-card {
    background: var(--dark-card);
    padding: 0;
    border-radius: var(--radius);
    box-shadow: 1px 1px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}
.post-card-body { padding: 1rem 1.25rem 1.25rem; }
.post-list {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.post-card {
    display: flex;
    flex-direction: column;
}
.post-card-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-bottom: 0;
    transition: opacity 0.2s;
}
.post-card-image:hover { opacity: 0.85; }
/* Video thumbnail with centered play badge */
.post-card-video { position: relative; display: block; }
.post-card-video .post-card-image { background: #000; }
.post-card-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    transition: background 0.2s;
    pointer-events: none;
}
.post-card-play::before {
    content: "";
    position: absolute;
    top: 50%; left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
}
.post-card-video:hover .post-card-play { background: var(--gold); }
.post-card h2 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.post-card h2 a { color: var(--gold); }
.post-card h2 a:hover { color: var(--gold-light); }
.post-card time { color: var(--text-muted); font-size: 0.9rem; }
.post-card p { color: #ccc; margin-top: 0.75rem; }

.post-content {
    margin-top: 1.5rem;
    color: #ccc;
    line-height: 1.8;
}
.post-content p { margin-bottom: 1rem; }
.post-content img { border-radius: var(--radius); margin: 1rem 0; }
.post-content img,
.post-content video {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}
.post-content video { width: 100%; background: #000; }

.post-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

/* ─── Events / Calendar ──────────────────────────────────────── */

.calendar-heading {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--dark-card);
}
.calendar-heading.past { color: var(--text-muted); }

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.filter-pill {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(207, 166, 112, 0.3);
    border-radius: 50px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-pill:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}
.filter-pill.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: 600;
}
.event-list { display: grid; gap: 1rem; }
.year-separator {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--gold);
    padding: 0.75rem 0 0.25rem;
    border-bottom: 2px solid rgba(207, 166, 112, 0.2);
}
.event-card {
    background: var(--dark-card);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 1px 1px 20px rgba(0,0,0,0.2);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.event-card.upcoming { border-left: 4px solid var(--gold); }
.event-card.past { border-left: 4px solid #333; opacity: 0.7; }

.event-date-badge {
    min-width: 60px;
    text-align: center;
    background: var(--gold);
    border-radius: var(--radius);
    padding: 0.5rem;
}
.event-date-badge.past { background: #333; }
.event-month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
}
.event-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.event-info { flex: 1; }
.event-info h3 { color: var(--gold); margin-bottom: 0.15rem; font-size: 1.1rem; }
.event-info time { color: var(--gold); font-size: 0.85rem; font-weight: 600; }
.event-tag {
    display: inline-block;
    background: rgba(207, 166, 112, 0.15);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
}
.event-meta-row {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    vertical-align: middle;
}
.event-meta-row .event-tag { margin-left: 0; }
.event-featured { display: inline-flex; align-items: center; }
.featured-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    background: #222;
}
.event-featured .featured-avatar + .featured-avatar { margin-left: 4px; }
.event-day-end {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-top: 1px;
}
.event-performers {
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.event-performer {
    font-size: 0.9rem;
    color: #ddd;
    padding-left: 0.75rem;
    border-left: 2px solid rgba(207, 166, 112, 0.3);
}
.event-role {
    color: var(--gold-light);
    font-size: 0.8rem;
    font-style: italic;
}
.event-location { color: var(--text-muted); font-style: italic; margin-top: 0.15rem; font-size: 0.9rem; }
.event-info p { color: #ccc; margin-top: 0.3rem; font-size: 0.95rem; }
.event-repertoire {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}
.event-repertoire-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.15rem;
}
.event-piece {
    font-size: 0.85rem;
    color: #ccc;
    background: rgba(255,255,255,0.04);
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
}
.event-video-thumb {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    text-decoration: none !important;
    position: relative;
}
.event-video-thumb img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.event-video-play {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: rgba(0,0,0,0.35);
    border-radius: 4px;
    transition: background 0.2s;
}
.event-video-thumb:hover .event-video-play { background: rgba(0,0,0,0.15); }
.event-video-label {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}
.event-video-thumb:hover .event-video-label { color: var(--gold-light); }

.event-photo {
    margin-top: 0.6rem;
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* ─── Video Gallery ──────────────────────────────────────────── */

.video-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}
.video-gallery-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 2rem;
}
.video-gallery-desc {
    color: #ccc;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.video-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 1px 1px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}
.video-card:hover { transform: translateY(-3px); }
.video-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s;
}
.video-thumb:hover img { opacity: 0.75; }
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.play-btn svg { width: 48px; height: 34px; }
.video-thumb:hover .play-btn { opacity: 1; }
.video-embed {
    aspect-ratio: 16/9;
}
.video-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
}
.video-card h3 {
    padding: 0.5rem 1rem 0.25rem;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 400;
    line-height: 1.4;
}
.video-meta {
    padding: 0.25rem 1rem 0.75rem;
    display: flex;
    gap: 0;
    font-size: 0.7rem;
    color: #888;
}
.vm-item {
    padding: 0 0.5rem;
    border-right: 1px solid #333;
}
.vm-item:first-child { padding-left: 0; }
.vm-item:last-child { border-right: none; }

/* ─── Donate ─────────────────────────────────────────────────── */

.donate-section {
    text-align: center;
}
.donate-hero {
    margin: 1rem 0 2rem;
}
.donate-image {
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: 1px 1px 33px rgba(0,0,0,0.3);
}
.donate-section .btn-donate {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 3rem;
    background: var(--gold);
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: var(--radius);
    transition: background 0.3s;
}
.donate-section .btn-donate:hover {
    background: #b88d55;
    text-decoration: none;
}

/* ─── Raffle ─────────────────────────────────────────────────── */

.raffle-section {
    text-align: center;
    max-width: 800px;
}
.raffle-logo {
    max-width: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(207, 166, 112, 0.3);
}
.raffle-prizes {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    text-align: left;
}
.raffle-prizes h2 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}
.raffle-prizes ul {
    list-style: none;
    padding: 0;
}
.raffle-prizes li {
    padding: 0.5rem 0;
    color: #ccc;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.raffle-prizes li::before {
    content: "🎁 ";
}
.raffle-value {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 700;
    margin-top: 1rem !important;
}
.raffle-status {
    margin: 2rem 0;
}
.raffle-closed {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
}
.btn-raffle-signup {
    display: inline-block;
    padding: 1.25rem 4rem;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 1.5rem;
    transition: background 0.2s, transform 0.2s;
}
.btn-raffle-signup:hover { background: var(--gold-dark); transform: scale(1.05); }
.raffle-countdown { margin: 1.5rem 0; color: #ccc; }
.raffle-countdown strong { color: var(--gold); }
.raffle-form-container {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 2rem;
    text-align: left;
}
.raffle-form-container h2 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
.form-required-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0 0 1.25rem;
}
/* Gold "*" marking required fields, and a muted "(optional)" hint. */
.req { color: var(--gold); font-weight: 700; }
.optional-hint { color: var(--text-muted); font-weight: 400; font-size: 0.85em; }
/* Explanatory note above an optional group (e.g. why we ask for an address). */
/* Scoped under .page-section so it outranks `.page-section p` (0,1,1), which
   would otherwise force these notes back to the 1.05rem body size. */
.page-section .form-section-note {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0 0 0.85rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.raffle-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.raffle-form .form-row:has(.form-group:nth-child(3)) {
    grid-template-columns: 2fr 1fr 1fr;
}
.raffle-form .form-group { margin-bottom: 1rem; }
.raffle-form label {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}
.raffle-form input[type="text"],
.raffle-form input[type="email"] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: #111;
    border: 1px solid #333;
    border-radius: var(--radius);
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
}
.raffle-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(207, 166, 112, 0.15);
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #aaa;
    font-size: 0.9rem;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}
.btn-raffle-submit {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 0.5rem;
    transition: background 0.2s;
}
.btn-raffle-submit:hover { background: var(--gold-dark); }

/* Contact form */
.contact-form {
    max-width: 620px;
    margin: 2rem auto 0;
    text-align: left;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form label {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: #111;
    border: 1px solid #333;
    border-radius: var(--radius);
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(207, 166, 112, 0.15);
}
.btn-contact-submit {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 0.5rem;
    transition: background 0.2s;
}
.btn-contact-submit:hover { background: var(--gold-dark); }
@media (max-width: 600px) {
    .contact-form .form-row { grid-template-columns: 1fr; }
}
.raffle-entries {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-top: 1rem;
}
.raffle-prize-content { color: #ccc; line-height: 1.7; }
@media (max-width: 500px) {
    .raffle-form .form-row { grid-template-columns: 1fr; }
    .raffle-form .form-row:has(.form-group:nth-child(3)) { grid-template-columns: 1fr; }
}

/* ─── Footer ─────────────────────────────────────────────────── */

.site-footer {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-top {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.footer-tagline {
    color: #777;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-columns {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    text-align: center;
    align-items: start;
}
.footer-col h4 {
    color: var(--gold);
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}
.footer-col p,
.footer-col a {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
}
.footer-col a:hover { color: var(--gold); text-decoration: none; }

.footer-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.4rem;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: #aaa;
    transition: all 0.2s;
}
.footer-social a:hover {
    background: var(--gold);
    color: #000;
}

.footer-donate-btn {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--gold);
    color: #000 !important;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    transition: background 0.2s;
}
.footer-donate-btn:hover { background: var(--gold-dark); text-decoration: none; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-bottom p { color: #555; font-size: 0.8rem; margin: 0; }
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: var(--gold); text-decoration: none; }
.footer-lt {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #666 !important;
    font-size: 0.8rem;
}
.footer-lt:hover { color: var(--gold) !important; text-decoration: none; }
.footer-flag { width: 22px; height: auto; border-radius: 2px; }

/* ─── Flash Messages ─────────────────────────────────────────── */

.flash {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    text-align: center;
}
.flash-error { background: #5c1a1a; color: #faa; }
.flash-success { background: #1a3d1a; color: #afa; }

/* ─── Responsive ─────────────────────────────────────────────── */

/* Collapse the nav to a hamburger for narrow viewports AND for any phone in
   landscape. The big iPhones are 896–956px wide in landscape — too wide for a
   simple max-width cutoff — but a phone in landscape is always short, so the
   second condition (landscape + short height) catches them by height regardless
   of width. Anchored to the bottom of the header (top:100%) so the dropdown
   never overlaps the logo whatever its height. */
@media (max-width: 900px), (orientation: landscape) and (max-height: 500px) {
    .nav-toggle { display: block; padding: 0.5rem; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--darker);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { font-size: 1rem; padding: 0.25rem 0; }
}

@media (max-width: 768px) {
    .nav-logo-img { height: 120px; }

    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 3rem 1.5rem 2.5rem; }
    .hero-logo { width: 120px; height: 120px; }
    .hero p { font-size: 1.1rem; }

    .section-divider svg, .divider-wave { height: 40px; }

    .gallery-section { padding: 3rem 1.5rem; }
    .gallery-section h2 { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .gallery-grid img { height: 180px; }

    .about-section h2 { font-size: 2.5rem; }

    .features-section { padding: 3rem 1.5rem; }
    .features-section h2 { font-size: 2.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .feature-card { padding: 2rem 1.5rem; }
    .feature-card .btn-feature { padding: 0.6rem 1.5rem; }

    .page-section { padding: 3rem 1.5rem; }
    .page-section h1 { font-size: 2.5rem; }

    .video-gallery { padding: 2rem 1.5rem 3rem; }
    .video-gallery-title { font-size: 2.5rem; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }

    .event-card { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .event-date-badge { display: flex; gap: 0.5rem; align-items: center; min-width: auto; padding: 0.3rem 0.75rem; }
    .event-month, .event-day, .event-day-end { display: inline; font-size: 0.9rem; }

    .post-featured-image { max-height: 280px; }

    .raffle-logo { max-width: 160px; }
    .raffle-prizes { padding: 1.5rem; }
    .btn-raffle-signup { padding: 1rem 3rem; font-size: 1.4rem; }
    .raffle-form .form-row:has(.form-group:nth-child(3)) { grid-template-columns: 1fr 1fr; }

    .footer-top { flex-direction: column; text-align: center; }
    .footer-columns { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; }

    /* Touch-friendly targets */
    .lang-toggle { padding: 0.5rem 0.85rem; font-size: 0.9rem; }
    .lang-dropdown li a { padding: 0.65rem 1rem; font-size: 1rem; }
    .footer-social a { width: 44px; height: 44px; }
    .lightbox-close { padding: 0.5rem; font-size: 2.5rem; }
    .checkbox-label input[type="checkbox"] { width: 22px; height: 22px; }
    .play-btn svg { width: 56px; height: 40px; }
}

@media (max-width: 500px) {
    .nav-container { padding: 0.75rem 1rem; }
    .nav-logo-img { height: 95px; }

    .hero h1 { font-size: 1.75rem; }
    .hero { padding: 2rem 1rem 2rem; }
    .hero-logo { width: 100px; height: 100px; }
    .hero p { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero .btn-hero { padding: 0.7rem 2rem; font-size: 1rem; }

    .section-divider svg, .divider-wave { height: 30px; }

    .gallery-section { padding: 2rem 1rem; }
    .gallery-section h2 { font-size: 2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid img { height: 140px; }

    .about-section { padding: 2rem 1rem; }
    .about-section h2 { font-size: 2rem; }

    .features-section { padding: 2rem 1rem; }
    .features-section h2 { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 1.5rem 1.25rem; }

    .page-section { padding: 2rem 1rem; }
    .page-section h1 { font-size: 2rem; }

    .video-gallery { padding: 2rem 1rem; }
    .video-gallery-title { font-size: 2rem; }
    .video-grid { grid-template-columns: 1fr; }

    .post-featured-image { max-height: 200px; }
    .post-list { grid-template-columns: 1fr; }

    .raffle-logo { max-width: 130px; }
    .raffle-form .form-row { grid-template-columns: 1fr; }
    .raffle-form .form-row:has(.form-group:nth-child(3)) { grid-template-columns: 1fr; }
    .raffle-form input[type="text"],
    .raffle-form input[type="email"] { padding: 0.75rem 0.85rem; font-size: 1rem; }
    .raffle-form label { font-size: 0.9rem; }
    .btn-raffle-submit { padding: 1rem; font-size: 1.1rem; }
    .btn-raffle-signup { padding: 1rem 2.5rem; font-size: 1.3rem; }
    .raffle-form-container { padding: 1.5rem 1rem; }

    .donate-image { max-width: 100%; }

    .footer-columns { padding: 1.25rem 1rem; }
    .footer-bottom { padding: 1rem; gap: 0.75rem; }
    .flash { padding: 0.75rem 1rem; font-size: 0.9rem; }
}

/* ─── Phones in landscape (short, wide viewport) ─────────────────────
   A landscape phone is only ~375–430px tall, so the default header logo and
   tall hero padding swallow the whole screen. Shrink the chrome and tighten
   vertical rhythm so actual content is visible without a long scroll. Keyed on
   viewport height + orientation so tablets/desktop are unaffected. */
@media (orientation: landscape) and (max-height: 500px) {
    .nav-container { padding: 0.5rem 1.5rem; }
    .nav-logo-img { height: 64px; }
    .nav-menu { top: 100%; }

    .hero { padding: 1.75rem 1.5rem; }
    .hero-logo { width: 80px; height: 80px; margin-bottom: 0.75rem; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.05rem; margin-bottom: 1.25rem; }

    .section-divider svg, .divider-wave { height: 30px; }
    .gallery-section, .about-section, .features-section,
    .page-section, .video-gallery { padding-top: 2rem; padding-bottom: 2rem; }
}

/* ─── Notch / safe-area (landscape) ──────────────────────────────────
   With viewport-fit=cover the page goes edge-to-edge instead of being
   letterboxed by black bars, but in landscape the notch + home indicator sit in
   the left/right margins. Pad full-bleed containers out to the safe area so the
   logo, nav and body text are never clipped under the notch. max() keeps the
   existing padding on devices with no inset (a no-op on desktop). */
@media (orientation: landscape) {
    .nav-container,
    .hero,
    .gallery-section,
    .about-section,
    .features-section,
    .page-section,
    .video-gallery,
    .footer-columns,
    .footer-bottom,
    .flash {
        padding-left: max(env(safe-area-inset-left), 1.5rem);
        padding-right: max(env(safe-area-inset-right), 1.5rem);
    }
}

/* ─── Resume — "Engraved Program / Editorial Timeline" ───────────── */

.resume-page { max-width: 840px; }

/* Top bar: back link + print/PDF button (single-person page) */
.resume-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.resume-back {
    color: var(--gold-light);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.resume-back:hover { color: var(--gold); text-decoration: none; }

/* Print / action button */
.resume-actions { text-align: right; margin-bottom: 2.5rem; }
.btn-resume-print {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius);
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-resume-print:hover { background: var(--gold); color: var(--darker); }

/* Card / program sheet */
.resume {
    position: relative;
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 3.5rem 3.25rem 3rem;
    margin-bottom: 3rem;
    box-shadow: 1px 1px 20px rgba(0,0,0,0.2);
}
/* hairline gold inner frame */
.resume::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(207, 166, 112, 0.16);
    border-radius: calc(var(--radius) - 3px);
    pointer-events: none;
}

/* ── Engraved masthead ─────────────────────────────────────────── */
.resume-header {
    text-align: center;
    margin-bottom: 2.75rem;
}
/* name with a small circular portrait directly to its right */
.resume-masthead {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
}
.resume-name {
    font-family: 'Dancing Script', cursive;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.05;
    margin: 0;
}
.resume-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--gold-light);
    font-size: 1.05rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.06em;
    margin: 0 0 1.25rem;
}
/* ornamented divider under the masthead */
.resume-header .rule-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    max-width: 360px;
    margin: 0 auto 1.5rem;
    color: var(--gold);
}
.resume-header .rule-ornament::before,
.resume-header .rule-ornament::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to var(--dir, right),
        transparent, rgba(207,166,112,0.55) 70%, var(--gold));
}
.resume-header .rule-ornament::before { --dir: left; }
.resume-header .rule-ornament .diamond {
    width: 6px; height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    flex: 0 0 auto;
    box-shadow: 0 0 0 4px rgba(207,166,112,0.12);
}
.resume-summary {
    color: #cfcfcf;
    line-height: 1.8;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.resume-summary p { margin-bottom: 0.6rem; }
.resume-summary p:last-child { margin-bottom: 0; }

/* ── Section header: small-caps label, gold rule, diamond ───────── */
.resume-section { margin-bottom: 2.5rem; }
.resume-section:last-child { margin-bottom: 0; }
.resume-section-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin: 0 0 1.4rem;
    padding: 0;
    border: 0;
}
.resume-section-title::before {
    content: "";
    width: 5px; height: 5px;
    background: var(--gold);
    transform: rotate(45deg);
    flex: 0 0 auto;
}
.resume-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--gold), rgba(207,166,112,0.12));
}

/* ── Generic item head: heading + right-aligned dates ───────────── */
.resume-item-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.25rem;
}
.resume-item-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.01em;
}
.resume-item-subheading {
    color: var(--gold-light);
    font-size: 0.95rem;
}
.resume-item-subheading::before { content: " — "; color: rgba(207,166,112,0.5); }
.resume-item-dates {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--gold);
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}
.resume-item-location {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-style: italic;
    margin-top: 0.1rem;
}
.resume-item-desc {
    color: #c2c2c2;
    line-height: 1.78;
    font-size: 0.97rem;
    margin-top: 0.5rem;
}
.resume-item-desc ul { margin: 0.3rem 0 0 1.25rem; }
.resume-item-desc li { margin-bottom: 0.3rem; }
.resume-item-desc p { margin-bottom: 0.5rem; }
.resume-item-desc p:last-child { margin-bottom: 0; }

/* ── TIMELINE treatment (narrative entries) ─────────────────────── */
.resume-section--timeline .resume-items {
    position: relative;
    margin-left: 0.5rem;
    padding-left: 1.75rem;
    border-left: 1px solid rgba(207,166,112,0.28);
}
.resume-section--timeline .resume-item {
    position: relative;
    padding-bottom: 1.6rem;
}
.resume-section--timeline .resume-item:last-child { padding-bottom: 0; }
.resume-section--timeline .resume-item::before {
    content: "";
    position: absolute;
    left: -1.75rem;
    top: 0.55rem;
    width: 9px; height: 9px;
    margin-left: -5px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--dark-card), 0 0 0 5px rgba(207,166,112,0.3);
}

/* ── COMPACT / LIST treatment (repertoire) ──────────────────────── */
.resume-section--list .resume-items {
    margin: 0;
    padding: 0;
}
.resume-section--list .resume-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    column-gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}
.resume-section--list .resume-item:last-child { border-bottom: 0; }
.resume-section--list .resume-item-head { display: contents; }
.resume-section--list .resume-line { min-width: 0; }
.resume-section--list .resume-item-heading {
    font-size: 1.05rem;
    font-weight: 600;
}
.resume-section--list .resume-item-subheading {
    display: inline;
    font-style: italic;
    color: var(--gold-light);
}
.resume-section--list .resume-item-dates {
    text-align: right;
    font-size: 0.9rem;
}
.resume-section--list .resume-item-location {
    grid-column: 1 / 2;
    margin-top: 0.05rem;
    font-size: 0.82rem;
}
.resume-section--list .resume-item-desc { grid-column: 1 / -1; }

/* ── GRID treatment (short honors, two-up) ──────────────────────── */
.resume-section--grid .resume-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 2.5rem;
}
.resume-section--grid .resume-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    column-gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}
.resume-section--grid .resume-item-head { display: contents; }
.resume-section--grid .resume-line { min-width: 0; }
.resume-section--grid .resume-item-heading { font-size: 1.05rem; }
.resume-section--grid .resume-item-subheading { display: block; font-size: 0.85rem; font-style: italic; }
.resume-section--grid .resume-item-subheading::before { content: ""; }
.resume-section--grid .resume-item-dates { text-align: right; font-size: 0.9rem; }
.resume-section--grid .resume-item-desc { grid-column: 1 / -1; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .resume { padding: 2.25rem 1.4rem; }
    .resume::after { inset: 8px; }
    .resume-name { font-size: 2.6rem; }
    .resume-section-title { font-size: 1.2rem; letter-spacing: 0.16em; }

    .resume-item-head { flex-direction: column; gap: 0.1rem; }
    .resume-item-dates { font-size: 0.9rem; }

    .resume-section--timeline .resume-items { padding-left: 1.3rem; }
    .resume-section--timeline .resume-item::before { left: -1.3rem; }

    .resume-section--grid .resume-items { grid-template-columns: 1fr; gap: 0; }
    .resume-section--list .resume-item,
    .resume-section--grid .resume-item { grid-template-columns: 1fr; }
    .resume-section--list .resume-item-head,
    .resume-section--grid .resume-item-head { display: block; }
    .resume-section--list .resume-item-dates,
    .resume-section--grid .resume-item-dates { text-align: left; display: block; margin-top: 0.1rem; }
}

/* ── Clickable entries + detail pop-up ──────────────────────────── */
.resume-item--clickable {
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s ease;
}
.resume-item--clickable:hover,
.resume-item--clickable:focus-visible {
    background: rgba(207,166,112,0.07);
    outline: none;
}
.resume-item--clickable:focus-visible { box-shadow: 0 0 0 2px rgba(207,166,112,0.5); }
.resume-item-more {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: var(--gold, #cfa670);
    opacity: 0.9;
}
.resume-item-more-count { color: rgba(207,166,112,0.7); margin: 0 0.15rem; }
/* List/grid variants: keep the affordance on its own row. */
.resume-section--list .resume-item-more,
.resume-section--grid .resume-item-more { grid-column: 1 / -1; }

.resume-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.resume-modal[hidden] { display: none; }
.resume-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(2px);
}
.resume-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    max-height: 88vh;
    overflow-y: auto;
    background: var(--dark-card, #1c1c1c);
    border: 1px solid rgba(207,166,112,0.35);
    border-radius: 10px;
    padding: 2rem 2.25rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.resume-modal__close {
    position: absolute;
    top: 0.6rem;
    right: 0.9rem;
    background: none;
    border: none;
    color: #bbb;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
}
.resume-modal__close:hover { color: var(--gold, #cfa670); }
.resume-modal__head { margin: 0 1.5rem 1rem 0; }
.resume-modal__title {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--gold, #cfa670);
    margin: 0;
}
.resume-modal__meta { color: #999; font-size: 0.92rem; margin: 0.15rem 0 0; }
.resume-modal__body {
    color: #ddd;
    line-height: 1.65;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
}
.resume-modal__body ul { margin: 0.4rem 0 0.6rem 1.25rem; }
.resume-modal__body li { margin-bottom: 0.35rem; }
.resume-modal__body p { margin-bottom: 0.7rem; }
.resume-modal__body p:last-child { margin-bottom: 0; }
.resume-modal__body a { color: var(--gold, #cfa670); }

.resume-modal__media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
    margin-top: 1.25rem;
}
.rmedia { display: block; border-radius: 6px; overflow: hidden; }
.rmedia--img img,
.rmedia--video {
    width: 100%;
    display: block;
    background: #000;
    border-radius: 6px;
}
.rmedia--img img { height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.rmedia--video { aspect-ratio: 16 / 9; }

/* YouTube: click-to-play thumbnail that swaps to an embedded player. */
.rmedia--yt {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}
.rmedia--yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rmedia--yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.rmedia-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.rmedia--yt:hover .rmedia-play,
.rmedia--yt:focus-visible .rmedia-play { background: rgba(0,0,0,0.15); }
.rmedia--yt:focus-visible { outline: 2px solid var(--gold, #cfa670); outline-offset: 2px; }
/* A comfortable "small window": spans two grid cells (full width on phones). */
.resume-modal__media .rmedia--yt { grid-column: span 2; }
.rmedia--doc {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ddd;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.rmedia--doc:hover { border-color: rgba(207,166,112,0.5); background: rgba(207,166,112,0.08); }
.rmedia-ico { font-size: 1.6rem; line-height: 1; }
.rmedia-label { display: flex; flex-direction: column; min-width: 0; }
.rmedia-label small { color: var(--gold, #cfa670); font-size: 0.78rem; margin-top: 0.1rem; }
body.resume-modal-open { overflow: hidden; }

@media (max-width: 600px) {
    .resume-modal { padding: 0.75rem; }
    .resume-modal__panel { padding: 1.5rem 1.25rem; max-height: 92vh; }
    .resume-modal__title { font-size: 1.7rem; }
    .resume-modal__media { grid-template-columns: 1fr 1fr; }
}

/* ── Clean black-on-white print / PDF ───────────────────────────── */
@media print {
    /* Pop-ups and the "view details" hint are screen-only. */
    .resume-modal, .resume-item-more { display: none !important; }
    body { background: #fff; color: #000; }
    .site-header, .site-footer, .resume-actions, .resume-topbar, .flash { display: none !important; }
    main { padding: 0; }
    .resume-page { max-width: none; padding: 0; }
    .resume-page > h1 { display: none; }

    .resume {
        background: #fff;
        box-shadow: none;
        padding: 0 0 1rem;
        margin-bottom: 1rem;
    }
    .resume::after { display: none; }

    .resume-name { color: #111; }
    .resume-title { color: #333; }
    .resume-header { margin-bottom: 1.5rem; }
    .resume-header .rule-ornament { color: #000; }
    .resume-header .rule-ornament::before,
    .resume-header .rule-ornament::after { background: #000; }
    .resume-header .rule-ornament .diamond { background: #000; box-shadow: none; }
    .resume-summary { color: #000; }

    .resume-section { page-break-inside: avoid; margin-bottom: 1.4rem; }
    .resume-section-title { color: #000; letter-spacing: 0.18em; page-break-after: avoid; break-after: avoid; }
    .resume-section-title::before { background: #000; }
    .resume-section-title::after { background: #000; }

    .resume-item { page-break-inside: avoid; }
    .resume-item-heading { color: #000; }
    .resume-item-subheading { color: #333; }
    .resume-item-subheading::before { color: #666; }
    .resume-item-dates { color: #000; }
    .resume-item-location { color: #444; }
    .resume-item-desc { color: #000; }

    .resume-section--timeline .resume-items { border-left-color: #999; }
    .resume-section--timeline .resume-item::before {
        background: #000;
        box-shadow: 0 0 0 4px #fff, 0 0 0 5px #999;
    }
    .resume-section--list .resume-item,
    .resume-section--grid .resume-item { border-bottom-color: #ddd; }
}

/* ── Résumé landing / chooser ───────────────────────────────────── */
.resume-index-page { text-align: center; }
.resume-index-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    max-width: 320px;
    margin: 0.75rem auto 2.75rem;
    color: var(--gold);
}
.resume-index-ornament::before,
.resume-index-ornament::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to var(--dir, right), transparent, rgba(207,166,112,0.55) 70%, var(--gold));
}
.resume-index-ornament::before { --dir: left; }
.resume-index-ornament .diamond {
    width: 6px; height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    flex: 0 0 auto;
    box-shadow: 0 0 0 4px rgba(207,166,112,0.12);
}

.resume-index {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    text-align: left;
}
.resume-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 2.75rem 2rem;
    box-shadow: 1px 1px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
.resume-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(207,166,112,0.18);
    border-radius: calc(var(--radius) - 3px);
    pointer-events: none;
    transition: border-color 0.2s;
}
.resume-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
    text-decoration: none;
}
.resume-card:hover::after { border-color: rgba(207,166,112,0.5); }
.resume-card-name {
    font-family: 'Dancing Script', cursive;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.05;
}
.resume-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    color: var(--gold-light);
    font-size: 0.98rem;
    letter-spacing: 0.05em;
}
.resume-card-blurb {
    color: #b9b9b9;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.35rem;
}
.resume-card-cta {
    margin-top: 0.9rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .resume-index { grid-template-columns: 1fr; gap: 1.25rem; }
    .resume-card { padding: 2.25rem 1.5rem; }
}

/* ── Portraits (masthead + chooser cards) ───────────────────────── */
.resume-avatar {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(207,166,112,0.12);
}
.resume-card-avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 5px rgba(207,166,112,0.10);
}
@media (max-width: 600px) {
    .resume-avatar { width: 52px; height: 52px; }
}
@media print {
    .resume-avatar { border-color: #000; box-shadow: none; }
}
