:root {
    --navy: #002664;
    --navy-deep: #001845;
    --ink: #172033;
    --muted: #4d5b6e;
    --orange: #f85a00;
    --orange-deep: #d24c00;
    --sand: #f4efe7;
    --paper: #fbf8f4;
    --white: #fffcf9;
    --line: #e2d9cc;
    --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --wrap: 1120px;
    --header: 6.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.6;
}

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

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

a:hover {
    color: var(--orange-deep);
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--navy);
}

h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.6rem, 5.4vw, 4.7rem);
}

h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
}

h3 {
    margin: 0 0 0.45rem;
    font-size: 1.45rem;
}

p {
    margin: 0 0 1rem;
}

ul, ol {
    margin: 0;
    padding: 0;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--navy);
    color: white;
    padding: 0.6rem 0.9rem;
    z-index: 20;
}

.skip:focus {
    top: 1rem;
    color: white;
}

.wrap {
    width: min(var(--wrap), calc(100% - 2.4rem));
    margin-inline: auto;
}

.narrow {
    width: min(760px, calc(100% - 2.4rem));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header);
}

.brand {
    display: flex;
    line-height: 0;
}

.brand img {
    width: 232px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.site-nav a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--orange-deep);
}

.nav-cta {
    background: var(--orange);
    color: #1c1008 !important;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 600 !important;
}

.nav-cta:hover,
.nav-cta.is-active {
    background: var(--orange-deep);
    color: #1c1008 !important;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--navy);
    background: transparent;
    color: var(--navy);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font: inherit;
    font-weight: 560;
    cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
    display: block;
    width: 1rem;
    height: 1.5px;
    background: var(--navy);
    position: relative;
}

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

.nav-toggle-lines::before { top: -5px; }
.nav-toggle-lines::after { top: 5px; }

.kicker {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 0.9rem;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 1.6rem;
    height: 2px;
    background: var(--orange);
    flex: none;
}

.kicker-light {
    color: #f4efe7;
}

.lede {
    max-width: 40rem;
    color: var(--muted);
    font-size: 1.18rem;
    line-height: 1.55;
}

.hero-carousel {
    position: relative;
    background: var(--navy-deep);
    color: #f7f3ee;
}

.hero-carousel-viewport {
    position: relative;
    min-height: 36rem;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    min-height: 36rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 18, 52, 0.92) 0%, rgba(0, 24, 69, 0.78) 46%, rgba(0, 24, 69, 0.28) 100%);
}

.hero-slide-copy {
    position: relative;
    z-index: 1;
    padding: 4.2rem 0 6.4rem;
}

.hero-slide h1,
.hero-slide .hero-title {
    max-width: 16ch;
    margin: 0 0 1rem;
    color: white;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2.4rem, 4.8vw, 4.15rem);
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.hero-slide .lede {
    color: #e4ebf4;
    max-width: 36rem;
}

.hero-carousel-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding-bottom: 1.15rem;
}

.hero-carousel-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.carousel-arrow,
.carousel-pause,
.carousel-dot {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 18, 52, 0.35);
    color: white;
    font: inherit;
    cursor: pointer;
}

.carousel-arrow,
.carousel-pause {
    min-height: 2.5rem;
    border-radius: 999px;
}

.carousel-arrow {
    width: 2.5rem;
    padding: 0;
}

.carousel-pause {
    padding: 0 0.9rem;
    margin-left: 0.3rem;
}

.carousel-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.carousel-dot {
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.86rem;
    font-weight: 500;
}

.carousel-dot.is-active,
.carousel-arrow:hover,
.carousel-pause:hover,
.carousel-dot:hover {
    background: white;
    color: var(--navy);
    border-color: white;
}

.carousel-dot.is-active {
    box-shadow: inset 0 -2px 0 var(--orange);
}

.hero-actions,
.prose-action {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.btn-accent {
    background: var(--orange);
    color: #1c1008;
}

.btn-accent:hover {
    background: var(--orange-deep);
    color: #1c1008;
}

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

.btn-ghost:hover {
    background: var(--navy);
    color: white;
}

.btn-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-light:hover {
    background: white;
    color: var(--navy);
}

.hero-panel {
    background: var(--navy);
    color: #f7f3ee;
    border-radius: 1.3rem;
    padding: 1.3rem 1.3rem 0.5rem;
    box-shadow: 0 20px 50px rgba(0, 24, 69, 0.16);
}

.panel-label {
    margin: 0 0 0.4rem;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f0b48a;
}

.hero-panel ol {
    list-style: none;
}

.hero-panel li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel a {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.8rem;
    row-gap: 0.15rem;
    padding: 0.85rem 0.4rem;
    color: white;
    text-decoration: none;
}

.hero-panel a span {
    grid-row: span 2;
    font-family: var(--serif);
    font-style: italic;
    color: var(--orange);
    font-size: 1.15rem;
}

.hero-panel a strong {
    font-weight: 560;
}

.hero-panel a small {
    color: #d5deea;
    font-size: 0.92rem;
    line-height: 1.4;
}

.hero-panel a:hover strong {
    color: #ffd0b0;
}

.statement {
    padding: 2.2rem 0;
    border-bottom: 1px solid var(--line);
}

.statement p {
    margin: 0;
    max-width: 48rem;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    line-height: 1.35;
    color: var(--navy);
}

.section {
    padding: 4.5rem 0;
}

.section-tight {
    padding-top: 0.5rem;
}

.section-note {
    padding: 1.6rem 0 0;
}

.section-sand {
    background: var(--sand);
}

.section-navy {
    background: var(--navy-deep);
    color: #e7edf5;
}

.section-navy h2,
.section-navy h3,
.section-navy a {
    color: white;
}

.section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin-bottom: 2.2rem;
    align-items: end;
}

.section-head .kicker,
.section-head h2 {
    grid-column: 1;
}

.section-head p:last-child {
    margin: 0;
    color: var(--muted);
}

.section-navy .section-head p:last-child,
.insight-band > div > p {
    color: #c9d4e3;
}

.practice-index,
.shape-grid,
.scenario-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.practice-card,
.scenario,
.shape-grid article,
.service-item,
.article-index article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.3rem 1.35rem 1.2rem;
}

.section-sand .practice-card,
.section-sand .shape-grid article,
.section-sand .scenario {
    background: var(--white);
}

.practice-number {
    margin: 0 0 0.6rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--orange-deep);
}

.practice-card h3 a,
.service-item h3 a,
.article-index h2 a,
.insight-list a {
    color: inherit;
    text-decoration: none;
}

.practice-card h3 a:hover,
.service-item h3 a:hover,
.article-index h2 a:hover,
.insight-list a:hover {
    color: var(--orange-deep);
}

.practice-card ul,
.side-card ul,
.site-footer ul {
    list-style: none;
}

.practice-card li + li,
.side-card li + li {
    margin-top: 0.35rem;
}

.practice-card a,
.side-card a {
    text-decoration: none;
}

.practice-card a:hover,
.side-card a:hover,
.site-footer a:hover {
    text-decoration: underline;
}

.text-link {
    font-weight: 600;
    text-underline-offset: 0.22em;
}

.scenario h3,
.shape-grid h3 {
    font-size: 1.55rem;
}

.meta {
    margin: 0 0 0.45rem;
    color: var(--orange-deep);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.split-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: end;
}

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

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    counter-reset: none;
}

.steps li {
    padding-top: 0.9rem;
    border-top: 2px solid var(--navy);
}

.steps span {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    color: var(--orange-deep);
    margin-bottom: 0.4rem;
}

.steps strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.45rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.steps-large {
    grid-template-columns: 1fr 1fr;
}

.steps-large li {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 2px solid var(--navy);
    border-radius: 1rem;
    padding: 1.2rem;
}

.insight-band {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
}

.insight-list article + article {
    margin-top: 1.3rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.insight-list .meta {
    color: #f0b48a;
}

.cta-band {
    background: var(--sand);
    border-top: 1px solid var(--line);
    padding: 3.2rem 0;
}

.cta-band .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.cta-band h2 {
    margin: 0;
    max-width: 38rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.cta-band-photo .wrap {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    align-items: center;
}

.cta-figure {
    margin: 0;
    position: relative;
    border-radius: 1.15rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 24, 69, 0.12);
}

.cta-figure::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--orange);
    z-index: 1;
}

.cta-figure img {
    display: block;
    width: 100%;
    height: 18rem;
    max-width: none;
    object-fit: cover;
}

.cta-copy .btn {
    margin-top: 1.3rem;
}

.page-hero {
    padding: 2.4rem 0;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, #fffdfb, var(--paper));
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
    gap: 2rem 2.5rem;
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.45rem);
}

.page-hero-figure {
    margin: 0;
    position: relative;
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 24, 69, 0.12);
}

.page-hero-figure::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--orange);
    z-index: 1;
}

.page-hero-figure img {
    display: block;
    width: 100%;
    height: 17rem;
    max-width: none;
    object-fit: cover;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.crumbs a {
    text-decoration: none;
    font-weight: 500;
}

.boundary-note {
    background: var(--white);
    border-left: 3px solid var(--orange);
    border-radius: 0 0.8rem 0.8rem 0;
    padding: 1rem 1.2rem;
}

.boundary-note p {
    margin: 0;
}

.group-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.group-head .practice-number {
    font-size: 2rem;
    margin: 0;
}

.service-list {
    display: grid;
    gap: 0.8rem;
}

.service-layout,
.about-grid,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
    gap: 2.5rem;
    align-items: start;
}

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

.prose ul,
.prose ol {
    margin: 0 0 1rem 1.15rem;
}

.prose li + li {
    margin-top: 0.45rem;
}

.outcome {
    font-size: 1.2rem;
    color: var(--navy);
}

.callout {
    margin: 1.5rem 0;
    padding: 1rem 1.1rem;
    background: #fff4ec;
    border-radius: 0.8rem;
}

.callout p {
    margin: 0;
}

.side-card {
    position: sticky;
    top: calc(var(--header) + 1rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.15rem 1.2rem;
}

.side-card-static {
    position: static;
}

.side-card .footer-heading,
.site-footer .footer-heading {
    margin: 0 0 0.7rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--orange-deep);
}

.side-card li span {
    font-weight: 600;
}

.fact-list {
    list-style: none;
}

.fact-list li {
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
}

.fact-list span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.prose-page {
    width: min(740px, 100%);
}

.plain-list {
    list-style: none;
    margin-left: 0 !important;
}

.plain-list li + li {
    margin-top: 0.9rem;
}

.article-index {
    display: grid;
    gap: 1rem;
}

.article-index article {
    padding: 1.5rem 1.5rem 1.3rem;
}

.article-index h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.enquiry-form {
    display: grid;
    gap: 1rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field label {
    font-weight: 560;
    color: var(--navy);
}

.field label span,
.fine {
    color: var(--muted);
    font-weight: 400;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cfc4b4;
    background: white;
    color: var(--ink);
    border-radius: 0.7rem;
    padding: 0.75rem 0.8rem;
    font: inherit;
}

textarea {
    resize: vertical;
    min-height: 9rem;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.field-check {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.7rem;
}

.field-check input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.25rem;
}

.field-error {
    margin: 0;
    color: #8d1d00;
    font-size: 0.92rem;
}

.alert {
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.alert p {
    margin: 0;
}

.alert-success {
    background: #e8f4ea;
    color: #12361a;
}

.alert-error {
    background: #fff0ea;
    color: #6d1a00;
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.site-footer {
    background: var(--navy);
    color: #d5deea;
    padding: 3rem 0 1.2rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-name {
    margin: 0 0 0.3rem;
    color: white;
    font-family: var(--serif);
    font-size: 1.6rem;
}

.footer-base {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-base p,
.fine {
    margin: 0;
    font-size: 0.92rem;
}

@media (max-width: 900px) {
    .page-hero-grid,
    .section-head,
    .practice-index,
    .shape-grid,
    .scenario-grid,
    .split-intro,
    .steps,
    .steps-large,
    .insight-band,
    .service-layout,
    .about-grid,
    .contact-layout,
    .footer-grid,
    .field-row {
        grid-template-columns: 1fr;
    }

    .cta-band .wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-band-photo .wrap {
        grid-template-columns: 1fr;
    }

    .cta-figure img {
        height: 14rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 0.4rem 1.2rem 1rem;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.8rem 0;
        border-top: 1px solid var(--line);
    }

    .nav-cta {
        margin-top: 0.6rem;
        text-align: center;
    }

    .side-card {
        position: static;
    }

    .header-bar {
        min-height: 5.2rem;
    }

    .brand img {
        width: 180px;
    }
}

@media (max-width: 640px) {
    .wrap,
    .narrow {
        width: min(var(--wrap), calc(100% - 1.5rem));
    }

    .section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2.35rem;
    }

    .hero-carousel-viewport,
    .hero-slide {
        min-height: 34rem;
    }

    .hero-slide-copy {
        padding-top: 2.4rem;
    }

    .carousel-dot {
        padding-inline: 0.55rem;
    }

    .page-hero-figure img {
        height: 12.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-slide { transition: none; }
}
