/* Inner-page layouts. Load after style.css and home.css. */
.hub-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.hub-service {
    display: flex;
    gap: 24px;
    padding: 30px;
    border: 1px solid #ded8cc;
}

.hub-service:hover {
    border-color: #a8732d;
    background: #fbfaf7;
}

.hub-letter {
    flex: 0 0 58px;
    height: 65px;
    display: grid;
    place-items: center;
    color: #81551f;
    background: #eee5d7;
    border-bottom: 3px solid #bc8c48;
    font-size: 2.6rem;
    font-weight: 800;
}

.hub-service p {
    color: #555d61;
}

@media(max-width:680px) {
    .hub-services {
        grid-template-columns: 1fr;
    }

    .hub-service {
        padding: 24px 18px;
        gap: 18px;
    }

    .hub-letter {
        flex-basis: 44px;
        height: 50px;
        font-size: 2rem;
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-aside>p {
    color: #555d61;
}

.contact-aside h3 {
    margin-top: 30px;
}

.contact-direct {
    display: grid;
    gap: 14px;
    margin: 28px 0;
}

.contact-direct a {
    color: #81551f;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.project-enquiry-form {
    padding: 34px;
    border: 1px solid #ded8cc;
    border-top: 3px solid #bc8c48;
}

.home-page .project-enquiry-form h2 {
    font-size: 1.8rem;
}

.project-enquiry-form fieldset {
    border: 0;
    padding: 0;
    margin: 28px 0;
    min-width: 0;
}

.project-enquiry-form legend {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0;
    margin-bottom: 18px;
}

.enquiry-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.enquiry-field {
    min-width: 0;
}

.enquiry-field label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.enquiry-field input,
.enquiry-field select,
.enquiry-field textarea {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    border: 1px solid #aab0b3;
    border-radius: 2px;
    background: #fff;
    color: #25282a;
    padding: 11px 12px;
    font: inherit;
}

.enquiry-field select {
    padding-right: 30px;
}

.enquiry-field textarea {
    resize: vertical;
}

.enquiry-full {
    grid-column: 1/-1;
}

.home-page .field-hint,
.home-page .form-privacy,
.home-page .form-demo-notice,
.home-page .field-error {
    font-size: .875rem;
}

.home-page .field-hint {
    color: #555d61;
    margin: 0 0 10px;
}

.field-error {
    color: #a32020;
    margin: 7px 0 0;
}

.field-error:empty {
    display: none;
}

.enquiry-field [aria-invalid="true"] {
    border: 2px solid #a32020;
}

.form-error-summary {
    background: #fff2f0;
    border-left: 3px solid #a32020;
    padding: 16px;
}

.form-demo-notice {
    background: #f4ecdE;
    border-left: 3px solid #bc8c48;
    padding: 14px;
}

.form-demo-notice[hidden],
.form-error-summary[hidden] {
    display: none;
}

.form-privacy {
    color: #555d61;
}

.form-privacy a {
    text-decoration: underline;
    color: #81551f;
}

.project-enquiry-form button:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.enquiry-status:not(:empty) {
    padding: 16px;
    background: #f4f2ee;
    border-left: 3px solid #bc8c48;
}

.enquiry-status[data-state="error"] {
    color: #8c2020;
    border-color: #a32020;
}

@media(max-width:900px) {
    .contact-layout {
        gap: 30px;
        grid-template-columns: 1fr 1.25fr;
    }

    .enquiry-fields {
        grid-template-columns: 1fr;
    }
}

@media(max-width:680px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .project-enquiry-form {
        padding: 24px 18px;
    }
}

.page-intro-grid img.service-image-contain {
    object-fit: contain;
    background: #242a2e;
}

.service-scope {
    background: #f4f2ee;
    padding: 30px;
    border-top: 3px solid #bc8c48;
}

.service-scope .page-bullets {
    margin-bottom: 20px;
}

.home-page .scope-note {
    font-size: .875rem;
    color: #555d61;
}

.related-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.related-services>a {
    padding: 25px;
    border: 1px solid #ded8cc;
}

.related-services>a:hover {
    border-color: #a8732d;
}

.related-services p {
    color: #555d61;
}

@media(max-width:680px) {
    .related-services {
        grid-template-columns: 1fr;
    }

    .service-scope {
        padding: 24px;
    }
}

.home-page .main-nav a[aria-current="page"] {
    color: #dfb675;
    opacity: 1;
}

.build-stages {
    list-style: none;
    margin: 0;
    padding: 0;
}

.build-stages>li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 40px;
    padding: 0 0 44px;
    margin-bottom: 44px;
    border-bottom: 1px solid #d5cbbb;
}

.build-stages>li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: 0;
}

.build-stage-marker>span {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    background: #e8dcc9;
    border-bottom: 3px solid #bc8c48;
    color: #81551f;
    font-size: 2.7rem;
    font-weight: 800;
}

.build-stage-marker small {
    display: block;
    font-size: .875rem;
    margin-top: 10px;
    color: #555d61;
}

.home-page .build-stages h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 10px;
}

.build-stages article>p {
    color: #555d61;
    max-width: 850px;
}

.home-page .build-stages .stage-lead {
    color: #25282a;
    font-weight: 600;
}

.stage-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 24px 0 0;
}

.stage-details>div {
    border-left: 2px solid #bc8c48;
    padding-left: 18px;
}

.stage-details dt {
    font-weight: 700;
    margin-bottom: 7px;
}

.stage-details dd {
    margin: 0;
    color: #555d61;
}

.faq-hub {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 65px;
    align-items: start;
}

.faq-topic {
    margin-bottom: 56px;
}

.faq-topic:last-child {
    margin-bottom: 0;
}

.faq-topic>p {
    color: #555d61;
}

.faq-topic .accordion {
    margin-top: 26px;
}

.faq-topic .accordion p a {
    color: #81551f;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media(max-width:900px) {
    .faq-hub {
        grid-template-columns: 220px 1fr;
        gap: 32px;
    }
}

@media(max-width:680px) {
    .build-stages>li {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .build-stage-marker {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .build-stage-marker>span {
        width: 54px;
        height: 54px;
        font-size: 2rem;
    }

    .build-stage-marker small {
        margin: 0;
    }

    .stage-details,
    .faq-hub {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .faq-topic {
        margin-bottom: 40px;
    }
}

.template-page .page-intro {
    background: #171b1e;
    color: white;
    padding: 28px 0 64px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .875rem;
    margin-bottom: 40px;
    color: #d4d8da;
}

.breadcrumbs a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.page-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.page-intro-grid:not(:has(figure)) {
    grid-template-columns: 1fr;
    max-width: 900px;
}

.home-page.template-page h1 {
    font-size: clamp(2.7rem, 4.5vw, 4.5rem);
    line-height: 1.1;
}

.home-page .page-lead {
    font-size: 1.125rem;
    color: #d4d8da;
    margin: 24px 0 28px;
    max-width: 700px;
}

.page-intro-grid figure {
    margin: 0;
}

.page-intro-grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5/4;
    object-fit: cover;
}

.page-story {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 75px;
}

.page-story p:first-child {
    margin-top: 0;
}

.page-story>div>p:not(.eyebrow),
.page-copy-block>p {
    color: #555d61;
}

.page-soft {
    background: #f4f2ee;
}

.page-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.page-cards article {
    border-top: 2px solid #bc8c48;
    padding: 24px 0 0;
}

.page-cards p {
    color: #555d61;
}

.page-link-list {
    display: grid;
    gap: 15px;
}

.page-link-list a,
.page-contents a {
    color: #81551f;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.page-steps {
    padding-left: 23px;
    margin: 0 0 30px;
}

.page-steps li {
    padding-left: 8px;
    margin-bottom: 24px;
}

.page-steps p {
    color: #555d61;
    margin: 8px 0;
}

.page-facts {
    background: #eee5d7;
    padding: 28px 0;
}

.page-facts dl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0;
}

.page-facts dt {
    font-size: .875rem;
    color: #555d61;
    margin-bottom: 5px;
}

.page-facts dd {
    margin: 0;
    font-weight: 600;
}

.page-bullets {
    padding-left: 22px;
    color: #555d61;
}

.page-bullets li {
    margin-bottom: 12px;
}

.page-wide-photo {
    margin: 0 auto;
    max-width: 1000px;
}

.page-wide-photo img {
    width: 100%;
    height: auto;
}

.page-wide-photo figcaption {
    font-size: .875rem;
    color: #555d61;
    margin-top: 15px;
}

.page-information {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 65px;
    align-items: start;
}

.page-contents {
    display: grid;
    gap: 16px;
    padding: 25px;
    background: #f4f2ee;
}

.home-page .page-contents h2 {
    font-size: 1.2rem;
    margin: 0;
}

.page-copy-block {
    padding-bottom: 38px;
    margin-bottom: 38px;
    border-bottom: 1px solid #ddd;
}

.page-copy-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}
/* Mobile navigation is shared with the homepage in home.css. */

@media(max-width:900px) {

    .page-intro-grid,
    .page-story {
        gap: 32px;
    }

    .page-information {
        grid-template-columns: 200px 1fr;
        gap: 32px;
    }
}

@media(max-width:680px) {
    .template-page .page-intro {
        padding: 24px 0 42px;
    }

    .breadcrumbs {
        margin-bottom: 28px;
    }

    .home-page.template-page h1 {
        font-size: clamp(2.6rem, 10vw, 3.5rem);
    }

    .page-intro-grid,
    .page-story,
    .page-cards,
    .page-information {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .page-intro-grid img {
        aspect-ratio: 3/2;
    }

    .page-facts dl {
        grid-template-columns: 1fr 1fr;
    }

    .page-facts dd {
        overflow-wrap: anywhere;
    }

    .page-story h2 {
        margin-bottom: 0;
    }
}