/* Purple Frog Signs — final public visual-completion layer. */

/* Component sizing for directional containers; the shared colour contract is
   owned by correction-pass.css so later components cannot restore white glyphs. */
.product-family__arrow .link-arrow,
.signage-finder-card__action .link-arrow {
    color: #A3165E;
}

.signage-finder-card__link:hover .signage-finder-card__action .link-arrow,
.signage-finder-card__link:focus-visible .signage-finder-card__action .link-arrow {
    background: #F1EDE8;
    color: #7D1448;
}

.product-family__products a:hover .product-family__arrow .link-arrow,
.product-family__products a:focus-visible .product-family__arrow .link-arrow { color: #7D1448; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #A3165E;
    outline-offset: 4px;
}

.home-capabilities a:focus-visible,
.home-sectors a:focus-visible,
.services-pathway--tone-dark a:focus-visible,
.services-coordination a:focus-visible,
.product-bespoke a:focus-visible,
.testimonials-section__actions a:focus-visible,
.testimonials-section .review-card--featured a:focus-visible,
.site-footer a:focus-visible,
.final-cta a:focus-visible,
.archive-cta a:focus-visible {
    outline-color: #fff;
    box-shadow: 0 0 0 2px #271330;
}

.button--outline-light {
    border-color: rgba(255,255,255,.78);
    background: transparent;
    color: #fff;
}

.button--outline-light:hover,
.button--outline-light:focus-visible { border-color: #fff; background: #fff; color: #7D1448; }

/* Commercial page rhythm is light-led; variation comes from imagery and layout. */
.page--inner main,
.inner-flow,
.inner-section,
.inner-section--alternate,
.inner-flow--service .inner-section--alternate,
.inner-flow--product .inner-section--alternate,
.inner-flow--overview .inner-section--alternate {
    background: #FBFAF8;
}

.inner-section--colour-break {
    overflow: visible;
    background: #FBFAF8;
    color: #1E1D22;
}

.inner-section--colour-break::after,
.inner-flow--service .inner-section--alternate::after,
.inner-flow--product .inner-section--alternate::after,
.inner-flow--overview .inner-section--alternate::after { display: none; }

.inner-section--colour-break h2,
.inner-section--colour-break .inner-section__content > p,
.inner-section--colour-break .inner-section__number,
.inner-section--colour-break .inner-section__icon,
.inner-section--colour-break .text-link { color: inherit; }

.inner-section--colour-break .inner-section__number,
.inner-section--colour-break .inner-section__icon,
.inner-section--colour-break .text-link { color: #A3165E; }

.inner-hero--product,
.inner-hero--service,
.inner-hero--overview,
.inner-hero--about,
.inner-hero--areas { background: #fff; }

.inner-hero--without-visual .inner-hero__grid { grid-template-columns: minmax(0, 52rem); }
.inner-hero--with-placeholder .inner-hero__media { align-self: stretch; }

.page-editorial-image,
.page-supporting-image { background: #fff; }
.page-editorial-image--mid { background: #FBFAF8; }
.page-editorial-image--lower { background: #fff; }
.page-editorial-image--upper figure { width: min(84%, 62rem); }
.page-editorial-image--mid figure { width: min(78%, 62rem); margin-left: auto; }
.page-editorial-image--lower figure { width: min(88%, 68rem); margin-inline: auto; }

/* Homepage: the approved 1916:821 signage-showcase artwork is the hero stage. */
.home-hero {
    min-height: 0;
    padding: 0;
    background: #fff;
}

.home-hero__visual {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
}

.home-hero__visual picture,
.home-hero__visual img { display: block; width: 100%; }
.home-hero__visual img {
    height: auto;
    aspect-ratio: 1916 / 821;
    object-fit: contain;
    object-position: 50% 50%;
}
.home-hero__visual figcaption {
    position: absolute;
    right: .75rem;
    bottom: 3.35rem;
    max-width: 30rem;
    padding: .4rem .55rem;
    background: rgba(39,19,48,.92);
    color: #fff;
    font-size: .68rem;
}
.home-hero__disclosure--mobile { display: none; }
.home-hero__visual .image-disclosure-compact {
    right: .45rem;
    bottom: .45rem;
    left: auto;
    width: max-content;
    max-width: calc(100% - .9rem);
    min-height: 0;
    gap: .3rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
    text-shadow: 0 1px 3px rgba(39,19,48,.95);
}
.home-hero__visual .image-disclosure-compact svg {
    width: .8rem;
    height: .8rem;
}
.home-hero__visual--placeholder { min-height: clamp(31rem, 50vw, 55rem); }

.home-hero__inner {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    min-height: 0;
    align-items: center;
    padding-block: clamp(2rem, 4vw, 4rem);
}

.home-hero__copy {
    display: block;
    width: min(43%, 36rem);
    max-width: none;
    margin: 0;
    padding: 0;
}

.home-hero__headline,
.home-hero__details,
.home-hero h1 { width: auto; max-width: 100%; }
.home-hero h1 .home-hero__headline-accent {
    display: inline;
    color: var(--magenta, #A3165E);
}
.home-hero__details { max-width: 32rem; padding-top: clamp(1.1rem, 2.25vw, 2rem); }
.home-hero--without-visual .home-hero__inner {
    position: relative;
    min-height: 34rem;
}

/* The approved showcase artwork and hero layout remain intact. These two flat
   brand accents add definition without changing the content or controls. */
.page--home .home-hero::after {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 0;
    left: 0;
    height: .5rem;
    background: #A3165E;
    content: "";
    pointer-events: none;
}

.page--home .home-hero .eyebrow::before {
    width: clamp(1.75rem, 3vw, 2.5rem);
    height: 3px;
    flex: 0 0 auto;
    background: #A3165E;
}

.home-services { background: #fff; }
.client-logos { background: #FBFAF8; }
.home-why { background: #F1EDE8; }

/* Products overview: nine grouped families on a predominantly white canvas. */
.page--products-overview main { background: #fff; }
.page--products-overview .signage-finder { display: none; }

.product-overview-hero {
    position: relative;
    padding: clamp(3.5rem, 7vw, 7rem) 0;
    border-bottom: 1px solid var(--color-line);
    background: #fff;
}

.product-overview-hero::before {
    position: absolute;
    top: 0;
    left: max(var(--gutter), calc((100vw - 76rem) / 2));
    width: 5.5rem;
    height: .25rem;
    background: #A3165E;
    content: "";
}

.product-overview-hero__grid {
    display: grid;
    grid-template-columns: minmax(18rem, .44fr) minmax(0, .56fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.product-overview-hero__copy h1 {
    max-width: 45rem;
    margin-bottom: .5em;
    font-size: clamp(3rem, 5vw, 5.25rem);
    line-height: .98;
}

.product-overview-hero__copy > p { max-width: 46rem; color: #514A54; font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.product-overview-hero__support { font-size: .96rem !important; }
.product-overview-hero__media { position: relative; margin: 0; }
.product-overview-hero__media::after { position: absolute; right: -.8rem; bottom: -.8rem; width: 48%; height: 38%; border-right: .25rem solid #A3165E; border-bottom: .25rem solid #A3165E; content: ""; pointer-events: none; }
.product-overview-hero__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-overview-hero__media figcaption { margin-top: .7rem; color: #514A54; font-size: .8rem; }

.product-family-nav {
    position: relative;
    z-index: 4;
    border-bottom: 1px solid var(--color-line);
    background: #FBFAF8;
}

.product-family-nav .shell { display: grid; grid-template-columns: minmax(13rem, .28fr) minmax(0, .72fr); gap: 2rem; align-items: start; padding-block: 1.5rem; }
.product-family-nav p { margin: .55rem 0 0; color: #271330; font-size: .76rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.product-family-nav ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 0; margin: 0; background: var(--color-line); list-style: none; }
.product-family-nav li { min-width: 0; background: #fff; }
.product-family-nav a { display: flex; min-height: 3.25rem; align-items: center; gap: .65rem; padding: .7rem .8rem; color: #271330; font-size: .82rem; font-weight: 750; line-height: 1.25; text-decoration: none; }
.product-family-nav a span { flex: 0 0 auto; color: #A3165E; font-size: .68rem; }
.product-family-nav a:hover,
.product-family-nav a:focus-visible { background: #F1EDE8; color: #7D1448; }

/* Final product-grid balance pass: make the nine-family index a clear,
   accessible navigation landmark without changing its anchors or content. */
.page--products-overview .product-family-nav {
    border-bottom-color: rgba(255,255,255,.2);
    background: #271330;
    color: #fff;
}

.page--products-overview .product-family-nav .shell {
    padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.page--products-overview .product-family-nav p {
    color: #fff;
    font-size: .84rem;
}

.page--products-overview .product-family-nav ol {
    background: rgba(255,255,255,.2);
}

.page--products-overview .product-family-nav li {
    background: #271330;
}

.page--products-overview .product-family-nav a {
    color: #fff;
}

.page--products-overview .product-family-nav a span {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: .25rem;
    background: #fff;
    color: #A3165E;
    font-size: .7rem;
    font-weight: 850;
}

.page--products-overview .product-family-nav a:hover,
.page--products-overview .product-family-nav a:focus-visible {
    background: #3D2247;
    color: #fff;
}

.page--products-overview .product-family-nav a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -4px;
    box-shadow: inset 0 0 0 1px #A3165E;
}

.product-family-catalogue { background: #fff; }
.product-family {
    scroll-margin-top: 6rem;
    padding: clamp(4.5rem, 8vw, 8rem) 0;
    border-bottom: 1px solid var(--color-line);
    background: #fff;
}

.product-family__grid { display: grid; grid-template-columns: minmax(18rem, .42fr) minmax(0, .58fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.product-family--image-right .product-family__media { grid-column: 2; grid-row: 1; }
.product-family--image-right .product-family__content { grid-column: 1; grid-row: 1; }
.product-family__media { min-width: 0; }
.product-family__media:empty { display: none; }
.product-family__media figure { margin: 0; }
.product-family__media picture { display: block; }
.product-family__media img { display: block; width: 100%; max-height: 39rem; aspect-ratio: 4 / 3; border-left: .3rem solid #A3165E; object-fit: cover; }
.product-family--image-right .product-family__media img { aspect-ratio: 5 / 4; }
.product-family__media figcaption { margin-top: .7rem; color: #514A54; font-size: .8rem; }
.product-family__heading { padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-line); }
.product-family__number { display: block; margin-bottom: 1.1rem; color: #A3165E; font-size: .75rem; font-weight: 850; letter-spacing: .14em; }
.product-family__heading h2 { max-width: 44rem; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.02; }
.product-family__heading p { max-width: 45rem; color: #514A54; font-size: clamp(1.02rem, 1.3vw, 1.16rem); }

/* Rapid usability correction: the nine families now present their existing
   product records as a compact, image-led catalogue. */
.page--products-overview .product-family { padding: clamp(3.75rem, 6vw, 6rem) 0; }
.page--products-overview .product-family__heading { max-width: 58rem; }
.page--products-overview .product-family__heading h2 { font-size: clamp(2rem, 3vw, 3.25rem); }
.product-family__product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 2rem 0 0;
    list-style: none;
}
.product-tile {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-line);
    background: #FBFAF8;
}
.product-tile__media {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--color-line);
    background: #F1EDE8;
}
.product-tile__media picture { display: block; width: 100%; height: 100%; }
.product-tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-tile__media figcaption {
    position: absolute;
    z-index: 1;
    top: .5rem;
    right: .5rem;
    left: .5rem;
    width: fit-content;
    max-width: calc(100% - 1rem);
    padding: .35rem .5rem;
    border-radius: .2rem;
    background: rgba(39,19,48,.92);
    color: #fff;
    font-size: .68rem;
    line-height: 1.35;
}
.product-tile__media > .image-disclosure {
    position: absolute;
    z-index: 2;
    right: .5rem;
    bottom: .5rem;
    left: .5rem;
    max-height: calc(100% - 1rem);
    margin: 0;
    overflow: auto;
    border: 0;
    border-radius: .25rem;
    background: rgba(255,255,255,.96);
}
.product-tile__media > .image-disclosure summary { min-height: 2.25rem; padding: .45rem .55rem; }
.product-tile__media > .image-disclosure p { padding: 0 .55rem .65rem 1.9rem; }
.product-tile__empty-media {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}
.product-tile__empty-media::before {
    padding: .45rem .6rem;
    border: 1px dashed #A3165E;
    border-radius: .2rem;
    color: #7D1448;
    content: "Image pending";
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.product-tile__link {
    display: grid;
    min-height: 9rem;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) 2.4rem;
    gap: .45rem .8rem;
    align-content: start;
    padding: 1rem;
    color: #1E1D22;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}
.product-tile__link:hover,
.product-tile__link:focus-visible { background: #F1EDE8; color: #271330; }
.product-tile__link:focus-visible { outline: .2rem solid #A3165E; outline-offset: -.2rem; }
.product-tile__link strong { color: inherit; font-size: 1rem; line-height: 1.3; }
.product-tile__description { grid-column: 1; color: #514A54; font-size: .84rem; line-height: 1.5; }
.product-tile__link .product-family__arrow { margin-left: auto; }

.product-family__products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 1.75rem 0 0; list-style: none; }
.product-family__products li { min-width: 0; }
.product-family__products a { display: grid; min-height: 7.5rem; grid-template-columns: minmax(0, 1fr) 2.4rem; gap: .5rem 1rem; align-content: center; padding: 1rem; border: 1px solid var(--color-line); background: #FBFAF8; color: #1E1D22; text-decoration: none; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.product-family__products a:hover,
.product-family__products a:focus-visible { border-color: #A3165E; background: #F1EDE8; color: #271330; transform: translateY(-2px); }
.product-family__products strong { align-self: end; color: inherit; font-size: 1rem; line-height: 1.3; }
.product-family__products a > span { grid-column: 1; color: #514A54; font-size: .82rem; }
.product-family__arrow { display: grid; width: 2.35rem; height: 2.35rem; grid-column: 2; grid-row: 1 / 3; align-self: center; place-items: center; border: 1px solid var(--color-line); border-radius: 50%; background: #fff; font-style: normal; }

.product-family__terms { margin-top: 2.25rem; }
.product-family__terms h3 { margin-bottom: .9rem; color: #271330; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.product-family__terms ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; padding: 0; margin: 0; border-top: 1px solid var(--color-line); list-style: none; }
.product-family__terms li { min-width: 0; border-bottom: 1px solid var(--color-line); }
.product-family__terms a,
.product-family__terms li > span { display: flex; min-height: 3rem; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem 0; color: #1E1D22; font-size: .84rem; line-height: 1.3; text-decoration: none; }
.product-family__terms a:hover { color: #7D1448; }

.product-bespoke { padding: clamp(4.75rem, 8vw, 8rem) 0; background: #271330; color: #fff; }
.product-bespoke__grid { display: grid; grid-template-columns: minmax(0, .58fr) minmax(18rem, .42fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.product-bespoke__copy h2 { max-width: 46rem; color: #fff; font-size: clamp(2.5rem, 4.5vw, 4.6rem); line-height: 1; }
.product-bespoke__copy p { max-width: 48rem; color: rgba(255,255,255,.8); }
.product-bespoke__copy .eyebrow { color: #fff; }
.product-bespoke__media { margin: 0; }
.product-bespoke__media img { display: block; width: 100%; aspect-ratio: 4 / 3; border: .35rem solid #fff; object-fit: cover; }
.product-bespoke__media figcaption { margin-top: .75rem; color: rgba(255,255,255,.72); font-size: .8rem; }

.page--products-overview .format-visuals { background: #fff; }
.page--products-overview .material-visuals--overview { background: #FBFAF8; }

/* Rapid usability correction: strengthen the existing homepage introduction. */
.page--home .home-introduction {
    background: #271330;
    color: #fff;
}
.page--home .home-introduction__statement { color: #fff; }
.page--home .home-introduction__copy p,
.page--home .home-introduction__copy p:first-child { color: rgba(255,255,255,.86); }
.page--home .home-introduction .eyebrow {
    width: fit-content;
    padding: .42rem .62rem;
    border-radius: .3rem;
    background: #FBFAF8;
    color: #A3165E;
}
.page--home .home-introduction .eyebrow::before { background: #A3165E; }
.page--home .home-introduction .text-link {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1rem;
    border-radius: .4rem;
    background: #fff;
    color: #A3165E;
}
.page--home .home-introduction .text-link:hover,
.page--home .home-introduction .text-link:focus-visible {
    background: #F1EDE8;
    color: #7D1448;
}

/* Shared inline SVGs keep their intended geometry at every use size. */
.pfs-icon { overflow: hidden; }
.pfs-icon :is(path, rect, circle, line, polyline, polygon) { vector-effect: non-scaling-stroke; }

/* Rapid usability correction: normalise the five process icons at 52px. */
.page--home .home-method__step-mark {
    min-height: 3.25rem;
    align-items: center;
}
.page--home .home-method__icon {
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 3.25rem;
}

/* Services: three light pathways, one dark break and one stone break. */
.services-pathway--tone-light { background: #fff; }
.services-pathway--tone-stone { background: #F1EDE8; }
.services-pathway--tone-dark { background: #271330; }

/* Team records without approved portraits are text-only in public output. */
.team-member--text-only { grid-template-columns: minmax(0, 46rem); }
.team-member--text-only .team-member__copy,
.team-member:nth-child(even).team-member--text-only .team-member__copy { grid-column: 1; grid-row: 1; }

/* Contact remains form-led, with a calm project-led introduction. */
.contact-hero { padding: clamp(3.5rem, 7vw, 7rem) 0 2.5rem; border-bottom: 1px solid var(--color-line); background: #fff; color: #1E1D22; }
.contact-hero__grid { grid-template-columns: minmax(18rem, .46fr) minmax(0, .54fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.contact-hero h1 { color: #271330; font-size: clamp(3rem, 5vw, 5rem); line-height: .99; }
.contact-hero p { color: #514A54; }
.contact-hero .eyebrow { color: #A3165E; }
.contact-hero__media { margin: 0; }
.contact-hero__media img { display: block; width: 100%; aspect-ratio: 4 / 3; border-right: .3rem solid #A3165E; object-fit: cover; }
.contact-hero__media figcaption { margin-top: .65rem; color: #514A54; font-size: .8rem; }
.contact-hero__details { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1rem; background: rgba(255,255,255,.18); }
.contact-hero__details > div { background: #271330; }
.contact-hero__details dt { color: rgba(255,255,255,.72); }
.contact-hero__details dd,
.contact-hero__details a { color: #fff; }

.contact-supporting { padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-bottom: 1px solid var(--color-line); background: #FBFAF8; }
.contact-supporting figure { width: min(82%, 64rem); margin: 0 auto; }
.contact-supporting img { display: block; width: 100%; max-height: 31rem; aspect-ratio: 16 / 9; object-fit: cover; }
.contact-supporting figcaption { margin-top: .65rem; color: #514A54; font-size: .8rem; }
.enquiry-section { background: #fff; }

/* Project archive: visual introduction; absent article media simply collapses publicly. */
.archive-hero { padding: clamp(3.5rem, 7vw, 7rem) 0; border-bottom: 1px solid var(--color-line); background: #fff; color: #1E1D22; }
.archive-hero__grid { display: grid; grid-template-columns: minmax(18rem, .52fr) minmax(0, .48fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.archive-hero__inner { max-width: 52rem; }
.archive-hero h1 { color: #271330; font-size: clamp(3rem, 5vw, 5rem); line-height: .99; }
.archive-hero p { color: #514A54; }
.archive-hero .eyebrow { color: #A3165E; }
.archive-hero__media { margin: 0; }
.archive-hero__media img { display: block; width: 100%; aspect-ratio: 4 / 3; border-left: .3rem solid #A3165E; object-fit: cover; }
.archive-hero__media figcaption { margin-top: .65rem; color: #514A54; font-size: .8rem; }
.article-card:not(:has(.article-card__image)) .article-card__body { padding-top: 1.6rem; }

@media (min-width: 64rem) {
    .home-hero__inner {
        width: min(100% - (2 * var(--gutter)), 94rem);
        padding-block: clamp(2rem, 4vw, 4rem);
    }
    .home-hero__copy { width: min(43%, 36rem); max-width: none; margin: 0; align-self: auto; padding: 0; }
    .home-hero__headline,
    .home-hero__details,
    .home-hero h1 { width: auto; max-width: 100%; }
}

/* Keep the overlaid tablet/compact-desktop copy inside the bright hero stage
   without cropping or stretching the full-width showcase artwork. */
@media (min-width: 56.01rem) and (max-width: 70rem) {
    .home-hero { min-height: 34rem; }
}

@media (max-width: 56rem) {
    .home-hero { display: grid; min-height: 0; padding: 0; }
    .home-hero__inner {
        position: relative;
        inset: auto;
        display: block;
        order: 1;
        min-height: 0;
        padding-top: 1.65rem;
        padding-bottom: 1.5rem;
    }
    .home-hero__copy { width: 100%; max-width: none; }
    .home-hero__visual { order: 2; }
    .home-hero__disclosure--desktop { display: none; }
    .home-hero__disclosure--mobile { display: block; }
    .home-hero__visual--placeholder { min-height: 20rem; }
    .home-hero__visual img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 50%; }
    .home-hero__visual figcaption { display: none; }
    .home-hero--without-visual .home-hero__inner { min-height: 0; padding-bottom: 2.75rem; }
}

@media (max-width: 68rem) {
    .product-family-nav .shell { grid-template-columns: 1fr; gap: .8rem; }
    .product-family-nav ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-overview-hero__grid,
    .product-family__grid,
    .product-bespoke__grid { gap: 2.75rem; }
    .product-family__product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-hero__details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 50rem) {
    .page-editorial-image--upper figure,
    .page-editorial-image--mid figure,
    .page-editorial-image--lower figure { width: 100%; }

    .page--home .home-method__step-mark { min-height: 3rem; }
    .page--home .home-method__icon {
        width: 3rem;
        height: 3rem;
        flex-basis: 3rem;
    }

    .product-overview-hero__grid,
    .product-family__grid,
    .product-bespoke__grid,
    .contact-hero__grid,
    .archive-hero__grid { grid-template-columns: 1fr; }

    .product-overview-hero__copy h1,
    .contact-hero h1,
    .archive-hero h1 { font-size: clamp(2.65rem, 11vw, 3.75rem); }

    .product-family-nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-family-nav a { min-height: 3rem; padding: .6rem; font-size: .76rem; }
    .product-family { scroll-margin-top: 4.75rem; padding: 4.5rem 0; }
    .product-family--image-right .product-family__media,
    .product-family--image-right .product-family__content { grid-column: auto; grid-row: auto; }
    .product-family__media { order: 1; }
    .product-family__content { order: 2; }
    .product-family__products,
    .product-family__terms ul { grid-template-columns: 1fr; }
    .product-family__product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-family__products a { min-height: 6rem; }
    .product-bespoke__media { order: -1; }

    .contact-hero__details { grid-template-columns: 1fr; }
    .contact-supporting figure { width: 100%; }
}

@media (max-width: 36rem) {
    .product-family__product-grid { grid-template-columns: 1fr; }
    .product-tile__link { min-height: 0; }
}

@media (max-width: 26.875rem) {
    .home-hero .button-row { flex-wrap: wrap; }
    .home-hero .button { flex-basis: 100%; }
    .product-family-nav ol { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .product-family__products a,
    .link-arrow { transition: none; }
    .product-family__products a:hover,
    .product-family__products a:focus-visible { transform: none; }
}

/* Final fixes only: a contained feature panel keeps the homepage light overall
   while giving the existing thirteen-sector navigation a richer brand moment. */
.page--home .home-sectors {
    background: #fff;
    color: #fff;
}

.page--home .home-sectors__grid {
    overflow: hidden;
    padding: clamp(2rem, 4vw, 4.25rem);
    border-radius: clamp(1.25rem, 2.2vw, 2rem);
    background: linear-gradient(135deg, #151018 0%, #271330 48%, #4a1b58 100%);
}

.page--home .home-sectors__intro p { color: rgba(255,255,255,.82); }

.page--home .home-sectors__list {
    grid-auto-flow: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(7, minmax(4.85rem, auto));
    gap: .75rem;
}

.page--home .home-sectors__list li,
.page--home .home-sectors__list li:nth-child(7),
.page--home .home-sectors__list li:last-child {
    min-height: 4.85rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: .8rem;
    background: rgba(255,255,255,.055);
    transition: border-color 160ms ease, background 160ms ease;
}

.page--home .home-sectors__list li:hover,
.page--home .home-sectors__list li:focus-within {
    border-color: rgba(240,138,187,.72);
    background: rgba(255,255,255,.105);
}

.page--home .home-sectors__list span { padding-left: .85rem; color: rgba(255,255,255,.78); }
.page--home .home-sectors__list a { min-height: 4.85rem; padding: .8rem .85rem .8rem 0; }
.page--home .home-sectors__list a:focus-visible { box-shadow: inset 0 0 0 3px #fff; }

/* The required single homepage review uses the full review column without the
   empty second-card track left by the earlier four-card preview. */
.testimonials-section--home .testimonials-section__inner {
    grid-template-columns: minmax(16rem, .38fr) minmax(0, .62fr);
}

.testimonials-section--home .review-editorial-grid {
    width: 100%;
    max-width: 48rem;
    grid-template-columns: minmax(0, 1fr);
}

/* Keep the truthful homepage-only disclosure visible but visually subordinate. */
.home-hero__visual .image-disclosure-compact {
    gap: .22rem;
    font-size: .52rem;
    font-weight: 650;
    line-height: 1.15;
}

.home-hero__visual .image-disclosure-compact svg {
    width: .65rem;
    height: .65rem;
}

@media (max-width: 64rem) {
    .testimonials-section--home .testimonials-section__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 36rem) {
    .page--home .home-sectors__grid { padding: 1.25rem; border-radius: 1.1rem; }
    .page--home .home-sectors__list {
        grid-auto-flow: row;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
    }
}

@media (max-width: 26.875rem) {
    .page--home .home-capability > a {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        gap: .45rem .6rem;
        align-content: center;
    }

    .page--home .home-capability__icon {
        grid-column: 1;
        grid-row: 1;
    }

    .page--home .home-capability strong {
        min-width: 0;
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .page--home .home-capability .link-arrow {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page--home .home-sectors__list li { transition: none; }
}

/* Purple Frog global arrow treatment — 2026-09-05 */
.link-arrow,
.service-feature__arrow {
    background: var(--magenta) !important;
    color: var(--white) !important;
    border-color: var(--magenta) !important;
}
