/*
  Jaya — feuille de style unique, sans framework.
  1. Tokens   2. Base   3. Layout   4. Header & navigation   5. Page header & hero
  6. Composants (cartes, boutons, panneaux, formulaires)   7. Blocs de contenu
  8. Footer   9. Utilitaires
*/

@font-face {
  font-family: Marcellus;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Marcellus-Regular.d8d78c8d074b.woff2") format('woff2');
}

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --forest: #2a4130;
  --moss: #466d50;
  --sage: #a8d5ba;
  --sage-light: #e3f1e8;
  --bark: #87744f;
  --earth: #553801;
  --ember: #b44b02;
  --cream: #f7f5ef;
  --paper: #fff;
  --ink: #1f2a22;
  --muted: #56615a;
  --line: #e1dcd3;

  --font-display: Marcellus, Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 2rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem);

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: clamp(2rem, 1.5rem + 2vw, 3rem);
  --space-xl: clamp(3rem, 2rem + 4vw, 5.5rem);

  --radius: 0.75rem;
  --radius-l: 1.5rem;
  --shadow: 0 1px 2px rgb(31 42 34 / 6%), 0 8px 24px rgb(31 42 34 / 8%);
  --container: 75rem;
  --measure: 46rem;
  --header-height: 4.5rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

body.no-scroll {
  overflow: hidden;
}

main {
  flex: 1;
  padding-bottom: var(--space-xl);
}

main:focus {
  outline: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--forest);
  margin: 0 0 var(--space-s);
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); margin-top: var(--space-l); }
h3 { font-size: var(--step-2); margin-top: var(--space-m); }
h4 { font-size: var(--step-1); margin-top: var(--space-m); }

p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0 0 var(--space-s);
}

a {
  color: var(--moss);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest);
}

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
  border-radius: 2px;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-l) 0;
}

::selection {
  background: var(--sage);
  color: var(--ink);
}

/* 3. Layout ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: var(--space-xl);
}

.section > .container > h2:first-child,
.section__header h2 {
  margin-top: 0;
}

.section--tinted {
  background: var(--cream);
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-m);
  margin-bottom: var(--space-l);
}

.grid {
  display: grid;
  gap: var(--space-m);
}

.grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}

.split {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}

@media (min-width: 62rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split__media img {
  border-radius: var(--radius-l);
  width: 100%;
}

.layout-aside {
  display: grid;
  gap: var(--space-l);
  align-items: start;
}

@media (min-width: 62rem) {
  .layout-aside {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: var(--space-xl);
  }
}

.streamfield {
  max-width: var(--measure);
}

.streamfield > :first-child {
  margin-top: 0;
}

/* 4. Header & navigation ------------------------------------------------ */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--forest);
  color: #fff;
  padding: var(--space-xs) var(--space-s);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Opaque, no backdrop-filter: it would become the containing block of the
     fixed mobile menu panel. */
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  min-height: var(--header-height);
}

.site-header__logo {
  flex-shrink: 0;
  margin-right: auto;
}

.site-header__logo img {
  width: 96px;
  height: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  font: inherit;
  font-size: var(--step--1);
  padding: var(--space-xs) var(--space-s);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.is-open .nav-toggle__bars { background: transparent; }
.is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav__list,
.site-nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link,
.site-nav__submenu a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: var(--space-xs) 0;
}

.site-nav__link[aria-current],
.site-nav__submenu a[aria-current] {
  color: var(--moss);
  font-weight: 600;
}

.site-nav__expand {
  border: 0;
  background: none;
  color: var(--moss);
  padding: var(--space-xs);
  cursor: pointer;
  border-radius: 999px;
}

.site-nav__expand svg {
  transition: transform 0.2s ease;
}

.site-nav__expand[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.site-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding-left: var(--space-s);
}

.site-search__input {
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--step--1);
  min-width: 0;
  width: 100%;
  padding: var(--space-xs) 0;
}

.site-search__input:focus {
  outline: none;
}

.site-search:focus-within {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
}

.site-search__button {
  border: 0;
  background: none;
  color: var(--moss);
  padding: var(--space-xs) var(--space-s);
  cursor: pointer;
  border-radius: 999px;
}

.site-search--large {
  max-width: 36rem;
  margin-top: var(--space-m);
  padding: var(--space-2xs);
  padding-left: var(--space-m);
}

/* Mobile navigation */
@media (max-width: 61.99rem) {
  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-height) 0 0;
    background: var(--paper);
    overflow-y: auto;
    padding: var(--space-m) clamp(1rem, 4vw, 2rem) var(--space-xl);
  }

  .is-open .site-nav {
    display: block;
  }

  .site-nav__item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .site-nav__link {
    font-family: var(--font-display);
    font-size: var(--step-1);
    padding: var(--space-s) 0;
  }

  .site-nav__submenu {
    grid-column: 1 / -1;
    display: none;
    padding: 0 0 var(--space-s) var(--space-s);
  }

  .site-nav__expand[aria-expanded='true'] + .site-nav__submenu {
    display: block;
  }

  .site-search {
    margin-top: var(--space-m);
  }
}

/* Desktop navigation */
@media (min-width: 62rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-m);
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-m);
  }

  .site-nav__item {
    position: relative;
    display: flex;
    align-items: center;
  }

  .site-nav__link {
    font-size: var(--step--1);
    font-weight: 500;
    padding-block: var(--space-s);
    box-shadow: inset 0 -2px 0 transparent;
  }

  .site-nav__link:hover,
  .site-nav__link[aria-current] {
    box-shadow: inset 0 -2px 0 var(--sage);
  }

  .site-nav__expand {
    padding: var(--space-2xs);
    margin-left: var(--space-2xs);
  }

  .site-nav__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--space-s));
    min-width: 16rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: var(--space-xs);
  }

  .site-nav__expand[aria-expanded='true'] + .site-nav__submenu,
  .site-nav__item:hover > .site-nav__submenu {
    display: block;
  }

  .site-nav__submenu a {
    padding: var(--space-xs) var(--space-s);
    border-radius: calc(var(--radius) - 0.25rem);
    font-size: var(--step--1);
  }

  .site-nav__submenu a:hover {
    background: var(--sage-light);
  }

  .site-search {
    width: 12rem;
  }
}

/* Breadcrumb */
.breadcrumb {
  font-size: var(--step--1);
  padding-top: var(--space-m);
}

.breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-xs);
  margin-bottom: 0;
  color: var(--muted);
}

.breadcrumb__list li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-xs);
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
}

/* 5. Page header & hero -------------------------------------------------- */
.kicker {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: var(--space-xs);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 40rem;
}

.hero {
  background:
    radial-gradient(60rem 30rem at 85% 10%, var(--sage-light), transparent 70%),
    var(--cream);
  padding-block: var(--space-xl);
}

.hero__inner {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}

@media (min-width: 62rem) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero__title {
  font-size: clamp(2.6rem, 1.8rem + 4vw, 5rem);
  letter-spacing: 0.02em;
}

.hero__lead {
  font-size: var(--step-2);
  font-family: var(--font-display);
  line-height: 1.35;
  color: var(--ink);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  margin-top: var(--space-m);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  box-shadow: var(--shadow);
}

.page-header {
  padding-block: var(--space-l) var(--space-l);
}

.page-header--with-image {
  padding-bottom: var(--space-xl);
}

.page-header__inner {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}

@media (min-width: 62rem) {
  .page-header--with-image .page-header__inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.page-header__title {
  max-width: 22em;
}

.page-header__subtitle {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--bark);
}

.page-header__meta {
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: var(--space-s);
}

.page-header__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-l);
}

.page-header__logo {
  width: 200px;
  margin-bottom: var(--space-m);
}

/* 6. Composants ---------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--forest);
  background: var(--forest);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  background: var(--moss);
  border-color: var(--moss);
  color: #fff;
}

.button--light {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
}

.button--light:hover {
  background: var(--sage-light);
  border-color: var(--sage-light);
  color: var(--forest);
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.link-arrow::after {
  content: ' →';
  transition: margin 0.15s ease;
}

.link-arrow:hover::after {
  margin-left: 0.25em;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover,
.card:focus-within {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card__media {
  margin: 0;
}

.card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card__body {
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__label {
  font-size: var(--step--1);
  color: var(--bark);
  margin-bottom: var(--space-2xs);
}

.card__title {
  font-size: var(--step-1);
  margin: 0 0 var(--space-xs);
}

.card__link {
  color: inherit;
  text-decoration: none;
}

/* The whole card is clickable, the link stays the only focusable element. */
.card__link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card__text {
  color: var(--muted);
  font-size: var(--step--1);
  margin: 0;
}

.card__meta {
  margin: auto 0 0;
  padding-top: var(--space-s);
  font-size: var(--step--1);
  color: var(--muted);
}

.panel {
  background: var(--cream);
  border-radius: var(--radius-l);
  padding: var(--space-m);
}

@media (min-width: 62rem) {
  .panel--sticky {
    position: sticky;
    top: calc(var(--header-height) + var(--space-m));
  }
}

.panel__title {
  font-size: var(--step-2);
  margin-top: 0;
}

.panel__text {
  color: var(--muted);
  font-size: var(--step--1);
}

.notice {
  background: var(--sage-light);
  border-left: 4px solid var(--moss);
  border-radius: var(--radius);
  padding: var(--space-s) var(--space-m);
  margin-top: var(--space-m);
}

.notice ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: 0;
  margin-bottom: var(--space-l);
}

.tag {
  display: inline-block;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: var(--step--1);
  text-decoration: none;
  color: var(--ink);
}

.tag[aria-current],
.tag:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.tags-block {
  margin-top: var(--space-l);
}

.authors {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  margin-bottom: var(--space-l);
}

.author {
  display: flex;
  align-items: center;
  gap: var(--space-s);
}

.author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.author__name {
  display: block;
  font-weight: 600;
}

.author__role {
  display: block;
  font-size: var(--step--1);
  color: var(--muted);
}

/* Forms */
.form__field {
  margin-bottom: var(--space-s);
}

.form label {
  display: block;
  font-weight: 600;
  font-size: var(--step--1);
  margin-bottom: var(--space-2xs);
}

.form input:not([type='checkbox'], [type='radio'], [type='submit']),
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #b9b3a7;
  border-radius: calc(var(--radius) - 0.25rem);
  padding: 0.65em 0.8em;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid var(--sage);
  outline-offset: 0;
  border-color: var(--moss);
}

.form .button {
  margin-top: var(--space-xs);
  width: 100%;
}

.form--narrow {
  max-width: 40rem;
}

.form__required,
.form__error {
  color: #a32a12;
}

.form__error {
  font-size: var(--step--1);
  margin: var(--space-2xs) 0 0;
}

.form__field--error input,
.form__field--error textarea,
.form__field--error select {
  border-color: #a32a12;
}

.form__help {
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: var(--space-2xs);
}

.form ul {
  list-style: none;
  padding: 0;
}

/* 7. Blocs de contenu ----------------------------------------------------- */
.rich-text > :last-child {
  margin-bottom: 0;
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.25em;
}

.rich-text li {
  margin-bottom: var(--space-2xs);
}

.streamfield > * + * {
  margin-top: var(--space-m);
}

.figure img {
  border-radius: var(--radius);
}

.figure figcaption,
.table figcaption {
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: var(--space-xs);
}

.figure__credit {
  font-style: italic;
}

.figure-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: center;
  align-items: flex-start;
}

.figure-row .figure {
  flex: 1 1 12rem;
  margin: 0;
}

.figure-row img {
  max-height: 400px;
  width: auto;
  margin-inline: auto;
}

.quote,
.testimonial {
  margin-inline: 0;
  padding: var(--space-m) var(--space-l);
  border-left: 4px solid var(--sage);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote blockquote,
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--forest);
}

.quote figcaption,
.testimonial figcaption {
  margin-top: var(--space-s);
  font-size: var(--step--1);
  color: var(--muted);
}

.testimonial__author {
  font-weight: 600;
  color: var(--ink);
}

.takeaways {
  background: var(--sage-light);
  border-radius: var(--radius-l);
  padding: var(--space-m) var(--space-l);
}

.takeaways__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--forest);
  margin-bottom: var(--space-xs);
}

.figures__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: var(--space-s);
  margin: 0;
}

.figures__item {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius);
  padding: var(--space-m);
}

.figures__value {
  order: -1;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.1;
  color: var(--forest);
}

.figures__label {
  margin-top: var(--space-2xs);
}

.figures__source {
  margin: var(--space-2xs) 0 0;
  font-size: var(--step--1);
  color: var(--muted);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-s);
  padding-block: var(--space-s);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: var(--step-2);
  line-height: 1;
  color: var(--moss);
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__question {
  font-size: var(--step-1);
  margin: 0;
}

.faq__answer {
  padding-bottom: var(--space-m);
}

.steps__list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  display: grid;
  gap: var(--space-s);
}

.steps__item {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
}

.steps__item::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
}

.steps__title {
  font-size: var(--step-1);
  margin: 0.35rem 0 var(--space-2xs);
}

.cta {
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius-l);
  padding: var(--space-l);
}

.cta__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.logos__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-m) var(--space-l);
}

.logos__list img {
  max-height: 64px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logos__list a:hover img {
  filter: none;
  opacity: 1;
}

.table__scroll {
  overflow-x: auto;
}

.table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

.table th,
.table td {
  text-align: left;
  vertical-align: top;
  padding: var(--space-xs) var(--space-s);
  border-bottom: 1px solid var(--line);
}

.table thead th {
  background: var(--cream);
  color: var(--forest);
}

.team {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-m);
}

.person__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: var(--space-s);
}

.person__name {
  font-size: var(--step-1);
  margin: 0;
}

.person__role {
  color: var(--bark);
  font-size: var(--step--1);
  margin-bottom: var(--space-xs);
}

.person__bio {
  font-size: var(--step--1);
  color: var(--muted);
}

.facts {
  margin: 0;
}

.facts > div {
  padding-block: var(--space-xs);
  border-bottom: 1px solid var(--line);
}

.facts > div:last-child {
  border-bottom: 0;
}

.facts dt {
  font-size: var(--step--1);
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 600;
}

.embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--radius);
}

.gallery__item {
  margin: 0;
}

.gallery__item img {
  border-radius: var(--radius);
}

.gallery__item figcaption {
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: var(--space-xs);
}

/* 8. Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--forest);
  color: #dfe9e2;
  font-size: var(--step--1);
}

.site-footer a {
  color: #fff;
}

.site-footer__grid {
  display: grid;
  gap: var(--space-l);
  padding-block: var(--space-xl) var(--space-l);
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer__logo {
  width: 120px;
  box-sizing: content-box;
  background: var(--paper);
  padding: var(--space-xs) var(--space-s);
  border-radius: var(--radius);
  margin-bottom: var(--space-m);
}

.site-footer__tagline {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: #fff;
  margin-bottom: var(--space-xs);
}

.site-footer__description {
  max-width: 34rem;
}

.site-footer__title {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-xs);
}

.site-footer__legal {
  border-top: 1px solid rgb(255 255 255 / 15%);
  padding-block: var(--space-m);
}

.site-footer__text p {
  margin: 0;
}

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

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .breadcrumb,
  .panel form {
    display: none;
  }
}

.container + .section {
  margin-top: var(--space-xl);
}

main > .section:last-child {
  margin-bottom: calc(-1 * var(--space-xl));
}
