/* Helada landing page. A printed frost bulletin: cold paper, night ink, ruled rows, square corners. */
@font-face {
  font-family: "Besley";
  src: url("assets/fonts/besley.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("assets/fonts/libre-franklin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f1f4f5; --surface: #fbfcfc; --ink: #0f1b2d; --muted: #46536a; --line: #bfc9d3;
  --accent: #1d3b82;
  /* the evidence section is a night sky in both themes */
  --night: #0f1b2d; --night-ink: #eef2f6; --night-muted: #a8b4c4; --night-line: #2e3c52; --night-accent: #a9c4f5;
  /* product states: used only inside the example alert and the "No estoy seguro" card */
  --risk: #a3161f; --unsure: #f5c400; --on-unsure: #10151c;
  /* photographs are greyscale files, printed in these two colours */
  --photo-dark: #0f1b2d; --photo-light: #f1f4f5;
  /* the hero is a night scene in both themes; the slip on it is a piece of paper in both */
  --hero-night: #0b1320;
  --slip-bg: #f1f4f5; --slip-ink: #0f1b2d; --slip-muted: #46536a; --slip-line: #bfc9d3;
  --display: "Besley", Georgia, "Times New Roman", serif;
  --text: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step: clamp(3.5rem, 7vw, 6rem);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1320; --surface: #111b2b; --ink: #e9eef3; --muted: #a3b0c2; --line: #2a384d;
    --accent: #a9c4f5;
    --night: #121d30;
    --risk: #ff9aa0; --unsure: #ffcf70;
    --photo-dark: #0b1320; --photo-light: #c3cedb;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
p { margin: 0 0 1em; max-width: 62ch; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 15ch; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); line-height: 1.14; letter-spacing: -0.012em; }
h3 { margin: 0 0 1rem; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
.defs { position: absolute; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

.lead { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.5; max-width: 44ch; }
.fine, .source { font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.source { margin-bottom: 0; }
.logo__symbol { fill: var(--accent); }
.logo__word { fill: var(--ink); }

/* header: laid over the top of the hero, in its night colours */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; --ink: var(--night-ink); --muted: var(--night-muted); --line: var(--night-line); --accent: var(--night-accent); color: var(--ink); }
.top__row { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; border-bottom: 1px solid var(--ink); }
.top__logo { display: flex; margin-right: auto; }
.top__logo svg { display: block; width: auto; height: 2.5rem; }
.top__nav { display: flex; gap: 2rem; }
.top__nav a, .lang { font: 500 0.9375rem/1 var(--text); color: var(--ink); text-decoration: none; }
.top__nav a:hover, .lang:hover { text-decoration: underline; }
.lang { background: none; border: 0; border-left: 1px solid var(--line); padding: 0.45rem 0 0.45rem 2rem; cursor: pointer; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1.25rem; max-width: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.7rem 1.4rem; border: 1px solid var(--ink); color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); }

/* hero: the scene fills it; the headline sits on the sky, the example readout on the maize */
main > section.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: max(46rem, min(100svh, 62rem)); padding: 4.5rem 0 0; background: var(--hero-night); color: var(--night-ink); --ink: var(--night-ink); --muted: var(--night-muted); --line: var(--night-line); --accent: var(--night-accent); --bg: var(--hero-night); }
.hero__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; container-type: size; background: var(--hero-night); }

/* the scene: a 16:9 stage that covers the hero like a background picture; every layer is placed in % of the stage.
   Without motion it is the frost night: clear sky, stars, the maize in frost-white. */
.scene { --w: max(100cqw, 100cqh * 16 / 9); position: absolute; left: 50%; top: calc((100cqh - var(--w) * 9 / 16) * 0.25); width: var(--w); height: calc(var(--w) * 9 / 16); transform: translateX(-50%); }
.scene picture { display: contents; }
.scene > *, .scene img { position: absolute; display: block; max-width: none; }
.scene__sky { inset: 0; background: #1d2c47; opacity: 0; }
.scene__stars { inset: 0; width: 100%; height: 100%; fill: #c9d4e2; }
.scene__sun { left: 11%; top: 46.5%; width: 6.5%; opacity: 0; fill: #dfe6ee; stroke: #dfe6ee; stroke-width: 1.4; stroke-linecap: round; }
.scene__clouds { inset: 0; }
.scene__cloud { left: var(--x); top: var(--y); width: var(--cw); height: auto; }
.scene__cloud--a { --x: 66%; --y: 31%; --cw: 24%; --d: 96s; --at: -70s; }
.scene__cloud--b { --x: 30%; --y: 20%; --cw: 26%; --d: 128s; --at: -40s; }
.scene__cloud--c { --x: 4%; --y: 40%; --cw: 18%; --d: 82s; --at: -12s; }
.scene__cloud--d { --x: 84%; --y: 36%; --cw: 20%; --d: 112s; --at: -96s; }
.scene__mountain { left: -3%; bottom: 4%; width: 106%; height: auto; }
.scene__storm { left: -5%; top: 27%; width: 110%; height: auto; transform: translateX(-106%); }
.scene__rain { left: 0; right: 0; top: 50%; bottom: 0; overflow: hidden; opacity: 0; }
.scene__rain::before { content: ""; position: absolute; inset: -560px -200px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg stroke='%239fb0c8' stroke-width='1.3' stroke-linecap='round' opacity='.7'%3E%3Cpath d='M30 6l-16 48M98 2l-14 42M152 28l-17 51M62 66l-15 45M122 92l-16 48M26 116l-14 42M170 128l-15 45M86 138l-12 36'/%3E%3C/g%3E%3C/svg%3E"); }
.scene__maize { left: 0; bottom: 0; width: 100%; height: auto; }

@media (prefers-reduced-motion: no-preference) {
  /* one loop of 64 s: cloud, storm and rain, a clear frost night, dawn. It opens in the frost night.
     Only transform, opacity and filter move, so the browser animates the layers without redrawing them. */
  .scene { --speed: 1; --t: calc(64s * var(--speed)); --from: calc(var(--t) * -0.6875); }
  /* ?demo=1 (site.js): the whole loop in 10 s, from its start, for recording */
  .demo .scene { --speed: 0.15625; --from: 0s; }
  .scene__sky { animation: scene-sky var(--t) linear var(--from) infinite; }
  .scene__stars { animation: scene-stars var(--t) linear var(--from) infinite; }
  .scene__twinkle--1 { animation: scene-twinkle 5s ease-in-out infinite alternate; }
  .scene__twinkle--2 { animation: scene-twinkle 7s ease-in-out -3s infinite alternate; }
  .scene__sun { animation: scene-sun var(--t) ease-out var(--from) infinite; }
  .scene__clouds { animation: scene-clouds var(--t) linear var(--from) infinite; }
  .scene__cloud { left: 0; animation: scene-drift calc(var(--d) * var(--speed)) linear calc(var(--at) * var(--speed)) infinite; }
  .scene__storm { animation: scene-storm var(--t) ease-in-out var(--from) infinite; }
  .scene__rain { animation: scene-rain var(--t) linear var(--from) infinite; }
  .scene__rain::before { animation: scene-fall 0.9s linear infinite; }
  .scene__maize { animation: scene-frost var(--t) linear var(--from) infinite; }
  .scene.is-paused *, .scene.is-paused *::before, .scene.is-away *, .scene.is-away *::before { animation-play-state: paused; }
}
@keyframes scene-sky { 0%, 44% { opacity: 0.3; } 52%, 84% { opacity: 0; } 95% { opacity: 0.8; } 100% { opacity: 0.3; } }
@keyframes scene-clouds { 0%, 20% { opacity: 1; } 30% { opacity: 0.3; } 46%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes scene-drift { from { transform: translateX(-110%); } to { transform: translateX(calc(var(--w) + 10%)); } }
@keyframes scene-storm { 0%, 15% { transform: translateX(-106%); } 28% { transform: translateX(-2%); } 44% { transform: translateX(2%); } 56%, 100% { transform: translateX(106%); } }
@keyframes scene-rain { 0%, 27% { opacity: 0; } 31%, 42% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes scene-fall { to { transform: translate3d(-180px, 540px, 0); } }
@keyframes scene-stars { 0%, 50% { opacity: 0; } 58%, 86% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes scene-twinkle { from { opacity: 1; } to { opacity: 0.35; } }
@keyframes scene-frost { 0%, 56% { filter: brightness(0.5); } 68%, 91% { filter: brightness(1); } 99%, 100% { filter: brightness(0.5); } }
@keyframes scene-sun { 0%, 20% { opacity: 1; transform: translateY(-8%); } 27% { opacity: 0; transform: translateY(-8%); } 84% { opacity: 0; transform: translateY(270%); } 85% { opacity: 1; transform: translateY(270%); } 96% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; transform: translateY(-8%); } }

/* the pause button: anything that moves by itself for more than a few seconds needs one */
.motion { background: var(--hero-night); border: 0; padding: 0.5rem 0.7rem; font: 500 0.875rem/1 var(--text); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.motion:hover { color: var(--ink); }
.motion[aria-pressed="false"] .motion__play, .motion[aria-pressed="true"] .motion__pause { display: none; }
@media (prefers-reduced-motion: reduce) { .motion { visibility: hidden; } }
.mast { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem; max-width: none; margin: 1rem 0 clamp(1.5rem, 3.5vw, 2.75rem); font-size: 0.875rem; color: var(--muted); }
.hero__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero__copy .lead { margin: 0; }
.hero__copy .actions { margin: 1.5rem 0 0.4rem; }
.hero .btn:not(.btn--primary) { background: var(--hero-night); }
.hero .btn:not(.btn--primary):hover { background: var(--ink); }
.hero__slip { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-top: auto; padding-block: 2rem; }
.readout { width: min(100%, 23rem); background: var(--slip-bg); color: var(--slip-ink); }
.readout__label { margin: 0; max-width: none; padding: 0.55rem 1rem; border-bottom: 1px solid var(--slip-line); font-size: 0.8125rem; font-weight: 600; }
.readout dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.readout dl > div { padding: 0.9rem 1rem 0.85rem; }
.readout dl > div + div { border-left: 1px solid var(--slip-line); }
.readout dd { margin: 0; font: 600 clamp(2.1rem, 3.6vw, 2.9rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: lining-nums; white-space: nowrap; }
.readout dt { margin-top: 0.4rem; font-size: 0.8125rem; line-height: 1.3; color: var(--slip-muted); }
.credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem; max-width: none; margin-block: 0.75rem var(--step); font-size: 0.875rem; line-height: 1.45; color: var(--muted); }

/* the example alert, second half: the message as it arrives */
.how { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 4vw, 3.5rem); align-items: start; }
.aviso { margin: 0; }
.aviso__msg { padding: 1.1rem 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--ink); font-size: 0.9375rem; line-height: 1.45; }
.voice { display: flex; align-items: center; gap: 0.7rem; padding-bottom: 0.9rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.play { flex: none; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 26px; }
.wave i { flex: 1; background: var(--ink); height: 30%; }
.wave i:nth-child(3n) { height: 85%; } .wave i:nth-child(4n+1) { height: 55%; } .wave i:nth-child(5n+2) { height: 100%; } .wave i:nth-child(7n) { height: 40%; }
.dur { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.msg p { margin: 0 0 0.5em; }
.msg p:last-child { margin: 0; }
.msg .draft { color: var(--muted); font-size: 0.9em; }
.msg .risk { color: var(--risk); font-weight: 700; }
.aviso figcaption { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); max-width: 60ch; }

/* sections: a rule, the heading in the left column, the content in the right one */
main > section { padding-bottom: var(--step); }
.sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; border-top: 1px solid var(--ink); padding-top: 1.75rem; }
.sec__side { position: sticky; top: 1.5rem; }
.sec__head { max-width: 16ch; }
.sec__body > :last-child { margin-bottom: 0; }

/* engravings: an ink-only mask, filled with the page's ink */
.engraving { display: block; width: var(--w); max-width: 100%; aspect-ratio: var(--ar); margin-top: 2.25rem; background: var(--ink); -webkit-mask: var(--art) left top / contain no-repeat; mask: var(--art) left top / contain no-repeat; }
.engraving--maize { --art: url("assets/img/engraving-maize.webp"); --ar: 520 / 470; --w: 12rem; }
.engraving--thermometer { --art: url("assets/img/engraving-thermometer.webp"); --ar: 129 / 520; --w: 3.25rem; }
.engraving--phone { --art: url("assets/img/engraving-phone.webp"); --ar: 520 / 403; --w: 13rem; }
.engraving--spade { --art: url("assets/img/engraving-spade.webp"); --ar: 448 / 520; --w: 10.5rem; }
.engraving--shelter { --art: url("assets/img/engraving-shelter.webp"); --ar: 520 / 432; --w: 12rem; }
@supports not ((mask-image: none) or (-webkit-mask-image: none)) { .engraving { display: none; } }

/* photographs: shadows take one colour, highlights the other */
.plate { margin-block: 0 var(--step); }
.plate__img { position: relative; isolation: isolate; background: var(--photo-dark); }
.plate__img img { display: block; width: 100%; mix-blend-mode: screen; }
.plate__img::after { content: ""; position: absolute; inset: 0; background: var(--photo-light); mix-blend-mode: multiply; pointer-events: none; }
.plate figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem; margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }

/* problem figures */
.stat { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 0.5rem 2rem; align-items: baseline; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.stat:first-child { padding-top: 0; }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat__n { margin: 0; font: 600 clamp(1.9rem, 3vw, 2.4rem)/1.05 var(--display); letter-spacing: -0.025em; }
.stat p { max-width: 52ch; }
.stat .source { margin-top: -0.35rem; }

/* what it does */
.rows { margin: 0; }
.rows__row { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0.5rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.rows__row:first-child { padding-top: 0; }
.rows__row:last-child { border-bottom: 0; padding-bottom: 0; }
.rows dt { font: 600 1.3rem/1.2 var(--display); letter-spacing: -0.01em; }
.rows dd { margin: 0; max-width: 60ch; }

/* evidence: the one night-coloured section */
main > section.night { background: var(--night); color: var(--night-ink); padding-block: var(--step); margin-bottom: var(--step); --ink: var(--night-ink); --muted: var(--night-muted); --line: var(--night-line); --accent: var(--night-accent); }
.night__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.night__head h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; }
.night__head .lead { margin: 0; font-size: 1.0625rem; color: var(--muted); }
.evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.evidence__group { padding-top: 1.5rem; }
.evidence__group:first-child { padding-right: clamp(1.5rem, 4vw, 3.5rem); border-right: 1px solid var(--line); }
.evidence__group:last-child { padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.evidence__group > p { margin-bottom: 0; }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 12rem)); gap: 2rem; margin-bottom: 1.5rem; }
.chart { margin: 0; }
.chart svg { display: block; width: 100%; }
.chart figcaption { margin-top: 0.9rem; font-size: 0.875rem; line-height: 1.3; color: var(--muted); }
.chart figcaption strong { display: block; font: 600 2.6rem/1 var(--display); letter-spacing: -0.025em; color: var(--ink); margin-bottom: 0.3rem; }
.chart figcaption strong.is-helada { color: var(--accent); }
/* the patterns are defined outside the section, so they take the night colours by name */
.cell--helada { fill: var(--night-accent); }
.cell--forecast { fill: var(--night-muted); }
.cell--missed { fill: none; stroke: var(--night-muted); stroke-width: 1; opacity: 0.5; }
.source--block { max-width: 96ch; margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* small model */
.facts { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--ink); }
.facts li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0.25rem 2rem; align-items: baseline; padding-block: 0.9rem; border-bottom: 1px solid var(--line); line-height: 1.4; }
.facts strong { font: 600 1.3rem/1.2 var(--display); letter-spacing: -0.01em; }

/* a person decides */
.unsure-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.25rem 2rem; align-items: center; margin-bottom: 2rem; }
.unsure-row > p { margin: 0; }
.unsure { background: var(--unsure); color: var(--on-unsure); padding: 1.25rem 1.4rem; }
.unsure p { margin: 0; line-height: 1.35; }
.unsure .unsure__state { font: 700 1.6rem/1.1 var(--display); letter-spacing: -0.015em; margin-bottom: 0.35rem; }
.who { margin: 0 0 2.5rem; border-top: 1px solid var(--ink); }
.who > div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0.25rem 2rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); line-height: 1.4; }
.who dt { font-weight: 700; }
.who dd { margin: 0; }
.limits { margin: 0; padding: 0; list-style: none; }
.limits li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; line-height: 1.45; max-width: 56ch; }
.limits li::before { content: ""; position: absolute; left: 0.15rem; top: 0.55em; width: 0.45rem; height: 0.45rem; background: var(--accent); transform: rotate(45deg); }

/* offices */
.cost { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0.5rem 2rem; align-items: baseline; margin-top: 2rem; padding-block: 1.5rem; border-block: 1px solid var(--ink); }
.cost__n { margin: 0; font: 600 clamp(2.2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -0.03em; }
.cost p { max-width: 48ch; }

/* footer */
.foot { font-size: 0.875rem; color: var(--muted); }
.foot__row { display: flex; gap: 1.25rem; align-items: flex-start; border-top: 1px solid var(--ink); padding-block: 1.75rem 2.5rem; }
.foot__mark { flex: none; width: 2.25rem; }
.foot p { margin: 0 0 0.35em; max-width: 78ch; }

@media (max-width: 62rem) {
  .hero__top, .sec, .night__head { grid-template-columns: minmax(0, 1fr); }
  /* the hero stacks: the words on the night colour, then the scene, then the readout */
  main > section.hero { min-height: 0; }
  .hero__top { align-items: start; }
  .hero__in { padding-bottom: 2rem; }
  .hero__art { position: relative; z-index: 0; aspect-ratio: 16 / 9; }
  .hero__slip { flex-direction: column-reverse; align-items: stretch; padding-block: 0 1.25rem; }
  .motion { align-self: flex-start; }
  .readout { width: 100%; margin-top: -2.5rem; position: relative; }
  .sec__side { position: static; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 0.75rem; }
  .sec__head { max-width: 24ch; }
  .engraving { flex: none; width: calc(var(--w) * 0.55); margin-top: 0; }
  .evidence { grid-template-columns: minmax(0, 1fr); }
  .evidence__group:first-child { padding-right: 0; border-right: 0; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .evidence__group:last-child { padding-left: 0; }
}
@media (max-width: 40rem) {
  .top__nav { display: none; }
  .top__row { min-height: 4rem; }
  .top__logo svg { height: 2.1rem; }
  .lang { border-left: 0; padding-left: 0; }
  .btn { width: 100%; }
  .hero__art { aspect-ratio: 4 / 3; }
  .how, .stat, .rows__row, .facts li, .who > div, .cost, .unsure-row { grid-template-columns: minmax(0, 1fr); }
  .charts { gap: 1.25rem; }
  .plate__img img { aspect-ratio: 3 / 2; object-fit: cover; }
  .plate--jocotitlan img { object-position: 30% 50%; }
}
