/* Colours from the 2026 poster: cream paper, red, deep red, green, gold. */
:root {
  --bg: #f6ecd2;
  --surface: #fffaf0;
  --border: #e2d3ad;
  --text: #2a1a14;
  --muted: #5c4a40;
  --accent: #b3121b;       /* links, headings on cream */
  --accent-hover: #7a0e12;
  --green: #1d6b37;
  --hero: #7a0e12;         /* hero, header and footer stay dark red in both modes */
  --hero-text: #fbf3e0;
  --gold: #f4c430;
  color-scheme: light;
}

/* Light for everyone; the header checkbox switches to dark (CSS only, not remembered between pages). */
:root:has(#theme:checked) {
    color-scheme: dark;
    --bg: #1b1412;
    --surface: #2a1f1c;
    --border: #44332e;
    --text: #f3e9d6;
    --muted: #c9b8a6;
    --accent: #ff8f85;
    --accent-hover: #ffc2bc;
    --green: #7fd39a;
    --hero: #5c0a0e;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: .15em; }
a:hover { color: var(--accent-hover); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; hyphens: auto; }
h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.3rem); text-transform: uppercase; color: var(--accent); letter-spacing: .01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }

.skip {
  position: absolute; left: 8px; top: -100px;
  background: var(--gold); color: #2a1a14; padding: .5em 1em; z-index: 10; font-weight: 700;
}
.skip:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--hero); color: var(--hero-text); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; padding-block: .6rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  color: inherit; text-decoration: none; font-weight: 800; letter-spacing: .04em;
}
.brand img { width: 44px; }
.brand:hover { color: var(--gold); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.site-nav a {
  display: inline-block; padding: .45em 0; min-height: 44px; line-height: 1.6;
  color: var(--hero-text); text-decoration: none; font-weight: 600;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.theme-toggle {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  font-weight: 600; cursor: pointer;
}
.theme-toggle input { width: 1.15em; height: 1.15em; margin: 0; accent-color: var(--gold); cursor: pointer; }
.theme-toggle:hover { color: var(--gold); }
.theme-toggle input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero { background: var(--hero); color: var(--hero-text); padding-block: 2.5rem 3.5rem; border-top: 1px solid rgb(255 255 255 / .12); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.hero-logo { width: clamp(120px, 28vw, 230px); flex: none; }
.hero-text { flex: 1 1 18rem; min-width: 0; }
.hero h1 { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 3.4rem); text-transform: uppercase; margin-bottom: .3em; }
.hero .tagline { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); color: var(--gold); font-weight: 700; margin-bottom: 1.4em; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-block; padding: .7em clamp(.6em, 3vw, 1.3em); min-height: 44px; border-radius: 6px;
  font-weight: 700; text-decoration: none; text-align: center;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
:where(:root:has(#theme:checked)) .btn,
:where(:root:has(#theme:checked)) .btn:hover { color: #1b1412; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero .btn { background: var(--gold); border-color: var(--gold); color: #2a1a14; }
.hero .btn:hover { background: #fff; border-color: #fff; color: #2a1a14; }
.hero .btn-outline { background: transparent; border-color: var(--hero-text); color: var(--hero-text); }
.hero .btn-outline:hover { background: var(--hero-text); border-color: var(--hero-text); color: var(--hero); }

/* ---------- Sections ---------- */
main section { padding-block: 3rem; }
main section + section { border-top: 1px solid var(--border); }
.page-head { padding-block: 2.5rem 1rem; }
.page-head + section { padding-top: 1rem; }
.page-head h1 { font-size: clamp(1.9rem, 1.3rem + 3vw, 3rem); text-transform: uppercase; color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

.banner { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 1.25rem; }

.split { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.split > * { flex: 1 1 20rem; min-width: 0; }
.split > .cover { flex: 0 1 200px; }
.cover img { border: 1px solid var(--border); box-shadow: 0 4px 14px rgb(0 0 0 / .18); }

.points { padding-left: 1.2em; margin: 0 0 1.5em; }
.points li { margin-bottom: .5em; font-weight: 600; }
.points li::marker { color: var(--accent); }
.slogan { font-weight: 800; text-transform: uppercase; color: var(--green); font-size: 1.1rem; }

.poster { border-radius: 6px; box-shadow: 0 4px 18px rgb(0 0 0 / .2); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: clamp(.9rem, 4vw, 1.5rem); display: flex; flex-direction: column;
}
.card h3 { color: var(--accent); }
.card p { color: var(--muted); }
.card .actions { margin-top: auto; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { margin-bottom: .6em; }
.contact-list strong { display: block; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

.editions { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; max-width: 34rem; }
.editions a {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem;
  padding: .8rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  text-decoration: none; font-weight: 600;
}
.editions a:hover { border-color: var(--accent); }
.editions .num { color: var(--muted); font-weight: 400; }

.prose { max-width: 46rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--hero); color: var(--hero-text); padding-block: 2rem; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.site-footer img { width: 56px; }
.site-footer p { margin: 0 0 .3em; }
.site-footer a { color: var(--hero-text); }
.site-footer a:hover { color: var(--gold); }
.site-footer .agent { opacity: .85; }
