:root {
    --navy: #071b33;
    --navy-soft: #102b4b;
    --gold: #b5964a;
    --gold-dark: #806727;
    --text: #17202a;
    --muted: #66717c;
    --border: #d8c89e;
    --surface: #f7f6f2;
    --white: #ffffff;
    --content-width: 1240px;
    --narrow-width: 820px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: var(--navy);
    text-decoration-color: var(--gold);
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--gold-dark);
}

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

button {
    min-height: 46px;
    padding: 10px 20px;
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--gold);
    cursor: pointer;
    font-weight: 700;
}

button:hover {
    background: var(--navy-soft);
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 12px;
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
}

.container {
    width: min(
        calc(100% - 40px),
        var(--content-width)
    );
    margin-inline: auto;
}

.narrow {
    width: min(
        100%,
        var(--narrow-width)
    );
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--gold);
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gold);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 106px;
    gap: 36px;
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-name {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(
        1.55rem,
        2.5vw,
        2.25rem
    );
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.brand-endorsement {
    margin-top: 7px;
    color: var(--gold-dark);
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 21px;
}

.main-navigation a {
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

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

.hero {
    padding: clamp(
        80px,
        11vw,
        150px
    ) 0;
    background: var(--navy);
    color: var(--white);
    border-bottom: 1px solid var(--gold);
}

.hero-inner {
    max-width: 960px;
}

.hero h1,
.page-header h1,
.article-header h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(
        3.2rem,
        8vw,
        7.2rem
    );
}

.hero-strapline {
    max-width: 760px;
    margin: 30px 0 0;
    color: #f2ead8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(
        1.25rem,
        2vw,
        1.65rem
    );
}

.hero-introduction {
    max-width: 780px;
    margin-top: 32px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-header,
.article-header {
    padding: clamp(
        64px,
        9vw,
        116px
    ) 0;
    background: var(--navy);
    color: var(--white);
    border-bottom: 1px solid var(--gold);
}

.page-header h1,
.article-header h1 {
    max-width: 1000px;
    font-size: clamp(
        2.6rem,
        6vw,
        5.6rem
    );
}

.page-introduction {
    max-width: 850px;
    margin-top: 28px;
    color: #f2ead8;
}

.lead {
    max-width: 850px;
    margin: 28px 0 0;
    color: #f2ead8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(
        1.18rem,
        2vw,
        1.55rem
    );
}

.article-date {
    margin-top: 22px;
    color: #d8dce2;
    font-size: 0.9rem;
}

.section {
    padding: clamp(
        62px,
        8vw,
        104px
    ) 0;
}

.section-muted {
    background: var(--surface);
    border-block: 1px solid #e5dcc6;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(
        2rem,
        4vw,
        3.4rem
    );
    font-weight: 400;
    line-height: 1.12;
}

.text-link {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

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

.card {
    min-height: 250px;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
}

.card h2,
.card h3 {
    margin: 8px 0 16px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.25;
}

.card h2 a,
.card h3 a {
    text-decoration: none;
}

.card p:last-child {
    margin-bottom: 0;
}

.card-meta {
    margin: 0;
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.empty-state {
    color: var(--muted);
    font-style: italic;
}

.content-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        330px;
    gap: clamp(
        50px,
        8vw,
        110px
    );
    align-items: start;
}

.facts-panel {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.facts-panel h2 {
    margin-top: 0;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 400;
}

.facts-panel p {
    padding-bottom: 16px;
    border-bottom: 1px solid #ded5bf;
}

.facts-panel p:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.company-logo {
    margin-bottom: 24px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
}

.hero-image {
    padding-top: 36px;
}

.rich-text {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
}

.rich-text h2,
.rich-text h3 {
    margin: 2.2em 0 0.7em;
    color: var(--navy);
    font-weight: 400;
    line-height: 1.2;
}

.rich-text h2 {
    font-size: 2rem;
}

.rich-text h3 {
    font-size: 1.55rem;
}

.rich-text p {
    margin: 0 0 1.35em;
}

.article-body > p:first-child {
    font-size: 1.25rem;
}

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

.image-grid figure {
    margin: 0;
}

.image-grid figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
}

.filter-form {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 38px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.filter-form > div {
    min-width: 210px;
    flex: 1;
}

.filter-form label,
.search-form label,
.form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 700;
}

.search-form {
    max-width: 760px;
}

.search-row {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 12px;
}

.results-heading {
    margin-top: 60px;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
}

.enquiry-form {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.form-field {
    margin-bottom: 22px;
}

.help-text {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.field-error {
    margin: 5px 0 0;
    color: #8d1c1c;
    font-size: 0.9rem;
    font-weight: 700;
}

.success-message {
    margin-bottom: 26px;
    padding: 18px 20px;
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--gold);
    font-weight: 700;
}

.site-footer {
    padding: 54px 0;
    background: var(--navy);
    color: #d8dce2;
    border-top: 1px solid var(--gold);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    margin: 0 0 12px;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
}

@media (max-width: 980px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 24px;
    }

    .main-navigation {
        justify-content: flex-start;
    }

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

    .content-layout {
        grid-template-columns: 1fr;
    }

    .facts-panel {
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(
            calc(100% - 28px),
            var(--content-width)
        );
    }

    .main-navigation {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .card-grid,
    .footer-grid,
    .image-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .card {
        min-height: 0;
    }

    .search-row {
        grid-template-columns: 1fr;
    }
}
