/* ==================================================
   1. COLOURS AND GENERAL PAGE SETTINGS
   ================================================== */

:root {
    --green: #073d27;
    --gold: #c9a646;
    --ink: #1f352b;
    --text-light: #8f9d93;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--ink);
    background-color: #10452f;
    background-image:
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 3px,
            #ffffff08 4px,
            transparent 5px
        );
}

/* ==================================================
   2. TOP GOLD LINE
   ================================================== */

.topline {
    height: 0;
    background: var(--gold);
}

/* ==================================================
   3. HEADER
   ================================================== */

.site-header {
    padding: 12px 20px 16px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201200%20280%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20fill%3D%27%23dce8d8%27%20d%3D%27M0%200%20C74%20142%20210%20228%20365%20276%20C214%20252%2076%20178%200%2079Z%27%2F%3E%3Cpath%20fill%3D%27%2383a889%27%20d%3D%27M0%2083%20C82%20183%20223%20251%20365%20277%20C219%20261%2079%20208%200%20142Z%27%2F%3E%3Cpath%20fill%3D%27%23e9d386%27%20d%3D%27M0%20149%20C91%20219%20220%20263%20365%20280%20C222%20274%2079%20242%200%20193Z%27%2F%3E%3Cg%20transform%3D%27translate%281200%200%29%20scale%28-1%201%29%27%3E%3Cpath%20fill%3D%27%23dce8d8%27%20d%3D%27M0%200%20C74%20142%20210%20228%20365%20276%20C214%20252%2076%20178%200%2079Z%27%2F%3E%3Cpath%20fill%3D%27%2383a889%27%20d%3D%27M0%2083%20C82%20183%20223%20251%20365%20277%20C219%20261%2079%20208%200%20142Z%27%2F%3E%3Cpath%20fill%3D%27%23e9d386%27%20d%3D%27M0%20149%20C91%20219%20220%20263%20365%20280%20C222%20274%2079%20242%200%20193Z%27%2F%3E%3Cpath%20fill%3D%27%23073d27%27%20d%3D%27M0%20168%20C98%20232%20234%20267%20365%20279%20C214%20270%2088%20251%200%20218Z%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat,
        radial-gradient(ellipse at 50% 34%, #faf4e5 35%, #f0e6cf 100%);
}

.header-content {
    display: grid;
    justify-items: center;
}

.crest {
    width: clamp(104px, 14vw, 164px);
    aspect-ratio: 1;
}

.crest img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-divider {
    display: none;
}

.header-text {
    width: 100%;
    text-align: center;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 28px);
    margin: 0;
    color: var(--green);
    font: normal clamp(15px, 2.1vw, 25px)/1.25 Georgia, serif;
    font-style: italic;
    text-wrap: balance;
}

.brand::before,
.brand::after {
    content: "";
    flex: 1 0 12px;
    height: 2px;
    background: var(--gold);
}

@media (max-width: 600px) {
    .site-header {
        background-size: 155% 100%, 100% 100%;
    }
}


/* ==================================================
   4. MAIN NAVIGATION
   ================================================== */

.nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(110deg, #002e17, #064826 50%, #002e17);
    border-top: 2px solid #ead58a;
    border-bottom: 2px solid #ead58a;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 100;
}

#nav-toggle {
    display: none;
}

.menu-toggle {
    display: none;
    color: #fff8e7;
    font-size: 16px;
    font-weight: bold;
    padding: 16px 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.menu-toggle span {
    font-size: 20px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-links > a,
.nav-item > summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 64px;
    padding: 18px clamp(10px, 1.8vw, 30px);
    color: #fff8e7;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 1px 2px #001b12;
}

.nav-links > a,
.nav-item {
    flex: 1 1 auto;
}

/* Short gold separators between the menu items. */
.nav-links > a::after,
.nav-item > summary::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 24px;
    background: #d7bb59;
    transform: translateY(-50%);
    pointer-events: none;
}

.nav-links > :last-child::after,
.nav-links > :last-child > summary::after {
    display: none;
}

.competition-app-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: auto 0 auto auto;
    padding: 10px 18px;
    border: 1px solid #ead58a;
    border-radius: 5px;
    background: #c9a646;
    color: #073d27;
    font: inherit;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
    text-shadow: none;
    white-space: nowrap;
}

.competition-app-link svg {
    width: 18px;
    height: 18px;
}

.competition-app-link:focus-visible {
    outline: 2px solid #fff8e7;
    outline-offset: 3px;
}

.competition-app-link.is-unavailable {
    opacity: .78;
    cursor: not-allowed;
}

/* Underline the full label of the current page. */
.nav-links > a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: #ead58a;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
    text-decoration-skip-ink: none;
}

/* Gold fill follows the pointer on devices that support hover. */
@media (hover: hover) {
    .nav-links > a:hover,
    .nav-item > summary:hover,
    .dropdown a:hover {
        color: #073d27;
        background: linear-gradient(135deg, #f7d451, #e3b326 55%, #b88713);
        box-shadow: inset 1px 0 #f5dd84, inset -1px 0 #d6af3c;
        text-shadow: 0 1px 0 #fff2b380;
    }

    .nav-links > a[aria-current="page"]:hover {
        text-decoration-color: #073d27;
    }
}

.nav a:focus-visible,
.nav summary:focus-visible {
    outline: 2px solid #fff3b8;
    outline-offset: -4px;
}

/* ==================================================
   5. DROPDOWN NAVIGATION
   ================================================== */

.nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nav-item > summary {
    width: 100%;
    gap: 10px;
    cursor: pointer;
    list-style: none;
}

.nav-item > summary::-webkit-details-marker {
    display: none;
}

/* The chevron inherits the label colour in every state. */
.nav-item > summary span {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    font-size: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #073d27;
    border-top: 2px solid #d7bb59;
    box-shadow: 0 8px 18px #00000040;
    z-index: 100;
}

.dropdown a {
    display: block;
    padding: 14px 18px;
    color: #fff8e7;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #d7bb5933;
}

/* Compact spacing for smaller desktop and tablet widths. */
@media (min-width: 601px) and (max-width: 800px) {
    .nav-links > a,
    .nav-item > summary {
        min-height: 56px;
        padding: 16px 8px;
        font-size: 12px;
        gap: 6px;
    }
}

/* ==================================================
   6. HERO SECTION
   ================================================== */

.hero {
    width: 100%;
    height: 275px;
    margin: 0 0 40px;
    background-image: url("Images/hero-jack-right-logo.jpg");
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8%;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Dark image overlay */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 35, 20, 0.45),
        rgba(0, 35, 20, 0.45)
    );
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.25),
        transparent 70%
    );
    pointer-events: none;
}

/* Hero content */

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 1;
    color: var(--text-light);
    text-align: center;
    transform: translateY(-20px);
}

.hero-heading {
    margin-bottom: 35px;
}

.hero-heading .eyebrow {
    color: var(--text-light);
    font-family: Georgia, serif;
    font-size: clamp(40px, 5vw, 54px);
    font-weight: normal;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
}

.hero-heading h2 {
    color: #e2c36b;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 14px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-description {
    transform: translateY(50px);
}

.hero-description p {
    color: var(--text-light);
    font-size: 11px;
    line-height: 1.6;
    font-weight: 400;
    margin: 0 0 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

/* ==================================================
   7. BUTTONS
   ================================================== */

.btn {
    display: inline-block;
    background: linear-gradient(
        135deg,
        #f5df91 0%,
        #d4af37 50%,
        #b88a24 100%
    );
    color: #173d2b;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    border: 1px solid #f5df91;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(
        135deg,
        #fff0b5 0%,
        #e2c36b 50%,
        #c69a32 100%
    );
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

/* ==================================================
   8. HERO PHOTOGRAPH
   ================================================== */

.hero-image {
    flex: 0 0 45%;
    min-width: 0;
    border-left: 2px solid var(--gold);
    padding-left: 30px;
}

.hero-image img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    transform: translateX(200px);
}

/* ==================================================
   9. GENERAL CONTENT SECTIONS
   ================================================== */

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 66px 28px;
}

.intro {
    text-align: center;
    max-width: 760px;
    margin: 60px auto 65px;
    padding: 0 20px;
}

.intro-label {
    color: #e2c36b !important;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.intro h2 {
    color: var(--green);
    font-size: 30px;
    margin: 10px 0 15px;
}

.intro p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.75;
}

.kicker {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #9b7c2e;
    font-weight: bold;
}

.section h2 {
    font-family: Georgia, serif;
    color: var(--green);
    font-size: clamp(29px, 4vw, 40px);
    margin: 12px 0;
}

/* ==================================================
   10. HOMEPAGE CARDS
   ================================================== */

.section#play {
    padding-top: 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 35px;
    margin-left: 5%;
    margin-right: 5%;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #28543e;
    background: linear-gradient(145deg, #10432f, #092f22);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 7px 22px #00000025;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px #c9a64625;
}

/* Gold card detail */

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );
}

/* Card photographs */

.card-art {
    width: 100%;
    overflow: hidden;
    background: #10452f;
}

.card-art img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Individual card backgrounds */

.card:nth-child(2) .card-art {
    background: linear-gradient(135deg, #d9d2ad, #79966a);
}

.card:nth-child(3) .card-art {
    background: linear-gradient(135deg, #b9cbb4, #4e7657);
}

/* Card content */

.card-body {
    background-color: #10452f;
    padding: 23px;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.card h3 {
    font-family: Georgia, serif;
    color: var(--gold);
    font-size: 22px;
    margin: 0 0 10px;
}

.card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
    margin: 0 0 16px;
}

.textlink {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #85691f;
    font-weight: bold;
}

/* Keep card content above the watermark */

.card-body h3,
.card-body p,
.card-body .textlink {
    position: relative;
    z-index: 1;
}

/* ==================================================
   11. YORKSHIRE ROSE CARD WATERMARK
   ================================================== */

.rose-emblem {
    position: absolute;
    width: clamp(240px, 85%, 300px);
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

.yorkshire-rose {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* ==================================================
   12. MOBILE LAYOUT
   ================================================== */

@media (max-width: 600px) {

    /* Mobile navigation */

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
    }

    #nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-links > a,
    .nav-item > summary {
        min-height: 52px;
        padding: 14px 20px;
        font-size: 16px;
        border-top: 1px solid #d7bb5933;
        justify-content: space-between;
    }

    .nav-links > a::after,
    .nav-item > summary::after {
        display: none;
    }

    .nav-item {
        display: block;
        width: 100%;
    }

    .competition-app-link {
        box-sizing: border-box;
        width: calc(100% - 32px);
        min-height: 52px;
        margin: 12px auto;
        padding: 14px 20px;
    }

    .dropdown {
        position: static;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        box-sizing: border-box;
    }

    .dropdown a {
        padding: 14px 35px;
    }

    /* Mobile cards */

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

    /* Mobile hero */

    .hero {
        height: auto;
        min-height: 100vw;
        padding: 32px 20px 68px;
        background-color: #073d27;
        background-image: url("Images/hero-phone-logo.jpg");
        background-size: cover;
        background-position: center bottom;
    }

    .hero::before {
        background: linear-gradient(transparent, #00231480 35%, #00231480 60%, transparent 90%);
    }

    .hero::after {
        display: none;
    }

    .hero-content,
    .hero-heading .eyebrow,
    .hero-description p {
        color: #fff8e7;
    }

    .hero-content {
        width: 100%;
        max-width: none;
        height: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-heading {
        margin-bottom: 0;
    }

    .hero-heading .eyebrow {
        font-size: 38px;
    }

    .hero-heading h2 {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-description {
        transform: none;
    }

    .hero-description p {
        font-size: 14px;
    }

    /* Mobile hero photograph */

    .hero-image {
        width: 100%;
        border-left: none;
        border-top: 3px solid var(--gold);
        padding: 20px 0 0;
    }

    .hero-image img {
        transform: none;
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
    }

    /* Mobile buttons */

    .btn {
        padding: 14px 22px;
    }

}

/* Interior pages and shared footer */

.nav-item > summary.current-section,
.dropdown a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: #ead58a;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    text-decoration-skip-ink: none;
}

.inner-page {
    color: var(--ink);
}

.page-wrap {
    width: min(100% - 40px, 1050px);
    margin-inline: auto;
}

.page-banner {
    padding: 32px 0 38px;
    background: linear-gradient(110deg, #062d1d, #124c34);
    color: #fff8e7;
    border-bottom: 2px solid var(--gold);
}

.breadcrumbs {
    margin: 0 0 20px;
    color: #ead58a;
    font-size: 13px;
}

.breadcrumbs a {
    color: inherit;
}

.breadcrumbs span {
    margin-inline: 5px;
}

.page-banner h1 {
    margin: 0;
    font: normal clamp(32px, 5vw, 48px)/1.12 Georgia, serif;
}

.page-lead {
    max-width: 620px;
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.6;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 28%);
    align-items: start;
    gap: 28px;
    padding-block: 36px 55px;
}

.page-sections {
    display: grid;
    gap: 18px;
}

.page-panel {
    padding: 22px 24px;
    background: #fffbef;
    border: 1px solid #e4d8b9;
    border-left: 3px solid var(--gold);
    border-radius: 4px;
}

.page-panel h2,
.page-related h2 {
    margin: 0 0 10px;
    font: normal 23px/1.2 Georgia, serif;
    color: var(--green);
}

.page-panel p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

.page-related {
    padding: 20px;
    border-top: 2px solid var(--gold);
    background: #ebe4cf;
}

.page-related a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-block: 11px;
    border-bottom: 1px solid #c9a64666;
    color: var(--green);
    font-size: 14px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 22px max(20px, calc((100% - 1050px) / 2));
    border-top: 1px solid var(--gold);
    background: #062d1d;
    font-size: 14px;
}

.site-footer a {
    color: #fff8e7;
}

@media (max-width: 700px) {
    .page-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding-block: 26px 38px;
    }
}

/* Studio AI-inspired homepage */
body.home-page-body {
    margin: 0;
    color: #e5ece7;
    background-color: #072e1e;
    background-image: none;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.home-page,
.home-page * {
    box-sizing: border-box;
}

.home-page {
    --home-deep: #052618;
    --home-dark: #041f14;
    --home-green: #072e1e;
    --home-panel: #0d3b28;
    --home-panel-card: #082d1e;
    --home-gold: #c9a646;
    --home-gold-light: #dfc26f;
    --home-ink: #f0f4f1;
    --home-muted: #a3b8ad;
    --home-max-width: 1560px;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--home-ink);
    background-color: var(--home-green);
    background-image:
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 3px,
            #ffffff08 4px,
            transparent 5px
        );
}

.home-page a {
    color: inherit;
}

.home-page :focus-visible {
    outline: 3px solid #d5ad42;
    outline-offset: 3px;
}

.home-skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.home-skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 200;
    padding: 12px 16px;
    border-radius: 4px;
    background: #fff;
    color: var(--home-deep);
}

.home-topline {
    height: 3px;
    background: var(--home-gold);
}

/* Header */
.home-header {
    position: relative;
    z-index: 20;
    color: #fff;
    background: var(--home-deep);
    border-bottom: 1px solid rgba(201, 166, 70, 0.4);
    box-shadow: 0 4px 16px rgba(0, 20, 12, 0.3);
}

.home-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2vw, 36px);
    width: min(100% - 48px, var(--home-max-width));
    min-height: 96px;
    margin: 0 auto;
    padding: 10px 0;
}

.home-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    color: #fff;
    text-decoration: none;
}

.home-identity img {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 1px solid rgba(201, 166, 70, 0.65);
    border-radius: 8px;
    background: rgba(4, 31, 20, 0.6);
    padding: 2px;
}

.home-brand-copy,
.home-brand-title,
.home-brand-subtitle {
    display: block;
}

.home-brand-title {
    color: #fff;
    font: 700 clamp(19px, 1.75vw, 24px)/1.15 "Playfair Display", Georgia, serif;
    letter-spacing: -.02em;
}

.home-brand-subtitle {
    margin-top: 4px;
    color: var(--home-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-brand-break {
    display: none;
}

.home-nav {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.home-nav #home-nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.home-nav .menu-toggle {
    display: none;
}

.home-nav .nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    max-width: none;
    margin: 0;
}

.home-nav .nav-links > a,
.home-nav .nav-item > summary {
    min-height: 46px;
    padding: 10px clamp(8px, .9vw, 14px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-shadow: none;
    white-space: nowrap;
    transition: color .15s ease;
}

.home-nav .nav-links > a:hover,
.home-nav .nav-item > summary:hover {
    color: var(--home-gold-light);
}

.home-nav .nav-links > a::after,
.home-nav .nav-item > summary::after {
    display: none;
}

.home-nav .nav-links > a[aria-current="page"] {
    color: var(--home-deep) !important;
    background: var(--home-gold);
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
}

/* Gold divider between public nav links and admin/app actions */
.home-nav-divider {
    display: block;
    width: 1px;
    height: 26px;
    background: rgba(201, 166, 70, 0.4);
    flex-shrink: 0;
    margin: 0 6px;
    align-self: center;
}

.home-nav .nav-item {
    position: relative;
    flex: 0 0 auto;
}

.home-nav .nav-item > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    cursor: pointer;
}

.home-nav .nav-item > summary::-webkit-details-marker {
    display: none;
}

.home-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    min-width: 210px;
    padding: 6px 0;
    border: 1px solid rgba(201, 166, 70, 0.4);
    border-top: 2px solid var(--home-gold);
    border-radius: 0 0 6px 6px;
    background: var(--home-deep);
    box-shadow: 0 10px 24px rgba(0, 20, 12, 0.4);
}

.home-nav .dropdown a {
    display: block;
    min-height: 40px;
    padding: 10px 16px;
    color: #f0f4f1;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.home-nav .dropdown a:hover {
    background: rgba(201, 166, 70, 0.12);
    color: var(--home-gold-light);
}

/* Header Actions: Admin link stacked above gold Competitions App button */
.home-header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    margin-left: clamp(10px, 1.5vw, 20px);
}

.home-header-admin {
    display: inline-block;
    color: #9cb5a8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    line-height: 1.2;
    padding: 1px 4px;
    transition: color .15s ease;
}

.home-header-admin:hover {
    color: var(--home-gold-light);
    text-decoration: underline;
}

.home-nav .competition-app-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid #ead58a;
    border-radius: 6px;
    background: var(--home-gold);
    color: var(--home-deep);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s ease, transform .15s ease;
}

.home-nav .competition-app-link svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.home-nav .competition-app-link:hover {
    background: var(--home-gold-light);
    transform: translateY(-1px);
}

.home-nav .competition-app-link.is-unavailable {
    opacity: .75;
    cursor: not-allowed;
    background: #b89840;
    color: var(--home-deep);
}

/* Main Container */
.home-main {
    display: grid;
    gap: 48px;
    width: min(100% - 48px, var(--home-max-width));
    margin: 0 auto;
    padding: 32px 0 60px;
}

/* Hero Section */
.home-hero {
    position: relative;
    display: flex;
    min-height: 520px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--home-gold);
    outline: 1px solid rgba(201, 166, 70, 0.3);
    outline-offset: -7px;
    border-radius: 16px;
    background: var(--home-deep);
    box-shadow: 0 16px 40px rgba(0, 20, 12, 0.35), 0 0 0 1px rgba(201, 166, 70, 0.08);
    isolation: isolate;
}

.home-hero-picture,
.home-hero-picture img,
.home-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-picture {
    z-index: -2;
}

.home-hero-picture img {
    object-fit: cover;
    object-position: center 57%;
    opacity: 0.82;
}

.home-hero-shade {
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(5, 38, 24, 0.88) 0%,
        rgba(5, 38, 24, 0.74) 36%,
        rgba(7, 46, 30, 0.40) 66%,
        rgba(7, 46, 30, 0.12) 100%
    );
}

.home-hero-copy {
    width: min(100%, 720px);
    padding: clamp(36px, 5vw, 68px) clamp(28px, 5vw, 64px);
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.home-hero h1 {
    margin: 0;
    color: #fff;
    font: 700 clamp(36px, 4.4vw, 58px)/1.08 "Playfair Display", Georgia, serif;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.home-hero-lead {
    max-width: 620px;
    margin: 18px 0 0;
    color: #f3f6f3;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.65;
}

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

.home-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button-primary {
    background: var(--home-gold);
    color: var(--home-deep) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.home-button-primary:hover {
    background: var(--home-gold-light);
    box-shadow: 0 6px 20px rgba(201, 166, 70, 0.35);
}

/* Discover HABA Section */
.home-discover {
    display: grid;
    gap: 28px;
}

.home-hero-clip {
    position: absolute;
}

.home-page-body .home-hero {
    /* Reference: centre rises 8.7% of hero height above the two ends. */
    clip-path: url(#home-hero-curve);
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    outline: none;
}

.home-hero-edge {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--home-gold);
    pointer-events: none;
}

.home-discover-header {
    text-align: center;
    margin-bottom: 4px;
}

.home-discover-heading {
    margin: 0;
    color: #fff;
    font: 700 clamp(30px, 3.4vw, 42px)/1.2 "Playfair Display", Georgia, serif;
    letter-spacing: -.02em;
}

.home-discover-strapline {
    margin: 10px 0 0;
    color: var(--home-gold-light);
    font-size: clamp(14px, 1.25vw, 17px);
    font-weight: 600;
    letter-spacing: .08em;
}

/* Three Feature Cards */
.home-discover-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-feature {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid rgba(201, 166, 70, 0.55);
    border-radius: 12px;
    background: var(--home-panel-card);
    box-shadow: 0 8px 24px rgba(0, 20, 12, 0.25);
    color: inherit;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-feature:hover {
    transform: translateY(-5px);
    border-color: var(--home-gold);
    box-shadow: 0 16px 36px rgba(0, 20, 12, 0.45);
}

.home-card-art {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #052618;
}

.home-card-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.home-feature:hover .home-card-art img {
    transform: scale(1.02);
}

.home-card-body {
    position: relative;
    display: flex;
    min-height: 180px;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
    overflow: hidden;
    background: linear-gradient(145deg, #0e3b28, #072d1e);
    color: #fff;
}

.home-card-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 54px;
    height: 54px;
    object-fit: contain;
    opacity: .11;
    pointer-events: none;
    z-index: 0;
}

.home-card-body h3,
.home-card-body p,
.home-card-link {
    position: relative;
    z-index: 1;
}

.home-card-body h3 {
    margin: 0;
    color: var(--home-gold-light);
    font: 700 23px/1.25 "Playfair Display", Georgia, serif;
}

.home-card-body p {
    margin: 10px 0 16px;
    color: #dbe4df;
    font-size: 12px;
    line-height: 1.65;
}

.home-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--home-gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: gap .18s ease;
}

.home-feature:hover .home-card-link {
    gap: 10px;
}

/* Homepage updates: two panels on desktop, compact rows within each. */
.home-updates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-panel-section {
    display: grid;
    gap: 24px;
    padding: clamp(26px, 3.2vw, 40px);
    border: 1px solid rgba(201, 166, 70, 0.4);
    border-radius: 14px;
    background: var(--home-panel);
    box-shadow: 0 12px 32px rgba(0, 20, 12, 0.28);
}

.home-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(201, 166, 70, 0.3);
}

/* Icon badge + text group inside panel header */
.home-panel-heading-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-panel-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1.5px solid rgba(201, 166, 70, 0.5);
    border-radius: 8px;
    background: rgba(201, 166, 70, 0.08);
    color: var(--home-gold);
}

.home-panel-icon svg {
    width: 18px;
    height: 18px;
}

.home-panel-kicker {
    margin: 0 0 6px;
    color: var(--home-gold-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-panel-title {
    margin: 0;
    color: #fff;
    font: 700 clamp(24px, 2.6vw, 32px)/1.2 "Playfair Display", Georgia, serif;
}

.home-panel-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 6px 14px;
    border: 1px solid rgba(201, 166, 70, 0.5);
    border-radius: 6px;
    background: rgba(4, 31, 20, 0.5);
    color: var(--home-gold-light) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease;
}

.home-panel-action:hover {
    background: rgba(201, 166, 70, 0.15);
    border-color: var(--home-gold-light);
}

/* Latest News Grid */
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-news-card {
    display: flex;
    min-width: 0;
    border: 1px solid rgba(201, 166, 70, 0.25);
    border-radius: 10px;
    background: var(--home-panel-card);
    box-shadow: 0 4px 16px rgba(0, 20, 12, 0.2);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 166, 70, 0.7);
    box-shadow: 0 10px 24px rgba(0, 20, 12, 0.35);
}

.home-news-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.home-news-art {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #052618;
}

.home-news-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #093322, #041f14);
}

.home-news-fallback-crest {
    width: 72px;
    height: 72px;
    object-fit: contain;
    opacity: 0.3;
}

.home-news-body {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    background: linear-gradient(145deg, #0c3624, #072a1c);
}

.home-news-date {
    margin: 0 0 8px;
    color: var(--home-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.home-news-heading {
    margin: 0;
    color: #fff;
    font: 700 18px/1.3 "Playfair Display", Georgia, serif;
}

.home-news-summary {
    margin: 9px 0 16px;
    color: #cbd8d1;
    font-size: 11px;
    line-height: 1.6;
}

.home-news-card:hover .home-card-link {
    gap: 9px;
}

/* Upcoming Events Grid */
.home-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-event-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(201, 166, 70, 0.25);
    border-radius: 10px;
    background: var(--home-panel-card);
    box-shadow: 0 4px 16px rgba(0, 20, 12, 0.2);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-event-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 166, 70, 0.7);
    box-shadow: 0 10px 24px rgba(0, 20, 12, 0.35);
}

.home-event-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 54px;
    overflow: hidden;
    border: 1px solid rgba(201, 166, 70, 0.45);
    border-radius: 7px;
    background: var(--home-deep);
    margin-bottom: 14px;
    text-align: center;
    flex-shrink: 0;
}

.home-event-month {
    display: block;
    width: 100%;
    padding: 3px 6px;
    background: var(--home-gold);
    color: var(--home-deep);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-event-day {
    display: block;
    padding: 4px 6px 2px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.home-event-year {
    display: block;
    padding: 0 6px 4px;
    color: var(--home-muted);
    font-size: 9px;
}

.home-event-content {
    flex: 1;
}

.home-event-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--home-gold-light);
    font-size: 11px;
    font-weight: 600;
}

.home-event-status-pill {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-event-status-pill.is-cancelled {
    background: rgba(214, 69, 69, 0.25);
    border: 1px solid rgba(214, 69, 69, 0.6);
    color: #ff9999;
}

.home-event-status-pill.is-postponed,
.home-event-status-pill.is-rescheduled {
    background: rgba(201, 166, 70, 0.2);
    border: 1px solid var(--home-gold);
    color: var(--home-gold-light);
}

.home-event-title {
    margin: 0;
    color: #fff;
    font: 700 18px/1.3 "Playfair Display", Georgia, serif;
}

.home-event-venue {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    color: #c9d6cf;
    font-size: 12px;
}

.home-event-venue span {
    color: var(--home-gold);
}

.home-event-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--home-gold);
}

.home-event-desc {
    margin: 10px 0 0;
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.55;
}

.home-event-action {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(201, 166, 70, 0.15);
}

/* Empty States */
.home-empty-state {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px dashed rgba(201, 166, 70, 0.4);
    border-radius: 10px;
    background: rgba(4, 31, 20, 0.4);
}

.home-empty-crest {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.35;
    flex: 0 0 auto;
}

.home-empty-state h3 {
    margin: 0;
    color: var(--home-gold-light);
    font: 700 16px/1.3 "Playfair Display", Georgia, serif;
}

.home-empty-state p {
    margin: 6px 0 0;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.55;
}

/* Minimal Footer (H10) */
.home-footer {
    border-top: 1px solid rgba(201, 166, 70, 0.4);
    background: var(--home-deep);
    color: #c5d3cb;
    box-shadow: 0 -4px 16px rgba(0, 20, 12, 0.25);
}

.home-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2.5vw, 36px);
    width: min(100% - 48px, var(--home-max-width));
    margin: 0 auto;
    padding: 26px 0 28px;
}

.home-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.home-footer-crest {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border: 1px solid rgba(201, 166, 70, 0.45);
    border-radius: 7px;
    background: rgba(4, 31, 20, 0.5);
}

.home-footer-brand-text {
    color: #fff;
    font: 700 15px "Playfair Display", Georgia, serif;
    letter-spacing: -.01em;
}

.home-footer-divider {
    width: 1px;
    height: 34px;
    background: rgba(201, 166, 70, 0.35);
    flex: 0 0 auto;
}

.home-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    gap: 20px;
    flex-wrap: wrap;
}

.home-footer-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    flex-wrap: wrap;
}

.home-footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-footer-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--home-gold);
}

.home-footer-vdiv {
    display: block;
    width: 1px;
    height: 18px;
    background: rgba(201, 166, 70, 0.4);
    flex-shrink: 0;
}

.home-footer-location {
    color: #dbe4df;
    font-weight: 600;
}

.home-footer-sep {
    color: var(--home-gold);
    opacity: 0.6;
}

.home-footer-email,
.home-footer-contact {
    color: var(--home-gold-light);
    text-decoration: none;
    font-weight: 600;
    transition: text-decoration .15s ease;
}

.home-footer-email:hover,
.home-footer-contact:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-footer-legal {
    font-size: 11px;
    color: var(--home-muted);
}

.home-footer-legal p {
    margin: 0;
}

.home-footer-legal a {
    color: #dbe4df;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s ease;
}

.home-footer-legal a:hover {
    color: var(--home-gold-light);
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .home-header-inner {
        gap: 16px;
    }

    .home-identity img {
        width: 58px;
        height: 58px;
    }

    .home-brand-title {
        font-size: 18px;
    }

    .home-nav .nav-links > a,
    .home-nav .nav-item > summary {
        padding-inline: 7px;
        font-size: 12px;
    }
}

@media (max-width: 960px) {
    .home-header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .home-identity {
        min-width: 0;
        flex: 1 1 auto;
    }

    .home-nav {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 10px;
        border-top: 1px solid rgba(201, 166, 70, 0.3);
    }

    .home-nav .menu-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 8px 0;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

    .home-nav #home-nav-toggle:focus-visible + .menu-toggle {
        outline: 2px solid var(--home-gold-light);
        outline-offset: 2px;
    }

    .home-nav .nav-links {
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 6px 0 12px;
        border-top: 1px solid rgba(201, 166, 70, 0.25);
    }

    .home-nav #home-nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .home-nav .nav-links > a,
    .home-nav .nav-item > summary {
        justify-content: flex-start;
        min-height: 44px;
        padding: 10px 4px;
        border-bottom: 1px solid rgba(201, 166, 70, 0.15);
        font-size: 13px;
    }

    .home-nav .nav-item {
        display: block;
        width: 100%;
    }

    .home-nav .nav-item > summary {
        justify-content: space-between;
    }

    .home-nav .dropdown {
        position: static;
        width: 100%;
        border: none;
        border-left: 2px solid var(--home-gold);
        border-radius: 0;
        box-shadow: none;
        background: rgba(4, 31, 20, 0.4);
        margin: 4px 0 8px 12px;
    }

    .home-nav .dropdown a {
        padding-left: 16px;
    }

    .home-header-actions {
        align-items: stretch;
        margin: 12px 0 4px;
        gap: 6px;
    }

    .home-header-admin {
        padding: 4px 0;
        font-size: 11px;
    }

    .home-nav .competition-app-link {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .home-news-grid,
    .home-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-nav-divider {
        display: none;
    }

    .home-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .home-footer-divider {
        width: 60px;
        height: 1px;
    }

    .home-footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-footer-primary {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .home-header-inner,
    .home-main,
    .home-footer-inner {
        width: min(100% - 32px, var(--home-max-width));
    }

    .home-main {
        gap: 36px;
        padding-top: 18px;
        padding-bottom: 40px;
    }

    .home-identity img {
        width: 48px;
        height: 48px;
    }

    .home-brand-title {
        font-size: 16px;
    }

    .home-brand-subtitle {
        font-size: 8.5px;
    }

    .home-hero {
        min-height: 0;
        border-radius: 12px;
    }

    .home-hero-copy {
        width: 100%;
        padding: 36px 20px 28px;
    }

    .home-hero h1 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .home-hero-lead {
        font-size: 14px;
        margin-top: 12px;
    }

    .home-hero-actions {
        margin-top: 20px;
    }

    .home-hero-picture img {
        object-position: center 60%;
        opacity: 0.75;
    }

    .home-hero-shade {
        background: linear-gradient(
            180deg,
            rgba(5, 38, 24, 0.70) 0%,
            rgba(5, 38, 24, 0.90) 50%,
            rgba(5, 38, 24, 0.96) 100%
        );
    }

    .home-discover-heading {
        font-size: 26px;
    }

    .home-discover-strapline {
        font-size: 13px;
    }

    .home-discover-grid,
    .home-news-grid,
    .home-events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .home-panel-title {
        font-size: 22px;
    }

    .home-footer-primary {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .home-footer-vdiv {
        display: none;
    }

    .home-footer-sep {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}


/* Scope compact updates to the homepage; shared cards stay unchanged. */
.home-updates-grid .home-panel-section {
    min-width: 0;
    align-content: start;
    gap: 16px;
    padding: 26px;
}
.home-updates-grid .home-panel-header {
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 14px;
}
.home-updates-grid .home-panel-heading-group { gap: 12px; }
.home-updates-grid .home-panel-title { font-size: clamp(22px, 2vw, 28px); }
.home-updates-grid .home-panel-kicker { display: none; }
.home-updates-grid .home-panel-action {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 10px;
}
.home-updates-grid .home-news-grid,
.home-updates-grid .home-events-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}
.home-updates-grid .home-news-card,
.home-updates-grid .home-event-card {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(201, 166, 70, .25);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}
.home-updates-grid .home-news-card:first-child,
.home-updates-grid .home-event-card:first-child { padding-top: 0; }
.home-updates-grid .home-news-card:last-child,
.home-updates-grid .home-event-card:last-child { border-bottom: 0; padding-bottom: 0; }
.home-updates-grid .home-news-card-link {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}
.home-updates-grid .home-news-art {
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(201, 166, 70, .3);
    border-radius: 6px;
}
.home-updates-grid .home-news-body {
    min-width: 0;
    padding: 0;
    background: transparent;
    overflow-wrap: anywhere;
}
.home-updates-grid .home-news-body .home-card-watermark { display: none; }
.home-updates-grid .home-news-date { margin-bottom: 4px; font-size: 10px; }
.home-updates-grid .home-news-summary { margin: 5px 0; font-size: 12px; }
.home-updates-grid .home-card-link { font-size: 10px; }
.home-updates-grid .home-event-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    column-gap: 16px;
    row-gap: 6px;
}
.home-updates-grid .home-event-date-badge {
    grid-row: span 2;
    margin: 0;
    background: #eee8cc;
}
.home-updates-grid .home-event-month {
    order: -1;
    background: var(--home-deep);
    color: var(--home-gold-light);
}
.home-updates-grid .home-event-day {
    padding-top: 7px;
    color: var(--home-deep);
    font-family: Georgia, serif;
}
.home-updates-grid .home-event-year { color: var(--home-deep); }
.home-updates-grid .home-event-content { min-width: 0; overflow-wrap: anywhere; }
.home-updates-grid .home-event-meta { margin-bottom: 5px; gap: 4px; font-size: 10px; }
.home-updates-grid .home-event-venue,
.home-updates-grid .home-event-desc { margin-top: 5px; }
.home-updates-grid .home-event-action {
    grid-column: 2;
    margin: 0;
    padding: 0;
    border: 0;
}
@media (max-width: 900px) {
    .home-updates-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
    .home-updates-grid .home-panel-section { padding: 20px; }
    .home-updates-grid .home-news-card-link {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
    }
    .home-updates-grid .home-event-card { column-gap: 12px; }
}

/* Approved homepage composition. Keep these overrides off all inner pages. */
.home-page-body .home-page {
    --home-deep: #04291d;
    --home-green: #052f22;
    --home-panel: #0b3d2c;
    --home-gold: #d5b34f;
    --home-gold-light: #f0ce65;
    --home-max-width: 1384px;
    background-image: url("Images/heritage-green-ornate.png");
    background-size: 768px auto;
    background-repeat: repeat;
}
.home-page-body .home-topline { height: 0; }
.home-page-body .home-header { border: 0; box-shadow: none; }
.home-page-body .home-header-inner,
.home-page-body .home-main,
.home-page-body .home-footer-inner { width: min(100% - 56px, var(--home-max-width)); }
.home-page-body .home-header-inner { min-height: 100px; gap: 24px; }
.home-page-body .home-identity { gap: 16px; }
.home-page-body .home-identity img { width: 68px; height: 68px; border-radius: 12px; }
.home-page-body .home-brand-title { font: 700 28px/1.15 Georgia, serif; letter-spacing: 0; }
.home-page-body .home-brand-subtitle { font-size: 10px; letter-spacing: .18em; margin-top: 7px; }
.home-page-body .home-nav .nav-links > a,
.home-page-body .home-nav .nav-item > summary { min-height: 42px; padding: 10px; font-size: 13px; }
.home-page-body .home-header-actions { margin-left: 10px; gap: 7px; }
.home-page-body .home-header-admin { color: #c5d8cc; }
.home-page-body .home-nav .competition-app-link { min-height: 42px; padding: 10px 14px; }
.home-page-body .home-main { gap: 28px; padding: 28px 0 58px; }
.home-page-body .home-hero {
    min-height: 0;
    height: clamp(400px, 31.95vw, 460px);
    border-width: 1px;
    border-radius: 24px 24px 0 0;
    box-shadow: none;
}
.home-page-body .home-hero-picture img { opacity: 1; object-position: center; }
.home-page-body .home-hero-shade {
    background: linear-gradient(90deg, #00291fe8 0%, #00291f8c 33%, #00291f20 70%, transparent 100%);
}
.home-page-body .home-hero-copy {
    width: 720px;
    max-width: 100%;
    padding: 0 0 38px 82px;
    text-shadow: none;
}
.home-page-body .home-hero h1 {
    width: 630px;
    max-width: 100%;
    font: 700 64px/1.12 Georgia, serif;
    letter-spacing: -.015em;
    text-wrap: initial;
    color: #faf7e9;
}
.home-page-body .home-hero-lead {
    max-width: 510px;
    margin-top: 24px;
    font-size: 20px;
    line-height: 1.4;
    color: #f5f4e9;
}
.home-page-body .home-hero-actions { margin-top: 28px; }
.home-page-body .home-button-primary {
    min-height: 54px;
    padding: 16px 24px;
    font-size: 15px;
    background: linear-gradient(110deg, #f1d579, #d1a83d);
    box-shadow: none;
}
.home-page-body .home-discover { gap: 30px; margin-top: -14px; }
.home-page-body .home-discover-header { margin: 4px 0 0; }
.home-page-body .home-discover-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    font: 700 56px/1.15 Georgia, serif;
    letter-spacing: 0;
    color: #faf7e9;
}
.home-page-body .home-discover-heading::before,
.home-page-body .home-discover-heading::after {
    content: '';
    width: 126px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--home-gold-light));
}
.home-page-body .home-discover-heading::after { transform: rotate(180deg); }
.home-page-body .home-discover-strapline {
    margin: 4px 0 0;
    font: italic 24px/1.3 Georgia, serif;
    letter-spacing: .025em;
    color: var(--home-gold-light);
}
.home-page-body .home-feature { border-color: var(--home-gold); border-radius: 18px; box-shadow: none; }
.home-page-body .home-card-art { aspect-ratio: 800 / 447; }
.home-page-body .home-card-art img { object-fit: contain; }
.home-page-body .home-feature:hover .home-card-art img { transform: none; }
.home-page-body .home-card-body {
    min-height: 154px;
    padding: 19px 24px;
    background: linear-gradient(120deg, #0b3c2bb3, #062d2199);
}
.home-page-body .home-card-body h3 { font: 700 26px/1.2 Georgia, serif; }
.home-page-body .home-card-body p { font-size: 13px; line-height: 1.5; margin: 9px 0 22px; }
.home-page-body .home-card-watermark { width: 82px; height: 82px; opacity: .15; }
.home-page-body .home-updates-grid .home-panel-section { box-shadow: none; background: var(--home-panel); }
.home-page-body .home-updates-grid .home-panel-title { font-family: Georgia, serif; }
.home-page-body .home-news-heading,
.home-page-body .home-event-title { font-family: Georgia, serif; }
.home-page-body .home-footer { border-top: 2px solid var(--home-gold); box-shadow: none; }
.home-page-body .home-footer-inner { display: grid; grid-template-columns: 66px minmax(0, 1fr); padding: 24px 0; }
.home-page-body .home-footer-crest { width: 66px; height: 66px; border: 0; background: transparent; }
.home-page-body .home-footer-content { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.home-page-body .home-footer-primary { justify-content: center; gap: 20px; }
.home-page-body .home-footer-location,
.home-page-body .home-footer-email,
.home-page-body .home-footer-contact { color: #e7ecdf; font-weight: 400; }
.home-page-body .home-footer-legal { font-size: 10px; }
@media (min-width: 961px) and (max-width: 1300px) {
    .home-page-body .home-header-inner { gap: 12px; }
    .home-page-body .home-brand-title { font-size: 20px; }
    .home-page-body .home-identity { gap: 10px; }
    .home-page-body .home-identity img { width: 58px; height: 58px; }
    .home-page-body .home-nav .nav-links > a,
    .home-page-body .home-nav .nav-item > summary { font-size: 11px; padding-inline: 6px; }
    .home-page-body .home-header-actions { margin-left: 0; }
    .home-page-body .home-nav .competition-app-link { font-size: 11px; padding-inline: 8px; }
}
@media (max-width: 960px) {
    .home-page-body .home-header-inner { gap: 10px; min-height: 90px; }
    .home-page-body .home-brand-title { font-size: 24px; }
    .home-page-body .home-nav { display: block; margin-top: 0; }
    .home-page-body .home-nav .dropdown { width: auto; margin-right: 12px; }
    .home-page-body .home-nav .nav-links > a,
    .home-page-body .home-nav .nav-item > summary { min-height: 44px; }
    .home-page-body .home-header-actions { margin-left: 0; }
    .home-page-body .home-hero-copy { padding-left: 40px; }
    .home-page-body .home-hero h1 { font-size: 54px; width: 310px; }
    .home-page-body .home-hero-lead { font-size: 18px; max-width: 460px; }
    .home-page-body .home-discover-heading { font-size: 44px; gap: 18px; }
    .home-page-body .home-discover-heading::before,
    .home-page-body .home-discover-heading::after { width: 70px; }
    .home-page-body .home-card-body { padding: 18px; }
    .home-page-body .home-card-body h3 { font-size: 22px; }
    .home-page-body .home-footer-content { grid-template-columns: 1fr; gap: 12px; }
    .home-page-body .home-footer-legal { text-align: center; }
}
@media (max-width: 680px) {
    .home-page-body .home-header-inner,
    .home-page-body .home-main,
    .home-page-body .home-footer-inner { width: calc(100% - 32px); }
    .home-page-body .home-identity img { width: 56px; height: 56px; }
    .home-page-body .home-brand-title { font-size: clamp(16px, 4vw, 23px); }
    .home-page-body .home-brand-subtitle { font-size: 8px; letter-spacing: .1em; }
    .home-page-body .home-main { padding-top: 18px; gap: 28px; }
    .home-page-body .home-hero { height: 480px; border-radius: 18px 18px 0 0; justify-content: flex-start; }
    .home-page-body .home-hero-copy { padding: 30px 22px 0; }
    .home-page-body .home-hero h1 { width: 250px; font-size: 44px; }
    .home-page-body .home-hero-lead { margin-top: 16px; font-size: 16px; max-width: 350px; }
    .home-page-body .home-hero-actions { margin-top: 20px; }
    .home-page-body .home-hero-picture img { object-position: center bottom; }
    .home-page-body .home-hero-shade { background: linear-gradient(180deg, #00291fd9, #00291f70 55%, #00291f15); }
    .home-page-body .home-discover-heading { font-size: 34px; gap: 12px; }
    .home-page-body .home-discover-heading::before,
    .home-page-body .home-discover-heading::after { width: 28px; flex-shrink: 0; }
    .home-page-body .home-discover-strapline { font-size: 21px; }
    .home-page-body .home-discover-grid { grid-template-columns: minmax(0, 1fr); }
    .home-page-body .home-card-body { padding: 20px 24px; }
    .home-page-body .home-footer-inner { grid-template-columns: 1fr; justify-items: center; }
    .home-page-body .home-footer-primary { flex-direction: row; gap: 14px; }
    .home-page-body .home-footer-vdiv { display: none; }
}

/* Compact the shared footer and raise the Discover section without changing the hero curve. */
.home-page-body .home-footer-inner { padding-block: 8px; }
.home-page-body .home-discover { margin-top: -26px; }
