:root {
    /* Palette — aged parchment, deep federal navy, oxblood red, antique gold */
    --ink: #151821;
    --ink-soft: #2a2d39;
    --navy: #0a2540;
    --navy-deep: #05172d;
    --navy-ink: #8fa4c0;
    --red: #7d1d2b;
    --red-bright: #9d2633;
    --parchment: #f3ece0;
    --parchment-warm: #ede5d4;
    --cream: #fbf7ec;
    --gold: #b08d57;
    --gold-deep: #7d6238;
    --stone: #6f6859;
    --rule: #cfc5ae;
    --rule-soft: #e1d9c5;

    /* Type */
    --font-display: "Fraunces", "Libre Caslon Display", Georgia, "Times New Roman", serif;
    --font-body: "Lora", "Libre Caslon Text", Georgia, "Times New Roman", serif;

    --shadow-plate: 0 1px 0 rgba(0, 0, 0, 0.02), 0 20px 40px -24px rgba(10, 37, 64, 0.18);

    --content-max: 780px;
    --wide-max: 1280px;
    --header-height: 84px;
}

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

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

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--parchment);
    background-image:
        radial-gradient(ellipse at 18% 12%, rgba(176, 141, 87, 0.06), transparent 55%),
        radial-gradient(ellipse at 82% 88%, rgba(125, 29, 43, 0.04), transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(10, 37, 64, 0.02), transparent 70%);
    background-attachment: fixed;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--red);
    text-decoration: underline;
    text-decoration-color: rgba(125, 29, 43, 0.25);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 140ms ease, text-decoration-color 140ms ease;
}

a:hover,
a:focus-visible {
    color: var(--red-bright);
    text-decoration-color: var(--red-bright);
}

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

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 96, "SOFT" 30, "wght" 700;
    font-weight: 700;
    color: var(--navy);
    margin: 2.2em 0 0.6em;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 700;
    margin: 0 0 0.4em;
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    font-variation-settings: "opsz" 72, "SOFT" 30, "wght" 700;
}

h3 {
    font-size: 1.3rem;
    font-variation-settings: "opsz" 48, "SOFT" 30, "wght" 700;
}

/* Small-caps label style — for metadata, eyebrows */
.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "SOFT" 0, "wght" 600;
    font-variant-caps: all-small-caps;
    letter-spacing: 0.22em;
    font-size: 0.8rem;
    color: var(--red);
    margin: 0 0 0.5rem;
}

p {
    margin: 0 0 1.1em;
}

::selection {
    background: var(--navy);
    color: var(--parchment);
}

/* Dropcap for lead paragraphs */
.lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

.lead::first-letter {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 700;
    font-size: 4.2em;
    line-height: 0.85;
    float: left;
    padding: 0.08em 0.12em 0 0;
    color: var(--navy);
    margin-top: 0.04em;
}

/* ---------- Star-rule divider ---------- */

hr {
    position: relative;
    border: 0;
    height: 1px;
    margin: 2.75rem 0;
    background: linear-gradient(to right, transparent 0, var(--rule) 18%, var(--rule) 82%, transparent 100%);
    overflow: visible;
}

hr::after {
    content: "★";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--cream);
    padding: 0 0.75rem;
    color: var(--red);
    font-size: 0.8rem;
    line-height: 1;
    letter-spacing: 0.5em;
}

/* ---------- Skip link & SR ---------- */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: var(--cream);
    padding: 0.75rem 1rem;
    z-index: 1000;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 600;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Site header — full-bleed ribbon bar ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--parchment);
    border-bottom: 3px solid var(--red);
    box-shadow:
        inset 0 -4px 0 var(--navy-deep),
        0 1px 0 var(--red-bright),
        0 10px 30px -16px rgba(0, 0, 0, 0.35);
}

/* subtle star-field ornament in header corners */
.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 3px;
    width: 140px;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        radial-gradient(circle at 20% 30%, #fff 0, #fff 1px, transparent 1.5px),
        radial-gradient(circle at 60% 60%, #fff 0, #fff 1px, transparent 1.5px),
        radial-gradient(circle at 35% 75%, #fff 0, #fff 1px, transparent 1.5px),
        radial-gradient(circle at 80% 20%, #fff 0, #fff 1px, transparent 1.5px);
    background-size: 60px 60px;
}

.site-header::before {
    left: 0;
}

.site-header::after {
    right: 0;
}

.header-inner {
    max-width: var(--wide-max);
    margin: 0 auto;
    padding: 0 1.75rem;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    position: relative;
}

/* edge-to-edge variant (no max-width on inner) */
.site-header.full-bleed .header-inner {
    max-width: none;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--parchment);
    text-decoration: none;
    line-height: 1.05;
    flex: 0 0 auto;
}

.site-brand:hover,
.site-brand:focus-visible {
    color: #fff;
    text-decoration: none;
}

.brand-emblem {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    flex: 0 0 44px;
    box-shadow: inset 0 0 0 3px var(--navy-deep);
    transition: transform 300ms ease, color 200ms ease, border-color 200ms ease;
}

.site-brand:hover .brand-emblem {
    transform: rotate(72deg);
    color: #d9b77c;
    border-color: #d9b77c;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 48, "SOFT" 30, "wght" 700;
    font-size: 1.35rem;
    letter-spacing: -0.005em;
    line-height: 1.1;
}

.brand-tag {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 500;
    font-variant-caps: all-small-caps;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-tag span {
    flex: 0 0 auto;
}

/* ---------- Nav ---------- */

.nav-toggle {
    appearance: none;
    background: transparent;
    border: 1px solid rgba(243, 236, 224, 0.28);
    border-radius: 2px;
    padding: 0.55rem 0.85rem 0.55rem 0.75rem;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 0.6rem;
    color: var(--parchment);
    font: inherit;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    transition: border-color 180ms ease, background 180ms ease;
}

.nav-toggle:hover {
    border-color: var(--gold);
    background: rgba(176, 141, 87, 0.08);
}

.nav-toggle-icon {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 12px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 220ms ease, top 220ms ease;
}

.nav-toggle-icon::before {
    top: 2px;
}

.nav-toggle-icon::after {
    top: 8px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 5px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 5px;
    transform: rotate(-45deg);
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
}

.primary-nav a {
    display: block;
    padding: 0.6rem 0.75rem;
    color: var(--parchment);
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 500;
    font-variant-caps: all-small-caps;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-decoration: none;
    position: relative;
    transition: color 160ms ease;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -2px;
    height: 2px;
    background: var(--gold);
    transition: left 200ms ease, right 200ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: #fff;
    text-decoration: none;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
    left: 0.75rem;
    right: 0.75rem;
}

.primary-nav a[aria-current="page"] {
    color: #fff;
}

.primary-nav a[aria-current="page"]::after {
    left: 0.75rem;
    right: 0.75rem;
    background: var(--red-bright);
}

/* Mobile collapse */
@media (max-width: 1080px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-header {
        position: relative;
    }

    .primary-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--navy-deep);
        border-bottom: 3px solid var(--red);
        max-height: 0;
        overflow: hidden;
        transition: max-height 260ms ease;
        z-index: 99;
    }

    .primary-nav[data-open="true"] {
        max-height: calc(100vh - var(--header-height));
        overflow: auto;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0 1.25rem;
    }

    .primary-nav a {
        padding: 0.85rem 1.75rem;
        border-bottom: 1px solid rgba(176, 141, 87, 0.14);
        font-size: 0.9rem;
    }

    .primary-nav a::after {
        display: none;
    }

    .primary-nav a:hover,
    .primary-nav a:focus-visible {
        background: rgba(176, 141, 87, 0.08);
    }

    .primary-nav li:last-child a {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    .brand-name {
        font-size: 1.1rem;
    }

    .brand-tag {
        font-size: 0.62rem;
        letter-spacing: 0.18em;
    }

    .brand-tag::after {
        display: none;
    }

    .header-inner {
        padding: 0 1rem;
        min-height: 72px;
    }

    :root {
        --header-height: 72px;
    }
}

/* ---------- Main / content plate ---------- */

.site-main {
    padding: 3.5rem 0 4.5rem;
}

.content {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.25rem);
    background: var(--cream);
    border-top: 3px double var(--navy);
    border-bottom: 3px double var(--navy);
    position: relative;
    box-shadow: var(--shadow-plate);
}

/* Pages containing tables get extra horizontal room so columns can breathe */
.content:has(.table-wrap) {
    max-width: 1100px;
}

.content::before,
.content::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--red);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.content::before {
    top: -7px;
}

.content::after {
    bottom: -7px;
}

.content> :first-child {
    margin-top: 0;
}

.content> :last-child {
    margin-bottom: 0;
}

.content ul,
.content ol {
    padding-left: 1.4rem;
}

.content ul li,
.content ol li {
    margin-bottom: 0.45rem;
}

.content ul:not(.roster):not(.meeting-list) li::marker {
    color: var(--red);
}

.content p a,
.content li a {
    color: var(--red);
    text-decoration: underline;
    text-decoration-color: rgba(125, 29, 43, 0.3);
    text-underline-offset: 3px;
}

.content p a:hover,
.content li a:hover {
    color: var(--red-bright);
    text-decoration-color: var(--red-bright);
}

/* ---------- Home page ---------- */

.hero-image {
    width: 100%;
    margin: 0 0 1.5rem;
    border: 1px solid var(--rule);
    padding: 8px;
    background: var(--parchment);
    box-shadow: var(--shadow-plate);
}

/* ---------- Addresses block (like a memorial plaque) ---------- */

.addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0;
    margin: 2rem 0;
    background: var(--parchment);
    border: 1px solid var(--rule);
    position: relative;
}

.addresses::before,
.addresses::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(to right,
            var(--navy),
            var(--navy) 10px,
            transparent 10px,
            transparent 14px,
            var(--red),
            var(--red) 24px,
            transparent 24px,
            transparent 28px);
}

.addresses::before {
    top: -4px;
}

.addresses::after {
    bottom: -4px;
}

.addresses>div {
    padding: 1.5rem 1.75rem;
    border-right: 1px solid var(--rule);
}

.addresses>div:last-child {
    border-right: 0;
}

@media (max-width: 580px) {
    .addresses>div {
        border-right: 0;
        border-bottom: 1px solid var(--rule);
    }

    .addresses>div:last-child {
        border-bottom: 0;
    }
}

.addresses h3 {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 600;
    font-variant-caps: all-small-caps;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    color: var(--red);
    margin: 0 0 0.5rem;
}

.addresses p {
    margin: 0;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24, "wght" 500;
    font-size: 1.05rem;
    line-height: 1.45;
    color: var(--navy);
}

/* ---------- Next meeting callout ---------- */

.next-meeting {
    position: relative;
    margin: 2.25rem 0;
    padding: 1.75rem 1.75rem 1.75rem 3.5rem;
    background: var(--parchment);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--red);
}

.next-meeting::before {
    content: "★";
    position: absolute;
    left: 1.25rem;
    top: 1.75rem;
    color: var(--red);
    font-size: 1.15rem;
    line-height: 1;
}

.next-meeting h3 {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 600;
    font-variant-caps: all-small-caps;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    color: var(--red);
    margin: 0 0 0.4rem;
}

.next-meeting .meeting-date {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 72, "SOFT" 30, "wght" 700;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    color: var(--navy);
    margin: 0 0 1rem;
    line-height: 1.2;
    font-feature-settings: "onum";
}

.mission {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: repeating-linear-gradient(180deg,
            transparent 0,
            transparent 30px,
            rgba(10, 37, 64, 0.015) 30px,
            rgba(10, 37, 64, 0.015) 31px), var(--cream);
    font-style: italic;
    text-align: center;
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.mission strong {
    display: block;
    font-style: normal;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 600;
    font-variant-caps: all-small-caps;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: var(--red);
    margin-bottom: 0.6rem;
}

/* ---------- Roster grid (board, officers) ---------- */

.roster {
    list-style: none !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.roster li {
    padding: 1.1rem 1.25rem 1.15rem;
    background: var(--parchment);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--navy);
    margin: 0 !important;
    position: relative;
}

.roster li::before {
    display: none !important;
}

.roster li::marker {
    content: none;
}

.roster .name {
    display: block;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24, "wght" 700;
    font-size: 1.08rem;
    color: var(--navy);
    line-height: 1.2;
}

.roster .role {
    display: block;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 600;
    font-variant-caps: all-small-caps;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    color: var(--red);
    margin: 4px 0 0.55rem;
}

.roster .contact {
    display: block;
    font-size: 0.92rem;
    color: var(--stone);
    line-height: 1.5;
}

.roster .contact a {
    color: var(--navy);
    text-decoration-color: var(--navy-ink);
}

.roster .contact a:hover {
    color: var(--red);
    text-decoration-color: var(--red);
}

/* ---------- Meeting schedule grid ---------- */

.meeting-list {
    list-style: none !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.meeting-list li {
    padding: 0.85rem 1.15rem;
    background: var(--parchment);
    border: 1px solid var(--rule);
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24, "wght" 500;
    font-feature-settings: "onum", "tnum";
    color: var(--navy);
    font-size: 1rem;
    margin: 0 !important;
    position: relative;
    padding-left: 2.25rem;
}

.meeting-list li::marker {
    content: none;
}

.meeting-list li::before {
    content: "★";
    position: absolute;
    left: 0.9rem;
    top: 0.85rem;
    color: var(--red);
    font-size: 0.75rem;
    line-height: 1;
}

/* ---------- Tables ---------- */

.table-wrap {
    overflow-x: auto;
    margin: 1.75rem 0;
    border: 1px solid var(--rule);
    background: var(--parchment);
}

.content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.content th,
.content td {
    text-align: left;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
}

.content tbody tr:last-child td {
    border-bottom: 0;
}

.content thead th {
    background: var(--navy);
    color: var(--parchment);
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 600;
    font-variant-caps: all-small-caps;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    border-bottom: 0;
}

.content tbody tr:nth-child(even) {
    background: rgba(207, 197, 174, 0.15);
}

.content tbody tr:hover {
    background: rgba(125, 29, 43, 0.05);
}

.content tbody td strong {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24, "wght" 700;
    color: var(--navy);
    font-weight: 700;
}

/* Responsive tables: stack rows into cards on narrow viewports */
@media (max-width: 720px) {
    .table-wrap {
        border: 0;
        background: transparent;
        overflow-x: visible;
    }
    .content table,
    .content table thead,
    .content table tbody,
    .content table tr,
    .content table th,
    .content table td {
        display: block;
        width: auto;
    }
    .content table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .content table tbody tr,
    .content table tbody tr:nth-child(even) {
        background: var(--parchment);
        border: 1px solid var(--rule);
        border-top: 3px solid var(--navy);
        margin-bottom: 0.6rem;
        padding: 0.85rem 1.1rem;
    }
    .content table tbody tr:hover {
        background: var(--parchment);
    }
    .content table td {
        border: 0;
        padding: 0.25rem 0;
        font-size: 0.95rem;
    }
    .content table td:empty {
        display: none;
    }
    .content table td:first-child {
        padding-bottom: 0.35rem;
        margin-bottom: 0.35rem;
        border-bottom: 1px solid var(--rule-soft);
    }
}

/* ---------- Button ---------- */

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: var(--red);
    color: var(--cream);
    border-radius: 2px;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 600;
    font-variant-caps: all-small-caps;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(251, 247, 236, 0.2), 0 6px 14px -8px rgba(125, 29, 43, 0.5);
    transition: background 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
    background: var(--red-bright);
    color: var(--cream);
    text-decoration: none;
    transform: translateY(-1px);
}

.button::before {
    content: "★";
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ---------- Footer — service-ribbon ---------- */

.site-footer {
    margin-top: 4rem;
    background: var(--navy-deep);
    color: var(--parchment);
    border-top: 3px solid var(--red);
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(to right,
            var(--red) 0,
            var(--red) 18px,
            var(--cream) 18px,
            var(--cream) 22px,
            var(--navy) 22px,
            var(--navy) 40px,
            var(--cream) 40px,
            var(--cream) 44px);
    border-top: 1px solid var(--navy-deep);
    border-bottom: 1px solid var(--navy-deep);
}

.site-footer .container {
    padding: 2.25rem 1.25rem 2rem;
    text-align: center;
}

.site-footer p {
    margin: 0.3rem 0;
    font-size: 0.92rem;
    color: rgba(243, 236, 224, 0.75);
}

.site-footer a {
    color: var(--gold);
    text-decoration-color: rgba(176, 141, 87, 0.3);
}

.site-footer a:hover {
    color: #d9b77c;
    text-decoration-color: #d9b77c;
}

.site-footer .footer-motto {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 14, "wght" 500;
    font-variant-caps: all-small-caps;
    letter-spacing: 0.3em;
    font-size: 0.78rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

/* Entrance — a single quiet stagger on page load */
@media (prefers-reduced-motion: no-preference) {
    .content {
        animation: plate-in 640ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }

    .content>* {
        animation: fade-up 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }

    .content> :nth-child(1) {
        animation-delay: 120ms;
    }

    .content> :nth-child(2) {
        animation-delay: 180ms;
    }

    .content> :nth-child(3) {
        animation-delay: 240ms;
    }

    .content> :nth-child(4) {
        animation-delay: 300ms;
    }

    .content> :nth-child(n+5) {
        animation-delay: 360ms;
    }
}

@keyframes plate-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
