:root {
    --sand-beige: #EFE9E1;
    --olive: #9EA793;
    --amber: #8A6F55;
    --warm-white: #FAF8F3;
    --gold: #C7A46A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--sand-beige);
    color: var(--amber);
    font-family: Georgia, serif;
    line-height: 1.6;
}

header {
    .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    flex-wrap: nowrap;
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1400px;
    margin: 0 auto;

    padding: 28px 60px;

    background-color: rgba(239, 233, 225, 0.94);
    backdrop-filter: blur(8px);
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: 52px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color .25s ease;
}

.main-nav a:hover {
    color: var(--olive);
}
}

main section {
    padding: 80px 60px;
}

footer {
    padding: 40px 60px;
    text-align: center;
}

#hero {
    min-height: 85vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background-color: var(--warm-white);
}

#hero h2 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 28px;
}

#hero p {
    max-width: 600px;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

#hero button {
    width: fit-content;

    padding: 15px 30px;

    border: none;

    background-color: var(--gold);

    color: white;

    cursor: pointer;
}
.content-section {
    min-height: 80vh;
    padding: 120px 60px;
    border-top: 1px solid rgba(138, 111, 85, 0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;

    background-color: var(--sand-beige);
}

.section-label {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.content-section h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    color: var(--amber);
    max-width: 520px;
}

.section-content {
    max-width: 720px;
    font-size: 1.15rem;
    color: var(--amber);
}

.section-content p {
    margin-bottom: 24px;
}

.closing-statement {
    margin-top: 48px;
    padding-left: 28px;
    border-left: 2px solid var(--gold);

    font-size: 1.35rem;
    line-height: 1.5;
}
.negative-section {
    min-height: 85vh;
    padding: 120px 60px;

    background-color: var(--warm-white);
    color: var(--amber);

    border-top: 1px solid rgba(138, 111, 85, 0.15);
}

.negative-section h2 {
    max-width: 760px;

    font-size: 3.6rem;
    line-height: 1.1;

    margin-bottom: 64px;
}

.negative-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;

    max-width: 1100px;
    margin-bottom: 80px;
}

.negative-grid span {
    padding: 28px 24px;

    border: 1px solid rgba(138, 111, 85, 0.22);

    background-color: var(--sand-beige);

    font-size: 1.05rem;
}

.negative-closing {
    max-width: 720px;

    font-size: 1.4rem;
    line-height: 1.5;

    padding-left: 28px;
    border-left: 2px solid var(--gold);
}

.method-section {
    background-color: var(--sand-beige);
    border-top: 1px solid rgba(138, 111, 85, 0.15);
}

.governance-section {
    background-color: var(--warm-white);
    border-top: 1px solid rgba(138, 111, 85, 0.15);
}

.concession-section {
    background-color: var(--sand-beige);
    border-top: 1px solid rgba(138, 111, 85, 0.15);
}

.access-section {
    background-color: var(--warm-white);
    border-top: 1px solid rgba(138, 111, 85, 0.15);
}

.contact-section {
    background-color: var(--sand-beige);
}

.contact-quote {
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    margin: 3rem 0;
    font-size: 1.4rem;
    line-height: 1.7;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 60px;
    padding: 0 40px;

    background: var(--gold);
    color: var(--warm-white);

    border: 1px solid var(--gold);
    text-decoration: none;

    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;

    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-button:hover {
    background: transparent;
    color: var(--gold);
}

.site-footer {
    padding: 72px 60px 56px;
    text-align: center;
    background-color: var(--amber);
    color: var(--warm-white);
}

.footer-brand img {
    height: 56px;
    width: auto;
    display: block;
    margin: 0 auto 12px;
}

.footer-motto {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    opacity: 0.85;
    margin-bottom: 2.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 36px;
}

.footer-contact span {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.75;
}

.footer-contact a {
    color: var(--warm-white);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
}

.footer-contact a:hover {
    color: var(--gold);
    opacity: 0.75;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-links a {
    color: var(--warm-white);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    opacity: 0.7;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.65;

}

.menu-toggle {
    display: none;

    background: transparent;
    border: 1px solid rgba(138, 111, 85, 0.35);

    color: var(--amber);

    padding: 10px 16px;

    font-family: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    cursor: pointer;
}

@media (max-width: 900px) {

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;

        padding: 22px 28px;

        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none !important;

        position: static;

        width: 100%;

        padding: 24px 0 0;

        background-color: transparent;

        border-top: 1px solid rgba(138, 111, 85, 0.15);
        border-bottom: 1px solid rgba(138, 111, 85, 0.15);

        z-index: 999;
    }

    .main-nav.is-open {
        display: flex !important;
        flex-direction: column;
        gap: 18px;
    }

    .main-nav a {
        display: block;
        font-size: 0.85rem;
    }

    #hero {
        min-height: 75vh;
        padding: 80px 28px;
    }

    #hero h2 {
        font-size: 3rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .content-section,
    .negative-section {
        min-height: auto;
        padding: 80px 28px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-section h2,
    .negative-section h2 {
        font-size: 2.6rem;
    }

    .section-content {
        font-size: 1rem;
    }

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

    .closing-statement,
    .negative-closing,
    .contact-quote {
        font-size: 1.15rem;
    }

    .site-footer {
        padding: 70px 28px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
.legal-page {
    background-color: var(--sand-beige);
    color: var(--amber);
}

.legal-hero {
    padding: 140px 60px 80px;
    background-color: var(--warm-white);
    border-bottom: 1px solid rgba(138, 111, 85, 0.15);
}

.legal-hero h1 {
    max-width: 900px;
    color: var(--amber);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 32px;
}

.legal-hero p {
    max-width: 860px;
    color: var(--amber);
    font-size: 1.25rem;
    line-height: 1.8;
}

.legal-content {
    max-width: 900px;
    background: var(--sand-beige);
    padding: 80px 60px 120px;
}

.legal-content h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 1.6rem;
}

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

.legal-content p {
    max-width: 860px;
    color: var(--amber);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 28px;
}

.legal-content a {
    color: var(--gold);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .legal-hero {
        padding: 100px 28px 70px;
    }

    .legal-hero h1 {
        font-size: 2.8rem;
    }

    .legal-hero p {
        font-size: 1.05rem;
    }

    .legal-content {
        padding: 70px 28px;
    }
}
.error-page {

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: var(--sand-beige);

    padding: 40px;
}

.error-container {

    max-width: 700px;

    text-align: center;
}

.error-container h1 {

    font-size: 4.5rem;

    margin: 20px 0;
}

.error-container p {

    font-size: 1.2rem;

    line-height: 1.8;

    margin-bottom: 40px;
}

@media (max-width: 900px) {

    .error-container h1 {

        font-size: 3rem;
    }

    .error-container p {

        font-size: 1rem;
    }
}
.audio-control {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 14px;

    background-color: rgba(250, 248, 243, 0.92);
    border: 1px solid rgba(138, 111, 85, 0.25);
    backdrop-filter: blur(8px);
}

.audio-control button {
    background: transparent;
    border: none;
    color: var(--amber);

    font-family: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    cursor: pointer;
}

.audio-control input {
    width: 90px;
}
.contact-form-section {
    padding: 100px 60px;
    background-color: var(--sand-beige);
}

.contact-form {
    max-width: 900px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;

    color: var(--amber);
}

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

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

.form-group label {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 16px 18px;

    background-color: var(--warm-white);

    border: 1px solid rgba(138, 111, 85, 0.25);

    color: var(--amber);

    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-feedback {
    display: none;

    grid-column: 1 / -1;

    margin-top: 24px;

    color: var(--amber);
    font-size: 1.05rem;
}

.form-feedback.is-visible {
    display: block;
}

@media (max-width: 900px) {
    .contact-form-section {
        padding: 70px 28px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}
.form-notice {
    color: var(--amber);
    font-size: 0.95rem;
    line-height: 1.7;
}

.form-notice a {
    color: var(--gold);
    text-decoration: none;
}

.form-notice a:hover {
    text-decoration: underline;
}
.hero-lockup {
    width: min(500px, 90%);
    height: auto;
    display: block;
    margin-bottom: 40px;
}
.form-intro {
    max-width: 820px;
    color: var(--amber);
    font-size: 1rem;
    line-height: 1.8;
}

.checkbox-group {
    gap: 18px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: normal;
    text-transform: none;
}

.checkbox-group input {
    width: auto;
    margin-top: 6px;
}

.spam-protection {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.access-window-message {
    max-width: 820px;
    margin: 0 auto 48px;
    padding: 32px;

    border: 1px solid rgba(199, 164, 106, 0.35);
    background: rgba(250, 248, 243, 0.65);

    text-align: center;
}

.access-window-message p {
    color: var(--amber);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.access-window-message .hero-button {
    display: inline-block;
    margin-top: 20px;
}

.form-is-hidden {
    display: none !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
}

.secondary-button {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.secondary-button:hover {
    background: var(--gold);
    color: var(--warm-white);
}

.footer-inner {
    max-width: 920px;
    margin: 0 auto;
}

.footer-tagline {
    color: var(--warm-white);
    letter-spacing: 0.18em;
    font-size: 0.9rem;
    margin-bottom: 36px;
}

.footer-contact p {
    color: var(--warm-white);
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 18px 0 8px;
}

.footer-legal {
    max-width: 760px;
    margin: 0 auto 32px;
}

.footer-legal p {
    color: rgba(250, 248, 243, 0.82);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-copy {
    color: rgba(250, 248, 243, 0.75);
    font-size: 0.85rem;
}

/* Final responsive and audio safety adjustments */

body {
    padding-bottom: 96px;
}

.audio-control {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 3000;
}

@media (max-width: 900px) {
    body {
        padding-bottom: 120px;
    }

    .site-header {
        padding: 14px 24px;
    }

    .brand img {
        height: 34px;
    }

    .main-nav {
        width: 100%;
    }

    main section,
    .legal-hero,
    .legal-content {
        padding-left: 28px;
        padding-right: 28px;
    }

    #hero {
        padding-top: 120px;
    }

    .hero-lockup {
        width: min(420px, 100%);
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero-button,
    .secondary-button {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

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

    .form-group,
    .form-group.full-width {
        grid-column: 1;
    }

    .site-footer {
        padding: 64px 28px 72px;
    }

    .footer-links {
        flex-direction: column;
        gap: 18px;
    }

    .footer-brand img {
        height: 44px;
    }

    .footer-tagline {
        font-size: 0.75rem;
        line-height: 1.7;
    }

    .footer-legal p {
        font-size: 0.78rem;
    }

    .audio-control {
        right: 16px;
        bottom: 16px;
        max-width: calc(100vw - 32px);
        transform: scale(0.92);
        transform-origin: bottom right;
    }
}

@media (max-width: 520px) {
    .hero-lockup {
        width: min(340px, 100%);
    }

    .legal-hero h1 {
        font-size: 2.4rem;
    }

    .legal-hero p,
    .legal-content p {
        font-size: 1rem;
    }

    .access-window-message {
        padding: 24px 18px;
    }

    .audio-control {
        right: 12px;
        bottom: 12px;
        transform: scale(0.85);
    }
}

/* Final audio control positioning - no content overlap */

body {
    padding-bottom: 0;
}

.audio-control {
    position: static !important;
    width: fit-content;
    max-width: calc(100% - 40px);
    margin: 40px auto 0;
    z-index: 1;
    transform: none !important;
}

@media (max-width: 900px) {
    body {
        padding-bottom: 0;
    }

    .audio-control {
        position: static !important;
        width: calc(100% - 56px);
        max-width: 360px;
        margin: 32px auto 0;
        transform: none !important;
    }
}

@media (max-width: 520px) {
    .audio-control {
        width: calc(100% - 40px);
        margin: 28px auto 0;
    }
}

.contact-form .hero-button {
    width: fit-content;
    min-width: 360px;
    justify-self: center;
}

.contact-form button[type="submit"] {
    grid-column: 1 / -1;
}

/* Landscape header correction */

@media (orientation: landscape) and (max-height: 560px) {
    .site-header {
        background: var(--warm-white) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid rgba(199, 164, 106, 0.25);
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .brand img {
        height: 36px;
    }

    .main-nav {
        background: var(--warm-white) !important;
    }

    .main-nav.is-open {
        background: var(--warm-white) !important;
    }
}

/* Prevent visited menu links from changing colour */

.main-nav a,
.main-nav a:visited,
.main-nav a:focus,
.main-nav a:active {
    color: var(--gold);
}

.main-nav a:hover {
    color: var(--gold);
}

/* Mobile menu opaque overlay fix */

@media (max-width: 900px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;

        background: var(--sand-beige) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;

        z-index: 5000;
        border-bottom: 1px solid rgba(138, 111, 85, 0.16);
    }

    .brand {
        background: var(--sand-beige);
    }

    .menu-toggle {
        background: var(--sand-beige);
        z-index: 5002;
    }

    .main-nav {
        background: var(--sand-beige) !important;
    }

    .main-nav.is-open {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;

        width: 100%;
        padding: 32px 0 24px;

        background: var(--sand-beige) !important;
        z-index: 5001;

        border-top: 1px solid rgba(138, 111, 85, 0.14);
        border-bottom: 1px solid rgba(138, 111, 85, 0.14);
    }

    .main-nav.is-open a,
    .main-nav.is-open a:visited,
    .main-nav.is-open a:focus,
    .main-nav.is-open a:active {
        color: var(--gold);
        background: transparent;
    }

    main {
        position: relative;
        z-index: 1;
    }
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #2B2522;
    color: #FAF8F3;
    padding: 10px 16px;
    z-index: 1000;
}

.skip-link:focus {
    left: 8px;
    top: 8px;
}