@font-face {
    font-family: "Archivo";
    src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
    font-weight: 500 800;
    font-stretch: 100% 125%;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/assets/fonts/source-sans-3-italic-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --ink: #111111;
    --ink-2: #191919;
    --ink-3: #222222;
    --line: #2f2f2f;
    --line-light: rgba(255, 255, 255, 0.16);
    --paper: #f4f2ec;
    --text: #ecebe6;
    --muted: #a8a59d;
    --gold: #e4c520;
    --gold-hover: #f0d43a;
    --max: 1240px;
    --gutter: clamp(16px, 4vw, 48px);
    --section: clamp(64px, 9vw, 128px);
    --display: "Archivo", "Arial Narrow", Arial, sans-serif;
    --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--body);
    font-size: 1.125rem;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--gold);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
.h3,
.h4 {
    margin: 0 0 0.5em;
    font-family: var(--display);
    font-stretch: 118%;
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.012em;
    color: #ffffff;
}

h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.75rem);
}

h2 {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
}

h3,
.h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

h4,
.h4 {
    font-size: 1.15rem;
    font-stretch: 110%;
    line-height: 1.25;
}

.post-card .h4 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: 100%;
    max-width: calc(var(--max) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.muted {
    color: var(--muted);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
}

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

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.35rem;
    border: 2px solid var(--gold);
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--solid {
    background: var(--gold);
    color: var(--ink);
}

.btn--solid:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    color: var(--ink);
}

.btn--line {
    background: transparent;
    color: var(--gold);
}

.btn--line:hover {
    background: var(--gold);
    color: var(--ink);
}

.btn--light {
    border-color: #ffffff;
    color: #ffffff;
}

.btn--light:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--ink);
}

/* Labels */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(17, 17, 17, 0.97);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: calc(var(--max) + 2 * var(--gutter));
    min-height: 76px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.site-header__logo img {
    width: 240px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

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

.site-nav__list {
    display: flex;
    gap: 1.6rem;
}

.site-nav__list > li > a {
    display: block;
    padding: 1.6rem 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav__group {
    position: relative;
}

.site-nav__group > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 3px 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.site-nav__sub {
    position: absolute;
    top: 100%;
    left: -1.2rem;
    min-width: 230px;
    padding: 0.5rem 0;
    background: var(--ink-2);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.site-nav__group:hover .site-nav__sub,
.site-nav__group:focus-within .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.site-nav__sub a {
    display: block;
    padding: 0.55rem 1.2rem;
    text-decoration: none;
}

.site-nav__sub a[aria-current="page"] {
    color: var(--gold);
}

.site-nav__actions {
    display: flex;
    gap: 0.6rem;
}

.nav-toggle,
.header-call {
    display: none;
}

@media (max-width: 1080px) {
    .header-call {
        display: inline-flex;
        min-height: 44px;
        margin-left: auto;
        padding: 0.5rem 1.1rem;
    }

    .site-header__inner {
        flex-wrap: wrap;
        gap: 0;
        min-height: 68px;
    }

    .site-header__logo img {
        width: 190px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        margin-left: auto;
        padding: 0.6rem 0;
        background: none;
        border: 0;
        color: #ffffff;
        font: 700 1rem var(--body);
        cursor: pointer;
        min-height: 44px;
        margin-left: 1.1rem;
    }

    .nav-toggle__bars,
    .nav-toggle__bars::before,
    .nav-toggle__bars::after {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        transition: transform 0.2s;
    }

    .nav-toggle__bars {
        position: relative;
    }

    .nav-toggle__bars::before,
    .nav-toggle__bars::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .nav-toggle__bars::before {
        top: -7px;
    }

    .nav-toggle__bars::after {
        top: 7px;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__bars {
        background: transparent;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav {
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 0.5rem 0 1.5rem;
    }

    .js .site-nav {
        display: none;
    }

    .js .site-nav[data-open] {
        display: flex;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .site-nav__list > li > a {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.1rem;
    }

    .site-nav__group > a::after {
        display: none;
    }

    .site-nav__sub {
        position: static;
        min-width: 0;
        padding: 0.25rem 0 0.5rem 1rem;
        background: none;
        border: 0;
        border-bottom: 1px solid var(--line);
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav__sub a {
        padding: 0.45rem 0;
        color: var(--muted);
    }

    .site-nav__actions {
        flex-direction: column;
    }
}

/* Hero */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: min(88vh, 820px);
    padding-top: 7rem;
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.35) 55%, rgba(10, 10, 10, 0.5) 100%),
        linear-gradient(90deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0) 70%);
}

.hero__body {
    padding-bottom: 3.5rem;
}

.hero__body > * {
    max-width: 52rem;
}

.hero h1 {
    max-width: 14ch;
}

.hero__lead {
    max-width: 40rem;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    color: #e6e4de;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero__trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    list-style: none;
}

.hero__trust li {
    padding: 1.15rem 1.5rem 1.15rem 0;
    border-top: 1px solid var(--line-light);
    font-weight: 600;
    font-size: 1rem;
}

.hero__trust li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.7rem;
    background: var(--gold);
    vertical-align: 0.1em;
}

.breadcrumb {
    margin-bottom: 1.75rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb span[aria-current] {
    color: #ffffff;
}

/* Sections */

.section {
    padding: var(--section) 0;
}

.section--tight {
    padding-top: 0;
}

.section--panel {
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.split--reverse .split__media {
    order: -1;
}

.split__media {
    margin: 0;
}

.split__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.split__media--portrait img {
    max-height: 640px;
    aspect-ratio: 3 / 4;
}

.prose p {
    color: #d8d6d0;
}

.prose p:first-child {
    font-size: 1.25rem;
    color: #ffffff;
}

/* Services explorer */

.explorer {
    margin-top: 3rem;
}

.explorer__panels {
    display: grid;
    gap: 3.5rem;
}

.explorer__panel {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.explorer__intro {
    max-width: 38rem;
    color: #d8d6d0;
}

.service-list {
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.service-list li {
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: 0.5rem 2rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

.service-list h4 {
    margin: 0.1rem 0 0;
}

.service-list p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.explorer__media {
    margin: 0;
}

.explorer__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.js .explorer[data-ready] {
    display: grid;
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
}

.js .explorer[data-ready] .explorer__tabs {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.explorer__tabs button {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    padding: 1.05rem 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--display);
    font-stretch: 112%;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.explorer__tabs button:hover {
    color: #ffffff;
}

.explorer__tabs button[aria-selected="true"] {
    color: #ffffff;
    box-shadow: inset 3px 0 0 var(--gold);
    padding-left: 1rem;
}

.explorer__count {
    color: var(--muted);
    font-family: var(--body);
    font-size: 0.85rem;
    font-weight: 600;
}

.js .explorer[data-ready] .explorer__panel[hidden] {
    display: none;
}

.js .explorer[data-ready] .explorer__panel h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* Brands */

.brand-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1.5rem 0 2rem;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.brand-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-stretch: 110%;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Gallery */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.gallery figure {
    margin: 0;
}

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery figcaption {
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Reviews */

.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.review {
    margin: 0;
    padding: 1.75rem;
    background: var(--ink);
    border: 1px solid var(--line);
}

.review footer {
    color: var(--gold);
    font-weight: 700;
}

/* FAQ */

.faq {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 6rem);
}

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

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    position: relative;
    padding: 1.35rem 3rem 1.35rem 0;
    font-family: var(--display);
    font-stretch: 110%;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    list-style: none;
    cursor: pointer;
}

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

.faq summary::before,
.faq summary::after {
    content: "";
    position: absolute;
    right: 0.4rem;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--gold);
    transition: transform 0.2s;
}

.faq summary::after {
    transform: rotate(90deg);
}

.faq details[open] summary::after {
    transform: rotate(0deg);
}

.faq details p {
    max-width: 44rem;
    margin: 0;
    padding: 0 3rem 1.5rem 0;
    color: #d8d6d0;
}

/* Enquiry */

.enquire__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 6rem);
}

.enquire__info > p {
    color: #d8d6d0;
}

.contact-list {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 0.9rem 1rem;
    margin: 2rem 0 0;
}

.contact-list dt {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-top: 0.2rem;
}

.contact-list dd {
    margin: 0;
}

.enquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

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

.field--trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field label {
    font-size: 0.95rem;
    font-weight: 700;
}

.field__optional {
    color: var(--muted);
    font-weight: 400;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.7rem 0.85rem;
    background: var(--ink);
    border: 1px solid #3b3b3b;
    border-radius: 0;
    color: #ffffff;
    font: inherit;
    font-size: 1rem;
}

.field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #6f6d68;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 1px var(--gold);
}

.field [aria-invalid="true"] {
    border-color: #e5705f;
}

.field__error {
    margin: 0;
    color: #f19484;
    font-size: 0.95rem;
}

.field__note {
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.field--full .btn {
    align-self: flex-start;
}

.form-notice {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--gold);
    background: var(--ink);
}

.form-notice p {
    margin: 0;
}

.form-notice--error {
    border-left-color: #e5705f;
}

/* Footer */

.site-footer {
    padding: 4.5rem 0 2rem;
    background: #0b0b0b;
    border-top: 1px solid var(--line);
    font-size: 1rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.site-footer__brand img {
    width: 240px;
    margin-bottom: 1.5rem;
}

.site-footer address {
    font-style: normal;
    color: var(--muted);
    line-height: 1.8;
}

.site-footer__heading {
    margin-bottom: 1rem;
    color: var(--gold);
    font-family: var(--body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 2;
}

.site-footer a {
    text-decoration: none;
}

.site-footer__base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer__base p {
    margin: 0;
}

.site-footer__base {
    align-items: center;
}

.site-credit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-footer__base .site-credit__logo {
    display: inline-flex;
    padding: 0.4rem 0;
    margin: 0;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.site-footer__base .site-credit__logo:hover,
.site-footer__base .site-credit__logo:focus-visible {
    opacity: 1;
}

.site-credit__logo img {
    display: block;
    width: auto;
    height: 32px;
}

/* Smaller screens */

@media (max-width: 960px) {
    .split,
    .explorer__panel,
    .faq,
    .enquire__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .split--reverse .split__media {
        order: 0;
    }

    .js .explorer[data-ready] {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    .js .explorer[data-ready] .explorer__tabs {
        flex-direction: row;
        overflow-x: auto;
        border-top: 0;
        border-bottom: 1px solid var(--line);
        scrollbar-width: none;
    }

    .explorer__tabs button {
        flex: 0 0 auto;
        width: auto;
        gap: 0.5rem;
        padding: 0.9rem 1rem;
        border-bottom: 0;
        font-size: 1rem;
    }

    .explorer__tabs button[aria-selected="true"] {
        padding-left: 1rem;
        box-shadow: inset 0 -3px 0 var(--gold);
    }

    .explorer__media {
        order: -1;
    }

    .gallery {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 1.0625rem;
    }

    .hero {
        min-height: 0;
        padding-top: 4.5rem;
    }

    .hero__trust {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__trust li {
        padding: 0.8rem 0;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }

    .service-list li {
        grid-template-columns: minmax(0, 1fr);
    }

    .brand-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .enquiry-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.25rem;
    }

    .contact-list dd {
        margin-bottom: 0.9rem;
    }

    .site-footer__base {
        flex-direction: column;
    }
}

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

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

/* Homepage */

.hero--home {
    min-height: min(92vh, 860px);
}

.hero--home h1 {
    max-width: 16ch;
}

.eyebrow__sep {
    color: var(--muted);
}

.facts {
    background: var(--ink);
    border-bottom: 1px solid var(--line);
}

.facts__grid {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.facts__grid > div {
    display: flex;
    flex: 1 1 0;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1.15rem 1.5rem 1.15rem 0;
}

.facts__grid > div + div {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
}

.facts dt {
    order: 2;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.facts dd {
    order: 1;
    margin: 0;
    color: var(--gold);
    font-family: var(--display);
    font-stretch: 118%;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.section--paper {
    background: var(--paper);
    color: #2a2926;
}

.section--paper h2,
.section--paper h3,
.section--paper a {
    color: var(--ink);
}

.section--paper a:hover {
    color: #7a6800;
}

.section--paper .eyebrow {
    color: #7a6800;
}



.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.2rem;
}

.link-arrow::after {
    content: "\2192";
}

.tick-list {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.tick-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
    font-weight: 600;
}

.split__media figcaption {
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.prose-lead {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1.75rem;
}

.band-gold {
    padding: clamp(56px, 7vw, 96px) 0;
    background: var(--gold);
    color: var(--ink);
}

.band-gold__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.band-gold h2 {
    max-width: 22ch;
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.eyebrow--dark {
    color: var(--ink);
}



.btn--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--gold);
}

.btn--dark:hover {
    background: #2a2a2a;
    border-color: #2a2a2a;
    color: var(--gold);
}

@media (max-width: 960px) {
    .band-gold__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Inner pages */

.page-head {
    padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px);
    border-bottom: 1px solid var(--line);
}

.page-head__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.page-head--media .page-head__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.page-head h1 {
    max-width: 18ch;
    font-size: clamp(2.2rem, 4.6vw, 3.9rem);
}

.page-head__lead {
    max-width: 42rem;
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: #dddbd5;
}

.page-head__media {
    margin: 0;
}

.page-head__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    list-style: none;
}

.trust-strip li {
    padding: 1.15rem 1.5rem 1.15rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}

.trust-strip li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.7rem;
    background: var(--gold);
    vertical-align: 0.1em;
}

.section--slim {
    padding: 2.5rem 0;
}

.split--top {
    align-items: start;
}

.list-heading {
    margin-bottom: 1rem;
    color: var(--gold);
    font-family: var(--body);
    font-stretch: 100%;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.service-list--stack {
    margin-top: 0;
}

.service-list--stack li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
}

.service-list h4 a {
    text-decoration-color: var(--gold);
}

.todo {
    margin: 0;
    padding: 1rem 1.25rem;
    border: 1px dashed #6b5e14;
    background: rgba(228, 197, 32, 0.06);
    color: #e9d98a;
    font-size: 1rem;
}

.todo::before {
    content: "To confirm: ";
    font-weight: 700;
}

.todo--small {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.location-grid,
.offer-grid,
.contact-grid,
.post-grid,
.company-cards {
    display: grid;
    gap: 1.25rem;
}

.location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.location,
.contact-card {
    padding: 1.75rem;
    background: var(--ink);
    border: 1px solid var(--line);
}

.location h3 {
    font-size: 1.3rem;
}

.location p,
.contact-card p {
    color: #d8d6d0;
}

.company-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.company-card__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 1.25rem;
}

.company-card h2 a {
    text-decoration: none;
}

.company-card > p:not(.eyebrow) {
    color: #d8d6d0;
}

.timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.timeline li {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
}

.timeline__year {
    color: var(--gold);
    font-family: var(--display);
    font-stretch: 115%;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
}

.timeline h4 {
    margin-bottom: 0.35rem;
}

.timeline p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.statement {
    max-width: 24ch;
    margin: 0;
    color: #ffffff;
    font-family: var(--display);
    font-stretch: 118%;
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0 2.5rem;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

.values li {
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
}

.values__num {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
}

.values h3 {
    margin: 0.4rem 0;
    font-size: 1.2rem;
}

.values p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
}

.offer p:not(.eyebrow) {
    color: #d8d6d0;
}

.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card h2 a {
    text-decoration: none;
}

.post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}

.post-card__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 1rem;
}

.post-card h2 a {
    text-decoration: none;
}

.post-card > p:last-child {
    color: var(--muted);
    font-size: 1rem;
}

.post-card__meta,
.updated {
    color: var(--muted);
    font-size: 0.9rem;
}

.article {
    max-width: 46rem;
}

.article__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}

.article__cta p {
    flex-basis: 100%;
    margin: 0;
}

.side-panel {
    padding: 1.75rem;
    background: var(--ink-2);
    border: 1px solid var(--line);
}

.side-panel__cta {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.check-list {
    columns: 2;
    column-gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    break-inside: avoid;
    position: relative;
    padding: 0.35rem 0 0.35rem 1.4rem;
    font-size: 0.98rem;
    line-height: 1.4;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 9px;
    height: 5px;
    border-left: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg);
}

.pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.pill-links a {
    display: inline-block;
    padding: 0.55rem 1rem;
    border: 1px solid #444;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
}

.pill-links a:hover {
    border-color: var(--gold);
}

@media (max-width: 960px) {
    .page-head--media .page-head__grid,
    .location-grid,
    .offer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-head__media {
        order: -1;
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .trust-strip,
    .company-cards,
    .post-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .trust-strip li {
        padding: 0.8rem 0;
    }

    .check-list {
        columns: 1;
    }

    .page-head .hero__actions .btn {
        flex: 1 1 100%;
    }
}

/* Sections that follow another section without a panel break */
.section--tight + .section--tight,
.section + .section--tight {
    padding-top: 0;
}

/* Touch targets: links reach about 44px tall without changing how they look */

.site-footer ul {
    line-height: 1.4;
}

.site-footer li a {
    display: inline-block;
    padding: 0.7rem 0;
}

.site-footer address a,
.contact-card p a,
.contact-list dd a {
    display: inline-block;
    padding: 0.55rem 0;
}

.breadcrumb a {
    display: inline-block;
    padding: 0.75rem 0;
    margin: -0.75rem 0;
}

.service-list h4 a {
    display: inline-block;
    padding: 0.6rem 0;
    margin: -0.6rem 0;
}

.link-arrow {
    min-height: 44px;
    padding-top: 0.6rem;
}

/* Homepage link rows */

.tick-list li {
    padding: 0;
}

.tick-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 0.6rem 0;
    text-decoration: none;
}

.tick-list a::after {
    content: "\2192";
    color: var(--gold);
}

/* Service tabs on small screens: wrap so every category is visible */

@media (max-width: 960px) {
    .js .explorer[data-ready] .explorer__tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
        overflow: visible;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .explorer__tabs button {
        min-height: 44px;
        padding: 0.55rem 0.9rem;
        border: 1px solid #444;
    }

    .explorer__tabs button[aria-selected="true"] {
        padding-left: 0.9rem;
        border-color: var(--gold);
        background: var(--gold);
        color: var(--ink);
        box-shadow: none;
    }

    .explorer__tabs button[aria-selected="true"] .explorer__count {
        color: rgba(17, 17, 17, 0.7);
    }
}

.site-footer__base a,
.contact-card h2 a,
.company-card h2 a {
    display: inline-block;
    padding: 0.6rem 0;
    margin: -0.6rem 0;
}

/* Very narrow phones: keep the logo large and show the menu icon alone */
@media (max-width: 400px) {
    .site-header__logo img {
        width: 170px;
    }

    .nav-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .nav-toggle {
        justify-content: center;
        min-width: 44px;
        margin-left: 0.75rem;
    }
}

@media (max-width: 340px) {
    .site-header__logo img {
        width: 150px;
    }
}

/* Sector labels and missing-photo cards */

.sector-label {
    margin: 0 0 0.35rem;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section--paper .sector-label {
    color: #7a6800;
}

.company-card__placeholder {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 3 / 2;
    margin-bottom: 1.25rem;
    padding: 1.5rem;
    background: var(--ink-2);
    border: 1px dashed #6b5e14;
    color: #ffffff;
    font-family: var(--display);
    font-stretch: 115%;
    font-size: 1.6rem;
    font-weight: 700;
}

.company-card__placeholder small {
    margin-top: 0.4rem;
    color: #e9d98a;
    font-family: var(--body);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Partner brand logos */

.brand-strip {
    padding: 3.25rem 0 3.5rem;
    background: #0c0c0c;
    border-bottom: 1px solid var(--line);
}

.brand-strip__title {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0 0 2.25rem;
    color: var(--muted);
    font-family: var(--body);
    font-stretch: 100%;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.brand-strip__title::before,
.brand-strip__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.brand-strip__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.brand-strip__list li + li {
    border-left: 1px solid var(--line);
}

.brand-strip__list a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    padding: 0 1.5rem;
    opacity: 0.88;
    transition: opacity 0.2s;
}

.brand-strip__list a:hover,
.brand-strip__list a:focus-visible {
    opacity: 1;
}

.brand-strip__logo img {
    display: block;
    width: auto;
    max-width: 100%;
}

/* Heights balanced by eye: badges taller, long wordmarks shorter. */
.brand-strip__logo--shell img { height: 50px; }
.brand-strip__logo--safaricom img { height: 30px; }
.brand-strip__logo--steers img { height: 54px; }
.brand-strip__logo--debonairs img { height: 24px; }

.page-head__brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin: 0.5rem 0 1.5rem;
    padding: 0;
    list-style: none;
}

.page-head__brands img {
    max-height: 56px;
    max-width: 170px;
    width: auto;
    height: auto;
}

@media (max-width: 760px) {
    .facts__grid {
        flex-wrap: wrap;
    }

    .facts__grid > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        padding: 1rem 0.75rem 1rem 0;
    }

    .facts__grid > div + div {
        padding-left: 0.75rem;
    }

    .facts dt {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .facts dd {
        font-size: 1.35rem;
    }

    .brand-strip {
        padding: 2.5rem 0;
    }

    .brand-strip__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.25rem;
    }

    .brand-strip__list a {
        height: 64px;
        padding: 0 0.75rem;
    }

    .brand-strip__logo--shell img { height: 40px; }
    .brand-strip__logo--safaricom img { height: 22px; }
    .brand-strip__logo--steers img { height: 44px; }
    .brand-strip__logo--debonairs img { height: 16px; }
}

.company-card__brands {
    margin: 0 0 1rem;
}

.company-card__brands img {
    max-height: 40px;
    max-width: 130px;
}

/* Homepage first screen: banner, facts and brands fit together without scrolling */

@media (min-width: 761px) {
    .first-screen {
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - 77px);
        min-height: calc(100svh - 77px);
    }

    .first-screen .hero--home {
        flex: 1 1 auto;
        min-height: 0;
        padding-top: 2.5rem;
    }

    .first-screen .hero__body {
        padding-bottom: 2.25rem;
    }

    .first-screen .hero--home h1 {
        font-size: clamp(2.2rem, min(5.6vw, 7.4vh), 4.75rem);
    }

    .first-screen .hero__lead {
        font-size: clamp(1rem, min(1.6vw, 2.3vh), 1.3rem);
    }

    .first-screen .hero__actions {
        margin-top: 1.5rem;
    }

    .first-screen .facts__grid > div {
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }

    .first-screen .brand-strip {
        padding: 1.25rem 0 1.4rem;
    }

    .first-screen .brand-strip__title {
        margin-bottom: 0.9rem;
    }

    .first-screen .brand-strip__list a {
        height: 60px;
    }

    .first-screen .brand-strip__logo--shell img { height: 42px; }
    .first-screen .brand-strip__logo--safaricom img { height: 25px; }
    .first-screen .brand-strip__logo--steers img { height: 46px; }
    .first-screen .brand-strip__logo--debonairs img { height: 20px; }
}

@media (min-width: 761px) and (max-width: 1080px) {
    .first-screen {
        min-height: calc(100vh - 69px);
        min-height: calc(100svh - 69px);
    }
}

/* Short laptop screens */
@media (min-width: 761px) and (max-height: 700px) {
    .first-screen .hero--home {
        padding-top: 1.25rem;
    }

    .first-screen .hero__body {
        padding-bottom: 1.4rem;
    }

    .first-screen .hero--home h1 {
        font-size: clamp(2rem, min(5.6vw, 6.6vh), 4.75rem);
        margin-bottom: 0.35em;
    }

    .first-screen .hero__lead {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .first-screen .hero__actions {
        margin-top: 1.1rem;
    }

    .first-screen .facts__grid > div {
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    .first-screen .brand-strip {
        padding: 0.9rem 0 1rem;
    }

    .first-screen .brand-strip__title {
        margin-bottom: 0.6rem;
    }

    .first-screen .brand-strip__list a {
        height: 52px;
    }
}

/* Facts and brands as one symmetric band */

.facts {
    background: #0c0c0c;
    border-bottom: 0;
}

.facts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facts__grid > div,
.facts__grid > div + div {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.5rem 0 0.5rem;
    border-left: 0;
    text-align: center;
}

.facts dt {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
}

.facts dd {
    font-size: 1.75rem;
    letter-spacing: 0.02em;
}

.brand-strip {
    border-top: 0;
}

.brand-strip__list li + li {
    border-left: 0;
}

@media (min-width: 761px) {
    .first-screen .facts__grid > div {
        padding-top: 1.35rem;
        padding-bottom: 0.35rem;
    }
}

@media (min-width: 761px) and (max-height: 700px) {
    .first-screen .facts__grid > div {
        padding-top: 0.9rem;
        padding-bottom: 0.2rem;
    }

    .first-screen .facts dd {
        font-size: 1.45rem;
    }
}

@media (max-width: 760px) {
    .facts__grid > div,
    .facts__grid > div + div {
        padding: 1.25rem 0.25rem 0.25rem;
    }

    .facts dt {
        font-size: 0.66rem;
        letter-spacing: 0.12em;
    }
}

/* Dividers: short centred hairlines so each row stays symmetric */

.facts__grid > div,
.brand-strip__list li {
    position: relative;
}

.facts__grid > div + div::before,
.brand-strip__list li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    background: var(--line);
    transform: translateY(-50%);
}

.facts__grid > div + div::before {
    height: 2.75rem;
    margin-top: 0.5rem;
}

.brand-strip__list li + li::before {
    height: 3rem;
}

@media (max-width: 760px) {
    .facts__grid > div + div::before {
        height: 2.5rem;
    }

    /* Second row of logos starts fresh, no divider before it */
    .brand-strip__list li:nth-child(3)::before {
        display: none;
    }
}

/* Dividers on the logo row only */
.facts__grid > div + div::before {
    display: none;
}

/* Homepage companies: the lead company in a dark panel, the others as numbered rows */

#companies {
    padding: clamp(3rem, 5vw, 4.5rem) 0;
    overflow-x: clip;
}

#companies-title {
    margin: 0;
    font-size: clamp(1.75rem, 2.7vw, 2.5rem);
}

.company-num {
    font-family: var(--display);
    font-stretch: 118%;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

/* Runs edge to edge; its text still lines up with the page. */
.company-lead {
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--ink);
    color: var(--text);
}

.company-lead__media {
    grid-area: media;
    align-self: center;
    display: block;
    overflow: hidden;
}

.company-lead__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.company-lead:hover .company-lead__media img {
    transform: scale(1.03);
}

.company-lead__body {
    display: grid;
    grid-template-columns: minmax(260px, 400px) minmax(0, 1fr) auto;
    grid-template-areas:
        "media tag actions"
        "media title actions"
        "media text actions"
        "facts facts facts";
    grid-template-rows: auto auto 1fr auto;
    column-gap: clamp(2rem, 4vw, 4rem);
    padding: clamp(2.25rem, 4vw, 3.5rem) max(var(--gutter), calc((100% - var(--max)) / 2));
    border-top: 4px solid var(--gold);
}

.company-lead__tag {
    grid-area: tag;
    align-self: end;
    margin: 0 0 0.9rem;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section--paper .company-lead h3,
.section--paper .company-lead h3 a {
    color: #ffffff;
}

.company-lead h3 {
    grid-area: title;
    margin-bottom: 0.75rem;
    font-size: clamp(1.9rem, 2.8vw, 2.6rem);
    line-height: 1.05;
}

.company-lead h3 a {
    text-decoration: none;
}

.company-lead h3 a:hover {
    color: var(--gold);
}

.company-lead__text {
    grid-area: text;
    max-width: 36rem;
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.company-lead__actions {
    grid-area: actions;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 230px;
}

/* Key facts run as a strip of four along the bottom of the band. */
.company-lead__facts {
    grid-area: facts;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: clamp(2rem, 3.5vw, 2.75rem) 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line-light);
}

.company-lead__facts li {
    position: relative;
    padding: 1.15rem 1.5rem 0;
    border-left: 1px solid var(--line-light);
    color: var(--text);
    line-height: 1.45;
}

.company-lead__facts li:first-child {
    padding-left: 0;
    border-left: 0;
}

.company-lead__facts li::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 1.5rem;
    width: 1.75rem;
    height: 2px;
    background: var(--gold);
}

.company-lead__facts li:first-child::before {
    left: 0;
}

.section--paper .company-lead .btn--solid {
    color: var(--ink);
}

.section--paper .company-lead .btn--light {
    color: #ffffff;
}

.section--paper .company-lead .btn--light:hover {
    color: var(--ink);
}

.company-group {
    margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.company-group__head {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    padding-bottom: 1.25rem;
    border-bottom: 3px solid var(--ink);
}

.company-group__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.company-group__intro {
    margin: 0.3rem 0 0;
    color: #4a4842;
}

.company-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 1px;
    background: #d6d2c7;
    border: 1px solid #d6d2c7;
    border-top: 0;
}

/* Four white quadrants; the 1px gaps between them draw the table lines. */
.company-row {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.5rem);
    background: #ffffff;
    transition: box-shadow 0.25s;
}

/* Company logo, top of each quadrant. */
.company-row__logo {
    display: flex;
    align-items: center;
    height: 56px;
    margin-bottom: 1.25rem;
}

.company-row__logo img {
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 56px;
    object-fit: contain;
}

.company-row__logo--pair {
    gap: 1rem;
}

.company-row__logo--pair img {
    max-width: 120px;
    max-height: 48px;
}

.logo-tile {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    height: 56px;
    padding: 0 1rem;
    background: var(--ink);
}

.logo-tile__rule {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.25);
}

.company-row__logo--pair .logo-tile img {
    max-width: 130px;
    max-height: 34px;
}

.motors-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.company-row__logo .motors-logo img {
    height: 48px;
    width: auto;
}

.motors-logo__name {
    color: var(--ink);
    font-family: var(--display);
    font-stretch: 118%;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
}

.motors-logo__name strong {
    font-weight: 800;
}

.company-row .company-num {
    grid-row: 1 / -1;
    padding-top: 0.2rem;
    color: #8a8578;
    font-size: 1.05rem;
    transition: color 0.25s;
}

.company-row__name .sector-label {
    margin-bottom: 0.35rem;
}

.company-row__name h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.45rem, 2.3vw, 1.9rem);
}

.company-row h3 a {
    text-decoration: none;
}

.company-row__text {
    margin: 0 0 1.5rem;
    max-width: 34rem;
    color: #2a2926;
}

.company-row__go {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid var(--gold);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.company-row__go::after {
    content: "\2192";
    transition: transform 0.2s;
}

/* The name's link covers the whole cell. */
.company-row--link h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.company-row--link:hover {
    box-shadow: inset 0 4px 0 var(--gold);
}



.company-row--link:hover .company-row__go::after {
    transform: translateX(4px);
}

.company-row--link:hover .company-num {
    color: #7a6800;
}

.company-row--link h3 a:focus-visible {
    outline: none;
}

.company-row--link:has(a:focus-visible) {
    outline: 2px solid var(--ink);
    outline-offset: -2px;
}

@media (max-width: 1100px) {
    .company-lead__body {
        grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
        grid-template-areas:
            "media tag"
            "media title"
            "media text"
            "actions actions"
            "facts facts";
        grid-template-rows: auto auto 1fr auto auto;
    }

    .company-lead__actions {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
        margin-top: 1.75rem;
    }

    .company-lead__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 0;
    }

    .company-lead__facts li {
        padding-bottom: 1.1rem;
        border-top: 1px solid var(--line-light);
    }

    .company-lead__facts li:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .company-lead__facts li:nth-child(odd)::before {
        left: 0;
    }
}

@media (max-width: 720px) {
    .company-lead__media {
        margin-bottom: 1.5rem;
    }

    .company-lead__body {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "media" "tag" "title" "text" "actions" "facts";
        grid-template-rows: none;
    }

    .company-lead__facts {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
        border-top: 0;
    }

    .company-lead__facts li,
    .company-lead__facts li:nth-child(odd) {
        padding: 0.9rem 0;
        border-left: 0;
        border-top: 1px solid var(--line-light);
    }

    .company-lead__facts li::before {
        left: 0;
    }
}



@media (max-width: 720px) {
    .company-group__head {
        align-items: flex-start;
    }

    .company-table {
        grid-template-columns: minmax(0, 1fr);
    }

    .company-row {
        padding: 1.6rem 1.25rem;
    }
}

/* Homepage: links to each company along the bottom of the first screen */
.hero__body > .hero-goto {
    max-width: none;
}

.hero-goto {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-goto__title {
    margin: 1rem 0 0.25rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-goto ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-goto li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-goto a {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 1rem 0.85rem 0;
    color: #ffffff;
    font-family: var(--display);
    font-stretch: 118%;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.hero-goto li + li a {
    padding-left: 1rem;
}

.hero-goto a span {
    color: #c9c6bd;
    font-family: var(--body);
    font-stretch: 100%;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-goto a::after {
    content: "\2192";
    color: var(--gold);
    font-family: var(--body);
    transition: transform 0.2s;
}

.hero-goto a:hover,
.hero-goto a:focus-visible {
    color: var(--gold);
}

.hero-goto a:hover::after {
    transform: translateX(4px);
}

@media (max-width: 960px) {
    .hero-goto ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-goto li + li {
        border-left: 0;
    }

    .hero-goto li {
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .hero-goto li + li a,
    .hero-goto a {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        column-gap: 0.6rem;
        padding: 0.8rem 0;
    }

    .hero-goto a span {
        flex-basis: 100%;
    }

    .hero-goto a::after {
        margin-left: auto;
    }
}

@media (max-width: 560px) {
    .hero-goto ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Business pages: links to the group's other businesses */
.other-companies {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    background: var(--paper);
    color: #2a2926;
}

.other-companies__title {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.other-companies ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #d6d2c7;
    border: 1px solid #d6d2c7;
    border-top: 3px solid var(--ink);
}

.other-companies a {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    height: 100%;
    padding: 1.1rem 1.25rem;
    background: #ffffff;
    color: var(--ink);
    font-family: var(--display);
    font-stretch: 118%;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: box-shadow 0.2s;
}

.other-companies a span {
    color: #7a6800;
    font-family: var(--body);
    font-stretch: 100%;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.other-companies a::after {
    content: "\2192";
    margin-top: 0.35rem;
    color: #7a6800;
    font-family: var(--body);
}

.other-companies a:hover,
.other-companies a:focus-visible {
    box-shadow: inset 0 4px 0 var(--gold);
}

@media (max-width: 760px) {
    .other-companies ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phones: contact bar fixed to the bottom of business pages */
.action-bar {
    display: none;
}

@media (max-width: 760px) {
    .action-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 40;
        display: flex;
        gap: 1px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #2f2f2f;
        border-top: 3px solid var(--gold);
    }

    .action-bar__item {
        flex: 1 1 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        background: var(--ink);
        color: #ffffff;
        font-weight: 700;
        text-decoration: none;
    }

    .action-bar__item--main {
        background: var(--gold);
        color: var(--ink);
    }

    body.has-action-bar {
        padding-bottom: calc(55px + env(safe-area-inset-bottom, 0px));
    }
}

/* Company logos in the homepage "Go straight to" links */
.hero-goto__logos {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 34px;
    margin-bottom: 0.55rem;
}

.hero-goto__logos img {
    display: block;
    width: auto;
    height: 30px;
    max-width: 120px;
    object-fit: contain;
}

.hero-goto__logos .logo-insignia-mark {
    height: 32px;
}

.hero-goto__logos .logo-safaricom {
    height: 22px;
}

.hero-goto__logos .logo-steers {
    height: 32px;
}

.hero-goto__logos .logo-debonairs {
    height: 16px;
}

/* The Steers wordmark sits low, under its flame: drop Debonairs so both names share one line. */
.hero-goto__logos .logo-steers,
.hero-goto__logos .logo-debonairs {
    align-self: flex-start;
}

.hero-goto__logos .logo-debonairs {
    margin-top: 14px;
}

@media (max-width: 960px) {
    .hero-goto__logos {
        flex-basis: 100%;
        height: 28px;
        margin-bottom: 0.2rem;
    }

    .hero-goto__logos img {
        height: 24px;
    }

    .hero-goto__logos .logo-safaricom {
        height: 18px;
    }

    .hero-goto__logos .logo-debonairs {
        height: 13px;
        margin-top: 10px;
    }
}

/* "Go straight to" sits on a solid band along the bottom of the banner, full width */
.first-screen .hero__body:has(> .hero-goto) {
    padding-bottom: 0;
}

.hero__body > .hero-goto {
    margin-top: 2.5rem;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
    border-top: 3px solid var(--gold);
    background: rgba(17, 17, 17, 0.94);
}

.hero-goto__title {
    margin-top: 1.1rem;
}

.hero-goto ul {
    padding-bottom: 0.6rem;
}

.hero-goto a {
    padding-top: 0.9rem;
    padding-bottom: 1rem;
    transition: background-color 0.2s;
}

.hero-goto a:hover,
.hero-goto a:focus-visible {
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 960px) {
    .hero__body > .hero-goto {
        margin-top: 2rem;
    }
}

/* Compact band: label on the left, one row of logo + name links */
@media (min-width: 961px) {
    .hero__body > .hero-goto {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        column-gap: 1.75rem;
    }

    .hero-goto__title {
        margin: 0;
        line-height: 1.4;
        white-space: nowrap;
    }

    .hero-goto ul {
        padding-bottom: 0;
    }

    .hero-goto a,
    .hero-goto li + li a {
        position: relative;
        gap: 0.35rem;
        padding: 0.8rem 2rem 0.8rem 1.1rem;
        font-size: 1rem;
    }

    .hero-goto a span {
        display: none;
    }

    .hero-goto a::after {
        position: absolute;
        right: 1rem;
        bottom: 0.85rem;
    }

    .hero-goto__logos {
        height: 26px;
        margin-bottom: 0.15rem;
    }

    .hero-goto__logos img {
        height: 22px;
    }

    .hero-goto__logos .logo-insignia-mark,
    .hero-goto__logos .logo-steers {
        height: 26px;
    }

    .hero-goto__logos .logo-safaricom {
        height: 17px;
    }

    .hero-goto__logos .logo-debonairs {
        height: 13px;
        margin-top: 11px;
    }
}

@media (max-width: 960px) {
    .hero-goto__title {
        margin: 0.8rem 0 0.1rem;
    }

    .hero-goto a,
    .hero-goto li + li a {
        flex-wrap: nowrap;
        align-items: center;
        padding: 0.6rem 0;
    }

    .hero-goto a span {
        display: none;
    }

    /* Names on the left, logos on the right, so the names line up */
    .hero-goto__logos {
        order: 2;
        flex: 0 0 auto;
        flex-basis: auto;
        height: 24px;
        margin: 0 0.9rem 0 auto;
    }

    .hero-goto a::after {
        order: 3;
        margin-left: 0;
    }

    .hero-goto__logos img,
    .hero-goto__logos .logo-insignia-mark,
    .hero-goto__logos .logo-steers {
        height: 22px;
    }

    .hero-goto__logos .logo-safaricom {
        height: 15px;
    }

    .hero-goto__logos .logo-debonairs {
        height: 11px;
        margin-top: 9px;
    }
}

/* Company band: no arrows; logo and name centred in each cell */
.hero-goto a::after {
    content: none;
}

@media (min-width: 961px) {
    .hero-goto a,
    .hero-goto li + li a {
        align-items: center;
        padding: 0.8rem 1rem;
        text-align: center;
    }

    .hero-goto__logos {
        justify-content: center;
    }
}

@media (max-width: 960px) {
    .hero-goto__logos {
        margin-right: 0;
    }
}
