/* The site's own pages (22/10: « Nouveautés », « Feuille de route »), in the home's look: the night
   at the camp, the warm light of the fire, the game's monospace letters. One look, dark. */
:root {
  --bg: #231d2e;
  --bar: #1a1522;
  --card: #2e2438;
  --card-2: #271f31;
  --line: #3f2631;
  --warm: #fdbe53;
  --warm-ink: #3f2631;
  --leaf: #84c669;
  --night: #b9a6f0;
  --text: #fcefd8;
  --muted: #d9c3ad;
  --font: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bar);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--warm);
}

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding: calc(10px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  background: var(--bar);
  border-bottom: 2px solid var(--line);
}

.brand {
  display: grid;
  line-height: 1;
  text-decoration: none;
}

.brand b {
  color: var(--warm);
  font-size: 20px;
  letter-spacing: 0.16em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.3em;
}

.bar nav {
  display: flex;
  align-items: center;
  gap: 6px 16px;
  flex-wrap: wrap;
  margin-left: auto;
}

.bar nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.bar nav a[aria-current='page'] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--warm);
  text-underline-offset: 5px;
}

.bar nav a.play,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 16px;
  border: 2px solid #b07a1e;
  border-radius: 10px;
  background: var(--warm);
  box-shadow: 0 3px 0 #8a5d14;
  color: var(--warm-ink);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px max(16px, env(safe-area-inset-right)) 56px max(16px, env(safe-area-inset-left));
}

.head h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.head p {
  max-width: 62ch;
  margin: 10px 0 0;
  color: var(--muted);
}

.status {
  margin: 28px 0;
  color: var(--muted);
}

/* ---- the updates: a log of the camp's nights, newest first */
.log {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--line);
}

.entry {
  position: relative;
  padding: 0 0 30px 26px;
}

.entry::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--warm);
}

.entry:first-child::before {
  background: var(--warm);
  box-shadow: 0 0 12px 2px rgb(253 190 83 / 0.5);
}

.entry time {
  color: var(--night);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry h2 {
  margin: 2px 0 4px;
  font-size: 20px;
  line-height: 1.3;
  text-wrap: balance;
}

.entry .lead {
  margin: 0 0 8px;
  color: var(--muted);
}

.entry ul {
  margin: 0;
  padding-left: 1.1em;
}

.entry li + li {
  margin-top: 4px;
}

.chip {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: #203a26;
  color: #9fe08a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}

/* ---- the roadmap: now, soon, later, what is done */
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
  margin: 32px 0 0;
}

.col {
  min-width: 0;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--card-2);
}

.col h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.col h2::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot, var(--muted));
}

.col.now {
  --dot: var(--warm);
  border-color: #6b4a2a;
}

.col.now h2::before {
  box-shadow: 0 0 10px 2px rgb(253 190 83 / 0.55);
  animation: pulse 2.4s ease-in-out infinite;
}

.col.soon {
  --dot: var(--night);
}

.col.later {
  --dot: #8a7c94;
}

.col.done {
  --dot: var(--leaf);
}

.card {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--card);
}

.card + .card {
  margin-top: 10px;
}

.card strong {
  display: block;
  line-height: 1.35;
}

.card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.card time {
  display: block;
  color: var(--leaf);
  font-size: 12px;
}

.col .more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
}

.note {
  margin: 28px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--leaf);
  border-radius: 4px;
  background: var(--card-2);
  color: var(--muted);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .col.now h2::before {
    animation: none;
  }
}

@media (max-width: 520px) {
  .bar nav {
    width: 100%;
    margin-left: 0;
  }

  .bar nav a.play {
    margin-left: auto;
  }
}
