/* =============================================================================
   Equitas Mediation — design system
   Palette sampled from the existing logo so this reads as the same practice.
   ========================================================================== */

:root {
    /* Brand */
    --ink: #142933;
    --ink-soft: #22404e;
    --teal: #08647c;
    --teal-dark: #054e61;
    --teal-light: #e6f0f3;
    --cream: #faf7f2;
    --sand: #ede7de;
    --sand-dark: #ddd3c6;
    --body: #3d4a52;
    --muted: #6b7a83;
    --white: #ffffff;
    --gold: #b08442;

    --success-bg: #e8f3ec;
    --success-fg: #1d6b3d;
    --error-bg: #fdeceb;
    --error-fg: #a8261d;

    /* Type */
    --font-display: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;

    /* Spacing scale */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.5rem;
    --s-6: 2rem;
    --s-7: 3rem;
    --s-8: 4rem;
    --s-9: 5rem;
    --s-10: 7rem;

    /* Layout */
    --wrap: 1200px;
    --wrap-text: 720px;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(20, 41, 51, .06), 0 2px 8px rgba(20, 41, 51, .05);
    --shadow: 0 2px 6px rgba(20, 41, 51, .06), 0 12px 32px rgba(20, 41, 51, .08);
    --shadow-lg: 0 4px 12px rgba(20, 41, 51, .08), 0 24px 60px rgba(20, 41, 51, .12);

    --header-h: 76px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* -----------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--body);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 var(--s-4);
    font-weight: 600;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
}

h2 {
    font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.6rem);
}

h3 {
    font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
}

h4 {
    font-size: 1.0625rem;
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    margin: 0 0 var(--s-4);
    text-wrap: pretty;
}

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

a {
    color: var(--teal);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

a:hover {
    color: var(--teal-dark);
}

ul,
ol {
    margin: 0 0 var(--s-4);
    padding-left: 1.25rem;
}

li+li {
    margin-top: var(--s-2);
}

hr {
    border: 0;
    border-top: 1px solid var(--sand-dark);
    margin: var(--s-7) 0;
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
    border-radius: 3px;
}

::selection {
    background: var(--teal);
    color: #fff;
}

/* -----------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.wrap--text {
    max-width: var(--wrap-text);
}

.section {
    padding-block: clamp(3.25rem, 7vw, 6.5rem);
}

.section--tight {
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

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

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

.section--ink {
    background: var(--ink);
    color: #d5dfe4;
}

.section--ink h2,
.section--ink h3 {
    color: #fff;
}

.section-head {
    max-width: 46rem;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head p {
    color: var(--muted);
    font-size: 1.075rem;
    margin-bottom: 0;
}

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: var(--s-3);
}

.section--ink .eyebrow {
    color: #6fb3c6;
}

.lede {
    font-size: clamp(1.075rem, 1rem + .4vw, 1.25rem);
    color: var(--ink-soft);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: var(--s-3) var(--s-5);
    z-index: 200;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
}

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

/* -----------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: .85rem 1.6rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease),
        border-color .2s var(--ease), transform .12s var(--ease),
        box-shadow .2s var(--ease);
}

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

.btn--primary {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    box-shadow: 0 2px 10px rgba(8, 100, 124, .28);
}

.btn--primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: #fff;
    box-shadow: 0 4px 18px rgba(8, 100, 124, .34);
}

.btn--secondary {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

.btn--secondary:hover {
    background: var(--ink);
    color: #fff;
}

.btn--ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

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

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

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

.btn--sm {
    padding: .6rem 1.15rem;
    font-size: .9375rem;
}

.btn--block {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    align-items: center;
}

.btn-note {
    font-size: .875rem;
    color: var(--muted);
    margin: var(--s-3) 0 0;
}

/* -----------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 242, .92);
    backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.site-header.is-stuck {
    border-bottom-color: var(--sand-dark);
    box-shadow: 0 2px 20px rgba(20, 41, 51, .07);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
    min-height: var(--header-h);
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    width: auto;
    height: 42px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--ink);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .22s var(--ease), opacity .16s linear;
}

.nav-toggle__bars {
    position: relative;
}

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

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

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

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

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

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

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--s-6);
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: var(--s-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__links li {
    margin: 0;
}

.site-nav__links a {
    position: relative;
    color: var(--ink);
    font-weight: 500;
    font-size: .9875rem;
    text-decoration: none;
    padding-block: var(--s-2);
}

.site-nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--ease);
}

.site-nav__links a:hover::after,
.site-nav__links a[aria-current="page"]::after {
    transform: scaleX(1);
}

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

.site-nav__cta {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.header-tel {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    color: var(--ink);
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
    white-space: nowrap;
}

.header-tel:hover {
    color: var(--teal);
}

.header-tel svg {
    width: 17px;
    height: 17px;
    flex: none;
}

/* -----------------------------------------------------------------------------
   Hero — text first. The headline, subhead, CTAs and trust bar all sit above
   the fold on a 360px viewport; the image never crowds them out.
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink);
    color: #d5dfe4;
    text-align: center;
    padding-block: clamp(4.5rem, 11vw, 8rem);
}

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

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .25;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(20, 41, 51, .82), rgba(20, 41, 51, .92));
}

.hero__content {
    max-width: 56rem;
    margin-inline: auto;
}

.hero h1 {
    color: #fff;
    margin-bottom: var(--s-4);
}

.hero h1 em {
    font-style: normal;
    color: #7fc3d6;
}

.hero__lede {
    font-size: clamp(1.075rem, 1rem + .45vw, 1.3rem);
    color: #c2d0d7;
    max-width: 48rem;
    margin-inline: auto;
    margin-bottom: var(--s-6);
}

.hero .btn-row {
    justify-content: center;
}

.hero .btn-note {
    color: #93a6af;
    margin-top: var(--s-4);
}

/* Trust bar */
.trust {
    border-block: 1px solid var(--sand-dark);
    background: var(--white);
}

.trust__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-4);
    list-style: none;
    margin: 0;
    padding: var(--s-5) 0;
}

.trust__list li {
    margin: 0;
    text-align: center;
    padding-inline: var(--s-3);
    border-left: 1px solid var(--sand);
}

.trust__list li:first-child {
    border-left: 0;
}

.trust__list strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ink);
    line-height: 1.2;
}

.trust__list span {
    font-size: .8125rem;
    color: var(--muted);
    line-height: 1.4;
    display: block;
}

/* -----------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid {
    display: grid;
    gap: clamp(1.15rem, 2.5vw, 1.85rem);
}

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

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

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

.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.15rem);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease),
        border-color .22s var(--ease);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--sand-dark);
}

.card h3 {
    margin-bottom: var(--s-3);
}

.card p:last-child {
    margin-bottom: 0;
    color: var(--body);
}

/* Push the trailing link to the bottom so cards in a row line up. */
.card>.card__link {
    margin-top: auto;
    align-self: flex-start;
    padding-top: var(--s-4);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--teal-light);
    color: var(--teal);
    margin-bottom: var(--s-4);
}

.card__icon svg {
    width: 25px;
    height: 25px;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: var(--s-4);
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
}

.card__link::after {
    content: "→";
    transition: transform .2s var(--ease);
}

.card__link:hover::after {
    transform: translateX(3px);
}

/* Process steps */
.steps {
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: var(--s-5);
    border-top: 3px solid var(--sand-dark);
}

.step--active {
    border-top-color: var(--teal);
}

.step__no {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: .08em;
    display: block;
    margin-bottom: var(--s-2);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: var(--s-2);
}

.step p {
    font-size: .96rem;
    margin-bottom: 0;
}

/* Benefit tiles */
.benefit {
    display: flex;
    gap: var(--s-4);
    align-items: flex-start;
}

.benefit__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #7dc0d2;
}

.benefit__icon svg {
    width: 21px;
    height: 21px;
}

.benefit h3 {
    font-size: 1.1rem;
    margin-bottom: var(--s-1);
}

.benefit p {
    font-size: .95rem;
    margin-bottom: 0;
    color: #b9c7ce;
}

/* Split feature */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

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

.split__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.split__media--portrait img {
    aspect-ratio: 3 / 4;
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--s-5);
}

.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-top: var(--s-3);
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308647c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .72rem no-repeat;
}

/* -----------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq {
    max-width: 52rem;
    margin-inline: auto;
}

.faq__item {
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    margin-bottom: var(--s-3);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.faq__item[open] {
    border-color: var(--sand-dark);
    box-shadow: var(--shadow-sm);
}

.faq__q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--s-4);
    padding: clamp(1.05rem, 2.4vw, 1.4rem) clamp(1.15rem, 3vw, 1.75rem);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: clamp(1.02rem, .98rem + .25vw, 1.17rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    list-style: none;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q:hover {
    color: var(--teal);
}

.faq__q::after {
    content: "";
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: .15rem;
    border-radius: 50%;
    background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308647c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / .78rem no-repeat;
    transition: transform .25s var(--ease);
}

.faq__item[open] .faq__q::after {
    transform: rotate(180deg);
}

.faq__a {
    padding: 0 clamp(1.15rem, 3vw, 1.75rem) clamp(1.15rem, 2.4vw, 1.5rem);
    color: var(--body);
}

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

/* -----------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    isolation: isolate;
    background: var(--ink);
    color: #d5dfe4;
    text-align: center;
    overflow: hidden;
}

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

.cta-band__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(20, 41, 51, .88), rgba(20, 41, 51, .94));
}

.cta-band h2 {
    color: #fff;
}

.cta-band p {
    max-width: 42rem;
    margin-inline: auto;
    color: #c2d0d7;
}

.cta-band .btn-row {
    justify-content: center;
    margin-top: var(--s-6);
}

.cta-band .btn-note {
    color: #93a6af;
}

/* -----------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.post-card__media {
    display: block;
    background: var(--sand);
}

.post-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.post-card__body {
    padding: clamp(1.25rem, 2.5vw, 1.65rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    font-size: .8125rem;
    color: var(--muted);
    margin-bottom: var(--s-3);
}

.post-card__meta time {
    white-space: nowrap;
}

.post-card h3 {
    font-size: 1.22rem;
    margin-bottom: var(--s-3);
}

.post-card h3 a {
    color: inherit;
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--teal);
}

.post-card p {
    font-size: .95rem;
    margin-bottom: var(--s-4);
}

.post-card .card__link {
    margin-top: auto;
}

/* Article */
.article-hero {
    padding-block: clamp(2.25rem, 4.5vw, 3.75rem) 0;
}

.article-hero .breadcrumb {
    margin-bottom: var(--s-5);
}

.article-hero h1 {
    margin-bottom: var(--s-4);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2) var(--s-4);
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: var(--s-6);
}

.article-meta__author {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    color: var(--ink);
    font-weight: 600;
}

.article-meta__author img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
}

.article-meta__dot {
    color: var(--sand-dark);
}

.article-figure {
    margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.article-figure img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.prose {
    font-size: 1.075rem;
}

.prose>*+* {
    margin-top: var(--s-4);
}

.prose h2 {
    font-size: clamp(1.45rem, 1.28rem + .75vw, 1.9rem);
    margin-top: clamp(2.25rem, 4vw, 3rem);
    margin-bottom: var(--s-3);
    padding-top: var(--s-5);
    border-top: 1px solid var(--sand-dark);
}

.prose h3 {
    font-size: 1.2rem;
    margin-top: var(--s-6);
    margin-bottom: var(--s-2);
}

.prose ul,
.prose ol {
    padding-left: 1.35rem;
}

.prose li::marker {
    color: var(--teal);
}

.prose img {
    border-radius: var(--radius);
    margin-block: var(--s-5);
}

.prose blockquote {
    margin: var(--s-6) 0;
    padding: var(--s-2) 0 var(--s-2) var(--s-5);
    border-left: 3px solid var(--teal);
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ink);
}

.prose strong {
    color: var(--ink);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.prose th,
.prose td {
    border: 1px solid var(--sand-dark);
    padding: var(--s-3);
    text-align: left;
}

.prose th {
    background: var(--sand);
    color: var(--ink);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2);
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .85rem;
    color: var(--muted);
}

.breadcrumb li {
    margin: 0;
}

.breadcrumb li+li::before {
    content: "/";
    margin-right: var(--s-2);
    color: var(--sand-dark);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.breadcrumb [aria-current] {
    color: var(--ink);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--s-2);
    margin-top: var(--s-8);
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding-inline: var(--s-3);
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
}

.pagination a:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.pagination [aria-current="page"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* -----------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    box-shadow: var(--shadow-sm);
}

.field {
    margin-bottom: var(--s-5);
}

.field:last-of-type {
    margin-bottom: var(--s-6);
}

.field label {
    display: block;
    font-weight: 600;
    font-size: .9375rem;
    color: var(--ink);
    margin-bottom: var(--s-2);
}

.field .req {
    color: var(--teal);
}

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

.field .hint {
    display: block;
    font-weight: 400;
    font-size: .8125rem;
    color: var(--muted);
    margin-top: 2px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .8rem 1rem;
    background: var(--cream);
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    color: var(--ink);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}

.field textarea {
    min-height: 9.5rem;
    resize: vertical;
    line-height: 1.6;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(8, 100, 124, .14);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa8b0;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a83' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: .9rem;
    padding-right: 2.6rem;
}

.field--error input,
.field--error select,
.field--error textarea {
    border-color: var(--error-fg);
}

.field__error {
    display: block;
    color: var(--error-fg);
    font-size: .85rem;
    font-weight: 500;
    margin-top: var(--s-2);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4);
}

/* Honeypot — hidden from humans, visible to bots. */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    display: flex;
    gap: var(--s-3);
    padding: var(--s-4) var(--s-5);
    border-radius: var(--radius-sm);
    margin-bottom: var(--s-6);
    font-size: .95rem;
    line-height: 1.55;
}

.alert svg {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: .15rem;
}

.alert--success {
    background: var(--success-bg);
    color: var(--success-fg);
}

.alert--error {
    background: var(--error-bg);
    color: var(--error-fg);
}

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

/* Contact details panel */
.contact-detail {
    display: flex;
    gap: var(--s-4);
    align-items: flex-start;
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--sand-dark);
}

.contact-detail:last-child {
    border-bottom: 0;
}

.contact-detail__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    background: var(--teal-light);
    color: var(--teal);
}

.contact-detail__icon svg {
    width: 21px;
    height: 21px;
}

.contact-detail h3 {
    font-size: 1rem;
    font-family: var(--font-body);
    margin-bottom: 2px;
}

.contact-detail a {
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.contact-detail p {
    font-size: .875rem;
    color: var(--muted);
    margin: 2px 0 0;
}

/* -----------------------------------------------------------------------------
   Resources grid (About page)
   -------------------------------------------------------------------------- */

.resource {
    display: flex;
    gap: var(--s-4);
    padding: var(--s-5);
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: var(--radius);
}

.resource__no {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--teal);
    flex: none;
    padding-top: .1rem;
}

.resource h3 {
    font-size: 1.05rem;
    font-family: var(--font-body);
    margin-bottom: var(--s-1);
}

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

/* -----------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: #a9bcc5;
    padding-block: clamp(3rem, 6vw, 4.5rem) 0;
    font-size: .95rem;
}

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

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: var(--s-8);
}

.site-footer__logo-badge {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: var(--s-3) var(--s-4);
    margin-bottom: var(--s-4);
}

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

.site-footer__blurb {
    max-width: 24rem;
    font-size: .92rem;
    line-height: 1.65;
}

.site-footer h4 {
    color: #fff;
    font-size: .8125rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}

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

.site-footer li+li {
    margin-top: var(--s-3);
}

.social {
    display: flex;
    gap: var(--s-3);
    margin-top: var(--s-5);
}

.social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.social a:hover {
    background: var(--teal);
    border-color: var(--teal);
}

.social svg {
    width: 18px;
    height: 18px;
}

/* "Get in touch" list — icon badge + label, matching the .social visual language */
.footer-contact li {
    display: flex;
}

.footer-contact li+li {
    margin-top: var(--s-4);
}

.footer-contact a,
.footer-contact__static {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    color: #d5dfe4;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover .footer-contact__icon {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}

.footer-contact__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #d5dfe4;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.footer-contact__icon svg {
    width: 15px;
    height: 15px;
}

.footer-contact__static {
    font-size: .92rem;
}

.site-footer__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-4);
    padding-block: var(--s-5);
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .85rem;
    color: #8299a4;
}

.site-footer__bar p {
    margin: 0;
}

/* -----------------------------------------------------------------------------
   Mobile sticky action bar
   -------------------------------------------------------------------------- */

.action-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--sand-dark);
    box-shadow: 0 -2px 18px rgba(20, 41, 51, .09);
    padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
}

.action-bar__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-2);
}

.action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: .5rem .25rem;
    border-radius: var(--radius-sm);
    font-size: .7rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    letter-spacing: .01em;
}

.action-bar a svg {
    width: 19px;
    height: 19px;
}

.action-bar a.is-primary {
    background: var(--teal);
    color: #fff;
}

/* =============================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

@media (max-width: 900px) {

    .split,
    .split--reverse {
        grid-template-columns: 1fr;
    }

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

    .split__media {
        max-width: 32rem;
    }

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

    .trust__list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--s-5) var(--s-4);
    }

    .trust__list li:nth-child(odd) {
        border-left: 0;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        display: block;
        background: var(--cream);
        border-bottom: 1px solid var(--sand-dark);
        box-shadow: 0 18px 40px rgba(20, 41, 51, .12);
        padding: var(--s-5) clamp(1.15rem, 4vw, 2.5rem) var(--s-6);
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .site-nav__links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav__links li {
        border-bottom: 1px solid var(--sand-dark);
    }

    .site-nav__links a {
        display: block;
        padding: var(--s-4) 0;
        font-size: 1.075rem;
    }

    .site-nav__links a::after {
        display: none;
    }

    .site-nav__cta {
        flex-direction: column;
        align-items: stretch;
        margin-top: var(--s-5);
    }

    .site-nav__cta .btn {
        width: 100%;
    }

    .header-tel {
        justify-content: center;
        padding: var(--s-3);
    }

    /* Leave room for the sticky action bar. */
    body {
        padding-bottom: 68px;
    }

    .action-bar {
        display: block;
    }
}

@media (max-width: 680px) {

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

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

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--s-6);
    }

    .site-footer__bar {
        justify-content: center;
        text-align: center;
    }

    .article-figure img {
        aspect-ratio: 3 / 2;
    }

    .trust__list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .trust__list li {
        border-left: 0;
        padding-inline: 0;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .site-logo img {
        height: 34px;
    }

    .btn {
        padding: .8rem 1.25rem;
        font-size: .9375rem;
    }

    .btn-row .btn {
        width: 100%;
    }
}

/* -----------------------------------------------------------------------------
   Motion & print
   -------------------------------------------------------------------------- */

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {

    .site-header,
    .site-footer,
    .action-bar,
    .cta-band,
    .btn {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        padding: 0;
    }

    .prose {
        font-size: 11pt;
    }
}