/* =============================================================================
 * Theme: Sanctuary
 * -----------------------------------------------------------------------------
 * Light, warm and quiet. Warm paper and stone, deep forest green for weight,
 * the logo's oxblood used sparingly for emphasis. Cormorant Garamond for
 * headings, Manrope for reading text.
 *
 * Signature details, all drawn from the circular Okonguarri emblem and the
 * thatched shelters of the camp:
 *   - the frame: photographs in soft, generously rounded frames, with a fine
 *     offset outline behind them, as if drawn by hand. (Deliberately no
 *     arched/round-topped shapes: for this audience they read as headstones.)
 *   - the ring: a small ring ornament above section titles, and faint
 *     concentric rings behind page headers;
 *   - paper: a barely-there grain on the page, so it feels made rather than
 *     printed.
 * ========================================================================== */

:root {
    --bg:            #f8f5f0;
    --bg-alt:        #f1ebe2;
    --surface:       #fffdfa;
    --ink:           #1c2520;
    --text:          #3e4742;
    --muted:         #6a716c;
    --line:          #e6ded2;
    --line-strong:   #d2c8b9;
    --accent:        #8e2f25;
    --accent-soft:   #f5eae5;
    /* The conditions of admission (patient information) are the one notice that keeps
       red, and the one place the rule at the head of this file is deliberately
       lifted: these are conditions of remaining, and a patient who cannot meet them
       is better served by being told plainly than by being soothed past a rule they
       will break on day two. The colour stays loud in shape and small in area -- base.css
       spends it on a top bar, a hairline ring, three small number discs, the label and
       one strong phrase, never on a wash and never on the body text -- so the block
       reads as an institution that means what it says rather than as a threat, and the
       firmness is still carried mostly by the numbering and by the consequences that
       remain attached to their rules. The value itself sits a shade softer than the
       logo's oxblood, in the same brick family as the form errors below, because it has
       to hold up as a solid disc as well as a hairline. */
    --strict:        #8c3a26;
    --dark:          #1f2b25;
    --dark-2:        #19221d;
    --gold:          #b08d57;

    --font-display:  'Cormorant Garamond', Georgia, serif;
    --font-body:     'Manrope', system-ui, sans-serif;
    --display-weight: 500;
    --display-tracking: -0.005em;

    --radius:        10px;
    --radius-lg:     16px;
    --shadow:        0 1px 2px rgba(28, 37, 32, .04), 0 18px 40px -18px rgba(28, 37, 32, .16);
    --shadow-lg:     0 2px 6px rgba(28, 37, 32, .04), 0 30px 70px -24px rgba(28, 37, 32, .24);

    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --frame: 22px;
}

/* ---------------------------------------------------------------------------
 * Paper, type and small courtesies
 * ------------------------------------------------------------------------ */
body, .section--tint, .page-hero, .hero, .cta, .site-header { background-image: var(--grain); }
body { font-size: 1.0625rem; }
::selection { background: #ecd9d2; color: var(--ink); }

p, li, dd { text-wrap: pretty; }
h3, .card h2, .panel h2, .job__head h2, .download-card h2, .step h3,
.team-member figcaption strong, .brand__name { font-weight: 600; }
h1 { font-size: clamp(2.6rem, 4.6vw, 4.1rem); letter-spacing: -.012em; }
h2 { font-size: clamp(2.15rem, 3.6vw, 3.1rem); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }

/* Links inside running text: a soft underline that firms up on hover. */
.prose a, .page-hero__intro a, .step p a, .block > p a, .card p a, .panel a {
    text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
    text-decoration-thickness: 1px; text-underline-offset: .22em;
    transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}
.prose a:hover, .page-hero__intro a:hover, .step p a:hover, .block > p a:hover, .card p a:hover, .panel a:hover { text-decoration-color: currentColor; }

/* Eyebrows: finer. Centred section heads swap the rule for the ring ornament. */
.eyebrow { font-size: .74rem; letter-spacing: .22em; }
.section-head--center .eyebrow::before { display: none; }

.ornament { display: block; width: 104px; height: 14px; margin: 0 auto 1.4rem; color: var(--accent); opacity: .5; }
.ornament--left { margin-left: 0; }

.ring-motif { position: absolute; pointer-events: none; color: var(--accent); opacity: .07; }

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------ */
.btn { font-weight: 600; letter-spacing: .005em; padding-inline: 1.7rem; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon[class*="icon"]:last-child { transform: translateX(3px); }
.btn--primary { background: var(--dark); box-shadow: 0 10px 24px -14px rgba(31, 43, 37, .7); }
.btn--primary:hover { background: #2a3a32; color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(31, 43, 37, .7); }
.btn--secondary { border-color: var(--line-strong); background: rgba(255, 255, 255, .4); }
.btn--secondary:hover { background: var(--surface); border-color: var(--ink); }

/* ---------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------ */
.site-header { background-color: rgba(248, 245, 240, .96); }
.site-header__inner { transition: height .35s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 80px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(28, 37, 32, .35); }
.brand__mark { transition: width .35s var(--ease); }
.site-header.is-scrolled .brand__mark { width: 52px; }
.menu > li:not(.menu__cta) > a::after, .submenu-toggle::after { height: 1px; bottom: .25rem; }
.menu__cta > a, .menu__cta > a:hover { padding-inline: 1.4rem; color: var(--on-dark); }

@media (min-width: 1200px) {
    .site-header__inner { --nav-link-padding: .5rem; }
    .menu > li > a, .submenu-toggle { font-size: .95rem; padding-inline: var(--nav-link-padding); }
    .menu > li:not(.menu__cta) > a::after, .submenu-toggle::after { inset-inline: var(--nav-link-padding); }
    .menu > li.menu__cta > a { padding-inline: 1.1rem; }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .site-header__inner { gap: 1.5rem; }
    .brand { gap: .85rem; }
    .brand__mark { width: 54px; }
    .brand__name { font-size: 1.8rem; }
    .brand__tag { font-size: .66rem; letter-spacing: .18em; }
    .menu__cta { margin-left: .5rem; }
    .site-header.is-scrolled .brand__mark { width: 48px; }
}

@media (min-width: 1200px) and (max-width: 1279px) {
    .site-header__inner { --nav-link-padding: .325rem; gap: 1rem; }
}

/* Keep the CTA label legible on its hover and focus background. */
.menu > li.menu__cta > a:hover,
.menu > li.menu__cta > a:focus-visible,
.menu > li.menu__cta > a[aria-current="page"] { background: var(--accent); color: #fff; }
.submenu { border-radius: var(--radius); padding: .4rem; }
.menu-contact { display: none; }

@media (max-width: 1199px) {
    .primary-nav { background-color: var(--bg); background-image: var(--grain); display: flex; flex-direction: column; }
    .menu > li { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
    body.menu-open .menu > li { opacity: 1; transform: none; }
    body.menu-open .menu > li:nth-child(2)  { transition-delay: .03s; }
    body.menu-open .menu > li:nth-child(3)  { transition-delay: .06s; }
    body.menu-open .menu > li:nth-child(4)  { transition-delay: .09s; }
    body.menu-open .menu > li:nth-child(5)  { transition-delay: .12s; }
    body.menu-open .menu > li:nth-child(6)  { transition-delay: .15s; }
    body.menu-open .menu > li:nth-child(7)  { transition-delay: .18s; }
    body.menu-open .menu > li:nth-child(8)  { transition-delay: .21s; }
    body.menu-open .menu > li:nth-child(9)  { transition-delay: .24s; }
    body.menu-open .menu > li:nth-child(10) { transition-delay: .27s; }
    .menu { width: 100%; }
    .menu a, .submenu-toggle { font-weight: 500; color: var(--ink); }
    .menu-contact {
        display: grid; gap: .75rem; width: 100%; max-width: 34rem; margin: 2rem auto 0; padding-top: 1.5rem;
        border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted);
    }
    .menu-contact a, .menu-contact p { display: flex; align-items: center; gap: .6rem; margin: 0; color: var(--ink); text-decoration: none; }
    .menu-contact a { font-weight: 600; font-size: 1.05rem; }
    .menu-contact .icon { color: var(--accent); }
}

/* ---------------------------------------------------------------------------
 * The photo frame
 * ------------------------------------------------------------------------ */
.photo-frame { position: relative; isolation: isolate; }
.photo-frame img { border-radius: var(--frame); box-shadow: none; }
.photo-frame::before {
    content: ""; position: absolute; z-index: -1; inset: -14px 14px 14px -14px;
    border: 1px solid var(--line-strong); border-radius: var(--frame);
}
.page-hero__media.photo-frame img, .cta__media.photo-frame img { border-radius: var(--frame); }
.page-hero__media.photo-frame::before, .cta__media.photo-frame::before { border-radius: var(--frame); }
.split--reverse .photo-frame::before { inset: -14px -14px 14px 14px; }

/* Gentle settling of photographs as they come into view. */
.js-reveal .reveal img { transform: scale(1.05); transition: transform 1.8s var(--ease); }
.js-reveal .reveal.is-visible img { transform: none; }

/* ---------------------------------------------------------------------------
 * Home hero
 * ------------------------------------------------------------------------ */
.hero { background-color: var(--bg); background-image: var(--grain), linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.hero__rings { width: 880px; right: -220px; top: 50%; transform: translateY(-50%); }
.hero__inner { position: relative; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 7vw, 6rem); }
.hero h1 { font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1.02; margin-bottom: 1.75rem; }
.hero__lead { color: var(--text); }

.hero__text > * { animation: rise 1s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
.hero__text > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__media { display: flex; flex-direction: column; align-items: center; isolation: isolate; }
.hero__photo { position: relative; width: 100%; max-width: 36rem; margin-left: auto; }
.hero__photo::before {
    content: ""; position: absolute; z-index: -1; inset: -16px -16px 16px 16px;
    border: 1px solid var(--line-strong); border-radius: var(--frame);
}
.hero__photo img {
    width: 100%; height: clamp(400px, calc(100vh - 260px), 540px); aspect-ratio: auto;
    object-fit: cover; object-position: 58% center;
    border-radius: var(--frame); box-shadow: var(--shadow-lg);
    animation: settle 2.4s var(--ease) both;
}
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

.hero__inset {
    position: absolute; left: -.5rem; bottom: 3.5rem; width: clamp(130px, 13vw, 180px); aspect-ratio: 1;
    border-radius: 50%; padding: 7px; background: var(--bg);
    box-shadow: var(--shadow-lg);
    animation: rise 1.2s .5s var(--ease) both;
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.hero__caption {
    display: flex; gap: .7rem; align-items: center; justify-content: center;
    width: 100%; max-width: 36rem; margin: 2.25rem 0 0 auto;
    font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.hero__caption::before, .hero__caption::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

@media (max-width: 900px) {
    .hero__photo { margin: 0 auto; max-width: 26rem; }
    .hero__photo img { height: auto; aspect-ratio: 4 / 4.3; }
    .hero__inset { left: 0; bottom: 4rem; width: 110px; }
    .hero__caption { margin: 1.75rem auto 0; max-width: 26rem; }
    .hero__rings { width: 600px; right: -260px; top: 30%; }
}

/* ---------------------------------------------------------------------------
 * Page hero
 * ------------------------------------------------------------------------ */
.page-hero { position: relative; overflow: hidden; background-color: var(--bg-alt); box-shadow: inset 0 -1px 0 var(--line); border-bottom: 0; }
.page-hero__rings { width: 760px; right: -260px; top: -260px; }
.page-hero__inner { position: relative; padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 6vw, 5rem); }
.page-hero h1 { font-size: clamp(2.6rem, 4.4vw, 3.9rem); }
.page-hero__media { padding: 16px 0 0 16px; }
.page-hero__media img { box-shadow: var(--shadow); }
.breadcrumb ol { font-size: .8rem; letter-spacing: .04em; }

/* ---------------------------------------------------------------------------
 * Home sections
 * ------------------------------------------------------------------------ */
.section-head { margin-bottom: clamp(2.75rem, 5vw, 4.25rem); }
.section-head__intro { font-size: 1.08rem; line-height: 1.7; }

/* Paths */
.path-card { position: relative; background: var(--surface); border-color: var(--line); box-shadow: 0 1px 0 rgba(28, 37, 32, .02); }
.path-card:hover { border-color: color-mix(in srgb, var(--accent) 25%, var(--line)); box-shadow: var(--shadow-lg); }
.path-card__num {
    position: absolute; top: 1.4rem; right: 1.75rem;
    font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--accent); opacity: .35;
}
.path-card__icon { background: transparent; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); width: 58px; height: 58px; }
.path-card__icon .icon { width: 24px; height: 24px; }
.path-card h3 { font-size: clamp(1.6rem, 2.1vw, 1.9rem); line-height: 1.12; }
.crisis-note { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); max-width: 52rem; }

/* The centre's founding sentence, set as a quiet pull quote. */
#what-we-treat .lead {
    font-family: var(--font-display); font-style: italic; font-weight: 500;
    font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.35; color: var(--ink);
    padding-left: 1.25rem; border-left: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    margin-bottom: 1.6rem;
}

/* Facts: light, ruled, with italic numerals. */
.facts { background: transparent; color: var(--ink); }
.facts__grid {
    border: 0;
    background:
        linear-gradient(var(--line-strong), var(--line-strong)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat,
        linear-gradient(var(--line-strong), var(--line-strong)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.section--tint:has(+ .facts) { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.fact { padding-block: clamp(2.25rem, 4vw, 3rem); }
.fact + .fact { border-left-color: var(--line); }
.fact__num { color: var(--accent); font-style: italic; font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.4rem); }
.fact__label { color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.section--tint + .facts { padding-block: 0 clamp(4rem, 8vw, 6rem); background-color: var(--bg-alt); background-image: var(--grain); }
@media (max-width: 760px) { .fact:nth-child(n+3) { border-top-color: var(--line); } }

/* Steps: italic numerals in fine rings, joined by a dotted path. */
.steps::before {
    height: 1px; background: none;
    background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 0); background-size: 8px 1px;
}
.step__num {
    width: 52px; height: 52px; background: var(--bg); border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    font-style: italic; font-size: 1.5rem; box-shadow: 0 0 0 6px var(--bg);
}
.steps::before { top: 26px; }
.step h3 { font-size: 1.5rem; }
@media (max-width: 1100px) {
    .steps::before { background-image: linear-gradient(180deg, var(--line-strong) 50%, transparent 0); background-size: 1px 8px; left: 26px; width: 1px; }
    .step { grid-template-columns: 52px 1fr; }
}

/* Programme cards */
.card { background: var(--surface); position: relative; overflow: hidden; }
.card--emphasis { background-color: var(--dark); background-image: var(--grain); }
.card--emphasis .card__icon { border-color: rgba(241, 236, 228, .25); }
.card__icon { background: transparent; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 50%; }
.card--link::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.card--link:hover::after { transform: scaleX(1); }
.card--link h3 { font-size: 1.65rem; }

/* Founder */
.founder__quote { font-weight: 500; font-size: clamp(2.1rem, 3.4vw, 2.9rem); }
.founder__portrait img { box-shadow: var(--shadow); }
.founder .prose > p:first-child::first-letter {
    float: left; margin: .06em .14em 0 0;
    font-family: var(--font-display); font-size: 4.3em; line-height: .78; font-weight: 500; color: var(--accent);
}
.signature { font-size: 1.9rem; }
.signature::before { content: ""; display: block; width: 48px; height: 1px; background: var(--line-strong); margin-bottom: 1.25rem; }

/* Setting */
.setting__panorama img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Patient voice */
.voice { position: relative; overflow: hidden; }
.voice__media.reveal, .voice__media { position: relative; }
.voice__media img { aspect-ratio: 4 / 5; border-radius: var(--frame); }
.voice__quote { position: relative; }
.voice__quote::before { content: ""; display: block; width: 56px; height: 1px; background: var(--gold); margin-bottom: 2rem; }
.voice__quote p { font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.25; }
.voice__quote footer { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }

/* Professionals */
.pro__list { border-top-color: var(--line-strong); }
.pro__list li { align-items: flex-start; }
.pro__list .icon {
    width: 44px; height: 44px; padding: 10px; margin-top: 0; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

/* Mission, vision, values: open columns divided by hairlines. */
.mvv__grid { gap: 0; }
.mvv__item { background: transparent; border: 0; border-radius: 0; padding: .5rem clamp(1.5rem, 3vw, 2.75rem); text-align: center; }
.mvv__item + .mvv__item { border-left: 1px solid var(--line-strong); }
.mvv__item h3 { font-style: italic; font-weight: 500; font-size: 2rem; }
.mvv__item p { font-size: 1.02rem; color: var(--text); }
.mvv__item:first-child p { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.4; font-weight: 500; color: var(--ink); }
.values li { border: 0; padding: .3rem 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
@media (max-width: 960px) {
    .mvv__item + .mvv__item { border-left: 0; border-top: 1px solid var(--line-strong); padding-top: 2rem; margin-top: 2rem; }
}

/* ---------------------------------------------------------------------------
 * Closing invitation
 * ------------------------------------------------------------------------ */
.cta { position: relative; overflow: hidden; background-color: var(--bg-alt); border-top: 1px solid var(--line); }
.cta__rings { width: 900px; left: -380px; bottom: -420px; }
.cta__inner {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-block: clamp(4.5rem, 9vw, 7rem);
}
.cta h2 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); margin-bottom: 1.25rem; }
.cta__lead { font-size: 1.12rem; line-height: 1.7; max-width: 34rem; margin-bottom: 2.25rem !important; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta__note { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .86rem; color: var(--muted); }
.cta__note .icon { color: var(--accent); }
.cta__media { margin: 0; padding: 16px 0 0 16px; }
.cta__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 860px) {
    .cta__inner { grid-template-columns: 1fr; }
    .cta__media { max-width: 30rem; }
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */
.site-footer { background-color: var(--dark-2); }
.site-footer__top {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem;
    padding-block: clamp(3.5rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(var(--on-dark-line), var(--on-dark-line)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.footer-mark { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; align-items: center; text-decoration: none !important; }
/* The emblem sits in a cream seal so its red reads against the dark footer. */
.footer-mark__emblem { grid-row: span 2; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--on-dark); box-shadow: 0 0 0 1px rgba(241, 236, 228, .2), 0 0 0 6px rgba(241, 236, 228, .06); }
.footer-mark__emblem img { display: block; width: 56px; height: auto; max-width: none; filter: none; }
.footer-mark__name { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--on-dark); }
.footer-mark__tag { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: .35rem; }
@media (max-width: 360px) {
    .footer-mark { min-width: 0; }
    .footer-mark__name { font-size: 2.15rem; }
}
/* The social rings pick up the gold of the emblem rather than the plain cream rule. */
.site-footer .footer-social__link { border-color: color-mix(in srgb, var(--gold) 38%, transparent); }
.site-footer .footer-social__link:hover { border-color: var(--accent); }
.footer-mission { max-width: 26rem; margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--on-dark); opacity: .9; }
.site-footer__grid { grid-template-columns: 1fr 1.2fr 1fr; padding-block: clamp(2.5rem, 5vw, 3.5rem) 3rem; }
.footer-col__sub { margin-top: 2rem; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .footer-col--visit { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
 * Side layout with a help card (Fees, Vacancies)
 * ------------------------------------------------------------------------ */
.side-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; padding-bottom: var(--section); }
.side-layout__main { min-width: 0; max-width: 50rem; }
.help-card {
    position: sticky; top: calc(var(--header-h) + 1.5rem);
    padding: 2rem; border-radius: var(--radius-lg);
    background-color: var(--dark); background-image: var(--grain); color: var(--on-dark-muted);
}
.help-card .eyebrow { color: var(--gold); }
.help-card h2 { color: var(--on-dark); font-size: 1.9rem; margin-bottom: 1.5rem; }
.help-card dl { margin: 0 0 1.75rem; display: grid; gap: 1rem; }
.help-card dt { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--on-dark-muted); }
.help-card dt .icon { width: 15px; height: 15px; color: var(--gold); }
.help-card dd { margin: .2rem 0 0; font-weight: 600; word-break: break-word; }
.help-card a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.help-card a:not(.btn):hover { text-decoration: underline; }
.help-card .btn { width: 100%; background: var(--on-dark); color: var(--ink); box-shadow: none; }
.help-card .btn:hover { background: #fff; color: var(--ink); }
@media (max-width: 960px) {
    .side-layout { grid-template-columns: 1fr; }
    .help-card { position: static; }
}

/* ---------------------------------------------------------------------------
 * Inner-page refinements
 * ------------------------------------------------------------------------ */
.block h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); }
.feature-box { position: relative; overflow: hidden; background-color: var(--dark); background-image: var(--grain); }
.feature-box::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
    border: 1px solid rgba(241, 236, 228, .12); box-shadow: 0 0 0 40px rgba(241, 236, 228, .03), 0 0 0 80px rgba(241, 236, 228, .02);
    pointer-events: none;
}
.tags li { background: var(--surface); border-color: var(--line-strong); }
/* Keep the italic display numeral, but Cormorant defaults to old-style figures: without
   the lining-nums already on the marker, 3 and 4 drop below 1 and 2 and the column of
   numbers sits low and uneven in its rings. The rail echoes .steps' dotted path. */
.mini-steps li::before { border-color: color-mix(in srgb, var(--accent) 45%, transparent); font-style: italic; }
.mini-steps li:not(:last-child)::after {
    background: none; background-image: linear-gradient(180deg, var(--line-strong) 50%, transparent 0);
    background-size: 1px 8px;
}
.checklist .icon { background: transparent; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.contact-item__icon, .download-card__icon { background: transparent; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.contact-item--primary { background-color: var(--dark); background-image: var(--grain); }
.contact-item--primary .contact-item__icon { border-color: rgba(241, 236, 228, .25); }
.form-card { box-shadow: var(--shadow-lg); }

/* Contact page: a row of contact details, the form beneath. */
.contact-layout { grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
.contact-info { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.contact-item { flex-direction: column; gap: 1rem; padding: 1.75rem; }
.contact-item--primary { justify-content: flex-start; }
.contact-item__big { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.contact-item__note { margin-top: .75rem; font-size: .92rem; line-height: 1.6; color: var(--on-dark-muted); }
.contact-item__btn { margin-top: 1.5rem; min-height: 46px; background: var(--on-dark); color: var(--ink); }
.contact-item__btn:hover { background: #fff; color: var(--ink); }
.contact-item--primary > div { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.form-card { width: 100%; max-width: 56rem; margin: 0 auto; }
.form-card h2 { text-align: center; }
.form-card__intro { text-align: center; }
@media (max-width: 960px) {
    .contact-info { grid-template-columns: 1fr; }
    .contact-item { flex-direction: row; }
}
.form-group input, .form-group textarea { background: #fbf9f5; }

/* The enquiry-type cards keep the quiet paper of the fields they sit among and
   take the accent only when chosen: a hairline, a wash, and the tick in the
   logo's oxblood. Which desk a message goes to is stated plainly underneath. */
.choice-grid__legend { color: var(--ink); }
.choice-grid__req { color: var(--accent); }
.choice-grid__hint, .choice__hint { color: var(--muted); }
.choice__frame { background: #fbf9f5; border: 1px solid var(--line-strong); transition: border-color .2s, background-color .2s; }
.choice:hover .choice__frame { border-color: var(--muted); }
.choice__input:checked ~ .choice__frame { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.choice__title { color: var(--ink); }
.choice__tick { background: var(--accent); color: #fff; }
.choice__dest { color: var(--accent); }
.email-list__hint { color: var(--muted); }
.thanks-box__dest { color: var(--muted); }
.team-member__photo { border-radius: var(--frame); }
.team-member figcaption { text-align: center; }
@media (max-width: 560px) {
    .team-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
    .team-member__photo { border-radius: 16px; }
    .team-member figcaption strong { font-size: 1.15rem; }
    .team-member figcaption span { font-size: .84rem; }
}
@media (max-width: 480px) { .eyebrow { letter-spacing: .15em; font-size: .7rem; } }
.team-group__title { text-align: center; border-bottom: 0; padding-bottom: 0; }
.team-group__title::after { content: ""; display: block; width: 56px; height: 1px; background: var(--accent); opacity: .5; margin: 1rem auto 0; }
.testimonial { box-shadow: 0 1px 0 rgba(28, 37, 32, .02); }
.panel, .job, .download-card { box-shadow: 0 1px 0 rgba(28, 37, 32, .02); }

/* ===========================================================================
 * Gentleness pass
 * ---------------------------------------------------------------------------
 * Reviewed as a person in distress would meet the site. Red reads as alarm or
 * danger, and large dark blocks feel heavy, so:
 *   - the logo's red stays in small touches only (eyebrows, ornaments, rules);
 *   - emphasised words in headings and all links are a deep, living green;
 *   - rules and notices are calm sage, never warning orange or "forbidden"
 *     symbols (one documented exception: the conditions of admission keep a deep
 *     brick - see --strict below);
 *   - feature blocks are light sage rather than near-black. Deep green is kept
 *     only where it marks the one thing to do next (call us) and the footer.
 * ======================================================================== */
:root {
    --link:      #2f5c49;
    --sage:      #e7ede5;
    --sage-2:    #dce6da;
    --sage-line: #c9d6c7;
    --sage-ink:  #2c4639;
}

h1 em, h2 em, .hero h1 em { color: var(--link); }
a { color: var(--link); }
a:hover { color: var(--ink); }
.link-arrow, .path-card__links a .icon, .card__more { color: var(--link); }
.prose a, .page-hero__intro a, .step p a, .block > p a, .card p a, .panel a {
    text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent);
}
.menu > li:not(.menu__cta) > a::after, .submenu-toggle::after { background: var(--link); }
.menu > li > a:hover, .submenu-toggle:hover { color: var(--link); }
.toc a[aria-current] { border-left-color: var(--link); }
.fact__num { color: var(--sage-ink); }
.card--link::after { background: var(--link); }
:focus-visible { outline-color: var(--link); }

/* Calm notices (patient information rules, own-transport note). */
.alert--calm { background: var(--sage); border-left: 3px solid var(--sage-line); color: var(--ink); }
.alert--calm .icon { color: var(--sage-ink); }
.alert--calm .alert__title { color: var(--sage-ink); }

/* The one notice that has to be read (home: what Okonguarri cannot admit).
   base.css builds it as a raised card; here it keeps that shape but speaks in
   sage and deep green, so the emphasis stays in its size and standing rather
   than in oxblood. */
.alert--emphasis {
    background: var(--surface);
    border-color: var(--sage-line); border-left-color: var(--link);
}
.alert--emphasis .alert__title { color: var(--sage-ink); }
.alert--emphasis .alert__badge { background: var(--sage-2); color: var(--sage-ink); }

/* Patient voice: light sage, not a dark band. */
.voice { background-color: var(--sage); background-image: var(--grain); color: var(--text); }
.voice__quote p { color: var(--sage-ink); }
.voice__quote footer { color: var(--muted); }
.voice__quote .link-arrow { color: var(--link); }
.voice__quote .link-arrow:hover { color: var(--ink); }
.voice__quote::before { background: var(--sage-line); }
.voice__media img { object-position: center 35%; box-shadow: var(--shadow); }

/* Burn-out programme and the map's admissions card: light sage. */
.feature-box { background-color: var(--sage); background-image: var(--grain); color: var(--text); border: 1px solid var(--sage-line); }
.feature-box h2 { color: var(--ink); }
.feature-box b, .feature-box strong { color: var(--ink); }
.feature-box a:not(.btn) { color: var(--link); }
.feature-box__label { color: var(--sage-ink); opacity: 1; }
.feature-box::after { border-color: var(--sage-line); box-shadow: 0 0 0 40px rgba(255, 255, 255, .25), 0 0 0 80px rgba(255, 255, 255, .15); }
.feature-box .btn { background: var(--dark); color: var(--on-dark); }
.feature-box .btn:hover { background: #2a3a32; color: #fff; }
.card--emphasis { background-color: var(--sage); border-color: var(--sage-line); color: var(--text); }
.card--emphasis h2, .card--emphasis strong { color: var(--ink); }
.card--emphasis .card__icon { color: var(--sage-ink); border-color: var(--sage-line); background: transparent; }

/* Form errors: still clearly marked, in a softer brick rather than alarm red. */
.error, label.error { color: #9a4a35; }
input.error, textarea.error { border-color: #c98f7b !important; }
.form-error { background: #f6ece6; color: #7f3a28; }
