/* ==================================================
   COLOURS AND BASE STYLES
================================================== */
:root {
    --ink: #202521;
    --body: #59605b;
    --accent: #cbf705;
    --accent-dark: #466000;
    --light: #f2f2ec;
    --line: #d9ddd5;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}

h1, h2, h3, p {
    margin: 0;
}

h1, h2, h3 {
    line-height: 1.12;
}

h1 {
    font-size: clamp(36px, 4.8vw, 66px);
    font-weight: 500;
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(30px, 3.1vw, 43px);
    font-weight: 500;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

p {
    color: var(--body);
}

p + p {
    margin-top: 18px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button, input, textarea, select {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 5px;
}

.container {
    width: min(1240px, calc(100% - 96px));
    margin-inline: auto;
}

.section {
    padding: 88px 0;
}

.section--light {
    background: var(--light);
}

.section--dark {
    background: var(--ink);
    color: var(--white);
}

.section--dark p {
    color: #ccd1ca;
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin-bottom: 22px;
}

.lead {
    font-size: 18px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 13px 23px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background: #b8df05;
    transform: translateY(-2px);
}

.button--outline {
    border-color: currentColor;
    background: transparent;
    color: var(--white);
}

.button--outline:hover {
    color: var(--ink);
    background: var(--white);
}

.text-link {
    display: inline-block;
    margin-top: 22px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 700;
}

.text-link:hover {
    color: var(--accent-dark);
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    padding: 10px 18px;
    background: var(--white);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* ==================================================
   HEADER AND NAVIGATION
================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.contact-strip {
    background: var(--ink);
    color: #e0e5dd;
    font-size: 11px;
}

.contact-strip .container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-block: 8px;
}

.contact-strip a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.navigation-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 94px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.09em;
}

.brand-mark > span {
    color: var(--accent-dark);
}

.brand-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-name small {
    display: block;
    margin-top: 3px;
    font-size: 7px;
    letter-spacing: 0.12em;
    color: var(--body);
}

.desktop-navigation {
    display: flex;
    gap: 26px;
    font-size: 13px;
}

.desktop-navigation a {
    padding-block: 8px;
}

nav a[aria-current='page'] {
    color: var(--accent-dark);
}

.mobile-menu {
    display: none;
}

/* ==================================================
   REGION CARDS AND SUBURBS
================================================== */
.area-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.area-card {
    padding: 30px;
    min-width: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.card-label {
    margin-bottom: 28px;
    color: var(--accent);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.area-card h3 {
    margin-bottom: 17px;
}

.area-card > p:not(.card-label) {
    font-size: 14px;
    min-height: 70px;
}

.area-card .text-link {
    padding: 8px 12px;
    border: 2px solid transparent;
    color: #000;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.area-card .text-link:hover,
.area-card .text-link:focus-visible {
    border-color: var(--accent);
    background-color: var(--accent);
    color: #000;
}

.suburb-details {
    margin-top: 26px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.suburb-details summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.suburb-details summary:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.suburb-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 14px;
    padding: 17px 0 0;
    margin: 0;
    list-style: none;
    font-size: 12px;
    color: var(--body);
    max-height: 250px;
    overflow: auto;
}

/* ==================================================
   SHARED CONTENT AND FAQ
================================================== */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.split-grid h2 {
    margin-bottom: 26px;
}

.split-grid .button {
    margin-top: 28px;
}

.feature-photo {
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
}

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

.related-grid article {
    border-top: 1px solid var(--line);
    padding-top: 26px;
}

.related-grid h3 {
    margin-bottom: 20px;
}

.related-grid p {
    font-size: 15px;
}

.section--dark .related-grid article {
    border-color: #525951;
}

.section--dark .text-link:hover {
    color: var(--accent);
}

.accordion details {
    border-top: 1px solid var(--line);
}

.accordion details:last-child {
    border-bottom: 1px solid var(--line);
}

.accordion summary {
    cursor: pointer;
    padding: 22px 27px 22px 0;
    font-size: 16px;
    font-weight: 500;
}

.accordion-answer {
    padding: 0 20px 25px 0;
    font-size: 15px;
}

.accordion details[open] summary {
    color: var(--accent-dark);
}

.accordion summary::marker {
    color: var(--accent);
}

.accordion summary::-webkit-details-marker {
    color: var(--accent);
}

/* ==================================================
   SHARED CALL TO ACTION
================================================== */
.site-cta {
    padding: 78px 0;
    color: var(--white);
    text-align: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(22, 28, 23, 0.88),
            rgba(22, 28, 23, 0.72)
        ),
        url("images/Image_Stock_5.webp");

    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
}

.site-cta .eyebrow {
    color: #e3e6df;
}

.site-cta h2 {
    margin-bottom: 20px;
}

.site-cta p {
    color: #e3e6df;
}

.site-cta .button-group {
    justify-content: center;
}

/* ==================================================
   FOOTER
================================================== */
.site-footer {
    background: var(--ink);
    color: #e3e6df;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.8fr 1fr;
    gap: 65px;
    padding-block: 58px;
}

.footer-brand {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.footer-grid p {
    max-width: 350px;
    margin: 20px 0;
    color: #c0c7bd;
    font-size: 13px;
}

.footer-grid a {
    overflow-wrap: anywhere;
    font-size: 13px;
}

.footer-grid h2 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid li {
    margin-bottom: 9px;
}

.site-footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 20px;
    border-top: 1px solid #525951;
    font-size: 11px;
}

.footer-bottom p {
    color: #c0c7bd;
    margin: 0;
}

/* ==================================================
   TABLET AND MOBILE
================================================== */
@media (max-width: 1100px) {
    .header-button {
        display: none;
    }

    .navigation-row {
        min-height: 80px;
    }

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

    .split-grid {
        gap: 40px;
    }

}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 40px);
    }

    .section {
        padding: 58px 0;
    }

    .desktop-navigation {
        display: none;
    }

    .brand-name {
        font-size: 11px;
    }

    .brand-name small {
        font-size: 6px;
    }

    .brand-mark {
        font-size: 30px;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu > summary {
        cursor: pointer;
        font-size: 13px;
    }

    .mobile-menu nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: grid;
        padding: 15px 20px 24px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 20px #00000012;
    }

    .mobile-menu nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    .contact-strip {
        font-size: 9px;
    }

    .area-grid, .split-grid, .related-grid, .footer-grid {
        grid-template-columns: 1fr;
    }

    .area-card {
        padding: 26px;
    }

    .area-card > p:not(.card-label) {
        min-height: 0;
    }

    .related-grid, .split-grid {
        gap: 35px;
    }

    .footer-grid {
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .site-cta {
        padding: 58px 0;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition: none !important;
    }

}

