:root {
    --brand: #043d2f;
    --brand-dark: #022419;
    --gold: #c9a227;
    --gold-dark: #a8851a;
    --light: #f5f6fa;
    --text: #25304a;
    --bs-link-color: #043d2f;
    --bs-link-hover-color: #a8851a;
}

body {
    font-family: "Open Sans", system-ui, sans-serif;
    color: var(--text);
}

h1, h2, h3, .display-title {
    font-family: "Lora", Georgia, serif;
    color: var(--brand);
}

.skip-link {
    position: absolute;
    z-index: 2000;
    left: 1rem;
    top: 1rem;
    background: var(--gold);
    color: var(--brand-dark);
    padding: .5rem 1rem;
}

/* Header */
.topbar {
    background: var(--brand-dark);
    color: #dfe5f2;
}

.main-nav {
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 2px 8px rgba(2, 36, 25, .08);
    transition: box-shadow .2s;
}

.main-nav.scrolled {
    box-shadow: 0 4px 14px rgba(2, 36, 25, .2);
}

.main-nav .brand-text {
    line-height: 1.15;
    color: var(--brand);
}

.main-nav .brand-text small {
    color: #5b6578;
    font-size: .72rem;
}

.main-nav .nav-link {
    color: var(--brand);
    font-weight: 600;
    font-size: .92rem;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--gold-dark);
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--brand-dark);
    font-weight: 700;
}

.btn-gold:hover,
.btn-gold:focus {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #fff;
}

.btn-outline-light:hover {
    color: var(--brand);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Home hero */
.hero {
    position: relative;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(2, 36, 25, .94), rgba(4, 61, 47, .88)),
        url("../img/hero-pattern.svg");
    padding: 5rem 0 4.5rem;
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.hero .eyebrow {
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--gold);
    font-weight: 700;
}

.hero .theme {
    max-width: 52rem;
    margin: 1.25rem auto 0;
    font-size: 1.2rem;
    color: #e6ebf6;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 2rem;
    margin: 2rem 0;
    font-weight: 600;
}

.hero-meta span::before {
    content: "";
    display: inline-block;
    width: .55rem;
    height: .55rem;
    background: var(--gold);
    border-radius: 50%;
    margin-right: .5rem;
}

.countdown {
    display: inline-flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.countdown .unit {
    min-width: 5rem;
    padding: .75rem .5rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(201, 162, 39, .5);
    border-radius: .5rem;
}

.countdown .num {
    display: block;
    font-family: "Lora", serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gold);
}

.countdown .lbl {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* Inner page hero */
.page-hero {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    padding: 2.75rem 0;
    border-bottom: 4px solid var(--gold);
}

.page-hero h1 {
    color: #fff;
}

.page-hero .breadcrumb {
    --bs-breadcrumb-divider-color: #b9c3d9;
    --bs-breadcrumb-item-active-color: #d5dcec;
}

.page-hero .breadcrumb a {
    color: var(--gold);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--light);
}

.section-title {
    position: relative;
    margin-bottom: 2.25rem;
    padding-bottom: .75rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.5rem;
    height: 3px;
    background: var(--gold);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.info-card,
.stream-card,
.program-card,
.org-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e1e5ee;
    border-top: 4px solid var(--gold);
    border-radius: .5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(2, 36, 25, .05);
    transition: transform .15s, box-shadow .15s;
}

.info-card:hover,
.stream-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2, 36, 25, .12);
}

.stream-card .stream-no {
    display: inline-block;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.stream-card h3 {
    font-size: 1.15rem;
}

.objective-list {
    counter-reset: obj;
    list-style: none;
    padding: 0;
}

.objective-list li {
    counter-increment: obj;
    position: relative;
    padding: .75rem 0 .75rem 3.25rem;
    border-bottom: 1px solid #e1e5ee;
}

.objective-list li::before {
    content: counter(obj);
    position: absolute;
    left: 0;
    top: .6rem;
    width: 2.25rem;
    height: 2.25rem;
    line-height: 2.25rem;
    text-align: center;
    border-radius: 50%;
    background: var(--brand);
    color: var(--gold);
    font-weight: 700;
}

/* Timeline */
.timeline {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 2rem;
    border-left: 3px solid var(--gold);
}

.timeline li {
    position: relative;
    padding-bottom: 1.75rem;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -2.6rem;
    top: .3rem;
    width: 1.1rem;
    height: 1.1rem;
    background: var(--brand);
    border: 3px solid var(--gold);
    border-radius: 50%;
}

.timeline .when {
    font-family: "Lora", serif;
    font-weight: 700;
    color: var(--brand);
    font-size: 1.1rem;
}

.timeline .tag {
    display: inline-block;
    margin-left: .5rem;
    padding: .1rem .5rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--light);
    border: 1px solid var(--gold);
    border-radius: 1rem;
    color: var(--brand);
}

/* Tables and notices */
.fee-table thead th {
    background: var(--brand);
    color: #fff;
}

.fee-table .fee {
    font-weight: 700;
    white-space: nowrap;
    color: var(--brand);
}

.notice {
    background: #fff8e1;
    border-left: 4px solid var(--gold);
    padding: 1rem 1.25rem;
    border-radius: .25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--brand);
    color: #fff;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.logo-strip img {
    height: 120px;
    width: auto;
}

.brand-logo {
    height: 44px;
    width: auto;
}

.venue-photo {
    width: 100%;
    height: auto;
}

.about-banner {
    display: flex;
    align-items: center;
    min-height: 18rem;
    padding: 2rem;
    border-radius: .5rem;
    background: #dcdcdc url("../img/pafll-lady-justice.png") right center / cover no-repeat;
}

.about-banner p {
    max-width: 50%;
    margin: 0;
    font-family: "Lora", Georgia, serif;
    font-size: clamp(1.1rem, 2.4vw, 1.75rem);
    font-weight: 700;
    color: var(--brand);
}

@media (max-width: 767.98px) {
    .about-banner p { max-width: 60%; }
}

/* Footer */
.site-footer {
    background: var(--brand-dark);
    color: #cfd6e6;
}

.site-footer h2 {
    color: var(--gold);
    font-family: "Open Sans", sans-serif;
}

.site-footer a {
    color: #e6ebf6;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.site-footer li {
    margin-bottom: .35rem;
}

.footer-bottom {
    background: #01140e;
    color: #aeb8cf;
}

@media (max-width: 575.98px) {
    .countdown { gap: .5rem; }
    .countdown .unit { min-width: 4rem; }
    .hero { padding: 3.5rem 0; }
}
