/* K9 Services Plus stylesheet. Increase ASSET_VERSION in includes/config.php after editing. */

@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("assets/fonts/fraunces-300.woff2") format("woff2");
}

@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/fonts/fraunces-500.woff2") format("woff2");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/manrope-400.woff2") format("woff2");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/fonts/manrope-500.woff2") format("woff2");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/fonts/manrope-600.woff2") format("woff2");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/manrope-700.woff2") format("woff2");
}

:root {
    --black: #000000;
    --orange: #e0792e;
    --sage: #d6d6a9;
    --forest: #183a32;
    --aubergine: #4a2638;
    --white: #ffffff;
    --ink: #120f0e;
    --muted: rgba(18, 15, 14, 0.64);
    --dark-muted: rgba(255, 255, 255, 0.68);
    --dark-soft: rgba(214, 214, 169, 0.74);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-strong: rgba(255, 255, 255, 0.08);
    --line: rgba(18, 15, 14, 0.12);
    --line-dark: rgba(255, 255, 255, 0.1);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container: 1400px;
}

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

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 88% 10%, rgba(224, 121, 46, 0.18), transparent 32rem),
        radial-gradient(circle at 8% 24%, rgba(74, 38, 56, 0.32), transparent 28rem),
        var(--black);
    color: var(--dark-muted);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

h1,
h2,
h3,
p,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: inherit;
    font-family: "Fraunces", serif;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.06;
}

h1 {
    max-width: 12.5ch;
    margin-bottom: 1.4rem;
    color: var(--white);
    font-size: 3.5rem;
}

h2 {
    margin-bottom: 1.25rem;
    font-size: 2.45rem;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: 1.55rem;
}

p {
    margin-bottom: 1.35rem;
}

main {
    position: relative;
    z-index: 1;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.narrow {
    width: min(calc(100% - 48px), 820px);
    margin-inline: auto;
    text-align: center;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 0.7rem 1rem;
    transform: translateY(-150%);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--black);
    font-weight: 700;
}

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

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

.progressive-blur {
    position: fixed;
    z-index: 40;
    inset: 0 0 auto;
    height: 120px;
    pointer-events: none;
}

.progressive-blur > div,
.progressive-blur::before,
.progressive-blur::after {
    position: absolute;
    inset: 0;
}

.progressive-blur::before {
    z-index: 1;
    backdrop-filter: blur(0.5px);
    content: "";
    mask: linear-gradient(to top, transparent 0%, #000 12.5%, #000 25%, transparent 37.5%);
}

.progressive-blur > div:nth-of-type(1) {
    z-index: 2;
    backdrop-filter: blur(1px);
    mask: linear-gradient(to top, transparent 12.5%, #000 25%, #000 37.5%, transparent 50%);
}

.progressive-blur > div:nth-of-type(2) {
    z-index: 3;
    backdrop-filter: blur(2px);
    mask: linear-gradient(to top, transparent 25%, #000 37.5%, #000 50%, transparent 62.5%);
}

.progressive-blur > div:nth-of-type(3) {
    z-index: 4;
    backdrop-filter: blur(4px);
    mask: linear-gradient(to top, transparent 37.5%, #000 50%, #000 62.5%, transparent 75%);
}

.progressive-blur > div:nth-of-type(4) {
    z-index: 5;
    backdrop-filter: blur(8px);
    mask: linear-gradient(to top, transparent 50%, #000 62.5%, #000 75%, transparent 87.5%);
}

.progressive-blur > div:nth-of-type(5) {
    z-index: 6;
    backdrop-filter: blur(16px);
    mask: linear-gradient(to top, transparent 62.5%, #000 75%, #000 87.5%, transparent 100%);
}

.progressive-blur > div:nth-of-type(6) {
    z-index: 7;
    backdrop-filter: blur(32px);
    mask: linear-gradient(to top, transparent 75%, #000 87.5%, #000 100%);
}

.progressive-blur::after {
    z-index: 8;
    backdrop-filter: blur(64px);
    content: "";
    mask: linear-gradient(to top, transparent 87.5%, #000 100%);
}

.eyebrow,
.service-number,
.step-number,
.issue-card > strong,
.outcome-card > strong,
.panel-label,
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.25;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

.lead {
    max-width: 650px;
    color: inherit;
    font-size: 1.08rem;
    line-height: 1.72;
}

.lead.center {
    margin: 0 auto;
}

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

.sage-text {
    color: var(--dark-soft);
}

.accent {
    color: var(--orange);
}

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

.button-row.center {
    justify-content: center;
}

.button-row.compact {
    margin-top: 1.35rem;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-orange {
    background: var(--white);
    color: var(--black);
}

.button-orange:hover,
.button-orange:focus-visible {
    background: var(--sage);
    color: var(--black);
}

.button-dark {
    background: var(--black);
    color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
    background: var(--forest);
    color: var(--white);
}

.button-light {
    background: var(--white);
    color: var(--black);
}

.button-light:hover,
.button-light:focus-visible {
    background: var(--sage);
    color: var(--black);
}

.button-outline {
    border-color: var(--line);
    background: transparent;
    color: currentColor;
}

.button-outline:hover,
.button-outline:focus-visible {
    border-color: var(--orange);
    background: rgba(224, 121, 46, 0.1);
}

.button-on-dark {
    border-color: var(--line-dark);
    color: var(--white);
}

@keyframes animationIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.js .animate-on-scroll {
    opacity: 0;
    animation: animationIn 0.8s ease-out both;
    animation-play-state: paused;
}

.js .animate-on-scroll.animate {
    opacity: 1;
    animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .js .animate-on-scroll {
        opacity: 1;
        animation: none;
    }
}

/* Header */
.site-header-shell {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
}

.site-nav {
    border-bottom: 1px solid var(--line-dark);
    background:
        linear-gradient(90deg, rgba(74, 38, 56, 0.55), rgba(0, 0, 0, 0.46)),
        rgba(224, 121, 46, 0.08);
    color: var(--white);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 1.4rem;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.brand img {
    width: 104px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.nav-links {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
}

.nav-links a {
    position: relative;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 700;
}

.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: 0.15rem;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--orange);
    content: "";
    transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.75rem;
}

.nav-phone {
    color: var(--sage);
    font-size: 0.78rem;
    font-weight: 700;
}

.nav-cta {
    min-height: 40px;
    padding-inline: 1rem;
}

.menu-toggle,
.mobile-menu {
    display: none;
}

/* Heroes */
.home-hero,
.page-hero,
.legal-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
}

.home-hero {
    display: flex;
    min-height: 92svh;
    align-items: center;
    padding: 7.25rem 0 3rem;
}

.home-hero::before,
.page-hero::before,
.legal-hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image: url("assets/home-dogs-autumn.jpg");
    background-position: center 46%;
    background-size: cover;
    content: "";
    filter: grayscale(24%);
    opacity: 0.52;
    transform: scale(1.04);
    transition: transform 20s ease;
}

.home-hero::before {
    background-image: url("assets/phil-field-home.jpg");
    background-position: 46% center;
}

.home-hero:hover::before,
.page-hero:hover::before {
    transform: scale(1);
}

.home-hero::after,
.page-hero::after,
.legal-hero::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to top, var(--black), rgba(74, 38, 56, 0.68), transparent),
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
    content: "";
}

site-header[active="puppy"] + main .page-hero::before {
    background-image: url("assets/puppy-brown.jpg");
}

site-header[active="obedience"] + main .page-hero::before {
    background-image: url("assets/german-shepherd.jpg");
}

site-header[active="behaviour"] + main .page-hero::before,
site-header[active="intensive"] + main .page-hero::before,
site-header[active="results"] + main .page-hero::before {
    background-image: url("assets/home-dogs-autumn.jpg");
}

site-header[active="about"] + main .page-hero::before,
site-header[active="contact"] + main .page-hero::before {
    background-image: url("assets/phil-and-dogs.jpg");
}

.hero-layout,
.page-hero-grid,
.legal-hero .container {
    position: relative;
    z-index: 2;
}

.hero-layout {
    display: grid;
    align-items: end;
    gap: 4rem;
    grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr);
}

.hero-copy-block {
    max-width: 840px;
}

.hero-copy-block .lead,
.page-hero-content > p {
    color: var(--dark-soft);
}

.hero-proof-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
}

.hero-proof-line span,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: var(--glass);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.hero-portrait,
.page-hero-visual {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0.55rem;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero-portrait img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--radius-lg) - 8px);
    object-fit: cover;
    object-position: center;
    filter: grayscale(18%);
}

.hero-portrait figcaption,
.page-hero-visual figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.35rem 0.1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
}

.hero-portrait figcaption strong {
    color: var(--white);
}

.page-hero {
    min-height: 76svh;
    padding: 8.5rem 0 5rem;
}

.page-hero-grid {
    display: grid;
    min-height: 460px;
    align-items: center;
    gap: 4rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
}

.page-hero-content {
    max-width: 820px;
}

.page-hero-content h1 {
    font-size: 3.6rem;
}

.page-hero-visual img {
    width: 100%;
    max-height: 500px;
    border-radius: calc(var(--radius-lg) - 8px);
    object-fit: contain;
    object-position: center;
    background: rgba(0, 0, 0, 0.24);
}

.page-hero-panel {
    display: flex;
    min-height: 420px;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.4rem;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--glass);
    color: var(--white);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.page-hero-panel blockquote {
    margin-bottom: 1rem;
    color: var(--white);
    font-family: "Fraunces", serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.12;
}

.page-hero-panel p {
    margin-bottom: 0;
    color: var(--dark-soft);
}

.hero-phone {
    display: block;
    margin: auto 0 1.5rem;
    color: var(--white);
    font-family: "Fraunces", serif;
    font-size: 3.4rem;
    line-height: 1;
}

.legal-hero {
    padding: 9rem 0 5rem;
}

.legal-hero h1 {
    max-width: 100%;
    font-size: 3.1rem;
}

/* Proof bar */
.trust-bar {
    border-bottom: 1px solid rgba(224, 121, 46, 0.22);
    background: var(--white);
    color: var(--ink);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.trust-item {
    min-height: 108px;
    padding: 1.45rem;
    border-right: 1px solid rgba(224, 121, 46, 0.18);
}

.trust-item:first-child {
    border-left: 1px solid rgba(224, 121, 46, 0.18);
}

.trust-item strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--black);
    font-family: "Fraunces", serif;
    font-size: 1.55rem;
    font-weight: 500;
}

.trust-item span {
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.76rem;
    line-height: 1.45;
}

/* Sections */
.section {
    padding: 7rem 0;
}

.section-sage,
.section-white {
    background: var(--white);
    color: var(--ink);
}

.section-sage {
    background:
        linear-gradient(180deg, rgba(214, 214, 169, 0.52), rgba(255, 255, 255, 0.92)),
        var(--sage);
}

.section-forest,
.section-black,
.section-aubergine {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    background:
        radial-gradient(circle at 80% 5%, rgba(224, 121, 46, 0.2), transparent 24rem),
        var(--black);
    color: var(--dark-muted);
}

.section-forest {
    background:
        radial-gradient(circle at 10% 12%, rgba(224, 121, 46, 0.16), transparent 28rem),
        var(--forest);
}

.section-aubergine {
    background:
        radial-gradient(circle at 90% 18%, rgba(224, 121, 46, 0.18), transparent 30rem),
        var(--aubergine);
}

.section-white h2,
.section-sage h2,
.section-white h3,
.section-sage h3,
.legal-content h2,
.legal-content h3 {
    color: var(--black);
}

.section-black h2,
.section-black h3,
.section-forest h2,
.section-forest h3,
.section-aubergine h2,
.section-aubergine h3,
.section-black .text-link,
.section-forest .text-link,
.section-aubergine .text-link {
    color: var(--white);
}

.section-heading {
    display: grid;
    align-items: end;
    gap: 2rem;
    margin-bottom: 4rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.section-heading h2,
.section-heading p {
    margin-bottom: 0;
}

.section-heading > p {
    color: var(--muted);
}

.section-black .section-heading > p,
.section-forest .section-heading > p,
.section-aubergine .section-heading > p {
    color: var(--dark-soft);
}

/* Service and image cards */
.service-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    position: relative;
    display: block;
    min-height: 450px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--black);
    color: var(--white);
    cursor: pointer;
}

.service-card.featured {
    grid-column: span 2;
}

.service-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(24%);
    opacity: 0.76;
    transition: transform 1000ms ease, filter 1000ms ease, opacity 1000ms ease;
}

.service-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--black), rgba(74, 38, 56, 0.62), transparent);
    content: "";
    opacity: 0.82;
    transition: opacity 500ms ease;
}

.service-card:hover > img {
    transform: scale(1.05);
    filter: grayscale(8%);
    opacity: 0.92;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: inherit;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.4rem;
}

.service-card-content p {
    max-width: 590px;
    color: var(--dark-soft);
    font-size: 0.93rem;
}

.service-number {
    display: block;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.6rem;
    color: currentColor;
    font-size: 0.82rem;
    font-weight: 800;
}

.text-link::after {
    content: ">";
}

/* Split sections */
.split {
    display: grid;
    align-items: center;
    gap: 5rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split-reverse .split-media {
    order: 2;
}

.split-content h2 {
    max-width: 740px;
}

.split-media {
    position: relative;
    min-height: 520px;
}

.split-media::before {
    position: absolute;
    top: 8%;
    right: 0;
    width: 82%;
    height: 82%;
    border: 1px solid rgba(224, 121, 46, 0.28);
    border-radius: var(--radius-lg);
    background: rgba(224, 121, 46, 0.08);
    content: "";
}

.image-main {
    position: relative;
    z-index: 1;
    width: 88%;
    height: 92%;
    overflow: hidden;
    margin-left: auto;
    border: 1px solid rgba(224, 121, 46, 0.22);
    border-radius: var(--radius-lg);
    background: var(--glass);
    box-shadow: var(--shadow);
}

.image-main img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(18%);
    transition: transform 1000ms ease;
}

.image-main:hover img {
    transform: scale(1.04);
}

img.social-crop {
    object-position: center;
}

.feature-list {
    margin: 2rem 0 2.25rem;
    padding: 0;
    border-left: 1px solid rgba(224, 121, 46, 0.26);
    list-style: none;
}

.feature-list li {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 0 1rem 1.25rem;
}

.feature-list strong {
    color: inherit;
    font-size: 0.94rem;
}

.feature-list span {
    color: currentColor;
    opacity: 0.68;
    font-size: 0.9rem;
}

/* Compact cards */
.process-grid,
.issue-grid,
.outcome-grid,
.quote-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
}

.process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.outcome-grid.two-column {
    grid-template-columns: repeat(2, 1fr);
}

.process-step,
.issue-card,
.outcome-card,
.quote-card,
.contact-card,
.legal-content,
form.enquiry-form {
    border: 1px solid rgba(224, 121, 46, 0.18);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
}

.process-step,
.issue-card,
.outcome-card {
    min-height: 250px;
    padding: 2rem;
}

.process-step p,
.issue-card p,
.outcome-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.section-black .process-step,
.section-black .issue-card,
.section-black .outcome-card,
.section-forest .process-step,
.section-forest .issue-card,
.section-forest .outcome-card,
.section-aubergine .process-step,
.section-aubergine .issue-card,
.section-aubergine .outcome-card,
.quote-card.dark {
    border-color: var(--line-dark);
    background: var(--glass);
    color: var(--white);
    box-shadow: none;
}

.section-black .process-step p,
.section-black .issue-card p,
.section-black .outcome-card p,
.section-forest .process-step p,
.section-forest .issue-card p,
.section-forest .outcome-card p,
.section-aubergine .process-step p,
.section-aubergine .issue-card p,
.section-aubergine .outcome-card p,
.quote-card.dark p {
    color: var(--dark-soft);
}

/* BBC and media */
.media-panel {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--black);
    box-shadow: var(--shadow);
    grid-template-columns: 1.08fr 0.92fr;
}

.media-play-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
}

.media-panel > .media-play-card {
    min-height: 540px;
}

.media-play-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 27% center;
    filter: grayscale(18%);
    transition: transform 900ms ease, filter 900ms ease;
}

.media-panel > .media-play-card img {
    min-height: 540px;
}

.image-main.media-play-card img {
    min-height: 520px;
}

.media-play-card:hover img {
    transform: scale(1.035);
    filter: grayscale(6%);
}

.play-button {
    position: absolute;
    inset: 50% auto auto 50%;
    display: inline-flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.44);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(12px);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.play-button svg {
    width: 34px;
    height: 34px;
    margin-left: 4px;
    fill: currentColor;
}

.media-play-card:hover .play-button {
    border-color: rgba(224, 121, 46, 0.86);
    background: rgba(224, 121, 46, 0.74);
    transform: translate(-50%, -50%) scale(1.04);
}

.media-panel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.5rem;
    color: var(--white);
}

.media-panel-content h2 {
    color: var(--white);
}

.media-panel-content p {
    color: var(--dark-soft);
}

.bbc-lockup {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.bbc-lockup > strong {
    color: var(--white);
    font-family: "Manrope", sans-serif;
    font-size: 1.9rem;
    letter-spacing: 0.08em;
}

.bbc-lockup p {
    margin-bottom: 0;
}

/* Recognition and endorsements */
.recognition-strip {
    display: grid;
    gap: 1rem;
    margin: -1rem 0 2.25rem;
    grid-template-columns: repeat(4, 1fr);
}

.recognition-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--black);
}

.recognition-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(24%);
    opacity: 0.78;
    transition: transform 900ms ease, filter 900ms ease, opacity 900ms ease;
}

.recognition-card:hover img {
    transform: scale(1.05);
    filter: grayscale(8%);
    opacity: 0.94;
}

.recognition-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 65%);
    content: "";
}

.recognition-card div {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
}

.recognition-card strong,
.recognition-card span {
    display: block;
}

.recognition-card strong {
    color: var(--white);
    font-family: "Fraunces", serif;
    font-size: 1.25rem;
    font-weight: 500;
}

.recognition-card span {
    color: var(--sage);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.endorsement-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(2, 1fr);
}

.endorsement-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--glass);
    color: var(--white);
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
    backdrop-filter: blur(12px);
}

.endorsement-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(18%);
}

.endorsement-copy {
    align-self: center;
    padding: 2.2rem;
}

.endorsement-copy p {
    color: rgba(214, 214, 169, 0.88);
}

/* Quotes */
.quote-card {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.25rem;
}

.quote-mark {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--orange);
    font-family: "Fraunces", serif;
    font-size: 3rem;
    line-height: 1;
}

.quote-card blockquote {
    color: inherit;
    font-family: "Fraunces", serif;
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1.22;
}

.quote-card cite {
    display: block;
    color: inherit;
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 800;
}

.quote-card cite span {
    display: block;
    margin-top: 0.3rem;
    color: currentColor;
    font-size: 0.76rem;
    font-weight: 600;
    opacity: 0.62;
}

/* Contact and forms */
.contact-layout {
    display: grid;
    align-items: start;
    gap: 4rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.contact-card {
    margin-top: 1.2rem;
    padding: 1.6rem;
}

.contact-card-forest {
    background: var(--forest);
    color: var(--white);
}

.contact-card-neutral {
    background: rgba(255, 255, 255, 0.58);
}

.big-phone,
.footer-phone {
    display: inline-block;
    color: inherit;
    font-family: "Fraunces", serif;
    font-size: 2.2rem;
    line-height: 1;
}

form.enquiry-form {
    padding: 2rem;
}

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

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

.field label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid rgba(224, 121, 46, 0.24);
    border-radius: var(--radius-sm);
    background: rgba(214, 214, 169, 0.34);
    color: var(--ink);
}

.field input {
    min-height: 50px;
    padding: 0 0.95rem;
}

.field textarea {
    min-height: 150px;
    padding: 0.9rem 0.95rem;
    resize: vertical;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.35rem;
}

.form-note,
.form-status {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.form-note a {
    color: var(--black);
    font-weight: 800;
    text-decoration: underline;
}

/* Intensive and legal */
.coming-soon {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--glass);
    color: var(--white);
    grid-template-columns: 1fr 0.9fr;
    backdrop-filter: blur(12px);
}

.coming-soon-copy {
    padding: 3rem;
}

.coming-soon-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    filter: grayscale(18%);
}

.notice,
.draft-note {
    padding: 1rem;
    border-left: 3px solid var(--orange);
    border-radius: var(--radius-sm);
    background: rgba(224, 121, 46, 0.12);
}

.notice-spaced {
    margin-top: 1.4rem;
}

.legal-shell {
    display: grid;
    align-items: start;
    gap: 2rem;
    grid-template-columns: 260px minmax(0, 1fr);
}

.legal-nav {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 0.6rem;
    padding: 1rem;
    border: 1px solid rgba(224, 121, 46, 0.2);
    border-radius: var(--radius-md);
    background: rgba(214, 214, 169, 0.32);
}

.legal-nav a {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
}

.legal-content {
    padding: 2.2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    font-size: 1.8rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul {
    padding-left: 1.25rem;
}

.legal-content a {
    color: var(--black);
    font-weight: 800;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--line-dark);
    background: var(--black);
    color: var(--dark-muted);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(160px, 0.7fr));
}

.footer-brand img {
    width: 126px;
    margin-bottom: 1.4rem;
}

.footer-brand p {
    max-width: 360px;
    color: var(--dark-muted);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.social-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: var(--glass);
    color: var(--sage);
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(224, 121, 46, 0.72);
    color: var(--white);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 0.65rem;
}

.footer-column h2 {
    margin-bottom: 0.5rem;
    color: var(--white);
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Button variants own their text colours in every interaction state. */
.footer-column a {
    font-size: 0.88rem;
}

.footer-column a:not(.button) {
    color: var(--dark-muted);
}

.footer-column a:not(.button):hover,
.footer-column a:not(.button):focus-visible {
    color: var(--white);
}

.footer-contact .button {
    width: fit-content;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line-dark);
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
}

@media (min-width: 900px) {
    h1 {
        font-size: 5.6rem;
    }

    h2 {
        font-size: 4rem;
    }

    h3 {
        font-size: 1.9rem;
    }

    .page-hero-content h1 {
        font-size: 4.7rem;
    }
}

@media (max-width: 1180px) {
    .nav-links {
        gap: 0.9rem;
    }

    .service-grid,
    .process-grid,
    .recognition-strip {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .service-card.featured {
        grid-column: span 1;
    }

    .endorsement-grid,
    .endorsement-card {
        grid-template-columns: 1fr;
    }

    .endorsement-card img {
        min-height: 320px;
    }
}

@media (max-width: 980px) {
    .container,
    .narrow {
        width: min(calc(100% - 32px), var(--container));
    }

    .nav-links,
    .nav-phone,
    .nav-cta {
        display: none;
    }

    .nav-inner {
        justify-content: space-between;
    }

    .menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line-dark);
        border-radius: 999px;
        background: var(--glass);
        color: var(--white);
        cursor: pointer;
    }

    .menu-toggle span,
    .menu-toggle span::before,
    .menu-toggle span::after {
        display: block;
        width: 18px;
        height: 2px;
        background: currentColor;
        content: "";
    }

    .menu-toggle span {
        position: relative;
    }

    .menu-toggle span::before {
        position: absolute;
        top: -6px;
    }

    .menu-toggle span::after {
        position: absolute;
        top: 6px;
    }

    .mobile-menu {
        position: fixed;
        z-index: 49;
        inset: 64px 0 auto;
        display: block;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        border-bottom: 1px solid var(--line-dark);
        background: rgba(0, 0, 0, 0.92);
        color: var(--white);
        backdrop-filter: blur(18px);
        transition: max-height 240ms ease, visibility 0s linear 240ms;
    }

    .mobile-menu.open {
        max-height: calc(100svh - 64px);
        overflow-y: auto;
        visibility: visible;
        transition: max-height 240ms ease, visibility 0s linear 0s;
    }

    /* Without JavaScript the menu cannot open, so show it under the header. */
    html:not(.js) .menu-toggle {
        display: none;
    }

    html:not(.js) .site-header-shell {
        position: relative;
        background: var(--black);
    }

    html:not(.js) .mobile-menu {
        position: static;
        max-height: none;
        visibility: visible;
    }

    html:not(.js) .home-hero,
    html:not(.js) .page-hero,
    html:not(.js) .legal-hero {
        padding-top: 3rem;
    }

    .mobile-menu .container {
        display: grid;
        gap: 1rem;
        padding: 1.2rem 0 1.5rem;
    }

    .mobile-menu a {
        color: var(--white);
        font-weight: 800;
    }

    .hero-layout,
    .page-hero-grid,
    .split,
    .split-reverse,
    .section-heading,
    .contact-layout,
    .coming-soon,
    .legal-shell,
    .media-panel {
        grid-template-columns: 1fr;
    }

    .home-hero,
    .page-hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .hero-portrait,
    .page-hero-visual,
    .page-hero-panel {
        max-width: 560px;
    }

    .split-reverse .split-media {
        order: initial;
    }

    .split-media {
        min-height: 420px;
    }

    .image-main {
        width: 100%;
    }

    .trust-grid,
    .issue-grid,
    .outcome-grid,
    .quote-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 640px) {
    h1,
    .page-hero-content h1 {
        max-width: 100%;
        font-size: 3.1rem;
    }

    h2 {
        font-size: 2.45rem;
    }

    h3 {
        font-size: 1.45rem;
    }

    .lead {
        font-size: 1rem;
    }

    .section {
        padding: 5rem 0;
    }

    .home-hero::after,
    .page-hero::after {
        background:
            linear-gradient(to top, var(--black), rgba(74, 38, 56, 0.78), rgba(0, 0, 0, 0.18)),
            linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.3));
    }

    .hero-layout,
    .page-hero-grid {
        gap: 2.2rem;
    }

    .hero-portrait {
        display: none;
    }

    .button-row,
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .service-grid,
    .process-grid,
    .issue-grid,
    .outcome-grid,
    .quote-grid,
    .recognition-strip,
    .trust-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .recognition-card {
        min-height: 360px;
    }

    .service-card-content,
    .endorsement-copy,
    .media-panel-content,
    .coming-soon-copy,
    .legal-content,
    form.enquiry-form {
        padding: 1.5rem;
    }

    .media-panel > .media-play-card,
    .image-main img,
    .coming-soon-image img {
        min-height: 340px;
    }

    .page-hero-panel blockquote {
        font-size: 1.55rem;
    }

    .hero-phone,
    .big-phone {
        font-size: 2.25rem;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* Enquiry form */
.form-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.enquiry-form {
    position: relative;
}

.form-status:empty {
    display: none;
}

.form-status.is-success,
.form-status.is-error {
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--orange);
    border-radius: var(--radius-sm);
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 700;
}

.form-status.is-success {
    border-left-color: #2f7d4f;
    background: rgba(47, 125, 79, 0.12);
}

.form-status.is-error {
    background: rgba(224, 121, 46, 0.14);
}

.enquiry-form button[disabled] {
    cursor: progress;
    opacity: 0.7;
}

