/* ==================================================
   GLOBAL DESIGN SYSTEM

   Colours sampled from the supplied reference images.
   Font family is provisional until confirmed in Figma.
================================================== */

:root {
    --orange: #f96801;
    --orange-hover: #d95500;

    --charcoal: #2c2c2a;
    --paper: #ffffff;
    --light: #f4f4f3;

    --ink: #40403c;
    --body: #797975;
    --on-dark: #c2c2ba;

    --line: #d8d8d4;
    --dark-line: #54544e;

    --font-body: Arial, Helvetica, sans-serif;
    --font-heading: Arial, Helvetica, sans-serif;

    --content-width: 1280px;
    --section-space: clamp(64px, 7vw, 110px);
}


/* ==================================================
   RESET AND BASE STYLES
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--body);
    background: var(--paper);
    font: 400 15px/1.75 var(--font-body);
    -webkit-font-smoothing: antialiased;
}

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

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: 0.65;
}

input,
textarea,
select {
    min-width: 0;
}

textarea {
    resize: vertical;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 5px;
}

::selection {
    color: #fff;
    background: var(--orange);
}


/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.055em;
}

h1 {
    font-size: clamp(36px, 4.3vw, 60px);
}

h2 {
    font-size: clamp(30px, 3vw, 42px);
}

h3 {
    font-size: 22px;
    letter-spacing: -0.025em;
}

p {
    margin: 0 0 20px;
}

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

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


/* ==================================================
   CONTAINERS AND SECTIONS
================================================== */

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

.section {
    padding-block: var(--section-space);
}

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

.section--dark {
    color: var(--on-dark);
    background: var(--charcoal);
}

.section--dark :is(h1, h2, h3, h4) {
    color: #fff;
}


/* ==================================================
   SECTION HEADINGS
================================================== */

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 44px;
}

.section-heading > div {
    max-width: 740px;
}

.section-heading h2 + p {
    max-width: 620px;
    margin-top: 20px;
}

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

.section-heading .eyebrow,
.page-intro .eyebrow {
    color: var(--body);
}


/* ==================================================
   BUTTONS
================================================== */

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

    padding: 14px 22px;
    min-height: 46px;

    border: 1px solid var(--orange);
    border-radius: 0;

    background: var(--orange);
    color: #fff;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    text-align: center;

    transition:
        background 0.2s,
        border-color 0.2s;
}

.button > span {
    display: none;
}

.button:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
}

.button--secondary {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: #fff;
}

.button--secondary:hover {
    background: #151514;
    border-color: #151514;
}

.section--dark .button--secondary {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.section--dark .button--secondary:hover {
    background: #e6e6e0;
    border-color: #e6e6e0;
}

.button--full {
    width: 100%;
}

.button-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}


/* ==================================================
   TEXT LINKS
================================================== */

.text-link {
    display: inline-flex;
    gap: 20px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
}

.text-link:hover {
    color: var(--orange);
    border-color: var(--orange);
}


/* ==================================================
   SKIP LINK
================================================== */

.skip-link {
    position: fixed;
    top: -100px;
    left: 18px;
    z-index: 100;

    padding: 12px 20px;

    background: #fff;
    color: var(--ink);
}

.skip-link:focus {
    top: 12px;
}


/* ==================================================
   HEADER
================================================== */

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

    background: #fff;
    border-bottom: 1px solid #ededeb;
}

.header-width {
    width: min(1440px, calc(100% - 48px));
    margin-inline: auto;
}

/* ==================================================
   HEADER CONTACT STRIP
================================================== */

.contact-strip {
    background: var(--orange);
    color: #fff;
}

.contact-strip .header-width {
    display: flex;
    align-items: center;
    gap: 28px;

    min-height: 30px;
    padding-block: 6px;

    font-size: 11px;
    line-height: 1.45;
}

.contact-strip a {
    font-weight: 600;
}

.strip-tagline {
    margin-left: auto;
    text-align: right;
}

/* ==================================================
   HEADER LOGO AND NAVIGATION
================================================== */

.navigation-row {
    display: flex;
    align-items: center;
    gap: 44px;

    min-height: 82px;
    padding-block: 12px;
}

.brand {
    flex-shrink: 0;
}

.brand img {
    width: 84px;
    height: 52px;
    object-fit: contain;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-navigation a {
    padding-block: 10px;
    color: var(--ink);
    font-size: 12px;
}

.main-navigation a:hover,
.main-navigation a[aria-current] {
    color: var(--orange);
}

.header-quote {
    margin-left: auto;
    min-height: 42px;
    padding: 12px 20px;
}

.menu-toggle {
    display: none;
}


/* ==================================================
   ENQUIRY PANELS
================================================== */

.enquiry-panel,
.contact-form-panel {
    background: var(--charcoal);
    color: var(--on-dark);
}

.enquiry-panel h2,
.contact-form-panel h2 {
    color: #fff;
    font-size: 27px;
    letter-spacing: -0.04em;
}

.enquiry-panel > p {
    font-size: 13px;
    line-height: 1.65;
}

/* ==================================================
   ENQUIRY FORM
================================================== */
.enquiry-form {
    margin-top: 26px;
}

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

.field {
    min-width: 0;
}

.field--wide {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #c2c2bb;
    font-size: 11px;
}

.field :is(input, textarea, select) {
    display: block;
    width: 100%;
    padding: 10px 12px;

    border: 1px solid #66665e;
    border-radius: 0;

    color: #fff;
    background: transparent;

    font-size: 14px;
    line-height: 1.5;
}

.field :is(input, select) {
    min-height: 44px;
}

.field select option {
    background: var(--charcoal);
    color: #fff;
}

.field textarea {
    min-height: 85px;
}

.field :is(input, textarea, select):focus {
    border-color: #fff;
}

.form-note {
    margin-top: 12px;
    text-align: center;
    font-size: 11px;
}

.form-status:not(:empty) {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid var(--dark-line);
    font-size: 14px;
    color: #fff;
}

/* ==================================================
   FAQ ACCORDION
================================================== */
.accordion {
    border-bottom: 1px solid var(--line);
}

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

.accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding: 23px 0;

    color: var(--ink);
    font-size: 17px;
    line-height: 1.45;

    cursor: pointer;
    list-style: none;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary:hover {
    color: var(--orange);
}

.accordion-symbol {
    position: relative;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
}

.accordion-symbol::before,
.accordion-symbol::after {
    content: "";

    position: absolute;
    top: 5px;
    left: 0;

    width: 12px;
    height: 1px;

    background: currentColor;
}

.accordion-symbol::after {
    transform: rotate(90deg);
}

.accordion details[open] .accordion-symbol::after {
    transform: none;
}

.accordion-answer {
    padding: 0 28px 24px 0;
    font-size: 14px;
}

/* ==================================================
   BRAND STRIP
================================================== */

.brand-section {
    padding-block: 36px;
    background: #fff;
}

.brand-section p {
    text-align: center;
    margin-bottom: 28px;
    font-size: 13px;
    color: var(--ink);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    gap: 32px;
}

.brand-grid img {
    width: 100%;
    height: 55px;
    object-fit: contain;
}

/* ==================================================
   CALL TO ACTION
================================================== */

.cta-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.cta-layout > div:first-child {
    max-width: 700px;
}

.cta-layout h2 {
    max-width: 620px;
}

.cta-layout p {
    max-width: 560px;
    margin-top: 20px;
}

.cta-layout .button-group {
    flex-shrink: 0;
}

/* ==================================================
   CALL TO ACTION
================================================== */

.home-cta {
    padding: 75px 0;
    color: #fff;
    text-align: center;

    background-color: var(--charcoal);
    background-image:
        linear-gradient(
            rgba(22, 22, 20, 0.65),
            rgba(22, 22, 20, 0.65)
        ),
        url("images/CTA_background.webp");

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

.home-cta h2 {
    margin-bottom: 20px;
    color: #fff;
}

.home-cta p {
    margin: 0 0 28px;
    color: #deded7;
    font-size: 17px;
    line-height: 1.6;
}

.home-cta .button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.home-cta .button {
    min-width: 170px;
    justify-content: center;
    text-align: center;
}

.home-cta .button--secondary {
    color: var(--ink);
    background: #fff;
    border-color: #fff;
}

.home-cta .button--secondary:hover {
    background: #e9e9e5;
    border-color: #e9e9e5;
}

/* CALL TO ACTION — MOBILE*/

@media (max-width: 760px) {

    .home-cta {
        padding: 55px 0;
    }

    .home-cta p {
        font-size: 15px;
    }
}

/* ==================================================
   FOOTER LAYOUT
================================================== */

.site-footer {
    color: #aeaea6;
    background: var(--charcoal);
    border-top: 1px solid var(--dark-line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 80px;
    padding-block: 55px;
}

/* ==================================================
   FOOTER COMPANY DETAILS
================================================== */

.footer-logo {
    width: 100px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 22px;
}

.footer-company p {
    max-width: 350px;
    font-size: 13px;
}

.footer-company > a {
    display: block;
    width: fit-content;
    margin-top: 8px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

/* ==================================================
   FOOTER HEADINGS AND LINKS
================================================== */
.footer-grid h2 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.footer-links li,
.footer-licences li {
    margin-bottom: 10px;
    font-size: 13px;
}

.site-footer a:hover {
    color: #fff;
}

/* ==================================================
   FOOTER BOTTOM
================================================== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;

    border-top: 1px solid var(--dark-line);
    padding-block: 22px;

    font-size: 11px;
}

.footer-bottom p {
    margin: 0;
}

/* ==================================================
   TABLET
================================================== */
@media (max-width: 1100px) {

    .container {
        width: calc(100% - 64px);
    }

    .cta-layout {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .footer-grid {
        gap: 40px;
    }
}

/* ==================================================
   MOBILE
================================================== */
@media (max-width: 760px) {

    /* BASE LAYOUT */

    html {
        scroll-padding-top: 125px;
    }

    .container {
        width: calc(100% - 40px);
    }

    .header-width {
        width: calc(100% - 32px);
    }

/* CONTACT STRIP */
    .strip-tagline {
        display: none;
    }

    .strip-hours {
        margin-left: auto;
        font-size: 10px;
    }

    .contact-strip .header-width {
        gap: 10px;
        font-size: 11px;
    }


/* HEADER AND LOGO */
    .navigation-row {
        min-height: 74px;
        flex-wrap: wrap;
        gap: 16px;
        padding-block: 10px;
    }

    .brand img {
        width: 72px;
        height: 48px;
    }


/* MOBILE MENU BUTTON */
    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 9px;

        margin-left: auto;
        padding: 11px 0 11px 8px;

        border: 0;
        background: transparent;
        color: var(--ink);

        font-size: 12px;
    }

    .menu-lines {
        position: relative;
        width: 17px;
        height: 11px;
        border-top: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
    }

    .menu-lines::after {
        content: "";

        position: absolute;
        left: 0;
        top: 4px;

        width: 17px;
        border-top: 1px solid currentColor;
    }

/* MOBILE NAVIGATION */

    .main-navigation {
        display: none;
        flex: 0 0 100%;
        order: 5;
        align-items: stretch;
        gap: 0;
        padding-bottom: 8px;
    }

    .main-navigation.is-open {
        display: flex;
        flex-direction: column;
    }

    .main-navigation a {
        padding: 14px 0;
        border-top: 1px solid var(--line);
        font-size: 14px;
    }

    .header-quote {
        margin-left: 0;
        min-height: 40px;
        padding: 10px 14px;
        font-size: 11px;
    }


/* SECTION HEADINGS */
    .section-heading {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
    }

    .section-heading h2 + p {
        margin-top: 16px;
    }


/* BRAND STRIP */
    .brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

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


/* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-block: 42px;
    }

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


/* FORMS AND ACCORDION */
    .form-grid {
        gap: 20px 16px;
    }

    .accordion summary {
        font-size: 16px;
    }


/* CALL TO ACTION */
    .cta-layout .button-group {
        width: 100%;
    }

    .cta-layout .button-group .button {
        flex: 1 1 180px;
    }
}

/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 360px) {

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

    .header-quote {
        padding-inline: 10px;
    }
}

/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

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

}

/* ==================================================
   BUTTON TEXT AND ARROWS
================================================== */

.button {
    justify-content: center;
    text-align: center;
    gap: 0;
}

.button > span[aria-hidden="true"] {
    display: none;
}