/* Public AI Lab Canada
   Follows the "Final" Claude Design mockups (desktop and phone, EN and FR) and the PAILC design system.
   Section order: header → hero → about → get involved → partners → footer.
   Light mode only. Phone layout below 40rem.
   Keep text pairs ≥ 4.5:1, large text and UI borders ≥ 3:1. */

@font-face {
  font-family: "Boldonse"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/boldonse-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Boldonse"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/boldonse-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans and Funnel Display are variable fonts: one file covers 400–700 */
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Funnel Display"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/funnel-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Funnel Display"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/funnel-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/dm-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/dm-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/dm-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/dm-mono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* PAILC palette */
  --paper: #f6f4ee;
  --paper-raised: #fffdf9;
  --lilac: #eae3ef;
  --line: #d9d4c8;
  --line-strong: #7d776c;
  --ink: #111111;
  --ink-muted: #5a5650;
  --maple: #d80520;
  --on-maple: #ffffff;
  --violet: #7000e8;
  --on-violet: #ffffff;
  --chartreuse: #f0ff00;
  --on-chartreuse: #111111;
  --wine: #780d40;
  --on-wine: #f6f4ee;
  --night: #111111;
  --on-night: #f6f4ee;
  --peach: #ffd6b0;
  --clay: #d8a98d;
  --straw: #e8dda6;
  --focus: var(--violet);
  --link: var(--violet);

  --font-display: "Boldonse", "Arial Black", sans-serif;
  --font-heading: "Funnel Display", "DM Sans", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius: 2px;
  --stripe: 6px;

  /* Layout values that change on phones */
  --gutter: var(--s6);
  --section-pad: var(--s9);
  color-scheme: light;
}
@media (max-width: 40rem) {
  :root { --gutter: var(--s4); --section-pad: var(--s7); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 26px;
  border-top: var(--stripe) solid var(--maple);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
main:focus { outline: none; }

.wrap {
  max-width: calc(1200px + 2 * var(--gutter)); /* 1200px of content */
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Skip link */
.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 20;
  background: var(--ink); color: var(--paper); padding: var(--s2) var(--s4);
}
.skip:focus { top: var(--s4); }

/* Shared type */
.eyebrow {
  font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-muted);
}
h2 {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 48px; line-height: 52px; letter-spacing: -.01em;
}
.arrow { font-family: var(--font-mono); }

/* Tag */
.tag {
  display: inline-block; font-family: var(--font-sans); font-weight: 700;
  font-size: 13px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase;
  padding: var(--s1) var(--s2);
}
.tag-chartreuse { background: var(--chartreuse); color: var(--on-chartreuse); }
.tag-violet { background: var(--violet); color: var(--on-violet); }
.tag-plain { background: var(--lilac); color: var(--ink); }

/* Buttons */
.btn {
  font: inherit; font-weight: 700; font-size: 15px; line-height: 20px;
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: var(--s2) var(--s5); /* vertical padding gives wrapped labels room */
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; transition: background-color .15s, color .15s;
}
.btn-lg { min-height: 56px; padding: var(--s3) var(--s6); font-size: 17px; }
.btn-primary { background: var(--maple); color: var(--on-maple); }
.btn-primary:hover { background: var(--wine); color: var(--on-wine); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--chartreuse); color: var(--on-chartreuse); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s4); }
@media (max-width: 40rem) {
  .btn { width: 100%; justify-content: space-between; }
  .btn-row { flex-direction: column; gap: var(--s3); }
}

/* Header */
.site-header {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s5); padding-block: var(--s6);
}
.site-logo { display: block; padding: var(--s1) 0; }
.site-logo img { display: block; height: 82px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: var(--s2) var(--s6); }
.site-header ul { list-style: none; margin: 0; padding: 0; }
.nav-inline ul { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); }
.site-header nav a {
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  min-height: 44px; display: flex; align-items: center;
}
.site-header nav a:hover { text-decoration: underline; }
.lang {
  background: var(--chartreuse); color: var(--on-chartreuse); font-size: 15px; font-weight: 700;
  text-decoration: none; min-height: 44px; min-width: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.lang:hover { color: var(--on-chartreuse); text-decoration: underline; }
@media (max-width: 40rem) {
  .site-header { gap: var(--s2); padding-block: var(--s4); }
  .site-logo img { height: auto; width: 112px; }
  /* The links and language switch drop to their own row under the logo */
  .site-header__actions { flex: 1 1 100%; justify-content: space-between; gap: var(--s2); }
  .nav-inline ul { gap: var(--s2) var(--s4); }
}

/* Hero: text panel beside decorative tiles */
.hero { padding-top: var(--s6); padding-bottom: var(--section-pad); }
.hero-grid {
  display: grid; gap: var(--s2);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, auto);
}
.hero-panel {
  grid-column: span 2; grid-row: span 2; min-width: 0;
  background: var(--paper-raised); border: 1px solid var(--line); padding: var(--s7);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s6);
}
.hero-panel__top, .hero-panel__bottom { display: flex; flex-direction: column; gap: var(--s5); }
.hero h1 { display: flex; flex-direction: column; gap: var(--s6); font-weight: 400; }
.hero-lead { font-family: var(--font-heading); font-weight: 500; font-size: 22px; line-height: 28px; max-width: 28ch; }
/* Boldonse has tall ascenders and descenders, so it needs generous leading */
.hero-main { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 72px); line-height: 1.2; }
.highlight { color: var(--violet); }
.hero .lead { font-size: 20px; line-height: 30px; max-width: 46ch; }
/* French runs longer */
:lang(fr) .hero-lead { max-width: 30ch; }
:lang(fr) .hero .lead { max-width: 48ch; }

.tile { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tile i { display: block; flex: none; }
.tile-target { grid-row: span 2; min-height: 488px; background: var(--maple); }
.tile-target i { position: absolute; border-radius: 50%; }
.tile-target i:first-child { width: 360px; height: 360px; background: var(--paper); }
.tile-target i:last-child { width: 150px; height: 150px; background: var(--maple); }
.tile-frame { background: var(--peach); }
.tile-frame i { width: 112px; height: 150px; background: var(--peach); border: 28px solid var(--maple); }
.tile-stem { flex-direction: column; background: var(--straw); }
.tile-stem i { width: 36px; height: 36px; border-radius: 50%; background: var(--wine); }
.tile-stem i:nth-child(2) { width: 16px; height: 110px; border-radius: 0; }

/* Fewer columns on narrower screens; the red tile grows so no gaps are left */
@media (max-width: 72rem) {
  .hero-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-target { grid-row: span 3; }
}
@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-target { grid-row: span 2; }
}
@media (max-width: 40rem) {
  .hero { padding-top: 0; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .hero-panel { padding: var(--s5); gap: 20px; margin-bottom: 0; }
  .hero-panel__top, .hero-panel__bottom { gap: 20px; }
  .hero h1 { gap: var(--s4); }
  .hero-lead { font-size: 18px; line-height: 24px; }
  .hero-main { font-size: 34px; line-height: 1.25; }
  .hero .lead { font-size: 18px; line-height: 27px; }
  .tile-target { grid-column: span 2; grid-row: auto; min-height: 0; height: 232px; }
  .tile-target i:first-child { width: 200px; height: 200px; }
  .tile-target i:last-child { width: 84px; height: 84px; }
  .tile-frame, .tile-stem { height: 168px; }
  .tile-frame i { width: 72px; height: 96px; border-width: 18px; }
  .tile-stem i { width: 24px; height: 24px; }
  .tile-stem i:nth-child(2) { width: 10px; height: 72px; }
}

/* About: lilac band, two cards with picture strips */
.about { background: var(--lilac); }
.about > .wrap { padding-block: var(--section-pad); display: flex; flex-direction: column; gap: var(--s6); }
.about h2 { font-size: 13px; line-height: 16px; }
.about-grid { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.about-card { background: var(--paper-raised); display: flex; flex-direction: column; }
.about-card__art { position: relative; overflow: hidden; height: 160px; }
.about-card__art i { position: absolute; display: block; }
.about-card__body { padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.about-card h3 { font-family: var(--font-heading); font-weight: 500; font-size: 28px; line-height: 34px; }
/* Footnote for a statistic in the card text */
.about-card .source { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.art-stat { background: var(--wine); }
.art-stat i { border-radius: 50%; }
.art-stat i:first-child { width: 220px; height: 220px; right: -60px; top: -60px; background: var(--chartreuse); }
.art-stat i:nth-child(2) { width: 90px; height: 90px; right: 5px; top: 5px; background: var(--wine); }
.art-stat p {
  position: absolute; left: var(--s6); bottom: var(--s4); white-space: nowrap;
  font-family: var(--font-display); font-size: 64px; line-height: 1.2; color: var(--on-wine);
}
.art-frame { background: var(--violet); }
.art-frame i:first-child { width: 120px; height: 200px; left: 32px; top: 40px; background: var(--chartreuse); }
.art-frame i:last-child { width: 56px; height: 140px; left: 64px; top: 72px; background: var(--violet); }
@media (max-width: 40rem) {
  .about > .wrap { gap: var(--s5); }
  .about-card__art { height: 120px; }
  .about-card__body { padding: var(--s5); gap: var(--s3); }
  .about-card h3 { font-size: 24px; line-height: 30px; }
  .art-stat i:first-child { width: 160px; height: 160px; right: -48px; top: -48px; }
  .art-stat i:nth-child(2) { width: 64px; height: 64px; right: 0; top: 0; }
  .art-stat p { left: var(--s5); bottom: var(--s3); font-size: 44px; }
  .art-frame i:first-child { width: 88px; height: 140px; left: 24px; top: 28px; }
  .art-frame i:last-child { width: 40px; height: 100px; left: 48px; top: 52px; }
}

/* Principles: wine band, numbered list */
.principles { background: var(--wine); color: var(--on-wine); }
.principles > .wrap { padding-block: var(--section-pad); display: flex; flex-direction: column; gap: var(--s7); }
.principles-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--s6) var(--s5); grid-template-columns: repeat(3, minmax(0, 1fr));
}
.principles-list li {
  display: flex; flex-direction: column; gap: var(--s2);
  border-top: 1px solid rgba(246, 244, 238, .3); padding-top: var(--s4);
}
.principles-list__num { font-family: var(--font-mono); font-weight: 500; font-size: 14px; line-height: 20px; color: var(--chartreuse); }
.principles-list h3 { font-family: var(--font-heading); font-weight: 500; font-size: 22px; line-height: 28px; }
@media (max-width: 56rem) {
  .principles-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .principles > .wrap { gap: var(--s5); }
  .principles-list { grid-template-columns: 1fr; gap: var(--s5); }
}

/* Section heading block (tag + h2 + optional paragraph) */
.section-head { display: flex; flex-direction: column; gap: var(--s4); }

/* Get involved */
.involve { padding-block: var(--section-pad); display: flex; flex-direction: column; gap: var(--s7); }
.cards { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cards__item { display: flex; flex-direction: column; gap: var(--s4); align-items: flex-start; }
/* Cards grow to equal height so the buttons under them line up */
.cards__item .card { flex: 1 1 auto; align-self: stretch; }

/* Card */
.card {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line);
}
.card--featured { border-top: var(--stripe) solid var(--maple); }
.card__media { aspect-ratio: 16 / 9; display: block; width: 100%; height: auto; }
.card__body { display: grid; gap: var(--s3); align-content: start; padding: var(--s5); }
.card__title { font-family: var(--font-heading); font-weight: 500; font-size: 28px; line-height: 34px; }
.card__summary { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.fill-maple { fill: var(--maple); } .fill-violet { fill: var(--violet); }
.fill-chartreuse { fill: var(--chartreuse); } .fill-wine { fill: var(--wine); }
.fill-peach { fill: var(--peach); } .fill-straw { fill: var(--straw); }
.fill-paper { fill: var(--paper); } .fill-ink { fill: var(--ink); }

@media (max-width: 40rem) {
  h2 { font-size: 32px; line-height: 38px; }
  .involve { gap: var(--s5); }
  .involve .section-head { gap: var(--s3); }
  .cards__item { gap: var(--s3); }
}

/* Partners */
.partners { background: var(--paper-raised); border-top: var(--stripe) solid var(--maple); }
.partners > .wrap { padding-block: var(--section-pad); display: flex; flex-wrap: wrap; gap: var(--s7) var(--s8); }
.partners .section-head { flex: 1 1 320px; }
.partners h2 { font-size: 36px; line-height: 42px; }
.hubs-label { font-size: 15px; line-height: 22px; font-weight: 700; margin-top: var(--s2); }
.hubs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.logos {
  flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--s2); grid-template-columns: repeat(3, minmax(0, 1fr));
}
.partner { --tile-pad: var(--s4); background: var(--paper); display: flex; flex-direction: column; min-width: 0; }
/* A grouped entry spans two columns, so the grid stays full at both 3 and 2 columns */
.partner--group { grid-column: span 2; }
.partner__logos { height: 120px; display: flex; align-items: center; justify-content: center; }
.partner--group a + a { position: relative; }
.partner--group a + a::before { content: ""; position: absolute; left: 0; inset-block: var(--s5); width: 1px; background: var(--line); }
/* A linked logo fills its share of the tile, so the click target is the tile */
.partner__logos a {
  flex: 1; min-width: 0; align-self: stretch; padding: var(--tile-pad);
  display: flex; align-items: center; justify-content: center; transition: background-color .15s;
}
.partner__logos a:hover { background: var(--lilac); }
/* Each logo's max height is set in partners.json so they look balanced next to each other */
.logos img { max-height: var(--logo-h, 48px); width: auto; max-width: 100%; object-fit: contain; }
.logo-placeholder { font-size: 15px; line-height: 22px; color: var(--ink-muted); text-align: center; }
@media (max-width: 40rem) {
  .partners > .wrap { flex-direction: column; gap: var(--s5); }
  .partners .section-head { flex: none; gap: var(--s3); }
  .partners h2 { font-size: 28px; line-height: 34px; }
  .logos { flex: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner { --tile-pad: var(--s3); }
  .partner__logos { height: 104px; }
  .logos img { max-height: calc(var(--logo-h, 48px) * .83); }
}

/* Footer: night, with a maple ring in the corner */
.site-footer {
  --focus: var(--chartreuse);
  position: relative; overflow: hidden;
  background: var(--night); color: var(--on-night);
}
.site-footer::before, .site-footer::after { content: ""; position: absolute; border-radius: 50%; }
.site-footer::before { width: 420px; height: 420px; right: -140px; top: -140px; background: var(--maple); }
.site-footer::after { width: 170px; height: 170px; right: -15px; top: -15px; background: var(--night); }
.site-footer .wrap {
  position: relative; z-index: 1;
  padding-top: var(--s9); padding-bottom: var(--s8);
  display: flex; flex-direction: column; gap: var(--s6);
}
.footer-logo { display: block; width: 208px; height: auto; }
.footer-logo--fr { width: 288px; }
.land { max-width: 72ch; font-size: 15px; line-height: 22px; }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); font-size: 15px; line-height: 22px;
  border-top: 1px solid rgba(246, 244, 238, .3); padding-top: var(--s4);
}
.footer-meta a, .footer-meta .copyright { min-height: 44px; display: flex; align-items: center; }
.footer-meta a { color: var(--on-night); }
.footer-meta a:hover { color: var(--chartreuse); }
.copyright { font-family: var(--font-mono); font-size: 14px; }
@media (max-width: 40rem) {
  .site-footer::before { width: 240px; height: 240px; right: -96px; top: -96px; }
  .site-footer::after { width: 96px; height: 96px; right: -24px; top: -24px; }
  .site-footer .wrap { padding-top: var(--s8); padding-bottom: var(--s7); gap: var(--s5); }
  .footer-logo { width: 168px; }
  .footer-logo--fr { width: 220px; }
  .footer-meta { flex-direction: column; gap: var(--s1); padding-top: var(--s3); }
}

/* Bilingual splash at / */
.splash main { min-height: calc(100vh - var(--stripe)); display: grid; place-content: center; padding-block: var(--s8); }
.splash-choices {
  width: min(100vw - 2 * var(--gutter), 720px);
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.splash-choices li {
  background: var(--paper-raised); border: 1px solid var(--line); padding: var(--s7);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s6);
}
.splash-choices img { display: block; height: 82px; width: auto; }
@media (max-width: 40rem) {
  .splash-choices li { padding: var(--s5); }
  .splash-choices img { height: 64px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
