/* Homepage styles are scoped so existing service pages retain their layout. */
.services-nav {
    position: relative;
}

.home-page .services-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 76px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    opacity: .82;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
}

.services-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.home-page .services-trigger:hover,
.home-page .services-trigger[aria-expanded="true"] {
    color: #dfb675;
    opacity: 1;
}

.services-submenu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 330px;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    padding: 10px 16px;
    background: #171b1e;
    border: 1px solid #665339;
    box-shadow: 0 16px 32px #0003;
}

.services-submenu[hidden] {
    display: none;
}

.home-page .services-submenu a {
    display: block;
    padding: 12px 6px;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    border-bottom: 1px solid #ffffff15;
    color: #e3e5e6;
}

.home-page .services-submenu a:last-child {
    border-bottom: 0;
}

.home-page .services-submenu a:hover,
.home-page .services-submenu a[aria-current="page"],
.home-page .services-submenu .services-all {
    color: #dfb675;
}

@media(max-width:900px) {
    .services-nav {
        width: 100%;
    }

    .home-page .services-trigger {
        width: 100%;
        min-height: 49px;
        justify-content: space-between;
        font-size: 1rem;
        border-bottom: 1px solid #ffffff15;
    }

    .services-submenu {
        position: static;
        width: 100%;
        max-height: none;
        border: 0;
        border-left: 2px solid #bc8c48;
        box-shadow: none;
        margin: 6px 0 12px;
        padding: 0 14px;
        background: #20262a;
    }
}

.meikle-heading {
    margin: 42px 0 12px;
}

.home-page .meikle-heading h3 {
    font-size: 1.65rem;
    margin-bottom: 12px;
}

.meikle-heading>p:last-child {
    color: #555d61;
    max-width: 700px;
}

.meikle-grid .home-service {
    padding: 26px 24px 25px 68px;
}

.meikle-grid .home-service .service-initial {
    position: absolute;
    left: 0;
    right: auto;
    top: 24px;
    width: 49px;
    height: 54px;
    display: grid;
    place-items: center;
    background: #eee5d7;
    color: #81551f;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    border-bottom: 2px solid #bc8c48;
}

.meikle-grid .home-service .service-arrow {
    top: 27px;
}

.contact-icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    vertical-align: -.2em;
}

.home-page a[href^="tel:"],
.home-page a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    gap: .55em;
}

.home-page .home-footer-grid>div>a[href^="tel:"],
.home-page .home-footer-grid>div>a[href^="mailto:"] {
    display: flex;
}

.home-page a[href^="mailto:"] span {
    overflow-wrap: anywhere;
    min-width: 0;
}

@media(max-width:680px) {
    .meikle-grid .home-service {
        padding: 24px 20px 24px 62px;
    }

    .home-page .home-contact-bar a:last-child {
        display: none;
    }
}

.home-page {
    --home-ink: #171b1e;
    --home-gold: #c99a52; /*#dfb675;*/
}

.home-page :focus-visible {
    outline: 3px solid #a8732d;
    outline-offset: 5px;
}

.home-page [id] {
    scroll-margin-top: 100px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 12px;
    z-index: 1000;
    background: white;
    color: #111;
    padding: 12px 18px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.home-page .section {
    padding: 80px 0;
}

.home-page p {
    font-size: 1rem;
}

.home-page h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.13;
    text-transform: none;
}

.home-page h3 {
    font-size: 1.16rem;
    line-height: 1.3;
    text-transform: none;
}

.home-page .eyebrow {
    font-size: .8rem;
    line-height: 1.5;
}

.home-page .btn {
    font-size: .875rem;
    text-transform: none;
    letter-spacing: 0;
    min-height: 48px;
}

.home-page .btn-gold {
    background: var(--home-gold);
    color: #171b1e;
}

.home-page .btn-gold:hover {
    background: #eccb97;
}

.home-page .text-link {
    font-size: .875rem;
    text-transform: none;
    letter-spacing: 0;
    color: #81551f;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.home-contact-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: flex-end;
    padding: 2px 0;
    font-size: .8rem;
    text-transform: none;
    letter-spacing: 0;
}

.home-contact-bar span {
    margin: 0 auto 0 0;
    color: #d5d6d6;
}

.home-contact-bar a {
    color: #c99a52;
}

.home-page .main-nav {
    gap: 22px;
}

.home-page .main-nav>a:not(.btn) {
    font-size: .875rem;
    text-transform: none;
}

.home-page .home-hero {
    min-height: 610px;
}

.home-page .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 8, 9, .91), rgba(7, 8, 9, .72) 48%, rgba(7, 8, 9, .2));
}

.home-page .hero-content {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    padding: 68px 0;
}

.home-page h1 {
    font-size: clamp(2.9rem, 5.7vw, 5rem);
    line-height: 1.06;
    text-transform: none;
    margin-bottom: 23px;
    max-width: 750px;
}

.home-page .home-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.55;
    color: white;
    font-weight: 600;
}

.home-page .hero-copy {
    max-width: 580px;
}

.home-page .hero-location {
    font-size: .875rem;
    color: #e6cba3;
    margin: 28px 0 0;
}

.home-proof {
    background:#e9c898;/* #eee5d7; */
    border-bottom: 1px solid #ded5c6;
}

.home-proof>.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-block: 25px;
}

.home-proof .container>div {
    padding: 0 25px;
    border-left: 1px solid #cec1ac;
}

.home-proof .container>div:first-child {
    padding-left: 0;
    border: 0;
}

.home-proof strong,
.home-proof span {
    display: block;
}

.home-proof strong {
    font-size: 1rem;
}

.home-proof span {
    font-size: .875rem;
    color: #505658;
    margin-top: 3px;
}

.home-page .section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

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

.audience-card h3 {
    font-size: 1.5rem;
}

.audience-card p:not(.eyebrow) {
    color: #505658;
}

.audience-card .text-link {
    display: block;
    width: fit-content;
    margin-top: 12px;
}

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

.home-service {
    padding: 26px 22px 24px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.home-service p {
    color: #555d61;
    margin: 0;
}

.home-service>span {
    position: absolute;
    right: 0;
    top: 23px;
    color: #81551f;
    font-size: 1.2rem;
}

.home-service:hover h3 {
    color: #81551f;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service-more {
    margin: 28px 0 0;
}

.home-work {
    background: #f4f2ee;
}

.home-work-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 22px;
    align-items: start;
}

.home-work-grid figure {
    margin: 0;
    background: white;
}

.home-work-grid img {
    width: 100%;
    height: 290px;
    object-fit: cover;
}

.home-work-grid .work-progress {
    object-fit: contain;
    background: #e9e8e4;
}

.home-work-grid figcaption {
    padding: 24px;
}

.home-work-grid figcaption>span {
    display: block;
    color: #656b6d;
    font-size: .8rem;
    margin-bottom: 8px;
}

.home-work-grid figcaption p {
    color: #555d61;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-about-grid>div>p:not(.eyebrow) {
    color: #555d61;
}

.home-about blockquote {
    margin: 0;
    padding: 35px;
    background: #f4f2ee;
    border-left: 3px solid #bc8c48;
}

.quote-mark {
    display: block;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: .7;
    color: #a8732d;
}

.home-about blockquote>p {
    font-size: 1.25rem;
    line-height: 1.65;
}

.home-about blockquote footer span,
.home-about blockquote footer strong {
    display: block;
    font-size: .875rem;
}

.home-about blockquote footer span {
    color: #62696d;
}

.home-process {
    background: #171b1e;
    color: #fff;
}

.home-page .home-process .section-heading p {
    color: #cbd0d2;
}

.home-page .home-process .section-heading .eyebrow {
    color: #dfb675;
}

.home-process-grid {
    list-style: none;
    padding: 0;
    margin: 40px 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.home-process-grid li {
    border-top: 1px solid #5d5548;
    padding-top: 20px;
}

.home-process-grid li>span {
    display: block;
    font-size: 1.6rem;
    color: #dfb675;
    margin-bottom: 17px;
}

.home-process-grid p {
    color: #cbd0d2;
}

.home-questions .faq-layout {
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
}

.home-questions p {
    color: #555d61;
}

.home-page .accordion details:first-child {
    padding-top: 0;
}

.home-page .accordion summary {
    font-size: 1rem;
}

.home-enquiry {
    background: #242a2e;
    color: #fff;
    border-top: 4px solid #bc8c48;
}

.home-enquiry-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 70px;
    align-items: center;
}

.home-enquiry p {
    color: #d6dadc;
}

.home-page .home-enquiry .enquiry-reassurance {
    font-size: .875rem;
    color: #c99a52;
}

.enquiry-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.enquiry-phone {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 24px;
}

.enquiry-email {
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.home-page .enquiry-options p {
    font-size: .875rem;
}

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

.home-footer-grid h3 {
    color: #fff;
    font-size: 1rem;
}

.home-footer-grid>div>a:not(.brand) {
    display: block;
    margin: 8px 0;
    font-size: .875rem;
    overflow-wrap: anywhere;
}

.home-page .home-footer-grid p,
.home-page .footer-bottom {
    font-size: .875rem;
}

@media(max-width:1050px) {
    .home-page .main-nav {
        gap: 13px;
    }

    .home-page .brand-name {
        font-size: .9rem;
    }

    .home-page .nav-cta {
        padding-inline: 12px;
    }

    .home-contact-bar>span {
        display: none;
    }

    .home-contact-bar {
        justify-content: center;
    }

    .home-work-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-work-grid img {
        height: 230px;
    }
}

@media(max-width:900px) {
    .home-page .nav-toggle {
        display: block;
    }

    .home-page .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #15191b;
        padding: 12px 20px max(22px, env(safe-area-inset-bottom));
        height: calc(100dvh - var(--menu-top, 100px) + 1px);
        max-height: none;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Lock the document, not body: body overflow creates a new scroll
       container and pulls the sticky header off-screen on scrolled pages. */
    html.home-menu-open {
        overflow: hidden;
    }

    .home-page .main-nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .home-page .main-nav>a:not(.btn) {
        width: 100%;
        height: auto;
        min-height: 49px;
        font-size: 1rem;
    }

    .home-page .nav-cta {
        margin-top: 12px;
    }

    .home-about-grid,
    .home-enquiry-grid {
        gap: 35px;
    }

    .home-process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:680px) {
    .home-page .section {
        padding: 54px 0;
    }

    .home-page [id] {
        scroll-margin-top: 88px;
    }

    .home-contact-bar {
        gap: 16px;
        font-size: .75rem;
    }

    .home-contact-bar a:last-child {
        display: none;
    }

    .home-page .home-hero {
        min-height: 0;
        background-position: 62% center;
    }

    .home-page .hero-content {
        padding: 52px 0;
    }

    .home-page .hero-overlay {
        background: rgba(7, 8, 9, .77);
    }

    .home-page h1 {
        font-size: clamp(2.8rem, 11.3vw, 4rem);
    }

    .home-page .home-hero-subtitle {
        font-size: 1.08rem;
    }

    .home-proof>.container {
        grid-template-columns: 1fr;
        gap: 0;
        padding-block: 8px;
    }

    .home-proof .container>div {
        padding: 20px 0;
        border: 0;
    }

    .home-proof .container>div+div {
        border-top: 1px solid #cbbca6;
    }

    .audience-grid,
    .home-work-grid,
    .home-about-grid,
    .home-enquiry-grid,
    .home-questions .faq-layout,
    .home-footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .audience-card {
        padding: 25px;
    }

    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .home-service {
        padding-block: 21px;
    }

    .home-work-grid img {
        height: auto;
        aspect-ratio: 4/3;
    }

    .home-work-grid .work-progress {
        aspect-ratio: 1;
    }

    .home-process-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-process-grid li {
        position: relative;
        padding-left: 49px;
    }

    .home-process-grid li>span {
        position: absolute;
        left: 0;
        top: 15px;
        font-size: 1.3rem;
    }

    .home-about blockquote {
        padding: 28px;
    }

    .home-page .home-questions .accordion details:first-child {
        padding-top: 20px;
    }

    .home-page .hero-actions .btn {
        flex: 1 1 180px;
    }

    .enquiry-options {
        align-items: stretch;
    }

    .enquiry-phone,
    .enquiry-email {
        overflow-wrap: anywhere;
    }

    .home-page .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

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

    .home-page * {
        transition: none !important;
    }
}
#work.home-work {
    background: #171b1e;
    border-top: 3px solid #c99a52;
    border-bottom: 1px solid #303639;
}

#work .section-heading h2 {
    color: #fff;
}

#work .section-heading p {
    color: #cbd0d2;
}

#work .section-heading .eyebrow {
    color: #dfb675;
}

#work .home-work-grid figure {
    background: #fbfaf7;
    box-shadow: 0 12px 32px #00000020;
}

#work .home-work-grid figcaption {
    border-top: 2px solid #c99a52;
}
