/* latin */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400, 600, 700;
  src: url(https://fonts.gstatic.com/s/mulish/v18/1Ptvg83HX_SGhgqk3wot.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 400, 600, 700;
  src: url(https://fonts.gstatic.com/s/mulish/v18/1Pttg83HX_SGhgqk2jovaqQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400, 600, 700;
  src: url(https://fonts.gstatic.com/s/mulish/v18/1Ptvg83HX_SGhgqk0QotcqA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin-ext */
@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 400, 600, 700;
  src: url(https://fonts.gstatic.com/s/mulish/v18/1Pttg83HX_SGhgqk2johaqRXBA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Design tokens --- */
:root {
    /* Olive + warm clay palette (olive #8b9e7e from the reference site) */
    --c-bg: #f2e7d6;
    /* Warm clay page background */
    --c-surface: #ffffff;
    /* Cards / panels */
    --c-sage: #ecd9c5;
    /* Clay panel tint */
    --c-sage-deep: #e0cbb0;
    /* Deeper clay panel */
    --c-primary: #8b9e7e;
    /* Keynote olive — header + buttons */
    --c-primary-dark: #77896a;
    /* Olive hover / active */
    --c-primary-ink: #3c4a2e;
    /* Deep olive — headings, footer, dark bands */
    --c-accent: #c56129;
    /* Soft burnt orange */
    --c-accent-soft: #f4e0cd;
    /* Orange-clay tint */
    --c-text: #2f2a22;
    /* Primary text (warm near-black) */
    --c-muted: #5f5545;
    /* Secondary text */
    --c-border: #e6d9c2;
    /* Warm clay border */
    --c-border-sage: #dcc9ae;
    /* Clay panel border */
    --c-focus: #7a4a12;
    /* high-contrast focus ring */

    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 1px 2px rgba(33, 59, 52, .04), 0 8px 28px rgba(33, 59, 52, .07);
    --shadow-sm: 0 1px 3px rgba(33, 59, 52, .08);

    --maxw: 1140px;
    --gap: clamp(1.25rem, 3vw, 2.5rem);

    --font-body: "Mulish", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    --font-head: var(--font-body);
}

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

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(75px + 5.5rem);
    /*scrollbar-gutter: stable;*/
}

[hidden] {
    display: none !important;
}

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

    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    /* ~17px base for comfortable reading */
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

picture {
    line-height: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--c-primary-ink);
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 .5em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p {
    margin: 0 0 1.1rem;
    max-width: 68ch;
}

a, .link {
    color: var(--c-primary-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover, .link:hover {
    color: var(--c-primary);
}

.link {
    cursor: pointer;
}

address {
    font-style: normal;
}

/* Accessible focus for everything */
:focus-visible {
    outline: 3px solid var(--c-focus);
    outline-offset: 2px;
    border-radius: 4px;
}

hr {
    border: 0;
    border-top: 1px solid var(--c-border);
    margin: 1.5rem 0;
}

/* ---- Layout helpers ----------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 4vw, 2rem);
}

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

.section--sage {
    background: var(--c-sage);
}

.section--deep {
    background: var(--c-primary-ink);
    color: #f3f4ee;
}

.section--deep h2,
.section--deep h3 {
    color: #ffffff;
}

.section--accent {
    background: var(--c-accent-soft);
}

.section-head {
    max-width: 60ch;
    margin-bottom: clamp(1.5rem, 4vw, 2.6rem);
}

.section-head .eyebrow {
    margin-bottom: .6rem;
}

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

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.section--deep .eyebrow {
    color: #bfe0d3;
}

.lead {
    font-size: 1.18rem;
    color: var(--c-muted);
}

.section--deep .lead {
    color: #dcebe3;
}

/* ---- Skip link ------- */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    background: var(--c-primary-ink);
    color: #fff;
    padding: .75rem 1.1rem;
    border-radius: 8px;
    z-index: 1000;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* ---- Buttons --------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    padding: .85rem 1.5rem;
    border-radius: 999px;
    border: 2px solid transparent;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    min-height: 48px;
    /* generous touch target */
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--c-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--c-primary-dark);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--c-primary-ink);
    border-color: var(--c-border-sage);
}

.btn-ghost:hover {
    background: var(--c-sage);
    color: var(--c-primary-ink);
}

.btn-subtle {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border: none;
}

.btn-on-dark {
    background: #fff;
    color: var(--c-primary-ink);
}

.btn-on-dark:hover {
    background: var(--c-sage);
    color: var(--c-primary-ink);
}

.btn-lg {
    font-size: 1.08rem;
    padding: 1rem 1.9rem;
}

/* Disabled states */
.btn:disabled,
.btn.is-disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none; 
}

.btn-primary:disabled,
.btn-primary.is-disabled,
.btn-primary[aria-disabled="true"] {
    background: var(--c-primary);
    color: #fff;
}

.btn-ghost:disabled,
.btn-ghost.is-disabled,
.btn-ghost[aria-disabled="true"] {
    background: transparent;
    color: var(--c-primary-ink);
    border-color: var(--c-border-sage);
}

.btn-on-dark:disabled,
.btn-on-dark.is-disabled,
.btn-on-dark[aria-disabled="true"] {
    background: #fff;
    color: var(--c-primary-ink);
}

/* ---- Header / nav ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-primary);
    /* olive title bar */
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding-block: .7rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex: none;
    text-decoration: none;
    color: #fff;
}

.brand .mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex: none;
    background: var(--c-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.2rem;
}

.brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand .brand-name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.25rem;
}

.brand .brand-sub {
    font-size: .74rem;
    color: var(--c-muted);
    letter-spacing: .01em;
}

.brand .logo {
    height: 50px;
    width: auto;
    flex: none;
    display: block;
}

.footer-brand .logo {
    height: 48px;
    width: auto;
    display: block;
    margin-bottom: .4rem;
}

.primary-nav ul {
    display: flex;
    gap: .3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    display: inline-block;
    padding: .55rem .5rem;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .96rem;
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav .current a,
.primary-nav .current-menu-item>a {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: .6rem;
    /*width: 100%;*/
}

.btn-phone {
    white-space: nowrap;
}

/* On the olive header, the phone button uses the deep-olive tone so it reads */
.site-header .btn-phone {
    background: var(--c-primary-ink);
    color: #fff;
}

.site-header .btn-phone:hover {
    background: #2e3925;
    color: #fff;
}

.btn.quick-exit {
    font-size: .9rem;
    background: var(--c-accent-soft);
    color: #8a3f1d;
    border: 1px solid #e6c6b4;
    padding: .55rem .9rem;
    min-height: 40px;
    gap: .4rem;
}

.btn.quick-exit:hover {
    background: #ecd6c9;
}

/* Prominent feedback pill in the header (funder requirement) */
.btn.feedback-pill {
    gap: .4rem;
    background: var(--c-accent);
    border: none;
    color: #fff;
    font-size: .9rem;
    padding: .55rem .95rem;
    min-height: 40px;
}

.btn.feedback-pill:hover {
    background: #a84e20;
    color: #fff;
}

.btn.feedback-pill .icon {
    width: 1.05em;
    height: 1.05em;
}

/* On wide screens the inline nav + both pills don't fit; Quick exit collapses
   here (the Esc-twice shortcut still works) but stays visible on touch/smaller
   screens where the nav is a menu and there is room. */
@media (min-width: 1121px) {
    .quick-exit {
        display: none;
    }
}

.nav-backdrop {
    display: none;
}

.nav-toggle {
    display: none;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    width: 46px;
    height: 46px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* ---- Full-width image banner (home) ------------------------------------- */
.home-banner {
    height: clamp(120px, 16vw, 150px);
    /* ~2x the nav height */
    background: var(--c-sage-deep);
    background-image: radial-gradient(circle at 30% 30%, #e3decb 0, transparent 55%),
        radial-gradient(circle at 78% 75%, #efdcc4 0, transparent 50%);
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--c-border);
}

.home-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-banner__note {
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-muted);
    opacity: .75;
}

/* ---- Hero ------------ */
.hero {
    position: relative;
    background: var(--c-sage);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
    padding-block: clamp(2.5rem, 6vw, 4rem);
}

.hero-copy {
    max-width: 62ch;
}

.hero h1 {
    margin-bottom: .6rem;
}

.hero .lead {
    max-width: 62ch;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.6rem;
}

.hero-reassure {
    margin-top: 1.5rem;
    font-size: .98rem;
    color: var(--c-muted);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.hero-art {
    background: var(--c-sage-deep);
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    background-image: radial-gradient(circle at 30% 25%, #dfe3cf 0, transparent 45%),
        radial-gradient(circle at 75% 80%, #f0dcc4 0, transparent 40%);
    position: relative;
}

.hero-art span {
    font-family: var(--font-head);
    color: var(--c-primary);
    font-size: 1.05rem;
    opacity: .7;
    padding: 1rem;
    text-align: center;
}

/* ---- Cards / grids --- */
.grid {
    display: grid;
    gap: var(--gap);
}

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

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

.card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.card h3 {
    margin-top: .4rem;
}

.card p {
    color: var(--c-muted);
    margin-bottom: 1rem;
}

.card .card-link {
    margin-top: auto;
    font-weight: 700;
    text-decoration: none;
}

.card .card-link::after {
    content: " →";
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex: none;
    background: var(--c-sage);
    color: var(--c-primary);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

/* Ambient image slots (swap the .placeholder for an <img> when ready) */
.img-slot {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--c-sage-deep) 0%, var(--c-sage) 55%, var(--c-accent-soft) 100%);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    min-height: 220px;
}

.img-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-slot .placeholder {
    text-align: center;
    padding: 1.5rem;
}

.img-slot .placeholder .ph-icon {
    font-size: 2rem;
    opacity: .55;
}

.img-slot .placeholder strong {
    display: block;
    font-family: var(--font-head);
    color: var(--c-primary-dark);
    font-size: 1.05rem;
    margin: .5rem 0 .25rem;
}

.img-slot .placeholder small {
    display: block;
    color: var(--c-muted);
    max-width: 36ch;
    margin-inline: auto;
}

.img-band {
    aspect-ratio: 21 / 7;
    min-height: 180px;
}

/* Profile cards (team & board) */
.profile .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: var(--c-sage-deep);
    color: var(--c-primary-dark);
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.5rem;
}

.profile .photo {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--c-sage-deep);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.profile .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile .role {
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: .6rem;
    font-size: .95rem;
}

.subhead {
    margin: 2.4rem 0 1.2rem;
}

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

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step .num {
    counter-increment: step;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    display: grid;
    place-items: center;
}

.step .num::before {
    content: counter(step);
}

/* ---- Free counselling banner ------------------------------------------- */
.banner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
    justify-content: space-between;
    background: var(--c-surface);
    border: 1px solid var(--c-border-sage);
    border-left: 6px solid var(--c-primary);
    border-radius: var(--radius);
    padding: clamp(1.3rem, 3vw, 1.8rem) clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow-sm);
}

.banner p {
    margin: 0;
}

/* ---- Smaller general-use banner --- */

.banner.banner-small {
    padding: 1.2rem;
    margin: 1.5rem 0;
    gap: 0;
}

.banner.error {
    border-left-color: var(--c-accent)
}

/* ---- Contact form ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.65fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.contact-card {
    color: var(--c-muted);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    box-shadow: var(--shadow-sm);

    /* Container smooth height adaptation */
    display: grid;
    grid-template-areas: "stack";
    align-items: start;
    transition: min-height 1.0s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Force form and success state into the same visual space */
.contact-card > *
{
    grid-area: stack;
    transition: 
        opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* State changes */
.contact-card.is-leaving > #contactForm {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.contact-card--success {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.contact-card.is-submitted .contact-card--success {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.field {
    margin-bottom: 1.1rem;
}

.field label {
    display: block;
    font-weight: 700;
    margin-bottom: .35rem;
    color: var(--c-primary-ink);
}

.field .hint {
    color: var(--c-muted);
    font-size: .9rem;
    font-weight: 400;
}

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

.field .error {
    color: var(--c-accent);
    font-size: .9rem;
    font-weight: 400;
    margin: 0.5rem 0 0 0.2rem;
}

/* Hide errors within .field that do not have an is-invalid class */
.field:not(.is-invalid) .error {
    display: none;
}

.field input:not([type="checkbox"]),
.field textarea,
.field select {
    width: 100%;
    font: inherit;
    color: var(--c-text);
    padding: .8rem .9rem;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: #fff;
    min-height: 48px;
}

.field input:not([type="checkbox"]):focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--c-primary);
    outline: 3px solid rgba(29, 94, 126, .25);
    outline-offset: 0;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

/* Specific styles for contact form */

.field:not(:has(input[required])) .when-required,
.field:has(input[required]) .when-optional {
    display: none;
}

.field #email {
    text-transform: lowercase;
}

.email-suggestion {
    margin-top: 0.7rem;
    word-break: break-all;
}

.phone-wrapper {
    position: relative;
}

.flag {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0.5;
    padding: .8rem 1rem;
}

.flag > .flag-placeholder {
    position: absolute;
    width: 28px;
    height: auto;
}

.flag .flag-placeholder,
.flag .flag-img {
    transition: opacity 0.2s ease;
}

.flag:not(.loading) > .flag-placeholder,
.flag.loading > .flag-img {
    opacity: 0;
}

/* Wrapper to show checkbox/label as left/right columns */
.checkbox-wrapper {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    column-gap: .6rem;
    align-items: flex-start;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 0.55rem;
}

.checkbox-wrapper input[type="checkbox"]:focus {
    filter: drop-shadow(0px 0px 1.5px var(--c-primary));
    outline: unset;
}

.checkbox-wrapper .error {
    margin: 0;
}

/* Turnstile */

.turnstile-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    column-gap: 1.2rem;
    height: 65px;
}

.turnstile-wrapper + .error {
    margin: 0;
    margin-top: 1.2rem;
}

/* Submit button */
.btn#submit {
    width: 185px;
    justify-content: center;
}

/* Honeypot field hiding techniques */

.field-confirm {
    user-select: none;
    pointer-events: none;
    cursor: default;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

.hp {
    user-select: none;
    pointer-events: none;
    cursor: default;
}

.hp-abs-position {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

.hp-1px-height-overflow {
    height: 1px !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.hp-1px-height-clipped {
    height: 1px !important;
    clip-path: inset(50%) !important;
    margin: 0 !important;
}

.hp-1x-width {
    width: 1px !important;
    float: left;
    margin: 0 !important;
}

.hp-zero-size {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hp-content-visibility {
    content-visibility: hidden;
    margin: 0 !important;
}

/* The following require a layout offset to shift it out of the document flow,
with a calculated negative margin or absolute positioning. */

.hp-clip-path {
    clip-path: inset(50%);
}

/* Transparent with calculated layout shift */
.hp-opacity {
    opacity: 0 !important;
}

.hp-filter-opacity {
    filter: opacity(0) !important;
}

.hp-transform-scale {
    transform: scale(0) !important;
}

.hp-transform-translate {
    transform: translate(-9999px, -9999px) !important;
}

.hp-transform-rotate {
    transform: rotate3d(0, 1, 0, 90deg) !important;
}

.hp-transform-skew {
    transform: skewX(90deg) !important;
}

.hp-z-index {
    position: relative !important;
    z-index: -1 !important;
}

.hp-no-color, .hp-no-color * {
    color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    outline-color: transparent !important;
    margin: 0 !important;
}

/* This only works if there's a big enough element after the field */
.hp-psuedo-element {
    clip-path: border-box;
    position: absolute;
}

/* Overlay a rectangle over the element */
.hp-psuedo-element:after {
    content: "";
    position: absolute;
    top: -4px;
    bottom: -14px;
    left: -4px;
    right: -4px;
    background-color: #ffffff;
}

/* Places the next element on top of the psuedo-element */
.hp-psuedo-element + * {
    position: relative;
}

:is(.hp-clip-path, .hp-opacity, .hp-filter-opacity,
.hp-transform-scale, .hp-transform-translate, .hp-transform-rotate, .hp-transform-skew,
.hp-z-index, .hp-no-color, .hp-psuedo-element, .hp-psuedo-element:after) * {
    pointer-events: none;
    user-select: none;
}

/*
.field:has([name="email"]) {
    transform: matrix(0, 0, 0, 0, 0, 0);
    margin-bottom: -90.6px;
}
*/

/* Disabled state for inputs inside light/white surfaces */
.field input:disabled,
.field textarea:disabled,
.field select:disabled {
    background-color: #f8f6f2;        /* Very light, warm off-white */
    color: #8c8375;                   /* Softened text color */
    border-color: #e2dacd;            /* Lightened warm border */
    cursor: not-allowed;
    box-shadow: none;
    -webkit-text-fill-color: #8c8375; /* Fixes auto-darkening in iOS Safari */
}

/* Ensure focus rings and hover effects are suppressed */
.field input:disabled:hover, .field textarea:disabled:hover, .field select:disabled:hover,
.field input:disabled:focus, .field textarea:disabled:focus, .field select:disabled:focus {
    outline: none;
    border-color: #e2dacd;
    background-color: #f8f6f2;
}

.checkbox-wrapper input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.4;
    filter: grayscale(100%);
}

.checkbox-wrapper input[type="checkbox"]:disabled + label {
    color: var(--c-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.1rem;
}

.contact-list li {
    display: flex;
    gap: .8rem;
}

.contact-list .ic {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--c-sage);
    color: var(--c-primary);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.contact-list a {
    font-weight: 700;
}

.contact-list .label {
    display: block;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--c-muted);
}

/* ---- Crisis support (distinct light panel, set apart from the footer) ---- */
.section--crisis {
    background: var(--c-sage-deep);
    border-top: 3px solid var(--c-accent);
}

.section--crisis .eyebrow {
    color: var(--c-primary-ink);
}

.crisis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.crisis {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
}

.crisis strong {
    color: var(--c-primary-ink);
    display: block;
    font-size: 1.08rem;
    margin-bottom: .15rem;
}

.crisis a {
    color: var(--c-accent);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}

.crisis a:hover {
    text-decoration: underline;
}

.crisis small {
    color: var(--c-muted);
    display: block;
    margin-top: .2rem;
}

/* ---- Footer ---------- */
.site-footer {
    background: var(--c-primary-ink);
    color: #d6e3dc;
    padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}

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

.site-footer h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

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

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

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .5rem;
}

.footer-brand .brand-name {
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    font-size: .88rem;
    color: #aec6bb;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    justify-content: space-between;
}

/* ---- Acknowledgement of Country --------------------------------------- */
.acknowledgement {
    font-size: .92rem;
    color: #bcd2c7;
    max-width: 70ch;
}

/* ---- Page hero (interior) ---------------------------------------------- */
.page-hero {
    background: var(--c-sage);
    padding-block: clamp(2.5rem, 6vw, 4rem);
}

.page-hero p {
    color: var(--c-muted);
}

.breadcrumb {
    font-size: .9rem;
    color: var(--c-muted);
    margin-bottom: .6rem;
}

.breadcrumb a {
    color: var(--c-muted);
}

.prose>*+* {
    margin-top: 0;
}

.prose h2 {
    margin-top: 2.2rem;
}

.prose ul {
    padding-left: 1.2rem;
}

.prose li {
    margin-bottom: .4rem;
}

/* ---- Utilities ------- */
.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

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

.tag {
    display: inline-block;
    background: var(--c-sage-deep);
    color: var(--c-primary-dark);
    font-weight: 700;
    font-size: .8rem;
    padding: .25rem .7rem;
    border-radius: 999px;
}

/* Donate tiers */
.donate-tiers .tier {
    background: var(--c-surface);
    border: 1px solid var(--c-border-sage);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    text-align: center;
}

.donate-tiers .tier--feature {
    border-color: var(--c-primary);
    box-shadow: 0 6px 24px rgba(45, 83, 73, .12);
}

.donate-tiers .tier-amount {
    display: block;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 2.4rem;
    color: var(--c-primary);
    margin-bottom: .4rem;
}

.donate-tiers .tier p {
    margin: 0;
    color: var(--c-muted);
}

/*
.btn#donateBtn {
    will-change: transform, opacity;
    cursor: pointer !important;
}
    */

/* Bank details */
.bank-details {
    list-style: none;
    margin-bottom: 1rem;
    padding: 0;
}

.bank-details li {
    display: flex;
    gap: .8rem;
    padding: .4rem 0;
    border-bottom: 1px solid var(--c-border-sage);
}

.bank-details li:last-child {
    border-bottom: 0;
}

.bank-details .label {
    flex: 0 0 6rem;
    color: var(--c-muted);
    font-weight: 600;
}

/* Resource links */
.resource-links {
    list-style: none;
    margin: .6rem 0 0;
    padding: 0;
}

.resource-links li {
    padding: .9rem 0;
    border-bottom: 1px solid var(--c-border-sage);
}

.resource-links li:last-child {
    border-bottom: 0;
}

.resource-links a {
    font-weight: 700;
}

.resource-links span {
    display: block;
    color: var(--c-muted);
    font-size: .95rem;
    margin-top: .2rem;
}

/* Inline line icons (modern stroke icons, inherit currentColor) */
.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    vertical-align: -0.18em;
}

.card-icon .icon {
    width: 26px;
    height: 26px;
}

.contact-list .ic .icon {
    width: 20px;
    height: 20px;
}

.hero-reassure .icon {
    color: var(--c-primary);
}

.card h3 .icon {
    color: var(--c-primary);
    margin-right: .4rem;
    vertical-align: -0.15em;
}

.btn .icon {
    vertical-align: -0.16em;
}

/* Spinner */
.spinner {
    display: inline-block;
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: currentColor;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {

    .header-actions {
        width: 100%;
    }

    .nav-toggle {
        position: fixed;
        display: inline-flex;
        right: 0.7rem;
    }

    .primary-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(320px, 86vw);
        background: var(--c-surface);
        box-shadow: -8px 0 40px rgba(0, 0, 0, .18);
        padding: 5rem 1.4rem 2rem;
        transform: translateX(100%);
        margin: 0;
        overflow-y: auto;
    }

    .primary-nav.is-animating {
        transition: transform .25s ease;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: .2rem;
    }

    .primary-nav a {
        display: block;
        padding: .85rem 1rem;
        font-size: 1.05rem;
        color: var(--c-text);
    }

    .primary-nav a:hover,
    .primary-nav .current a,
    .primary-nav .current-menu-item > a {
        background: var(--c-sage);
        color: var(--c-primary-ink);
    }
/*
    .feedback-pill {
        margin-right: auto;
    }
*/
    .quick-exit {
        margin-right: auto;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(33, 59, 52, .4);
        opacity: 0;
        visibility: hidden;
        transition: .25s;
        z-index: 90;
    }
/*
    body.nav-open {
        overflow: hidden;
    }
*/
    body.nav-open .primary-nav {
        transform: translateX(0);
    }

    body.nav-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
    }
}


/* ---- Responsive ------ */
@media (max-width: 960px) {

    .hero-art {
        aspect-ratio: 1.5;
    }

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

    .donate-grid > .card:nth-child(3) {
        grid-column: span 2;
    }

    .bank-details .label {
        flex-basis: 11rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid .footer-contact {
        grid-column: 2;
    }
}

@media (max-width: 768px) {

    .brand .brand-sub {
        display: none;
    }

    .brand .logo {
        height: 40px;
    }

    .header-actions {
        gap: .4rem;
    }
    
    .hero-art {
        aspect-ratio: 16 / 9;
        order: -1;
    }

    .banner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-phone .full,
    .feedback-pill .full,
    .quick-exit .full {
        display: none;
    }

    .btn-phone,
    .feedback-pill,
    .quick-exit {
        padding-inline: .75rem;
    }

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

    .donate-grid > .card:nth-child(3) {
        grid-column: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}