@font-face {
  font-family: Body;
  src: url('./body.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: Display;
  src: url('./display.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}

:root { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1.13rem/1.56 Body, sans-serif; color: var(--ink); background: var(--paper); }
.theme-floral { --paper: #f2ecdf; --ink: #302521; --accent: #8b3029; --muted: #665651; --line: #baab99; --soft: #e7dece; }
.theme-cercle { --paper: #fbf2e6; --ink: #25202c; --accent: #8d2143; --muted: #645365; --line: #c8aab1; --soft: #f2e0dc; }
.theme-madagascar { --paper: #f8f0dd; --ink: #223d33; --accent: #26634b; --muted: #495d49; --line: #a8ae92; --soft: #e6e7c9; }
.theme-vietnam { --paper: #f3eee1; --ink: #262635; --accent: #6b2633; --muted: #655862; --line: #b8aa9f; --soft: #e9decd; }
::selection { color: var(--paper); background: var(--accent); }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: .075em; }
a:hover { text-decoration-thickness: .135em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Display, Georgia, serif; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(3.25rem, 6.3vw, 6rem); line-height: .97; letter-spacing: -.022em; }
h2 { font-size: clamp(2.05rem, 3.1vw, 3.55rem); line-height: 1; letter-spacing: -.012em; }
h3 { font-size: clamp(1.6rem, 2.2vw, 2.25rem); line-height: 1.08; }
h3 a, .stories h2 a { color: inherit; }
p { max-inline-size: 68ch; }
ul { margin: 0; }
img { display: block; width: 100%; height: auto; }
.skip { position: fixed; z-index: 2; top: .75rem; left: 1rem; padding: .45rem .8rem; transform: translateY(-180%); color: var(--paper); background: var(--accent); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 78rem); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.masthead { min-height: 5rem; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: .7rem 1.75rem; padding-block: 1.1rem; }
.brand { justify-self: start; display: flex; align-items: center; gap: .65rem; color: var(--ink); font-size: 1rem; font-weight: 750; line-height: 1.1; text-decoration: none; }
.brand:hover { text-decoration: underline; }
.mark { flex: 0 0 2rem; width: 2rem; height: 2rem; object-fit: contain; }
.mark.generated { background: url('./favicon.png') center / contain no-repeat; }
#primary ul, .foot ul, .actions, .stories { padding: 0; list-style: none; }
#primary ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1.2rem; }
#primary a { display: inline-block; color: var(--ink); font-size: .99rem; line-height: 1.25; text-decoration: none; }
#primary a:hover, #primary a[aria-current] { color: var(--accent); text-decoration: underline; }
.language { justify-self: end; font-size: .95rem; font-weight: 700; padding: .35rem .6rem; border: 1px solid var(--line); text-decoration: none; }
.language:hover { background: var(--soft); }
.menu { display: none; }
.hero { padding-block: clamp(3rem, 6.8vw, 6rem) clamp(2.75rem, 5.5vw, 5.5rem); display: grid; align-items: center; gap: clamp(2rem, 5.5vw, 6rem); }
.hero-text .hero-copy { max-width: 63rem; }
.hero-media { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.hero .intro { margin-top: 1.35rem; color: var(--muted); font-size: clamp(1.16rem, 1.9vw, 1.4rem); max-width: 46ch; }
.hero img { aspect-ratio: 5 / 4; object-fit: cover; background: var(--soft); }
.hero figure { min-width: 0; }
figcaption { color: var(--muted); font-size: .86rem; line-height: 1.33; margin-top: .55rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }
.actions a { display: inline-flex; min-height: 2.8rem; align-items: center; background: var(--accent); color: var(--paper); padding: .6rem .95rem; font-weight: 680; font-size: 1rem; text-decoration: none; border: 1px solid var(--accent); }
.actions li + li a { background: transparent; color: var(--accent); }
.actions a:hover { text-decoration: underline; }
.content { padding-bottom: clamp(3rem, 6vw, 6rem); }
.section { border-top: 1px solid var(--line); padding-block: clamp(1.9rem, 4vw, 3.3rem); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 1.1rem clamp(1.75rem, 5.6vw, 6rem); }
.section-body { min-width: 0; }
.section > .section-body:only-child { grid-column: 2; }
.section-body > * + * { margin-top: .9rem; }
.text-links { padding-inline-start: 1.1rem; }
.text-links li + li { margin-top: .3rem; }
.stories > li { border-top: 1px solid var(--line); display: grid; gap: 1.2rem; padding-block: 1.1rem; align-items: start; }
.stories > li:first-child { border-top: 0; padding-top: 0; }
.section-body > :not(.stories) + .stories { margin-top: 1.8rem; }
.stories > li.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.stories figure img { aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.stories p { margin-top: .37rem; }
.date { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .9rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.sources { border-top: 1px solid var(--line); padding: 1rem 0 0; }
.sources summary { cursor: pointer; width: max-content; color: var(--accent); font-weight: 650; }
.sources ul { margin-top: .6rem; }
footer { background: var(--soft); border-top: 1px solid var(--line); }
.foot { padding-block: 2.15rem 2.5rem; display: flex; justify-content: space-between; gap: 1.5rem 3rem; align-items: flex-start; }
.foot-name { font-family: Display, Georgia, serif; font-size: 1.65rem; line-height: 1.05; margin-bottom: .3rem; }
.foot p + p, .foot nav { font-size: .96rem; }
.foot ul { display: flex; flex-wrap: wrap; justify-content: end; gap: .45rem 1rem; }

.theme-floral .hero img { aspect-ratio: 4 / 5; max-height: 34rem; }
.theme-floral.home .hero-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.theme-floral.home .hero img { aspect-ratio: 605 / 398; object-fit: contain; }
.theme-floral .hero figure { padding: .75rem; border: 1px solid var(--line); }
.theme-cercle h1 { font-size: clamp(3.5rem, 7.2vw, 6rem); text-transform: uppercase; line-height: .87; }
.theme-cercle .hero img { aspect-ratio: 1.4; object-position: 50% 38%; }
.theme-cercle.home .hero { border-top: .42rem solid var(--accent); margin-top: 1rem; }
.theme-madagascar .hero img { border-radius: 1rem; }
.theme-madagascar.home .hero-media { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.theme-madagascar .actions a, .theme-madagascar .language { border-radius: .35rem; }
.theme-vietnam .hero img { aspect-ratio: 5 / 4; }
.theme-vietnam.home .hero-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.theme-vietnam.home .hero figure { transform: translateY(.6rem); border-bottom: 1px solid var(--line); padding-bottom: .55rem; }
.theme-vietnam.home h1 { color: var(--accent); }

@media (max-width: 62rem) {
  .masthead { grid-template-columns: minmax(0, 1fr) auto auto; }
  #primary { grid-row: 2; grid-column: 1 / -1; }
  #primary ul { justify-content: start; padding-top: .4rem; }
  .interactive .menu { display: inline-flex; grid-column: 2; gap: .5rem; align-items: center; min-height: 2.5rem; background: transparent; color: var(--ink); font: 680 .95rem Body, sans-serif; padding: .25rem .55rem; border: 1px solid var(--line); cursor: pointer; }
  .menu-lines { width: 1rem; height: .63rem; border-block: 1px solid currentColor; }
  .interactive .menu[aria-expanded="false"] + #primary { display: none; }
  .language { grid-column: 3; grid-row: 1; }
}

@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { column-gap: .45rem; padding-block: .7rem; min-height: 4rem; }
  .brand { font-size: .91rem; gap: .4rem; }
  .language { padding-inline: .45rem; }
  .hero.hero-media { grid-template-columns: minmax(0, 1fr); }
  .theme-floral.home .hero.hero-media, .theme-madagascar.home .hero.hero-media, .theme-vietnam.home .hero.hero-media { grid-template-columns: minmax(0, 1fr); }
  .theme-floral .hero img { aspect-ratio: 4 / 3; }
  .hero img { max-height: 26rem; }
  .section { grid-template-columns: minmax(0, 1fr); }
  .section > .section-body:only-child { grid-column: auto; }
  .foot { flex-direction: column; }
  .foot ul { justify-content: start; }
}

@media (max-width: 26rem) {
  h1 { font-size: clamp(2.6rem, 11.5vw, 3.2rem); }
  .theme-cercle h1 { font-size: clamp(2.9rem, 14vw, 3.5rem); }
  .stories > li.has-image { grid-template-columns: minmax(0, 1fr); }
}
