:root {
    --ink: #15171b;
    --ink-soft: #20242a;
    --panel: rgba(20, 23, 28, 0.88);
    --panel-strong: rgba(15, 18, 22, 0.94);
    --gold: #b89a69;
    --gold-bright: #d3b07a;
    --gold-deep: #866b47;
    --cream: #e7dcc4;
    --paper: #d9ceb4;
    --muted: #bba886;
    --line: rgba(184, 154, 105, 0.34);
    --line-strong: rgba(184, 154, 105, 0.6);
    --danger: #a55454;
    --success: #5d8b69;
    --warning: #9a7c40;
    --shadow: rgba(0, 0, 0, 0.42);
    --headline: "Georgia", "Times New Roman", serif;
    --body: "Georgia", "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--cream);
    font-family: var(--body);
    background:
        linear-gradient(rgba(11, 13, 17, 0.82), rgba(11, 13, 17, 0.92)),
        url("../img/bg_pattern.png"),
        #111317;
    background-size: auto, 540px, auto;
    background-repeat: repeat, repeat, repeat;
    background-attachment: fixed, fixed, fixed;
    letter-spacing: 0.01em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top center, rgba(211, 176, 122, 0.08), transparent 38%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 18%);
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

code {
    font-family: Consolas, Monaco, monospace;
    color: var(--gold-bright);
    font-size: 0.95rem;
}

a {
    color: var(--gold-bright);
}

img {
    max-width: 100%;
    display: block;
}

.splash-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 34px auto 48px;
}

.narrow-shell {
    width: min(820px, calc(100% - 40px));
}

.site-masthead {
    position: relative;
    margin-bottom: 22px;
    padding: 24px 28px 22px;
    background:
        linear-gradient(rgba(15, 18, 22, 0.92), rgba(15, 18, 22, 0.9)),
        linear-gradient(135deg, rgba(184, 154, 105, 0.04), transparent 60%);
    border: 1px solid var(--line);
    box-shadow: 0 22px 44px var(--shadow);
    overflow: hidden;
}

.site-masthead::before,
.site-masthead::after,
.hero-card::before,
.hero-card::after,
.panel::before,
.panel::after,
.stat-card::before,
.stat-card::after {
    content: "";
    position: absolute;
    width: 104px;
    height: 104px;
    background-image: url("../img/box_corners.png");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    opacity: 0.95;
}

.site-masthead::before,
.hero-card::before,
.panel::before,
.stat-card::before {
    top: 0;
    left: 0;
}

.site-masthead::after,
.hero-card::after,
.panel::after,
.stat-card::after {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}

.masthead-grid {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 22px;
    align-items: center;
}

.brand-mark {
    width: 118px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.brand-copy {
    min-width: 0;
}

.brand-kicker {
    margin: 0 0 8px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.78rem;
}

.brand-title {
    margin: 0;
    font-family: var(--headline);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    color: var(--paper);
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.brand-subtitle {
    margin: 10px 0 0;
    color: var(--gold-bright);
    font-size: 1.02rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.brand-motto {
    margin: 12px 0 0;
    color: var(--cream);
    font-style: italic;
    font-size: 1.05rem;
}

.brand-founded {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-card,
.panel,
.stat-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(20, 23, 28, 0.92), rgba(16, 18, 22, 0.95)),
        linear-gradient(135deg, rgba(184, 154, 105, 0.05), transparent 55%);
    border: 1px solid var(--line);
    box-shadow: 0 20px 44px var(--shadow);
}

.hero-card,
.panel {
    padding: 34px 34px 30px;
}

.hero-card {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.panel {
    min-height: 100%;
}

.hero-card::selection,
.panel::selection {
    background: rgba(211, 176, 122, 0.25);
}

.hero-poster {
    position: relative;
    margin: 24px 0 28px;
    border: 1px solid var(--line-strong);
    background: #0f1318;
    box-shadow: inset 0 0 0 6px rgba(184, 154, 105, 0.06);
    overflow: hidden;
}

.hero-poster img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    object-position: center top;
    opacity: 0.82;
    filter: saturate(0.88) contrast(0.95);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(12, 14, 18, 0.84), rgba(12, 14, 18, 0.15) 38%, rgba(12, 14, 18, 0.42));
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    color: var(--gold-bright);
    background: rgba(184, 154, 105, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.78rem;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.8rem;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: var(--headline);
    font-weight: 600;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--paper);
}

.hero-card h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    margin-bottom: 12px;
}

.panel h2,
.site-masthead h2 {
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.subtitle {
    font-size: 1.18rem;
    color: var(--gold-bright);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.intro {
    max-width: 760px;
    margin: 0 auto 14px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--cream);
}

.deco-divider {
    width: 150px;
    height: 1px;
    margin: 24px auto;
    background: linear-gradient(to right, transparent, var(--gold-bright), transparent);
    position: relative;
}

.deco-divider::before {
    content: "◆";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-bright);
    font-size: 0.9rem;
    background: var(--ink);
    padding: 0 8px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.top-bar h1 {
    margin-bottom: 0;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.top-bar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.stat-card {
    padding: 26px 18px 22px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold-bright);
}

.stat-label {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.labelled-value {
    margin-bottom: 14px;
}

.labelled-value strong {
    display: block;
    color: var(--gold-bright);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}

.panel p,
.panel li {
    line-height: 1.75;
}

label {
    display: block;
    margin: 16px 0 8px;
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}

.field-note {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-style: italic;
}

input,
select,
textarea,
button {
    width: 100%;
    border-radius: 0;
    border: 1px solid var(--line-strong);
    padding: 13px 14px;
    font-size: 1rem;
    font-family: inherit;
}

input,
select,
textarea {
    background: rgba(255, 248, 230, 0.04);
    color: var(--cream);
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 3px rgba(211, 176, 122, 0.12);
}

button,
.link-button {
    display: inline-block;
    width: auto;
    min-width: 180px;
    padding: 13px 18px;
    margin-top: 18px;
    border: 1px solid rgba(131, 104, 62, 0.95);
    background:
        linear-gradient(to bottom, #d6b47c, #ab8751);
    color: #15171b;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 8px 18px rgba(0, 0, 0, 0.24);
}

button:hover,
.link-button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.small-button {
    min-width: unset;
    width: auto;
    padding: 9px 12px;
    font-size: 0.86rem;
    margin-top: 0;
}

.danger-button {
    background: linear-gradient(to bottom, #c77777, #974848);
    color: #fff;
    border-color: #7f3737;
}

.alert {
    padding: 14px 16px;
    margin: 16px 0;
    border-left: 4px solid var(--gold-bright);
    background: rgba(255, 248, 230, 0.06);
}

.alert-error {
    border-left-color: #d07c7c;
    background: rgba(168, 77, 77, 0.16);
}

.alert-success {
    border-left-color: #8fc29f;
    background: rgba(79, 138, 99, 0.16);
}

.alert-warning {
    border-left-color: #cfaf68;
    background: rgba(157, 123, 47, 0.16);
}

.login-form {
    max-width: 460px;
    margin: 0 auto;
    text-align: left;
}

.login-actions {
    display: flex;
    justify-content: center;
}

.small-note {
    margin-top: 18px;
    color: var(--muted);
    font-style: italic;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.data-table th,
.data-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.drink-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.actions-cell {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.actions-cell form {
    margin: 0;
}

.status-pill {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid var(--line-strong);
    font-size: 0.82rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.status-pending {
    background: rgba(157, 123, 47, 0.18);
    color: #e0c47e;
}

.status-attending {
    background: rgba(79, 138, 99, 0.18);
    color: #93d5a7;
}

.status-declined {
    background: rgba(168, 77, 77, 0.18);
    color: #e2a3a3;
}

.filter-bar {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto auto;
    gap: 12px;
    margin-bottom: 18px;
    align-items: end;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.panel-subsection {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.current-file-box {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--cream);
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
}

.checkbox-row input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.error-list {
    margin: 0;
    padding-left: 18px;
}

.error-list li + li {
    margin-top: 6px;
}

hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 24px 0;
}

.kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 10px 0 18px;
}

.kicker-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: rgba(255, 248, 230, 0.03);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.callout-note {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: rgba(184, 154, 105, 0.06);
    color: var(--cream);
}

.poster-heading {
    font-size: 1.35rem;
    color: var(--paper);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.poster-subcopy {
    color: var(--muted);
    line-height: 1.75;
}

@media (max-width: 980px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .masthead-grid {
        grid-template-columns: 92px 1fr;
    }

    .brand-mark {
        width: 92px;
    }
}

@media (max-width: 860px) {
    .grid-two,
    .filter-bar,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .top-bar,
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card,
    .panel {
        padding: 28px 22px 24px;
    }

    .site-masthead {
        padding: 22px 20px 18px;
    }

    .masthead-grid {
        grid-template-columns: 1fr;
    }

    .brand-mark {
        width: 88px;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .data-table {
        display: block;
        overflow-x: auto;
    }

    .page-shell,
    .narrow-shell {
        width: min(100%, calc(100% - 24px));
    }
}
.dashboard-grid {
    align-items: start;
}

.panel-feature {
    border: 1px solid rgba(211, 176, 122, 0.62);
    background:
        linear-gradient(rgba(28, 22, 14, 0.96), rgba(16, 18, 22, 0.96)),
        linear-gradient(135deg, rgba(211, 176, 122, 0.12), transparent 55%);
    box-shadow:
        0 20px 44px var(--shadow),
        0 0 0 1px rgba(211, 176, 122, 0.12) inset;
}

.panel-amendments {
    grid-column: 1 / -1;
}

.panel-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(211, 176, 122, 0.55);
    background: rgba(211, 176, 122, 0.12);
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.76rem;
}

.feature-lead {
    margin: 0 0 18px;
    color: var(--cream);
    font-size: 1.05rem;
    line-height: 1.8;
}

.prominent-note {
    border-color: rgba(211, 176, 122, 0.42);
    background: rgba(211, 176, 122, 0.12);
    font-size: 1rem;
}

.full-span {
    grid-column: 1 / -1;
}

.venue-map-frame {
    padding: 10px;
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(rgba(8, 10, 13, 0.94), rgba(8, 10, 13, 0.94));
    box-shadow: inset 0 0 0 4px rgba(184, 154, 105, 0.06);
}

.venue-map-image {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
}

.map-caption {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.site-footer {
    margin-top: 28px;
    padding: 22px 26px 26px;
    border: 1px solid var(--line);
    background:
        linear-gradient(rgba(15, 18, 22, 0.92), rgba(15, 18, 22, 0.9)),
        linear-gradient(135deg, rgba(184, 154, 105, 0.04), transparent 60%);
    box-shadow: 0 18px 36px var(--shadow);
    text-align: center;
}

.footer-company {
    margin: 0 0 8px;
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.92rem;
}

.footer-copy {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 860px) {
    .full-span {
        grid-column: auto;
    }
}