/* Centre I-TSA
   Layout concept: a bento of soft colour tiles that reads like a visual schedule,
   with clear audience pathways and one predictable action per section.
   Comfort settings (text size, contrast, motion, colour, spacing) are classes on <html>. */

/* Single light theme by design, after autisticgirlsnetwork.org: white pages, pale tints, four bright accents. */
/* FONTS-START: self-hosted Nunito (headings) and Nunito Sans (text), SIL Open Font License */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-italic.woff2") format("woff2"); }
/* FONTS-END */

:root {
  color-scheme: light;
  /* colour */
  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #f6f2fa;
  --tint-2: #fdf1f5;
  --ink: #2b2140;
  --muted: #5d5470;
  --line: #e6dfee;
  --accent: #6b3fa0;
  --accent-ink: #ffffff;
  --accent-soft: #efe6f8;
  --highlight: #ffd166;
  --band: #f6f2fa;
  --band-ink: #2b2140;
  --band-muted: #5d5470;
  --band-tile: #ffffff;
  --top-bg: #3f2163;
  --top-ink: #ffffff;
  --top-muted: #d9cbef;
  /* four brand accents (white text, large and bold) */
  --c1: #6b3fa0;
  --c2: #c8366f;
  --c3: #137f86;
  --c4: #b85a14;
  /* pictogram pastels */
  --sky: #d9ecf7;
  --sun: #ffefc2;
  --sage: #d3efe8;
  --peach: #fde0d6;
  --lilac: #ebe1f7;
  --pic-ink: #2b2140;
  --shadow: 0 1px 2px rgba(43, 33, 64, .05), 0 16px 36px -18px rgba(43, 33, 64, .25);

  /* type */
  --font-display: "Nunito", "Avenir Next Rounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --pat: rgba(107, 63, 160, .09);
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.35rem + 2.2vw, 2.8rem);
  --step-4: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  --lh: 1.6;

  /* space */
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  --section: clamp(48px, 6vw, 80px);
  --header-h: 76px;
}

/* ---------- comfort settings ---------- */
html.fs-l { font-size: 112.5%; }
html.fs-xl { font-size: 125%; }
html.spacing { --lh: 1.9; letter-spacing: .012em; word-spacing: .06em; }
html.muted {
  --sky: #dde6ea; --sun: #ebe6d6; --sage: #dde6df; --peach: #ebe2dc; --lilac: #e3e1ea; --highlight: #e6dfc9;
}
html.hc {
  --top-bg: #000000; --top-ink: #ffffff; --top-muted: #ffffff;
  --c1: #4a2275; --c2: #8c1c4a; --c3: #0b5a60; --c4: #7a3a0a;
  --bg: #ffffff; --surface: #ffffff; --tint: #f2f2f2; --ink: #000000; --muted: #1a1a1a; --line: #000000;
  --accent: #004a52; --accent-ink: #ffffff; --accent-soft: #cfe9ea; --highlight: #ffd84d;
  --band: #000000; --band-ink: #ffffff; --band-muted: #ffffff; --band-tile: #1a1a1a;
  --pic-ink: #000000; --shadow: none;
  color-scheme: light;
}
html.hc .tile, html.hc .act, html.hc .fam, html.hc .values li, html.hc .path, html.hc .who-card, html.hc .g { border: 2px solid var(--line); }
html.hc a { text-decoration-thickness: 2px; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lh);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* language: show only the active language inside the page */
html[lang|="en"] body [lang="fr"]:not(.keep),
html[lang|="fr"] body [lang="en"]:not(.keep) { display: none !important; }

.nobr { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font-size: var(--step--1); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.4em; border-radius: 999px;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: .65em 1.15em; font-size: .95rem; }

/* ---------- utility bar ---------- */
.utility { background: var(--top-bg); color: var(--top-ink); font-size: .9rem; }
.utility-row { display: flex; align-items: center; gap: 8px 24px; min-height: 44px; flex-wrap: wrap; padding-block: 4px; }
.u-item { display: inline-flex; align-items: center; gap: 8px; color: var(--top-muted); }
.u-item a { color: var(--top-ink); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.u-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.comfort-btn {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--top-ink);
  border: 1px solid color-mix(in srgb, var(--top-ink) 40%, transparent); border-radius: 999px;
  font: 700 .85rem/1 var(--font-body); padding: .55em .9em; cursor: pointer;
}
.comfort-btn[aria-expanded="true"] { background: var(--top-ink); color: var(--top-bg); }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--top-ink) 14%, transparent); }
.lang-switch button {
  border: 0; background: transparent; color: var(--top-muted); cursor: pointer;
  font: 700 .82rem/1 var(--font-body); letter-spacing: .06em; padding: .5em .8em; border-radius: 999px;
}
.lang-switch button[aria-pressed="true"] { background: var(--top-ink); color: var(--top-bg); }

/* comfort panel */
.comfort { position: fixed; z-index: 80; top: calc(env(safe-area-inset-top, 0px) + 52px); right: var(--gutter); width: min(380px, calc(100vw - 2 * var(--gutter))); }
.comfort-inner { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.4); padding: 20px; display: grid; gap: 12px; max-height: calc(100vh - 80px); overflow: auto; }
.comfort-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.comfort-head h2 { font-size: 1.3rem; }
.comfort-note { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--tint); }
.opt-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--ink); width: 38px; height: 34px; border-radius: 9px; font: 700 .9rem/1 var(--font-body); cursor: pointer; }
.seg .s-l { font-size: 1.05rem; } .seg .s-xl { font-size: 1.25rem; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.opt-switch { cursor: pointer; position: relative; }
.opt-switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--line); transition: background-color .2s ease; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.opt-switch input:checked + .switch { background: var(--accent); }
.opt-switch input:checked + .switch::after { transform: translateX(20px); }
.opt-switch input:focus-visible + .switch { outline: 3px solid var(--accent); outline-offset: 2px; }
.reset { justify-self: start; background: none; border: 0; color: var(--accent); font: 700 .92rem/1 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.bm-bg { fill: var(--accent); }
.bm-a { fill: var(--highlight); }
.bm-b { fill: var(--sky); opacity: .9; }
.brand-text { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.brand-text b { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; padding: .55em .8em; border-radius: 999px; transition: background-color .2s ease; }
.nav a:hover { background: var(--tint); }
.nav a.active { background: var(--accent-soft); }
.header-cta { flex: none; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; flex: none; }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s ease; }
.menu-bars { top: 21px; }
.menu-bars::before { top: -6px; left: 0; right: 0; }
.menu-bars::after { top: 6px; left: 0; right: 0; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero banner ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 64px); }
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.hero-shapes span { position: absolute; border-radius: 50%; }
.hero-shapes .s1 { width: 120px; height: 120px; background: var(--c2); opacity: .12; left: -40px; top: 30px; }
.hero-shapes .s2 { width: 380px; height: 380px; background: var(--c1); opacity: .08; right: -120px; top: -140px; }
.hero-shapes .s3 { width: 70px; height: 70px; background: var(--c3); opacity: .2; right: 42%; bottom: 24px; }
.hero-shapes .s4 { width: 46px; height: 46px; background: var(--highlight); left: 47%; top: 36px; opacity: .8; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy > * { min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; overflow-wrap: break-word; hyphens: auto; }
.hero mark { color: inherit; background: linear-gradient(transparent 60%, var(--highlight) 60%, var(--highlight) 92%, transparent 92%); padding-inline: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 40ch; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ico { color: var(--accent); }

.schedule { margin: 0; background: var(--surface); border-radius: 26px; padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow); min-width: 0; border-top: 6px solid var(--c1); }
.schedule-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 4px 14px; }
.schedule-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: .45em .8em; border-radius: 999px; }
.schedule-list { display: grid; gap: 8px; }
.schedule-list li {
  display: grid; grid-template-columns: 3.3rem 44px minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 7px 10px; border-radius: 14px; background: var(--tint);
  animation: rise .6s cubic-bezier(.2, .7, .2, 1) both;
}
.schedule-list li:nth-child(2) { animation-delay: .07s; }
.schedule-list li:nth-child(3) { animation-delay: .14s; }
.schedule-list li:nth-child(4) { animation-delay: .21s; }
.schedule-list li:nth-child(5) { animation-delay: .28s; }
.schedule-list li:nth-child(6) { animation-delay: .35s; }
.schedule-list li:nth-child(7) { animation-delay: .42s; }
@keyframes rise { from { transform: translateY(10px); opacity: .4; } to { transform: none; opacity: 1; } }
.schedule-list time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); font-size: .95rem; }
.pic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: var(--pic-ink); }
.pic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.what { font-weight: 700; line-height: 1.3; }

/* ---------- intro + audience tiles ---------- */
.intro-text { max-width: 860px; margin: 0 auto clamp(28px, 3.5vw, 44px); text-align: center; }
.statement { font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); line-height: 1.4; font-weight: 700; letter-spacing: -.01em; text-wrap: pretty; }
.path-title { font-size: var(--step-2); margin-bottom: 20px; text-align: center; }
.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.path {
  display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-height: 190px; height: 100%;
  padding: 24px; border-radius: var(--radius); background: var(--c); color: #ffffff; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-ico { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.path strong { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.15; align-self: end; }
.path-arrow { width: 26px; height: 26px; transition: transform .2s ease; }
.path:hover .path-arrow { transform: translateX(5px); }

/* ---------- stat band ---------- */
.stat-band { padding-block: 0 clamp(56px, 7vw, 88px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts div { background: var(--tint); border-radius: var(--radius); padding: 24px; display: grid; gap: 6px; text-align: center; }
.facts dt { font-family: var(--font-display); font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.8rem); font-weight: 800; line-height: 1; color: var(--c); font-variant-numeric: tabular-nums; }
.facts dd { margin: 0; color: var(--muted); font-weight: 700; line-height: 1.35; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-head { display: grid; gap: 10px; margin: 0 auto clamp(24px, 3vw, 40px); max-width: 760px; text-align: center; justify-items: center; }
.section h2 { font-size: var(--step-3); }
.section-lede { color: var(--muted); font-size: var(--step-1); max-width: 56ch; line-height: 1.5; }
.sub-title { font-size: var(--step-2); margin: clamp(28px, 3.5vw, 44px) 0 16px; text-align: center; }
.note { color: var(--muted); font-size: .95rem; }

/* about */
.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vm { padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius); display: grid; gap: 18px; align-content: start; }
.vm-vision { background: var(--accent); color: var(--accent-ink); }
.vm-mission { background: var(--c3); color: #ffffff; }
.vm-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: var(--step--1); }
.vm-text { font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); line-height: 1.4; font-weight: 700; letter-spacing: -.01em; }
.values { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.values li {
  display: grid; gap: 14px; align-content: start; padding: 20px 18px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 1.02rem; line-height: 1.3;
}
.v-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: var(--pic-ink); }
.v-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* objectives + who */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-col { display: grid; gap: 14px; min-width: 0; }
.split-col > h2 { margin-bottom: 14px; }
.obj-list { display: grid; border-top: 1px solid var(--line); }
.obj-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); flex: none; border: 1px solid var(--line); }
.dot svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.who-card { background: var(--surface); border-radius: 28px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.h-sm { font-size: var(--step-2); }
.who-list { display: grid; gap: 10px; }
.who-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--tint); line-height: 1.4; }
.who-list svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* programs */
.act-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 16px; }
.act {
  padding: 26px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); display: grid; gap: 14px; align-content: start;
  transition: transform .25s ease, box-shadow .25s ease;
}
.act:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.act-feature { grid-row: span 2; background: var(--c); border-color: transparent; color: var(--pic-ink); align-content: end; }
.act-feature h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.act-feature li { color: var(--pic-ink); font-size: 1.1rem; }
.act-feature li::before { background: var(--pic-ink) !important; }
.act-feature .act-ico { background: var(--surface); width: 72px; height: 72px; margin-bottom: auto; }
.act-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--c); color: var(--pic-ink); }
.act-ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.act h3 { font-size: 1.35rem; }
.act ul { display: grid; gap: 8px; }
.act li { position: relative; padding-left: 20px; color: var(--muted); line-height: 1.45; }
.act li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* approach band */
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: var(--accent); }
html.hc .band .eyebrow { color: var(--band-ink); }
.approach { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.approach-intro { display: grid; gap: 14px; }
.approach-intro p:not(.eyebrow) { color: var(--band-muted); font-size: 1.1rem; }
.pictos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pictos li { min-width: 0; hyphens: auto; overflow-wrap: break-word; display: grid; justify-items: center; gap: 12px; text-align: center; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.picto { width: 100%; max-width: 124px; aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; background: var(--surface); color: var(--accent); box-shadow: var(--shadow); }
.picto svg { width: 48%; height: 48%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* team */
.team-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; }
.director { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; gap: 24px; align-items: flex-start; border: 1px solid var(--line); }
.avatar { width: 104px; height: 104px; flex: none; border-radius: 30px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--pic-ink); background: linear-gradient(135deg, var(--sun), var(--peach)); }
.director-body { display: grid; gap: 8px; min-width: 0; }
.role { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: var(--accent); }
.director h3 { font-size: var(--step-2); }
.director .title { font-weight: 700; color: var(--muted); }
.edu-team { background: var(--tint); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.edu-team h3 { font-size: 1.35rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .55em 1em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .95rem; line-height: 1.3; }

/* admissions steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); line-height: 1.45; }
.adm-cta { margin-top: 28px; }

/* family + gallery */
.fam-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fam { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.fam-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: var(--pic-ink); margin-bottom: 4px; }
.fam-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fam h3 { font-size: 1.2rem; }
.fam p { color: var(--muted); font-size: .98rem; line-height: 1.45; }
#families .fam-grid + .note { margin-top: 16px; }
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin: clamp(40px, 5vw, 64px) 0 20px; }
.gallery-head .sub-title { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 14px; }
.g {
  position: relative; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end;
  padding: 18px; font-weight: 700; color: var(--pic-ink);
  background:
    radial-gradient(circle at 82% 22%, color-mix(in srgb, var(--surface) 55%, transparent) 0 17%, transparent 18%),
    radial-gradient(circle at 15% 115%, color-mix(in srgb, var(--surface) 35%, transparent) 0 36%, transparent 37%),
    var(--c);
}
.g svg { position: absolute; right: 20px; top: 20px; width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.g-wide { grid-column: span 2; }
.gallery .g-wide:last-child { grid-column: span 3; }

/* faq */
.faq-wrap { max-width: 920px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 18px; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 700 1.3rem/1 var(--font-body);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 24px; color: var(--muted); max-width: 70ch; }

/* contact */
.contact { background: var(--tint-2); color: var(--ink); }
.contact .eyebrow { color: var(--c2); }
.contact a { color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 22px; min-width: 0; }
.info-list { display: grid; gap: 18px; margin: 0; }
.info-list dt { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.info-list dd { margin: 6px 0 0; font-size: 1.1rem; line-height: 1.5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.info-list dd.block { display: block; }
.copy { display: inline-flex; align-items: center; gap: 6px; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); background: transparent; color: inherit; font: 700 .8rem/1 var(--font-body); padding: .5em .8em; border-radius: 999px; cursor: pointer; }
.phones { display: grid; gap: 8px; }
.phones li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.phones .who { font-weight: 700; }
.phones a { font-variant-numeric: tabular-nums; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.phones a:hover { text-decoration: underline; }
.map-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.contact-form { background: var(--surface); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; box-shadow: var(--shadow); min-width: 0; }
.contact-form h3 { font-size: var(--step-2); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: .75em .9em; transition: border-color .2s ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: #c2412d; }
.contact-form .btn { justify-self: start; }
.form-status { font-size: .95rem; color: var(--muted); min-height: 1.4em; }

/* footer */
.site-footer { background: var(--tint); padding-block: clamp(48px, 6vw, 72px) 28px; border-top: 6px solid var(--c1); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-brand { gap: 16px; justify-items: start; }
.foot-brand p, .foot-col p { color: var(--muted); line-height: 1.5; }
.foot-h { font-size: 1.05rem; margin-bottom: 4px; }
.foot-col a:not(.btn):not(.brand) { color: var(--ink); text-decoration: none; font-weight: 700; }
.foot-col a:not(.btn):not(.brand):hover { color: var(--accent); text-decoration: underline; }
.copyright { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 36px; }

/* mobile quick-contact bar */
.action-bar { display: none; }

/* reveal on scroll (starts readable; only lifts slightly) */
.reveal { transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .7s ease; }
.reveal.pre { transform: translateY(14px); opacity: .6; }

/* calm view: no motion */
html.calm { scroll-behavior: auto; }
html.calm *, html.calm *::before, html.calm *::after { animation: none !important; transition: none !important; }
html.calm .reveal.pre { transform: none; opacity: 1; }
html.calm .act:hover, html.calm .btn:hover, html.calm .path:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { transform: none; opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values li { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
}
@media (max-width: 1080px) {
  .menu-btn { display: inline-block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; margin: 0; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85em 1em; font-size: 1.05rem; }
  .header-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid, .team-grid, .intro-grid, .approach { grid-template-columns: minmax(0, 1fr); }
  .path-grid, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-feature { grid-row: auto; grid-column: 1 / -1; }
  .fam-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .gallery .g:first-child, .gallery .g-wide:last-child { grid-column: span 2; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; --step-4: clamp(1.8rem, 1rem + 3.6vw, 2.3rem); --step-3: 1.8rem; }
  .u-item:first-child { display: none; }
  .comfort-btn > span { display: none; }
  .comfort-btn { padding: .55em; }
  .header-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .path-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .path { min-height: 0; padding: 16px 18px; gap: 14px; grid-template-rows: none; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .path-ico { width: 30px; height: 30px; }
  .path strong { font-size: 1.15rem; align-self: center; }
  .hero-shapes .s4, .hero-shapes .s1 { display: none; }
  .path > * { min-width: 0; }
  .vm-grid, .act-grid, .fam-grid, .values, .field-row, .steps { grid-template-columns: minmax(0, 1fr); }
  .pictos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pictos li { font-size: .85rem; }
  .director { flex-direction: column; }
  .avatar { width: 76px; height: 76px; border-radius: 22px; font-size: 1.5rem; }
  .schedule { padding: 14px; }
  .schedule-list li { grid-template-columns: 3rem 40px minmax(0, 1fr); gap: 10px; }
  .pic { width: 40px; height: 40px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .g, .gallery .g-wide, .gallery .g:first-child, .gallery .g-wide:last-child { grid-column: auto; }
  .action-bar {
    display: none; /* mobile Call / Email / Admissions bar turned off (was: display: grid) */ grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .action-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: .8em .5em; border-radius: 14px; background: var(--tint); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
  .action-bar .ab-primary { background: var(--accent); color: var(--accent-ink); }
}

/* header call-to-action in the second brand colour */
.header-cta { background: var(--c2); color: #ffffff; }

/* ---------- images and framed illustrations ---------- */
.frame-img { position: relative; display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.frame-shape { position: absolute; inset: 22px -18px -18px 22px; border-radius: 32px; background: var(--c2); opacity: .16; }
.frame-shape.alt { background: var(--c3); inset: -18px 22px 22px -18px; }
.hero-visual, .about-visual, .fam-visual { position: relative; min-width: 0; }
.float-badge {
  position: absolute; left: -18px; bottom: 26px; display: grid; gap: 6px; padding: 12px; border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow); font-weight: 700; font-size: .92rem;
}
.float-badge li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; background: var(--tint); }
.float-badge li:nth-child(1) .ico { color: var(--c1); }
.float-badge li:nth-child(2) .ico { color: var(--c2); }
.float-badge li:nth-child(3) .ico { color: var(--c3); }

.day-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.day-copy { display: grid; gap: 18px; justify-items: start; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.about-grid .vm-grid { grid-template-columns: minmax(0, 1fr); }

.act { overflow: hidden; }
.act-img { display: block; width: calc(100% + 52px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -26px -26px 4px; }
.act-cta { background: var(--c1); color: #ffffff; border-color: transparent; align-content: center; justify-items: start; }
.act-cta h3 { font-size: 1.6rem; }
.act-cta p { opacity: .92; }
.btn-light { background: #ffffff; color: var(--c1); }

.fam-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.fam-feature .fam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gallery { grid-auto-rows: 220px; }
.g { padding: 0; background: var(--tint); }
.g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g:hover img { transform: scale(1.04); }
.g-cap { position: absolute; left: 14px; bottom: 14px; background: var(--surface); color: var(--ink); padding: .5em .9em; border-radius: 999px; font-size: .92rem; box-shadow: var(--shadow); }

@media (max-width: 1080px) {
  .day-grid, .about-grid, .fam-feature { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 640px; }
  .float-badge { left: 12px; }
}
@media (max-width: 720px) {
  .float-badge { position: relative; left: 0; bottom: 0; margin-top: 14px; display: flex; flex-wrap: wrap; }
  .fam-feature .fam-grid { grid-template-columns: minmax(0, 1fr); }
  .frame-shape { inset: 12px -8px -8px 12px; }
  .frame-shape.alt { inset: -8px 12px 12px -8px; }
  .gallery { grid-auto-rows: 200px; }
}

/* ---------- gallery: deep purple band, filter chips, mosaic, viewer ---------- */
.gallery-sec { position: relative; overflow: hidden; background: var(--top-bg); color: #ffffff; }
.gallery-sec .eyebrow { color: var(--highlight); }
.gallery-sec .section-lede { color: var(--top-muted); }
.gal-deco span { position: absolute; border-radius: 50%; pointer-events: none; }
.gal-deco .d1 { width: 420px; height: 420px; right: -160px; top: -160px; background: var(--c2); opacity: .22; }
.gal-deco .d2 { width: 260px; height: 260px; left: -110px; bottom: 60px; background: var(--c3); opacity: .25; }
.gal-deco .d3 { width: 60px; height: 60px; left: 16%; top: 90px; background: var(--highlight); opacity: .9; }
.gallery-sec .wrap { position: relative; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.chip {
  border: 1.5px solid color-mix(in srgb, #ffffff 35%, transparent); background: transparent; color: #ffffff;
  font: 700 .95rem/1 var(--font-body); padding: .7em 1.15em; border-radius: 999px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: #ffffff; }
.chip[aria-pressed="true"] { background: #ffffff; color: var(--top-bg); border-color: #ffffff; }

.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.m-item { min-width: 0; animation: pop .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pop { from { opacity: .3; transform: scale(.97); } to { opacity: 1; transform: none; } }
.m-a { grid-column: span 2; grid-row: span 2; }
.m-c { grid-row: span 2; }
.m-e { grid-column: span 2; }
.mosaic.filtered .m-item { grid-column: auto; grid-row: auto; }
.m-btn {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 22px; overflow: hidden; background: var(--tint); color: #ffffff; text-align: left; font: inherit;
}
.m-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.m-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(25, 12, 45, .78)); transition: opacity .3s ease; }
.m-btn:hover img, .m-btn:focus-visible img { transform: scale(1.06); }
.m-btn:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }
.m-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 4px; }
.m-cap strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.m-a .m-cap strong { font-size: 1.6rem; }
.m-desc { font-size: .92rem; line-height: 1.4; color: #efe6f8; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .35s ease; }
.m-btn:hover .m-desc, .m-btn:focus-visible .m-desc, .m-a .m-desc { max-height: 4.5em; opacity: 1; }
.m-zoom { position: absolute; z-index: 1; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--top-bg); transform: scale(.8); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.m-btn:hover .m-zoom, .m-btn:focus-visible .m-zoom { transform: none; opacity: 1; }
.gal-note { text-align: center; color: var(--top-muted); font-size: .92rem; margin-top: 22px; }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(22, 10, 40, .9); display: grid; place-items: center; padding: 24px; }
.lb-inner { position: relative; width: min(1040px, 100%); }
.lb-fig { margin: 0; display: grid; gap: 14px; }
.lb-fig img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 22px; background: var(--tint); }
.lb-fig figcaption { color: #ffffff; display: grid; gap: 4px; text-align: center; }
.lb-fig figcaption strong { font-family: var(--font-display); font-size: 1.4rem; }
.lb-fig figcaption span { color: #e6dcf4; }
.lb-count { font-size: .85rem; font-variant-numeric: tabular-nums; }
.lb-close, .lb-nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #ffffff; color: var(--top-bg); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.lb-close { top: -16px; right: -16px; }
.lb-nav { top: calc(36vh - 24px); }
.lb-prev { left: -20px; } .lb-prev .ico { transform: rotate(180deg); }
.lb-next { right: -20px; }
.lb-close .ico, .lb-nav .ico { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .m-c { grid-row: span 1; }
}
@media (max-width: 720px) {
  .mosaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; }
  .m-a, .m-c, .m-e { grid-column: auto; grid-row: auto; }
  .m-desc { max-height: 4.5em; opacity: 1; }
  .lb-nav { top: auto; bottom: -64px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .lb-close { top: -56px; right: 0; }
  .lightbox { padding: 72px 16px 96px; }
}

/* ---------- v6: alternating light backgrounds with soft patterns ---------- */
.bg-lav { background-color: #f4effa; }
.bg-pink { background-color: #fdf1f5; }
.bg-mint { background-color: #eef8f5; }
.bg-sky { background-color: #eef5fb; }
.pat-dots { background-image: radial-gradient(var(--pat) 1.6px, transparent 1.8px); background-size: 22px 22px; }
.pat-grid { background-image: linear-gradient(var(--pat) 1px, transparent 1px), linear-gradient(90deg, var(--pat) 1px, transparent 1px); background-size: 32px 32px; }
.pat-plus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M18 12v12M12 18h12' stroke='%23c8366f' stroke-opacity='.16' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: 36px 36px; }
.pat-waves { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='24'%3E%3Cpath d='M0 12 Q15 2 30 12 T60 12' fill='none' stroke='%23137f86' stroke-opacity='.14' stroke-width='2'/%3E%3C/svg%3E"); background-size: 60px 24px; }
html.hc .bg-lav, html.hc .bg-pink, html.hc .bg-mint, html.hc .bg-sky { background-color: #ffffff; background-image: none; }

/* intro facts sit under the audience tiles */
.intro .facts { margin-top: 16px; }
.facts div { background: var(--surface); border: 1px solid var(--line); }

/* timeline (a calm, predictable day) */
.timeline-wrap { margin: 0; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 56px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--lav2, #d9cbef) 0 10px, transparent 10px 18px); }
.timeline li { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; padding: 16px 10px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.timeline time { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--accent); font-size: .95rem; }
.timeline .pic { width: 56px; height: 56px; border-radius: 16px; }
.timeline .pic svg { width: 30px; height: 30px; }
.timeline .what { font-size: .95rem; line-height: 1.3; }
.tl-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--muted); font-size: .95rem; }

/* objectives + who: two matching cards */
#objectives .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.obj-card, #objectives .who-card { background: var(--surface); border-radius: 26px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.obj-card .obj-list { border-top: 0; }
.obj-card .obj-list li:last-child { border-bottom: 0; }
.obj-list li { padding: 12px 0; }

/* approach pictograms: centred row */
#approach .pictos { grid-template-columns: repeat(5, minmax(0, 150px)); justify-content: center; gap: 20px; }
#approach .picto { max-width: 150px; }

/* tighter cards */
.act { padding: 22px; gap: 12px; }
.act-img { width: calc(100% + 44px); margin: -22px -22px 4px; }
.vm { padding: clamp(22px, 3vw, 34px); }
.team-grid, .vm-grid, .fam-grid, .steps, .act-grid, .path-grid { gap: 16px; }
.adm-cta { margin-top: 20px; text-align: center; }
.contact .eyebrow { color: var(--c2); }

@media (max-width: 1080px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline::before { display: none; }
  #objectives .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #approach .pictos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

/* keep the small gallery dot clear of the heading on phones */
@media (max-width: 720px) { .gal-deco .d3 { width: 36px; height: 36px; left: 6%; top: 24px; opacity: .6; } }

/* ---------- v7: gallery as an even, aligned card grid ---------- */
.gal-deco .d1 { opacity: .12; } .gal-deco .d2 { opacity: .12; } .gal-deco .d3 { display: none; }
.mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; grid-auto-flow: row; gap: 18px; }
.m-a, .m-b, .m-c, .m-d, .m-e, .m-f, .m-g, .mosaic.filtered .m-item { grid-column: auto; grid-row: auto; }
.m-item, .m-cta { min-width: 0; display: flex; }
.m-btn {
  display: flex; flex-direction: column; height: auto; flex: 1; background: #ffffff; color: var(--ink);
  border-radius: 20px; box-shadow: 0 10px 28px rgba(20, 8, 40, .22); transition: transform .25s ease, box-shadow .25s ease;
}
.m-btn::after { content: none; }
.m-btn img { position: static; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tint); }
.m-btn:hover, .m-btn:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 8, 40, .32); }
.m-btn:hover img, .m-btn:focus-visible img { transform: none; }
.m-cap { position: static; padding: 14px 16px 16px; gap: 4px; }
.m-cap strong, .m-a .m-cap strong { font-size: 1.05rem; color: var(--ink); }
.m-desc, .m-btn:hover .m-desc, .m-a .m-desc { max-height: none; opacity: 1; color: var(--muted, #5d5470); font-size: .9rem; line-height: 1.45; }
.m-zoom { top: 10px; right: 10px; width: 36px; height: 36px; }
.m-cta-link {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px;
  border-radius: 20px; border: 2px dashed color-mix(in srgb, #ffffff 40%, transparent);
  color: #ffffff; text-decoration: none; transition: background-color .2s ease, border-color .2s ease;
}
.m-cta-link:hover, .m-cta-link:focus-visible { background: rgba(255, 255, 255, .07); border-color: #ffffff; }
.m-cta-link strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.m-cta-link > span:not(.m-cta-ico):not(.m-cta-go) { color: var(--top-muted); font-size: .92rem; line-height: 1.45; }
.m-cta-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--highlight); color: var(--top-bg); }
.m-cta-go { font-weight: 800; color: var(--highlight); margin-top: 4px; }
.mosaic.filtered .m-cta { display: none; }
@media (max-width: 1080px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .m-cta-link { padding: 14px; } .m-cta-link > span:not(.m-cta-ico):not(.m-cta-go) { display: none; } .m-cta-link strong { font-size: 1rem; } }
@media (max-width: 720px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
  .m-cap { padding: 10px 12px 12px; }
  .m-cap strong, .m-a .m-cap strong { font-size: .95rem; }
  .m-desc, .m-btn:hover .m-desc, .m-a .m-desc { display: none; }
}

/* softer section patterns */
:root { --pat: rgba(107, 63, 160, .05); }
.pat-plus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M18 13v10M13 18h10' stroke='%23c8366f' stroke-opacity='.08' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pat-waves { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='24'%3E%3Cpath d='M0 12 Q15 2 30 12 T60 12' fill='none' stroke='%23137f86' stroke-opacity='.07' stroke-width='1.6'/%3E%3C/svg%3E"); }
.mosaic.filtered { grid-template-columns: repeat(auto-fit, minmax(0, 280px)); justify-content: center; }
@media (max-width: 720px) { .mosaic.filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Updates 5 Oct 2026: programs CTA, services note, patterned footer ===== */
#programs .act-cta{grid-column:1/-1}
#services .note{margin-top:20px}
.site-footer{position:relative;overflow:hidden;color:#ece6f6;border-top:6px solid #e0457b;background-color:#2e1a4a;background-image:radial-gradient(circle at 12% 18%,rgba(224,69,123,.28) 0,rgba(224,69,123,0) 32%),radial-gradient(circle at 88% 85%,rgba(107,63,160,.55) 0,rgba(107,63,160,0) 38%),radial-gradient(rgba(255,255,255,.09) 1.2px,transparent 1.6px);background-size:auto,auto,22px 22px}
.site-footer::before{content:"";position:absolute;right:-90px;top:-90px;width:260px;height:260px;border-radius:50%;border:28px solid rgba(255,255,255,.05);pointer-events:none}
.site-footer::after{content:"";position:absolute;left:-60px;bottom:-70px;width:180px;height:180px;border-radius:50%;background:rgba(255,206,84,.10);pointer-events:none}
.site-footer .wrap{position:relative;z-index:1}
.site-footer,.site-footer p,.site-footer span,.site-footer small{color:#d9d0e8}
.site-footer .foot-h,.site-footer .brand,.site-footer .brand-text,.site-footer b,.site-footer strong{color:#fff}
.site-footer .foot-col a:not(.btn):not(.brand){color:#fff}
.site-footer .foot-col a:not(.btn):not(.brand):hover{color:#ffce54}
.site-footer .btn{background:#fff;color:#4a2a78;border-color:#fff}
.site-footer .btn:hover{background:#ffce54;color:#2e1a4a;border-color:#ffce54}
.site-footer hr,.site-footer [class*=bottom],.site-footer .wrap+.wrap{border-color:rgba(255,255,255,.14)!important}
.site-footer .btn span{color:#4a2a78}
.site-footer .btn:hover span{color:#2e1a4a}

/* ===== Mobile & small-screen refinements (5 Oct 2026) ===== */
@media (max-width: 720px) {
  #ages .fam-grid, #families .fam-grid { gap: 10px; }
  #ages .fam, #families .fam { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; padding: 16px; }
  #ages .fam > *:not(.fam-ico), #families .fam > *:not(.fam-ico) { grid-column: 2; }
  #ages .fam .fam-ico, #families .fam .fam-ico { grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; }
  #ages .fam h3, #families .fam h3 { font-size: 1.05rem; }
  #ages .fam p, #families .fam p { font-size: 0.92rem; }
  #services .fam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #services .fam { padding: 14px; gap: 6px; }
  #services .fam-ico { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 2px; }
  #services .fam-ico svg { width: 20px; height: 20px; }
  #services .fam h3 { font-size: 0.98rem; line-height: 1.25; }
  #services .fam p { font-size: 0.85rem; line-height: 1.4; }
  #services .note { font-size: 0.9rem; }
  #programs .act { padding: 18px; gap: 10px; }
  #programs .act-img { height: 170px; width: calc(100% + 36px); max-width: none; margin: -18px -18px 4px; object-fit: cover; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .footer-grid .foot-brand, .footer-grid .foot-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 359px) {
  #services .fam-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 721px) and (max-width: 1080px) {
  #services .fam-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  #services .fam { padding: 16px; }
  #services .fam h3 { font-size: 1.02rem; }
  #services .fam p { font-size: 0.88rem; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
  .footer-grid .foot-brand { grid-column: 1 / -1; }
}

/* ---------- CHAT-ASSISTANT-START: site assistant ---------- */
.itsa-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.itsa-chat { position: fixed; right: 20px; bottom: 20px; z-index: 110; font-family: var(--font-body, system-ui, sans-serif); color: var(--ink, #2b2140); }
.itsa-chat__fab { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; margin-left: auto;
  background: var(--accent, #6b3fa0); color: var(--accent-ink, #fff); box-shadow: 0 10px 28px -8px rgba(43, 33, 64, .55); transition: transform .18s ease, background .18s ease; }
.itsa-chat__fab:hover { transform: translateY(-2px); background: var(--top-bg, #3f2163); }
.itsa-chat__fab:focus-visible, .itsa-chat button:focus-visible, .itsa-chat a:focus-visible, .itsa-chat__input:focus-visible { outline: 3px solid var(--highlight, #ffd166); outline-offset: 2px; }
.itsa-chat__ico-close { display: none; }
.itsa-chat.is-open .itsa-chat__ico-open { display: none; }
.itsa-chat.is-open .itsa-chat__ico-close { display: block; }
.itsa-chat__panel { position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: var(--surface, #fff); border: 1px solid var(--line, #e6dfee); border-radius: var(--radius, 22px); overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(43, 33, 64, .45); }
.itsa-chat__panel[hidden] { display: none; }
.itsa-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--top-bg, #3f2163); color: var(--top-ink, #fff); }
.itsa-chat__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); flex: none; }
.itsa-chat__titles { flex: 1; min-width: 0; }
.itsa-chat__title { margin: 0; font-family: var(--font-display, inherit); font-weight: 800; font-size: 1.02rem; line-height: 1.2; }
.itsa-chat__sub { margin: 2px 0 0; font-size: .82rem; color: var(--top-muted, #d9cbef); }
.itsa-chat__x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.itsa-chat__x:hover { background: rgba(255, 255, 255, .14); }
.itsa-chat__log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: var(--tint, #f6f2fa); display: flex; flex-direction: column; gap: 10px; }
.itsa-chat__msg { display: flex; flex-direction: column; max-width: 88%; }
.itsa-chat__msg.is-user { align-self: flex-end; align-items: flex-end; }
.itsa-chat__msg.is-bot { align-self: flex-start; }
.itsa-chat__bubble { padding: 10px 13px; border-radius: 16px; font-size: .94rem; line-height: 1.45; overflow-wrap: anywhere; }
.itsa-chat__msg.is-bot .itsa-chat__bubble { background: var(--surface, #fff); border: 1px solid var(--line, #e6dfee); border-bottom-left-radius: 5px; }
.itsa-chat__msg.is-user .itsa-chat__bubble { background: var(--accent, #6b3fa0); color: var(--accent-ink, #fff); border-bottom-right-radius: 5px; }
.itsa-chat__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.itsa-chat__act { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700; text-decoration: none;
  background: var(--accent-soft, #efe6f8); color: var(--accent, #6b3fa0); }
.itsa-chat__act:hover { text-decoration: underline; }
.itsa-chat__act.is-wa { background: #e3f6ea; color: #0b6b35; }
.itsa-chat__msg.is-typing .itsa-chat__bubble { display: inline-flex; gap: 4px; padding: 13px 14px; }
.itsa-chat__msg.is-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted, #5d5470); opacity: .5; animation: itsa-dot 1s infinite ease-in-out; }
.itsa-chat__msg.is-typing span:nth-child(2) { animation-delay: .15s; }
.itsa-chat__msg.is-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes itsa-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
.itsa-chat__chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; background: var(--tint, #f6f2fa); border-top: 1px solid var(--line, #e6dfee); scrollbar-width: thin; }
.itsa-chat__chip { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line, #e6dfee); background: var(--surface, #fff); color: var(--ink, #2b2140);
  font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.itsa-chat__chip:hover { border-color: var(--accent, #6b3fa0); color: var(--accent, #6b3fa0); }
.itsa-chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line, #e6dfee); }
.itsa-chat__input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line, #e6dfee); border-radius: 999px; font: inherit; font-size: .95rem; color: inherit; background: var(--bg, #fff); }
.itsa-chat__send { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--accent, #6b3fa0); color: var(--accent-ink, #fff); }
.itsa-chat__wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 12px; padding: 10px 14px; border-radius: 999px;
  background: #1f8f4e; color: #fff; font-weight: 800; font-size: .92rem; text-decoration: none; }
.itsa-chat__wa:hover { background: #17733e; color: #fff; }
.itsa-chat__note { margin: 6px 12px 10px; font-size: .72rem; color: var(--muted, #5d5470); text-align: center; }
html.calm .itsa-chat *, html.calm .itsa-chat { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .itsa-chat *, .itsa-chat { animation: none !important; transition: none !important; } }
/* Mobile */
@media (max-width: 720px) {
  .itsa-chat { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .itsa-chat__fab { width: 54px; height: 54px; }
  .itsa-chat.is-open { z-index: 130; }
  .itsa-chat.is-open .itsa-chat__fab { display: none; }
  .itsa-chat__panel { position: fixed; left: 8px; right: 8px; top: calc(8px + var(--wp-admin--admin-bar--height, 0px)); bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; height: auto; border-radius: 18px; }
  .itsa-chat__input { font-size: 16px; }
  .itsa-chat__bubble { font-size: .95rem; }
}
@media print { .itsa-chat { display: none; } }
/* ---------- CHAT-ASSISTANT-END ---------- */

/* ---------- BACK-TO-TOP-START ---------- */
.itsa-top { position: fixed; right: 27px; bottom: 96px; z-index: 109; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: var(--surface, #fff); color: var(--accent, #6b3fa0); border: 2px solid var(--accent, #6b3fa0);
  box-shadow: 0 8px 22px -10px rgba(43, 33, 64, .45); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, background .15s ease, color .15s ease; }
.itsa-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.itsa-top:hover { background: var(--accent, #6b3fa0); color: var(--accent-ink, #fff); }
.itsa-top:focus-visible { outline: 3px solid var(--highlight, #ffd166); outline-offset: 2px; }
.itsa-chat.is-open ~ .itsa-top, body:has(.itsa-chat.is-open) .itsa-top { display: none; }
html.calm .itsa-top { transition: none; }
@media (prefers-reduced-motion: reduce) { .itsa-top { transition: none; } }
@media (max-width: 720px) { .itsa-top { right: 19px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; } }
@media print { .itsa-top { display: none; } }
/* ---------- BACK-TO-TOP-END ---------- */
