/* ============================================================
   DE CE? — Make History Fun Again
   Design system: "riso print, excavated"
   Above ground = gold field. Below ground = night blue. Finds = lit.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* riso inks — each colour has a job, none are decorative */
  --gold:       #EFA01B;   /* the surface. Dacian gold. Hero field. */
  --gold-deep:  #C97F0B;
  --fire:       #E23425;   /* the question. Only ever "DE CE". */
  --patina:     #14907A;   /* bronze patina. Only ever "go and see it". */
  --indigo:     #4A55C9;   /* the bunicometru + measurements. */
  --night:      #16182A;   /* underground. */
  --night-2:    #212443;   /* underground, one spade deeper. */
  --salt:       #EDF1EC;   /* cold mineral white. Reading surface. */
  --salt-2:     #DCE2DA;
  --ink:        #101120;

  /* type */
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body:    "Literata", Georgia, serif;
  --tag:     "IBM Plex Mono", ui-monospace, monospace;

  /* scale */
  --s1: 0.5rem;  --s2: 0.75rem; --s3: 1rem;   --s4: 1.5rem;
  --s5: 2.25rem; --s6: 3.5rem;  --s7: 5.5rem; --s8: 8rem;

  --measure: 34rem;
  --edge: clamp(1.25rem, 5vw, 5rem);
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--salt);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wdth" 105;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

.tag {
  font-family: var(--tag);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wrap { max-width: 74rem; margin-inline: auto; padding-inline: var(--edge); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--fire); color: #fff; padding: .75rem 1rem; z-index: 99;
  font-family: var(--tag); font-size: .75rem;
}
.skip:focus { left: 0; }

/* ---------- 3. PAPER GRAIN (the print feel) ---------- */
/* One shared noise layer over everything. Cheap, and it is what stops
   the flat colour fields from reading as "CSS background-color". */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 200;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ============================================================
   4. HERO — the surface. A field of gold.
   ============================================================ */
.hero {
  position: relative;
  background: var(--gold);
  color: var(--ink);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(7rem, 16vw, 12rem);
  overflow: hidden;
}
/* faint halftone sun, top-right — riso overprint, not a "gradient accent" */
.hero::before {
  content: "";
  position: absolute; top: -18vw; right: -12vw;
  width: 62vw; height: 62vw;
  background: radial-gradient(circle, var(--gold-deep) 0%, transparent 62%);
  opacity: .5; pointer-events: none;
}

.masthead {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: var(--s3);
  align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: var(--s2);
}
.masthead__mark {
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.masthead__mark b { color: var(--fire); }
.masthead__line { opacity: .7; }
.masthead__ask {
  text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--fire); padding-bottom: 2px;
  transition: color .15s ease;
}
.masthead__ask:hover { color: var(--fire); }

.hero__inner { position: relative; z-index: 2; padding-top: clamp(2rem, 6vw, 4rem); }

/* Hierarchy is the whole idea: DE CE is the brand and shouts;
   the question is the content and speaks. Same line would flatten both. */
.hero h1 { font-size: 1rem; }
.hero h1 .why {
  color: var(--fire);
  display: block;
  font-size: clamp(4.5rem, 17vw, 12rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  font-variation-settings: "wdth" 116;
  margin-left: -0.055em;   /* optical: the D sits flush to the margin */
}
/* the rotating tail of the question */
.hero__swap {
  display: block;
  font-size: clamp(1.5rem, 4.4vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 100;
  max-width: 21ch;
  margin-top: .35em;
  min-height: 2.1em;
}
.hero__swap span { display: inline-block; }
.hero__swap.is-out span { opacity: 0; transform: translateY(0.25em); }
.hero__swap span { transition: opacity .28s ease, transform .28s ease; }

.hero__sub {
  margin: var(--s4) 0 0;
  max-width: 28rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.hero__sub strong { font-weight: 700; }

.hero__cta {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: var(--s4);
  background: var(--ink); color: var(--gold);
  font-family: var(--display); font-weight: 800; font-size: 1.0625rem;
  letter-spacing: -0.01em;
  padding: .85rem 1.4rem;
  text-decoration: none;
  border: 0;
  transition: transform .16s ease, background .16s ease;
}
.hero__cta:hover { transform: translate(-2px, -2px); background: var(--fire); color: #fff; }

/* the brand mark, blown up and cropped by the page edge.
   Fills the right of the composition without adding a new idea. */
.hero__qmark {
  position: absolute; z-index: 1;
  right: -3vw; top: -2vw;
  font-family: var(--display); font-weight: 800;
  font-size: min(56vw, 52rem);
  line-height: .78;
  color: var(--gold-deep);
  opacity: .42;
  pointer-events: none; user-select: none;
  transform: rotate(7deg);
}

/* english tagline, running as a press slug across the whole field */
.hero__slug {
  position: relative; z-index: 2;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: .5rem 0;
  overflow: hidden;
}
/* the fade belongs to the text, not to the rules that frame it */
.hero__slugmask {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.hero__slugtrack {
  display: flex; width: max-content;
  animation: slug 38s linear infinite;
}
.hero__slugtrack span {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1rem, 3.4vw, 2.1rem);
  font-variation-settings: "wdth" 88;
  letter-spacing: .02em;
  color: var(--gold-deep);
  white-space: nowrap;
  padding-right: .6ch;
}
@keyframes slug { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero__slugtrack { animation: none; } }

/* the dug edge between surface and underground.
   The strip keeps the gold above the cut; the path is the earth below it. */
.digline {
  display: block; width: 100%; height: auto;
  margin-bottom: -1px; position: relative; z-index: 3;
  background: var(--gold);
}

/* ============================================================
   5. BUNICOMETRU — the signature
   ============================================================ */
.bunico {
  background: var(--night);
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(3rem, 8vw, 5rem);
  position: relative;
}
.bunico__head { display: grid; gap: var(--s3); margin-bottom: var(--s6); max-width: 46rem; }
.bunico__head .tag { color: var(--gold); }
.bunico h2 { font-size: clamp(2rem, 6vw, 3.75rem); }
.bunico h2 em { font-style: normal; color: var(--indigo); }
.bunico__note { color: var(--salt-2); opacity: .8; font-size: .98rem; max-width: 32rem; }

/* readout */
.bunico__read {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: .1em var(--s3);
  border-top: 2px solid rgba(237,241,236,.22);
  padding-top: var(--s4);
}
.bunico__num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3.5rem, 14vw, 8.5rem);
  line-height: .85; letter-spacing: -0.05em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.bunico__unit {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  color: var(--salt);
  letter-spacing: -0.02em;
}
.bunico__year {
  margin-left: auto;
  font-family: var(--tag); font-size: .8125rem;
  color: var(--indigo);
  background: rgba(74,85,201,.14);
  border: 1px solid rgba(74,85,201,.5);
  padding: .35rem .7rem;
  white-space: nowrap;
}
.bunico__what {
  margin: var(--s3) 0 var(--s5);
  font-size: clamp(1.05rem, 2.4vw, 1.375rem);
  line-height: 1.4; max-width: 40rem; min-height: 3.2em;
  color: var(--salt);
}
.bunico__what b { color: var(--gold); font-weight: 700; }

/* the track */
.bunico__track { position: relative; padding: var(--s3) 0 0; }
/* The thumb is anchored to the rail, not the track — on mobile the stop
   labels wrap to several rows and the track grows underneath them. */
.bunico__rail {
  position: relative; height: 4px; background: rgba(237,241,236,.2);
}
.bunico__fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--gold); width: 0;
}
.bunico__input {
  -webkit-appearance: none; appearance: none;
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 100%; height: 44px; margin: 0; background: transparent; cursor: grab;
}
.bunico__input:active { cursor: grabbing; }
.bunico__input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); border: 4px solid var(--night);
  box-shadow: 0 0 0 2px var(--gold); cursor: grab;
}
.bunico__input::-moz-range-thumb {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); border: 4px solid var(--night);
  box-shadow: 0 0 0 2px var(--gold); cursor: grab;
}

/* stop labels under the rail */
.bunico__stops {
  display: flex; justify-content: space-between;
  margin-top: var(--s4); gap: .35rem;
}
.bunico__stop {
  flex: 1 1 0; min-width: 0;
  background: none; border: 0; padding: .5rem .15rem;
  color: rgba(237,241,236,.55);
  font-family: var(--tag); font-size: .625rem; letter-spacing: .06em;
  text-transform: uppercase; text-align: center; cursor: pointer;
  border-top: 2px solid rgba(237,241,236,.2);
  transition: color .18s ease, border-color .18s ease;
  line-height: 1.3;
}
.bunico__stop:hover { color: var(--salt); }
.bunico__stop[aria-current="true"] { color: var(--gold); border-top-color: var(--gold); }

/* when the kid hits deep time, the readout admits it can't cope */
.bunico.is-deep .bunico__num { color: var(--fire); }
.bunico.is-deep .bunico__what b { color: var(--fire); }

/* ============================================================
   6. THE FINDS — 8 questions, lit in the dark
   ============================================================ */
.finds {
  background: var(--night-2);
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
}
.finds__head {
  display: flex; flex-wrap: wrap; gap: var(--s4);
  align-items: flex-end; justify-content: space-between;
  margin-bottom: var(--s6);
}
.finds h2 { font-size: clamp(2rem, 6vw, 3.75rem); max-width: 16ch; }
.finds h2 em { font-style: normal; color: var(--fire); }
.finds__count { color: var(--gold); }

.grid {
  display: grid; gap: var(--s4);
  grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
}

/* a find = an object with a museum label */
.find {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--salt); color: var(--ink);
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0,0,0,.35);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease;
}
/* scattered on the table, not snapped to a CSS grid */
.find:nth-child(3n+1) { transform: rotate(-0.5deg); }
.find:nth-child(3n+2) { transform: rotate(0.4deg); }
.find:nth-child(3n)   { transform: rotate(-0.2deg); }
.find:hover, .find:focus-visible {
  transform: rotate(0deg) translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--gold);
}

.find__plate {
  position: relative;
  background: var(--night);
  border-bottom: 2px solid var(--ink);
  aspect-ratio: 5 / 3.4;
  overflow: hidden;
}
.find__plate svg { width: 100%; height: 100%; }
/* riso misregistration on hover: the ink layer slips */
.find__slip { transition: transform .2s ease; }
.find:hover .find__slip { transform: translate(3px, -2px); }

.find__era {
  position: absolute; left: 0; bottom: 0;
  background: var(--gold); color: var(--ink);
  padding: .3rem .55rem;
  font-family: var(--tag); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink);
}

.find__body { padding: var(--s4) var(--s4) var(--s3); flex: 1; }
.find__q {
  font-family: var(--display); font-weight: 800;
  font-size: 1.375rem; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 .6rem;
}
.find__q span { color: var(--fire); }
.find__hook { margin: 0; font-size: .9375rem; line-height: 1.5; color: #35364a; }

.find__foot {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem var(--s4);
  border-top: 2px dashed rgba(16,17,32,.3);
  font-family: var(--tag); font-size: .6875rem; letter-spacing: .06em;
  color: var(--patina); text-transform: uppercase;
}
.find__foot svg { width: 13px; height: 13px; flex: none; }
.find__weird { margin-left: auto; display: flex; gap: 2px; }
.find__weird i { width: 7px; height: 7px; background: var(--salt-2); border-radius: 50%; }
.find__weird i.on { background: var(--fire); }

/* ============================================================
   7. DU-TE ȘI VEZI — back up to the light
   ============================================================ */
.go {
  background: var(--salt); color: var(--ink);
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}
.go__head { max-width: 44rem; margin-bottom: var(--s5); }
.go .tag { color: var(--patina); }
.go h2 { font-size: clamp(2rem, 6vw, 3.5rem); margin: var(--s2) 0 var(--s3); }
.go h2 em { font-style: normal; color: var(--patina); }
.go__lead { color: #35364a; max-width: var(--measure); }

.go__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.go__item {
  display: grid; grid-template-columns: 2.5rem 1fr auto; gap: var(--s3);
  align-items: baseline;
  padding: .9rem 0; border-bottom: 1px solid rgba(16,17,32,.18);
}
.go__no { font-family: var(--tag); font-size: .75rem; color: var(--patina); }
.go__place { font-family: var(--display); font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.015em; }
.go__place small { display: block; font-family: var(--body); font-weight: 400; font-size: .875rem; color: #4a4b5e; letter-spacing: 0; }
.go__where { font-family: var(--tag); font-size: .6875rem; color: #4a4b5e; text-transform: uppercase; letter-spacing: .08em; text-align: right; }

/* ============================================================
   7b. ÎNTREABĂ — the payoff. The whole site says nobody answered
   your whys; this is where someone does.
   ============================================================ */
.ask { background: var(--night); color: var(--salt); padding: clamp(3.5rem, 9vw, 6rem) 0; }
.ask__head { max-width: 44rem; margin-bottom: var(--s5); }
.ask .tag { color: var(--gold); }
.ask h2 { font-size: clamp(2.25rem, 7vw, 4rem); margin: var(--s2) 0 var(--s3); }
.ask h2 em { font-style: normal; color: var(--fire); }
.ask__lead { margin: 0; color: var(--salt-2); max-width: 34rem; }
.ask__lead--small { margin-top: var(--s2); font-size: .9375rem; opacity: .75; }

/* a sheet of paper on the dark ground — it should read as "write on this" */
.ask__form {
  background: var(--salt); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--gold);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid; gap: var(--s4);
  grid-template-columns: 1fr 1fr;
  max-width: 46rem;
}
.ask__field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.ask__field--wide { grid-column: 1 / -1; }
.ask__form label {
  font-family: var(--tag); font-size: .6875rem; letter-spacing: .1em;
  text-transform: uppercase; color: #35364a;
}
.ask__form label span { text-transform: none; letter-spacing: 0; opacity: .7; font-family: var(--body); }
.ask__form input[type="text"],
.ask__form input[type="email"],
.ask__form input[type="number"],
.ask__form textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 0;
  padding: .7rem .8rem; width: 100%;
}
.ask__form textarea { resize: vertical; min-height: 6.5rem; }
.ask__form input:focus-visible, .ask__form textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 1px;
}

.ask__check {
  grid-column: 1 / -1;
  display: flex; gap: .7rem; align-items: flex-start;
  font-family: var(--body) !important; font-size: .875rem !important;
  text-transform: none !important; letter-spacing: 0 !important;
  line-height: 1.45; color: #35364a !important; cursor: pointer;
}
.ask__check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--fire); }

.ask__send {
  grid-column: 1 / -1; justify-self: start;
  background: var(--fire); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.0625rem;
  letter-spacing: -0.01em;
  border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  padding: .85rem 1.5rem; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ask__send:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.ask__send:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }

.ask__parents {
  grid-column: 1 / -1; margin: 0;
  border-top: 2px dashed rgba(16,17,32,.28); padding-top: var(--s3);
  font-size: .875rem; color: #4a4b5e;
}
/* honeypot — present for bots, gone for people */
.ask__hp { position: absolute; left: -9999px; }

@media (max-width: 40rem) { .ask__form { grid-template-columns: 1fr; } }

/* the thank-you page reuses the hero field */
.ta { background: var(--gold); color: var(--ink); min-height: 100vh; display: grid; align-content: center; }
.ta h1 { font-size: clamp(2.5rem, 9vw, 6rem); max-width: 16ch; }
.ta h1 em { font-style: normal; color: var(--fire); }
.ta p { max-width: 32rem; font-size: 1.125rem; }

/* ============================================================
   8. ABOUT / WHO
   ============================================================ */
.who { background: var(--salt-2); color: var(--ink); padding: clamp(3.5rem, 9vw, 6rem) 0; }
.who__grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 60rem) { .who__grid { grid-template-columns: 1.15fr 1fr; gap: var(--s7); } }
.who h2 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); margin-bottom: 0; }
.who p { max-width: var(--measure); color: #2b2c3d; }
.who .tag { color: var(--fire); }

/* the byline: a real face, printed in the site's two inks — not a mascot */
.who__card {
  display: flex; align-items: center; gap: var(--s4);
  margin: var(--s3) 0 var(--s4); flex-wrap: wrap;
}
/* The image arrives already screen-printed and palette-locked (paleta.py).
   Do NOT re-tint it here or it gets treated twice. 4:5 — it is an illustration
   with props in it, not a headshot, so it needs the height. */
.who__portrait {
  margin: 0; flex: none;
  width: clamp(9rem, 26vw, 14rem); aspect-ratio: 4 / 5;
  position: relative; overflow: hidden;
  background: var(--night);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--gold);
}
.who__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.who__portrait.is-empty { background: var(--salt); border-style: dashed; }
.who__portrait.is-empty img { display: none; }
.who__portrait.is-empty::before {
  content: "foto"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--tag); font-size: .625rem; letter-spacing: .14em;
  text-transform: uppercase; color: #8a8b96;
}
.who__role { display: block; margin: .35rem 0 0; color: var(--patina) !important; }
.who__kicker {
  font-family: var(--display); font-weight: 800;
  font-size: 1.1875rem; letter-spacing: -0.02em; line-height: 1.2;
  margin-top: var(--s4);
}

.pledge { border-left: 4px solid var(--fire); padding-left: var(--s3); margin-top: var(--s4); }
.pledge li { margin-bottom: .5rem; }
.pledge b { font-weight: 700; }

/* ============================================================
   9. FOOTER
   ============================================================ */
.foot { background: var(--night); color: var(--salt); padding: var(--s6) 0 var(--s5); }
.foot__grid { display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between; align-items: flex-end; }
.foot .tag { color: rgba(237,241,236,.55); }
.foot a { color: var(--gold); }
.foot__mark { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; }
.foot__mark b { color: var(--fire); }

/* ============================================================
   10. ARTICLE PAGES
   ============================================================ */
.art { background: var(--salt); color: var(--ink); }
.art__top {
  background: var(--night); color: var(--salt);
  padding: var(--s3) 0;
}
.art__back { font-family: var(--tag); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--gold); }

.art__hero { background: var(--gold); color: var(--ink); padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem); position: relative; overflow: hidden; }
.art__meta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s4); }
.art__meta .tag { background: var(--ink); color: var(--gold); padding: .28rem .55rem; }
.art__meta .tag.is-when { background: var(--fire); color: #fff; }
.art__hero h1 { font-size: clamp(2.25rem, 7vw, 4.75rem); max-width: 18ch; font-variation-settings: "wdth" 108; }
.art__hero h1 span { color: var(--fire); }
.art__deck { margin: var(--s4) 0 0; max-width: 38rem; font-size: 1.1875rem; line-height: 1.5; }

/* the plate: centred in its own dark field, never cropped */
.art__fig {
  background: var(--night); border-bottom: 4px solid var(--ink);
  margin: 0; display: flex; justify-content: center;
  padding: clamp(1rem, 3vw, 2rem) var(--edge);
}
.art__fig svg { width: min(100%, 42rem); height: auto; display: block; }

.art__body { padding: clamp(2.5rem, 7vw, 4.5rem) 0 var(--s6); }
.art__body .wrap { max-width: 44rem; }
.art__body p { max-width: var(--measure); }
.art__body h2 {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  margin: var(--s6) 0 var(--s3);
}
.art__body h2::before {
  content: ""; display: block; width: 2.5rem; height: 5px;
  background: var(--fire); margin-bottom: var(--s3);
}
.art__body strong { font-weight: 700; }

/* the one thing an 8-year-old should take away */
.punch {
  background: var(--night); color: var(--salt);
  padding: var(--s4); margin: var(--s5) 0;
  border-left: 8px solid var(--gold);
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  line-height: 1.15; letter-spacing: -0.02em;
}
.punch b { color: var(--gold); font-weight: 800; }

/* how we know — the epistemics box, every article has one */
.know {
  background: #fff; border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--indigo);
  padding: var(--s4); margin: var(--s5) 0;
}
.know .tag { color: var(--indigo); display: block; margin-bottom: var(--s2); }
.know p { margin: 0; font-size: 1rem; }

/* try it yourself */
.try {
  background: var(--gold); border: 2px solid var(--ink);
  padding: var(--s4); margin: var(--s5) 0;
  box-shadow: 6px 6px 0 var(--ink);
}
.try .tag { color: var(--ink); display: block; margin-bottom: var(--s2); }
.try p { margin: 0; color: var(--ink); font-weight: 500; }

/* go and see it */
.visit {
  background: var(--patina); color: #fff;
  padding: var(--s5) var(--s4); margin: var(--s6) 0 var(--s5);
  border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
}
.visit .tag { color: rgba(255,255,255,.8); }
.visit h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 4vw, 2rem); margin: var(--s2) 0 var(--s2); letter-spacing: -0.02em; }
.visit p { margin: 0 0 var(--s3); max-width: var(--measure); font-size: 1rem; }
.visit a {
  display: inline-block; background: #fff; color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: .9375rem;
  padding: .6rem 1rem; text-decoration: none; border: 2px solid var(--ink);
}
.visit a:hover { background: var(--gold); }

/* the moment curiosity peaks: right after the answer runs out */
.askback {
  margin: var(--s6) 0 var(--s5);
  border-top: 4px solid var(--fire); padding-top: var(--s3);
}
.askback p { margin: 0 0 .4rem; color: #4a4b5e; font-size: .9375rem; }
.askback a {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.375rem, 3.4vw, 1.875rem); letter-spacing: -0.02em;
  text-decoration: none; color: var(--ink);
}
.askback a b { color: var(--fire); }
.askback a:hover { color: var(--fire); }

.sources { border-top: 2px solid rgba(16,17,32,.2); margin-top: var(--s6); padding-top: var(--s4); }
.sources .tag { color: #4a4b5e; }
.sources ul { margin: var(--s2) 0 0; padding-left: 1.1rem; font-size: .9375rem; color: #4a4b5e; }
.sources a { color: var(--patina); }

/* dark sections must restate their colour — article pages set body to ink */
.nextup { background: var(--night-2); color: var(--salt); padding: clamp(3rem,7vw,4.5rem) 0; }
.nextup h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: var(--s4); }

/* ---------- 11. RESPONSIVE ---------- */
@media (max-width: 46rem) {
  .hero { padding-bottom: clamp(3rem, 9vw, 5rem); }
  .bunico__stops { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: var(--s5); }
  .bunico__year { margin-left: 0; }
  .hero__slug { font-size: 1rem; white-space: normal; }
  .go__item { grid-template-columns: 1.75rem 1fr; }
  .go__where { grid-column: 2; text-align: left; }
  .find { box-shadow: 4px 4px 0 rgba(0,0,0,.35); }
}

/* ---------- 12. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
