/* Green Health website, site V2.1 (20 October 2026): the design of site V1.3.1, unchanged in
   layout, components and spacing; brand guide V2.1 applied through colours, type tokens,
   logos, favicon and images (core/docs/brand-guide.md).
   Colours (brand guide §2.1): deep forest #1B4526, ring #123A1F, forest #2F7436, living green
   #4FBE37 (the seed, small accents; never text), sand #CDC3AE, light sand #EFEAE0 (screen ground),
   white, secondary text #5D665F (on white and light sand only); IMMI black #231F20 on IMMI pages.
   The one Green Health device (§4.2): the logo outlines in solid tints (#AFB8A8 on light sand
   and white, #89937A on sand, #506B4F on deep forest), at most one band per page, never over a
   photograph; no transparency. No IMMI ornaments on Green Health pages (§4.1).
   Contrast (computed, §2.2): deep forest on white 10.9, on light sand 9.1, on sand 6.2;
   forest on white 5.7, on light sand 4.8; #5D665F on white 5.9, on light sand 5.0;
   white on deep forest 10.9; sand on deep forest 6.2; IMMI black on white 16.3. */

@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-variable.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-italic-400.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --deep: #1B4526;
  --forest: #2F7436;
  --ring: #123A1F;
  --seed: #4FBE37;            /* never text */
  --ink: #1B4526;
  --muted: #5D665F;
  --ground: #EFEAE0;          /* proposed screen ground */
  --surface: #FFFFFF;
  --sand: #CDC3AE;
  --rule: #CFD6CF;            /* decorative only */
  --immi-ink: #231F20;
  --sans: Outfit, "Helvetica Neue", Arial, sans-serif;
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --radius: 8px;
  --radius-sm: 4px;
  --gutter: 16px;
  --max: 1180px;
  --measure: 40rem;
  --space-1: 8px; --space-2: 16px; --space-3: 32px; --space-4: 64px; --space-5: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 2px; }
.section--deep :focus-visible, .site-footer :focus-visible { outline-color: #FFFFFF; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 var(--space-2); color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 var(--space-2); }
ul, ol { margin: 0 0 var(--space-2); padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip link */
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--deep); color: #FFFFFF; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 8px; }

/* Containers */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.measure { max-width: var(--measure); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-2); min-height: 68px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; }
.nav-main { margin-left: auto; display: none; }
.nav-main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav-main li { margin: 0; }
.nav-main a { display: block; padding: 8px 9px; color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; border-radius: var(--radius-sm); }
.nav-main a:hover { background: var(--ground); }
.nav-main a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--seed); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-main + .header-tools { margin-left: 0; }
.lang { font-size: 0.9rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 6px 8px; border: 1px solid var(--sand); border-radius: var(--radius-sm); }
.lang span { font-weight: 400; color: var(--muted); }
.menu-link { font-weight: 600; font-size: 0.95rem; color: var(--ink); padding: 6px 8px; }
.header-cta { display: none; }
@media (min-width: 1120px) {
  .nav-main { display: block; }
  .menu-link { display: none; }
  .header-cta { display: inline-flex; }
  .header-tools { margin-left: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid var(--deep); background: var(--deep); color: #FFFFFF; cursor: pointer; text-align: center; }
.btn:hover { background: var(--ring); border-color: var(--ring); color: #FFFFFF; }
.btn--ghost { background: transparent; color: var(--deep); }
.btn--ghost:hover { background: var(--deep); color: #FFFFFF; }
.btn--light { background: #FFFFFF; color: var(--deep); border-color: #FFFFFF; }
.btn--light:hover { background: var(--ground); color: var(--deep); border-color: var(--ground); }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: var(--space-3); }
.text-link { font-weight: 600; }
.text-link::after { content: " \2192"; }

/* Sections */
.section { padding: var(--space-4) 0; position: relative; }
@media (min-width: 900px) { .section { padding: var(--space-5) 0; } }
.section--white { background: var(--surface); }
.section--sand { background: var(--sand); }
.section--pale { background: #EDF3EA; }
.section--deep { background: var(--deep); color: #FFFFFF; }
.section--deep a { color: #FFFFFF; }
.section--deep .kicker, .section--deep .muted { color: var(--sand); }
.section--deep .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: #FFFFFF; }
.section--deep .card .muted { color: var(--sand); }
.section--rings { overflow: hidden; }
.section--rings::after { content: ""; position: absolute; width: 440px; height: 440px; right: -220px; top: -220px; background: url("../img/gh-outline_on-light-sand.svg") no-repeat center / contain; pointer-events: none; z-index: 0; display: none; }
@media (min-width: 900px) { .section--rings::after { display: block; } }   /* V2.1: a corner of the outline, clear of the text; not on narrow screens */
.section--rings > .wrap { position: relative; z-index: 1; }
.section--sand.section--rings::after { background-image: url("../img/gh-outline_on-sand.svg"); }
.section--deep.section--rings::after { background-image: url("../img/gh-outline_on-deep-forest.svg"); }
.kicker { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); margin: 0 0 12px; display: block; }
.kicker::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--seed); margin-right: 10px; vertical-align: 0; }
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.42; margin-bottom: var(--space-3); }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.section-head { max-width: 46rem; margin-bottom: var(--space-3); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Hero */
.hero { background: var(--surface); padding: var(--space-4) 0; }
.hero .wrap { display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: var(--space-4); } .hero--text-only .wrap { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: var(--space-2); }
.hero .lead { margin-bottom: var(--space-2); }
.hero-media img, .hero-media video { width: 100%; border-radius: var(--radius); object-fit: cover; }
.hero-media figcaption { margin-top: 8px; }
.page-hero { background: var(--surface); padding: var(--space-4) 0 var(--space-3); border-bottom: 1px solid var(--rule); }
.page-hero .lead { max-width: 44rem; }

/* Two-column text and media */
.split { display: grid; gap: var(--space-3); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-4); } .split--media-first > :first-child { order: 0; } .split--wide-text { grid-template-columns: 1.3fr 1fr; } }
figure { margin: 0; }
figure img { border-radius: var(--radius); width: 100%; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.section--deep figcaption { color: var(--sand); }

/* Cards and grids */
.grid { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 24px; } }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.section--white .card { background: var(--ground); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-family: var(--sans); font-weight: 700; color: var(--forest); font-size: 0.95rem; letter-spacing: 0.06em; margin-bottom: 10px; }
.section--deep .card .num { color: var(--sand); }
.card .card-link { margin-top: auto; padding-top: 14px; font-weight: 600; }
.card img { border-radius: var(--radius-sm); margin: -8px -8px 16px; width: calc(100% + 16px); max-width: none; aspect-ratio: 4 / 3; object-fit: cover; }
.card--logo img { aspect-ratio: auto; object-fit: contain; object-position: left center; width: auto; max-width: 100%; height: 56px; margin: 0 0 16px; border-radius: 0; }   /* V2.1: partner logos, whole, equal height */
.card--logo img[src$="ucl-logo--primary.svg"] { height: 40px; margin: 8px 0 24px; }   /* V2.3 review fix: the solid UCL mark at optical weight with the others; same box height */
.card--path h3::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--seed); margin-bottom: 12px; }

/* Movements (home: three movements) */
.movements { counter-reset: mv; }
.movement { border-top: 1px solid var(--rule); padding: var(--space-3) 0; display: grid; gap: var(--space-2); }
@media (min-width: 900px) { .movement { grid-template-columns: 220px 1fr 1fr; gap: var(--space-3); align-items: start; } }
.movement .mv-label { font-weight: 700; color: var(--forest); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }

/* Story chain */
.chain { list-style: none; padding: 0; margin: var(--space-3) 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: chain; }
.chain li { margin: 0; background: var(--surface); border: 1px solid var(--sand); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 0.98rem; display: inline-flex; align-items: center; gap: 8px; }
.chain li::before { counter-increment: chain; content: counter(chain); font-weight: 700; color: var(--forest); font-size: 0.85rem; }
.section--white .chain li { background: var(--ground); border-color: transparent; }
.section--deep .chain li { background: transparent; border-color: rgba(255,255,255,0.35); }
.section--deep .chain li::before { color: var(--sand); }

/* Steps (permission stages) */
.steps { list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.steps li { margin: 0; padding: 14px 14px 12px; border-top: 3px solid var(--seed); background: rgba(255,255,255,0.06); font-weight: 600; }
.section--white .steps li, .section .steps li { background: var(--surface); }
.section--deep .steps li { background: rgba(255,255,255,0.06); }

/* Quotes */
.quote { margin: var(--space-3) 0; padding: 0 0 0 22px; border-left: 3px solid var(--seed); }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.3vw, 1.8rem); line-height: 1.35; margin-bottom: 10px; }
.quote cite { font-style: normal; font-size: 0.92rem; color: var(--muted); display: block; }
.section--deep .quote cite { color: var(--sand); }
.quote--large p { font-size: clamp(1.5rem, 3vw, 2.3rem); }

/* Film */
.film { background: var(--deep); color: #FFFFFF; }
.film video { width: 100%; border-radius: var(--radius); background: #000; aspect-ratio: 960 / 402; }
.film figcaption { color: var(--sand); }

/* Facts list (exists / builds / later) */
.status-cols { display: grid; gap: var(--space-2); }
@media (min-width: 900px) { .status-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.status-col { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.status-col h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--seed); margin-right: 10px; }
.status-col h3 { font-size: 1.1rem; }

/* Key facts (course, retreat) */
.facts { display: grid; gap: 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); margin: var(--space-3) 0; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { padding: 18px 20px; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; }

/* Curriculum and programme */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--sand); }
.timeline > li { margin: 0 0 var(--space-3) 0; padding-left: 24px; position: relative; }
.timeline > li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--seed); border: 2px solid var(--deep); }
.timeline .t-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); }
.timeline h3 { margin: 4px 0 8px; }

/* Price */
.price-box { background: var(--surface); border: 2px solid var(--deep); border-radius: var(--radius); padding: 28px; }
.price-box .price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1; margin: 8px 0 12px; }
.price-box ul { padding-left: 1.1em; }

/* People */
.people { display: grid; gap: var(--space-2); }
@media (min-width: 560px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .people { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.person { background: var(--surface); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.person img, .avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--deep); color: #FFFFFF; font-weight: 600; font-size: 1.35rem; letter-spacing: 0.02em; }
.avatar--sand { background: var(--sand); color: var(--deep); }
.person h3 { font-size: 1.1rem; margin-bottom: 2px; }
.person .role { font-size: 0.92rem; color: var(--muted); margin-bottom: 8px; }
.person p:last-child { margin-bottom: 0; }
.person--feature { grid-template-columns: 1fr; }
@media (min-width: 720px) { .person--feature { grid-template-columns: 220px 1fr; gap: 28px; } .person--feature img { width: 220px; height: 220px; border-radius: var(--radius); } }

/* Forms */
.form { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--rule); }
@media (min-width: 720px) { .form { padding: 32px; } }
.section--white .form { background: var(--ground); }
.section--deep .form { color: var(--ink); }
.form h3 { margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.98rem; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--muted); border-radius: var(--radius-sm); background: #FFFFFF; font: inherit; color: var(--immi-ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--deep); outline-offset: 1px; border-color: var(--deep); }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin-bottom: 10px; font-weight: 400 !important; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--deep); }
.req { color: var(--muted); font-weight: 400; font-size: 0.88rem; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 14px; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--rule); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--forest); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 16px; max-width: 44rem; }

/* CTA band */
.cta-band { text-align: left; }
.cta-band .actions { margin-top: var(--space-2); }

/* Blog */
.post-list { display: grid; gap: 24px; }
@media (min-width: 900px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
.post-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 1.45rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.article { background: var(--surface); }
.article .wrap { max-width: 760px; }
.article-body { font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; }
.article-body h2 { font-family: var(--sans); font-size: 1.6rem; margin-top: var(--space-3); }
.article-body p { margin-bottom: 1.1em; }
.article-body .quote p { font-size: 1.45rem; }
.article-hero img { border-radius: var(--radius); margin: var(--space-3) 0; }
.article-cta { background: var(--ground); border-radius: var(--radius); padding: 28px; margin-top: var(--space-3); font-family: var(--sans); font-size: 1.05rem; }
.article-cta h2 { margin-top: 0; font-size: 1.45rem; }

/* Legal */
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin-top: var(--space-3); }
.marker { font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; background: #FFF3C4; color: #4A3B00; padding: 2px 6px; border-radius: 3px; }

/* Thank-you states */
.thanks-state { display: none; }
.thanks-state:target { display: block; }
.thanks-default { display: block; }
.thanks-state:target ~ .thanks-default { display: none; }

/* Footer */
.site-footer { background: var(--deep); color: #FFFFFF; padding: var(--space-4) 0 var(--space-3); }
.site-footer a { color: #FFFFFF; }
.footer-grid { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sand); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .footer-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.site-footer .footer-legal { border-top: 1px solid rgba(255,255,255,0.2); margin-top: var(--space-3); padding-top: var(--space-2); font-size: 0.88rem; color: var(--sand); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer .footer-legal a { color: var(--sand); }
.site-footer p { color: #FFFFFF; }

/* IMMI-led look (brand architecture §12): white ground, IMMI black, Outfit 900 display,
   three-column grid, square corners, colour only from the IMMI logo and photographs. */
.look-immi { --ink: #231F20; --ground: #FFFFFF; --radius: 0px; --radius-sm: 0px; background: #FFFFFF; color: #231F20; }
.look-immi main h1, .look-immi main h2 { font-weight: 900; line-height: 1.02; letter-spacing: -0.01em; }
.look-immi main h3 { font-weight: 800; }
.look-immi .kicker { color: #231F20; font-weight: 800; letter-spacing: 0; text-transform: none; font-size: 1rem; }
.look-immi .kicker::before { display: none; }
.look-immi .lead { font-family: var(--sans); font-weight: 400; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.look-immi .page-hero, .look-immi .hero { background: #FFFFFF; }
.look-immi .section--white, .look-immi .section { background: #FFFFFF; }
.look-immi .section--sand { background: #CDC3AE; }
.look-immi .section.section--deep { background: #1B4526; color: #FFFFFF; }
.look-immi .section--deep .kicker, .look-immi .section--deep .lead, .look-immi .section--deep h2, .look-immi .section--deep h3, .look-immi .section--deep p { color: #FFFFFF; }
.look-immi .section--deep main a:not(.btn), .look-immi main .section--deep a:not(.btn) { color: #FFFFFF; }
.look-immi .section--deep .card { background: transparent; border-top-color: #FFFFFF; color: #FFFFFF; }
.look-immi .section--deep .btn { background: #FFFFFF; border-color: #FFFFFF; color: #1B4526; }
.look-immi .section + .section { border-top: 1px solid #231F20; }
.look-immi .card { background: #FFFFFF; border: 0; border-top: 2px solid #231F20; padding: 18px 0 0; }
.look-immi .btn { background: #231F20; border-color: #231F20; }
.look-immi .btn--ghost { background: transparent; color: #231F20; }
.look-immi .btn--ghost:hover { background: #231F20; color: #FFFFFF; }
.look-immi main a:not(.btn) { color: #231F20; }
.look-immi .quote { border-left-color: #4FBE37; }
.look-immi .quote p { font-family: var(--sans); font-style: normal; font-weight: 800; }
.look-immi .grid--3 { gap: 20px; }
.look-immi .levels .card .num { color: #231F20; font-size: 1.6rem; font-weight: 900; }
.immi-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 36px; margin-bottom: var(--space-3); }
.immi-logos .immi-mark { height: 92px; width: auto; }
.immi-logos .gh-endorse { display: flex; align-items: center; gap: 12px; }
.immi-logos .gh-endorse img { height: 34px; width: auto; }
.immi-logos .gh-endorse span { font-size: 0.95rem; font-weight: 600; }

/* Gallery strip (three near-square photographs) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: var(--space-3) 0 0; }
.gallery img { width: 100%; aspect-ratio: 1.1 / 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 520px) { .gallery { gap: 6px; } }

/* Narrow band */
.band-narrow .wrap { max-width: 820px; }

/* Article header */
.article-head { padding: var(--space-4) 0 0; background: var(--surface); }
.article-head .wrap { max-width: 760px; }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.article .wrap > .article-body > p:first-of-type { margin-top: 0; }
.back-link { display: inline-block; margin-bottom: var(--space-2); font-weight: 600; font-size: 0.95rem; }
.back-link::before { content: "\2190  "; }

/* Price box inside split */
.price-box h3 { margin-bottom: 0; }
.price-box .kicker { margin-bottom: 4px; }

/* Thank-you */
.thanks-wrap { min-height: 50vh; }

/* Build additions (generator output needs these; added during the build work, 13 October 2026) */
.film-figure video { width: 100%; height: auto; aspect-ratio: 960 / 402; border-radius: var(--radius); background: #000; }
.film-figure { margin: var(--space-3) 0; }
.btn.header-cta { display: none; }
@media (min-width: 1120px) { .btn.header-cta { display: inline-flex; } }
.quote blockquote { margin: 0; }
.split + * { margin-top: var(--space-4); }
.grid, .people, .status-cols { margin-top: var(--space-3); }
.field .check { display: grid; }
.person--feature { grid-column: 1 / -1; }
.article, .article-head { display: flow-root; }
.split .facts { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .split--wide-text .facts { grid-template-columns: repeat(2, 1fr); } }

/* Visual check fixes (main session, 13 October 2026) */
.look-immi .num, .look-immi .card .num, .look-immi .timeline .t-label { color: #231F20; }
.look-immi .timeline { border-left-color: #231F20; }
.look-immi .timeline > li::before { background: #FFFFFF; border-color: #231F20; }
.section--white .person { background: var(--ground); }
.split figure img { max-height: 620px; object-fit: cover; }
.look-immi .split figure img { aspect-ratio: 1.1 / 1; max-height: none; }
@media (min-width: 900px) { .movement { grid-template-columns: 190px minmax(0, 0.85fr) minmax(0, 1.45fr); } }
.person--feature { grid-column: 1 / -1; }
@media (min-width: 720px) { .person--feature { grid-template-columns: 220px minmax(0, 1fr); } .person--feature img { width: 220px; height: 220px; } }

.split figure img { object-position: 50% 25%; }
.wrap > .people:first-child, .wrap > .grid:first-child, .measure > .grid:first-child { margin-top: 0; }

.grid + *, .people + *, .status-cols + *, .chain + *, .faq + .actions, .quote + .actions { margin-top: var(--space-3); }
.grid + h3, .people + h3, .grid + h2 { margin-top: var(--space-4); }

/* Site Vo3 additions (14 October 2026) */

/* IMMI mark alone (immi.html): same height as in logos-immi, no Green Health logo */
.immi-logos--solo { margin-bottom: var(--space-3); gap: 0; }
.immi-logos--solo .immi-mark { height: 92px; width: auto; }

/* Example testimonials: a smaller quote with a visible label above it */
.testimonial { margin: var(--space-3) 0; max-width: 40rem; }
.testimonial-label { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border: 1px dashed var(--muted); border-radius: 999px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; color: var(--muted); }
.section--deep .testimonial-label { color: var(--sand); border-color: var(--sand); }
.quote--testimonial { margin: 0; }
.quote--testimonial p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.4; }
.look-immi .quote--testimonial p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 600; }
.split .testimonial { margin-top: var(--space-3); }

/* Illustrations (tools/illustrations.py): a wide drawing and a stacked one for phones */
.illustration { --ill-bg: var(--surface); margin: var(--space-3) auto; padding: 16px 8px; background: var(--ill-bg); border: 1px solid var(--rule); border-radius: var(--radius); }
.section--white .illustration { --ill-bg: var(--ground); border-color: transparent; }
.illustration svg { width: 100%; height: auto; margin: 0 auto; overflow: visible; }
.illustration svg text { font-family: var(--sans); }
.illustration .ill-plate { fill: var(--ill-bg); stroke: none; }
.illustration .ill-wide { display: none; }
.illustration .ill-narrow { display: block; max-width: 440px; }
.ill-relationship-circle .ill-wide { max-width: 960px; }
.ill-one-health-system .ill-wide { max-width: 940px; }
@media (min-width: 720px) {
  .ill-relationship-circle { padding: 24px; }
  .ill-relationship-circle .ill-wide { display: block; }
  .ill-relationship-circle .ill-narrow { display: none; }
}
@media (min-width: 900px) {
  .ill-one-health-system { padding: 24px; }
  .ill-one-health-system .ill-wide { display: block; }
  .ill-one-health-system .ill-narrow { display: none; }
}

/* Movements: six bridges, two rows of three on desktop, one column on a phone */
.movements { display: grid; gap: 0 var(--space-3); margin-top: var(--space-3); }
@media (min-width: 640px) { .movements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .movements { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--space-4); } }
.movements .movement, .movement { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; padding: var(--space-3) 0 var(--space-2); }
@media (min-width: 900px) { .movements .movement { grid-template-columns: minmax(0, 1fr); } }
.movement h3 { margin-bottom: 10px; }
.movement .mv-label { margin: 0 0 8px; }
.movement > div > :last-child { margin-bottom: 0; }
.movement .text-link { font-weight: 600; }
.movements + figure, .movements + .gallery { margin-top: var(--space-3); }

/* Four-up cards inside a sand band, and in the IMMI look */
.section--sand .grid--4 .card { background: var(--surface); border-color: transparent; }
.grid--4 .card { padding: 20px; }
.grid--4 .card h3 { font-size: 1.15rem; }
.look-immi .section--sand .card { background: transparent; border-top-color: #231F20; }
.card .kicker { margin-bottom: 8px; }

.look-immi .card img, .look-immi .card figure img { margin: 0 0 16px; width: 100%; max-width: 100%; }

/* Buttons on the deep forest band: the band's white link colour must not override the button colours */
.section--deep a.btn--light { color: var(--deep); }
.section--deep a.btn--light:hover { color: var(--deep); }
.section--deep a.btn--ghost { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.section--deep a.btn--ghost:hover { background: #FFFFFF; color: var(--deep); }

/* Footer with four link columns */
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: auto; } }

/* Print */
/* V2.2 (27 October 2026): Wix-ready additions */
/* V2.3 (SEO): headings renumbered by build.py (heading_order) keep the look of their original level */
h2.h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; }
h2.h1 { font-size: clamp(2.25rem, 5.6vw, 4.25rem); }
.card h2.h3 { margin-bottom: 10px; }
.card--path h2.h3::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--seed); margin-bottom: 12px; }
.grid--4 .card h2.h3 { font-size: 1.15rem; }
.movement h2.h3 { margin-bottom: 10px; }
.person h2.h3, .status-col h2.h3 { font-size: 1.1rem; }
.person h2.h3 { margin-bottom: 2px; }
.timeline h2.h3 { margin: 4px 0 8px; }
.form h2.h3 { margin-bottom: 6px; }
.price-box h2.h3 { margin-bottom: 0; }
.look-immi main h2.h3 { font-weight: 800; line-height: 1.2; }

.legal + .legal { padding-top: 0; display: flow-root; }   /* V2.3: the imprint and its privacy part read as one page */
.legal h3 { font-size: 1.15rem; margin-top: var(--space-3); }

/* the story film as a YouTube embed, loaded only after a click (assets/js/film.js) */
.film-embed { position: relative; display: block; width: 100%; aspect-ratio: 960 / 402; border: 0; border-radius: var(--radius); background: var(--deep) center / cover no-repeat; overflow: hidden; }
.film-embed .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   /* V2.3: poster as an image with alt text */
.film-embed .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.film-embed:hover .btn, .film-embed:focus-visible .btn { background: var(--ring); border-color: var(--ring); color: #FFFFFF; }
.film-note { font-size: 0.875rem; margin-top: var(--space-1); opacity: 0.85; }
/* the sticky header (68 px) must not cover in-page targets (web-design-guidelines, Wix copy check) */
html { scroll-padding-top: 76px; }
/* the form error note sent by assets/js/wix.js */
.wix-error:not(:empty) { color: #8A1C1C; font-weight: 600; }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }   /* a form while it is being sent (web-design-guidelines) */
/* contrast fixes from the Impeccable detector (27 Oct 2026): links on dark grounds keep a light colour on hover;
   forest (3.3:1) and secondary text (3.4:1) are too light on sand, so sand bands use deep forest (6.2:1) */
.section--deep a:not(.btn):hover, .site-footer a:hover { color: #FFFFFF; }
.section--sand a:not(.btn), .section--sand .kicker, .section--sand .muted, .section--sand .form-note, .section--sand .hint, .section--sand .req, .section--sand figcaption, .section--sand .card .num, .section--sand .quote cite, .section--sand .t-label, .section--sand .facts dt, .section--sand .person .role { color: var(--deep); }
.section--deep .wix-error:not(:empty), .dark .wix-error:not(:empty) { color: #FFFFFF; }

@media print { .site-header, .site-footer, .skip, video { display: none; } body { background: #FFFFFF; } }
