/* Nancy Whiskey
   Rebuilt from design-reference/mockup/homepage.html. Colors and fonts are the ones in
   docs/design-brief.md; the greens and golds were sampled from the logo, so leave them be.
   No inline styles anywhere: the site's security policy blocks them. */

:root {
    --cream: #F5EFE2;
    --cream-dark: #EFE6D2;
    --cream-muted: #E6DFD0;
    --paper: #FFFDF7;
    --green: #2F5A30;
    --green-hover: #1F3D22;
    --green-strip: #2A4B39;
    --green-deep: #10281B;
    --green-line: #4A7A45;
    --gold: #C4A75C;
    --gold-hover: #D2B76F;
    --gold-light: #D8C07C;
    --night: #0E1016;
    --night-line: #3A3D48;
    --footer: #08090D;
    --ink: #241D16;
    --ink-on-gold: #17130E;
    --ink-soft: #4A4034;
    --stone: #CFC8BA;
    --mist: #DCE5DD;
    --rule: #D5C8AC;
    --facebook: #166FE5;
    --facebook-ink: #0B4FB3;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-script: 'Kaushan Script', cursive;
    --font-sans: 'DM Sans', Arial, sans-serif;

    --wrap: 1160px;
    --gutter: clamp(20px, 5vw, 40px);
    --radius: 14px;
    --photo-shadow: 0 30px 50px -24px rgba(36, 29, 22, 0.6);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
}

img {
    max-width: 100%;
}

a {
    color: var(--green);
}

a:hover {
    color: var(--green-hover);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--gold);
    color: var(--ink-on-gold);
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
}

.skip-link:focus {
    top: 12px;
    color: var(--ink-on-gold);
}

/* ---------- Shared type ---------- */

.eyebrow {
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    color: var(--green);
}

.eyebrow--gold {
    color: var(--gold);
}

.heading {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(38px, 4.4vw, 54px);
    line-height: 1.1;
}

/* A fact nobody has confirmed yet. Meant to stand out so it gets replaced. */
.placeholder {
    padding: 18px 20px;
    border: 2px dashed var(--rule);
    border-radius: var(--radius);
    color: var(--ink-soft);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
    padding: 14px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn--lg {
    padding: 15px 27px;
}

.btn--gold,
.btn--gold:hover {
    background: var(--gold);
    color: var(--ink-on-gold);
}

.btn--gold:hover {
    background: var(--gold-hover);
}

.btn--green,
.btn--green:hover {
    background: var(--green);
    color: var(--cream);
}

.btn--green:hover {
    background: var(--green-hover);
}

.btn--ghost,
.btn--ghost:hover {
    color: var(--cream);
    border-color: rgba(245, 239, 226, 0.7);
}

.btn--ghost:hover {
    background: rgba(245, 239, 226, 0.12);
    border-color: var(--cream);
}

.btn--white,
.btn--white:hover {
    background: #FFFFFF;
    color: var(--facebook-ink);
    padding: 16px 29px;
}

.btn--white:hover {
    background: #EAF2FE;
}

/* ---------- Menu ---------- */

.site-nav {
    position: relative;
    z-index: 5;
    padding: 0 var(--gutter);
}

.site-nav__bar {
    max-width: var(--wrap);
    margin: 0 auto;
    min-height: 84px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 16px;
}

.site-nav__brand,
.site-nav__brand:hover {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 22px;
    color: var(--cream);
    text-decoration: none;
}

.site-nav__brand img {
    width: 34px;
    height: auto;
}

.site-nav__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px 30px;
    margin-left: auto;
}

.site-nav__link,
.site-nav__link:hover {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 13px;
    padding: 14px 0;
    border-bottom: 2px solid transparent;
}

.site-nav__link:hover {
    border-bottom-color: rgba(196, 167, 92, 0.55);
}

.site-nav__link[aria-current="page"] {
    border-bottom-color: var(--gold);
}

.site-nav__visit,
.site-nav__visit:hover {
    background: var(--gold);
    color: var(--ink-on-gold);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 13px;
    padding: 13px 22px;
    border-radius: 999px;
}

.site-nav__visit:hover {
    background: var(--gold-hover);
}

.site-nav__toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(245, 239, 226, 0.12);
    border: 1px solid rgba(245, 239, 226, 0.5);
    border-radius: 12px;
    color: var(--cream);
    cursor: pointer;
}

/* On the homepage the big logo is the brand, so wide screens show only the links. */
@media (min-width: 861px) {
    .site-nav--home .site-nav__brand {
        display: none;
    }
}

/* Phones: the links fold away behind the menu button. */
@media (max-width: 860px) {
    .site-nav {
        padding: 0 20px;
    }

    .site-nav__bar {
        min-height: 68px;
    }

    .site-nav__toggle {
        display: flex;
    }

    .site-nav__links {
        display: none;
        flex: 1 0 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        margin: 4px 0 16px;
        padding: 6px 18px 18px;
        background: rgba(14, 16, 22, 0.96);
        border: 1px solid rgba(245, 239, 226, 0.18);
        border-radius: var(--radius);
    }

    .site-nav__links.is-open {
        display: flex;
    }

    .site-nav__link,
    .site-nav__link:hover {
        padding: 16px 0;
        font-size: 15px;
        border-bottom: 1px solid rgba(245, 239, 226, 0.12);
    }

    .site-nav__link[aria-current="page"] {
        color: var(--gold-light);
        border-bottom-color: rgba(245, 239, 226, 0.12);
    }

    .site-nav__visit {
        margin-top: 16px;
        padding: 15px 22px;
        text-align: center;
        font-size: 14px;
    }
}

/* ---------- Hero (homepage) ---------- */

.hero {
    position: relative;
    min-height: 740px;
    display: flex;
    flex-direction: column;
    background: var(--night);
    color: var(--cream);
}

.hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 45%;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 11, 16, 0.94) 0%, rgba(10, 11, 16, 0.78) 34%, rgba(10, 11, 16, 0.12) 66%),
        linear-gradient(0deg, rgba(10, 11, 16, 0.75) 0%, rgba(10, 11, 16, 0) 30%),
        linear-gradient(180deg, rgba(10, 11, 16, 0.6) 0%, rgba(10, 11, 16, 0) 22%);
}

.hero__body {
    position: relative;
    margin: auto 0;
    padding: 24px var(--gutter) 72px;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero__logo {
    margin: 0;
    width: min(100%, 520px);
}

.hero__logo img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

.hero__tag {
    margin-top: 22px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
}

.hero__lede {
    margin: 0;
    max-width: 440px;
    color: var(--cream-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}

@media (max-width: 860px) {
    .hero {
        min-height: 700px;
    }
}

/* ---------- Page header (every page except the homepage) ---------- */

.page-head {
    background: var(--night);
    color: var(--cream);
}

.page-head__body {
    padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(44px, 6vw, 72px);
}

.page-head__title {
    margin: 12px 0 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(40px, 5.4vw, 64px);
    line-height: 1.08;
}

/* ---------- Green strip ---------- */

.strip {
    background: var(--green-strip);
    color: var(--cream);
    padding: 40px var(--gutter);
}

.strip__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 30px 12px;
    text-align: center;
}

.strip__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 18px;
}

.strip__script {
    font-family: var(--font-script);
    font-size: 23px;
    line-height: 1.2;
    color: var(--gold-light);
}

.strip__big {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
}

.strip__sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 19px;
}

/* ---------- Sections and two-column layouts ---------- */

.section {
    padding: clamp(56px, 8vw, 104px) var(--gutter);
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: center;
}

.split--story {
    gap: 72px;
}

.split--specials {
    gap: 64px;
}

.split__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.split__text p {
    margin: 0;
}

.split__button {
    margin-top: 8px;
}

.prose {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.prose p {
    margin: 0;
    max-width: 720px;
}

.prose .placeholder {
    width: 100%;
    max-width: 720px;
}

/* ---------- Then & now photos ---------- */

.then-now {
    position: relative;
    min-height: 600px;
}

.then-now__now {
    position: absolute;
    top: 0;
    right: 0;
    width: 74%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--photo-shadow);
}

.then-now__then {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44%;
    height: 330px;
    object-fit: cover;
    border: 10px solid var(--paper);
    border-radius: 4px;
    transform: rotate(-4deg);
    box-shadow: 0 24px 40px -18px rgba(36, 29, 22, 0.65);
}

.then-now__label {
    position: absolute;
    right: 2%;
    bottom: 18px;
    font-family: var(--font-script);
    font-size: 28px;
    line-height: 1.2;
    color: var(--green);
    transform: rotate(-5deg);
}

/* ---------- Live music ---------- */

.shows {
    background: var(--green-deep);
    color: var(--cream);
    padding: clamp(56px, 8vw, 96px) var(--gutter);
}

.shows__inner {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.shows__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 56px;
}

.shows__intro {
    flex: 1 1 320px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.shows__lede {
    margin: 0;
    color: var(--mist);
}

.shows__photo {
    flex: 1 1 360px;
    min-width: 0;
    height: 260px;
    object-fit: cover;
    object-position: 50% 46%;
    border-radius: var(--radius);
}

.shows__month {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shows__month-name {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.15;
}

/* Four across on wide screens, two across on phones. */
.show-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 700px) {
    .show-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Date-poster card: the default, made to look finished with no photo. */
.show-card {
    --label: currentColor;
    --number: currentColor;
    --line: currentColor;

    position: relative;
    min-width: 0;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    padding: 20px 16px 16px;
    border-radius: var(--radius);
}

.show-card--gold {
    background: var(--gold);
    color: var(--ink-on-gold);
}

.show-card--cream {
    --label: var(--green);
    --number: var(--green);
    --line: var(--green);

    background: var(--cream);
    color: var(--ink-on-gold);
}

.show-card--green {
    --label: var(--gold-light);
    --line: var(--gold-light);

    background: var(--green);
    color: var(--cream);
    border: 1px solid var(--green-line);
}

.show-card time {
    display: block;
}

.show-card__label {
    display: block;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--label);
}

/* Lining figures and the bottom margin keep the number clear of the month below it. */
.show-card__day {
    display: block;
    margin: 2px 0 10px;
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 92px;
    line-height: 1.08;
    font-variant-numeric: lining-nums;
    color: var(--number);
}

.show-card__rule {
    height: 2px;
    margin: 16px 0 14px;
    background: var(--line);
}

/* Long names shrink with the screen and may break with a hyphen rather than overflow.
   Test case: "Big Al and the Heavyweights". */
.show-card__band {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.12;
    overflow-wrap: break-word;
    hyphens: auto;
}

.show-card__band a,
.show-card__band a:hover {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.show-card__meta {
    margin-top: auto;
    padding-top: 12px;
    font-size: 14px;
    font-weight: 500;
}

/* Flyer card: used when a flyer or photo was uploaded for the show. */
.show-card--flyer {
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
    background: var(--night);
    color: var(--cream);
}

.show-card__flyer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}

.show-card__fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 11, 16, 0.96) 0%, rgba(10, 11, 16, 0.85) 30%, rgba(10, 11, 16, 0) 58%);
}

.show-card time.show-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink-on-gold);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 12px;
}

.show-card__body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
}

.show-card--flyer .show-card__band {
    line-height: 1.15;
}

.show-card--flyer .show-card__meta {
    margin-top: 0;
    padding-top: 0;
    font-weight: 400;
    color: var(--cream-muted);
}

/* Shown in place of the cards when nothing is booked. */
.no-shows {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 32px clamp(20px, 4vw, 40px);
    border: 1px solid var(--green-line);
    border-radius: var(--radius);
}

.no-shows__heading {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.15;
}

.no-shows__text {
    margin: 0;
    max-width: 620px;
    color: var(--mist);
}

/* ---------- Food and drink ---------- */

.fish-fry {
    position: relative;
}

.fish-fry__photo {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--photo-shadow);
}

.fish-fry__badge {
    position: absolute;
    right: -10px;
    bottom: -26px;
    width: 132px;
    height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--cream);
    border-radius: 50%;
    background: var(--green);
    color: var(--cream);
    transform: rotate(8deg);
    box-shadow: 0 16px 28px -12px rgba(36, 29, 22, 0.6);
}

.fish-fry__badge-script {
    font-family: var(--font-script);
    font-size: 19px;
    line-height: 1;
    color: var(--gold-light);
}

.fish-fry__badge-price {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.1;
}

.specials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.specials__script {
    font-family: var(--font-script);
    font-size: 30px;
    line-height: 1.1;
    color: var(--green);
}

.specials__heading {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: clamp(48px, 5.6vw, 72px);
    line-height: 1;
}

.specials__lede {
    margin: 6px 0 0;
    font-size: 19px;
}

.specials__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 14px 0 26px;
}

.specials-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* On the menu page the list follows the description directly, with no button row between. */
.specials__lede + .specials-list {
    margin-top: 26px;
}

.specials-list__label {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    color: var(--green);
}

.specials-list__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    border-top: 1px solid var(--rule);
}

.specials-list__row--last {
    border-bottom: 1px solid var(--rule);
}

.specials-list__name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
}

.specials-list__detail {
    font-size: 16px;
    color: var(--ink-soft);
}

.specials-list__price {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    color: var(--green);
}

.menu-full {
    background: var(--cream-dark);
    padding: clamp(56px, 8vw, 96px) var(--gutter);
}

.menu-full__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.menu-full__season {
    margin: 0;
    font-family: var(--font-script);
    font-size: 26px;
    line-height: 1.2;
    color: var(--green);
}

.menu-full__foot {
    margin-top: 40px;
}

/* The printed menu, as cards: two columns on wide screens, one on phones. */
.menu-grid {
    columns: 2 380px;
    column-gap: 24px;
}

.menu-card {
    break-inside: avoid;
    margin: 0 0 24px;
    padding: 26px 24px 22px;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 18px 34px -26px rgba(36, 29, 22, 0.55);
}

.menu-card__title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 6px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green);
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.15;
}

.menu-card__price {
    flex: none;
    font-variant-numeric: lining-nums;
    color: var(--green);
}

.menu-card__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
}

.menu-item:last-child {
    border-bottom: 0;
}

.menu-item__name {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
}

.menu-item__price {
    flex: none;
    font-variant-numeric: lining-nums;
    color: var(--green);
}

.menu-item__detail {
    font-size: 16px;
    color: var(--ink-soft);
}

.menu-card__note {
    margin: 10px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--green);
}

/* ---------- Gallery ---------- */

.gallery {
    background: var(--cream-dark);
    padding: clamp(56px, 8vw, 96px) var(--gutter);
}

.gallery__inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.gallery__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
}

.gallery__title {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery__more {
    padding: 12px 0;
    font-weight: 700;
    font-size: 16px;
}

.gallery__row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery__photo {
    flex: 1 1 260px;
    min-width: 0;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
}

.gallery__photo--wide {
    flex: 2 1 420px;
}

.gallery__photo--sign,
.photo-grid__photo--sign {
    object-position: 50% 48%;
}

.gallery__note {
    margin: 32px 0 0;
}

/* Gallery page: a three-column grid where wide photos take two columns. */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 320px;
    grid-auto-flow: dense;
    gap: 16px;
}

.photo-grid__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.photo-grid__photo--wide {
    grid-column: span 2;
}

@media (max-width: 860px) {
    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 240px;
    }
}

@media (max-width: 520px) {
    .photo-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 260px;
    }

    .photo-grid__photo--wide {
        grid-column: auto;
    }
}

/* ---------- Story page timeline ---------- */

.timeline {
    background: var(--cream-dark);
    padding: clamp(48px, 7vw, 80px) var(--gutter);
}

.timeline__list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 28px 32px;
}

.timeline__item {
    padding-top: 16px;
    border-top: 2px solid var(--green);
}

.timeline__year {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 44px;
    line-height: 1.1;
    font-variant-numeric: lining-nums;
    color: var(--green);
}

.timeline__text {
    margin: 8px 0 0;
}

/* ---------- Story page: stories from the bar ---------- */

.stories {
    background: var(--green-deep);
    color: var(--cream);
    padding: clamp(56px, 8vw, 96px) var(--gutter);
}

.stories__inner {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.stories__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.stories__lede {
    margin: 0;
    max-width: 680px;
    color: var(--mist);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 18px;
}

.story-card {
    padding: 26px 24px;
    border: 1px solid var(--green-line);
    border-radius: var(--radius);
    background: rgba(47, 90, 48, 0.28);
}

.story-card p {
    margin: 0;
    color: var(--mist);
}

/* "On the record" is plain small caps; a legend gets the script face, so the two never look alike. */
.story-card__tag {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: var(--gold);
}

.story-card__tag--legend {
    letter-spacing: 0;
    text-transform: none;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.1;
    color: var(--gold-light);
}

.story-card__title {
    margin: 8px 0 12px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.15;
}

.story-card--placeholder {
    border-style: dashed;
    background: transparent;
}

.story-photo {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--photo-shadow);
}

.sources {
    background: var(--cream-dark);
    padding: clamp(40px, 6vw, 64px) var(--gutter);
}

/* ---------- Facebook band ---------- */

.facebook {
    background: var(--facebook);
    color: #FFFFFF;
    padding: 56px var(--gutter);
}

.facebook__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
}

.facebook__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 640px;
}

.facebook__script {
    font-family: var(--font-script);
    font-size: 26px;
    line-height: 1.2;
}

.facebook__heading {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(30px, 3.4vw, 40px);
    line-height: 1.15;
}

/* ---------- Visit ---------- */

.visit {
    background: var(--night);
    color: var(--cream);
    padding: clamp(56px, 8vw, 96px) var(--gutter);
}

.visit__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    align-items: start;
    gap: 40px;
}

.visit__intro {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.visit__heading {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.1;
}

.visit__script {
    font-family: var(--font-script);
    font-size: 26px;
    color: var(--gold);
}

.visit__block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.visit__label {
    margin: 0;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    color: var(--gold);
}

.visit__text {
    margin: 0;
    font-size: 19px;
}

.visit__phone,
.visit__phone:hover {
    padding: 10px 0;
    color: var(--cream);
    font-weight: 700;
    font-size: 20px;
}

.visit__directions,
.visit__directions:hover {
    padding: 6px 0;
    color: var(--gold-light);
    font-weight: 700;
}

.visit__note {
    margin: 0;
    color: var(--stone);
}

.visit__map {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    border: 1px solid var(--night-line);
    border-radius: var(--radius);
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--footer);
    color: var(--stone);
    padding: 28px var(--gutter);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.site-footer__logo {
    display: block;
    width: 190px;
    height: auto;
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 24px;
    font-size: 14px;
}

.site-footer__link,
.site-footer__link:hover {
    padding: 12px 0;
    color: var(--gold-light);
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}

/* ---------- Gallery: photo albums and band videos ---------- */

.albums {
    background: var(--paper);
    padding: clamp(56px, 8vw, 96px) var(--gutter);
}

.albums--page {
    background: var(--cream-dark);
    padding-top: clamp(32px, 5vw, 56px);
}

.albums__inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.albums__back {
    align-self: flex-start;
    padding: 8px 0;
    font-weight: 700;
}

.albums__back::before {
    content: "\2039\00a0";
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px 20px;
}

.album-card,
.album-card:hover {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.album-card__cover {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 8px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--photo-shadow);
}

.album-card__title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.album-card:hover .album-card__title {
    color: var(--green);
}

.album-card__count {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--green);
}

.album-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.album-photos__link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.album-photos__img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.videos {
    background: var(--night);
    color: var(--cream);
    padding: clamp(56px, 8vw, 96px) var(--gutter);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 32px 24px;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    margin: 0;
}

.video-card__player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
    background: #000000;
}

.video-card__player--link,
.video-card__player--link:hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid var(--night-line);
    background: var(--green-deep);
    color: var(--cream);
    font-weight: 700;
    text-decoration: none;
}

.video-card__player--link:hover {
    border-color: var(--gold);
}

/* A round play button drawn with borders, so no image is needed. */
.video-card__play {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold);
}

.video-card__play::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 20px;
    border-style: solid;
    border-width: 12px 0 12px 19px;
    border-color: transparent transparent transparent var(--ink-on-gold);
}

.video-card__title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.gallery-foot {
    background: var(--cream-dark);
    padding: 8px var(--gutter) 48px;
}

/* The larger view of one album photo. */
.lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(8, 9, 13, 0.96);
}

.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox::backdrop {
    background: rgba(8, 9, 13, 0.96);
}

.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox__btn {
    position: absolute;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(245, 239, 226, 0.16);
    color: var(--cream);
    font: inherit;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.lightbox__btn:hover {
    background: rgba(245, 239, 226, 0.3);
}

.lightbox__btn--close {
    top: 14px;
    right: 14px;
}

.lightbox__btn--prev {
    left: 14px;
    top: calc(50% - 26px);
}

.lightbox__btn--next {
    right: 14px;
    top: calc(50% - 26px);
}

@media (max-width: 520px) {
    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .album-card__title {
        font-size: 19px;
    }

    .album-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}
