:root {
    --colour01: #dd6e42;
    --colour02: #e8dab2;
    --colour03: #4f6d7a;
    --colour04: #c0d6df;
    --colour05: #eaeaea;
    --bkCol01: #08639d;
    --bkCol02: #31b6d3;
    --bkCol03: #5dbfd8;
    --bkCol04: #88cadb;
    --bkCol05: #cbe2ea;
    --bkCol06: #0293c6;
    --bkCol07: #02a6c7;
    --colourband: var(--bkCol02);
    --colText: var(--colour03);
    --radius: 12px;
    --shadow: 0 12px 40px rgba(8, 99, 157, 0.12);
    --max: 72rem;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--colText);
    background: #fff;
}

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

a {
    color: var(--bkCol06);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

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

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

.skip {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: var(--bkCol01);
    color: #fff;
    z-index: 1000;
}

.top-bar {
    background: var(--bkCol01);
    color: #fff;
    font-size: 0.9rem;
}

.top-bar__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.top-bar__inner .muted { margin-right: auto; }

.theme-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.theme-picker__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-picker__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.theme-picker__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    line-height: 1;
}

.theme-picker__link:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
    text-decoration: none;
}

.theme-picker__link.is-active {
    background: #fff;
    border-color: #fff;
    color: var(--bkCol01);
}

.top-bar a { color: #fff; text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }

.site-header {
    background: linear-gradient(135deg, var(--bkCol06) 0%, var(--bkCol01) 55%, var(--bkCol02) 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow);
}

.site-header__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: block;
    max-width: min(100%, 24rem);
    text-decoration: none;
    color: inherit;
}

.brand__logo {
    width: 100%;
    max-width: 23rem;
    max-height: 4rem;
    object-fit: contain;
}

.slm {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.slm img {
    width: clamp(7rem, 16vw, 11rem);
    filter: drop-shadow(0 10px 16px rgba(8, 99, 157, 0.18));
}

.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.nav-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    color: #fff;
    font-size: 1.25rem;
}

.nav-burger:hover { background: rgba(255, 255, 255, 0.25); }

.primary-nav {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-toggle:focus-visible + .nav-burger {
    outline: 3px solid var(--colour01);
    outline-offset: 2px;
}

.nav-toggle:checked ~ .primary-nav {
    max-height: 28rem;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0 1rem;
}

.primary-nav > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.primary-nav a {
    display: block;
    padding: 0.65rem 0;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.primary-nav a:hover { color: var(--colour02); }

.primary-nav .submenu {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0 0 0 1rem;
    border-left: 2px solid var(--bkCol04);
}

.primary-nav .submenu a {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    color: var(--bkCol05);
}

@media (min-width: 960px) {
    .nav-burger { display: none; }

    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        align-items: end;
    }

    .slm { align-self: center; }

    .primary-nav {
        grid-column: 2;
        max-height: none;
        overflow: visible;
        justify-self: center;
    }

    .primary-nav > ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem 1.5rem;
        padding: 0;
    }

    .primary-nav > ul > li {
        position: relative;
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .primary-nav > ul > li > a { padding: 0.35rem 0; }

    .primary-nav .submenu {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        background: var(--bkCol01);
        min-width: 16rem;
        padding: 0.75rem;
        margin: 0;
        border-left: none;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .primary-nav > ul > li:hover .submenu,
    .primary-nav > ul > li:focus-within .submenu {
        display: block;
    }

    .primary-nav .submenu a {
        padding: 0.4rem 0;
        color: #fff;
    }
}

.hero {
    background: linear-gradient(180deg, var(--colour05) 0%, #fff 100%);
    padding: clamp(2rem, 5vw, 4rem) 1.25rem 2rem;
}

.hero__inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hero__inner {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero__kicker {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bkCol06);
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    line-height: 1.15;
    color: var(--bkCol01);
}

.hero__lead {
    margin: 0 0 1.5rem;
    font-size: 1.15rem;
    color: var(--colour03);
    max-width: 38ch;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
    background: var(--colour01);
    color: #fff;
    box-shadow: 0 4px 14px rgba(221, 110, 66, 0.35);
}

.btn--primary:hover { color: #fff; filter: brightness(1.05); }

.btn--ghost {
    background: transparent;
    color: var(--bkCol01);
    border-color: var(--bkCol04);
}

.btn--ghost:hover {
    background: var(--colour05);
    color: var(--bkCol01);
}

.hero__visual {
    border-radius: var(--radius);
    background: linear-gradient(145deg, #f4fcff 0%, #ffffff 45%, var(--bkCol05) 100%);
    box-shadow: var(--shadow);
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem 1.5rem 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero__visual::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: calc(var(--radius) - 4px);
    background:
        radial-gradient(circle at 25% 25%, rgba(2, 166, 199, 0.22), transparent 28%),
        radial-gradient(circle at 78% 18%, rgba(221, 110, 66, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 246, 250, 0.72));
    z-index: -2;
}

.hero__visual::after {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: rgba(2, 147, 198, 0.12);
    z-index: -1;
}

.hero__portrait {
    width: min(100%, 28rem);
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.hero__stamp {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    width: min(40%, 11rem);
    padding: 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(8, 99, 157, 0.14);
}

.hero__stamp img {
    width: 100%;
    height: auto;
}

.stats {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.25rem 2.5rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .stats { grid-template-columns: repeat(3, 1fr); }
}

.stat-card {
    background: #fff;
    border: 1px solid var(--colour04);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(79, 109, 122, 0.08);
}

.stat-card strong {
    display: block;
    font-size: 1.75rem;
    color: var(--bkCol06);
    line-height: 1.2;
}

.stat-card span { font-size: 0.9rem; color: var(--colour03); }

.section {
    padding: 2.5rem 1.25rem;
}

.section--muted { background: var(--colour05); }

.section__inner {
    max-width: 48rem;
    margin: 0 auto;
}

.section__inner--wide {
    max-width: var(--max);
}

.section__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bkCol06);
}

.section__lead {
    margin: 0 0 1.5rem;
    max-width: 42rem;
    color: var(--colour03);
}

.section h2 {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    color: var(--bkCol01);
}

.highlight {
    background: var(--bkCol01);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
}

.highlight p:last-child { margin-bottom: 0; }

.highlight a { color: var(--colour02); }

.service-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 800px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.service-card {
    background: #fff;
    border: 1px solid var(--colour04);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(79, 109, 122, 0.08);
}

.service-card__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--colour01);
}

.service-card h3 {
    margin: 0 0 0.65rem;
    color: var(--bkCol01);
    font-size: 1.3rem;
}

.service-card p:last-of-type,
.service-card a:last-child {
    margin-bottom: 0;
}

.service-band__grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .service-band__grid {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .service-band--alt .service-band__grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.service-band__media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.service-band__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-band__panel {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--colour04);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.service-band__meta {
    margin: -0.2rem 0 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bkCol06);
}

.service-list {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
}

.service-list li + li {
    margin-top: 0.65rem;
}

.quote-card {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: calc(var(--radius) - 2px);
    background: var(--colour05);
}

.quote-card__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bkCol01);
}

.quote-card blockquote {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--colour03);
}

.showcase {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

.showcase__header {
    max-width: 42rem;
    margin-bottom: 1.5rem;
}

.showcase__header p {
    margin: 0;
    color: var(--colour03);
}

.showcase__grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 800px) {
    .showcase__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.showcase-card {
    background: #fff;
    border: 1px solid var(--colour04);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(79, 109, 122, 0.08);
}

.showcase-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.showcase-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.showcase-card:hover .showcase-card__media img {
    transform: scale(1.03);
}

.showcase-card__body {
    padding: 1.25rem;
}

.showcase-card__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bkCol06);
}

.showcase-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
    color: var(--bkCol01);
}

.showcase-card p:last-of-type {
    margin-bottom: 1rem;
}

.cta-row {
    max-width: var(--max);
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

.cta-grid {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 800px) {
    .cta-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.cta-art {
    border-radius: var(--radius);
    background: linear-gradient(160deg, #fff 0%, var(--colour05) 100%);
    display: grid;
    place-items: center;
    min-height: 200px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.cta-art img {
    width: min(100%, 18rem);
    height: auto;
    object-fit: contain;
}

.cta-card {
    background: #fff;
    border-radius: var(--radius);
    border: 2px solid var(--bkCol04);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.cta-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    color: var(--bkCol06);
}

.cta-card .tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--colour05);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bkCol01);
}

.cta-card__actions {
    margin-top: 1.25rem;
}

.note {
    font-size: 0.95rem;
    color: var(--colour03);
}

.about {
    background: linear-gradient(180deg, #fff 0%, var(--bkCol05) 100%);
    padding: 3rem 1.25rem;
}

.about__inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 800px) {
    .about__inner { grid-template-columns: 240px 1fr; }
}

.about__photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.about h2 {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    color: var(--bkCol01);
}

.site-footer {
    background: var(--bkCol01);
    color: #fff;
    padding: 2rem 1.25rem;
    font-size: 0.95rem;
}

.site-footer__inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.site-footer__copyright {
    margin: 0;
}

.social {
    display: flex;
    gap: 1rem;
}

.social a {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.social a:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

.muted { opacity: 0.85; }
