:root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --panel: #ffffff;
    --panel-border: #dbe3ec;
    --text: #1b2734;
    --muted: #526272;
    --accent: #8b6a20;
    --accent-strong: #654a14;
    --danger: #b3382a;
    --success: #1f7a56;
    --line: #dfe6ef;
    --shadow: 0 16px 34px rgba(14, 30, 58, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(139, 106, 32, 0.1), transparent 34%),
        radial-gradient(circle at top right, rgba(31, 122, 86, 0.08), transparent 30%),
        linear-gradient(180deg, #fcfdff 0%, var(--bg) 46%, #f6f9fc 100%);
    min-height: 100vh;
}

.page-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 56px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

.stealth-admin-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.stealth-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    text-decoration: none;
    color: rgba(27, 39, 52, 0.6);
    border: 1px solid rgba(27, 39, 52, 0.15);
    border-radius: 999px;
    background: rgba(27, 39, 52, 0.03);
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.stealth-admin-link:hover,
.stealth-admin-link:focus-visible {
    color: rgba(27, 39, 52, 0.9);
    border-color: rgba(27, 39, 52, 0.3);
    background: rgba(27, 39, 52, 0.07);
}

.hero-copy,
.hero-card,
.card,
.notice {
    border: 1px solid var(--panel-border);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-copy {
    border-radius: 28px;
    padding: 34px;
}

.hero-side {
    display: grid;
    gap: 24px;
    align-content: start;
}

.hero-venue-image {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #eef2f4;
    border: 1px solid var(--panel-border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    font-size: 0.8rem;
}

h1,
h2,
.hero-card strong {
    font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.92;
}

.lede {
    margin: 18px 0 0;
    max-width: 60ch;
    font-size: 1.05rem;
    color: var(--muted);
}

.hero-invite {
    margin-top: 30px;
    max-width: 60ch;
    padding: 18px 20px;
    border: 1px solid rgba(101, 74, 20, 0.28);
    border-radius: 20px;
    background: linear-gradient(135deg, #6f5017, #a6802b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-invite-kicker,
.hero-invite-text,
.hero-invite-note {
    margin: 0;
}

.hero-invite-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hero-invite-text {
    margin-top: 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.35rem, 2.3vw, 1.9rem);
    line-height: 1.1;
    color: #ffffff;
}

.hero-invite-text span {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 2px 10px 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.82em;
    white-space: nowrap;
}

.hero-invite-note {
    margin-top: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.82);
}

.hero-card {
    border-radius: 28px;
    padding: 28px;
    display: grid;
    gap: 18px;
    align-content: center;
}

.label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-card strong {
    font-size: 1.5rem;
    color: var(--accent-strong);
}

.hero-card-sub {
    display: block;
    margin-top: 2px;
    font-size: 0.88rem;
    color: var(--muted);
}

.venue-img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    max-height: 180px;
}

.hero-shield {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 4px;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
}

.hero-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    min-width: 90px;
}

.hero-brand-mark img {
    display: block;
    width: 90px;
    height: auto;
    flex-shrink: 0;
}

.hero-brand-copy {
    display: grid;
    gap: 2px;
    line-height: 1;
}

.brand-name {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent-strong);
}

.brand-tag {
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-shield img {
    flex-shrink: 0;
}

.hero-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--panel-border);
}

.hero-logos img,
.hero-logo {
    height: 64px;
    object-fit: contain;
    opacity: 0.9;
    filter: brightness(1.1);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
    align-items: center;
}

.entry-cta,
.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}

.entry-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #f1d08a 100%);
    color: #172016;
    box-shadow: 0 14px 30px rgba(214, 180, 102, 0.2);
}

.back-link {
    border: 1px solid rgba(214, 180, 102, 0.26);
    background: rgba(27, 39, 52, 0.03);
    color: var(--accent-strong);
}

.admin-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-decoration: none;
    color: #f7efe0;
    border: 1px solid rgba(239, 106, 85, 0.38);
    background: linear-gradient(135deg, rgba(239, 106, 85, 0.32) 0%, rgba(120, 34, 24, 0.72) 100%);
    box-shadow: 0 14px 30px rgba(239, 106, 85, 0.14);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.entry-cta:hover,
.back-link:hover,
.admin-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.admin-panel {
    margin-bottom: 24px;
}

.inline-action {
    margin: 0;
}

.action-button {
    margin: 0;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
}

.approve-button {
    background: linear-gradient(135deg, #8bd3a5 0%, #4db58a 100%);
    color: #09140f;
}

.remove-button {
    background: rgba(27, 39, 52, 0.05);
    color: var(--accent-strong);
    border: 1px solid rgba(214, 180, 102, 0.24);
}

.page-nav {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.notice {
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 18px;
}

.notice.success {
    border-color: rgba(77, 181, 138, 0.35);
    color: #145d41;
}

.notice.error {
    border-color: rgba(239, 106, 85, 0.35);
    color: #8a2e22;
}

.notice ul {
    margin: 8px 0 0 18px;
}

.grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.35fr);
    gap: 24px;
}

.card {
    border-radius: 28px;
    padding: 28px;
}

.form-card h2,
.table-card h2 {
    margin: 0 0 18px;
    font-size: 2.2rem;
    line-height: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
}

label span {
    color: var(--muted);
    font-size: 0.92rem;
}

.field-optional {
    color: var(--muted);
    font-size: 0.82rem;
    font-style: italic;
    opacity: 0.75;
}

.full-width {
    grid-column: 1 / -1;
}

.pin-choice {
    margin: 6px 0 2px;
    padding: 16px;
    border: 1px solid rgba(214, 180, 102, 0.22);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdf7 0%, #fbf7eb 100%);
}

.pin-choice legend {
    padding: 0 8px;
    color: var(--accent-strong);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pin-choice-layout {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.pin-choice-image {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(214, 180, 102, 0.22);
    background: #ffffff;
}

.pin-choice-copy p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.55;
}

.pin-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.pin-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
}

.pin-radio input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--accent-strong);
    cursor: pointer;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(214, 180, 102, 0.22);
    border-radius: 14px;
    padding: 13px 14px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(214, 180, 102, 0.35);
    outline-offset: 2px;
}

button {
    margin-top: 18px;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #f1d08a 100%);
    color: #172016;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    filter: brightness(1.05);
}

.table-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    margin-bottom: 18px;
}

.table-head p {
    margin: 0;
    color: var(--muted);
}

.section-block {
    margin-bottom: 32px;
}

.section-block:last-child {
    margin-bottom: 0;
}

.section-block-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.section-block-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

td.row-num {
    color: var(--muted);
    font-size: 0.85rem;
    width: 36px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

th,
td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    color: var(--accent-strong);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(214, 180, 102, 0.14);
    color: var(--accent-strong);
    border: 1px solid rgba(214, 180, 102, 0.2);
}

.pill-junior {
    background: rgba(100, 180, 120, 0.14);
    color: #7dd4a0;
    border-color: rgba(100, 180, 120, 0.25);
    font-size: 0.75rem;
    padding: 2px 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-strong);
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--text);
}

.notes-row td {
    color: var(--muted);
    font-size: 0.95rem;
    background: #f6f9fc;
}

.empty-state {
    color: var(--muted);
    text-align: center;
    padding: 28px 12px;
}

/* ── Info sections ─────────────────────────────────────────────────── */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-card h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    margin: 0 0 20px;
    line-height: 1;
}

.sub-heading {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.3rem;
    color: var(--accent-strong);
    margin: 20px 0 8px;
}

.info-text {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-text strong {
    color: var(--text);
}

.timetable {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timetable-day h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.15rem;
    color: var(--accent-strong);
    margin: 0 0 8px;
}

.timetable-row {
    display: flex;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

.timetable-row:last-child {
    border-bottom: none;
}

.t-time {
    flex-shrink: 0;
    width: 54px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
}

.prize-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0;
    margin-bottom: 16px;
}

.prize-table th,
.prize-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.prize-table th {
    color: var(--accent-strong);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.prize-table td:first-child {
    color: var(--muted);
    font-size: 0.92rem;
}

.prize-table td:not(:first-child) {
    font-weight: 600;
    color: var(--text);
}

.prize-note {
    margin-top: 4px;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.payment-table th,
.payment-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.payment-table th {
    color: var(--accent-strong);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    width: 40%;
}

.payment-table td {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.payment-table tr:last-child th,
.payment-table tr:last-child td {
    border-bottom: 0;
}

.trophy-img {
    margin-top: 16px;
    width: 100%;
    max-width: 180px;
    border-radius: 14px;
    object-fit: cover;
}

.regulations-card {
    margin-bottom: 24px;
}

.regulations-card h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    margin: 0 0 20px;
    line-height: 1;
}

.regs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.regs-grid h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 20px 0 6px;
}

.regs-grid h3:first-child {
    margin-top: 0;
}

.regs-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

.regs-grid a {
    color: var(--accent-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.enquiries-card {
    margin-bottom: 24px;
}

.enquiries-inner h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    margin: 0 0 10px;
    line-height: 1;
}

.enquiry-link {
    display: inline-block;
    color: var(--accent-strong);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(214, 180, 102, 0.35);
    padding-bottom: 2px;
}

.venue-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
    gap: 24px;
}

.venue-card h2,
.venue-gallery-card h2,
.venue-map-card h2 {
    margin: 0 0 18px;
    font-size: 2rem;
    line-height: 1;
}

.venue-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.venue-photo {
    margin: 0;
    display: grid;
    gap: 10px;
}

.venue-photo img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(214, 180, 102, 0.18);
}

.venue-photo figcaption {
    color: var(--muted);
    font-size: 0.9rem;
    padding-left: 4px;
}

.venue-map-wrap {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(214, 180, 102, 0.18);
    background: #f7f9fc;
}

.venue-map {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    border: 1px solid rgba(214, 180, 102, 0.26);
    background: rgba(27, 39, 52, 0.03);
    color: var(--accent-strong);
    text-decoration: none;
    font-weight: 700;
}

.merch-card {
    padding: 28px;
}

.merch-header {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin: 0 0 24px;
}

.merch-header h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1;
    color: var(--accent-strong);
}

.merch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 28px;
    align-items: center;
}

.merch-figure {
    margin: 0;
    padding: 12px;
    border-radius: 22px;
    background: #f9fafb;
    border: 1px solid rgba(214, 180, 102, 0.24);
}

.merch-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.merch-copy {
    display: grid;
    gap: 18px;
}

.merch-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #a47a16;
}

.merch-copy h3 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    color: #12181e;
}

.merch-copy p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--muted);
}

.merch-price-panel {
    border: 1px solid rgba(214, 180, 102, 0.38);
    border-radius: 24px;
    background: linear-gradient(180deg, #fffef9 0%, #f9f2d6 100%);
    padding: 24px 22px;
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #111111;
    color: #f3d76a;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
    padding: 8px 14px;
}

.price-main {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
    color: #111111;
    margin: 0;
}

.price-main strong {
    font-size: 1.12em;
}

.price-note {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.merch-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 26px;
    background: linear-gradient(135deg, #d4a02f 0%, #f1d37c 100%);
    color: #171a17;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(212, 160, 47, 0.25);
}

.merch-cta:hover {
    filter: brightness(1.05);
}

@media (max-width: 820px) {
    .merch-layout {
        grid-template-columns: 1fr;
    }

    .merch-header {
        flex-direction: column;
    }
}

.venue-list {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.venue-list li::marker {
    color: var(--accent);
}

@media (max-width: 980px) {
    .hero,
    .grid,
    .info-grid,
    .regs-grid,
    .venue-grid,
    .venue-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100% - 20px, 1200px);
        padding-top: 20px;
    }

    .hero-copy,
    .hero-card,
    .card {
        padding: 22px;
        border-radius: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .table-head {
        flex-direction: column;
        align-items: flex-start;
    }

}