:root {
    --navy: #071526;
    --green: #08291f;
    --cream: #fff1d2;
    --gold: #dfbc75;
    --red: #941923;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--navy);
    color: var(--cream);
    font-family: Georgia, "Times New Roman", serif;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 12px 20px;
    background: white;
    color: black;
}

.skip-link:focus {
    top: 15px;
}

/* Background behind the header and hero */

.hero-page {
    position: relative;
    isolation: isolate;
    min-height: 740px;

    background-color: var(--navy);
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 15, 29, 0.58) 0%,
            rgba(3, 15, 29, 0.22) 47%,
            rgba(3, 15, 29, 0) 75%
        ),
        url("/images/christmas-winter-hero.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-page::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 100px;
    background: linear-gradient(
        transparent,
        rgba(7, 21, 38, 0.35)
    );
    z-index: -1;
    pointer-events: none;
}

/* Header and branding */

.site-header {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 32px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: block;
    max-width: 520px;
    text-decoration: none;
    text-shadow: 0 2px 12px #000;
}

.brand-name {
    display: block;
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.15;
}

.brand-subtitle {
    display: block;
    margin-top: 10px;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Navigation */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-navigation a {
    padding: 10px 0;
    font-size: 16px;
    text-decoration: none;
    text-shadow: 0 2px 8px #000;
    border-bottom: 1px solid transparent;
}

.main-navigation a:hover,
.main-navigation a[aria-current="page"] {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.menu-toggle {
    display: none;
    padding: 10px 15px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: rgba(7, 21, 38, 0.85);
    color: var(--cream);
    cursor: pointer;
}

/* Hero content */

.hero {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 70px 5% 95px;
}

.hero-content {
    width: min(620px, 52%);
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--gold);
    font: 12px/1.7 Arial, Helvetica, sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: normal;
    line-height: 1.12;
    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85);
}

.hero-divider {
    width: 260px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 26px 0;
    color: var(--gold);
    font-size: 23px;
}

.hero-divider::before,
.hero-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gold);
}

.hero-description {
    max-width: 500px;
    margin: 0 0 28px;
    font-size: 23px;
    line-height: 1.5;
    text-shadow: 0 2px 10px #000;
}

/* Radio frequency panel */

.radio-panel {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px 32px;
    margin-bottom: 28px;
    border: 3px solid var(--gold);
    border-radius: 18px;
    background: linear-gradient(135deg, #a4212b, #660d16);
    box-shadow:
        0 0 24px rgba(255, 194, 86, 0.22),
        inset 0 0 20px rgba(0, 0, 0, 0.25);
}

.radio-symbol {
    font-size: 48px;
    line-height: 1;
    color: var(--gold);
}

.radio-panel small {
    display: block;
    margin-bottom: 5px;
    font: 12px Arial, Helvetica, sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.radio-panel strong {
    display: block;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    font-weight: normal;
    white-space: nowrap;
}

/* Buttons */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    background: var(--gold);
    color: #172c23;
    font: bold 14px Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.button:hover {
    background: #f2d59b;
}

.button-secondary {
    background: rgba(5, 25, 30, 0.8);
    color: var(--cream);
}

.button-secondary:hover {
    background: var(--green);
}

/* Show schedule */

.schedule {
    padding: 30px 5%;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    background: linear-gradient(120deg, #0b3025, #061e18);
}

.schedule-inner {
    width: min(1280px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 25px;
}

.schedule-item {
    text-align: center;
}

.schedule-item + .schedule-item {
    border-left: 1px solid rgba(223, 188, 117, 0.4);
}

.schedule-label {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font: 11px Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.schedule-value {
    display: block;
    font-size: clamp(18px, 1.8vw, 25px);
}

/* Projects section */

.projects-section {
    min-height: 420px;
    padding: 65px 5% 80px;
    background:
        radial-gradient(
            ellipse at bottom left,
            #dce6ec,
            transparent 60%
        ),
        linear-gradient(#faf5ed, #f1ece3);
    color: #17372c;
    text-align: center;
}

.section-inner {
    width: min(1200px, 100%);
    margin: auto;
}

.projects-section h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: normal;
}

.section-divider {
    margin: 18px 0;
    color: #a07837;
    font-size: 22px;
    letter-spacing: 10px;
}

.section-description {
    max-width: 650px;
    margin: 0 auto;
    color: #4d6257;
    font-size: 17px;
    line-height: 1.8;
}

.project-photo-area {
    min-height: 170px;
    margin-top: 25px;
}

/* Ready for your own project photos */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 35px;
    text-align: left;
}

.project-card {
    overflow: hidden;
    border: 1px solid #d6c49d;
    border-radius: 8px;
    background: #fffcf5;
}

.project-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.project-card-content {
    padding: 20px;
}

.project-card h3 {
    margin: 0 0 12px;
    font-size: 23px;
    font-weight: normal;
}

.project-card p {
    margin: 0;
    line-height: 1.7;
}

/* Footer */

.site-footer {
    padding: 30px 5%;
    background: var(--green);
}

.footer-inner {
    width: min(1280px, 100%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font: 13px/1.8 Arial, Helvetica, sans-serif;
}

.footer-inner p {
    margin: 4px 0;
    color: #c6d1c3;
}

.footer-inner a {
    color: var(--gold);
    text-underline-offset: 4px;
}

/* Tablet */

@media (max-width: 1050px) {
    .site-header {
        flex-wrap: wrap;
        gap: 20px;
    }

    .main-navigation {
        gap: 24px;
    }

    .hero-page {
        min-height: 720px;
    }

    .hero {
        padding-top: 45px;
    }

    .hero-content {
        width: 58%;
    }

    .hero-description {
        font-size: 20px;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .hero-page {
        min-height: 0;
        background-position: 67% center;
        background-image:
            linear-gradient(
                90deg,
                rgba(3, 15, 29, 0.88),
                rgba(3, 15, 29, 0.4)
            ),
            url("/images/christmas-winter-hero.png");
    }

    .site-header {
        padding: 25px 6%;
    }

    .brand {
        max-width: calc(100% - 90px);
    }

    .brand-name {
        font-size: 24px;
    }

    .brand-subtitle {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .js .menu-toggle {
        display: block;
    }

    .main-navigation {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px 22px;
        padding-top: 12px;
    }

    .js .main-navigation {
        display: none;
    }

    .js .main-navigation.is-open {
        display: flex;
    }

    .hero {
        padding: 50px 6% 75px;
    }

    .hero-content {
        width: 100%;
        max-width: 520px;
    }

    .hero h1 {
        font-size: clamp(38px, 8vw, 54px);
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-description {
        max-width: 350px;
        font-size: 20px;
    }

    .radio-panel {
        padding: 18px 24px;
        gap: 17px;
    }

    .radio-symbol {
        font-size: 38px;
    }

    .radio-panel strong {
        font-size: 39px;
    }

    .schedule-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .schedule-item + .schedule-item {
        border-left: 0;
        border-top: 1px solid rgba(223, 188, 117, 0.3);
        padding-top: 22px;
    }

    .projects-section {
        padding: 45px 6%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}