.pack-layout .page-content-shell,
.pack-layout .page-content-shell__below { width:100%; max-width:none; margin:0; }
.pack-layout .umb-block-list > .nxb-section { margin:0; padding:0; width:100%; max-width:none; }
.pack-layout .brief-design { display:contents; }
.pack-layout .nex-project-experience { width:min(100% - 40px, 1264px); margin:0 auto; padding-block:52px; }
.pack-layout .nex-project-experience .nxb-text-block__inner { max-width:800px; }
.pack-layout .nex-project-enquiry, .pack-layout .nex-fault-report { margin:0; }
.pack-layout .nxb-contact-form__inner { width:auto; max-width:none; margin:0; padding:0; }
.pack-layout .nxb-contact-form__intro { margin:0 0 24px; padding:0; text-align:left; }
.pack-layout .nxb-contact-form__field, .pack-layout .nxb-contact-form__field label { min-width:0; display:block; }
.pack-layout .nxb-service-picker { min-inline-size:0; padding:0; margin:0; border:0; }
.pack-layout .nxb-service-picker legend { padding:0; margin-bottom:6px; font-size:.875rem; font-weight:800; }
.pack-layout .nxb-service-picker details { position:relative; }
.pack-layout .nxb-service-picker summary {
    display:flex; align-items:center; justify-content:space-between; gap:12px; box-sizing:border-box;
    min-height:46px; padding:10px 12px; border:1px solid #cbd3d7; border-radius:6px;
    background:white; color:#111d23; font:inherit; cursor:pointer; list-style:none;
}
.pack-layout .nxb-service-picker summary::-webkit-details-marker { display:none; }
.pack-layout .nxb-service-picker summary::after {
    content:""; flex:none; width:7px; height:7px; margin:0 3px 4px; border:solid currentColor;
    border-width:0 1.5px 1.5px 0; transform:rotate(45deg);
}
.pack-layout .nxb-service-picker details[open] summary::after { transform:rotate(225deg); margin-bottom:-4px; }
.pack-layout .nxb-service-picker summary:focus-visible { outline:2px solid #ac3900; outline-offset:2px; }
.pack-layout .nxb-service-picker summary[aria-invalid="true"] { border-color:#b42318; }
.pack-layout .nxb-service-picker__options {
    position:absolute; inset-inline:0; top:calc(100% + 4px); z-index:5; max-height:min(22rem,45vh); overflow-y:auto;
    padding:4px; background:white; border:1px solid #cbd3d7; border-radius:6px; box-shadow:0 8px 20px #111d231c;
}
.pack-layout .nxb-service-picker__options label { display:flex; align-items:center; gap:10px; min-height:44px; margin:0; padding:5px 9px; box-sizing:border-box; cursor:pointer; line-height:1.35; }
.pack-layout .nxb-service-picker__options label:is(:hover,:focus-within) { background:#fff3eb; border-radius:4px; }
.pack-layout .nxb-service-picker__options input { flex:none; width:18px; height:18px; margin:0; accent-color:#bd4100; }
.pack-layout .nxb-contact-form__field--message, .pack-layout .ss-report-card .nxb-contact-form__field:has([name=currentWebsite]) { grid-column:1 / -1; }
.pack-layout .nxb-contact-form__form { margin:0; }
.pack-layout .nxb-contact-form__status:empty { display:none; }
.pack-layout .nxb-section:has(.nex-office-map) { width:min(calc(100% - 40px),1264px); margin-inline:auto; }
.agency-page { --agency-ink:#111d23; --agency-orange:#ff5900; --agency-muted:#5a666d; color:var(--agency-ink); }
.agency-page .page-heading { letter-spacing:-.055em; line-height:1.08; color:var(--agency-ink); }
.agency-page .nex-editorial-hero { margin-block:clamp(1.5rem,4vw,4rem); background:#f5f7f7; border-radius:14px; overflow:hidden; }
.agency-page .nex-editorial-hero .nxb-banner__title { font-size:clamp(2.1rem,4.5vw,4.1rem); line-height:1.07; letter-spacing:-.055em; }
.agency-page :is(.nex-local-copy,.nex-case-detail,.nex-article,.nex-legacy-copy) :is(h2,h3) { color:var(--agency-ink); line-height:1.2; letter-spacing:-.035em; }
.agency-page .nxb-text-block__content { overflow-wrap:break-word; }
.agency-page .nxb-text-block__content img { max-width:100%; }
.agency-page .nex-local-copy .nxb-text-block__content, .agency-page .nex-article .nxb-text-block__content { max-width:78ch; }
.agency-page .nex-local-copy { margin-block:clamp(1.25rem,3vw,3rem); }
@media (max-width:640px) {
    .pack-layout .nxb-contact-form__fields { grid-template-columns:1fr; }
    .pack-layout .nxb-contact-form__field { grid-column:1; }
}
/* Editorial pages use the same type, spacing and interaction colours as the service pages. */
.agency-page :is(.agency-feature,.agency-panel,.agency-closing,.agency-people) {
    box-sizing:border-box;
    width:min(100%,1264px);
    margin-inline:auto;
}
.agency-feature {
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
    align-items:center;
    gap:clamp(28px,5vw,76px);
    background:#111d23;
    color:white;
    padding:clamp(24px,4.2vw,68px);
    border-radius:16px;
    margin-block:clamp(20px,3vw,44px) clamp(32px,5vw,72px);
}
.agency-page .agency-feature h1 {
    color:#fff;
    font-size:clamp(2.35rem,5vw,4.6rem);
    line-height:1.02;
    letter-spacing:-.055em;
    margin:0 0 20px;
}
.agency-feature p { color:#d6dfe2; max-width:55ch; margin:0 0 22px; line-height:1.65; }
.agency-feature .agency-kicker { color:#ffa676; text-transform:uppercase; font-size:.75rem; letter-spacing:.09em; font-weight:800; }
.agency-feature img { display:block; width:100%; aspect-ratio:1.5; object-fit:cover; border-radius:12px; }
.agency-feature img[src*="monitor-hd"] { object-fit:contain; background:#f7f8f8; padding:16px; box-sizing:border-box; }
.agency-page .agency-action,.agency-closing a { display:inline-flex; align-items:center; justify-content:center; padding:13px 20px; border-radius:6px; background:#c74400; color:white; font-weight:750; text-decoration:none; }
.agency-page .agency-action:is(:hover,:focus-visible) { background:#a53500; }
.agency-panel { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:start; gap:clamp(24px,5vw,80px); padding:clamp(28px,4vw,60px) 0; border-top:1px solid #dce2e5; }
.agency-page :is(.agency-panel,.agency-closing) h2 { font-size:clamp(1.8rem,3.3vw,3.15rem); line-height:1.08; letter-spacing:-.05em; margin:0; }
.agency-panel p { margin:0 0 1em; line-height:1.75; max-width:67ch; }
.agency-links { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.agency-links a { display:flex; align-items:center; height:100%; box-sizing:border-box; border:1px solid #dce2e5; background:#f6f8f8; color:#142027; border-radius:7px; padding:13px 15px; text-decoration:none; line-height:1.35; font-weight:700; }
.agency-links a:is(:hover,:focus-visible) { border-color:#ff5900; background:#fff5ec; }
.agency-closing { display:flex; justify-content:space-between; gap:30px; align-items:center; background:#ff5900; color:#141e23; padding:clamp(26px,4.5vw,68px); border-radius:12px; margin-block:clamp(28px,4vw,60px); }
.agency-page .agency-closing h2 { color:#fff; }
.agency-closing p { margin:13px 0 0; color:#221b16; max-width:62ch; }
.agency-closing a { flex-shrink:0; background:white; color:#111d23; }
.agency-closing a:is(:hover,:focus-visible) { color:#ac3900; }
.agency-people { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.agency-people article { border:1px solid #dce2e5; border-radius:12px; padding:clamp(18px,2.5vw,38px); }
.agency-people h2 { margin:0; font-size:clamp(1.4rem,2vw,2rem); letter-spacing:-.04em; }
.agency-people p { margin:.75em 0 0; line-height:1.65; }
.pack-layout .nex-office-map { padding:24px; margin-block:24px; background:#f4f6f6; border-radius:10px; }
.pack-layout .nex-office-map h2 { font-size:1.45rem; margin:0; }
.pack-layout .nex-office-map p { margin:6px 0; }
.pack-layout .nex-office-map summary { cursor:pointer; color:#a43b00; font-weight:700; }
.pack-layout .nex-office-map iframe { display:block; margin-top:12px; width:100%; }
.pack-layout .nex-office-map details:has(iframe) > p { display:none; }
@media (max-width:720px) {
    .agency-feature,.agency-panel,.agency-people { grid-template-columns:1fr; }
    .agency-feature img { max-height:280px; }
    .agency-closing { align-items:flex-start; flex-direction:column; }
}
@media (max-width:420px) {
    .agency-links { grid-template-columns:1fr; }
}
.agency-page .nex-local-hero {
    background:#111d23;
    border-radius:14px;
    overflow:hidden;
    padding:clamp(24px,4vw,58px);
    margin-block:clamp(20px,3vw,44px);
}
.agency-page .nex-local-hero :is(.nxb-banner__content,.nxb-banner__content-inner) { color:white; background:transparent; }
.agency-page .nex-local-hero .nxb-banner__title { color:white; font-size:clamp(2.35rem,4.7vw,4.3rem); line-height:1.04; letter-spacing:-.05em; }
.agency-page .nex-local-hero .nxb-banner__eyebrow { color:#ffa676; }
.agency-page .nex-local-hero .nxb-banner__media { border-radius:12px; background:#f7f8f8; }
.agency-page .nex-local-hero .nxb-banner__image { width:100%; height:100%; max-height:420px; object-fit:contain; padding:15px; box-sizing:border-box; }
.agency-page .nex-local-hero .nxb-banner__content p { color:#d6dfe2; }
.agency-page .nex-local-hero .nxb-banner__content a:not([class*="primary"]) { color:inherit; }
.agency-page .work-card .project-arrow { display:inline-grid; width:38px; height:38px; place-items:center; color:white; background:#ff5900; border-radius:8px; }
.agency-page .work-card .project-arrow svg { display:block; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; }
.agency-page .work-list:not(.work-list--featured) .work-list__cards:has(> :only-child) { grid-template-columns:minmax(0,400px); }
.agency-page:has(#milford-simulator-planner) > .page-heading { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* Area headers reuse the service design and portfolio artwork selected in the banner. */
.agency-page .page-content-shell:has(.area-banner, .hero-showcase) { width:100%; max-width:none; }
.area-banner .wd-hero-note { white-space:pre-line; }
.area-banner .wd-hero-lead p { margin:0; }
.area-banner .wd-hero-visual { margin:0; }
.area-banner .wd-visual-frame img { display:block; background:#edf0f1; }
.agency-page:has(.source-owner) .work-list { width:min(calc(100% - 40px),1264px); margin:40px auto 75px; }
.agency-page:has(.source-owner) .reference-design { overflow:clip; }
.inherited-section { width:min(calc(100% - 40px),1264px); margin:clamp(24px,4vw,55px) auto; padding:0; color:#111d23; }
.inherited-section .nxb-text-block__inner { width:100%; max-width:none; padding:0; }
.inherited-section :is(h1,h2,h3) { color:#111d23; line-height:1.15; letter-spacing:-.04em; }
.inherited-section :is(h1,h2) { margin:0 0 16px; }
.inherited-section h2 { font-size:clamp(1.7rem,3vw,2.65rem); }
.inherited-section p,.inherited-section :is(ul,ol,dl) { max-width:78ch; line-height:1.7; }
.inherited-section .source-kicker { font-size:.8rem; font-weight:750; letter-spacing:.07em; }
.inherited-section img { display:block; max-width:100%; height:auto; }
.inherited-section a > img { border-radius:8px; }
.inherited-section .source-project-grid { margin:22px 0; }
.source-project-grid:has(>.source-project), .source-collection .source-project-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr)); gap:22px; }
.source-project-grid .source-project { max-width:420px; background:#f6f7f7; border-radius:12px; overflow:hidden; }
.source-project-grid .source-project > a { height:100%; display:block; border:2px solid transparent; border-radius:inherit; color:inherit; padding:18px; text-decoration:none; }
.source-project-grid .source-project > a:is(:hover,:focus-visible) { border-color:#e65300; background:#fff5ed; }
.source-project-grid .source-project img { width:100%; height:clamp(130px,14vw,175px); object-fit:contain; margin-bottom:12px; }
.source-project-grid .source-project p { margin:.55rem 0; }
.source-project-grid .source-project h3 { margin:.6rem 0; font-size:1.16rem; }
.agency-page .agency-people { width:min(calc(100% - 40px),1264px); margin:0 auto; }
.source-vacancies { border-top:1px solid #d8dfe2; padding-top:30px; }
.inherited-cta { padding:clamp(22px,4vw,50px); border-radius:12px; background:#fff2e9; }
.inherited-cta a,.source-owner .agency-action { display:inline-flex; min-height:44px; align-items:center; background:#bd4200; color:#fff; border-radius:6px; padding:9px 18px; text-decoration:none; font-weight:750; }
.inherited-section .source-aside { padding:24px; background:#f5f7f7; border-radius:12px; }
.inherited-section p:empty { display:none; }
@media (max-width:640px) { .source-project-grid:has(>.source-project),.source-collection .source-project-grid { grid-template-columns:1fr; } }
/* Inherited image galleries and service links */
.inherited-section .source-project-grid:has(> a > img) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:start; }
.inherited-section .source-project-grid:has(> a > h3) { grid-template-columns:repeat(auto-fit,minmax(min(100%,295px),1fr)); }
.inherited-section .source-project-grid > a:has(> h3) { align-self:stretch; display:block; padding:16px; border:1px solid #dce3e5; border-radius:12px; text-decoration:none; }
.inherited-section .source-project-grid > a:has(> h3):is(:hover,:focus-visible) { border-color:#e65300; background:#fff6ee; }
.inherited-section .source-project-grid > a > img { width:100%; height:auto; aspect-ratio:1.7; object-fit:cover; }
.inherited-section .source-project-grid > a:has(h3) h3 { margin:18px 0 6px; }
.inherited-section .source-project-grid > a:has(h3) p { margin:4px 0; }
@media (max-width:600px) { .inherited-section .source-project-grid:has(> a > img) { grid-template-columns:1fr; gap:14px; } }
/* Bind the native forms to the field and heading styles supplied for these pages. */
.pack-layout.service-status-page, .pack-layout.service-status-page .nxb-section:has(.ss-intro,.ss-report) { background:#f5f7f7; }
.pack-layout :is(.contact-form-card,.ss-report-card) { color:var(--ink); }
.pack-layout .nxb-contact-form__intro { margin:0; }
.pack-layout .nxb-contact-form__intro .nxb-contact-form__heading { padding:0; color:var(--ink); font-weight:800; }
.pack-layout .nxb-contact-form__introduction { margin:0 0 24px; padding:0; }
.pack-layout .contact-form-heading .nxb-contact-form__introduction p { font-size:.8125rem; line-height:1.6; color:var(--muted); margin:0; }
.pack-layout .ss-form-heading .nxb-contact-form__introduction p { margin:0; }
.pack-layout .nxb-contact-form__status[hidden] { display:none; }
.pack-layout :is(#contact-page-form,#fault-report-form) { padding:0; margin:0; max-width:none; }
.pack-layout :is(#contact-page-form,#fault-report-form) .nxb-contact-form__field { display:block; margin:0; }
.pack-layout :is(#contact-page-form,#fault-report-form) label { margin:0; }
.pack-layout :is(.contact-form-bottom,.ss-form-bottom) .nxb-contact-form__submit { margin:0; font-weight:800; }
.pack-layout .nxb-contact-form__privacy { color:#66757d; font-size:.75rem; line-height:1.7; margin:17px 0 0; }
.pack-layout .nxb-contact-form__privacy a { color:inherit; text-underline-offset:3px; }
.pack-layout #contact-page-form .nxb-service-picker legend { color:var(--ink); font-size:.875rem; font-weight:800; line-height:1.5; margin:0 0 8px; }
.pack-layout #contact-page-form .nxb-service-picker summary { min-height:48px; padding:11px 12px; border:1px solid #cbd5db; border-radius:5px; background:#fbfcfc; line-height:1.5; }
.pack-layout #contact-page-form .nxb-service-picker__options label { display:flex; }
.pack-layout #contact-page-form .nxb-service-picker__options input { display:inline-block; width:18px; height:18px; min-height:0; padding:0; margin:0; }
.pack-layout .contact-office-map { margin-top:6px; font-size:.8125rem; color:#e0e6e9; }
.pack-layout .contact-office-map summary { cursor:pointer; width:fit-content; text-underline-offset:4px; text-decoration:underline; }
.pack-layout .contact-office-map iframe { display:block; width:100%; height:240px; border:0; margin-top:12px; }
.pack-layout .contact-office-map p { margin-top:10px; }
.pack-layout .contact-office-map:has(iframe) > p { display:none; }
@media (max-width:600px) {
    .pack-layout .contact-form-heading .nxb-contact-form__introduction p { font-size:.75rem; }
}

@media (min-width:601px) {
    .pack-layout .contact-form-bottom > .button { min-width:192px; }
    .pack-layout .ss-form-bottom > .button { min-width:205px; }
}

.pack-layout .contact-location .contact-office-map:not([open]) { display:inline-block; margin:0 0 0 12px; }
.pack-layout .nxb-contact-form__privacy a { display:inline-flex; align-items:center; min-height:26px; }
.pack-layout .ss-report-card .nxb-contact-form__privacy a { min-height:28px; }
.pack-layout .ss-report-card .contact-optional { color:#6b777e; font-size:.75rem; font-weight:400; }

.inherited-section .area-contact-row {
    display: grid;
    grid-template-columns: minmax(0, 78ch) auto;
    align-items: center;
    justify-content: space-between;
    column-gap: clamp(2rem, 6vw, 8rem);
}
.inherited-section .area-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 6px;
    background: #c74400;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.inherited-section .area-contact-button:hover { background: #a43800; }
.inherited-section .area-contact-button:focus-visible { outline: 3px solid #111d23; outline-offset: 3px; }
@media (max-width: 760px) {
    .inherited-section .area-contact-row { grid-template-columns: 1fr; row-gap: 8px; }
}
