/* The shared stylesheet — one file, no framework, no build step, no external
   fonts, no JS. Referenced by every page as /assets/style.css.

   Colours are tokens ONLY. The :root block below is the neutral fallback so
   this file works on its own; build.py appends the domain's own palette from
   config theme + site.json as a later :root override, which is how a site
   gets an identity without a second stylesheet or a per-page style attribute.
   Never hardcode a colour anywhere else in this file.

   Design notes: this is a reading site for people who arrived from a search
   result with one question. So the measure is narrow, the type is large, and
   photographs are allowed to break out of the measure because on a travel site
   they carry as much of the answer as the prose does. */

:root {
  --ink:        #16181c;
  --ink-soft:   #4a4e57;
  --ink-faint:  #626770;
  --bg:         #fffefb;
  --bg-soft:    #f5f3ee;
  --bg-sink:    #ece8e0;
  --rule:       #e3ded4;
  --rule-soft:  #efebe3;
  --accent:     #1f5f4b;
  --accent-ink: #144536;
  --accent-bg:  #e8f2ee;
  --warn-bg:    #fdf4e7;
  --warn-rule:  #e3b877;

  --measure: 40rem;   /* reading column  */
  --wide:    68rem;   /* header/footer   */
  --bleed:   50rem;   /* figures + tables break out to here */

  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: 1.4375rem;
  --step-3: 1.875rem;
  --step-4: 2.375rem;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9e7e2; --ink-soft: #b3b0a8; --ink-faint: #96938b;
    --bg: #16171a; --bg-soft: #1e2024; --bg-sink: #26282d;
    --rule: #33363c; --rule-soft: #2a2d32;
    --accent: #7fc3ab; --accent-ink: #a8dcc7; --accent-bg: #1c2f2a;
    --warn-bg: #2c2519; --warn-rule: #7a5f34;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: var(--step-0)/1.7 var(--serif);
  text-rendering: optimizeLegibility;
}

.wrap      { max-width: var(--measure); margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide { max-width: var(--wide);    margin: 0 auto; padding: 0 1.5rem; }

a { color: var(--accent); text-underline-offset: .16em;
    text-decoration-thickness: .06em; }
a:hover { color: var(--accent-ink); }

/* ------------------------------------------------------------------ header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(1.4) blur(6px);
}
.site-header .wrap-wide {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .35rem 2rem; padding-top: .85rem; padding-bottom: .85rem;
}
/* Standing notice band, rendered only when strings.site_notice is set.
   Uses the warn tokens, which V38 already contrast-checks, so a domain
   cannot ship a disclaimer nobody can read. Not sticky: it must not eat
   viewport on a phone, but it sits above the content on every page. */
.site-notice {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-rule);
  font-family: var(--sans);
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--ink);
}
.site-notice .wrap-wide { padding-top: .6rem; padding-bottom: .6rem; }
.site-notice a { color: var(--accent-ink); text-decoration: underline; }
.site-notice strong { font-weight: 650; }

.brand {
  font-family: var(--sans); font-weight: 650; font-size: 1.0625rem;
  letter-spacing: -.015em; color: var(--ink); text-decoration: none;
}
.brand { display: inline-flex; align-items: center; gap: .5rem; }
.brand-mark {
  width: 1.35em; height: 1.35em; flex: 0 0 auto;
  display: block; border-radius: .3em;
}
.brand:hover { color: var(--accent); }
.nav { display: flex; gap: 1.35rem; flex-wrap: wrap; }
.nav a {
  font-family: var(--sans); font-size: .8125rem; font-weight: 500;
  letter-spacing: .01em; color: var(--ink-soft); text-decoration: none;
}
.nav a:hover { color: var(--accent); }

/* Mobile menu toggle. Checkbox + label, because the spec forbids JavaScript --
   so the open/closed state has to live somewhere the browser tracks for us.
   Both are hidden above the breakpoint; the rules that show them are in the
   responsive block at the bottom of this file. */
.nav-toggle { position: absolute; opacity: 0; width: 0; height: 0; }
.nav-toggle-label { display: none; }

/* ------------------------------------------------------------------ crumbs */
.crumbs {
  font-family: var(--sans); font-size: .78125rem; color: var(--ink-faint);
  margin: 1.75rem 0 0; letter-spacing: .01em;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* ------------------------------------------------------------------ article */
article { padding-bottom: 3rem; }

h1 {
  font-size: var(--step-4); line-height: 1.12; letter-spacing: -.022em;
  font-weight: 700; margin: .6em 0 .3em; text-wrap: balance;
}
h2 {
  font-size: var(--step-2); line-height: 1.25; letter-spacing: -.014em;
  font-weight: 680; margin: 2.4em 0 .5em; text-wrap: balance;
}
h3 {
  font-family: var(--sans); font-size: var(--step-1); line-height: 1.3;
  letter-spacing: -.008em; font-weight: 620; margin: 1.9em 0 .45em;
  color: var(--ink);
}
h2 + h3 { margin-top: 1.2em; }

p { margin: 0 0 1.15em; }
article > p a, li a { font-weight: 500; }

.dek {
  font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft);
  margin: 0 0 1.5em; text-wrap: pretty;
}
.byline {
  font-family: var(--sans); font-size: .8125rem; color: var(--ink-faint);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: .7rem 0; margin: 0 0 2.2em;
}
.byline a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.byline a:hover { color: var(--accent); text-decoration: underline; }

strong { font-weight: 680; }

/* ------------------------------------------------------------------ figures
   Photographs break out past the reading measure. On a travel page the picture
   is part of the answer, not decoration, so it gets room. */
figure {
  margin: 2.2em auto; max-width: var(--bleed);
  width: 100%;
}
figure img, article > img, .hero img {
  display: block; width: 100%; height: auto;
  border-radius: 3px; background: var(--bg-soft);
}
figcaption {
  font-family: var(--sans); font-size: .8125rem; line-height: 1.5;
  color: var(--ink-faint); margin-top: .6rem; padding-left: .1rem;
  border-left: 2px solid var(--rule); padding-left: .7rem;
}
figure.wide { max-width: var(--wide); }
figure.inline { max-width: var(--measure); }

.hero { margin: 1.4rem auto 0; max-width: var(--bleed); }
.hero img { border-radius: 4px; }

.figure-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem;
  max-width: var(--bleed); margin: 2.2em auto;
}
.figure-grid figure { margin: 0; }
@media (max-width: 34rem) { .figure-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ lists */
ul, ol { margin: 0 0 1.3em; padding-left: 1.35em; }
li { margin-bottom: .5em; }
li::marker { color: var(--ink-faint); }

/* Scan block: the short bullet list that follows an H3 intro. */
.scan {
  background: var(--bg-soft); border: 1px solid var(--rule-soft);
  border-radius: 4px; padding: 1.1rem 1.3rem .9rem 2.4rem;
  margin: 1.5em 0; font-family: var(--sans); font-size: .9375rem;
  line-height: 1.6;
}
.scan li { margin-bottom: .55em; }

blockquote {
  margin: 1.9em 0; padding: 1rem 1.3rem;
  background: var(--warn-bg); border-left: 3px solid var(--warn-rule);
  border-radius: 0 4px 4px 0;
  font-family: var(--sans); font-size: .9375rem; line-height: 1.6;
  color: var(--ink-soft);
}
blockquote p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ tables */
.table-wrap {
  overflow-x: auto; margin: 2em auto; max-width: var(--bleed);
  border: 1px solid var(--rule); border-radius: 4px;
  -webkit-overflow-scrolling: touch;
}
table {
  border-collapse: collapse; width: 100%;
  font-family: var(--sans); font-size: .90625rem; line-height: 1.5;
}
thead th {
  background: var(--bg-sink); text-align: left; font-weight: 620;
  font-size: .8125rem; letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink-soft); padding: .7rem .95rem; white-space: nowrap;
}
td, tbody th { padding: .7rem .95rem; border-top: 1px solid var(--rule-soft);
               vertical-align: top; text-align: left; }
tbody tr:nth-child(even) { background: color-mix(in srgb, var(--bg-soft) 55%, transparent); }

/* ------------------------------------------------------------------ FAQ */
.faq { margin: 2.6em 0 0; }
.faq > h2 { margin-bottom: .6em; }
.faq details {
  border-top: 1px solid var(--rule-soft);
  padding: .1rem 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  font-family: var(--sans); font-weight: 580; font-size: .9875rem;
  cursor: pointer; list-style: none; padding: .85rem 2rem .85rem 0;
  position: relative; color: var(--ink);
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 1.25rem;
  width: .55rem; height: .55rem; border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint); transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.45rem; }
.faq details > p { margin: -.15em 0 1.1em; font-size: .96875rem;
                   color: var(--ink-soft); padding-right: 1rem; }

/* ------------------------------------------------------------------ related */
.related {
  margin: 3rem 0 0; padding: 1.6rem 0 0; border-top: 2px solid var(--rule);
}
.related h2 {
  font-family: var(--sans); font-size: .78125rem; font-weight: 640;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 1rem;
}
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin-bottom: .7em; line-height: 1.45; }
.related a { font-family: var(--sans); font-size: .96875rem; font-weight: 540;
             text-decoration: none; }
.related a:hover { text-decoration: underline; }
.related .gloss { color: var(--ink-faint); font-family: var(--sans);
                  font-size: .875rem; }

/* ------------------------------------------------------------------ pager */
.pager {
  display: flex; gap: 1rem; margin: 2.5rem 0 0;
  padding-top: 1.4rem; border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
}
.pager a {
  text-decoration: none; max-width: 47%; font-size: .9375rem;
  font-weight: 540; line-height: 1.4;
}
.pager .next { text-align: right; margin-left: auto; }
.pager .label {
  display: block; font-size: .75rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: .25rem;
  font-weight: 600;
}

/* ------------------------------------------------------------------ hubs */
.hub-intro { margin-bottom: 2.5rem; }
.spokes { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.spokes li {
  border-top: 1px solid var(--rule-soft); padding: 1rem 0;
}
.spokes li.has-thumb {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.1rem;
  align-items: start;
}
.spoke-thumb {
  width: 7.5rem; height: 5rem; object-fit: cover; display: block;
  border-radius: 4px; background: var(--bg-sink);
}
.spoke-text { min-width: 0; }
.spokes li:last-child { border-bottom: 1px solid var(--rule-soft); }
.spokes a {
  font-family: var(--sans); font-size: 1.03125rem; font-weight: 590;
  text-decoration: none; line-height: 1.35; display: inline-block;
}
.spokes a:hover { text-decoration: underline; }
.spokes .gloss {
  display: block; color: var(--ink-faint); font-family: var(--sans);
  font-size: .875rem; line-height: 1.5; margin-top: .2rem;
}

/* --------------------------------------------------- home + hub furniture
   The homepage and the hubs used to be a heading, three config sentences and
   a grid of identical link boxes. These blocks exist to break that: a lead
   row where the strongest page in each section gets a photograph and a
   sentence of its own, then the section grid, then the full list. Every
   image is one of ours, taken for the page it links to, so a section whose
   pages have no image gets a card with no image -- every rule below has to
   hold with and without .has-thumb. */

.home-intro > :first-child,
.hub-intro > :first-child { margin-top: 0; }
.home-intro, .hub-intro { max-width: var(--measure); }
.home-intro p, .hub-intro p { margin: 0 0 1em; }

.grid-heading, .list-heading {
  font-family: var(--sans); font-size: var(--step-1); font-weight: 640;
  letter-spacing: -.012em; margin: 3rem 0 1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--ink);
}

/* ---- lead row (homepage): one strongest page per section --------------- */
.lead-block { margin: 2.75rem 0 0; }
.lead-block > h2 {
  font-family: var(--sans); font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em; color: var(--accent);
  margin: 0 0 1rem; padding: 0; border: 0;
}
.lead-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.5rem 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.lead-card { display: flex; flex-direction: column; min-width: 0; }
/* The first card runs wider and sets its image taller, so the row reads as
   an edited page rather than n identical tiles. */
.lead-grid > .lead-card:first-child { grid-column: span 2; }
.lead-thumb {
  width: 100%; height: 11rem; object-fit: cover; display: block;
  border-radius: 4px; background: var(--bg-sink); margin-bottom: .85rem;
}
.lead-grid > .lead-card:first-child .lead-thumb { height: 15rem; }
.lead-text { min-width: 0; }
.kicker {
  display: inline-block; font-family: var(--sans); font-size: .75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-faint); text-decoration: none; margin-bottom: .3rem;
}
.kicker:hover { color: var(--accent); }
.lead-card h3 {
  font-family: var(--sans); font-size: var(--step-1); line-height: 1.28;
  font-weight: 650; letter-spacing: -.014em; margin: 0 0 .4rem;
}
.lead-grid > .lead-card:first-child h3 { font-size: var(--step-2); }
.lead-card h3 a { text-decoration: none; color: var(--ink); }
.lead-card h3 a:hover { color: var(--accent); text-decoration: underline; }
.lead-card p {
  font-family: var(--sans); font-size: .9375rem; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
}

/* ---- "start here" (hub): three picks above a long list ----------------- */
.featured { margin: 2.5rem 0 0; }
.featured > h2 {
  font-family: var(--sans); font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em; color: var(--accent);
  margin: 0 0 1rem; padding: 0; border: 0;
}
.feat-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.25rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
}
.feat-card {
  min-width: 0; border-left: 3px solid var(--accent-bg);
  padding-left: 1rem;
}
.feat-thumb {
  width: 100%; height: 8rem; object-fit: cover; display: block;
  border-radius: 4px; background: var(--bg-sink); margin-bottom: .7rem;
}
.feat-card h3 {
  font-family: var(--sans); font-size: 1.03125rem; line-height: 1.3;
  font-weight: 640; margin: 0 0 .35rem;
}
.feat-card h3 a { text-decoration: none; }
.feat-card h3 a:hover { text-decoration: underline; }
.feat-card p {
  font-family: var(--sans); font-size: .875rem; line-height: 1.5;
  color: var(--ink-soft); margin: 0;
}

/* ---- section grid ------------------------------------------------------ */
.silo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem; margin: 0; padding: 0; list-style: none;
}
.silo-card {
  border: 1px solid var(--rule); border-radius: 6px;
  background: var(--bg-soft); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-thumb {
  width: 100%; height: 9rem; object-fit: cover; display: block;
  background: var(--bg-sink);
}
.silo-card > h2 {
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 650;
  letter-spacing: -.01em; margin: 0; padding: 1.05rem 1.25rem 0;
  border: 0;
}
.silo-card > h2 a { text-decoration: none; }
.silo-card > h2 a:hover { text-decoration: underline; }
.silo-card .count {
  display: block; font-family: var(--sans); font-size: .78125rem;
  color: var(--ink-faint); padding: .2rem 1.25rem 0;
  text-transform: uppercase; letter-spacing: .05em;
}
.silo-card > ul {
  list-style: none; margin: .8rem 0 0; padding: 0 1.25rem 1.15rem;
  display: grid; gap: .45rem;
}
.silo-card > ul a {
  font-family: var(--sans); font-size: .90625rem; line-height: 1.4;
  font-weight: 520; text-decoration: none; color: var(--ink-soft);
}
.silo-card > ul a:hover { color: var(--accent); text-decoration: underline; }

.notice {
  background: var(--accent-bg); border: 1px solid var(--rule);
  border-radius: 4px; padding: .9rem 1.15rem; margin: 1.5em 0;
  font-family: var(--sans); font-size: .9375rem; color: var(--ink-soft);
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  border-top: 1px solid var(--rule); background: var(--bg-soft);
  margin-top: 4rem; padding: 2.2rem 0 2.6rem;
  font-family: var(--sans); font-size: .875rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: .8rem; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-meta { color: var(--ink-faint); font-size: .8125rem; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 46rem) {
  :root { --step-4: 1.9375rem; --step-3: 1.625rem; --step-2: 1.3125rem; }
  body { font-size: 1.0625rem; }
  .site-header { position: static; }
  figure, .table-wrap, .hero, .figure-grid { max-width: 100%; }

  /* The lead row's wide first card and the spoke thumbnails both need the
     full width back, or the text column ends up ~4rem wide. */
  .lead-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .lead-grid > .lead-card:first-child { grid-column: auto; }
  .lead-grid > .lead-card:first-child .lead-thumb { height: 12rem; }
  .lead-grid > .lead-card:first-child h3 { font-size: var(--step-1); }
  .feat-grid { grid-template-columns: 1fr; }
  .silo-grid { grid-template-columns: 1fr; }
  .spokes li.has-thumb { grid-template-columns: 5.5rem 1fr; gap: .85rem; }
  .spoke-thumb { width: 5.5rem; height: 4rem; }
  .grid-heading, .list-heading { margin-top: 2.25rem; }

  /* Header becomes: brand left, hamburger right, menu on its own row.
     Without this the nav wrapped to four cramped lines under the brand and
     ate most of the first screen. */
  .site-header .wrap-wide { flex-wrap: wrap; gap: 0; }
  .brand { flex: 1 1 auto; }

  .nav-toggle-label {
    display: block; flex: 0 0 auto; cursor: pointer;
    width: 2.75rem; height: 2.75rem;          /* 44px tap target */
    margin-right: -.6rem;                      /* optical alignment to edge */
    position: relative;
  }
  .nav-bars, .nav-bars::before, .nav-bars::after {
    position: absolute; left: .625rem; width: 1.5rem; height: 2px;
    background: var(--ink); border-radius: 2px; content: "";
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav-bars { top: 1.375rem; margin-top: -1px; }
  .nav-bars::before { top: -.4375rem; }
  .nav-bars::after  { top:  .4375rem; }

  /* Open state: middle bar out, outer two crossed. */
  .nav-toggle:checked + .nav-toggle-label .nav-bars { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label .nav-bars::before { transform: translateY(.4375rem) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label .nav-bars::after  { transform: translateY(-.4375rem) rotate(-45deg); }

  /* Keyboard users get a visible ring on the label, since the input itself
     is visually hidden. */
  .nav-toggle:focus-visible + .nav-toggle-label {
    outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
  }

  .nav {
    display: none; flex-basis: 100%; flex-direction: column; gap: 0;
    border-top: 1px solid var(--rule); margin-top: .8rem;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a {
    display: block; padding: .8rem .1rem; font-size: .9375rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav a:last-child { border-bottom: 0; }
}
@media print {
  .site-header, .nav-toggle-label, .pager, .related, .site-footer { display: none; }
  body { font-size: 11pt; }
  .faq details { display: block; }
}

/* ---------- domain theme (generated, do not edit) ---------- */
:root {
  --accent: #4c4c94;
  --accent-bg: #f0f0fa;
  --accent-ink: #323284;
  --bg: #ffffff;
  --bg-sink: #ddddef;
  --bg-soft: #f5f5fb;
  --ink: #1b1b2b;
  --ink-faint: #5a5a72;
  --ink-soft: #40405a;
  --rule: #c9c9df;
  --rule-soft: #e3e3f0;
  --warn-bg: #fbeeee;
  --warn-rule: #990000;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #a9a9ec;
    --accent-bg: #24243c;
    --accent-ink: #c8c8f6;
    --bg: #15151f;
    --bg-sink: #262638;
    --bg-soft: #1c1c2a;
    --ink: #ececf6;
    --ink-faint: #a6a6bf;
    --ink-soft: #c6c6da;
    --rule: #3a3a52;
    --rule-soft: #2c2c40;
    --warn-bg: #2e1a1a;
    --warn-rule: #e08a8a;
  }
}

/* ---------- domain skin: theme.css ---------- */
/* loisirs-beaujolais.fr skin — after the site's SarkaSPIP theme (Wayback,
   2023-2024): Helvetica/Verdana, a periwinkle menu bar (#6262a4, hover
   #323284), a lilac breadcrumb band (#ddddef), page titles in periwinkle
   with a 2px rule, boxed "noisette" asides with a coloured title bar, and
   dark red (#900) on hover. Colours come from the theme tokens in
   site.json so dark mode and the contrast check (V38) still apply. */

:root {
  --sans: Helvetica, "Helvetica Neue", Verdana, Arial, sans-serif;
  --serif: Helvetica, "Helvetica Neue", Verdana, Arial, sans-serif;
  --bar: #6262a4;
  --bar-hover: #323284;
  --band: #ddddef;
  --hover-red: #990000;
  --wide: 72rem;
  --measure: 44rem;
}
:root:not([data-theme="light"]) { color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root {
    --bar: #3d3d7a;
    --bar-hover: #26265c;
    --band: #23233d;
    --hover-red: #ff9a9a;
  }
}

body { font-family: var(--sans); }
h1, h2, h3, .dek, .faq summary, .brand, .nav a { font-family: var(--sans); }
a:hover { color: var(--hover-red); }

/* ---- header: white banner, then the periwinkle menu bar ---------------- */
.site-header {
  position: static;
  background: var(--bg);
  border-bottom: 0;
  backdrop-filter: none;
  border-top: 6px solid var(--bar-hover);
}
.site-header .wrap-wide { padding-top: 1.1rem; padding-bottom: 0; }
.brand {
  font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--accent-ink);
}
.brand::after {
  content: "fêtes · sorties · Beaujolais Nouveau";
  display: block; margin-top: .15rem;
  font-size: .75rem; font-weight: 400; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint);
}
.brand { display: block; }
.brand:hover { color: var(--bar); }

.nav {
  flex-basis: 100%;
  gap: 0;
  margin-top: 1rem;
  background: var(--bar);
  /* full-bleed bar behind the centred row, CSS only */
  box-shadow: 0 0 0 100vmax var(--bar);
  clip-path: inset(0 -100vmax);
}
.nav a {
  color: #fff; font-size: .875rem; font-weight: 700;
  padding: .7rem .95rem; border-right: 1px solid rgba(255,255,255,.35);
}
.nav a:first-child { padding-left: 0; }
.nav a:last-child { border-right: 0; }
.nav a:hover { color: #fff; background: var(--bar-hover); text-decoration: none; }

/* ---- breadcrumb band --------------------------------------------------- */
.crumbs {
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  margin: 0 0 1.6rem;
  padding: .45rem 0;
  font-size: .8125rem;
}
.crumbs a { color: var(--accent); }
.crumbs a:hover { color: var(--hover-red); }

/* ---- titles ------------------------------------------------------------ */
h1 {
  max-width: none;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: .3em;
  letter-spacing: -.015em;
}
article h2 { color: var(--accent-ink); font-weight: 700; }
article h2::before {
  content: ""; display: inline-block; width: .55em; height: .55em;
  margin-right: .45em; background: var(--bar); vertical-align: .08em;
}
.dek { color: var(--ink-soft); font-style: normal; }
.byline { color: var(--ink-faint); }

/* ---- tables: lilac header row ----------------------------------------- */
th { background: var(--accent-bg); color: var(--accent-ink); }
tbody tr:hover { background: var(--bg-soft); }

/* ---- boxed asides, like the old "noisettes" ---------------------------- */
.related, .faq {
  border: 1px solid var(--rule);
  background: var(--bg);
  padding: 0 1.1rem .6rem;
}
h2#faq {
  margin: 2.6em 0 0; padding: .45rem 1.1rem;
  background: var(--bar); color: #fff; font-size: 1rem; text-align: center;
}
h2#faq::before { display: none; }
.faq { margin-top: 0; border-top: 0; }
.related h2, .faq > h2 {
  margin: 0 -1.1rem .9rem;
  padding: .45rem 1.1rem;
  background: var(--bar);
  color: #fff;
  font-size: 1rem;
  text-align: center;
}
.related h2::before, .faq > h2::before { display: none; }
.faq details { border-top-color: var(--rule-soft); }

/* cards on the home page and hubs */
.silo-card, .lead-card, .feat-card {
  border: 1px solid var(--rule);
  background: var(--bg);
}
.silo-card > h2 {
  margin: 0; padding: .5rem .8rem;
  background: var(--bar); font-size: 1rem;
}
.silo-card > h2::before { display: none; }
.silo-card > h2 a { color: #fff; text-decoration: none; }
.silo-card > h2 a:hover { color: #fff; text-decoration: underline; }
.silo-card .count { display: block; padding: .35rem .8rem 0; }
.silo-card ul { padding: .3rem .8rem .8rem 1.8rem; }
.lead-card .kicker { color: var(--hover-red); }
.grid-heading, .list-heading { color: var(--accent-ink); }

.pager a { border: 1px solid var(--rule); }
.pager a:hover { background: var(--accent-bg); }

/* hero illustration and its caption */
.hero img, figure img { border: 1px solid var(--rule); border-radius: 0; }
figcaption { color: var(--ink-faint); font-size: .8125rem; }

/* ---- footer ------------------------------------------------------------ */
.site-footer {
  background: var(--bar-hover);
  color: #e8e8f6;
  border-top: 0;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffd6d6; }

/* ---- small screens: the bar becomes a stacked menu --------------------- */
@media (max-width: 46rem) {
  .brand { font-size: 1.4rem; }
  .site-header .wrap-wide { padding-bottom: .6rem; }
  .nav { margin-top: .6rem; border-top: 0; }
  .nav a { padding: .8rem .2rem; border-right: 0;
           border-bottom: 1px solid rgba(255,255,255,.3); }
  .nav a:first-child { padding-left: .2rem; }
  .nav-bars, .nav-bars::before, .nav-bars::after { background: var(--accent-ink); }
}

/* balanced wrapping split "2026 / : date" awkwardly on long French titles */
h1 { text-wrap: pretty; }
.hero { margin-bottom: 1.8rem; }
.hero figcaption { margin-top: .5rem; }
