@font-face {
  font-family: Nunito;
  src: url("assets/nunito.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 850;
  font-display: swap;
}

@font-face {
  font-family: Merriweather;
  src: url("assets/merriweather.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f7f6f1;
  --ivory: #f2f0e8;
  --sand: #e6ddcd;
  --sage: #e7ebe3;
  --sage-mid: #c7d0c1;
  --forest: #303d34;
  --forest-soft: #465348;
  --ink: #242923;
  --muted: #464b46;
  --line: #c5c9c3;
  --copper: #8a5c46;
  --body-font: Nunito, system-ui, sans-serif;
  --heading-font: Merriweather, Georgia, serif;
  color: var(--ink);
  font: 400 100%/1.6 var(--body-font);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0; }
p + p { margin-top: 1rem; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.22;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 3.5vw, 3.375rem); letter-spacing: -.048em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 3rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -.03em; }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 5px;
}

.conference :focus-visible, .contact :focus-visible { outline-color: var(--ivory); }

.skip-link {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .75rem;
  transform: translateY(-150%);
  padding: .65rem 1rem;
  background: var(--paper);
  color: var(--forest);
  font-weight: 800;
}

.skip-link:focus { transform: none; }

.container {
  width: min(calc(100% - 6rem), 76rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  min-height: 5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: none;
}

.wordmark img { width: 5.25rem; height: auto; }
.site-header .wordmark img { width: clamp(6.5rem, 10vw, 7.5rem); }

#navigation {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 2.2vw, 2rem);
}

#navigation a:not(.button), .site-footer nav a {
  font-size: .96rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

#navigation a:not(.button) { padding-block: .75rem; }
#navigation a:not(.button):hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
#navigation a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}

.menu-toggle {
  border: 0;
  background: none;
  color: var(--forest);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .65rem 1.2rem;
  border: 1px solid var(--forest);
  border-radius: .3rem;
  background: var(--forest);
  color: #fff;
  font-size: .97rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms, color 150ms;
}

.button:hover { background: var(--forest-soft); }
.button-small { min-height: 2.75rem; padding-inline: 1rem; }
.button-outline { color: var(--forest); background: transparent; }
.button-outline:hover { background: var(--forest); color: #fff; }
.button-paper { color: var(--forest); background: var(--paper); border-color: var(--paper); }
.button-paper:hover { background: var(--sage-mid); border-color: var(--sage-mid); }
.button span, .text-link span { flex: none; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  width: fit-content;
  gap: .6rem;
  font-weight: 800;
  text-decoration-thickness: .055em;
  text-underline-offset: .27em;
}

.text-link:hover { text-decoration-thickness: .105em; }

main [id], #accueil { scroll-margin-top: 6rem; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--sage);
}

.hero::before, .conference::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/lignes-vert.svg") no-repeat 93% 56% / auto 154%;
  opacity: .23;
  pointer-events: none;
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 4.2vw, 4.5rem);
}

.hero h1 { font-size: clamp(2.7rem, 5.4vw, 5rem); text-wrap: pretty; }
.hero-copy > p {
  max-width: 33rem;
  margin-block: .85rem 1.4rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.19rem);
}

.hero-copy > .hero-role {
  margin-block: .45rem 0;
  color: var(--forest);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
}

.hero-photo { padding-right: .6rem; }

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.26;
  object-fit: cover;
  object-position: 55% 47%;
  border-radius: .45rem 4.5rem .45rem .45rem;
  background: var(--sage-mid);
  box-shadow: .48rem .48rem 0 -.07rem var(--sage), .48rem .48rem var(--forest-soft);
}

.hero-photo figcaption { margin-top: 1.15rem; }

.section { padding-block: clamp(3.7rem, 7vw, 7.25rem); }

.split, .conference-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.8rem);
  align-items: center;
}

.section-copy > p, .section-copy > .text-link, .section-copy > .button { margin-top: 1.15rem; }
.section-copy > p { max-width: 34rem; font-size: 1.075rem; }

.movement-photo img, .conference-photo img, .corporate-photo img, .about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: .45rem;
}

.movement-photo img {
  aspect-ratio: 1.48;
  background: var(--sage);
}

figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .86rem;
}

.conference {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.7rem, 7vw, 6.5rem);
  color: var(--paper);
  background: var(--forest);
  overflow: hidden;
}

.conference::before {
  background-image: url("assets/lignes-sauge.svg");
  background-position: 100% 43%;
  opacity: .19;
}

.conference-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); }

.conference h3 {
  margin-top: .85rem;
  color: var(--sage-mid);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
}

.conference .actions { margin-top: 1.5rem; }
.conference .tour-note { color: var(--sage-mid); font-weight: 750; }
.conference-photo img { aspect-ratio: 1.48; background: var(--forest-soft); }

.library { background: var(--ivory); }
.library h2 { margin-bottom: 2rem; }

.books {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.1rem);
}

.book { display: flex; flex-direction: column; }

.book-cover {
  display: grid;
  place-items: center;
  height: clamp(15rem, 24vw, 21rem);
  border-radius: .4rem;
  padding: clamp(1rem, 3vw, 1.8rem);
}

.cover-sand { background: var(--sand); }
.cover-sage { background: var(--sage-mid); }
.cover-stone { background: #ded9ce; }
.book-cover img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.book-copy { display: flex; flex: 1; flex-direction: column; padding: 1.2rem .25rem 0; }
.book-copy p { margin: .65rem 0 1.1rem; }
.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .85rem;
  margin-top: auto;
}
.book-actions .text-link { font-size: .94rem; }

.academy { padding-bottom: 0; }

.academy-panel {
  padding: clamp(1.65rem, 4vw, 3rem);
  border-radius: .45rem;
  background: var(--sage);
}

.academy-panel p { max-width: 47rem; margin-top: .85rem; }
.academy-panel .button { margin-top: 1rem; }
.academy-panel .note { font-size: .88rem; color: var(--muted); }

.corporate-photo img { aspect-ratio: 1.48; background: var(--sage); }

.about-photo img { aspect-ratio: 1.12; object-fit: contain; background: var(--sage); }
.home .about-photo img {
  max-width: 29rem;
  margin-inline: auto;
  aspect-ratio: 1.25;
  object-fit: cover;
}
.about { padding-top: 0; }

.values { margin-top: clamp(2.2rem, 5.5vw, 4.5rem); }
.values h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }

.values-grid, .related-grid {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}

.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.values-grid li {
  border-top: 2px solid var(--sage-mid);
  padding-top: 1.2rem;
}

.values-grid h3, .values-grid h4 {
  margin: .65rem 0 .4rem;
  font: 400 1.35rem/1.25 var(--heading-font);
}

.related { background: var(--ivory); }
.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.brand-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: .5rem;
  overflow: hidden;
  background: var(--paper);
}

.brand-art {
  display: grid;
  place-items: center;
  height: clamp(9rem, 15vw, 12rem);
  padding: 1rem;
}

.brand-revolution .brand-art { background: #e7f2f6; }
.brand-revolution .brand-art img { width: min(100%, 12.5rem); height: auto; }
.brand-inspirer .brand-art { background: #1a1a19; }
.brand-inspirer .brand-art img {
  width: auto;
  height: 100%;
  max-height: 10.5rem;
  border-radius: .3rem;
  border: 1px solid #504942;
}

.brand-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.35rem, 3vw, 2.3rem);
}

.brand-copy h2 { font-size: clamp(1.55rem, 2.55vw, 2.25rem); }
.brand-copy p { margin: .85rem 0 1.2rem; }
.episode-links {
  display: grid;
  gap: .45rem;
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
}
.episode-links a { font-weight: 750; text-underline-offset: .2em; }
.brand-copy .button { margin-top: auto; }
.brand-revolution .button { background: #30576b; border-color: #30576b; }
.brand-revolution .button:hover { background: #214456; border-color: #214456; }
.brand-inspirer .button { background: #262525; border-color: #262525; }
.brand-inspirer .button:hover { background: #41403e; border-color: #41403e; }

.contact {
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
  background: var(--forest);
  color: var(--paper);
}

.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.contact p { margin-top: .65rem; }

.site-footer { padding-block: 2.5rem 1.4rem; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 1.5rem 2rem;
}

.site-footer p { max-width: 21rem; margin-top: .55rem; color: var(--muted); }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: .7rem 1.25rem; }
.site-footer small { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); }

.detail-hero { padding-block: clamp(3rem, 6vw, 6rem); }
.detail-sage { background: var(--sage); }
.detail-sand { background: var(--sand); }
.detail-ivory { background: var(--ivory); }

.detail-subtitle {
  margin-top: 1rem;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

.detail-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.38;
  object-fit: cover;
  object-position: center 43%;
  border-radius: .45rem 3.5rem .45rem .45rem;
}

.detail-content h2 { max-width: 54rem; }

.detail-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-topics li {
  border-top: 2px solid var(--sage-mid);
  padding-top: 1.2rem;
}

.detail-topics p { margin-top: .65rem; }
.detail-page .site-footer .wordmark { justify-self: start; align-self: start; }
.detail-page .site-footer { border-top: 1px solid var(--line); }

.contact-hero {
  background-image: url("assets/lignes-vert.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-hero .section-copy > p { margin-top: 1.15rem; }
.contact-portrait { max-width: 24rem; margin-top: 1.75rem; }

.contact-form {
  overflow: hidden;
  border-radius: .45rem;
  background: var(--paper);
  color: var(--ink);
}

.contact-form iframe {
  display: block;
  width: 100%;
  border: 0;
}

.contact-form .text-link {
  margin: 0 1rem .6rem;
  font-size: .875rem;
  font-weight: 700;
}

.contact-form :focus-visible { outline-color: var(--copper); }

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(2rem, 4.5vw, 4rem);
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--ivory);
}

.contact-option h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.contact-option p { max-width: 29rem; }
.contact-option .button { margin-top: auto; }

.subpage { min-height: 100dvh; display: flex; flex-direction: column; }
.subpage main { flex: 1; }
.subpage .header-inner { justify-content: space-between; }
.subpage-content { max-width: 44rem; }
.subpage-content h1 { margin-bottom: 1rem; }
.resource-list { display: grid; padding: 0; margin: 1.2rem 0 1.75rem; list-style: none; }
.resource-list li { border-bottom: 1px solid var(--line); }
.resource-list .text-link { display: flex; width: 100%; justify-content: space-between; padding-block: .55rem; }
.subpage .site-footer { border-top: 1px solid var(--line); }

@media (max-width: 59rem) {
  .container { width: min(calc(100% - 3rem), 76rem); }
  .header-inner { gap: 1.25rem; min-height: 4.4rem; flex-wrap: wrap; }
  #navigation { gap: .8rem 1.05rem; flex-wrap: wrap; }
  #navigation a:not(.button) { font-size: .88rem; }
}

@media (max-width: 58rem) {
  .site-header { position: relative; }
  .header-inner { gap: 0; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.75rem;
    padding: .45rem 0 .45rem .6rem;
    font: 800 .92rem/1 var(--body-font);
    cursor: pointer;
  }
  .menu-icon { display: inline-block; width: 1.2rem; height: .75rem; border-block: 2px solid currentColor; position: relative; }
  .menu-icon::before { position: absolute; inset: calc(50% - 1px) 0 auto; border-top: 2px solid currentColor; content: ""; }
  #navigation { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .35rem 0 1rem; }
  #navigation a:not(.button) { padding: .65rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
  #navigation .button { align-self: start; margin-top: .5rem; }
  main [id], #accueil { scroll-margin-top: 1rem; }
}

@media (max-width: 50rem) {
  .container { width: min(calc(100% - 2.5rem), 39rem); }
  .hero-grid, .split, .conference-grid, .values-grid, .related-grid, .detail-topics, .contact-options { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 1.35rem; padding-block: 1.7rem 2.2rem; }
  .hero::before {
    inset: auto 0 0;
    height: 47%;
    background-position: center bottom;
    background-size: auto 108%;
    opacity: .14;
  }
  .hero-photo img { aspect-ratio: 1.58; border-top-right-radius: 3rem; }
  .hero-copy > p { margin-block: .7rem 1rem; }
  .hero-copy > .hero-role { margin-block: .35rem 0; }
  .hero-photo figcaption { margin-top: .85rem; }
  .movement .section-copy, .about .section-copy { grid-row: 1; }
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .book-cover { height: 14rem; }
  .section { padding-block: 3.25rem; }
  .home .section, .home .conference { padding-block: 2.65rem; }
  .home .academy { padding-bottom: 0; }
  .home .about { padding-top: 0; }
  .academy { padding-bottom: 0; }
  .about { padding-top: 0; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .contact-hero .split { gap: 1.5rem; }
  .contact-portrait { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 33rem) {
  .books { grid-template-columns: minmax(0, 1fr); gap: 1.9rem; }
  .book-cover { height: clamp(12.5rem, 55vw, 17rem); }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
