/* ============================================================
   مخبر المؤسسات الدستورية والنظم السياسية — جامعة تيبازة
   Laboratory of Constitutional Institutions & Political Systems
   Design system: colours taken from the laboratory logo.
   Typography: Thmanyah Sans (UI/body), Thmanyah Serif Display (headlines),
               Thmanyah Serif Text (article lead and quotations).
   One stylesheet drives AR (RTL), FR and EN (LTR) via logical properties.
   ============================================================ */

/* ---------- Fonts (only the faces actually used) ---------- */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../../fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../../fonts/thmanyahsans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../../fonts/thmanyahsans-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../../fonts/thmanyahserifdisplay-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../../fonts/thmanyahseriftext-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Colours (from the laboratory logo) */
  --green-950: #06200F;  /* footer, deepest */
  --green-900: #0A2D17;  /* hero background, dark sections */
  --green-700: #0B6B28;  /* primary brand: links, headings, outlines (6.7:1 on white) */
  --green-600: #08882F;  /* logo green — fills, hover of dark buttons (white text 4.6:1) */
  --green-500: #2FA356;  /* decorative only (mountains) */
  --green-100: #E3F3E8;
  --red-600: #E00410;    /* logo red — fills, CTAs (white text 5.1:1) */
  --red-700: #B5030D;    /* hover, borders, markers, form errors (7.1:1 on white) */
  --red-800: #8C0A10;    /* red text on light backgrounds (9.7:1) */
  --red-300: #FF6B70;    /* red text and accents on dark green (5.1:1) */
  --red-100: #FDE8E8;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --ink: #121715;        /* logo black */
  --slate-700: #3A4A41;
  --slate-600: #566559;  /* muted text (6.1:1 on white) */
  --slate-400: #8C9A91;  /* decorative only, never small text */
  --slate-300: #D6DFD9;  /* borders */
  --slate-100: #EFF4F0;
  --on-dark-muted: #C2DACB;
  --on-dark-faint: #93B09E;

  /* Type */
  --font-sans: 'Thmanyah Sans', 'Readex Pro', 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Thmanyah Serif Display', 'Amiri', 'Lora', Georgia, serif;
  --font-serif-text: 'Thmanyah Serif Text', 'Amiri', 'Lora', Georgia, serif;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 24px -12px rgba(6, 32, 15, 0.16);
  --shadow-float: 0 20px 44px -18px rgba(6, 32, 15, 0.28);

  /* Layout */
  --container: 1280px;
  --section-y: clamp(64px, 9vw, 104px);
  --nav-h: 80px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
svg { flex: 0 0 auto; }

:focus-visible { outline: 3px solid var(--green-700); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .facts :focus-visible, .section--navy :focus-visible, .footer :focus-visible, .decision-card :focus-visible { outline-color: var(--red-300); }
.contact :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green-950);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.45;
  letter-spacing: 0;
}
[dir='ltr'] .display { line-height: 1.18; }
[dir='ltr'] .hero__title { font-size: clamp(32px, 3.9vw, 50px); }
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: 1.45;
  color: var(--ink);
}
[dir='ltr'] .h2 { line-height: 1.25; }
.lead { font-size: clamp(15.5px, 1.35vw, 18px); color: var(--slate-600); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green-700);
  transition: color 0.15s ease;
}
.text-link:hover { color: var(--red-800); text-decoration: underline; text-underline-offset: 3px; }
.arrow { display: inline-block; }
[dir='rtl'] .arrow::after { content: '←'; }
[dir='ltr'] .arrow::after { content: '→'; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  width: fit-content;
}
.chip--sm { font-size: 11.5px; padding: 4px 10px; }
.chip--amber { background: var(--red-100); color: var(--red-800); }
.chip--navy { background: var(--green-100); color: var(--green-700); }
.chip--green { background: var(--green-100); color: var(--green-700); }
.chip--dark { background: rgba(6, 32, 15, 0.12); color: var(--green-950); }
.chip--ghost {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--red-300);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red-600); color: var(--white); box-shadow: 0 8px 20px -10px rgba(224, 4, 16, 0.45); }
.btn--primary:hover { background: var(--red-700); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn--outline-navy { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--outline-navy:hover { background: var(--green-100); }
.btn--navy { background: var(--green-700); color: var(--white); }
.btn--navy:hover { background: var(--green-600); }
.btn--dark { background: var(--green-950); color: var(--white); }
.btn--dark:hover { background: var(--green-700); }
.btn--outline-dark { border-color: var(--green-950); color: var(--green-950); background: transparent; }
.btn--outline-dark:hover { background: rgba(6, 32, 15, 0.08); }
.btn--whatsapp { background: var(--green-600); color: var(--white); }
.btn--whatsapp:hover { background: var(--green-700); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn[disabled]:hover { transform: none; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-300);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--nav-h);
  padding-block: 12px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav__logo { width: 52px; height: 52px; border-radius: 50%; }
.nav__brand-text { display: flex; flex-direction: column; min-width: 0; max-width: 340px; }
.nav__title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[dir='ltr'] .nav__title { font-size: 13.5px; -webkit-line-clamp: 3; }
.nav__subtitle { font-size: 11.5px; color: var(--slate-600); line-height: 1.4; }
[lang='fr'] .nav__subtitle { display: none; } /* the French name already fills the three lines beside the menu */
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--red-800); }
.nav__links a.is-active { color: var(--red-800); font-weight: 700; border-bottom-color: var(--red-600); }
.nav__links a.nav__link--mobile { display: none; }
.nav__utility { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.nav__cta { white-space: nowrap; padding-inline: 22px; }
.lang {
  display: flex;
  gap: 2px;
  background: var(--slate-100);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.lang a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate-600);
}
.lang a:hover { color: var(--green-700); }
.lang a.is-active { background: var(--green-700); color: var(--white); font-weight: 700; }
.nav__toggle { display: none; }
.nav__toggle span { display: grid; }
.nav__toggle .nav__toggle-close { display: none; }
.nav.is-open .nav__toggle .nav__toggle-open { display: none; }
.nav.is-open .nav__toggle .nav__toggle-close { display: grid; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--green-900);
  color: var(--white);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(52px, 7vw, 88px);
}
.hero__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero__title { color: var(--white); }
.hero__kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--on-dark-muted); }
.hero__kicker::before { content: ''; flex: 0 0 auto; width: 28px; height: 2px; background: var(--red-600); }
.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 3px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.15s ease;
}
.hero__link:hover { border-color: var(--red-300); }
.hero__link .arrow { color: var(--red-300); }
.hero__lead { color: var(--on-dark-muted); max-width: 56ch; font-size: clamp(15.5px, 1.3vw, 17.5px); line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 4px; }

.hero__emblem { position: relative; justify-self: center; }
.hero__emblem img { width: clamp(200px, 20vw, 264px); height: auto; border-radius: 50%; }
.hero__foot { border-top: 1px solid rgba(255, 255, 255, 0.14); }

/* ---------- Key facts strip ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--slate-300); }
.facts__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 26px;
}
.fact {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2px;
  text-align: center;
  padding-inline: 16px;
}
.fact + .fact::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: var(--slate-300);
}
.fact__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--green-700);
  line-height: 1.25;
}
.fact__label { font-size: 13.5px; font-weight: 500; color: var(--slate-600); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--green-900); color: var(--white); }
.section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(32px, 5vw, 48px); }
.section__head--center { align-items: center; text-align: center; }
.section__head--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section__head--split > div { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.section--navy .h2 { color: var(--white); }
.section--navy .lead { color: var(--on-dark-muted); }
.section__head .lead { max-width: 68ch; }
.section__head--center .lead { margin-inline: auto; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.about__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.about__subtitle { font-size: 16px; font-weight: 700; color: var(--green-700); margin-top: 4px; }
.about__bullets { display: flex; flex-direction: column; gap: 12px; }
.about__bullets li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; font-size: 15.5px; }
.about__bullets .tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  border: 2px solid var(--green-600);
  display: grid; place-items: center;
  color: var(--green-700);
  font-size: 12px; font-weight: 700;
}
.about__methods { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.about__methods-label { font-size: 13.5px; font-weight: 700; color: var(--slate-600); margin-inline-end: 4px; }
.about__aside { display: flex; flex-direction: column; gap: 24px; }

.decision-card {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-inline-start: 4px solid var(--red-600);
  box-shadow: var(--shadow-float);
}
.decision-card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--red-600);
  display: grid; place-items: center;
  color: var(--white);
}
.decision-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.4; }
.decision-card p { color: var(--on-dark-muted); font-size: 15px; line-height: 1.95; }
.decision-card p strong { color: var(--white); }
.decision-card hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.12); width: 100%; margin: 4px 0; }
.decision-card .meta { font-size: 13.5px; color: var(--on-dark-faint); font-weight: 500; line-height: 1.7; }
.decision-card .meta strong { color: var(--red-300); font-weight: 700; }

.director-card {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
}
.director-card__avatar {
  flex: 0 0 auto;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--green-100);
  border: 2px solid var(--green-600);
  display: grid; place-items: center;
  color: var(--green-700);
  overflow: hidden;
}
.director-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.director-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.director-card__label { font-size: 12.5px; font-weight: 700; color: var(--red-800); letter-spacing: 0.02em; }
.director-card__name { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.director-card__role { font-size: 14px; color: var(--slate-600); line-height: 1.7; }
.director-card__contact {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 8px; padding-top: 14px;
  border-top: 1px solid var(--slate-300);
}
.director-card__contact li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.director-card__contact svg { color: var(--red-800); }
.director-card__contact a { color: var(--green-700); overflow-wrap: anywhere; transition: color 0.15s ease; }
.director-card__contact a:hover { color: var(--red-800); text-decoration: underline; }

/* Missions: a rule-separated row, no boxes */
.missions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--slate-300);
}
.mission { display: flex; flex-direction: column; gap: 12px; padding-inline: clamp(20px, 3vw, 36px); }
.mission:first-child { padding-inline-start: 0; }
.mission:last-child { padding-inline-end: 0; }
.mission + .mission { border-inline-start: 1px solid var(--slate-300); }
.mission__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red-100);
  color: var(--green-700);
  display: grid; place-items: center;
}
.mission__title { font-size: 18px; font-weight: 700; line-height: 1.4; }
.mission__text { font-size: 14.5px; color: var(--slate-600); line-height: 1.85; }

/* ---------- Activities: sticky heading + numbered list ---------- */
.activities {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.activities__head {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.activity-list { border-top: 1px solid var(--slate-300); }
.activity {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(14px, 2vw, 24px);
  padding-block: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid var(--slate-300);
}
.activity__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  padding-top: 4px;
  color: var(--red-700);
}
.activity__title { font-size: 19px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.activity__text { font-size: 15px; color: var(--slate-600); line-height: 1.85; }

/* ---------- Card grids (teams) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cards-teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  color: var(--ink);
}
.team-card__top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.team-card__bar { width: 46px; height: 4px; border-radius: 2px; background: var(--red-600); }
.team-card__num {
  background: var(--green-100);
  color: var(--green-700);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 4px 12px;
}
.team-card__avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--green-100);
  display: grid; place-items: center;
  color: var(--green-700);
  margin-top: 4px;
  overflow: hidden;
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card__label { font-size: 12.5px; font-weight: 700; color: var(--slate-600); letter-spacing: 0.02em; }
.team-card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--green-700);
}
[dir='ltr'] .team-card__title { line-height: 1.3; }
.team-card__name { font-size: 17.5px; font-weight: 700; line-height: 1.55; }
.team-card__role { font-size: 13.5px; color: var(--slate-600); line-height: 1.7; }
.team-card__more { margin-top: auto; padding-top: 6px; }

/* ---------- Team details (teams page) ---------- */
.team-details { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 28px); }
.team-detail {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  scroll-margin-top: 96px;
}
.team-detail__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--slate-300);
}
.team-detail__num {
  background: var(--green-100);
  color: var(--green-700);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 4px 12px;
}
.team-detail__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.45;
  color: var(--ink);
}
[dir='ltr'] .team-detail__title { line-height: 1.25; }
.team-detail__leader { font-size: 15px; color: var(--slate-700); }
.team-detail__leader-label { font-size: 12.5px; font-weight: 700; color: var(--slate-600); letter-spacing: 0.02em; margin-inline-end: 6px; }
.team-detail__leader strong { color: var(--green-700); font-weight: 700; }
.team-detail__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.team-detail__body--single { grid-template-columns: minmax(0, 1fr); }
.team-detail__subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red-800);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.team-detail__subtitle::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: var(--red-600); }
.team-detail__list { display: flex; flex-direction: column; gap: 10px; padding-inline-start: 1.25em; list-style: disc; }
.team-detail__list li { font-size: 15px; line-height: 1.85; color: var(--slate-700); }
.team-detail__list li::marker { color: var(--green-600); }
.team-detail__text { font-size: 15.5px; line-height: 1.9; color: var(--slate-700); max-width: 80ch; }
.team-detail__text + .team-detail__text { margin-top: 12px; }
.team-detail__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.team-detail__tags li {
  background: var(--green-100);
  color: var(--green-700);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

/* ---------- Article plate (typographic cover built from brand elements) ---------- */
.plate {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--green-900);
  color: var(--white);
}
.plate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.plate__num {
  position: absolute;
  inset-inline-start: 7%;
  top: 9%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  color: var(--red-300);
}
.plate__cat {
  position: absolute;
  inset-inline-start: 7%;
  bottom: 11%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}
.plate__mountains {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  width: 100%;
  height: 46%;
}
.plate--sm { aspect-ratio: 4 / 3; }
.plate--sm .plate__num { font-size: 30px; }
.plate--sm .plate__cat { font-size: 11px; }
.plate--lg .plate__num { font-size: clamp(56px, 6vw, 84px); }
.plate--cover { aspect-ratio: 21 / 9; border-radius: var(--radius-lg); }
.plate--cover .plate__num { font-size: clamp(56px, 8vw, 100px); }
.plate--cover .plate__cat { font-size: 14px; }

/* ---------- Articles on the home page: featured + list ---------- */
.posts {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.post-feature { display: flex; flex-direction: column; gap: 18px; }
.post-feature__plate { display: block; border-radius: var(--radius-md); }
.post-feature__body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.post-feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
}
.post-feature__title a:hover, .post-row__title a:hover, .post-index__title a:hover, .post-card__title a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--red-600); }
.post-feature__excerpt { font-size: 15.5px; color: var(--slate-600); line-height: 1.85; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--slate-600);
}
.post-meta__reading { display: inline-flex; align-items: center; gap: 6px; }
.post-list { display: flex; flex-direction: column; }
.post-row { display: flex; flex-direction: column; gap: 10px; padding-block: 22px; border-top: 1px solid var(--slate-300); }
.post-list .post-row:first-child { border-top: none; padding-top: 0; }
.post-row__title { font-size: 18px; font-weight: 700; line-height: 1.5; }
.post-row__excerpt { font-size: 14.5px; color: var(--slate-600); line-height: 1.8; }

/* ---------- Contact band ---------- */
.contact { background: var(--green-700); color: var(--white); }
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 76px);
}
.contact__text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.35; }
.contact__lead { font-size: 16px; color: var(--green-100); max-width: 52ch; line-height: 1.8; }
.contact__channels { display: flex; flex-direction: column; gap: 12px; }
.contact__channel {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--ink);
  box-shadow: 0 6px 18px -10px rgba(6, 32, 15, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contact__channel:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(6, 32, 15, 0.4); }
.contact__channel-icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: grid; place-items: center;
}
.contact__channel-body { display: flex; flex-direction: column; min-width: 0; }
.contact__channel-label { font-size: 12px; font-weight: 700; color: var(--slate-600); letter-spacing: 0.02em; }
.contact__channel-value { font-size: 15.5px; font-weight: 700; color: var(--green-700); overflow-wrap: anywhere; }
.contact__address { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; font-size: 14px; color: var(--green-100); line-height: 1.7; }
.contact__address svg { margin-top: 3px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: var(--on-dark-faint); }
.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.2fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(52px, 6vw, 72px) 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand-row { display: flex; align-items: center; gap: 12px; }
.footer__brand-row img { width: 56px; height: 56px; border-radius: 50%; }
.footer__brand-name { color: var(--white); font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.footer__brand-sub { font-size: 12.5px; }
.footer__desc { font-size: 14px; line-height: 1.95; max-width: 40ch; }
.footer__heading { color: var(--white); font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.footer__heading::after { content: ''; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--red-600); margin-top: 8px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; margin-top: 14px; }
.footer__col a { font-size: 14px; transition: color 0.15s ease; }
.footer__col a:hover { color: var(--red-300); }
.footer__more { color: var(--red-300); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.footer__more:hover { color: var(--white); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.75; }
.footer__contact svg { margin-top: 4px; color: var(--red-300); }
.footer__contact a { color: inherit; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--on-dark-faint);
}
.footer__langs a:hover { color: var(--red-300); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: 18px 6px; font-size: 13.5px; color: var(--slate-600); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.breadcrumbs li { display: flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { color: var(--slate-400); padding-inline: 4px; }
[dir='ltr'] .breadcrumbs li + li::before { content: '\203A'; }
[dir='rtl'] .breadcrumbs li + li::before { content: '\2039'; }
.breadcrumbs a { color: var(--green-700); }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] span {
  color: var(--ink);
  font-weight: 500;
  max-width: 44ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Articles index ---------- */
.page-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  max-width: 760px;
  padding-block: clamp(20px, 4vw, 44px) clamp(20px, 3vw, 32px);
}
.page-head__title { font-size: clamp(32px, 4vw, 50px); }
.post-index { max-width: 900px; padding-bottom: var(--section-y); }
.post-index__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(18px, 3vw, 32px);
  padding-block: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--slate-300);
}
.post-index__item:first-child { border-top: none; padding-top: 0; }
.post-index__plate { display: block; border-radius: var(--radius-md); }
.post-index__body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post-index__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; }
.post-index__excerpt { font-size: 15px; color: var(--slate-600); line-height: 1.85; }

/* ---------- Article page ---------- */
.article { padding-bottom: var(--section-y); }
.article-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  max-width: 800px;
  margin-inline: auto;
  padding-block: clamp(16px, 3vw, 32px) clamp(20px, 3vw, 28px);
}
.article-title { font-size: clamp(30px, 3.8vw, 48px); }
.article-lead {
  font-family: var(--font-serif-text);
  font-size: clamp(17.5px, 1.5vw, 20.5px);
  line-height: 1.8;
  color: var(--slate-700);
}
[dir='rtl'] .article-lead { line-height: 1.95; }
.byline { display: flex; align-items: center; gap: 12px; width: 100%; padding-top: 16px; border-top: 1px solid var(--slate-300); }
.byline__logo { width: 44px; height: 44px; border-radius: 50%; }
.byline__text { display: flex; flex-direction: column; gap: 2px; }
.byline__name { font-size: 14.5px; font-weight: 700; }
.byline__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--slate-600); }
.article-cover { max-width: 1000px; margin-inline: auto; margin-block: clamp(8px, 2vw, 16px) clamp(32px, 5vw, 56px); }

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: clamp(32px, 5vw, 80px);
  justify-content: center;
  align-items: start;
}
.article-layout--no-toc { grid-template-columns: minmax(0, 720px); }
.article-aside { position: sticky; top: calc(var(--nav-h) + 16px); }
.toc { border-inline-start: 3px solid var(--red-600); padding-inline-start: 16px; }
.toc__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-600);
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  margin-bottom: 10px;
}
[dir='ltr'] .toc__title { text-transform: uppercase; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: '−'; float: inline-end; color: var(--slate-400); font-weight: 400; }
.toc:not([open]) .toc__title::after { content: '+'; }
.toc__list { display: flex; flex-direction: column; gap: 8px; }
.toc__list a { display: block; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--slate-700); transition: color 0.15s ease; }
.toc__list a:hover { color: var(--red-800); }
.toc__list a.is-current { color: var(--red-800); font-weight: 700; }
.article-main { min-width: 0; }

.prose { font-size: clamp(16.5px, 1.2vw, 18px); line-height: 1.8; }
[dir='rtl'] .prose { line-height: 1.95; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 2.4vw, 29px);
  line-height: 1.4;
  color: var(--green-900);
  margin-top: 2em;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.prose h3 { font-size: 19px; font-weight: 700; margin-top: 1.6em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-inline-start: 1.5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--green-600); font-weight: 700; }
.prose blockquote {
  margin-block: 1.6em;
  padding-block: 4px;
  padding-inline-start: 22px;
  border-inline-start: 3px solid var(--red-600);
  font-family: var(--font-serif-text);
  font-size: 1.12em;
  line-height: 1.75;
  color: var(--green-700);
}
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red-600); }
.prose a:hover { color: var(--red-800); }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--slate-300); margin-block: 2em; }

.share { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--slate-300); display: flex; flex-direction: column; gap: 12px; }
.share__label { font-size: 13.5px; font-weight: 700; color: var(--slate-600); }
.share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-700);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.share__btn:hover { background: var(--green-100); border-color: var(--green-100); }
.share__btn.is-copied { background: var(--green-100); border-color: var(--green-100); color: var(--green-700); }

.author-card {
  margin-top: 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
}
.author-card__logo { width: 64px; height: 64px; border-radius: 50%; }
.author-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.author-card__label { font-size: 12px; font-weight: 700; color: var(--red-800); letter-spacing: 0.03em; }
.author-card__name { font-size: 17px; font-weight: 700; }
.author-card__role { font-size: 13.5px; color: var(--slate-600); }
.author-card__desc { font-size: 14.5px; color: var(--slate-600); line-height: 1.8; margin-top: 6px; }
.author-card .text-link { margin-top: 8px; }

.pager { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pager__link { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 2px solid var(--slate-300); }
.pager__link--next { text-align: end; align-items: flex-end; }
.pager__link--empty { border-top-color: transparent; }
.pager__label { font-size: 12.5px; font-weight: 700; color: var(--slate-600); }
.pager__title { font-size: 15.5px; font-weight: 700; color: var(--green-700); line-height: 1.5; transition: color 0.15s ease; }
.pager__link:hover .pager__title { color: var(--red-800); }

.related__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.post-card {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.post-card__plate { display: block; }
.post-card__plate .plate { border-radius: 0; }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post-card__title { font-size: 17.5px; font-weight: 700; line-height: 1.55; }
.post-card__excerpt { font-size: 14.5px; color: var(--slate-600); line-height: 1.8; }

/* ---------- Links between sections ---------- */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Hero: newest article teaser */
.hero__latest {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding-block: 16px;
  color: var(--on-dark-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.hero__latest-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--on-dark-faint); }
.hero__latest-title { color: var(--white); font-weight: 500; }
.hero__latest:hover .hero__latest-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--red-300); }
.hero__latest .arrow { color: var(--red-300); }

/* Each fact points to its section */
.fact__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.fact__link:hover { background: var(--cream); }
.fact__link:hover .fact__label { color: var(--red-800); }

/* Inline "related article" links inside lists */
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-inline-start: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-800);
  white-space: nowrap;
}
.inline-link:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }

/* Section-end cross-links */
.section__more { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(28px, 4vw, 40px); }
.activity__body .text-link { margin-top: 10px; font-size: 14px; }
.teams__note { margin-top: clamp(28px, 4vw, 40px); text-align: center; color: var(--on-dark-muted); font-size: 15px; }
.teams__note a { display: inline-flex; align-items: center; gap: 6px; color: var(--red-300); font-weight: 700; }
.teams__note a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.teams__note--link { margin-top: 10px; }

/* ---------- Content pages (about, activities, teams, contact, subscribe) ---------- */
.content-page .page-head { max-width: 820px; }
.prose-link { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red-600); }
.prose-link:hover { color: var(--red-800); }

.action-card {
  background: var(--cream);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.action-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red-100);
  color: var(--green-700);
  display: grid; place-items: center;
}
.action-card__title { font-size: 18px; font-weight: 700; line-height: 1.4; }
.action-card__text { font-size: 14.5px; color: var(--slate-600); line-height: 1.85; }
.action-card .text-link { margin-top: auto; padding-top: 4px; }

.cta-split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.cta-split__text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-split__text .lead { max-width: 68ch; }
.cta-split__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Forms ---------- */
.form-section { padding-top: clamp(32px, 5vw, 56px); }
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.2vw, 40px);
  box-shadow: var(--shadow-card);
}
.form-aside { display: flex; flex-direction: column; gap: 20px; }
.form-aside__title, .info-card__title { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.4; }
.form-aside .contact__channel { border: 1px solid var(--slate-300); box-shadow: none; }
.form-aside .contact__channel:hover { border-color: var(--green-700); box-shadow: var(--shadow-card); }
.form-aside .contact__address { color: var(--slate-600); }
.info-card {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card .about__bullets li { font-size: 15px; }
.info-card__note { font-size: 14px; color: var(--slate-600); padding-top: 14px; border-top: 1px solid var(--slate-300); }
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.7; }
.steps li::before {
  content: counter(step);
  flex: 0 0 auto;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}

.form { display: flex; flex-direction: column; gap: 18px; }
.form__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; }
.form__note { font-size: 13.5px; color: var(--slate-600); margin-top: -10px; }
.form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field--group { display: block; }
.field--group .field__label { margin-bottom: 9px; }
.field--group .field__error { margin-top: 8px; }
.field__label { padding: 0; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.field__req { color: var(--red-700); }
.field__opt { font-size: 13px; font-weight: 400; color: var(--slate-600); }
.field__input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--slate-400);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field__input:hover { border-color: var(--slate-600); }
.field__input:focus-visible { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(11, 107, 40, 0.3); }
[dir='rtl'] .field__input[dir='ltr'] { text-align: right; }
.field__textarea { min-height: 150px; resize: vertical; }
.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 42px;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355677A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
[dir='rtl'] .field__select { background-position: left 14px center; }
.field__hint { font-size: 13px; color: var(--slate-600); line-height: 1.5; }
.field__error { font-size: 13.5px; font-weight: 500; color: var(--red-700); line-height: 1.5; }
.field.is-invalid .field__input, .field.is-invalid .choice { border-color: var(--red-700); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1.5px solid var(--slate-400);
  border-radius: 10px;
  background: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice:hover { border-color: var(--slate-600); }
.choice input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--green-700); }
.choice:has(input:checked) { border-color: var(--green-700); background: var(--green-100); color: var(--green-700); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(11, 107, 40, 0.3); }
.choice input:focus-visible { outline: none; }
.form__privacy { font-size: 13px; color: var(--slate-600); line-height: 1.6; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__actions .btn { flex: 1 1 220px; }
.form__status {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
}
.form__status:focus-visible { outline: none; } /* focused only to be announced; it is not a control */
.form__status--success { background: var(--green-100); border-color: #B3DCC0; color: var(--green-700); }
.form__status--error { background: var(--red-100); border-color: #F5B8BB; color: var(--red-700); }
.form__status--info { background: var(--green-100); border-color: #B3DCC0; color: var(--green-700); }
.form__status-title { font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.form__status-text { font-size: 14.5px; line-height: 1.7; color: var(--ink); }
.form__status-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
.form__status-actions a, .form__status-actions button {
  padding: 0;
  border: 0;
  background: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.form__status-actions a:hover, .form__status-actions button:hover { color: var(--red-800); }
[hidden] { display: none !important; }
.form.is-sent .form__note, .form.is-sent .form__grid, .form.is-sent .form__privacy, .form.is-sent .form__actions { display: none; }

/* ---------- Reveal animation (only when JS is available) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .post-card, .contact__channel, .nav__links a, .text-link { transition: none; }
  .btn:hover, .post-card:hover, .contact__channel:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__emblem { order: -1; justify-self: start; }
  .hero__emblem img { width: 104px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-teams { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .activities { grid-template-columns: 1fr; gap: 32px; }
  .activities__head { position: static; }
  .posts { grid-template-columns: 1fr; }
  .article-layout, .article-layout--no-toc { grid-template-columns: minmax(0, 760px); }
  .article-aside { position: static; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .cta-split__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 1280px) {
  .nav__subtitle { display: none; }
}
@media (max-width: 1200px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--slate-300);
    padding: 12px clamp(20px, 4vw, 40px) 20px;
    gap: 0;
    box-shadow: var(--shadow-card);
  }
  .nav__links a { padding-block: 13px; border-bottom: 1px solid var(--slate-100); white-space: normal; }
  .nav__links a.is-active { border-bottom-color: var(--slate-100); }
  .nav__links a.nav__link--mobile { display: block; }
  .nav.is-open .nav__links { display: flex; }
  .nav__toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--slate-300);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    color: var(--green-700);
  }
  .nav__cta { display: none; }
}
@media (max-width: 900px) {
  .facts__card { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .fact:nth-child(3)::before { display: none; }
  .cards-3 { grid-template-columns: 1fr; }
  .team-detail__body { grid-template-columns: minmax(0, 1fr); }
  .missions { grid-template-columns: 1fr; }
  .mission { padding-inline: 0; padding-block: 22px; }
  .mission + .mission { border-inline-start: 0; border-top: 1px solid var(--slate-300); }
  .mission:first-child { padding-top: 0; }
  .mission:last-child { padding-bottom: 0; }
}
@media (max-width: 640px) {
  .cards-3, .cards-4, .cards-2, .cards-teams, .related__grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .nav__logo { width: 44px; height: 44px; }
  .nav__title {
    font-size: 12.5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .nav__subtitle { display: none; }
  [dir='ltr'] .nav__title { font-size: 12.5px; -webkit-line-clamp: 2; }
  .lang a { padding: 4px 10px; }
  .activity { grid-template-columns: 48px 1fr; }
  .post-index__item { grid-template-columns: 1fr; }
  .post-index__plate { display: none; }
  .pager { grid-template-columns: 1fr; }
  .pager__link--next { text-align: start; align-items: flex-start; }
  .breadcrumbs [aria-current] span { max-width: 60vw; }
  .contact__channel-value { font-size: 14.5px; }
  .author-card { flex-direction: column; }
  .form__grid { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .display { font-size: 28px; } /* keeps "Constitutionnelles" on one line at 320 px */
}
