/* ==========================================================================
   SpellOutsourcing — main stylesheet
   Identity: deep pine, apricot accent, mint highlights, sage surfaces.
   Signature device: photographs framed as arches ("an open door").
   1. Tokens   2. Base   3. Layout   4. Header & nav   5. Buttons
   6. Home   7. Inner pages   8. Forms   9. Legal & prose
   10. Footer   11. Cookie banner   12. Admin   13. Utilities & motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
@font-face {
    font-family: "Inter";
    src: url("../fonts/InterLatin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/BricolageGrotesque.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --pine-900: #0A2620;
    --pine-800: #0F3A31;
    --pine-700: #17503F;
    --pine-600: #1F6B54;
    --mint-300: #9FDDBF;
    --mint-100: #DDF2E7;
    --sage-50: #F2F7F3;
    --apricot: #FF8E4D;
    --apricot-600: #F57A33;
    --apricot-100: #FFE9DC;
    --white: #FFFFFF;
    --text: #13221E;
    --muted: #4F625B;
    --on-dark: #D3E6DC;
    --on-dark-muted: #A9C4B7;
    --border: #D6E2DA;
    --border-dark: rgba(255, 255, 255, 0.14);
    --field: #7A8C85;
    --error: #B42318;
    --error-bg: #FEF1F0;
    --success: #1F6B54;
    --success-bg: #E8F5EE;

    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --font-display: "Bricolage Grotesque", "Inter", "Segoe UI", system-ui, sans-serif;
    --fs-small: 0.9375rem;
    --fs-body: 1.0625rem;
    --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
    --fs-h3: clamp(1.25rem, 1.15rem + 0.35vw, 1.4375rem);
    --fs-h2: clamp(2rem, 1.45rem + 2.1vw, 3.125rem);
    --fs-h1: clamp(2.6rem, 1.6rem + 4vw, 5rem);

    --wrap: 77rem;
    --narrow: 46rem;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --section: clamp(4rem, 3rem + 4.5vw, 7.5rem);
    --radius: 22px;
    --radius-sm: 12px;
    --arch: 999px 999px var(--radius) var(--radius);
    --header-h: 78px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-display);
    color: var(--pine-900);
    font-weight: 700;
    line-height: 1.1;
    text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.035em; font-weight: 750; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; font-weight: 650; line-height: 1.25; }
h4 { font-size: 1.0625rem; font-weight: 650; font-family: var(--font-body); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--pine-700); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--pine-900); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--mint-300); color: var(--pine-900); }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--pine-900);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }

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

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.narrow {
    width: 100%;
    max-width: calc(var(--narrow) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--white { background: var(--white); }
.section--tint, .section--soft { background: var(--sage-50); }
.section--mint { background: var(--mint-100); }
.section--dark { background: var(--pine-800); color: var(--on-dark); }
.section--darker { background: var(--pine-900); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--darker h2, .section--darker h3 { color: var(--white); }
.section--dark a:not(.btn), .section--darker a:not(.btn) { color: var(--mint-300); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--split { max-width: none; display: grid; gap: 1rem 4rem; align-items: end; }
@media (min-width: 56em) { .section-head--split { grid-template-columns: 1.2fr 1fr; } }
.section-head p:not(.kicker), .lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; }
.section--dark .section-head p:not(.kicker), .section--darker .section-head p:not(.kicker) { color: var(--on-dark-muted); }

/* Small label above a heading: an apricot dot plus sentence-case text. */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: 1.4;
    color: var(--pine-600);
}
.kicker::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--apricot); flex: none; }
.section--dark .kicker, .section--darker .kicker { color: var(--mint-300); }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: center; }
.split > * { min-width: 0; }
.split--top { align-items: start; }
@media (min-width: 60em) {
    .split { grid-template-columns: 1fr 1fr; }
    .split--reverse > :first-child { order: 2; }
    .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
    .split--narrow-media { grid-template-columns: 0.8fr 1.2fr; }
}

/* Photographs */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mint-100); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.arch { position: relative; border-radius: var(--arch); overflow: hidden; background: var(--mint-100); }
.arch img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.arch-wrap { position: relative; max-width: 30rem; margin-inline: auto; width: 100%; }
.arch-wrap::before {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 2px solid var(--pine-600);
    border-radius: var(--arch);
    opacity: 0.35;
}
.arch-wrap--mint::before { border-color: var(--mint-300); opacity: 1; }
@media (max-width: 40em) { .arch-wrap::before { inset: 0.75rem -0.5rem -0.75rem 0.5rem; } }

/* 4. Header & navigation --------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(8px)) {
    .site-header { background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.4) blur(12px); }
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.site-header__brand { text-decoration: none; display: inline-flex; }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; line-height: 1; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__tile { fill: var(--pine-800); }
.logo--dark .logo__tile { fill: var(--pine-700); }
.logo__arc { fill: none; stroke-width: 4.6; stroke-linecap: round; }
.logo__arc--gold { stroke: var(--apricot); }
.logo__arc--light { stroke: var(--mint-300); }
.logo__dot--gold { fill: var(--apricot); }
.logo__dot--light { fill: var(--mint-300); }
.logo__word { font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.025em; color: var(--pine-900); white-space: nowrap; }
.logo__spell { font-weight: 750; }
.logo__rest { font-weight: 450; }
.logo--dark .logo__word { color: var(--white); }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; }
.site-nav__link {
    display: block;
    padding: 0.5rem 0.9rem;
    color: var(--text);
    font-weight: 550;
    font-size: 0.975rem;
    text-decoration: none;
    border-radius: 999px;
}
.site-nav__link:hover { background: var(--sage-50); color: var(--pine-900); }
.site-nav__link[aria-current="page"] { background: var(--mint-100); color: var(--pine-900); font-weight: 650; }
.site-nav__actions { display: flex; gap: 0.6rem; }

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.95rem;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    color: var(--pine-900);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.nav-toggle .icon { width: 1.3rem; height: 1.3rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (min-width: 66em) { .site-nav { display: flex; align-items: center; gap: 1.25rem; } }

@media (max-width: 65.99em) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        padding: 1rem var(--gutter) 1.75rem;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 18px 30px -18px rgba(10, 38, 32, 0.35);
    }
    .site-nav.is-open { display: block; }
    .site-nav__list { flex-direction: column; gap: 0.25rem; }
    .site-nav__link { padding: 0.85rem 1rem; font-size: 1.0625rem; border-radius: var(--radius-sm); }
    .site-nav__actions { flex-direction: column; margin-top: 1.25rem; }
    .site-nav__actions .btn { justify-content: center; }
}

/* 5. Buttons --------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1.0625rem; }
.btn--accent { background: var(--apricot); color: var(--pine-900); }
.btn--accent:hover { background: var(--apricot-600); color: var(--pine-900); }
.btn--accent:focus-visible { outline-color: var(--pine-900); }
.btn--primary { background: var(--pine-800); color: var(--white); }
.btn--primary:hover { background: var(--pine-700); color: var(--white); }
.btn--outline { border-color: var(--pine-800); color: var(--pine-800); background: transparent; }
.btn--outline:hover { background: var(--pine-800); color: var(--white); }
.btn--light { background: var(--white); color: var(--pine-900); }
.btn--light:hover { background: var(--mint-100); color: var(--pine-900); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn--text { padding-inline: 0.25rem; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.btn--danger { background: var(--error); color: var(--white); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 650;
    color: var(--pine-800);
    text-decoration: none;
}
.link-more .icon { width: 1rem; height: 1rem; transition: transform 0.15s ease; }
.link-more:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.link-more:hover .icon { transform: translateX(3px); }

/* 6. Home ------------------------------------------------------------------ */
.hero { background: var(--sage-50); overflow: hidden; position: relative; }
.hero__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
@media (min-width: 60em) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } }
.hero__grid > * { min-width: 0; }
.hero h1 { margin-bottom: 1.5rem; max-width: 12ch; }
.hero__text { font-size: var(--fs-lead); color: var(--muted); max-width: 34rem; margin-bottom: 2.25rem; }
.hero__secondary { margin-top: 1.75rem; color: var(--muted); font-size: var(--fs-small); }
.hero__secondary a { font-weight: 650; }
.hero__visual { position: relative; }
.hero__visual .arch-wrap { max-width: 27rem; }
.hero__badge {
    position: absolute;
    left: -1rem;
    bottom: 12%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 16rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: 0 18px 40px -20px rgba(10, 38, 32, 0.45);
    font-size: 0.925rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--pine-900);
}
.hero__badge .icon { width: 2.25rem; height: 2.25rem; padding: 0.45rem; border-radius: 50%; background: var(--mint-100); color: var(--pine-700); }
.hero__badge--top { left: auto; right: -0.5rem; top: 10%; bottom: auto; }
.hero__badge--top .icon { background: var(--apricot-100); color: var(--pine-900); }
@media (max-width: 40em) {
    .hero__badge { left: 0; max-width: 13rem; }
    .hero__badge--top { right: 0; left: auto; }
}

/* Two audiences, side by side directly under the hero */
.audiences { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .audiences { grid-template-columns: 1fr 1fr; } }
.audience {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: clamp(1.75rem, 1.3rem + 2vw, 3rem);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
}
.audience--employers { background: var(--pine-800); color: var(--on-dark); }
.audience--candidates { background: var(--mint-100); color: var(--text); }
.audience__who { font-size: var(--fs-small); font-weight: 600; }
.audience--employers .audience__who { color: var(--mint-300); }
.audience--candidates .audience__who { color: var(--pine-600); }
.audience__title { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.audience--employers .audience__title { color: var(--white); }
.audience--candidates .audience__title { color: var(--pine-900); }
.audience__cta { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 650; }
.audience--employers .audience__cta { color: var(--white); }
.audience--candidates .audience__cta { color: var(--pine-900); }
.audience__cta .icon {
    width: 2.4rem; height: 2.4rem; padding: 0.55rem; border-radius: 50%;
    background: var(--apricot); color: var(--pine-900);
    transition: transform 0.2s ease;
}
.audience:hover .audience__cta .icon { transform: translateX(4px); }
.audience:hover .audience__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }

/* Introduction */
.pillars { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 40em) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { padding-top: 1.1rem; border-top: 2px solid var(--pine-800); }
.pillars strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--pine-900); margin-bottom: 0.3rem; }
.pillars span { color: var(--muted); font-size: var(--fs-small); line-height: 1.55; display: block; }

/* Services as an index list */
.services-layout { display: grid; gap: 2.5rem; }
.services-layout > * { min-width: 0; }
@media (min-width: 64em) {
    .services-layout { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; }
    .services-layout__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.service-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.35rem 1.25rem;
    align-items: start;
    padding: 1.6rem 0.25rem;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
}
.service-row:hover { color: inherit; }
.service-row__icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--mint-100);
    color: var(--pine-700);
}
.service-row__icon .icon { width: 1.4rem; height: 1.4rem; }
.service-row h3 { margin: 0.15rem 0 0; font-size: 1.3rem; }
.service-row p { grid-column: 2; margin: 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.6; max-width: 36rem; }
.service-row__go {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    width: 2.5rem; height: 2.5rem; padding: 0.6rem;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    color: var(--pine-800);
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.service-row:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.service-row:hover .service-row__go { background: var(--apricot); border-color: var(--apricot); transform: translateX(3px); }

/* Process: a genuine sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66em) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
    counter-increment: step;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-dark);
}
.step::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 1.25rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 750;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--mint-300);
    letter-spacing: -0.03em;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.step p { color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.6; }
.steps-note { margin-top: 2rem; font-size: var(--fs-small); color: var(--on-dark-muted); }

/* Sectors as pills */
.sector-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sector-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 1.15rem 0.55rem 0.55rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.975rem;
    color: var(--pine-900);
}
.sector-pill .icon { width: 2.1rem; height: 2.1rem; padding: 0.45rem; border-radius: 50%; background: var(--mint-100); color: var(--pine-700); }
.sector-note { margin-top: 2rem; font-size: var(--fs-small); color: var(--muted); max-width: 52rem; }

/* Audience detail sections */
.audience__list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 0.75rem; }
.audience__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.audience__list .icon { width: 1.5rem; height: 1.5rem; padding: 0.25rem; border-radius: 50%; background: var(--mint-100); color: var(--pine-700); margin-top: 0.05rem; }
.section--tint .audience__list .icon { background: var(--white); }
.small-print { font-size: var(--fs-small); color: var(--muted); margin-top: 1.25rem; }

/* International network */
.network-banner { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--pine-900); }
.network-banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 47.99em) { .network-banner img { aspect-ratio: 4 / 3; } }
.countries { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 48em) { .countries { grid-template-columns: 1.3fr 1fr 1fr; } }
.network .countries { position: relative; z-index: 1; margin: -3rem 1rem 0; }
@media (min-width: 48em) { .network .countries { margin: -4.5rem 2rem 0; } }
.country {
    padding: 1.5rem 1.6rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px -26px rgba(10, 38, 32, 0.5);
}
.country--primary { background: var(--pine-800); border-color: var(--pine-800); }
.country .country__role { font-size: var(--fs-small); font-weight: 600; color: var(--pine-600); margin-bottom: 0.25rem; }
.country--primary .country__role { color: var(--mint-300); }
.country .country__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--pine-900); margin: 0 0 0.5rem; }
.country--primary .country__name { color: var(--white); }
.country .country__text { font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }
.country--primary .country__text { color: var(--on-dark); }
.network-panel .countries { grid-template-columns: 1fr; }
.network-panel .country { box-shadow: none; }

/* Final call to action */
.cta-band__grid { display: grid; gap: 1.25rem; }
@media (min-width: 56em) { .cta-band__grid { grid-template-columns: 1fr 1fr; } }
.cta-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: clamp(1.75rem, 1.4rem + 1.5vw, 3rem);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
}
.cta-card h3 { font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem); margin: 0; color: var(--pine-900); }
.cta-card p { margin: 0 0 0.75rem; color: var(--muted); }
.cta-card--dark { background: var(--pine-800); }
.cta-card--dark h3 { color: var(--white); }
.cta-card--dark p { color: var(--on-dark); }

/* FAQs */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 0;
    cursor: pointer;
    list-style: none;
    font-weight: 650;
    font-size: 1.0625rem;
    color: var(--pine-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--mint-100);
    color: var(--pine-800);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--apricot); }
.faq__answer { padding: 0 0 1.4rem; color: var(--muted); max-width: 46rem; }

/* 7. Inner pages ----------------------------------------------------------- */
.page-hero { position: relative; background: var(--sage-50); overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero__inner {
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--gutter) clamp(3rem, 2.5rem + 3vw, 4.75rem);
}
.page-hero h1 { max-width: 16ch; font-size: clamp(2.375rem, 1.6rem + 3vw, 4rem); margin-bottom: 1rem; }
.page-hero__intro { font-size: var(--fs-lead); max-width: 40rem; color: var(--muted); }
.page-hero__media { display: none; }
@media (min-width: 60em) {
    .page-hero--image .page-hero__inner { display: grid; grid-template-columns: 1fr 17rem; gap: 4rem; align-items: end; padding-bottom: 0; }
    .page-hero--image .page-hero__text { padding-bottom: clamp(3rem, 2.5rem + 3vw, 4.75rem); align-self: center; }
    .page-hero__media { display: block; }
    .page-hero__media .arch { border-radius: 999px 999px 0 0; }
}

.breadcrumbs ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; font-size: var(--fs-small); }
.breadcrumbs li { display: flex; align-items: center; gap: 0.25rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--field); margin-right: 0.15rem; }
.breadcrumbs a { color: var(--pine-700); }

/* About */
.values { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 48em) { .values { grid-template-columns: repeat(2, 1fr); } }
.values li { padding: 2rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); }
.values h3 { margin-bottom: 0.5rem; }
.values p { color: var(--muted); }
.network-panel { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius); background: var(--sage-50); }

/* Services page */
.service-index { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.service-index a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--pine-900);
}
.service-index a:hover { border-color: var(--pine-800); background: var(--mint-100); }
.service-index .icon { color: var(--pine-600); }

.service-detail { scroll-margin-top: calc(var(--header-h) + 1rem); }
.service-detail .split { align-items: start; }
.service-detail .arch-wrap { max-width: 24rem; }
@media (min-width: 60em) {
    .service-detail .split { grid-template-columns: 0.75fr 1.25fr; }
    .service-detail .split--reverse { grid-template-columns: 1.25fr 0.75fr; }
    .service-detail .arch-wrap { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.service-detail__title { display: flex; align-items: center; gap: 1rem; }
.service-detail__title .icon {
    width: 3.25rem; height: 3.25rem; padding: 0.75rem;
    border-radius: 50%; background: var(--pine-800); color: var(--mint-300);
}
.service-detail__cols { display: grid; gap: 1.25rem; margin: 2rem 0; }
@media (min-width: 40em) { .service-detail__cols { grid-template-columns: 1fr 1fr; } }
.service-detail__cols > div { padding: 1.5rem; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border); }
.section--white .service-detail__cols > div { background: var(--sage-50); border-color: transparent; }
.service-detail h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; font-size: var(--fs-small); }
.tick-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; }
.tick-list .icon { color: var(--pine-600); width: 1.1rem; height: 1.1rem; margin-top: 0.22rem; }
.num-list { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.6rem; font-size: var(--fs-small); }
.num-list li::marker { color: var(--pine-600); font-weight: 700; }

/* Team */
.team-grid { display: grid; gap: 2rem; }
@media (min-width: 40em) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card img { border-radius: var(--arch); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 1.25rem; }
.team-card h3 { margin-bottom: 0.15rem; }
.team-card__role { color: var(--pine-600); font-weight: 600; margin-bottom: 0.75rem; }

/* Contact */
.contact-layout { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.contact-layout > * { min-width: 0; }
@media (min-width: 60em) { .contact-layout { grid-template-columns: 0.8fr 1.2fr; } }
.contact-layout h2 { font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2.125rem); }
.contact-layout h3 { font-size: 1.125rem; margin-top: 2rem; }
.contact-details { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 1.25rem; }
.contact-details li { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1rem; }
.contact-details .icon { grid-row: span 2; width: 2.75rem; height: 2.75rem; padding: 0.65rem; border-radius: 50%; background: var(--white); color: var(--pine-700); }
.contact-details strong { color: var(--pine-900); font-size: var(--fs-small); }
.tbc { color: var(--muted); font-style: italic; }
.panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

/* Confirmation */
.confirmation__icon { color: var(--success); width: 3.5rem; height: 3.5rem; margin-bottom: 1.25rem; }
.reference {
    display: inline-block;
    margin: 0.5rem 0 1.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    background: var(--mint-100);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--pine-900);
}
.next-steps { padding-left: 1.25rem; display: grid; gap: 0.6rem; margin: 0 0 2rem; }

/* 8. Forms ----------------------------------------------------------------- */
.form-layout { display: grid; gap: 2.5rem; align-items: start; }
.form-layout > * { min-width: 0; }
@media (min-width: 66em) { .form-layout { grid-template-columns: 17rem 1fr; gap: 4rem; } }

.form-progress { display: none; }
@media (min-width: 66em) { .form-progress { display: block; position: sticky; top: calc(var(--header-h) + 2rem); } }
.form-progress h2 { font-size: 1.125rem; margin-bottom: 1rem; }
.form-progress ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.25rem; counter-reset: fp; }
.form-progress li { counter-increment: fp; }
.form-progress a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-size: var(--fs-small);
    font-weight: 550;
}
.form-progress a::before {
    content: counter(fp, upper-alpha);
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    font-size: 0.8rem;
    font-weight: 700;
    flex: none;
}
.form-progress a:hover { color: var(--pine-900); background: var(--white); }
.form-progress a.is-active { color: var(--pine-900); background: var(--white); font-weight: 650; }
.form-progress a.is-active::before { background: var(--apricot); border-color: var(--apricot); color: var(--pine-900); }
.form-progress__aside { font-size: 0.875rem; color: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--mint-100); }
.form-progress__aside .icon { color: var(--pine-700); }

.fieldset {
    margin: 0 0 1.5rem;
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    min-width: 0;
}
.fieldset legend {
    float: left;
    width: 100%;
    padding: 0;
    margin-bottom: 0.4rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.2rem + 0.55vw, 1.7rem);
    font-weight: 700;
    color: var(--pine-900);
    letter-spacing: -0.02em;
}
.fieldset legend + * { clear: both; }
.fieldset__intro { color: var(--muted); font-size: var(--fs-small); margin-bottom: 1.75rem; max-width: 44rem; }
.fieldset__step {
    display: inline-grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--mint-100);
    color: var(--pine-700);
    font-size: 1rem;
    vertical-align: 0.15em;
}

.grid-fields { display: grid; gap: 1.4rem 1.5rem; }
@media (min-width: 40em) {
    .grid-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-fields .span-2 { grid-column: 1 / -1; }
}
@media (min-width: 75em) {
    .grid-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-fields--3 .span-2 { grid-column: span 2; }
    .grid-fields--3 .span-3 { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; min-width: 0; }
.field label, .field .label { margin-bottom: 0.35rem; font-weight: 600; color: var(--text); font-size: 1rem; }
.optional { font-weight: 450; color: var(--muted); }
.req { color: var(--error); font-weight: 700; }
.hint { margin: -0.15rem 0 0.5rem; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

.input, .select, .textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1.5px solid var(--field);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    line-height: 1.4;
}
.select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230F3A31' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1.1rem;
}
.textarea { min-height: 8rem; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--mint-300); outline-offset: 0; border-color: var(--pine-800); }
[aria-invalid="true"] { border-color: var(--error) !important; border-width: 2px; }
.field-error { order: -1; margin: 0 0 0.4rem; font-size: 0.95rem; font-weight: 600; color: var(--error); }
.field--error { padding-left: 1rem; border-left: 4px solid var(--error); }
.counter { margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted); text-align: right; }

.options { border: 0; padding: 0; margin: 0; min-width: 0; }
.options legend { font-weight: 600; margin-bottom: 0.35rem; padding: 0; font-size: 1rem; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1rem;
    border: 1.5px solid var(--field);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}
.chip input, .check input { flex: none; }
.chip input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--pine-800); }
.chip:hover { border-color: var(--pine-800); }
.chip:has(input:checked) { border-color: var(--pine-800); background: var(--mint-100); color: var(--pine-900); font-weight: 600; }
.chip:has(input:focus-visible) { outline: 3px solid var(--apricot); outline-offset: 2px; }
.chips--grid { display: grid; gap: 0.6rem; }
@media (min-width: 40em) { .chips--grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 75em) { .chips--grid { grid-template-columns: repeat(3, 1fr); } }
.chips--grid .chip { border-radius: var(--radius-sm); }

.check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 1.1rem 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--sage-50);
    cursor: pointer;
}
.field .check { font-weight: 400; margin-bottom: 0; color: var(--text); }
.check input { width: 1.4rem; height: 1.4rem; margin: 0.1rem 0 0; accent-color: var(--pine-800); }
.check__text { font-size: 0.975rem; }
.check__text strong { display: block; color: var(--pine-900); margin-bottom: 0.15rem; }
.check:has(input:checked) { border-color: var(--pine-600); background: var(--mint-100); }
.check:has(input:focus-visible) { outline: 3px solid var(--apricot); outline-offset: 2px; }
.fieldset > .field + .field { margin-top: 0.85rem; }

/* Compact file upload bar: the whole bar is a label for a visually hidden file input */
.dropzone { position: relative; max-width: 34rem; }
.upload {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.75rem 0.7rem 0.8rem;
    border: 1.5px solid var(--field);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field .upload { margin: 0; font-weight: 400; }
.upload:hover { border-color: var(--pine-800); background: var(--sage-50); }
.upload__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: var(--mint-100);
    color: var(--pine-700);
}
.upload__icon .icon { width: 1.25rem; height: 1.25rem; }
.upload__text { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.upload__title { font-weight: 600; font-size: 0.975rem; color: var(--pine-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__meta { font-size: 0.85rem; color: var(--muted); }
.upload__btn {
    flex: none;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--pine-800);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}
.upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}
.dropzone:has(.upload__input:focus-visible) .upload { outline: 3px solid var(--apricot); outline-offset: 2px; }
.dropzone.is-dragover .upload { border-color: var(--pine-600); border-style: dashed; background: var(--mint-100); }
.dropzone.has-file .upload { border-color: var(--pine-600); background: var(--sage-50); }
.dropzone.has-file .upload__icon { background: var(--pine-800); color: var(--mint-300); }
.dropzone.has-error .upload { border-color: var(--error); }
[aria-invalid="true"] + .file-status, .field--error .upload { border-color: var(--error); }
.file-status { font-size: 0.875rem; margin: 0.45rem 0 0; }
.file-status:empty { display: none; }
.file-status--ok { color: var(--success); font-weight: 600; }
.file-status--error { color: var(--error); font-weight: 600; }
@media (max-width: 30em) { .upload__btn { display: none; } }

.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--sage-50);
    margin-bottom: 1.75rem;
    font-size: 0.975rem;
}
.notice .icon { width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; }
.notice--info { background: var(--mint-100); border-color: #B9E0CB; }
.notice--info .icon { color: var(--pine-700); }
.notice--error { background: var(--error-bg); border-color: #F3C2BD; border-left: 5px solid var(--error); }
.notice--error .icon { color: var(--error); }
.notice--success { background: var(--success-bg); border-color: #BFE0CC; border-left: 5px solid var(--success); }
.notice--success .icon { color: var(--success); }
.notice h2 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.notice ul { margin: 0.25rem 0 0; padding-left: 1.1rem; }
.notice ul a { color: var(--error); font-weight: 600; }
#cookie-settings-status { display: block; margin-top: 1.5rem; }
#cookie-settings-status:empty { display: none; }

.submit-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 1.5rem clamp(1.5rem, 1rem + 2vw, 2.5rem);
    border-radius: var(--radius);
    background: var(--pine-800);
    color: var(--on-dark);
}
.submit-bar p { margin: 0; flex: 1 1 18rem; font-size: var(--fs-small); }

/* 9. Legal & prose --------------------------------------------------------- */
.legal {
    display: grid;
    gap: 2.5rem;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.legal > * { min-width: 0; }
@media (min-width: 64em) {
    .legal { grid-template-columns: 16rem minmax(0, 46rem); gap: 5rem; }
    .legal__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.legal__updated { font-size: var(--fs-small); color: var(--muted); }
.legal__toc { padding: 1.25rem 1.25rem 1.25rem 1rem; border-radius: var(--radius); background: var(--sage-50); }
.legal__toc h2 { font-family: var(--font-body); font-size: 0.95rem; margin: 0 0 0.75rem; }
.legal__toc ol { margin: 0; padding-left: 1.4rem; display: grid; gap: 0.45rem; font-size: 0.925rem; }
.legal__toc a { color: var(--muted); text-decoration: none; }
.legal__toc a:hover { color: var(--pine-900); text-decoration: underline; }

.prose { font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.9rem); margin: 2.75rem 0 0.85rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.prose h2:first-of-type, .prose .notice + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--pine-600); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem; font-size: 0.95rem; line-height: 1.55; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.8rem 0.9rem; border: 1px solid var(--border); }
.prose th { background: var(--sage-50); color: var(--pine-900); font-weight: 650; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 34rem; }

mark.draft {
    padding: 0.05em 0.4em;
    border: 1px dashed #C46224;
    border-radius: 6px;
    background: var(--apricot-100);
    color: #6B2E0A;
    font-size: 0.95em;
}

.cookie-category { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1.5rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.cookie-category h2, .cookie-category h3 { margin: 0; font-size: 1.25rem; }
.cookie-category p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.975rem; }
.switch { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.switch input {
    appearance: none;
    position: relative;
    width: 3rem;
    height: 1.7rem;
    margin: 0;
    border-radius: 999px;
    background: var(--field);
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.switch input::after { content: ""; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--white); transition: transform 0.15s ease; }
.switch input:checked { background: var(--pine-700); }
.switch input:checked::after { transform: translateX(1.3rem); }
.switch input:disabled { opacity: 0.55; cursor: not-allowed; }
.switch input:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: var(--pine-900); color: var(--on-dark-muted); font-size: var(--fs-small); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__top {
    display: grid;
    gap: 3rem;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding: clamp(3.5rem, 3rem + 3vw, 5.5rem) var(--gutter) 3rem;
}
@media (min-width: 66em) { .site-footer__top { grid-template-columns: 1fr 2.4fr; gap: 4rem; } }
.site-footer__brand p { margin: 1.5rem 0; max-width: 24rem; line-height: 1.65; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.site-footer__contact li { display: flex; gap: 0.75rem; align-items: flex-start; }
.site-footer__contact .icon { color: var(--apricot); margin-top: 0.15rem; }
.site-footer__contact .tbc { color: var(--on-dark-muted); }
.site-footer__nav { display: grid; gap: 2.25rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48em) { .site-footer__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-footer__heading { font-family: var(--font-body); font-size: 0.95rem; font-weight: 650; color: var(--white); margin-bottom: 1rem; }
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2.5rem;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding: 1.25rem var(--gutter);
    border-top: 1px solid var(--border-dark);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom { justify-content: space-between; gap: 0.75rem 2rem; padding-bottom: 1.75rem; font-size: 0.875rem; }
.site-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; }

/* 11. Cookie banner -------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 60;
    max-width: 62rem;
    margin-inline: auto;
    background: var(--pine-900);
    color: var(--on-dark);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
}
.cookie-banner__inner { display: grid; gap: 1rem 2rem; align-items: center; padding: 1.4rem 1.6rem; }
@media (min-width: 60em) { .cookie-banner__inner { grid-template-columns: 1fr auto; } }
.cookie-banner h2 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.35rem; }
.cookie-banner p { font-size: 0.925rem; margin: 0; }
.cookie-banner a:not(.btn) { color: var(--mint-300); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-banner .btn--text { color: var(--white); }
@media (max-width: 30em) { .cookie-banner__actions .btn { flex: 1 1 100%; justify-content: center; } }

/* 12. Admin ---------------------------------------------------------------- */
.admin-bar { background: var(--pine-800); color: var(--on-dark); }
.admin-bar__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 0.9rem var(--gutter);
}
.admin-bar nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }
.admin-bar a { color: var(--white); font-weight: 600; text-decoration: none; }
.admin-bar a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--apricot); }
.admin-bar form { margin: 0; display: flex; align-items: center; gap: 0.75rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--white); }
.data-table th, .data-table td { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.data-table th { background: var(--mint-100); color: var(--pine-900); font-weight: 650; white-space: nowrap; }
.data-table tbody tr:hover { background: var(--sage-50); }
.badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.8rem; font-weight: 650; background: var(--mint-100); color: var(--pine-900); }
.badge--new { background: var(--apricot-100); color: #6B2E0A; }
.dl { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; gap: 0; margin: 0; }
.dl dt, .dl dd { padding: 0.7rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.dl dt { font-weight: 600; color: var(--pine-900); padding-right: 1rem; }
.dl dd { white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 40em) { .dl { grid-template-columns: 1fr; } .dl dt { border-bottom: 0; padding-bottom: 0; } }
.filters { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; margin-bottom: 1.5rem; }
.filters .field { min-width: 12rem; }
.pagination { display: flex; gap: 0.5rem; margin-top: 1.5rem; }

/* 13. Utilities & motion --------------------------------------------------- */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

/* One orchestrated entrance on the home hero; nothing else animates on load. */
@media (prefers-reduced-motion: no-preference) {
    .hero__content > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .hero__content > :nth-child(2) { animation-delay: 0.06s; }
    .hero__content > :nth-child(3) { animation-delay: 0.12s; }
    .hero__content > :nth-child(4) { animation-delay: 0.18s; }
    .hero__content > :nth-child(5) { animation-delay: 0.24s; }
    .hero__visual .arch { animation: reveal 1s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .hero__badge { animation: rise 0.7s 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .hero__badge--top { animation-delay: 0.75s; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    @keyframes reveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .cookie-banner, .nav-toggle, .legal__aside { display: none !important; }
}
.site-nav__actions .btn[aria-current="page"] { box-shadow: 0 0 0 3px var(--mint-300); }

/* Multi-select dropdown (sectors) */
.multiselect { position: relative; }
.multiselect__toggle { display: block; cursor: pointer; list-style: none; padding-right: 2.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.multiselect__toggle::-webkit-details-marker { display: none; }
.multiselect__toggle:focus-visible { outline: 3px solid var(--mint-300); outline-offset: 0; border-color: var(--pine-800); }
.multiselect[open] .multiselect__toggle { border-color: var(--pine-800); }
.multiselect__label[data-empty] { color: var(--muted); }
.multiselect__panel {
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 0.4rem);
    z-index: 20;
    display: grid;
    gap: 0.15rem;
    max-height: 19rem;
    overflow-y: auto;
    padding: 0.5rem;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 40px -20px rgba(10, 38, 32, 0.45);
}
@media (min-width: 48em) { .multiselect__panel { grid-template-columns: repeat(2, 1fr); } }
.multiselect__option { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.75rem; border-radius: 8px; font-weight: 500; font-size: 0.975rem; cursor: pointer; }
.field .multiselect__option { margin: 0; font-weight: 500; }
.multiselect__option:hover { background: var(--sage-50); }
.multiselect__option:has(input:checked) { background: var(--mint-100); font-weight: 600; }
.multiselect__option:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.multiselect__option input { width: 1.15rem; height: 1.15rem; margin: 0; flex: none; accent-color: var(--pine-800); }

/* Currency selector joined to an amount field */
.input-group { display: flex; min-width: 0; }
.input-group .input-group__currency { flex: 0 0 auto; width: 6.75rem; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-width: 0; background-color: var(--sage-50); font-weight: 600; }
.input-group .input { flex: 1 1 auto; min-width: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group .input-group__currency:focus { position: relative; z-index: 1; border-right-width: 1.5px; }

/* Contact page: a single centred form panel */
.contact-form-wrap { max-width: calc(58rem + 2 * var(--gutter)); }
.contact-form-wrap .panel { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); box-shadow: 0 24px 60px -36px rgba(10, 38, 32, 0.35); }
.contact-form__head { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.contact-form__head h2 { font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2.125rem); margin-bottom: 0.4rem; }
.contact-form__head p { color: var(--muted); margin: 0; }
.contact-form-wrap .textarea { min-height: 11rem; }
.site-footer__legal { display: grid; gap: 0.35rem; max-width: 46rem; }

/* Related policies block at the end of legal pages */
.prose .related { margin-top: 3rem; padding: 1.75rem; border-radius: var(--radius); background: var(--sage-50); }
.prose .related h2 { margin: 0 0 1rem; padding: 0; border: 0; font-size: 1.25rem; }
.prose .related ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.4rem 1.5rem; }
@media (min-width: 40em) { .prose .related ul { grid-template-columns: 1fr 1fr; } }
.prose .related li { margin: 0; font-size: 0.975rem; }
.prose .related p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* Hero fits exactly one screen below the header, sized to viewport height
   so the headline, buttons and photo are all visible without scrolling. */
.hero__grid {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding-block: clamp(1.5rem, 4vh, 3.5rem);
    align-content: center;
    gap: 2rem;
}
.hero h1 {
    font-size: clamp(2.4rem, min(4.6vw, 9.5vh), 5rem);
    max-width: 14ch;
    margin-bottom: clamp(0.9rem, 2.5vh, 1.5rem);
}
.hero .kicker { margin-bottom: clamp(0.6rem, 2vh, 1.1rem); }
.hero__text { margin-bottom: clamp(1.25rem, 3.5vh, 2.25rem); }
.hero__secondary { margin-top: clamp(0.9rem, 2.5vh, 1.75rem); }
@media (min-width: 60em) {
    .hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
    .hero__visual .arch-wrap { max-width: min(27rem, calc((100vh - var(--header-h) - 5rem) * 0.8)); }
    .hero__visual .arch-wrap { max-width: min(27rem, calc((100svh - var(--header-h) - 5rem) * 0.8)); }
}
@media (max-width: 59.99em) {
    .hero__grid { min-height: 0; }
}

/* Centred page banner (used on Get in Touch) */
.page-hero--centred .page-hero__text { text-align: center; }
.page-hero--centred h1, .page-hero--centred .page-hero__intro { margin-inline: auto; }
.page-hero--centred .breadcrumbs ol { justify-content: center; }

/* Hover effects: process steps, sector pills and country cards */
.step, .sector-pill, .country {
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.step::before { transition: color 0.2s ease, -webkit-text-stroke-color 0.2s ease; }
.step:hover {
    transform: translateY(-4px);
    background: rgba(159, 221, 191, 0.08);
    border-color: var(--mint-300);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.6);
}
.step:hover::before { color: var(--apricot); -webkit-text-stroke-color: var(--apricot); }

.sector-pill .icon { transition: background-color 0.2s ease, color 0.2s ease; }
.sector-pill:hover {
    transform: translateY(-2px);
    border-color: var(--pine-600);
    background: var(--mint-100);
    box-shadow: 0 10px 22px -16px rgba(10, 38, 32, 0.5);
}
.sector-pill:hover .icon { background: var(--apricot); color: var(--pine-900); }

.country:hover {
    transform: translateY(-4px);
    border-color: var(--pine-600);
    box-shadow: 0 24px 46px -24px rgba(10, 38, 32, 0.55);
}
.country:not(.country--primary):hover { background: var(--mint-100); }
.country--primary:hover { background: var(--pine-700); border-color: var(--apricot); }
.page-hero--centred .page-hero__inner { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-hero--centred .breadcrumbs ol { margin-bottom: 1rem; }
.page-hero--centred h1 { margin-bottom: 0.75rem; }
.page-hero--centred .page-hero__intro { max-width: 46rem; }
.page-hero--centred + .section { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* ==========================================================================
   Legal pages: document layout (style only; content comes from each page)
   ========================================================================== */
.page-hero--legal { background: var(--pine-800); border-bottom: 0; }
.page-hero--legal h1 { color: var(--white); font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem); max-width: none; }
.page-hero--legal .page-hero__intro { color: var(--on-dark); }
.page-hero--legal .breadcrumbs li { color: var(--on-dark-muted); }
.page-hero--legal .breadcrumbs a { color: var(--mint-300); }
.page-hero--legal .breadcrumbs li + li::before { color: var(--on-dark-muted); }
.page-hero--legal + .legal-page { padding-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); }

.legal-page .legal { gap: 2rem; align-items: start; }
@media (min-width: 64em) {
    .legal-page .legal { grid-template-columns: 17rem minmax(0, 1fr); gap: 2.5rem; max-width: calc(72rem + 2 * var(--gutter)); }
    .legal-page .legal--single { grid-template-columns: 17rem minmax(0, 1fr); }
}

/* Sidebar */
.legal-page .legal__aside { display: grid; gap: 1rem; }
.legal-page .legal__updated {
    display: flex; align-items: center; gap: 0.6rem;
    margin: 0; padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--white); border: 1px solid var(--border);
    font-size: 0.9rem; font-weight: 600; color: var(--pine-900);
}
.legal-page .legal__updated .icon { width: 1.1rem; height: 1.1rem; color: var(--pine-600); }
.legal-page .legal__toc { padding: 1.25rem 0.75rem 1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); }
.legal-page .legal__toc h2 { padding: 0 0.6rem; margin-bottom: 0.6rem; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.legal-page .legal__toc ol { list-style: none; padding: 0; gap: 0.1rem; counter-reset: toc; }
.legal-page .legal__toc li { counter-increment: toc; }
.legal-page .legal__toc a {
    display: flex; gap: 0.6rem; align-items: baseline;
    padding: 0.45rem 0.6rem; border-radius: 8px;
    color: var(--muted); font-size: 0.9rem; line-height: 1.35;
    border-left: 3px solid transparent;
}
.legal-page .legal__toc a::before { content: counter(toc, decimal-leading-zero); font-size: 0.75rem; font-weight: 700; color: var(--pine-600); opacity: 0.7; flex: none; }
.legal-page .legal__toc a:hover { background: var(--sage-50); color: var(--pine-900); text-decoration: none; }
.legal-page .legal__toc a.is-active { background: var(--mint-100); color: var(--pine-900); font-weight: 600; border-left-color: var(--apricot); }
.legal-page .legal__toc a.is-active::before { opacity: 1; }
@media (max-width: 63.99em) { .legal-page .legal__toc { display: none; } }

/* Document card */
.legal-page .legal__body {
    padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px -40px rgba(10, 38, 32, 0.35);
    max-width: 52rem;
    counter-reset: legal-section;
}
.legal-page .prose { font-size: 1.025rem; line-height: 1.75; }
.legal-page .prose > p:first-of-type:not(.notice) { font-size: 1.075rem; }
.legal-page .prose h2 {
    counter-increment: legal-section;
    display: flex; align-items: baseline; gap: 0.85rem;
    margin: 2.75rem 0 1rem; padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem);
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.legal-page .prose h2::before {
    content: counter(legal-section, decimal-leading-zero);
    flex: none;
    display: inline-grid; place-items: center;
    min-width: 2.4rem; height: 2.4rem; padding: 0 0.4rem;
    border-radius: 10px;
    background: var(--mint-100); color: var(--pine-700);
    font-size: 0.95rem; font-weight: 700; letter-spacing: 0;
    transform: translateY(-0.15rem);
}
.legal-page .prose h2:first-of-type, .legal-page .prose .notice + h2 { margin-top: 0.5rem; padding-top: 0; border-top: 0; }
.legal-page .prose .related h2 { counter-increment: none; display: block; }
.legal-page .prose .related h2::before { content: none; }
.legal-page .prose h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; color: var(--pine-800); }
.legal-page .prose ul { list-style: none; padding-left: 0; }
.legal-page .prose ul > li { position: relative; padding-left: 1.4rem; }
.legal-page .prose ul > li::before {
    content: ""; position: absolute; left: 0.2rem; top: 0.68em;
    width: 0.45rem; height: 0.45rem; border-radius: 50%;
    background: var(--apricot);
}
.legal-page .prose ol { padding-left: 1.4rem; }
.legal-page .prose ol > li::marker { color: var(--pine-600); font-weight: 700; }
.legal-page .prose .related ul > li { padding-left: 0; }
.legal-page .prose .related ul > li::before { content: none; }
.legal-page .prose a { color: var(--pine-700); font-weight: 500; }

/* Notice at the top of each document */
.legal-page .prose .notice { margin-bottom: 2rem; border: 0; border-left: 4px solid var(--pine-600); border-radius: var(--radius-sm); background: var(--sage-50); font-size: 0.95rem; }

/* Tables */
.legal-page .prose .table-scroll { margin: 1.5rem 0 2rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.legal-page .prose table { margin: 0; border-collapse: separate; border-spacing: 0; }
.legal-page .prose th, .legal-page .prose td { border: 0; border-bottom: 1px solid var(--border); padding: 0.9rem 1rem; }
.legal-page .prose tr:last-child td { border-bottom: 0; }
.legal-page .prose th { background: var(--pine-800); color: var(--white); font-size: 0.875rem; }
.legal-page .prose tbody tr:nth-child(even) td { background: var(--sage-50); }
.legal-page .prose td:first-child { font-weight: 600; color: var(--pine-900); width: 38%; }

/* Related policies box */
.legal-page .prose .related { margin-top: 3rem; background: var(--pine-800); color: var(--on-dark); }
.legal-page .prose .related h2 { color: var(--white); }
.legal-page .prose .related a { color: var(--mint-300); font-weight: 500; }
.legal-page .prose .related p { color: var(--on-dark-muted); }
.legal-page .legal__updated span { white-space: nowrap; }
/* Keep the hero info cards clear of the subject's face */
@media (min-width: 60em) {
    .hero__badge--top { top: auto; bottom: 40%; right: -1.5rem; }
    .hero__badge:not(.hero__badge--top) { bottom: 6%; left: -2rem; }
}
.hero__visual .arch img { object-position: 50% 20%; }

/* ==========================================================================
   Home hero: full-background photograph with a pine overlay
   ========================================================================== */
.hero--photo { position: relative; isolation: isolate; background: var(--pine-900); color: var(--white); }
.hero--photo .hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero--photo .hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 35%;
    transform: scaleX(-1); /* mirrored so the candidate sits on the right, away from the text */
}
.hero--photo::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(10, 38, 32, 0.96) 0%, rgba(10, 38, 32, 0.9) 34%, rgba(15, 58, 49, 0.55) 62%, rgba(15, 58, 49, 0.18) 100%),
        linear-gradient(0deg, rgba(10, 38, 32, 0.55) 0%, rgba(10, 38, 32, 0) 35%);
}
.hero--photo .hero__grid { grid-template-columns: 1fr; }
.hero--photo .hero__content { max-width: 40rem; }
.hero--photo h1 { color: var(--white); max-width: 13ch; }
.hero--photo .kicker { color: var(--mint-300); }
.hero--photo .hero__text { color: var(--on-dark); }
.hero--photo .hero__secondary { color: var(--on-dark-muted); }
.hero--photo .hero__secondary a { color: var(--white); }
.hero--photo .btn--ghost { color: var(--white); }
@media (max-width: 59.99em) {
    .hero--photo::before { background: linear-gradient(180deg, rgba(10, 38, 32, 0.82) 0%, rgba(10, 38, 32, 0.92) 100%); }
    .hero--photo .hero__grid { padding-block: 3.5rem 4rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .hero--photo .hero__bg img { animation: hero-zoom 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    @keyframes hero-zoom { from { transform: scaleX(-1) scale(1.06); } to { transform: scaleX(-1) scale(1); } }
}
@media (min-width: 60em) {
    .hero--photo .hero__content { max-width: 46rem; }
    .hero--photo::before {
        background:
            linear-gradient(90deg, rgba(10, 38, 32, 0.95) 0%, rgba(10, 38, 32, 0.86) 32%, rgba(15, 58, 49, 0.42) 60%, rgba(15, 58, 49, 0.08) 100%),
            linear-gradient(0deg, rgba(10, 38, 32, 0.5) 0%, rgba(10, 38, 32, 0) 30%);
    }
}
@media (min-width: 60em) and (max-height: 760px) {
    .hero--photo h1 { font-size: clamp(2.4rem, 8vh, 4rem); }
}

/* Keep audience card text readable on hover (the global link hover colour was turning it dark) */
.audience--employers, .audience--employers:hover { color: var(--on-dark); text-decoration: none; }
.audience--candidates, .audience--candidates:hover { color: var(--text); text-decoration: none; }
.audience--employers:hover { background: var(--pine-700); }
.audience--candidates:hover { background: #CDEBDB; }
.audience { transition: background-color 0.2s ease; }
.hero--photo .hero__secondary { margin-bottom: 0; }
@media (min-width: 60em) { .hero--photo .hero__content { max-width: 42rem; } }
.page-hero--centred + .section--tight .service-index { justify-content: center; }
.page-hero--centred .page-hero__intro { max-width: 44rem; line-height: 1.55; }
.page-hero--centred h1 { max-width: none; }

/* Call-to-action cards: hover lift and button feedback */
.cta-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cta-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.55); }
.btn { transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.btn--primary:hover, .btn--accent:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(10, 38, 32, 0.55); }
.btn--primary:hover .icon { transform: translateY(-2px); }
.btn .icon { transition: transform 0.18s ease; }

/* About page value cards: hover effect in site colours */
.values li {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.values li::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--apricot);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease;
}
.values h3 { transition: color 0.2s ease; }
.values li:hover {
    transform: translateY(-4px);
    border-color: var(--pine-600);
    background: var(--mint-100);
    box-shadow: 0 22px 44px -26px rgba(10, 38, 32, 0.45);
}
.values li:hover::before { transform: scaleY(1); }
.values li:hover h3 { color: var(--pine-700); }
.values li:hover p { color: var(--text); }

/* Logo: overlapping diamonds with a double swoosh */
.logo { gap: 0.7rem; }
.logo__mark { width: 48px; height: 48px; flex: none; overflow: visible; }
.logo__diamond { fill: none; stroke-width: 2.3; stroke-linejoin: miter; }
.logo__diamond--front { stroke: var(--pine-800); }
.logo__diamond--back { stroke: var(--pine-600); }
.logo__swoosh--accent { fill: var(--apricot); }
.logo__swoosh--second { fill: var(--pine-600); }
.logo--dark .logo__diamond--front { stroke: var(--mint-300); }
.logo--dark .logo__diamond--back { stroke: rgba(211, 230, 220, 0.55); }
.logo--dark .logo__swoosh--second { fill: var(--white); }
.logo__word { font-size: 1.45rem; }
.logo__rest { font-weight: 550; }
@media (max-width: 30em) {
    .logo__mark { width: 40px; height: 40px; }
    .logo__word { font-size: 1.25rem; }
}
.site-header .logo__mark { width: 52px; height: 52px; }
@media (max-width: 30em) { .site-header .logo__mark { width: 42px; height: 42px; } }

/* Home FAQ: quick-help list beside the questions */
.faq-help { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.faq-help li {
    display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--sage-50);
    font-size: var(--fs-small); line-height: 1.55; color: var(--muted);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.faq-help li:hover { border-color: var(--pine-600); background: var(--mint-100); transform: translateY(-2px); }
.faq-help strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--pine-900); }
.faq-help .link-more { display: inline-flex; margin-top: 0.5rem; font-size: 0.95rem; }
.faq-help__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--white); color: var(--pine-700); }
.faq-help__icon .icon { width: 1.15rem; height: 1.15rem; }
.faq-help .link-more { display: flex; width: fit-content; }

/* Logo (final): dark tile, overlapping diamonds, apricot and white swoosh */
.logo { gap: 0.75rem; }
.logo__mark { overflow: hidden; border-radius: 11px; }
.logo__tile { fill: var(--pine-800); }
.logo--dark .logo__tile { fill: var(--pine-700); }
.logo__diamond { fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.logo__diamond--front, .logo--dark .logo__diamond--front { stroke: var(--mint-300); }
.logo__diamond--back, .logo--dark .logo__diamond--back { stroke: var(--mint-300); stroke-opacity: 0.55; }
.logo__swoosh--light { fill: var(--white); }
.logo__swoosh--accent { fill: var(--apricot); }
.logo__spell { font-weight: 750; }
.logo__rest { font-weight: 550; }

/* Supporting statement beside split section headings */
.section-head .section-head__note {
    position: relative;
    margin: 0;
    padding: 0.35rem 0 0.35rem 1.5rem;
    border-left: 3px solid var(--apricot);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--pine-800);
    max-width: 34rem;
}
@media (min-width: 56em) { .section-head--split .section-head__note { justify-self: end; } }
.section-head p.section-head__note { color: var(--pine-800); font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem); line-height: 1.45; }

/* Logo (connected figures forming an S) */
.logo__mark { border-radius: 12px; overflow: hidden; }
.logo__tile { fill: var(--pine-800); }
.logo--dark .logo__tile { fill: var(--pine-700); }
.logo__head--a { fill: var(--white); }
.logo__head--b { fill: var(--apricot); }
.logo__arm { fill: none; stroke-width: 5.6; stroke-linecap: round; }
.logo__arm--a { stroke: var(--white); }
.logo__arm--b { stroke: var(--apricot); }
.logo__spell { font-weight: 750; }
.logo__rest { font-weight: 500; }

/* Home FAQ: both columns start and end at the same line */
@media (min-width: 60em) {
    .faq-layout { align-items: stretch; }
    .faq-layout > .section-head { display: flex; flex-direction: column; margin-bottom: 0; }
    .faq-layout .faq-help { margin-top: auto; padding-top: 2rem; }
    .faq-layout > .faq { display: flex; flex-direction: column; }
    .faq-layout > .faq details { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
}

/* Home "For employers": mirror of the candidates section, text pushed to the right edge */
@media (min-width: 60em) {
    .split--employers { grid-template-columns: 1fr 1fr; }
    .split--employers > div:last-child { justify-self: end; width: 100%; max-width: 36rem; }
    .split--employers .arch-wrap { margin-inline: 0 auto; }
}

/* Supplied logo artwork */
.logo { display: inline-flex; align-items: center; }
.logo picture { display: block; }
.logo__img { display: block; width: auto; height: 46px; max-width: 100%; }
.site-footer .logo__img { height: 42px; }
@media (max-width: 30em) { .logo__img { height: 38px; } }
.site-header .logo__img { height: 56px; }
.site-footer .logo__img { height: 50px; }
@media (max-width: 30em) { .site-header .logo__img { height: 44px; } }
