/* christophtrattner.com — one stylesheet for the whole site.

   The idea: claims on the left, evidence on the right.
   Main text sits in the wide column; sources, figures and links sit in the
   margin column beside the statement they support.

   White paper, black ink, one colour: blue. Blue is never a background for a
   page or a band. It marks what carries a claim (the three verbs of the
   headline and their notes, the figures of the record), what the evidence
   says, and it answers interaction (buttons, hover, focus, selected option).

   1 Fonts   2 Tokens   3 Base   4 Layout   5 Header & footer
   6 Page heads   7 Rows & margin notes   8 Components
   9 Page-specific   10 Motion   11 Print                                   */


/* 1 Fonts — hosted with the site, no third-party requests ---------------- */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  src: url("fonts/newsreader-latin-roman.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  src: url("fonts/newsreader-latin-ext-roman.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 650;
  font-display: swap;
  src: url("fonts/newsreader-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 650;
  font-display: swap;
  src: url("fonts/newsreader-latin-ext-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/libre-franklin-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/libre-franklin-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* 2 Tokens ---------------------------------------------------------------- */

:root {
  --paper: #ffffff;
  --ink: #0f1b2d;        /* deep navy ink in place of pure black: 17:1 on paper */
  --graphite: #4f5b6b;   /* secondary text, a cool slate, 7:1 on paper */
  --line: #d8dee8;       /* quiet dividers */
  --fog: #f3f5f8;        /* figure wells */
  --blue: #1d4f8f;       /* the one colour, deep and quiet: 8:1 on paper. For links, the main button and key marks */
  --tint: #e8eff8;       /* a breath of blue on paper: hover, panels */
  --mark: #cfdcf0;       /* a marked finding */
  --accent: var(--blue); /* buttons, markers, rules that carry emphasis */
  --on-accent: #ffffff;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.1875rem;
  --t-lg: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --t-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --t-h2: clamp(2rem, 1.3rem + 2.5vw, 3.125rem);
  --t-h1: clamp(2.5rem, 1.2rem + 5.4vw, 4.75rem);
  --t-hero: clamp(2.75rem, 0.9rem + 4.7vw, 4.75rem);

  --wrap: 78rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --gutter: 8.5rem;      /* dates, years, step numbers */
  --margin: 18rem;       /* the evidence column */
  --gap: clamp(1.5rem, 3vw, 2.75rem);
  --measure: 34em;
  --header-h: 4rem;
}


/* 3 Base ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-base)/1.55 var(--serif);
  font-feature-settings: "liga", "pnum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
strong, b { font-weight: 600; }
blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: var(--blue); color: #fff; }

/* Links are underlined; hovering marks them like a highlighter. */
a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.2em;
  background-image: linear-gradient(var(--tint), var(--tint));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.18s ease-out;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
a:hover { background-size: 100% 100%; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}
a:focus-visible { background-size: 100% 100%; }
/* Links on dark panels: the hover and focus highlight is a faint light wash there, so that white text stays readable.
   :where() keeps this as weak as the rule above, so buttons and links with their own background keep it. */
:where(.same-card.is-lead, .ft.no-pic.ft--lead, .bk-drawn, .invite--dark, .live, .pulse, .mf-end, .preview-note, .band, .now, .join, .talk3) a {
  background-image: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16));
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--pad); top: -4rem;
  z-index: 100;
  padding: 0.6em 0.9em;
  background: var(--blue);
  color: #fff;
  font: 600 var(--t-sm)/1 var(--sans);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.sans { font-family: var(--sans); }
.small { font-size: var(--t-sm); }
.muted { color: var(--graphite); }
.nowrap { white-space: nowrap; }

/* A marked passage: what the evidence says. */
.marked {
  background-image: linear-gradient(transparent 54%, var(--mark) 54%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}


/* 4 Layout ---------------------------------------------------------------- */

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

.section {
  border-top: 1px solid var(--ink);
  padding-block: 1.5rem clamp(3.5rem, 7vw, 6rem);
}
.section--plain { border-top: 0; padding-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--margin);
  column-gap: var(--gap);
  align-items: baseline;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
.section-head h2 {
  font-size: var(--t-h2);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
}
.section-head p {
  max-width: var(--measure);
  margin: 0.85rem 0 0;
}
.section-head .aside { font: 400 var(--t-sm)/1.45 var(--sans); }
.section-head .aside p { margin: 0 0 0.3rem; }

/* Sub-heading inside a section */
.subhead {
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: clamp(2.5rem, 5vw, 3.75rem) 0 1.5rem;
}

.prose > p, .prose > ul, .prose > ol { max-width: var(--measure); }
.prose h3 { font-size: var(--t-h3); margin: 2.2rem 0 0.6rem; }
.prose h2 { font-size: var(--t-h2); font-weight: 400; letter-spacing: -0.018em; margin: 3rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }

.lead {
  font-size: var(--t-lg);
  line-height: 1.42;
  max-width: 30em;
}


/* 5 Header & footer ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand {
  font: 500 1.3125rem/1 var(--serif);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem clamp(0.6rem, 1.05vw, 1.05rem);
  font: 400 var(--t-sm)/1.2 var(--sans);
}
.nav a {
  text-decoration: none;
  padding: 0.35em 0;   /* no side padding: with “Hunchpin” in the menu, those few pixels decide whether it fits on one line */
  white-space: nowrap;
}
.nav a[aria-current="page"] {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
}
.nav .nav-contact {
  padding: 0.6em 0.85em;
  margin-left: 0.25rem;
  background: var(--accent);
  background-image: none;
  color: var(--on-accent);
  border-radius: 2px;
  font-weight: 600;
  transition: background-color 0.15s, color 0.15s;
}
.nav .nav-contact:hover { background-color: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  font: 600 var(--t-sm)/1 var(--sans);
  padding: 0.7em 0.9em;
  background: none;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
}

@media (max-width: 75rem) {
  /* Without JavaScript the menu simply wraps under the name. */
  .site-header .wrap { flex-wrap: wrap; padding-block: 0.6rem; }
  .nav { justify-content: flex-start; width: 100%; }

  .js .nav-toggle { display: inline-block; }
  .js .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.75rem;
    font-size: 1.0625rem;
  }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 0.7em 0; border-top: 1px solid var(--line); }
  .js .nav a[aria-current="page"] { text-decoration-line: none; font-weight: 700; }
  .js .nav .nav-contact { margin: 0.75rem 0 0; padding: 0.85em 1em; border-top: 0; text-align: center; }
}

.site-footer {
  border-top: 6px solid var(--blue);
  padding-block: 2.25rem 3rem;
  font: 400 var(--t-sm)/1.5 var(--sans);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem var(--gap);
}
.site-footer h2 {
  font: 700 var(--t-sm)/1.3 var(--sans);
  margin-bottom: 0.7rem;
}
.site-footer p { max-width: 32em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.site-footer .footer-connect ul { columns: 1; }
.site-footer li { margin-bottom: 0.4rem; break-inside: avoid; }
.site-footer a { text-decoration: none; }
.site-footer .footer-legal {
  max-width: none;
  margin-top: 2.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--graphite);
  font-size: var(--t-xs);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 2rem;
}

.footer-grid > div { min-width: 0; }
.site-footer a { overflow-wrap: anywhere; }
@media (max-width: 48rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}


/* 6 Page heads ------------------------------------------------------------ */

.page-head { padding-block: clamp(2.25rem, 5.5vw, 4.75rem) clamp(2.5rem, 5vw, 4rem); }


.head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--margin);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.page-head h1 {
  font-size: var(--t-h1);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.024em;
  margin-bottom: 0.5em;
}
.page-head .where-am-i {
  font: 400 var(--t-sm)/1.3 var(--sans);
  color: var(--graphite);
  margin-bottom: 1.1rem;
}
.deck {
  font-size: var(--t-lg);
  line-height: 1.42;
  max-width: 30em;
  margin-bottom: 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  margin-top: 1.9rem;
  font: 400 var(--t-sm)/1.3 var(--sans);
}

.head-aside {
  font: 400 var(--t-sm)/1.45 var(--sans);
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
  margin-top: 0.6rem;
}
.head-aside h2 {
  font: 700 var(--t-sm)/1.3 var(--sans);
  margin-bottom: 0.8rem;
}
.head-aside ul, .head-aside ol { list-style: none; padding: 0; margin: 0; }
.head-aside li { margin-bottom: 0.85rem; }
.head-aside li:last-child { margin-bottom: 0; }
.head-aside .q { display: block; font: 400 1.125rem/1.3 var(--serif); margin-bottom: 0.15rem; }
.head-aside .k { display: block; color: var(--graphite); }

/* "On this page" */
.onpage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  font: 400 var(--t-sm)/1.4 var(--sans);
}
.onpage span { color: var(--graphite); }

/* Home hero: the footnoted headline beside the portrait, its notes below */
.hero { padding-block: clamp(2.25rem, 4.5vw, 4rem) clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 1fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.hero .portrait { justify-self: end; width: 100%; max-width: 27rem; }
.hero h1 {
  font-size: var(--t-hero);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.026em;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.hero h1 .w { display: inline-block; }
.hero h1 .key { color: var(--blue); }   /* the three verbs that carry a note */
/* From tablet width up the headline is set in five lines: the three verbs that
   carry a note stand one under the other. Phones wrap it as they need. */
@media (min-width: 40.01rem) { .hero h1 .ln { display: block; } }
.hero .who {
  font: 400 var(--t-sm)/1.5 var(--sans);
  color: var(--graphite);
  margin-bottom: 1rem;
}
.hero .deck { font-size: clamp(1.375rem, 1rem + 1.3vw, 1.875rem); line-height: 1.3; letter-spacing: -0.008em; max-width: 21em; }

.fn {
  display: inline-block;
  vertical-align: top;
  margin: 0.45em 0.12em 0 0.28em;
  padding: 0.12em 0.42em 0.1em;
  font: 700 max(0.205em, 0.75rem)/1 var(--sans);
  letter-spacing: 0;
  text-decoration: none;
  background: var(--accent);
  background-image: none;
  color: var(--on-accent);
  border-radius: 2px;
  transition: background-color 0.15s, color 0.15s;
}
.fn:hover, .fn:focus-visible { background-color: var(--ink); color: #fff; }

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--fog);
}
.portrait figcaption {
  margin-top: 0.7rem;
  font: 400 var(--t-sm)/1.45 var(--sans);
}
.portrait figcaption span { color: var(--graphite); }

/* Four facts under the headline and portrait, like the credits on a poster */
.glance {
  list-style: none;
  padding: 0;
  margin: clamp(2rem, 4vw, 3.25rem) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap);
  font: 400 var(--t-sm)/1.4 var(--sans);
}
.glance li { margin: 0; padding: 0.7rem 0 0; border-top: 1px solid var(--line); }
.glance a { text-decoration: none; display: block; }
.glance b { font-weight: 700; display: block; }

/* The notes to the headline, under a short rule */
.footnotes {
  position: relative;
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 1.1rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem var(--gap);
  font: 400 var(--t-sm)/1.45 var(--sans);
}
.footnotes::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 7.5rem;
  border-top: 1px solid var(--ink);
}
.footnotes li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.7rem;
  margin: 0;
  max-width: 24rem;
}
.footnotes .n {
  align-self: start;
  padding: 0.08em 0.42em;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 2px;
  font-weight: 700;
  transition: background-color 0.15s;
}
.footnotes b { font-weight: 700; }
.footnotes .src { color: var(--graphite); display: block; }
/* A marker in the headline and its note light up together. */
.footnotes li:target .n,
.hero:has(.fn[href="#note-1"]:is(:hover, :focus-visible)) #note-1 .n,
.hero:has(.fn[href="#note-2"]:is(:hover, :focus-visible)) #note-2 .n,
.hero:has(.fn[href="#note-3"]:is(:hover, :focus-visible)) #note-3 .n { background: var(--ink); color: #fff; }
.hero:has(#note-1:hover) .fn[href="#note-1"],
.hero:has(#note-2:hover) .fn[href="#note-2"],
.hero:has(#note-3:hover) .fn[href="#note-3"] { background-color: var(--ink); color: #fff; }


/* 7 Rows & margin notes ---------------------------------------------------- */

.rows { display: grid; row-gap: clamp(1.75rem, 3.2vw, 2.6rem); }

.row {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--margin);
  column-gap: var(--gap);
  align-items: start;
}
.row--nogutter { grid-template-columns: minmax(0, 1fr) var(--margin); }

.when {
  font: 400 var(--t-sm)/1.4 var(--sans);
  color: var(--graphite);
  padding-top: 0.32rem;
}
.when b, .when time { color: var(--ink); font-weight: 600; display: block; }

.what > :last-child { margin-bottom: 0; }
.what h3 {
  font-size: var(--t-h3);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.45rem;
}
.what h3 a { text-decoration-thickness: 1px; text-decoration-color: #98a1ae; }
.what h3 a:hover { text-decoration-color: var(--ink); }
.what p, .what ul, .what ol { max-width: var(--measure); }
.what .kind {
  font: 400 var(--t-sm)/1.4 var(--sans);
  color: var(--graphite);
  margin-bottom: 0.3rem;
}
.what .kind b { color: var(--ink); font-weight: 700; }
.what .byline, .what .cite {
  font: 400 var(--t-sm)/1.5 var(--sans);
  color: var(--graphite);
}
.what .role {
  font: 400 var(--t-sm)/1.5 var(--sans);
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
}
.what .role b { font-weight: 700; }

/* The margin column: sources, links, figures */
.where {
  font: 400 var(--t-sm)/1.45 var(--sans);
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}
.where > :last-child { margin-bottom: 0; }
.where ul { list-style: none; padding: 0; margin: 0; }
.where li { margin-bottom: 0.4rem; }
.where p { margin-bottom: 0.5rem; }
.where .src { color: var(--graphite); }
.where--bare { border-left: 0; padding-left: 0; }

@media (max-width: 64rem) {
  .row { grid-template-columns: var(--gutter) minmax(0, 1fr); }
  .row > .where { grid-column: 2; margin-top: 1rem; }
  .row--nogutter { grid-template-columns: minmax(0, 1fr); }
  .row--nogutter > .where { grid-column: 1; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head .aside { margin-top: 1rem; }
  .head-grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
  .head-aside { margin-top: 0; max-width: 34rem; }
}
@media (max-width: 40rem) {
  :root { --t-base: 1.125rem; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row > .where { grid-column: 1; }
  .when { padding-top: 0; margin-bottom: 0.35rem; }
  .when b, .when time { display: inline; margin-right: 0.5em; }
}


/* 8 Components ------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.85em 1.15em;
  background: var(--accent);
  background-image: none;
  color: var(--on-accent);
  font: 600 var(--t-sm)/1 var(--sans);
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn:hover { background-color: var(--ink); color: #fff; }
.btn[disabled] { background: var(--fog); color: var(--graphite); cursor: not-allowed; }
.btn--line { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.linklike {
  font: 400 var(--t-sm)/1.3 var(--sans);
  background: none; border: 0; padding: 0;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.linklike:hover { background: var(--tint); }

/* Figures sit in a quiet well; paper figures blend into it. */
.fig { background: var(--fog); padding: 0.6rem; }
.fig img { display: block; width: 100%; height: auto; }
.fig--paper img { mix-blend-mode: multiply; }
.fig a { display: block; background-image: none; }
.fig-cap, figcaption.fig-cap {
  margin-top: 0.55rem;
  font: 400 var(--t-xs)/1.4 var(--sans);
  color: var(--graphite);
}

/* A short facts panel, set like a label */
.facts {
  border-top: 6px solid var(--blue);
  border-bottom: 1px solid var(--ink);
  font: 400 var(--t-sm)/1.35 var(--sans);
}
.facts h3 {
  font: 700 1.375rem/1.1 var(--sans);
  letter-spacing: -0.01em;
  padding: 0.6rem 0 0.55rem;
  border-bottom: 1px solid var(--ink);
}
.facts dl { margin: 0; }
.facts dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.facts dl > div:last-child { border-bottom: 0; }
.facts dt a { text-decoration: none; }
.facts dd { margin: 0; font-weight: 700; white-space: nowrap; font-feature-settings: "tnum"; }
.facts .facts-foot {
  margin: 0;
  padding: 0.55rem 0 0.6rem;
  border-top: 1px solid var(--ink);
  color: var(--graphite);
  font-size: var(--t-xs);
}

/* The record: the facts, set large in blue */
.record-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.25rem var(--gap);
}
.record-grid > div {
  display: flex;
  flex-direction: column-reverse;   /* the figure stands above its label */
  justify-content: flex-end;
  border-top: 1px solid var(--ink);
  padding-top: 0.9rem;
}
.record-grid dd {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font: 400 clamp(2.5rem, 1.4rem + 3vw, 4rem)/1 var(--serif);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.record-grid dd .unit { font: 600 0.28em/1 var(--sans); letter-spacing: 0.02em; margin-right: 0.15em; }
.record-grid dt { font: 400 var(--t-sm)/1.4 var(--sans); max-width: 15rem; }
@media (max-width: 64rem) { .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Recognition: a short list of honours beside the biography */
.recog { list-style: none; padding: 0; margin: 0 0 0.7rem; }
.recog li { margin: 0; padding: 0.45rem 0; border-top: 1px solid var(--line); }
.recog li:last-child { border-bottom: 1px solid var(--line); }

/* Plain list of themes, topics and similar short items */
.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  font: 400 var(--t-sm)/1.5 var(--sans);
}
.tags li { display: inline; margin: 0; }
.tags li + li::before { content: ", "; content: ", " / ""; }

/* Definition-style blocks: a term, then what it means */
.defs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.9rem var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.defs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.defs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.defs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.defs > li, .defs > div, .defs > article { margin: 0; }
.defs h3 {
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.22;
  margin-bottom: 0.4rem;
}
.defs p { margin-bottom: 0.5rem; }
.defs p:last-child { margin-bottom: 0; }
.defs .note {
  font: 400 var(--t-sm)/1.45 var(--sans);
  color: var(--graphite);
}
.defs .note b { color: var(--ink); }

/* A real sequence: numbered steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.75rem var(--gap);
}
.steps > li {
  counter-increment: step;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--ink);
}
.steps > li::before {
  content: counter(step);
  display: block;
  font: 700 var(--t-sm)/1 var(--sans);
  margin-bottom: 0.75rem;
}
.steps b, .steps strong {
  display: block;
  font: 500 1.3125rem/1.2 var(--serif);
  margin-bottom: 0.3rem;
}
.steps span { display: block; font-size: 1.0625rem; line-height: 1.45; }

/* Years down the side */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--margin);
  column-gap: var(--gap);
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.timeline > li:first-child { border-top: 0; padding-top: 0; }
.timeline .year { font: 400 2rem/1 var(--serif); letter-spacing: -0.02em; }
.timeline h3 { font-size: var(--t-h3); margin-bottom: 0.35rem; }
.timeline p { max-width: var(--measure); margin-bottom: 0; }

/* Ledger: dated records such as grants, awards and courses */
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger > li {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--margin);
  column-gap: var(--gap);
  padding-block: 0.95rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.ledger > li:first-child { border-top: 0; padding-top: 0; }
.ledger .yr { font: 600 var(--t-sm)/1.5 var(--sans); padding-top: 0.2rem; }
.ledger .item { font-size: 1.125rem; line-height: 1.42; max-width: 36em; }
.ledger .item b { font-weight: 600; }
.ledger .item .more {
  display: block;
  margin-top: 0.25rem;
  font: 400 var(--t-sm)/1.5 var(--sans);
  color: var(--graphite);
}
.ledger .amt { font: 400 var(--t-sm)/1.45 var(--sans); padding-top: 0.2rem; }
.ledger .amt b { font-weight: 700; display: block; }
.ledger .amt span { color: var(--graphite); }
.ledger--compact > li { padding-block: 0.6rem; grid-template-columns: var(--gutter) minmax(0, 1fr); }

.callout {
  border-left: 3px solid var(--accent);
  padding: 0.1rem 0 0.1rem 1.1rem;
  max-width: 40em;
}
.callout > :last-child { margin-bottom: 0; }

.principle {
  font: 400 var(--t-lg)/1.4 var(--serif);
  max-width: 28em;
}

/* Closing invitation at the end of a page */
.invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--margin);
  column-gap: var(--gap);
  align-items: end;
}
.invite h2 { font-size: var(--t-h2); font-weight: 400; letter-spacing: -0.018em; margin-bottom: 0.6rem; }
.invite p { max-width: var(--measure); margin-bottom: 0; }
.invite .actions { margin-top: 0; }

@media (max-width: 64rem) {
  .defs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline > li, .ledger > li { grid-template-columns: var(--gutter) minmax(0, 1fr); }
  .timeline > li > :nth-child(3), .ledger > li > :nth-child(3) { grid-column: 2; margin-top: 0.5rem; }
  .invite { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
}
@media (max-width: 48rem) {
  .defs--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .defs--2, .defs--4 { grid-template-columns: minmax(0, 1fr); }
  .timeline > li, .ledger > li, .ledger--compact > li { grid-template-columns: minmax(0, 1fr); }
  .timeline > li > :nth-child(3), .ledger > li > :nth-child(3) { grid-column: 1; }
  .timeline .year { margin-bottom: 0.5rem; }
}


/* 9 Page-specific ----------------------------------------------------------- */

/* Home */
@media (max-width: 54rem) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0.9rem; }
  .footnotes { grid-template-columns: minmax(0, 1fr); }
  .footnotes li { max-width: 34rem; }
}
/* Tablets keep the cover: the five lines beside the portrait, set a little smaller */
@media (min-width: 40.01rem) and (max-width: 54rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.4rem, 6.2vw, 3.4rem); }
}
@media (max-width: 40rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
  .hero .portrait { max-width: 20rem; justify-self: start; }
}
/* On a phone the portrait spans the column, like the rules under it */
@media (max-width: 30rem) { .hero .portrait { max-width: none; } }

.study .q { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.12; margin-bottom: 0.7rem; }
.study .finding { font-size: 1.1875rem; font-weight: 500; line-height: 1.4; margin-bottom: 0.5rem; }

/* The fictional case: a claim and a confident reply */
.case-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.case-card { border: 1px solid var(--ink); padding: 1.15rem 1.25rem 1.25rem; }
.case-card--reply { border-color: var(--line); background: var(--fog); }
.case-card .label {
  font: 700 var(--t-sm)/1.3 var(--sans);
  margin-bottom: 0.7rem;
}
.case-card .big { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem); line-height: 1.28; margin-bottom: 0; }
.case-card .verdict { font: 700 1.25rem/1.2 var(--sans); margin-bottom: 0.4rem; }
.case-card .aside-note { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin: 0.8rem 0 0; }
.case-card p:last-child { margin-bottom: 0; }
@media (max-width: 40rem) { .case-pair { grid-template-columns: minmax(0, 1fr); } }

/* The research in one scroll (agenda.html): a rail of seven stops, thin lines, one blue */
.ag-kicker { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); margin: 0 0 1rem; }
.ag-head h1 { max-width: 16em; }
.ag { position: relative; display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: var(--gap); border-top: 1px solid var(--ink); }
.ag-rail { grid-column: 1; grid-row: 1 / span 20; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; padding-top: 2rem; font: 400 var(--t-sm)/1.3 var(--sans); }
.ag-rail ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); counter-reset: ag; }
.ag-rail li { margin: 0; counter-increment: ag; }
.ag-rail a { display: block; padding: 0.5rem 0 0.5rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--graphite); text-decoration: none; background-image: none; }
.ag-rail a::before { content: counter(ag) "  "; font-variant-numeric: tabular-nums; }
.ag-rail a:hover { color: var(--ink); }
.ag-rail a[aria-current="true"] { color: var(--ink); font-weight: 600; border-left-color: var(--blue); }
.ag-stop { grid-column: 2; padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 0.5rem); }
.ag-stop:first-of-type { border-top: 0; }
.ag-no { font: 700 var(--t-sm)/1 var(--sans); color: #fff; background: var(--blue); display: inline-block; padding: 0.3em 0.55em; border-radius: 2px; margin: 0 0 1.1rem; }
.ag-stop h2 { font-size: var(--t-h2); font-weight: 400; letter-spacing: -0.018em; line-height: 1.06; max-width: 17em; margin: 0; text-wrap: balance; }
.ag-lede { font-size: var(--t-lg); line-height: 1.4; max-width: 32em; margin: 1.1rem 0 0; }
.ag-src { font: 400 var(--t-sm)/1.45 var(--sans); margin: 1.5rem 0 0; }
.ag-src .src { color: var(--graphite); margin-left: 0.4em; }
.ag button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

.ag-steps { position: relative; margin-top: 2.75rem; }
.ag-line { position: absolute; left: 0; right: 0; top: 0.3rem; width: 100%; height: 0.75rem; }
.ag-line line { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ag-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.5rem; counter-reset: st; }
.ag-steps li { margin: 0; counter-increment: st; position: relative; padding-top: 1.9rem; }
.ag-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); transition: background-color 0.2s; }
.ag-steps li.is-on::before { background: var(--blue); box-shadow: none; }
.ag-steps button b { font: 500 var(--t-h3)/1.15 var(--serif); display: block; }
.ag-steps button b::before { content: counter(st) ". "; color: var(--graphite); font: 400 var(--t-sm)/1 var(--sans); }
.ag-steps button:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.ag-steps p { font: 400 var(--t-sm)/1.5 var(--sans); margin: 0.6rem 0 0; max-width: 20em; }
.js .ag-steps li:not(.is-on) p { color: var(--graphite); }

.ag-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); margin-top: 2.5rem; align-items: start; }
.ag-map { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ag .ag-dom { padding: 1.25rem 1.1rem 1.4rem; box-shadow: inset 0 0 0 1px var(--ink); min-height: 9.5rem; display: flex; flex-direction: column; justify-content: flex-end; transition: background-color 0.15s, color 0.15s; }
.ag-dom--b { margin-left: -1px; }
.ag .ag-dom--base { grid-column: 1 / -1; min-height: 0; margin-top: -1px; padding-block: 1rem; }
.ag-dom b { font: 500 var(--t-h3)/1.15 var(--serif); display: block; }
.ag-dom span { font: 400 var(--t-sm)/1.35 var(--sans); color: var(--graphite); margin-top: 0.3rem; }
.ag-dom:hover { background: var(--tint); }
.ag-dom[aria-selected="true"] { background: var(--ink); color: #fff; }
.ag-dom[aria-selected="true"] span { color: #fff; }
.ag-panels .ag-q, .ag-three-line { font: 400 var(--t-lg)/1.3 var(--serif); margin: 0 0 0.9rem; }
.ag-panels p { max-width: 30em; }
.no-js .ag-panels [hidden] { display: block; margin-top: 1.5rem; }

.ag-cards { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; counter-reset: card; }
.ag-cards > li { margin: 0; border: 1px solid var(--ink); padding: 1.25rem 1.3rem 1.4rem; counter-increment: card; display: flex; flex-direction: column; }
.ag-card-q { font: 400 var(--t-lg)/1.3 var(--serif); margin: 0 0 1.25rem; }
.ag-card-btns { display: flex; gap: 0.6rem; margin-top: auto; }
.ag .ag-card-btns button { font: 600 var(--t-sm)/1 var(--sans); padding: 0.85em 1.6em; box-shadow: inset 0 0 0 1px var(--ink); border-radius: 2px; }
.ag .ag-card-btns button:hover { background: var(--tint); }
.ag-cards > li.is-done { border-color: var(--line); }
.ag-cards > li.is-done.is-hit { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.ag-mine { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0 0 0.6rem; }
.is-hit .ag-mine { color: var(--blue); }
.ag-found { font-size: 1.125rem; line-height: 1.4; margin: 0; }
.ag-card-a .ag-src { margin-top: 0.8rem; }
.no-js .ag-card-a[hidden] { display: block; }
.ag-tally { font: 600 1.0625rem/1.4 var(--sans); margin: 1.5rem 0 0; min-height: 1.4em; }

.ag-three { margin-top: 2.25rem; display: grid; grid-template-columns: repeat(3, minmax(0, 12rem)); gap: 0; }
.ag .ag-three button { padding: 1rem 1.1rem; box-shadow: inset 0 0 0 1px var(--ink); margin-right: -1px; transition: background-color 0.15s, color 0.15s; }
.ag-three button b { font: 500 var(--t-h3)/1.15 var(--serif); }
.ag-three button:hover { background: var(--tint); }
.ag-three button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ag-three-line { grid-column: 1 / -1; margin: 1.5rem 0 0; max-width: 26em; min-height: 2.6em; }

.ag-cases { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.ag-cases li { margin: 0; border-top: 1px solid var(--ink); padding-top: 1rem; }
.ag-who { font: 400 var(--t-sm)/1.3 var(--sans); color: var(--graphite); margin: 0 0 0.5rem; }
.ag-cases h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.18; margin: 0 0 0.5rem; }
.ag-cases li p:last-child { font: 400 var(--t-sm)/1.5 var(--sans); margin: 0; }

.ag-figures { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--gap); }
.ag-figures li { margin: 0; border-top: 1px solid var(--ink); padding-top: 0.8rem; }
.ag-figures b { display: block; font: 400 clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ag-figures span { display: block; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin-top: 0.5rem; max-width: 16em; }

.ag-try { margin-top: 2.25rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ag-door { display: block; border: 1px solid var(--ink); padding: 1.2rem 1.25rem 1.4rem; text-decoration: none; background-image: none; color: var(--ink); transition: background-color 0.15s, color 0.15s; }
.ag-door b { display: block; font: 500 var(--t-h3)/1.15 var(--serif); margin-bottom: 0.5rem; }
.ag-door span { font: 400 var(--t-sm)/1.45 var(--sans); }
.ag-door:hover { background: var(--blue); color: #fff; }
.ag-stop--last { padding-bottom: clamp(4rem, 9vw, 7rem); }

.js .ag-stop > * { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.js .ag-stop.is-seen > * { opacity: 1; transform: none; }
.js .ag-stop.is-seen > :nth-child(3) { transition-delay: 0.08s; } .js .ag-stop.is-seen > :nth-child(n+4) { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) { .js .ag-stop > * { opacity: 1; transform: none; transition: none; } }

@media (max-width: 64rem) {
  .ag { grid-template-columns: minmax(0, 1fr); }
  .ag-rail { display: none; }
  .ag-stop { grid-column: 1; }
  .ag-fields { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
}
@media (max-width: 48rem) {
  .ag-steps ol { grid-template-columns: minmax(0, 1fr); row-gap: 1.4rem; padding-left: 1.6rem; border-left: 1px solid var(--ink); margin-left: 0.4rem; }
  .ag-line { display: none; }
  .ag-steps li { padding-top: 0; }
  .ag-steps li::before { left: -2.05rem; top: 0.35rem; }
  .ag-cards, .ag-cases, .ag-try { grid-template-columns: minmax(0, 1fr); }
  .ag-cases { row-gap: 1.75rem; }
  .ag-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ag .ag-three button { padding: 0.85rem 0.6rem; }
  .ag-three button b { font-size: 1.0625rem; }
  .ag-map { grid-template-columns: minmax(0, 1fr); }
  .ag .ag-dom { min-height: 0; } .ag-dom--b { margin-left: 0; margin-top: -1px; }
}
@media print { .ag-rail { display: none; } .ag { display: block; } .ag-card-a[hidden], .ag-panels [hidden] { display: block !important; } }

/* The research in one picture: a drawn map with six stations on a blue line */
.ag--plain { display: block; }
.ag--plain .ag-stop { border-top: 1px solid var(--line); }
.ag-poster { display: grid; grid-template-columns: minmax(0, 31rem) minmax(0, 1fr); column-gap: var(--gap); align-items: start; padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.ag-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ag-road { fill: none; stroke: var(--line); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 12; }
.ag-road--go { stroke: var(--blue); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ag-st { cursor: pointer; outline: none; text-decoration: none; background-image: none; }
.ag-st text { text-decoration: none; }
.ag-t, .ag-s { paint-order: stroke; stroke: var(--paper); stroke-width: 7px; stroke-linejoin: round; }
.ag-blob { fill: var(--fog); transition: fill 0.2s; }
.ag-ring { fill: none; stroke: var(--blue); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ag-art { transition: transform 0.25s cubic-bezier(0.2, 1.3, 0.4, 1); transform-box: fill-box; transform-origin: center; }
.ag-st:hover .ag-art, .ag-st:focus-visible .ag-art { transform: scale(1.06); }
.ag-st:hover .ag-blob, .ag-st:focus-visible .ag-blob { fill: var(--tint); }
.ag-st:focus-visible .ag-ring { opacity: 1; }
.ag-st.is-on .ag-blob { fill: var(--mark); }
.ag-st.is-on .ag-ring { opacity: 1; }
.ag-art .w { fill: #fff; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ag-art .wb { fill: #fff; stroke: var(--blue); stroke-width: 3.5; stroke-linejoin: round; }
.ag-art .l { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ag-art .lb { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ag-art .t { fill: var(--tint); } .ag-art .t2 { fill: var(--mark); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.ag-art .b { fill: var(--blue); } .ag-art .b2 { fill: var(--blue); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.ag-art .i { fill: var(--ink); } .ag-art .d { fill: var(--ink); }
.ag-art .k { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; } .ag-art .k2 { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.ag-art .q { font: 700 34px var(--sans); fill: var(--blue); } .ag-art .off { font: 700 24px var(--sans); fill: var(--graphite); }
.ag-badge rect { fill: var(--blue); } .ag-badge text { font: 700 19px var(--sans); fill: #fff; }
.ag-t { font: 500 34px var(--serif); fill: var(--ink); letter-spacing: -0.01em; }
.ag-s { font: 400 22px var(--sans); fill: var(--graphite); }
.ag-sheet { position: sticky; top: calc(var(--header-h) + 2rem); border-top: 1px solid var(--ink); padding-top: 1.25rem; min-height: 18rem; }
.ag-hint { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin: 0; }
.ag-panel h3 { font: 400 var(--t-h3)/1.2 var(--serif); letter-spacing: -0.01em; margin: 0 0 0.9rem; max-width: 22em; }
.ag-panel p { max-width: 32em; }
.ag-panel .ag-src { margin-top: 0.7rem; }
.ag-mini { margin: 0.9rem 0 0; padding-left: 1.2rem; font: 400 var(--t-sm)/1.5 var(--sans); max-width: 34em; }
.ag-mini li { margin-bottom: 0.4rem; }
.ag .ag-close { font: 600 var(--t-sm)/1 var(--sans); padding: 0.7em 0.9em; box-shadow: inset 0 0 0 1px var(--ink); border-radius: 2px; display: block; margin: 0 0 0.75rem auto; position: relative; z-index: 2; }
.js .ag-panel { display: none; }
.js .ag-panel.is-on { display: block; animation: ag-in 0.3s ease-out both; }
.js .ag-sheet.has-one .ag-hint { display: none; }
.no-js .ag-hint { display: none; } .no-js .ag-panel { margin-bottom: 2.25rem; }
@keyframes ag-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .ag-road--go { animation: ag-draw 3.2s ease-in-out 0.3s both; }
  .js .ag-st { opacity: 0; animation: ag-in 0.5s ease-out both; }
  .js .ag-st:nth-of-type(1) { animation-delay: 0.3s; } .js .ag-st:nth-of-type(2) { animation-delay: 0.8s; } .js .ag-st:nth-of-type(3) { animation-delay: 1.3s; }
  .js .ag-st:nth-of-type(4) { animation-delay: 1.8s; } .js .ag-st:nth-of-type(5) { animation-delay: 2.3s; } .js .ag-st:nth-of-type(6) { animation-delay: 2.8s; }
  .js .ag-st:not(.is-seen):not(.is-on) .ag-ring { animation: ag-pulse 2.4s ease-out 3.6s infinite; }
}
@keyframes ag-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ag-pulse { 0% { opacity: 0.7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.14); } }
@media (max-width: 64rem) {
  .ag-poster { grid-template-columns: minmax(0, 1fr); }
  .ag-canvas { max-width: 30rem; margin-inline: auto; width: 100%; }
  .js .ag-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 30; background: var(--paper); border-top: 2px solid var(--ink); padding: 1rem var(--pad) 1.4rem; max-height: 62vh; overflow-y: auto; min-height: 0; transform: translateY(105%); transition: transform 0.28s ease-out; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12); }
  .js .ag-sheet.has-one { transform: none; }
  .js .ag-hint { display: none; }
  .no-js .ag-sheet { position: static; margin-top: 2rem; }
}
@media (min-width: 64.01rem) { .ag .ag-close { display: none; } }

.ag-strip-wide .ag-s { display: none; }
.ag-strip-wide .ag-t { font-size: 27px; }
.ag-strip-wide { margin-bottom: -1.5rem; }
.ag-strip-tall { display: none; max-width: 30rem; margin-inline: auto; }
.ag-front .section-head { align-items: end; }
@media (max-width: 54rem) { .ag-strip-wide { display: none; } .ag-strip-tall { display: block; } }

.talk-thumb { margin: 1rem 0 0; max-width: 26rem; }
.talk-thumb img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }

/* Yesterday's edition of the game, filled in from the game's own totals */
.live { margin-top: 2rem; border-top: 1px solid var(--ink); padding-top: 1rem; }
.live-h { font: 500 var(--t-h3)/1.2 var(--serif); margin: 0 0 1rem; }
.live-h .muted { font: 400 var(--t-sm)/1 var(--sans); margin-left: 0.5em; }
.live-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; }
.live-facts li { margin: 0; }
.live-facts b { display: block; font: 400 clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem)/1 var(--serif); letter-spacing: -0.02em; }
.live-facts span { display: block; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin-top: 0.35rem; }
.live-hard { font: 400 var(--t-sm)/1.5 var(--sans); margin: 1.25rem 0 0; max-width: 44rem; }
.live-hard a { font: 500 1.125rem/1.3 var(--serif); }

/* Lab page: questions, fields and methods, all in view */
.lab-ico { width: 2.25rem; height: 2.25rem; flex: none; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lab-qs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lab-qs li { margin: 0; padding: 2rem 2rem 2.25rem; background: var(--paper); transition: background 0.2s; }
.lab-qs li:hover { background: var(--fog); }
.lab-qs h3 { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--graphite); margin: 1.1rem 0 0.5rem; }
.lab-qs p { font: 400 var(--t-h3)/1.3 var(--serif); color: var(--ink); margin: 0; max-width: 26em; }
.lab-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; }
.lab-sub { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--graphite); margin: 0 0 0.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--ink); }
.lab-rows { list-style: none; margin: 0; padding: 0; }
.lab-rows li { display: flex; gap: 1.1rem; margin: 0; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.lab-rows h4 { font: 500 var(--t-h4, 1.25rem)/1.25 var(--serif); margin: 0 0 0.3rem; }
.lab-rows p { margin: 0; color: var(--graphite); font-size: var(--t-sm); line-height: 1.5; }
.lab-links { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lab-links li { margin: 0; }
.lab-links a { display: block; height: 100%; padding: 1.25rem 1.4rem; background: var(--fog); color: var(--ink); text-decoration: none; border-left: 3px solid var(--blue); }
.lab-links a:hover { background: var(--tint); }
.lab-links b { display: block; font: 500 1.2rem/1.25 var(--serif); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.lab-links span { display: block; margin-top: 0.4rem; font-size: var(--t-sm); line-height: 1.5; color: var(--graphite); }
@media (max-width: 860px) { .lab-qs, .lab-two, .lab-links { grid-template-columns: minmax(0, 1fr); } .lab-two { gap: 2.5rem; } .lab-qs li { padding: 1.5rem 1.25rem; } }

/* Lists that become a row of buttons with one panel (data-pick) */
.pick-tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 1.75rem; }
.pick-tabs button { font: 500 1.125rem/1.2 var(--serif); color: var(--ink); background: none; border: 0; padding: 0.85rem 1.1rem; margin: 0 -1px -1px 0; box-shadow: inset 0 0 0 1px var(--ink); cursor: pointer; text-align: left; transition: background-color 0.15s, color 0.15s; }
.pick-tabs button:hover { background: var(--tint); }
.pick-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.js ul.defs[data-pick].is-pick { display: block; }
.js ul.defs[data-pick].is-pick > li { display: none; max-width: 40rem; border-left: 3px solid var(--blue); padding-left: 1.25rem; }
.js ul.defs[data-pick].is-pick > li.is-on { display: block; animation: ag-in 0.3s ease-out both; }
.js ul.defs[data-pick].is-pick > li > h3 { font-size: var(--t-h3); margin-bottom: 0.6rem; }
.js ul.defs[data-pick].is-pick > li > p:not(.note) { font-size: var(--t-lg); line-height: 1.4; }

/* Steps as a route: stations on a line, one step shown at a time (data-route) */
.route { --n: 4; --k: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: start; margin: 0 0 2rem; max-width: 62rem; }
.route-line { position: absolute; top: 1.2rem; left: 1.25rem; width: calc(100% / var(--n) * (var(--n) - 1)); height: 2px; background: var(--line); }
.route-fill { display: block; height: 100%; width: calc(var(--k) / (var(--n) - 1) * 100%); background: var(--blue); transition: width 0.35s ease-out; }
.route button { position: relative; display: block; text-align: left; background: none; border: 0; padding: 0 0.75rem 0 0; cursor: pointer; color: var(--graphite); font: 400 var(--t-sm)/1.3 var(--sans); }
.route-n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); font: 700 var(--t-sm)/1 var(--sans); color: var(--ink); margin-bottom: 0.6rem; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.route button.is-past .route-n { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); }
.route button[aria-selected="true"] { color: var(--ink); }
.route button[aria-selected="true"] .route-n { background: var(--blue); color: #fff; box-shadow: none; }
.route button:hover .route-n { box-shadow: inset 0 0 0 2px var(--ink); }
.js ol.steps.is-route { display: block; }
.js ol.steps.is-route > li { display: none; border: 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--blue); max-width: 40rem; }
.js ol.steps.is-route > li::before { content: none; }
.js ol.steps.is-route > li.is-on { display: block; animation: ag-in 0.3s ease-out both; }
.js ol.steps.is-route > li strong { font-size: var(--t-h3); margin-bottom: 0.5rem; }
.js ol.steps.is-route > li span { font-size: var(--t-lg); line-height: 1.4; }
.route-next { margin-top: 1.5rem; font: 600 var(--t-sm)/1 var(--sans); color: var(--blue); background: none; border: 0; padding: 0.6rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 48rem) { .route-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .route button { padding: 0; } }

/* Services: the photo in the head, the offer list, the wall of venues */
.svc-photo { margin: 0; }
.svc-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-photo figcaption { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); margin-top: 0.5rem; }
.svc-figures b { white-space: nowrap; }
.offer-for { margin: 0 0 1.75rem; }
.offers { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.offers > li { margin: 0; padding: 1.75rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr) minmax(0, 0.95fr); column-gap: 2.5rem; align-items: start; scroll-margin-top: 6rem; }
.offers > li[hidden] { display: none; }
.offers h3 { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--serif); letter-spacing: -0.015em; margin: 0; }
.offer-b > p:first-child { font-size: var(--t-lg); line-height: 1.4; margin-top: 0; }
.offer-b .talk-thumb { max-width: 26rem; margin: 1.25rem 0 0.6rem; }
.offer-f { display: grid; gap: 0.9rem; justify-items: start; }
.offer-f .note { margin: 0; }
.offer-ask { display: inline-block; font: 600 var(--t-sm)/1 var(--sans); color: var(--blue); padding: 0.8em 1em; box-shadow: inset 0 0 0 2px var(--blue); text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.offer-ask:hover, .offer-ask:focus-visible { background: var(--blue); color: #fff; }
.offers > li.offer--lead { padding-top: 2rem; }
.offer-count { font: 600 var(--t-sm)/1.4 var(--sans); margin: 1rem 0 0; min-height: 1.4em; }
.venues { list-style: none; margin: 0 0 0.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0; font: 400 clamp(1.35rem, 2.6vw, 2.1rem)/1.25 var(--serif); letter-spacing: -0.015em; max-width: 60rem; }
.venues li { margin: 0; }
.venues li:not(:last-child)::after { content: "/"; color: var(--blue); margin: 0 0.55em; }
.venues-cap { font: 400 var(--t-sm)/1.4 var(--sans); margin: 0 0 2.25rem; }
@media (max-width: 62rem) { .offers > li { grid-template-columns: minmax(0, 1fr); row-gap: 0.9rem; padding: 1.5rem 0; } }

.ag-figures--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.ag-figures--4 b { font-size: clamp(1.7rem, 1rem + 2.1vw, 3rem); white-space: nowrap; }
.head-grid--photo { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 62rem) { .ag-figures--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .head-grid--photo { grid-template-columns: minmax(0, 1fr); } }

/* Research map: opinion pieces beside each station */
.ag-more { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.ag-more h4 { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0 0 0.9rem; }
.ag-pieces { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.ag-pieces li { margin: 0; }
.ag-pieces a { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: 1rem; align-items: center; text-decoration: none; color: var(--ink); }
.ag-piece-art { display: block; background: var(--tint); aspect-ratio: 16 / 9; }
.ag-piece-art svg { display: block; width: 100%; height: 100%; }
.ag-piece-art .b { stroke: var(--blue); } .ag-piece-art .bf { fill: var(--blue); stroke: none; }
.ag-piece-t b { display: block; font: 400 1.0625rem/1.25 var(--serif); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #98a1ae; text-underline-offset: 0.15em; }
.ag-pieces a:hover .ag-piece-t b { text-decoration-color: var(--ink); }
.ag-piece-t .src { display: block; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); margin-top: 0.25rem; }
.ag-panel > p:first-of-type { font-size: var(--t-lg); line-height: 1.4; }

/* Book page */
.bk-head h1 { max-width: 9em; }
.bk-sub { font: 400 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.25 var(--serif); font-style: italic; margin: 0.9rem 0 1.5rem; max-width: 22em; }
.bk-card { margin: 0; justify-self: end; width: min(100%, 23rem); }
.bk-card img { display: block; width: 100%; height: auto; box-shadow: 0 1.2rem 2.5rem -1.2rem rgba(13, 27, 51, 0.55); }
.bk-card figcaption { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); margin-top: 0.6rem; }
.bk-idea { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: var(--gap); align-items: start; }
.bk-quote { margin: 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--blue); }
.bk-quote p { font: 400 clamp(1.5rem, 1rem + 1.7vw, 2.25rem)/1.22 var(--serif); letter-spacing: -0.015em; margin: 0; max-width: none; }
.bk-parts { display: grid; gap: 2.5rem; max-width: 56rem; }
.bk-part h3 { font: 400 var(--t-h3)/1.2 var(--serif); margin: 0 0 0.75rem; }
.bk-part-n { display: block; font: 600 var(--t-sm)/1.2 var(--sans); color: var(--blue); margin-bottom: 0.3rem; }
.bk-ch { border-top: 1px solid var(--line); }
.bk-part .bk-ch:last-child { border-bottom: 1px solid var(--line); }
.bk-ch summary { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; align-items: baseline; padding: 1rem 0; cursor: pointer; list-style: none; }
.bk-ch summary::-webkit-details-marker { display: none; }
.bk-ch summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--blue); }
.bk-ch[open] summary::after { content: "–"; }
.bk-n { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1 var(--serif); color: var(--graphite); font-variant-numeric: tabular-nums; }
.bk-t { font: 400 clamp(1.25rem, 1rem + 0.9vw, 1.75rem)/1.2 var(--serif); letter-spacing: -0.01em; }
.bk-ch summary:hover .bk-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.bk-q { margin: 0 0 1.4rem 3rem; font: 400 var(--t-lg)/1.4 var(--serif); max-width: 30em; animation: ag-in 0.3s ease-out both; }
.bk-when { display: block; font: 600 var(--t-sm)/1.4 var(--sans); color: var(--blue); margin-bottom: 0.25rem; }
.bk-pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem var(--gap); max-width: 62rem; }
.bk-pieces a { grid-template-columns: 8rem minmax(0, 1fr); }
@media (max-width: 62rem) { .bk-idea, .bk-pieces { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; } .bk-card { justify-self: start; width: min(100%, 17rem); } .bk-q { margin-left: 0; } .bk-ch summary { grid-template-columns: 2.2rem minmax(0, 1fr) auto; } }

.bk-front .invite { grid-template-columns: 8.5rem minmax(0, 1fr) var(--margin); align-items: center; }
.bk-front-cover img { display: block; width: 100%; height: auto; }
@media (max-width: 64rem) { .bk-front .invite { grid-template-columns: 6.5rem minmax(0, 1fr); } .bk-front .invite .actions { grid-column: 1 / -1; } }

/* Menu: icons on three entries, and "New" on two of them */
.nav a.nav-feat { display: inline-flex; align-items: center; gap: 0.38em; }
.nav-ic { width: 1.15em; height: 1.15em; flex: none; color: var(--blue); }
.nav a.nav-feat { position: relative; }
.nav-new { font: 700 0.5625rem/1 var(--sans); letter-spacing: 0.02em; color: #fff; background: var(--blue); padding: 0.26em 0.5em 0.3em; border-radius: 999px; position: absolute; top: -0.7em; right: -1.35em; animation: nav-ring 2.6s ease-out infinite; }
.nav { gap: 0.15rem clamp(0.6rem, 1.05vw, 1.05rem); }   /* capped: the header stops growing at the page width, so the menu must fit in it */
@media (max-width: 75rem) { .js .nav-new { position: static; margin-left: 0.3em; } }
.nav-new[hidden] { display: none; }
/* live: green, like a status light that says “on” */
.nav-live { width: 0.5em; height: 0.5em; border-radius: 50%; background: #12a150; flex: none; box-shadow: 0 0 0 0 rgba(18, 161, 80, 0.55); animation: nav-live 1.8s ease-out infinite; }
.nav a.nav-feat:hover .nav-ic { animation: nav-hop 0.45s ease-out; }
@keyframes nav-ring { 0% { box-shadow: 0 0 0 0 rgba(29, 79, 143, 0.5); } 70%, 100% { box-shadow: 0 0 0 0.5em rgba(29, 79, 143, 0); } }
@keyframes nav-live { 0% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0.55); } 70%, 100% { box-shadow: 0 0 0 0.45em rgba(18, 161, 80, 0); } }
@keyframes nav-hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-0.25em) rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .nav-new, .nav-live, .nav a.nav-feat:hover .nav-ic { animation: none; } }

/* AI news dashboard */
.dash-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; padding-bottom: 1.25rem; margin-bottom: 1.75rem; border-bottom: 2px solid var(--ink); }
.dash-search { flex: 1 1 16rem; max-width: 26rem; }
.dash-search input { width: 100%; font: 400 1rem/1.2 var(--sans); padding: 0.75em 0.9em; border: 0; box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); color: var(--ink); border-radius: 2px; }
.dash-now { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0; }
.dash-reset { font: 600 var(--t-sm)/1 var(--sans); color: var(--blue); background: none; border: 0; padding: 0.5em 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.dash-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 16rem; column-gap: 2.5rem; align-items: start; }
.dash h3, .dash h4 { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0 0 0.7rem; }
.dash .talk-head h3, .dash .front-head h3 { font-family: var(--serif); font-weight: 400; }
.dash .front-head h3 { font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.35rem); line-height: 1.05; letter-spacing: -0.02em; }
.dash .talk-head h3 { font-size: var(--t-h3); line-height: 1.2; }
.dash-side h3:not(:first-child), .dash-side h4:not(:first-child), .dash-right h3:not(:first-child), .dash-main h3:not(:first-child) { margin-top: 2rem; }
.dash-hint { font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); margin: 0.6rem 0 0; max-width: 34rem; }
.dash-rows { list-style: none; margin: 0; padding: 0; }
.dash-rows li { margin: 0; }
.dash-rows button { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; width: 100%; text-align: left; font: 400 var(--t-sm)/1.3 var(--sans); color: var(--ink); background: none; border: 0; border-top: 1px solid var(--line); padding: 0.55rem 0.5rem; cursor: pointer; }
.dash-rows button:disabled { color: var(--graphite); cursor: default; opacity: 0.55; }
.dash-bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--tint); transition: width 0.3s ease-out; }
.dash-name, .dash-n { position: relative; }
.dash-n { font-variant-numeric: tabular-nums; color: var(--graphite); }
.dash-rows button[aria-pressed="true"] { color: #fff; }
.dash-rows button[aria-pressed="true"] .dash-bar { background: var(--blue); width: 100% !important; }
.dash-rows button[aria-pressed="true"] .dash-n { color: #fff; }
.dash-rows button:not(:disabled):hover .dash-name { text-decoration: underline; text-underline-offset: 0.18em; }
.dash-trend { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.5rem; height: 11rem; }
.dash-day { display: grid; grid-template-rows: auto 1fr auto; row-gap: 0.3rem; background: none; border: 0; padding: 0; cursor: pointer; font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.dash-day-n { font-weight: 700; color: var(--ink); }
.dash-col { position: relative; display: block; border-bottom: 1px solid var(--ink); }
.dash-col-all, .dash-col-sel { position: absolute; left: 0; right: 0; bottom: 0; transition: height 0.35s ease-out; }
.dash-col-all { background: var(--fog); } .dash-col-sel { background: var(--blue); display: flex; flex-direction: column-reverse; gap: 2px; background: none; border-radius: 3px 3px 0 0; overflow: hidden; }
.dash-col-sel i { display: block; min-height: 2px; }
.dash-day.is-today .dash-day-l { color: var(--ink); font-weight: 700; }
.dash-day:hover .dash-col-sel, .dash-day:focus-visible .dash-col-sel { filter: brightness(1.12); }
.dash-key { display: flex; flex-wrap: wrap; gap: 0.3rem 0.4rem; margin: 0.9rem 0 0; }
.dash-key-b { display: inline-flex; align-items: center; gap: 0.4rem; font: 400 var(--t-xs)/1 var(--sans); color: var(--ink); background: none; border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 0.4rem 0.7rem; cursor: pointer; }
.dash-key-b i { width: 0.65rem; height: 0.65rem; border-radius: 2px; }
.dash-key-b:hover { background: var(--fog); }
.dash-key-b[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); font-weight: 600; }
.dash-day-l { padding-top: 0.15rem; }
.dash-day[aria-pressed="true"] .dash-day-l { color: var(--blue); font-weight: 700; }
.dash-day:hover .dash-col-all { background: var(--line); }
.dash-lead { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.dash-lead li { margin: 0; }
.dash-word.dash-lead-b { position: relative; display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) auto 4rem 1.6rem; align-items: center; gap: 0.5rem; width: 100%; padding: 0.5rem 0.4rem; border-top: 1px solid var(--line); text-align: left; font: 400 1.05rem/1.2 var(--serif); color: var(--ink); background: none; }
.dash-lead li:first-child .dash-lead-b { font-size: 1.35rem; }
.dash-lead-b > * { position: relative; z-index: 1; }
.dash-lead-bar { position: absolute !important; z-index: 0 !important; left: 0; top: 0; bottom: 0; background: var(--tint); transition: width 0.35s ease-out; }
.dash-lead-r { font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); font-variant-numeric: tabular-nums; }
.dash-lead-w { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-lead-new { font: 600 0.6875rem/1 var(--sans); color: #fff; background: #b4531a; border-radius: 999px; padding: 0.25em 0.55em; }
.dash-lead-n { font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); text-align: right; font-variant-numeric: tabular-nums; }
.dash-spark { grid-column: 4; width: 4rem; height: 1.25rem; overflow: visible; }
.dash-spark polyline { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.dash-spark polygon { fill: var(--mark); opacity: 0.7; stroke: none; }
.dash-spark circle { fill: var(--blue); }
.dash-lead-b .dash-lead-n { grid-column: 5; }
.dash-word.dash-lead-b:hover .dash-lead-w { text-decoration: underline; text-underline-offset: 0.18em; }
.dash-word.dash-lead-b[aria-pressed="true"] { color: #fff; background: var(--blue); padding: 0.5rem 0.4rem; }
.dash-word.dash-lead-b[aria-pressed="true"] .dash-lead-bar { display: none; }
.dash-word.dash-lead-b[aria-pressed="true"] .dash-lead-r, .dash-word.dash-lead-b[aria-pressed="true"] .dash-lead-n { color: #fff; }
.dash-word.dash-lead-b[aria-pressed="true"] polyline { stroke: #fff; } .dash-word.dash-lead-b[aria-pressed="true"] circle { fill: #fff; } .dash-word.dash-lead-b[aria-pressed="true"] polygon { opacity: 0.25; }
.dash-cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.7rem; }
.dash-word { font-family: var(--serif); line-height: 1.25; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.dash-word:hover { color: var(--blue); }
.dash-word[aria-pressed="true"] { color: #fff; background: var(--blue); padding: 0 0.3em; }
.dash .news-list li { grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: 1.25rem; }
.dash .news-list a { font-size: 1.25rem; }
.dash-none { display: block !important; color: var(--graphite); font: 400 var(--t-sm)/1.4 var(--sans); }
@media (max-width: 68rem) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
  .dash .news-list li { grid-template-columns: minmax(0, 1fr); }
  .dash-trend { height: 9rem; gap: 0.3rem; }
}

/* UpSet: topics as rows, their combinations as columns */
.dash-vis { margin-top: 2rem; }
.upset { --row: 1.9rem; --top: 7rem; display: grid; grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr); column-gap: 0.9rem; }
.upset-corner { height: var(--top); display: flex; align-items: flex-end; padding-bottom: 0.4rem; font: 400 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.upset-set { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 0.45rem; width: 100%; height: var(--row); padding: 0 0.3rem 0 0; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; text-align: left; font: 400 var(--t-xs)/1.1 var(--sans); color: var(--ink); }
.upset-sw { width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.upset-setname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; }
.upset-setn { position: relative; font-variant-numeric: tabular-nums; color: var(--graphite); }
.upset-setbar { position: absolute; left: 0; bottom: 0; height: 3px; opacity: 0.85; transition: width 0.3s ease-out; }
.upset-set[aria-pressed="true"] { background: var(--tint); font-weight: 700; }
.upset-cols { display: flex; gap: 2px; min-width: 0; }
.upset-col { flex: 1 1 0; min-width: 0; max-width: 3rem; display: grid; grid-template-rows: var(--top) auto; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); }
.upset-top { display: grid; grid-template-rows: auto 1fr; align-items: end; justify-items: center; height: 100%; padding-bottom: 0; }
.upset-n { font: 700 var(--t-xs)/1.4 var(--sans); font-variant-numeric: tabular-nums; align-self: end; }
.upset-bar { display: block; width: 62%; background: var(--ink); align-self: end; transition: height 0.3s ease-out, background-color 0.15s; }
.upset-top { grid-template-rows: 1fr; position: relative; }
.upset-top .upset-n { position: absolute; left: 0; right: 0; bottom: calc(var(--h, 0%) + 2px); text-align: center; }
.upset-dots { position: relative; display: grid; grid-auto-rows: var(--row); justify-items: center; align-items: center; border-top: 1px solid var(--line); }
.upset-dots i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--fog); position: relative; z-index: 1; }
.upset-dots i.is-on { background: var(--ink); }
.upset-dots b { position: absolute; left: 50%; width: 2px; margin-left: -1px; background: var(--ink); }
.upset-col:hover .upset-bar, .upset-col[aria-pressed="true"] .upset-bar { background: var(--blue); }
.upset-col:hover .upset-dots i.is-on, .upset-col[aria-pressed="true"] .upset-dots i.is-on, .upset-col:hover .upset-dots b, .upset-col[aria-pressed="true"] .upset-dots b { background: var(--blue); }
.upset-col[aria-pressed="true"] { background: var(--tint); }
/* LineUp: sources ranked, several bars per row */
.lineup { overflow-x: auto; }
.lineup table { width: 100%; border-collapse: collapse; font: 400 var(--t-sm)/1.3 var(--sans); }
.lineup th, .lineup td { text-align: left; padding: 0.5rem 0.6rem 0.5rem 0; border-top: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.lineup thead th { border-top: 0; border-bottom: 1px solid var(--ink); font-weight: 600; font-size: var(--t-xs); color: var(--graphite); }
.lineup thead button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.lineup thead button[aria-pressed="true"] { color: var(--blue); }
.lineup thead button[aria-pressed="true"]::after { content: " ↓"; }
.lineup tbody th { font-weight: 400; }
.lineup tbody th button { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.lineup tbody th button:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.lineup tr.is-on { background: var(--tint); } .lineup tr.is-on th button { font-weight: 700; }
.lu-rank { color: var(--graphite); font-variant-numeric: tabular-nums; width: 1.6rem; }
.lu-bar { position: relative; width: 22%; min-width: 5rem; }
.lu-bar span { position: absolute; left: 0; top: 22%; bottom: 22%; background: var(--fog); transition: width 0.3s ease-out; }
.lu-bar b { position: relative; padding-left: 0.4rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lu-age { color: var(--graphite); }
.lu-mix { width: 26%; min-width: 6rem; }
.lu-strip { display: flex; height: 0.7rem; width: 100%; background: var(--fog); }
.lu-strip i { display: block; height: 100%; }
@media (max-width: 68rem) { .dash-vis { order: 1; margin-top: 0.5rem; } }
@media (max-width: 40rem) { .upset { --row: 1.75rem; --top: 5.5rem; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); column-gap: 0.5rem; } .upset-dots i { width: 0.6rem; height: 0.6rem; } }

/* AI news: views, tools, heat map, punch card, small multiples */
.ico { width: 1.1em; height: 1.1em; flex: none; }
.dash-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.75rem; }
.dash-figs > div { --fig: var(--blue); background: var(--fog); border-top: 2px solid var(--ink); padding: 0.75rem 0.9rem 0.85rem; display: flex; flex-direction: column; }
.dash-figs dd.is-long { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.15; }
.dash-fig-bars { display: flex; align-items: flex-end; gap: 3px; height: 1.75rem; margin-top: auto; padding-top: 0.6rem; box-sizing: content-box; }
.dash-fig-bars i { flex: 1; background: var(--mark); border-radius: 1px 1px 0 0; }
.dash-fig-bars i.is-hot, .dash-fig-bars i:last-child:not(.is-hot):only-of-type { background: var(--blue); }
.dash-fig-share { display: block; height: 6px; margin-top: auto; background: var(--mark); border-radius: 3px; overflow: hidden; }
.dash-figs dd + .dash-fig-share, .dash-figs .dash-fig-x > .dash-fig-share:first-child { margin-top: auto; }
.dash-figs dd.dash-fig-x { display: contents; }
.dash-fig-share i { display: block; height: 100%; background: var(--fig); border-radius: 3px; transition: width 0.4s ease-out; }
.dash-fig-note { margin: 0.45rem 0 0; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.dash-figs dd { margin-bottom: 0.6rem !important; }
.dash-figs dt { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.dash-figs dd { margin: 0.15rem 0 0; font: 400 clamp(1.25rem, 2.2vw, 1.75rem)/1.1 var(--serif); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.dash-views { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 2rem 0 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.dash-views button { display: inline-flex; align-items: center; gap: 0.45em; font: 600 var(--t-sm)/1 var(--sans); padding: 0.7em 0.9em; color: var(--ink); background: var(--paper); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; cursor: pointer; }
.dash-views button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dash-views button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.dash-panel[hidden] { display: none; }
.dash-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; margin-bottom: 1.1rem; }
.dash-tools h3 { margin: 0 auto 0 0; }
.dash-tools label { font: 400 var(--t-sm)/1 var(--sans); color: var(--graphite); display: inline-flex; align-items: center; gap: 0.5em; }
.dash-tools select { font: 400 var(--t-sm)/1.2 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 2px; padding: 0.45em 0.5em; }
.dash-tool { display: inline-flex; align-items: center; gap: 0.4em; font: 600 var(--t-sm)/1 var(--sans); color: var(--blue); background: none; border: 0; padding: 0.5em 0; cursor: pointer; }
.dash-tool:hover span { text-decoration: underline; text-underline-offset: 0.2em; }
/* each option draws its own outline, so the group still reads as buttons when it wraps or scrolls */
.dash-seg { display: inline-flex; max-width: 100%; }
.dash-seg button { font: 400 var(--t-xs)/1 var(--sans); padding: 0.65em 0.8em; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); margin: 0 0 0 -1px; border-radius: 0; cursor: pointer; transition: background-color 0.15s; }
.dash-seg button:first-child { margin-left: 0; border-radius: 2px 0 0 2px; }
.dash-seg button:last-child { border-radius: 0 2px 2px 0; }
.dash-seg button:only-child { border-radius: 2px; }
.dash-seg button:hover { background: var(--fog); }
.dash-seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.dash-seg button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; position: relative; z-index: 1; }
.dash-more { margin-top: 1.25rem; font: 600 var(--t-sm)/1 var(--sans); padding: 0.8em 1.1em; background: var(--paper); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px var(--ink); border-radius: 2px; cursor: pointer; }
.news-list li.news-group { display: flex; align-items: baseline; gap: 0.75rem; padding: 1.1rem 0 0.4rem; border-bottom: 2px solid var(--ink); }
.news-list li.news-group b { font: 600 var(--t-sm)/1.2 var(--sans); }
.news-list li.news-group span { font: 400 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.heat { overflow-x: auto; }
.heat table { border-collapse: separate; border-spacing: 3px; width: 100%; min-width: 30rem; }
.heat th { font: 400 var(--t-xs)/1.2 var(--sans); color: var(--graphite); text-align: left; padding: 0.3rem 0.4rem 0.3rem 0; }
.heat thead th { text-align: center; vertical-align: bottom; padding: 0 0.15rem 0.4rem; }
.heat tbody th { color: var(--ink); white-space: nowrap; }
.heat td { padding: 0; }
.heat td button { display: block; width: 100%; min-width: 2.6rem; height: 2.5rem; border: 0; border-radius: 2px; font: 600 var(--t-xs)/1 var(--sans); color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.heat td button.is-dark { color: #fff; }
.heat td button:disabled { cursor: default; }
.heat td button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 1px; }
.punch { display: grid; gap: 2px; max-width: 40rem; }
.punch-row { display: grid; grid-template-columns: 3.5rem repeat(8, minmax(0, 1fr)) 2.5rem; align-items: center; width: 100%; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--line); font: 400 var(--t-xs)/1 var(--sans); color: var(--ink); text-align: left; cursor: pointer; }
.punch-head { border-bottom: 0; cursor: default; color: var(--graphite); }
.punch-head span { text-align: center; padding-bottom: 0.3rem; }
.punch-row[aria-pressed="true"] { background: rgba(29, 79, 143, 0.07); box-shadow: inset 3px 0 0 var(--blue); }
.punch-day { padding-left: 0.5rem; font-weight: 600; }
.punch-cell { display: grid; place-items: center; height: 2.4rem; }
.punch-cell i { display: block; border-radius: 50%; background: var(--blue); }
.punch-n { text-align: right; padding-right: 0.4rem; color: var(--graphite); }
.multiples { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; }
.multiple { display: grid; gap: 0.5rem; text-align: left; padding: 0.8rem; background: var(--paper); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 2px; color: var(--ink); cursor: pointer; }
.multiple:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.multiple[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--blue); }
.multiple:disabled { opacity: 0.45; cursor: default; }
.multiple-name { font: 600 var(--t-sm)/1.2 var(--sans); }
.multiple-bars { display: flex; align-items: flex-end; gap: 3px; height: 3.5rem; border-bottom: 1px solid var(--ink); }
.multiple-bars i { flex: 1; background: var(--graphite); opacity: 0.55; }
.multiple-bars i.is-today { opacity: 1; }
.multiple-foot { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.multiple-foot b { color: var(--ink); }
@media (max-width: 48rem) { .dash-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-views { flex-wrap: nowrap; overflow-x: auto; margin-right: -1rem; padding-right: 1rem; } .dash-views button { flex: none; } }

/* Current focus: hero drawing, the headline game, the experiment, lists of papers */
.fx-hero { margin: 0; max-width: 24rem; justify-self: end; }
.fx-hero svg { display: block; width: 100%; height: auto; }
.fx-hero figcaption { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); margin-top: 0.5rem; }
.fx-h-card rect { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.fx-h-card .l { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; opacity: 0.8; fill: none; }
.fx-h-ai rect { fill: var(--blue); }
.fx-h-ai .e { fill: #fff; }
.fx-h-ai .k { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; }
.fx-h-t, .fx-h-days { font: 600 13px var(--sans); fill: var(--ink); }
.fx-h-days { font-weight: 400; fill: var(--graphite); }
.fx-h-arrow { fill: none; stroke: var(--graphite); stroke-width: 2; stroke-dasharray: 3 4; stroke-linecap: round; }
.fx-h-q circle { fill: none; stroke: var(--blue); stroke-width: 3; stroke-dasharray: 6 6; transform-origin: 278px 244px; }
.fx-h-q text { font: 400 44px var(--serif); fill: var(--blue); }
.js .fx-h-ai { transform: translateX(60px); opacity: 0; animation: fx-in 0.6s 0.5s cubic-bezier(.2,.9,.3,1.2) forwards; }
.js .fx-h-ai .k { animation: fx-tick 0.4s 1.1s ease-out forwards; }
.js .fx-h-card2, .js .fx-h-q, .js .fx-h-arrow, .js .fx-h-days { opacity: 0; animation: fx-fade 0.6s 1.7s forwards; }
.js .fx-h-q circle { animation: fx-spin 14s linear infinite; }
@keyframes fx-in { to { transform: none; opacity: 1; } }
@keyframes fx-tick { to { stroke-dashoffset: 0; } }
@keyframes fx-fade { to { opacity: 1; } }
@keyframes fx-spin { to { transform: rotate(360deg); } }
.fx-try { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.fx-heads { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.fx-heads li { margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.fx-line { margin: 0; font: 400 clamp(1.35rem, 2.3vw, 1.85rem)/1.35 var(--serif); letter-spacing: -0.01em; }
.fx-w { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; border-radius: 3px; padding: 0 0.1em; margin: 0 -0.1em; cursor: pointer; transition: background 0.15s; }
.fx-w:hover { background: rgba(29, 79, 143, 0.1); }
.fx-w.is-miss { animation: fx-shake 0.3s; background: rgba(0, 0, 0, 0.06); }
.fx-w.is-found { background: linear-gradient(transparent 60%, rgba(11, 122, 67, 0.32) 60%); animation: fx-pop 0.3s; }
.fx-w.is-shown { background: linear-gradient(transparent 60%, rgba(179, 107, 0, 0.3) 60%); }
.fx-w[aria-pressed="true"] { background: var(--blue); color: #fff; }
@keyframes fx-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@keyframes fx-pop { 50% { transform: scale(1.12); } }
.dash-seg[hidden], .fx-mode[hidden] { display: none; }
.fx-mode { margin-bottom: 1.25rem; flex-wrap: wrap; }
.fx-mode button { font-size: var(--t-sm); }
.fx-src { margin: 0.45rem 0 0; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.fx-src b { color: var(--ink); }
.fx-careful { margin: 0.6rem 0 0; padding-left: 0.9rem; border-left: 3px solid #0b7a43; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); max-width: 40rem; animation: fx-fade 0.5s both; }
.fx-ask { position: sticky; top: 6rem; padding: 1.5rem; background: var(--tint); border-left: 3px solid var(--blue); display: grid; gap: 1rem; }
.fx-ring { position: relative; width: 4.5rem; height: 4.5rem; }
.fx-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fx-ring circle { fill: none; stroke-width: 6; }
.fx-ring .bg { stroke: rgba(29, 79, 143, 0.15); }
.fx-ring .fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 169.6; stroke-dashoffset: 169.6; transition: stroke-dashoffset 0.4s; }
.fx-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 400 1.6rem/1 var(--serif); }
.fx-ask-k { font: 600 var(--t-sm)/1.2 var(--sans); color: var(--blue); margin: 0 0 0.5rem; }
.fx-ask-q { font: 400 1.25rem/1.35 var(--serif); margin: 0; min-height: 5.2em; }
.fx-ask-tools { margin: 0; }
.fx-btn { font: 600 var(--t-sm)/1 var(--sans); padding: 0.75em 1em; color: var(--ink); background: var(--paper); border: 0; box-shadow: inset 0 0 0 1px var(--ink); border-radius: 2px; cursor: pointer; }
.fx-btn:hover { background: var(--ink); color: var(--paper); }
.fx-btn[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.fx-figs { margin-bottom: 2.5rem; }
.fx-step { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1.25rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.fx-step-n { margin: 0; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font: 400 1.4rem/1 var(--serif); }
.fx-step h3 { font: 400 var(--t-h3)/1.2 var(--serif); margin: 0.35rem 0 1rem; }
.fx-conds { margin-bottom: 1.25rem; flex-wrap: wrap; }
.fx-conds button { font-size: var(--t-sm); }
.fx-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.fx-flow li { position: relative; margin: 0; padding: 0.9rem 1rem; min-width: 9.5rem; flex: 1 1 9.5rem; max-width: 14rem; font: 400 var(--t-sm)/1.35 var(--sans); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); border-radius: 4px; animation: fx-step 0.4s both; animation-delay: calc(var(--i) * 0.18s); }
.fx-flow li.is-ai { background: var(--blue); color: #fff; box-shadow: none; }
.fx-flow li small { display: block; font: 600 var(--t-xs)/1.2 var(--sans); opacity: 0.7; margin-bottom: 0.25rem; }
.fx-flow li + li::before { content: "→"; position: absolute; left: -1.45rem; top: 50%; transform: translateY(-50%); color: var(--graphite); font: 400 1.1rem/1 var(--sans); }
@keyframes fx-step { from { opacity: 0; transform: translateY(8px); } }
.fx-guess-q { font: 400 1.15rem/1.4 var(--serif); margin: 0 0 0.9rem; }
.fx-guess { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fx-result { margin-top: 1.5rem; max-width: 44rem; animation: fx-fade 0.5s both; }
.fx-result-k { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); margin: 0 0 0.9rem; }
.fx-bars { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.55rem; }
.fx-bars li { margin: 0; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 3.5rem; align-items: center; column-gap: 0.75rem; font: 400 var(--t-sm)/1.2 var(--sans); }
.fx-bars i { display: block; height: 1.5rem; background: linear-gradient(var(--graphite), var(--graphite)) left / calc(var(--v) * 1%) 100% no-repeat, var(--tint); }
.fx-bars.is-go i { animation: fx-grow 0.9s cubic-bezier(.2,.8,.2,1) both; }
.fx-bars li.is-guess i { background: linear-gradient(var(--blue), var(--blue)) left / calc(var(--v) * 1%) 100% no-repeat, var(--tint); }
.fx-bars li.is-guess span::after { content: " · your guess"; color: var(--blue); font-weight: 600; }
.fx-bars.is-home li.is-guess span::after { content: " · the group in your guess"; }   /* a guess from the home page was about this group, not a choice of it */
.fx-bars li.is-guess b { color: var(--blue); }
.fx-bars b { font: 600 var(--t-sm)/1 var(--sans); text-align: right; }
@keyframes fx-grow { from { background-size: 0 100%, auto; } }
.fx-qs .fx-qi { display: block; width: 3rem; height: 3rem; margin-bottom: 0.9rem; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 52rem) { .fx-try { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } .fx-ask { position: sticky; top: auto; bottom: 0.5rem; z-index: 2; grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: 0.9rem 1rem; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14); } .fx-ask-q { font-size: 1rem; min-height: 0; } .fx-ask-tools { grid-column: 1 / -1; } .fx-ring { width: 3.25rem; height: 3.25rem; } .fx-ring b { font-size: 1.2rem; } .fx-hero { justify-self: start; max-width: 18rem; } .fx-step { grid-template-columns: minmax(0, 1fr); row-gap: 0.5rem; } .fx-flow li + li::before { display: none; } .fx-bars li { grid-template-columns: 7rem minmax(0, 1fr) 3.2rem; } }
@media (prefers-reduced-motion: reduce) { .js .fx-h-ai, .js .fx-h-ai .k, .js .fx-h-card2, .js .fx-h-q, .js .fx-h-arrow, .js .fx-h-days, .js .fx-h-q circle, .fx-flow li, .fx-bars i, .fx-result, .fx-careful, .fx-w.is-miss, .fx-w.is-found { animation: none; opacity: 1; transform: none; } .js .fx-h-ai .k { stroke-dashoffset: 0; } .fx-ring .fg { transition: none; } }
.fx-papers { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.fx-papers > li { margin: 0; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.fx-yr { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.fx-title { font: 400 1.25rem/1.25 var(--serif); margin: 0; }
.fx-cite, .fx-note { font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); margin: 0.3rem 0 0; max-width: 46rem; }
.fx-cite .me { color: var(--ink); font-weight: 600; }
.fx-links { font: 400 var(--t-sm)/1.4 var(--sans); margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }

/* AI news: every headline a dot, and the word stream */
.swarm svg, .wstream svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.swarm-grid { stroke: var(--line); stroke-width: 1; }
.swarm-axis { font: 400 11px var(--sans); fill: var(--graphite); }
.swarm-lane { font: 600 11px var(--sans); fill: var(--ink); }
.swarm-dot { cursor: pointer; stroke: #fff; stroke-width: 1; transition: r 0.12s; }
.swarm-dot:hover, .swarm-dot:focus-visible { r: 8px; outline: none; stroke: var(--ink); stroke-width: 2; }
.swarm-dot.is-off { opacity: 0.16; }
.swarm-dot.is-picked { r: 8px; stroke: var(--ink); stroke-width: 2.5; opacity: 1; }
.swarm-card { margin-top: 0.75rem; padding: 1rem 1.1rem; background: var(--tint); border-left: 3px solid var(--blue); min-height: 4.5rem; }
.swarm-card .dash-hint { margin: 0; }
.swarm-o { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); margin: 0 0 0.35rem; }
.swarm-o b { color: var(--ink); }
.swarm-t { font: 400 1.25rem/1.25 var(--serif); }
.wstream-band { opacity: 0.82; stroke: #fff; stroke-width: 1; cursor: pointer; }
.wstream-band:hover, .wstream-band:focus-visible { opacity: 1; outline: none; }
.wstream-band.is-off { opacity: 0.2; }
.wstream-word { font-family: var(--serif); fill: #fff; paint-order: stroke; stroke: rgba(0, 0, 0, 0.35); stroke-width: 2px; cursor: pointer; }
.wstream-word:hover, .wstream-word:focus-visible, .wstream-word.is-on { fill: #fff; stroke: var(--ink); stroke-width: 3px; outline: none; }
.wstream-key { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 0.75rem 0 0; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.wstream-key i { display: inline-block; width: 0.7em; height: 0.7em; border-radius: 2px; margin-right: 0.4em; }
@media (prefers-reduced-motion: reduce) { .swarm-dot { transition: none; } }

/* AI news: world map and word network (drawn with D3) */
.wmap svg, .wnet svg { display: block; max-width: 100%; height: auto; touch-action: none; }
.wmap svg { cursor: grab; background: var(--paper); }
.wmap-sphere { fill: #f3f5f8; stroke: var(--line); }
.wmap-c { fill: #dde2ea; stroke: #fff; stroke-width: 0.5; vector-effect: non-scaling-stroke; }
.wmap-c.is-hit { cursor: pointer; }
.wmap-c.is-hit:hover, .wmap-c.is-hit:focus-visible { stroke: var(--ink); stroke-width: 1.5; outline: none; }
.wmap-c.is-on { stroke: var(--ink); stroke-width: 2; }
.wmap-b { fill: rgba(255, 122, 61, 0.55); stroke: #c2410c; stroke-width: 1; pointer-events: none; vector-effect: non-scaling-stroke; }
.wmap-top { margin-top: 0.9rem; }
.wmap-top .dc-chip { font: 400 var(--t-sm)/1 var(--sans); padding: 0.6em 0.8em; background: var(--paper); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px var(--ink); border-radius: 999px; cursor: pointer; }
.wmap-top .dc-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.wnet svg { border: 1px solid var(--line); border-radius: 4px; }
.wnet-l { stroke: var(--graphite); stroke-opacity: 0.35; }
.wnet-n { cursor: grab; }
.wnet-n circle { fill: var(--blue); fill-opacity: 0.85; stroke: #fff; stroke-width: 1.5; }
.wnet-n text { font: 400 12px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.wnet-n:hover circle, .wnet-n:focus-visible circle { fill-opacity: 1; stroke: var(--ink); }
.wnet-n:focus-visible { outline: none; }
.wnet-n.is-on circle { fill: #d9773a; stroke: var(--ink); stroke-width: 2; }

/* Book: tilting cover, sneak peek, a question drawn at random */
.bk-card[data-tilt] { perspective: 60rem; }
.bk-card[data-tilt] img { transition: transform 0.2s ease-out, box-shadow 0.2s; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); will-change: transform; }
.bk-inside { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 40rem); gap: 2.5rem; align-items: start; }
.bk-toc-h { font: 600 var(--t-sm)/1 var(--sans); margin: 0 0 0.6rem; }
.bk-toc ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.bk-toc li { margin: 0; border-bottom: 1px solid var(--line); }
.bk-toc button { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); width: 100%; text-align: left; padding: 0.7rem 0.4rem; background: none; border: 0; font: 400 1rem/1.3 var(--serif); color: var(--ink); cursor: pointer; }
.bk-toc button span { font: 600 var(--t-sm)/1.6 var(--sans); color: var(--graphite); }
.bk-toc button:hover { background: var(--tint); }
.bk-toc button[aria-current="true"] { background: #eef3fb; color: var(--ink); box-shadow: inset 3px 0 0 var(--blue); }
.bk-toc button[aria-current="true"] span { color: var(--blue); }
.bk-progress { height: 3px; background: var(--line); margin-bottom: 1rem; }
.bk-progress i { display: block; height: 100%; width: 12.5%; background: var(--blue); transition: width 0.35s; }
.bk-turns { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin: 1.25rem 0 0; font: 400 var(--t-sm)/1 var(--sans); color: var(--graphite); }
.bk-after { margin: 2rem 0 0; font: 400 var(--t-lg)/1.4 var(--serif); }
@media (max-width: 56rem) { .bk-inside { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } .bk-toc ol { display: flex; overflow-x: auto; border-top: 0; gap: 0.4rem; padding-bottom: 0.4rem; } .bk-toc li { border: 0; flex: none; } .bk-toc button { display: block; width: 2.6rem; height: 2.6rem; padding: 0; text-align: center; font-size: 0; box-shadow: inset 0 0 0 1px var(--ink); border-radius: 50%; } .bk-toc button span { font-size: 1rem; line-height: 2.6rem; color: inherit; } .bk-toc-h { display: none; } }
.bk-turn { width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font: 400 1.75rem/1 var(--serif); cursor: pointer; display: grid; place-items: center; padding-bottom: 0.15em; }
.bk-turn:disabled { background: var(--line); cursor: default; }
.bk-turn:not(:disabled):hover { background: var(--blue); }
.bk-book { perspective: 90rem; }
.bk-leaf { background: #fdfcf8; padding: clamp(1.5rem, 4vw, 3rem); min-height: 26rem; box-shadow: 0 1.5rem 3rem -1.5rem rgba(13, 27, 51, 0.45), inset 0 0 0 1px rgba(13, 27, 51, 0.08), inset 1.2rem 0 1.5rem -1.2rem rgba(13, 27, 51, 0.12); transform-origin: left center; display: flex; flex-direction: column; }
.bk-leaf[hidden] { display: none; }
.bk-leaf.is-in { animation: bk-flip 0.55s cubic-bezier(.2,.7,.2,1) both; }
.bk-leaf.is-back { animation: bk-flip-back 0.55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes bk-flip { from { transform: rotateY(-70deg); opacity: 0; } }
@keyframes bk-flip-back { from { transform: rotateY(25deg) translateX(2rem); opacity: 0; } }
.bk-leaf-head { display: flex; justify-content: space-between; gap: 1rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); margin: 0 0 1.5rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.bk-leaf p:not(.bk-leaf-head):not(.bk-leaf-foot) { font: 400 clamp(1.1rem, 1rem + 0.5vw, 1.3rem)/1.6 var(--serif); margin: 0 0 1em; text-indent: 1.5em; max-width: none; }
.bk-leaf p:nth-of-type(2) { text-indent: 0 !important; }
.bk-leaf p:nth-of-type(2)::first-letter { font-size: 3.1em; float: left; line-height: 0.85; padding: 0.06em 0.08em 0 0; color: var(--blue); }
.bk-leaf p.bk-gap { font: 400 var(--t-xs)/1.3 var(--sans) !important; color: var(--graphite); text-indent: 0 !important; margin: 0.2rem 0 0.9rem !important; }
.bk-leaf p.bk-leaf-h { font: 600 1.1rem/1.3 var(--serif) !important; text-indent: 0 !important; margin-bottom: 0.6rem !important; }
.bk-leaf p.bk-leaf-h::first-letter { font-size: inherit !important; float: none !important; padding: 0 !important; color: inherit !important; }
.bk-leaf-list { margin: 0 0 1em; padding-left: 1.2em; font: 400 clamp(1.1rem, 1rem + 0.5vw, 1.3rem)/1.55 var(--serif); }
.bk-leaf-list li { margin-bottom: 0.4em; }
.bk-leaf-foot { margin: auto 0 0; text-align: center; font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.bk-draw { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: stretch; }
.bk-drawn { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--ink); color: var(--paper); border-radius: 6px; min-height: 12rem; display: grid; align-content: center; gap: 0.6rem; }
.bk-drawn.is-new { animation: bk-deal 0.45s cubic-bezier(.2,.9,.3,1.15) both; }
@keyframes bk-deal { from { transform: translateY(1.2rem) rotate(-2deg) scale(0.96); opacity: 0; } }
.bk-drawn-when { margin: 0; font: 600 var(--t-sm)/1.3 var(--sans); color: #9cc8f5; }
.bk-drawn-q { margin: 0; font: 400 clamp(1.5rem, 1rem + 1.8vw, 2.2rem)/1.22 var(--serif); letter-spacing: -0.015em; max-width: none; }
.bk-drawn-from { margin: 0.4rem 0 0; font: 400 var(--t-sm)/1.3 var(--sans); opacity: 0.75; }
.bk-drawn-from a { color: inherit; }
button.btn { cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .bk-leaf.is-in, .bk-leaf.is-back, .bk-drawn.is-new { animation: none; } .bk-card[data-tilt] img { transition: none; transform: none; } }

/* AI news: the live opening, one headline at a time, and a pulse of the last two days */
.now { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 2.5rem; align-items: stretch; margin: 0 0 2rem; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--ink); color: var(--paper); border-radius: 8px; }
.now-main { display: grid; align-content: space-between; gap: 0.9rem; min-height: 13rem; }
.now-k { display: flex; align-items: center; gap: 0.55rem; margin: 0; font: 600 var(--t-sm)/1 var(--sans); color: #9cc8f5; }
.now-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 0 rgba(52, 210, 123, 0.6); animation: now-beat 1.8s infinite; }
@keyframes now-beat { 70% { box-shadow: 0 0 0 0.6rem rgba(52, 210, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 210, 123, 0); } }
.now-t { display: block; font: 400 clamp(1.6rem, 1rem + 2.4vw, 2.75rem)/1.14 var(--serif); letter-spacing: -0.018em; color: #fff; text-decoration: none; }
.now-t:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.now-t.is-in, .now-o.is-in { animation: now-in 0.5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes now-in { from { opacity: 0; transform: translateY(0.6rem); } }
.now-o { margin: 0; font: 400 var(--t-sm)/1.3 var(--sans); color: rgba(255, 255, 255, 0.75); }
.now-o b { color: #fff; }
.now-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.now-ctl button { font: 600 var(--t-sm)/1 var(--sans); color: #fff; background: rgba(255, 255, 255, 0.12); border: 0; border-radius: 999px; padding: 0.6em 0.9em; cursor: pointer; }
.now-ctl button:hover { background: rgba(255, 255, 255, 0.24); }
.now-ctl .now-lucky { background: var(--blue); margin-left: auto; }
.now-pips { display: inline-flex; gap: 0.3rem; }
.now-pips i { width: 1.4rem; height: 3px; background: rgba(255, 255, 255, 0.25); border-radius: 2px; overflow: hidden; }
.now-pips i.is-on { background: #fff; }
.now-side { display: grid; align-content: start; gap: 0.6rem; padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.now-h { margin: 0; font: 600 var(--t-sm)/1 var(--sans); color: #9cc8f5; }
.now-pulse { display: flex; align-items: flex-end; gap: 3px; height: 5rem; }
.now-pulse i { flex: 1; min-height: 2px; background: rgba(255, 255, 255, 0.35); border-radius: 1px 1px 0 0; transform-origin: bottom; animation: now-rise 0.6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 25ms); }
.now-pulse i.is-last { background: #d9773a; }
@keyframes now-rise { from { transform: scaleY(0); } }
.now-n { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); color: rgba(255, 255, 255, 0.75); }
.now-n b { color: #fff; font: 400 1.4rem/1 var(--serif); }
.now-fresh { font: 600 var(--t-sm)/1.2 var(--sans); color: var(--ink); background: #ffd166; border: 0; border-radius: 999px; padding: 0.7em 1em; cursor: pointer; justify-self: start; animation: now-in 0.4s both; }
@media (max-width: 52rem) { .now { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } .now-side { padding: 1.25rem 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); } .now-main { min-height: 11rem; } .now-ctl .now-lucky { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .now-dot, .now-t.is-in, .now-o.is-in, .now-pulse i, .now-fresh { animation: none; } }

/* AI news: two editions, and a mark for outlets he has written for */
.ed-switch { display: inline-flex; align-items: center; gap: 0; margin: 1.25rem 0 0; font: 600 var(--t-sm)/1 var(--sans); box-shadow: inset 0 0 0 1px var(--ink); border-radius: 999px; overflow: hidden; }
.ed-switch span { padding: 0.7em 0.9em 0.7em 1.1em; color: var(--graphite); font-weight: 400; }
.ed-switch a { padding: 0.7em 1.1em; text-decoration: none; color: var(--ink); }
.ed-switch a:hover { background: var(--tint); }
.ed-switch a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.ed-switch a { white-space: nowrap; }
@media (max-width: 30rem) { .ed-switch > span { display: none; } .ed-switch a { padding: 0.7em 0.9em; } }
.dash-mine, .dash-name.is-mine::after { display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--blue); }
.dash-name.is-mine::after { content: ""; margin-left: 0.45em; vertical-align: 0.1em; }

/* AI news: what people discuss elsewhere */
.talk { margin: 0 0 2.5rem; padding-bottom: 2rem; border-bottom: 2px solid var(--ink); }
.talk[hidden] { display: none; }
.talk-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1rem; margin-bottom: 1rem; }
.talk-head h2, .talk-head h3 { font: 400 var(--t-h3)/1.2 var(--serif); margin: 0; }
.talk-head p { margin: 0; font: 400 var(--t-xs)/1.3 var(--sans); }
.talk-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.talk-grid > div[hidden] { display: none; }
.talk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.talk-list li { margin: 0; display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); column-gap: 0.9rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.talk-n { display: grid; justify-items: center; padding: 0.35rem 0.2rem; background: var(--tint); border-radius: 4px; font: 400 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.talk-n b { font: 400 1.3rem/1.1 var(--serif); color: var(--ink); }
.talk-t { font: 400 1.1rem/1.3 var(--serif); }
.talk-m { display: block; margin-top: 0.25rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.talk-m a { color: inherit; }
.talk-heat { display: block; height: 3px; margin-top: 0.45rem; background: var(--line); }
.talk-heat i { display: block; height: 100%; background: var(--blue); }
@media (max-width: 52rem) { .talk-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

/* Services: what I offer, as one lead and four cards */
.svc-ico { width: 2.5rem; height: 2.5rem; padding: 0.5rem; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; background: var(--tint); border-radius: 50%; }
.svc-verb { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.9rem; font: 600 var(--t-sm)/1 var(--sans); color: var(--blue); }
.svc-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--fog); border-radius: 8px; }
.svc-lead h3, .svc-cards h3 { font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.12 var(--serif); letter-spacing: -0.015em; margin: 0 0 0.7rem; }
.svc-p { font: 400 var(--t-lg)/1.42 var(--serif); margin: 0 0 1.1rem; max-width: 36rem; }
.svc-facts { list-style: none; margin: 0 0 1.4rem; padding: 0; border-top: 1px solid var(--line); }
.svc-facts li { margin: 0; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font: 400 var(--t-sm)/1.45 var(--sans); color: var(--ink); }
.svc-facts b { font-weight: 600; color: var(--graphite); }
.svc-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; margin: 0; font: 400 var(--t-sm)/1 var(--sans); }
.svc-lead-f { margin: 0; }
.svc-lead-f img { display: block; width: 100%; height: auto; box-shadow: 0 1.2rem 2.5rem -1.4rem rgba(15, 27, 45, 0.5); border-radius: 4px; }
.svc-lead-f figcaption { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); margin-top: 0.7rem; }
.svc-cards { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.svc-cards > li { margin: 0; padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-radius: 8px; display: flex; flex-direction: column; transition: box-shadow 0.15s, transform 0.15s; }
.svc-cards > li:hover { box-shadow: inset 0 0 0 1px var(--blue), 0 1rem 2rem -1.4rem rgba(15, 27, 45, 0.45); transform: translateY(-2px); }
.svc-cards .svc-facts { margin-top: auto; }
.svc-cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.svc-cases li { margin: 0; }
.svc-cases a { display: grid; gap: 0.5rem; height: 100%; align-content: start; padding: 1.5rem; text-decoration: none; color: var(--ink); border-top: 3px solid var(--blue); background: var(--fog); transition: background 0.15s; }
.svc-cases a:hover { background: var(--tint); }
.svc-case-k { font: 600 var(--t-sm)/1 var(--sans); color: var(--blue); }
.svc-cases b { font: 400 1.5rem/1.15 var(--serif); letter-spacing: -0.01em; }
.svc-cases a > span:not(.svc-case-k) { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.svc-cases em { font: 600 var(--t-sm)/1 var(--sans); font-style: normal; text-decoration: underline; text-underline-offset: 0.2em; margin-top: 0.4rem; }
.svc-two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.svc-h { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0 0 0.9rem; }
.svc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc-chips li { margin: 0; padding: 0.55em 0.9em; font: 400 1.1rem/1.2 var(--serif); box-shadow: inset 0 0 0 1px var(--ink); border-radius: 999px; }
.svc-roles { margin: 0; border-top: 2px solid var(--ink); }
.svc-roles > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.svc-roles dt { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.svc-roles dd { margin: 0; font: 400 1.1rem/1.35 var(--serif); }
@media (max-width: 56rem) { .svc-lead, .svc-two { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; } .svc-cards, .svc-cases { grid-template-columns: minmax(0, 1fr); } .svc-facts li { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .svc-cards > li { transition: none; } .svc-cards > li:hover { transform: none; } }

/* Services: track record as a year line with cards */
.tr-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.tr-years { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--ink); }
.tr-years button { position: relative; flex: 1 1 auto; padding: 0.7rem 0.5rem 1rem; background: none; border: 0; font: 600 var(--t-sm)/1 var(--sans); color: var(--graphite); cursor: pointer; }
.tr-years button::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.tr-years button:hover { color: var(--ink); }
.tr-years button[aria-selected="true"] { color: var(--blue); }
.tr-years button[aria-selected="true"]::after { background: var(--blue); box-shadow: 0 0 0 4px rgba(29, 79, 143, 0.2); }
.tr-card { padding: 1.75rem 0 0; min-height: 11rem; animation: ag-in 0.3s ease-out both; }
.tr-card[hidden] { display: none; }
.tr-y { font: 400 clamp(2.5rem, 5vw, 4rem)/1 var(--serif); color: var(--blue); margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.tr-card h3 { font: 400 var(--t-h3)/1.2 var(--serif); margin: 0 0 0.5rem; }
.tr-card p:last-child { font: 400 var(--t-lg)/1.45 var(--serif); margin: 0; max-width: 34rem; }
.tr-side h3 { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0 0 0.7rem; }
.tr-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.tr-list li { margin: 0; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.tr-list b { display: block; font: 400 1.15rem/1.25 var(--serif); }
.tr-list span { display: block; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin-top: 0.15rem; }
.tr-more { margin: 0.8rem 0 0; font: 400 var(--t-sm)/1 var(--sans); }
.tr-proof { margin-top: 3rem; }
@media (max-width: 56rem) { .tr-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .tr-years { overflow-x: auto; flex-wrap: nowrap; } .tr-years button { flex: none; padding-left: 0.9rem; padding-right: 0.9rem; } }
/* Lab: the working cycle, one step lit at a time */
.lab-cycle { margin: 0; max-width: 24rem; justify-self: end; color: var(--ink); }
.lab-cycle svg { display: block; width: 100%; height: auto; overflow: visible; }
.lab-ring { fill: none; stroke: var(--line); stroke-width: 2; }
.lab-run { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 25 75; stroke-dashoffset: calc(37.5 - var(--at, 0) * 25); transition: stroke-dashoffset 0.6s cubic-bezier(.3,.8,.3,1); }
.lab-core circle { fill: var(--tint); }
.lab-core text { font: 400 24px var(--serif); fill: var(--ink); }
.lab-st { cursor: pointer; }
.lab-st > circle:first-of-type { fill: var(--paper); stroke: var(--ink); stroke-width: 2; transition: fill 0.25s, stroke 0.25s; }
.lab-st path, .lab-st rect { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s; }
.lab-st .d { fill: var(--ink); }
.lab-st text { font: 600 13px var(--sans); fill: var(--graphite); }
.lab-st.is-on > circle:first-of-type { fill: var(--blue); stroke: var(--blue); }
.lab-st.is-on path, .lab-st.is-on rect { stroke: #fff; }
.lab-st.is-on .d { fill: #fff; }
.lab-st.is-on text { fill: var(--blue); }
.lab-st:focus-visible { outline: none; }
.lab-st:focus-visible > circle:first-of-type { stroke-width: 4; }
.lab-say { display: grid; gap: 0.25rem; margin-top: 0.9rem; padding-left: 0.9rem; border-left: 3px solid var(--blue); min-height: 5.2rem; }
.lab-say b { font: 400 1.35rem/1.2 var(--serif); }
.lab-say span { font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
@media (max-width: 62rem) { .lab-cycle { justify-self: start; max-width: 20rem; } }
@media (prefers-reduced-motion: reduce) { .lab-run { transition: none; } .tr-card { animation: none; } }

/* AI hub: the two pages as one place, shown as two tabs */
.hub-strip { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.25rem 0.4rem; margin: 1.5rem 0 0; border-bottom: 2px solid var(--ink); }
.hub-strip-l { font: 600 var(--t-sm)/1 var(--sans); color: var(--graphite); padding: 0 0.75rem 0.95rem 0; }
.hub-strip a { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.8rem 1.1rem; font: 600 var(--t-sm)/1.1 var(--sans); text-decoration: none; color: var(--ink); background: var(--tint); border-radius: 8px 8px 0 0; border: 2px solid transparent; border-bottom: 0; margin-bottom: -2px; }
.hub-strip a .ico { width: 1.25em; height: 1.25em; color: var(--blue); }
.hub-strip a:hover { background: #dbe6f4; }
.hub-strip a:not([aria-current])::after { content: "→"; content: "→" / ""; color: var(--blue); font-weight: 400; }
.hub-strip a[aria-current="page"] { background: var(--paper); border-color: var(--ink); cursor: default; }
.hub-strip a small { font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); }
@media (max-width: 40rem) { .hub-strip-l { flex-basis: 100%; padding-bottom: 0.4rem; } .hub-strip a small { display: none; } .hub-strip a { padding: 0.75rem 0.8rem; } }
/* A line under the menu on every page that points to what is new */
.site-flag { background: var(--tint); color: var(--ink); font: 400 var(--t-sm)/1.3 var(--sans); border-bottom: 1px solid var(--line); margin: 0; }
.site-flag .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.site-flag b { font-weight: 600; background: var(--blue); color: #fff; border-radius: 999px; padding: 0.2em 0.6em; font-size: var(--t-xs); }
.site-flag a { color: var(--blue); font-weight: 600; text-underline-offset: 0.2em; }
.site-flag[hidden] { display: none; }
#ai-hub .hub-jump { margin-bottom: 0; }

/* Keep up with AI: icon tiles */
.hub-jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0 0 3.5rem; }
.hub-jump a { display: grid; gap: 0.35rem; align-content: start; padding: 1.25rem; text-decoration: none; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-radius: 4px; transition: box-shadow 0.15s, transform 0.15s; }
.hub-jump a:hover { box-shadow: inset 0 0 0 2px var(--blue); transform: translateY(-2px); }
.hub-jump .hub-ico { width: 2.75rem; height: 2.75rem; padding: 0.6rem; margin-bottom: 0.5rem; color: var(--blue); background: var(--tint); border-radius: 50%; }
.hub-jump strong { font: 400 1.25rem/1.2 var(--serif); }
.hub-jump span { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); }
.hub-h { display: flex; align-items: center; gap: 0; }
.hub-h .hub-ico { width: 1em; height: 1em; padding: 0.2em; flex: none; color: var(--blue); background: rgba(29, 79, 143, 0.09); border-radius: 50%; margin-right: 0.35em; }
.hub-tag { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.45rem; font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.hub-tag::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--tag, var(--blue)); }
@media (max-width: 60rem) { .hub-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .hub-jump a { transition: none; } .hub-jump a:hover { transform: none; } }

/* Keep up with AI: events with a countdown, lists of courses and books */
.hub-filter { margin-bottom: 1.5rem; }
.hub-filter .dc-chip { font: 400 var(--t-sm)/1 var(--sans); padding: 0.7em 0.9em; background: var(--paper); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px var(--ink); border-radius: 2px; cursor: pointer; }
.hub-filter .dc-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.hub-events { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.hub-events > li { margin: 0; display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; column-gap: 2rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.hub-events > li[hidden] { display: none; }
.hub-when { font: 400 var(--t-sm)/1.3 var(--sans); color: var(--graphite); }
.hub-when b { display: block; white-space: nowrap; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.05 var(--serif); color: var(--ink); letter-spacing: -0.015em; }
.hub-what a { font: 400 var(--t-h3)/1.15 var(--serif); letter-spacing: -0.01em; }
.hub-what span { display: block; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin-top: 0.3rem; }
.hub-what .hub-tbc { display: inline-block; margin: 0 0 0 0.5rem; font: 600 var(--t-xs)/1 var(--sans); color: #8a5200; box-shadow: inset 0 0 0 1px currentColor; padding: 0.3em 0.5em; border-radius: 2px; vertical-align: middle; }
.hub-what .hub-auto { display: inline-block; margin: 0 0 0 0.5rem; font: 600 var(--t-xs)/1 var(--sans); color: #0b7a43; box-shadow: inset 0 0 0 1px currentColor; padding: 0.3em 0.5em; border-radius: 2px; vertical-align: middle; }
.hub-count { font: 600 var(--t-sm)/1.2 var(--sans); text-align: right; white-space: nowrap; }
.hub-count.is-soon { color: #fff; background: var(--blue); padding: 0.5em 0.75em; border-radius: 999px; }
.hub-count.is-now { color: #fff; background: var(--dc-yes, #0b7a43); padding: 0.5em 0.75em; border-radius: 999px; }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.hub-list li { margin: 0; }
.hub-list a, .hub-list b { font: 400 1.1875rem/1.25 var(--serif); }
.hub-list b { font-weight: 400; }
.hub-list span { display: block; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); margin-top: 0.2rem; }
.hub-list--plain { gap: 0.7rem; }
.js ul.defs[data-pick].is-pick > li .hub-list { margin-top: 0.5rem; }
@media (max-width: 48rem) { .hub-events > li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.5rem; } .hub-when { grid-column: 1 / -1; } .hub-when b { display: inline; font-size: 1.25rem; margin-right: 0.5em; } }

/* Course archive: a bar for every year */
.course-chart { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.4rem; height: 11rem; max-width: 44rem; align-items: end; }
.course-chart li { margin: 0; height: 100%; }
.course-chart button { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr auto; background: none; border: 0; padding: 0; cursor: pointer; font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.course-chart button:disabled { cursor: default; }
.course-chart .n { padding-bottom: 0.3rem; font-weight: 600; color: var(--ink); align-self: end; }
.course-chart .bar { align-self: end; background: var(--ink); min-height: 2px; transition: background-color 0.15s; }
.course-chart button { grid-template-rows: 1fr auto; position: relative; }
.course-chart .n { position: absolute; left: 0; right: 0; bottom: calc(var(--h, 0%) + 1.6rem); }
.course-chart .y { padding-top: 0.45rem; border-top: 1px solid var(--ink); }
.course-chart button:hover .bar { background: var(--graphite); }
.course-chart button[aria-pressed="true"] .bar { background: var(--blue); }
.course-chart button[aria-pressed="true"] .y { color: var(--blue); font-weight: 700; }
.course-places { margin-bottom: 1rem; }
.course-places .dc-chip, .news-filter .dc-chip, .offer-for .dc-chip { font: 400 var(--t-sm)/1 var(--sans); padding: 0.7em 0.9em; background: var(--paper); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px var(--ink); border-radius: 2px; cursor: pointer; }
.course-places .dc-chip[aria-pressed="true"], .news-filter .dc-chip[aria-pressed="true"], .offer-for .dc-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.dc-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.course-count { font: 600 var(--t-sm)/1.4 var(--sans); margin: 0 0 1rem; min-height: 1.4em; }
.courses li[hidden] { display: none; }

/* AI news */
.news-list { list-style: none; margin: 0; padding: 0; max-width: 54rem; }
.news-list li { margin: 0; padding: 1rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: 1.5rem; align-items: baseline; }
.news-list li:first-child { border-top: 1px solid var(--ink); }
.news-list .o { font: 400 var(--t-sm)/1.35 var(--sans); color: var(--graphite); }
.news-list .o b { display: block; color: var(--ink); font-weight: 600; }
.news-list a { font: 400 var(--t-h3)/1.2 var(--serif); letter-spacing: -0.01em; text-decoration-thickness: 1px; text-decoration-color: #98a1ae; }
.news-list a:hover { text-decoration-color: var(--ink); }
.news-list li.is-new .o b::after { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-left: 0.4rem; border-radius: 50%; background: var(--blue); }
.news-filter { margin-bottom: 1.5rem; }
.news-empty { max-width: 40rem; }
.news-note { font: 400 var(--t-sm)/1.5 var(--sans); max-width: 44rem; margin-top: 2rem; }
.news-front .news-list a { font-size: 1.25rem; }
@media (max-width: 40rem) { .news-list li { grid-template-columns: minmax(0, 1fr); row-gap: 0.3rem; } .news-list .o b { display: inline; margin-right: 0.5em; } .course-chart { gap: 0.2rem; height: 9rem; } }

/* One round of the news game on the home page, set as the game sets it:
   blue is the assistant, black is everything the reader does */
.tease { border: 1px solid var(--ink); padding: clamp(1.1rem, 2.6vw, 2rem) clamp(1.1rem, 2.6vw, 2rem) clamp(1.1rem, 2.4vw, 1.75rem); }
.tease-dateline { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin: 0 0 0.9rem; }
.tease-slot { display: inline-block; min-width: 9rem; height: 1.1em; border-bottom: 1px solid var(--ink); vertical-align: baseline; }
.tease-slot.is-full { min-width: 0; height: auto; border: 0; color: var(--ink); font-weight: 700; }
.tease-headline {
  font: 400 clamp(1.75rem, 1.05rem + 2.6vw, 3.125rem)/1.06 var(--serif);
  letter-spacing: -0.018em;
  max-width: 15em;
  margin: 0;
  text-wrap: balance;
}
.what .tease-headline { max-width: 15em; }
.tease-fn {
  display: inline-block;
  flex: none;
  min-width: 1.35em;
  padding: 0.14em 0.42em 0.12em;
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0;
  text-align: center;
  background: var(--blue);
  color: #fff;
  border-radius: 2px;
}
.tease-headline .tease-fn { vertical-align: top; margin: 0.5em 0 0 0.3em; font-size: max(0.24em, 0.75rem); }
.tease-note { display: flex; align-items: baseline; gap: 0.6rem; font: 400 1.1875rem/1.4 var(--sans); color: var(--blue); margin: 1.5rem 0 0; }
.tease-note b { font-weight: 700; }
.tease-result { font: 600 1.0625rem/1.4 var(--sans); margin: 1rem 0 0; max-width: 30em; }
.tease-result:empty { margin: 0; }
@media (min-width: 64.01rem) {
  .tease { grid-template-rows: auto 1fr; }
  .tease > .what { grid-column: 1; grid-row: 1; }
  .tease > .where { grid-column: 2; grid-row: 1 / span 2; }
  .tease > .tease-result { grid-column: 1; grid-row: 2; min-height: 2.8em; }
  .tease > .tease-result:empty { margin: 1rem 0 0; }
}
.tease-q { font: 700 var(--t-sm)/1.3 var(--sans); margin: 0 0 0.6rem; }
.where .tease-options { border-bottom: 1px solid var(--line); }
.where .tease-options li { margin: 0; border-top: 1px solid var(--line); font: 600 1.0625rem/1.25 var(--sans); }
.tease-options li > span:first-child { display: inline-block; padding: 0.8rem 0.75rem; }
.tease-options li[data-suggested] { display: flex; align-items: center; justify-content: space-between; padding-right: 0.75rem; }
.tease-options li[data-suggested] > span:first-child, .tease-options li[data-suggested] button > span:first-child { background-image: linear-gradient(transparent 58%, var(--mark) 58%); background-origin: content-box; background-clip: content-box; }
.tease-options button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0.8rem 0.75rem;
  font: inherit; color: inherit; text-align: left;
  background: none; border: 0; border-radius: 0; cursor: pointer;
}
.tease-options li[data-suggested]:has(button) { display: block; padding-right: 0; }
.tease-options button > span:first-child { padding: 0; }
.tease-options button:hover { background-color: var(--tint); }
.tease.is-done .tease-options button { cursor: default; color: var(--graphite); font-weight: 400; }
.tease.is-done .tease-options button:hover { background-color: transparent; }
.tease.is-done .tease-options .is-mine button { box-shadow: inset 3px 0 0 var(--ink); color: var(--ink); }
.tease.is-done .tease-options .is-truth button, .tease.is-done .tease-options .is-truth button:hover { background-color: var(--ink); color: var(--paper); font-weight: 700; }
.tease-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; margin: 1.25rem 0 0; }
.tease-actions .muted { font: 400 var(--t-sm)/1.45 var(--sans); max-width: 34rem; }
@media (max-width: 64rem) { .tease > .where { margin-top: 1.5rem; } }

.cases3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--gap); }
.cases3 a.blocklink { display: block; text-decoration: none; background-image: none; }
.cases3 .fig img { aspect-ratio: 16 / 9; object-fit: contain; }
.cases3 h3 { font-size: 1.375rem; margin: 0.9rem 0 0.35rem; text-decoration: underline; text-decoration-thickness: 0.045em; text-underline-offset: 0.18em; }
.cases3 a.blocklink:hover h3 { background: var(--tint); }
.cases3 .kind { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin: 0.8rem 0 0; }
.cases3 p { font-size: 1.0625rem; line-height: 1.45; margin-bottom: 0; }
@media (max-width: 48rem) { .cases3 { grid-template-columns: minmax(0, 1fr); } }

/* Impact: cases with a larger figure beside the text */
.cases .row--nogutter { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: clamp(2rem, 4.5vw, 4.5rem); }
.cases .what h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); font-weight: 400; letter-spacing: -0.012em; line-height: 1.15; margin-bottom: 0.7rem; }
@media (max-width: 54rem) { .cases .row--nogutter { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; } }

/* A short sequence set as a counted list */
.path { list-style: none; counter-reset: path; margin: 0; padding: 0; }
.path li { counter-increment: path; margin: 0 0 0.3rem; }
.path li::before { content: counter(path) "  "; font-weight: 700; white-space: pre; }

/* Research: areas with a figure each */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem var(--gap); }
.areas h3 { font-size: var(--t-h3); margin: 1rem 0 0.4rem; }
.areas .kind { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin: 1rem 0 0; }
.areas .kind + h3 { margin-top: 0.15rem; }
.areas p { font-size: 1.0625rem; line-height: 1.5; }
.areas .ask { border-left: 3px solid var(--accent); padding-left: 0.9rem; font: 400 var(--t-sm)/1.5 var(--sans); }
@media (max-width: 54rem) { .areas { grid-template-columns: minmax(0, 1fr); } .areas .fig { max-width: 30rem; } }

/* Lab: the working cycle */
.cycle { width: 100%; max-width: 19rem; height: auto; display: block; }
.cycle text { font-family: var(--sans); }

/* Publications */
.pubtools {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: var(--paper);
  border-block: 1px solid var(--ink);
  padding-block: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(10rem, 1.6fr) minmax(8rem, 1fr) minmax(6rem, 0.6fr) minmax(8rem, 1fr) auto;
  gap: 0.7rem 1rem;
  align-items: end;
  font-family: var(--sans);
}
.pubtools[hidden] { display: none; }
.field label {
  display: block;
  font-size: var(--t-xs);
  line-height: 1.2;
  color: var(--graphite);
  margin-bottom: 0.25rem;
}
.control {
  width: 100%;
  font: 400 var(--t-sm)/1.2 var(--sans);
  color: var(--ink);
  padding: 0.62em 0.7em;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.pubtools .tools-end { display: flex; align-items: center; gap: 1rem; padding-bottom: 0.1rem; }
.pub-count { font-size: var(--t-sm); white-space: nowrap; font-feature-settings: "tnum"; }
.pub-empty { font: 400 var(--t-lg)/1.4 var(--serif); padding: 1rem 0 3rem; }
@media (max-width: 54rem) {
  .pubtools { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pubtools .field--search { grid-column: 1 / -1; }
  .pubtools .tools-end { grid-column: 1 / -1; justify-content: space-between; }
}

.pub-section { scroll-margin-top: calc(var(--header-h) + 6.5rem); }
.pub-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--ink);
  padding-top: 1.1rem;
  margin: clamp(2.75rem, 6vw, 4.5rem) 0 1.75rem;
}
.pub-section-head h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 400; letter-spacing: -0.015em; }
.pub-section-head .n { font: 400 var(--t-sm)/1 var(--sans); color: var(--graphite); white-space: nowrap; }

.publist { list-style: none; margin: 0; padding: 0; }
.pub {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--margin);
  column-gap: var(--gap);
  margin: 0;
  padding-block: 0.8rem;
  scroll-margin-top: calc(var(--header-h) + 6.5rem);
}
.pub[hidden] { display: none; }
.pub .yr { font: 600 var(--t-sm)/1.6 var(--sans); padding-top: 0.12rem; }
.pub .yr.rep { color: transparent; user-select: none; }
.pub-title { font-size: 1.1875rem; font-weight: 500; line-height: 1.32; margin: 0 0 0.25rem; max-width: 38em; }
.pub-cite { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); margin: 0; max-width: 46em; }
.pub-cite .me { color: var(--ink); font-weight: 600; }
.pub-cite em { font-style: normal; color: var(--ink); }
.pub-note { font: 400 var(--t-sm)/1.5 var(--sans); margin: 0.3rem 0 0; max-width: 46em; }
.pub-links { font: 400 var(--t-sm)/1.5 var(--sans); padding-top: 0.12rem; }
.pub-links a { margin-right: 0.9em; white-space: nowrap; }
.pub:target .pub-title { background-image: linear-gradient(transparent 54%, var(--mark) 54%); display: inline; }
@media (max-width: 64rem) {
  .pub { grid-template-columns: 3.75rem minmax(0, 1fr); column-gap: 1rem; }
  .pub-links { grid-column: 2; margin-top: 0.3rem; }
}
@media (max-width: 40rem) {
  .pub { grid-template-columns: minmax(0, 1fr); }
  .pub .yr.rep { display: none; }
  .pub-links { grid-column: 1; }
}

.recent { display: grid; row-gap: clamp(2rem, 4vw, 3rem); }
.recent .row { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) var(--margin); }
.recent .lead-q { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem); font-weight: 400; letter-spacing: -0.012em; line-height: 1.15; margin-bottom: 0.6rem; }
.recent .pub-title { font-size: 1.1875rem; }
/* A featured paper without a figure of its own gets a drawn one: thin black
   lines, one blue element, and the venue's name in the corner. */
.art-tile { position: relative; background: var(--fog); aspect-ratio: 16 / 9; }
.art-tile .tile-name {
  position: absolute;
  top: 0.65rem; left: 0.8rem;
  font: 500 1.0625rem/1 var(--serif);
  letter-spacing: -0.012em;
}
.art-tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.art .thin { stroke-width: 1.5; }
.art .dash { stroke-dasharray: 2 7; }
.art .b { stroke: var(--art-accent, var(--blue)); }
.art .bf { fill: var(--art-accent, var(--blue)); stroke: none; }
.art .f { fill: currentColor; stroke: none; }
.art .o { fill: var(--art-bg, var(--fog)); }
.art text { fill: currentColor; stroke: none; font: 500 12px var(--sans); }
.fig .art-tile { background: none; }
@media (max-width: 64rem) {
  .recent .row { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
  .recent .row > .where { grid-column: 2; }
  .recent .art-tile .tile-name { font-size: 0.9375rem; }
}
@media (max-width: 40rem) {
  .recent .row { grid-template-columns: minmax(0, 1fr); }
  .recent .row > .where { grid-column: 1; }
  .recent figure { max-width: 20rem; margin-bottom: 1rem; }
}

.spotlights { list-style: none; padding: 0; margin: 0; }
.spotlights li { margin: 0 0 1.1rem; }
.spotlights a { display: block; text-decoration: none; }
.spotlights .name { font: 500 1.5rem/1.1 var(--serif); letter-spacing: -0.015em; display: block; }
.spotlights .t { display: block; margin-top: 0.2rem; }
.spotlights .k { display: block; color: var(--graphite); }

/* Selected papers with a thumbnail (Lab) */
.papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem var(--gap); }
.paper { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); column-gap: 1.25rem; align-items: start; }
.paper h4 { font-size: 1.1875rem; font-weight: 500; line-height: 1.3; margin: 0.2rem 0 0.35rem; }
.paper .kind { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin: 0; }
.paper p { font-size: 1.0625rem; line-height: 1.45; margin-bottom: 0.4rem; }
.paper .links { font: 400 var(--t-sm)/1.4 var(--sans); margin: 0; }
@media (max-width: 60rem) { .papers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 30rem) { .paper { grid-template-columns: minmax(0, 1fr); row-gap: 0.8rem; } .paper figure { max-width: 16rem; } }

/* Press */
.topic-head { scroll-margin-top: calc(var(--header-h) + 1rem); }
.press-stat { font: 400 var(--t-sm)/1.5 var(--sans); }
.press-stat b { display: block; font: 400 2.5rem/1 var(--serif); letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.journalists { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.25rem var(--gap); }
.journalists h3 { font-size: 1.375rem; margin-bottom: 0.6rem; }
.journalists p, .journalists li { font-size: 1.0625rem; line-height: 1.5; }
.journalists .note { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
@media (max-width: 60rem) { .journalists { grid-template-columns: minmax(0, 1fr); } }

/* Services: press photographs */
.photos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.photos a { display: block; text-decoration: none; background-image: none; font: 400 var(--t-sm)/1.4 var(--sans); }
.photos img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--fog); margin-bottom: 0.45rem; }
.photos a:hover span { background: var(--tint); }
.photos .feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.photos .feature img { flex: 1; min-height: 0; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 54rem) {
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photos .feature { grid-row: auto; display: block; }
  .photos .feature img { aspect-ratio: 3 / 2; }
}

/* Events */
.events { list-style: none; margin: 0; padding: 0; }
.events > li { margin: 0; border-top: 1px solid var(--line); }
.events > li:first-child { border-top: 0; }
.events a {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  column-gap: var(--gap);
  padding-block: 1.1rem;
  text-decoration: none;
  background-image: none;
}
.events > li:first-child a { padding-top: 0; }
.events .day { font: 400 2.5rem/0.9 var(--serif); letter-spacing: -0.03em; display: block; }
.events .mon { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); }
.events .kind { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); display: block; }
.events b { font: 500 var(--t-h3)/1.2 var(--serif); display: block; margin: 0.15rem 0 0.25rem; }
.events a:hover b { background: var(--tint); display: inline; }
.events small { font: 400 var(--t-sm)/1.45 var(--sans); display: block; }
@media (max-width: 40rem) { .events a { grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1rem; } }

/* The 90-second case (judgement.html) */
.case-head { padding-block: clamp(2rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.case-head > * { max-width: 52rem; }
.case-head h1 { font-size: var(--t-h1); font-weight: 400; line-height: 1; letter-spacing: -0.024em; margin: 0.9rem 0 1.25rem; }
.case-head .back { font: 400 var(--t-sm)/1.3 var(--sans); }
.case-head .dur { font: 400 var(--t-sm)/1.3 var(--sans); color: var(--graphite); margin: 1rem 0 0; }

.case { max-width: 62rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.progress {
  list-style: none;
  counter-reset: p;
  display: flex;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: 0.9rem 0;
  border-block: 1px solid var(--ink);
  font: 400 var(--t-sm)/1.2 var(--sans);
  color: var(--graphite);
}
.progress[hidden] { display: none; }
.progress li { counter-increment: p; margin: 0; padding: 0.15em 0.4em; }
.progress li::before { content: counter(p) "  "; font-weight: 700; white-space: pre; }
.progress li[aria-current="step"] { color: var(--on-accent); font-weight: 700; background: var(--accent); border-radius: 2px; }
.disclosure { font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); margin-bottom: 2rem; }

.stage { padding-block: 0.5rem 2.5rem; }
.stage[hidden] { display: none; }
.stage > h2 { font-size: var(--t-h2); font-weight: 400; letter-spacing: -0.018em; margin-bottom: 1.5rem; }
.stage > h2:focus { outline: none; }
.stage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; margin-top: 1.75rem; }
.stage-actions[hidden] { display: none; }
.stage-actions .hint { font: 400 var(--t-sm)/1.3 var(--sans); color: var(--graphite); }

.examine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem var(--gap); align-items: start; }
.study-card { border: 1px solid var(--ink); padding: 1.25rem 1.35rem 1.4rem; }
.study-card .label { font: 700 var(--t-sm)/1.3 var(--sans); margin-bottom: 0.7rem; }
.study-card h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 400; letter-spacing: -0.015em; margin-bottom: 0.9rem; }
.study-card p { font-size: 1.0625rem; line-height: 1.5; }
.study-card .finding { font-size: 1.1875rem; }
.study-card .reminder { border-top: 1px solid var(--line); margin-top: 1.1rem; padding-top: 0.9rem; font: 400 var(--t-sm)/1.45 var(--sans); }
.study-card .reminder span { display: block; color: var(--graphite); margin-bottom: 0.2rem; }
.study-card .reminder p { font: inherit; margin: 0; }

.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { font: 500 var(--t-h3)/1.2 var(--serif); padding: 0; margin-bottom: 0.5rem; }
.choices .hint { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin-bottom: 1rem; }
.option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
  align-items: start;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 1.0625rem;
  line-height: 1.42;
}
.option:hover { border-color: var(--ink); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .letter {
  font: 700 var(--t-sm)/1 var(--sans);
  width: 1.9em; height: 1.9em;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.option input:checked + .letter { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.option:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }

.feedback { border-left: 3px solid var(--accent); padding-left: 1.1rem; margin-bottom: 2rem; max-width: 44rem; }
.feedback[hidden] { display: none; }
.feedback .label { font: 700 var(--t-sm)/1.3 var(--sans); margin-bottom: 0.4rem; }
.feedback .chosen { font-size: var(--t-lg); line-height: 1.35; margin-bottom: 0.5rem; }
.feedback p:last-child { margin-bottom: 0; }

.reflect { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem var(--gap); align-items: start; }
.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  border-block: 1px solid var(--ink);
  padding-block: 1.25rem;
  margin-bottom: 1.5rem;
}
.compare span { display: block; font: 400 var(--t-sm)/1.3 var(--sans); color: var(--graphite); margin-bottom: 0.3rem; }
.compare strong { display: block; font: 400 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.compare .neq { font: 400 2.5rem/1 var(--sans); color: var(--ink); margin: 0; }
.takeaway { border: 1px solid var(--ink); padding: 1.25rem 1.35rem 1.4rem; }
.takeaway .label { font: 700 var(--t-sm)/1.3 var(--sans); margin-bottom: 0.8rem; }
.takeaway blockquote { font: 400 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.15 var(--serif); letter-spacing: -0.015em; margin-bottom: 0.9rem; }
.takeaway p:last-child { font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); margin: 0; }
.caveat { font-weight: 500; }

.reading { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem var(--gap); }
.reading li { margin: 0; }
.reading a { display: block; text-decoration: none; background-image: none; border-top: 1px solid var(--ink); padding-top: 0.9rem; }
.reading .kind { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); display: block; margin-bottom: 0.4rem; }
.reading h3 { font-size: 1.375rem; margin-bottom: 0.35rem; }
.reading a:hover h3 { background: var(--tint); display: inline; }
.reading p { font-size: 1.0625rem; line-height: 1.45; margin: 0.35rem 0 0.5rem; }
.reading .go { font: 400 var(--t-sm)/1.3 var(--sans); text-decoration: underline; text-underline-offset: 0.2em; }
.case-foot { font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); margin-top: 2.5rem; }
@media (max-width: 54rem) {
  .examine, .reflect { grid-template-columns: minmax(0, 1fr); }
  .reading { grid-template-columns: minmax(0, 1fr); }
}

/* Talk page */
.talk-facts { margin: 0; font: 400 var(--t-sm)/1.45 var(--sans); }
.talk-facts dt { color: var(--graphite); margin-top: 0.7rem; }
.talk-facts dt:first-child { margin-top: 0; }
.talk-facts dd { margin: 0; }

/* Not found */
.notfound { padding-block: clamp(3rem, 10vw, 8rem); min-height: 50vh; }
.notfound > * { max-width: 44rem; }
.notfound h1 { font-size: var(--t-h1); font-weight: 400; letter-spacing: -0.024em; line-height: 1; margin-bottom: 1.25rem; }


/* Shown only when a page is previewed away from the live site and its images cannot be reached */
.preview-note {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.25rem;
  padding: 0.7rem var(--pad);
  background: var(--ink);
  color: var(--paper);
  font: 400 var(--t-sm)/1.4 var(--sans);
}
.preview-note button { font: inherit; color: inherit; background: none; border: 1px solid currentColor; border-radius: 2px; padding: 0.25em 0.7em; cursor: pointer; }


/* 10 Motion — one load sequence, on the home page only ----------------------- */

@keyframes word-in {
  from { opacity: 0; transform: translateY(0.28em); }
  to { opacity: 1; transform: none; }
}
@keyframes mark-in {
  from { background-color: transparent; color: transparent; }
}
@keyframes note-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* The headline arrives word by word, then its three markers, then their notes. */
  .hero h1 .w { animation: word-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: calc(var(--i, 0) * 55ms + 80ms); }
  .hero .fn { animation: mark-in 0.35s ease-out backwards; }
  .hero .fn[href="#note-1"] { animation-delay: 0.95s; }
  .hero .fn[href="#note-2"] { animation-delay: 1.15s; }
  .hero .fn[href="#note-3"] { animation-delay: 1.35s; }
  .hero .footnotes li { animation: note-in 0.5s ease-out backwards; }
  .hero .footnotes li:nth-child(1) { animation-delay: 1.05s; }
  .hero .footnotes li:nth-child(2) { animation-delay: 1.25s; }
  .hero .footnotes li:nth-child(3) { animation-delay: 1.45s; }
}
@media (prefers-reduced-motion: reduce) {
  a, .btn, .fn, .nav .nav-contact, .footnotes .n { transition: none; }
}


/* 11 Print ------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer .footer-grid, .pubtools, .nav-toggle, .actions, .onpage, .skip-link { display: none !important; }
  body { font-size: 11pt; }
  .section { padding-bottom: 1.5rem; }
  a { text-decoration: none; }
  .pub, .row, .ledger > li { break-inside: avoid; }
}

.talk-list li[hidden] { display: none; }
.talk-more { margin-top: 1rem; }

.hub-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; max-width: 56rem; }
.hub-books li b { font: 500 var(--t-h3)/1.25 var(--serif); }
@media (max-width: 720px) { .hub-books { grid-template-columns: minmax(0, 1fr); } }
.page-head .ed-switch { margin-top: 1.5rem; }

/* Services: three talks to book, and the enquiry that writes its own email */
.talk3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: none; }
.talk3 li { margin: 0; padding: 1.5rem 1.5rem 1.6rem; background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.talk3 li:nth-child(2) { background: var(--blue); }
.talk3 li:nth-child(3) { background: var(--fog); color: var(--ink); }
.talk3-for { font: 600 var(--t-xs)/1.3 var(--sans); margin: 0 0 1rem !important; opacity: 0.8; min-height: 2.6em; }
.talk3 h3 { font: 400 var(--t-h3)/1.15 var(--serif); margin: 0 0 0.8rem; color: inherit; }
.talk3 p { color: inherit; font-size: var(--t-sm); line-height: 1.5; margin: 0; }
.talk3 .svc-go { margin-top: auto; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }
.talk3 a { color: inherit; }
.talk3 li:not(:nth-child(3)) .offer-ask { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7); }
.enq { margin-top: 2.5rem; padding: 2rem; background: var(--fog); border-top: 2px solid var(--ink); }
.enq[hidden] { display: none; }
.enq h3 { margin: 0 0 1.25rem; }
.enq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.enq label { display: grid; gap: 0.35rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.enq-wide { grid-column: 1 / -1; }
.enq input, .enq select, .enq textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 0.65rem 0.75rem; width: 100%; box-sizing: border-box; }
.enq input:focus, .enq select:focus, .enq textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.enq-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 1.5rem 0 0; }
.enq-go .dash-hint { margin: 0; flex: 1 1 16rem; }
@media (max-width: 860px) { .talk3, .enq-grid { grid-template-columns: minmax(0, 1fr); } .enq { padding: 1.25rem; } }

/* Sign-up boxes: the planned newsletter and the book */
.join-sec { border-top: 0; padding-top: 0; }
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; padding: 2.25rem; background: var(--ink); color: #fff; }
.join[hidden], .leave[hidden] { display: none; }
.join h2 { color: #fff; margin: 0 0 0.75rem; font-size: var(--t-h2); }
.join-t p { margin: 0; color: #dbe4f0; max-width: 30em; }
.join label { display: block; font: 600 var(--t-xs)/1.3 var(--sans); color: #dbe4f0; }
.join input[type="email"], .leave input[type="email"] { display: block; width: 100%; box-sizing: border-box; margin-top: 0.35rem; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 0.7rem 0.8rem; }
.join input:focus-visible { outline: 2px solid #9cc8f5; outline-offset: 2px; }
.join-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-c { display: flex !important; gap: 0.6rem; align-items: flex-start; margin-top: 0.9rem; font-weight: 400 !important; font-size: var(--t-sm) !important; color: #fff !important; }
.join-c input { margin-top: 0.2rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: #9cc8f5; }
.join-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 1.1rem 0 0; }
.join-go .btn { background: #fff; color: var(--ink); }
.join-go a { color: #9cc8f5; font: 400 var(--t-xs)/1.3 var(--sans); }
.join-msg { margin: 0.8rem 0 0; font: 600 var(--t-sm)/1.4 var(--sans); min-height: 1.4em; }
.join .join-msg { color: #9cc8f5; }
.join.is-done .join-e, .join.is-done .join-c, .join.is-done .join-go { display: none !important; }
.leave { margin: 1rem 0 2rem; padding: 1.25rem; background: var(--fog); max-width: 34rem; }
.leave label { display: block; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); margin-bottom: 0.9rem; }
@media (max-width: 860px) { .join { grid-template-columns: minmax(0, 1fr); padding: 1.5rem 1.25rem; } }

/* The running count */
.rep-h { font-size: var(--t-h3); margin: 2.5rem 0 1rem; }
.rep-weeks { display: flex; align-items: flex-end; gap: 6px; height: 14rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--ink); overflow-x: auto; }
.rep-col { position: relative; flex: 1 0 2.4rem; max-width: 5rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; text-align: center; }
.rep-col b { font: 700 var(--t-xs)/1 var(--sans); margin-bottom: 0.3rem; }
.rep-col i { display: block; background: var(--blue); border-radius: 3px 3px 0 0; }
.rep-col:last-child i { background: var(--ink); }
.rep-col span { position: absolute; left: 0; right: 0; bottom: -1.4rem; font: 400 0.6875rem/1 var(--sans); color: var(--graphite); white-space: nowrap; }
.rep-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin-bottom: 2rem; }
.rep-row { position: relative; display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.55rem 0.5rem; border-top: 1px solid var(--line); font: 400 var(--t-sm)/1.3 var(--sans); }
.rep-figs dd { font-size: clamp(1.4rem, 2.4vw, 2rem) !important; }
[data-rep][hidden], [data-rep-empty][hidden] { display: none; }
@media (max-width: 860px) { .rep-two { grid-template-columns: minmax(0, 1fr); } }

.clip { margin: 0 0 1.5rem; }
.clip video { display: block; width: 100%; height: auto; background: var(--ink); }
.clip figcaption { margin-top: 0.5rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }

/* Press: the complete record, folded away */
#record { border-top: 0; padding-top: 0; }
.rec { border-top: 0; background: var(--fog); border-radius: 6px; padding: 0 1.75rem; }
.rec[open] { padding-bottom: 1.75rem; }
.rec > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; padding: 1.4rem 0; cursor: pointer; list-style: none; outline: none; border-radius: 6px; }
.rec > summary::-webkit-details-marker { display: none; }
.rec > summary:focus-visible { box-shadow: 0 0 0 3px var(--fog), 0 0 0 5px var(--blue); }
.rec > summary h2 { margin: 0; font-size: var(--t-h3); }
.rec > summary span { font: 400 var(--t-sm)/1.3 var(--sans); color: var(--graphite); }
.rec > summary::after { content: "Show all"; margin-left: auto; font: 600 var(--t-sm)/1 var(--sans); color: #fff; background: var(--ink); padding: 0.8em 1.1em; border-radius: 4px; }
.rec[open] > summary::after { content: "Hide"; background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rec > summary:hover::after { background: var(--blue); color: #fff; box-shadow: none; }
.rec h3 { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--graphite); margin: 2rem 0 0.25rem; }
.rec-list { list-style: none; margin: 0; padding: 0; }
.rec-list li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; margin: 0; padding: 0.8rem 0; border-top: 1px solid var(--mark); scroll-margin-top: 6rem; }
.rec-list li:target { background: var(--tint); }
.rec-list time { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.rec-list a { font: 500 1.15rem/1.3 var(--serif); }
.rec-list i { display: block; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); font-style: normal; margin-top: 0.15rem; }
.rec-list .rec-up { font: 400 var(--t-xs)/1 var(--sans); color: var(--blue); }
@media (max-width: 640px) { .rec-list li { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; } }

/* links on dark ground must not take the light hover highlight */
.now a, .now-t, .join a, .talk3 li:not(:nth-child(3)) a, .talk3 li:not(:nth-child(3)) a:hover { background-image: none; }

/* AI news: cluster map */
.cmap svg { display: block; background: var(--fog); border-radius: 4px; }
.cm-c { fill-opacity: 0.1; stroke-width: 1.5; cursor: pointer; transition: fill-opacity 0.15s; }
.cm-g:hover .cm-c, .cm-c:focus-visible { fill-opacity: 0.2; outline: none; }
.cm-g.is-on .cm-c { fill-opacity: 0.28; stroke-width: 3; }
.cm-d { fill-opacity: 0.75; stroke: #fff; stroke-width: 0.75; }
.cmap a:hover .cm-d, .cmap a:focus-visible .cm-d { fill-opacity: 1; stroke: var(--ink); stroke-width: 1.5; }
.cmap a, .cmap a:hover { background-image: none; }
.cm-t { font: 400 12px var(--sans); fill: var(--ink); pointer-events: none; paint-order: stroke; stroke: var(--fog); stroke-width: 4px; stroke-linejoin: round; }
.cm-t1 { font: 600 15px var(--serif); } .cm-tn { font-weight: 700; fill: var(--graphite); }

/* Book: eight cards to draw from */
.bk-drawn { min-height: 17rem; position: relative; overflow: hidden; }
.bk-drawn::after { content: "?"; position: absolute; right: -0.05em; bottom: -0.32em; font: 400 16rem/1 var(--serif); color: rgba(255,255,255,0.06); pointer-events: none; }
.bk-deck-w { display: flex; flex-direction: column; }
.bk-deck-h { margin: 0 0 1rem; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); }
.bk-deck-h span { font-weight: 600; color: var(--ink); }
.bk-deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.bk-pick { position: relative; aspect-ratio: 3 / 4; border: 0; border-radius: 6px; background: var(--blue); color: #fff; cursor: pointer; transform: rotate(var(--tilt, 0deg)); transition: transform 0.2s cubic-bezier(.2,.8,.2,1), background 0.2s, box-shadow 0.2s; box-shadow: 0 1px 0 rgba(15,27,45,0.2), 0 6px 14px rgba(15,27,45,0.12); display: grid; place-items: center; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.07) 0 6px, transparent 6px 12px); }
.bk-pick:hover, .bk-pick:focus-visible { transform: translateY(-6px) rotate(0deg); box-shadow: 0 12px 22px rgba(15,27,45,0.22); outline: none; }
.bk-pick:focus-visible { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.bk-pick b { position: absolute; left: 0.5rem; top: 0.4rem; font: 600 var(--t-xs)/1 var(--sans); opacity: 0.85; }
.bk-pick span { font: 400 2.2rem/1 var(--serif); }
.bk-pick.is-drawn { background: var(--fog); color: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); background-image: none; transform: none; }
.bk-pick.is-drawn span { font-size: 0; } .bk-pick.is-drawn span::before { content: "✓"; font: 400 1.6rem/1 var(--sans); color: var(--blue); }
.bk-pick.is-now { background: var(--ink); color: #fff; box-shadow: none; transform: translateY(-6px); }
.bk-pick.is-now span::before { color: #9cc8f5; }
.bk-deck-w .actions { margin-top: auto; }
@media (max-width: 860px) { .bk-draw { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } .bk-drawn { min-height: 13rem; } }
@media (prefers-reduced-motion: reduce) { .bk-pick { transition: none; transform: none; } }

/* AI news: sunburst, flows, bump chart */
.viz svg { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.sun-a { stroke: var(--paper); stroke-width: 1; cursor: pointer; transition: fill-opacity 0.15s; }
.sun-a:hover, .sun-a:focus-visible { fill-opacity: 1; outline: none; }
.sun-t { font: 600 11px var(--sans); fill: #fff; pointer-events: none; } .sun-t2 { font-weight: 400; fill: var(--ink); }
.sun-n { font: 400 44px var(--serif); fill: var(--ink); } .sun-l { font: 400 12px var(--sans); fill: var(--graphite); }
.flow-l { fill: none; } .flow-l:hover { stroke-opacity: 0.8; }
.flow-t { font: 400 13px var(--sans); fill: var(--ink); cursor: pointer; } .flow-t:hover, .flow-t:focus-visible { text-decoration: underline; outline: none; } .flow-t.is-on { font-weight: 700; fill: var(--blue); }
.bump-d { font: 400 11px var(--sans); fill: var(--graphite); } .bump-g { stroke: var(--line); stroke-dasharray: 2 4; }
.bump-w { cursor: pointer; } .bump-w:focus-visible { outline: none; } .bump-w:hover path, .bump-w:focus-visible path, .bump-w.is-on path { stroke-width: 6; }
.bump-t { font: 600 13px var(--sans); }
/* Services: three steps, all in view */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: st; }
.steps3 li { position: relative; margin: 0; padding: 1.75rem 2rem 2rem 0; border-top: 3px solid var(--ink); counter-increment: st; }
.steps3 li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
.steps3 li:nth-child(2) { border-top-color: var(--blue); } .steps3 li:nth-child(3) { border-top-color: #d9773a; }
.steps3 li::before { content: counter(st); display: block; font: 400 4.5rem/0.9 var(--serif); color: var(--mark); margin-bottom: 0.9rem; letter-spacing: -0.03em; }
.steps3 li:not(:last-child)::after { content: "→"; position: absolute; right: -0.75rem; top: 2.4rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 400 0.9rem/1.5rem var(--sans); text-align: center; color: var(--blue); z-index: 1; }
.steps3 svg { position: absolute; right: 2rem; top: 1.9rem; width: 2.5rem; height: 2.5rem; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.steps3 strong { display: block; font: 500 var(--t-h3)/1.2 var(--serif); margin-bottom: 0.5rem; }
.steps3 span { display: block; color: var(--graphite); max-width: 22em; }
.steps3 em { display: block; margin-top: 0.9rem; font: 600 var(--t-xs)/1.3 var(--sans); font-style: normal; color: var(--blue); }
@media (max-width: 760px) { .steps3 { grid-template-columns: minmax(0, 1fr); } .steps3 li, .steps3 li + li { padding: 1.25rem 0 1.5rem; border-left: 0; } .steps3 li:not(:last-child)::after { content: "↓"; right: auto; left: 0; top: auto; bottom: -0.8rem; } .steps3 svg { right: 0; top: 1.4rem; } }

/* AI news: the filters in use, as chips that can be removed one by one */
.dash-crumbs { position: sticky; top: 4.25rem; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; margin: -0.5rem 0 1.5rem; padding: 0.75rem 1rem; background: var(--ink); color: #fff; border-radius: 6px; box-shadow: 0 8px 20px rgba(15,27,45,0.18); animation: ag-in 0.25s ease-out both; }
.dash-crumbs[hidden] { display: none; }
.crumb-n { font: 600 var(--t-sm)/1 var(--sans); margin-right: 0.4rem; }
.crumb-l { font: 400 var(--t-xs)/1 var(--sans); color: #9cc8f5; }
.crumb { display: inline-flex; align-items: center; gap: 0.45rem; font: 400 var(--t-sm)/1 var(--sans); color: var(--ink); background: #fff; border: 0; border-radius: 999px; padding: 0.45rem 0.5rem 0.45rem 0.8rem; cursor: pointer; }
.crumb i { font-style: normal; font-size: var(--t-xs); color: var(--graphite); }
.crumb b { font-weight: 600; }
.crumb-x { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--fog); font: 400 1rem/1 var(--sans); color: var(--ink); }
.crumb:hover .crumb-x, .crumb:focus-visible .crumb-x { background: #c5221f; color: #fff; }
.crumb:focus-visible, .crumb-all:focus-visible { outline: 2px solid #9cc8f5; outline-offset: 2px; }
.crumb-all { margin-left: auto; font: 600 var(--t-sm)/1 var(--sans); color: #fff; background: none; border: 0; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; padding: 0.4rem 0.2rem; }
@media (max-width: 640px) { .dash-crumbs { top: 3.5rem; padding: 0.6rem 0.75rem; } .crumb-all { margin-left: 0; } }

.dash-reset { display: none !important; }
.bk-again { margin-left: 0.75rem; font: 600 var(--t-sm)/1 var(--sans); color: var(--blue); background: none; border: 0; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; padding: 0.6rem 0.2rem; }
.bk-again[hidden] { display: none; }
/* Impact: open cards, a dark band for the award, outlet names, a dark invitation */
.open-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.open-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .open-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.open-cards > li { margin: 0; padding: 1.5rem 1.6rem 1.6rem; background: var(--fog); border-top: 3px solid var(--ink); transition: transform 0.2s, box-shadow 0.2s; }
.open-cards > li:nth-child(4n+2) { border-top-color: var(--blue); } .open-cards > li:nth-child(4n+3) { border-top-color: #0d7c8c; } .open-cards > li:nth-child(4n+4) { border-top-color: #d9773a; }
.open-cards > li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,27,45,0.1); }
.open-cards h3 { font: 500 var(--t-h3)/1.2 var(--serif); margin: 0 0 0.6rem; }
.open-cards p { margin: 0 0 0.6rem; } .open-cards p:last-child { margin-bottom: 0; }
.open-cards .note { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--blue); margin-bottom: 0.5rem; }
.open-cards h3 + p + .note, .open-cards p + .note { margin-top: 0.9rem; font-weight: 400; }
.imp-figs { margin-bottom: 2rem; }
.band { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3rem; align-items: center; padding: clamp(1.75rem, 4vw, 3.25rem); background: var(--ink); color: #fff; border-radius: 6px; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -6rem; top: -6rem; width: 20rem; height: 20rem; border-radius: 50%; border: 2.5rem solid rgba(156,200,245,0.08); pointer-events: none; }
.band-n { margin: 0; text-align: center; line-height: 1; }
.band-n b { display: block; font: 400 clamp(6rem, 14vw, 11rem)/0.85 var(--serif); color: #9cc8f5; letter-spacing: -0.04em; }
.band-n span { display: block; font: 400 clamp(1.4rem, 3vw, 2.2rem)/1 var(--serif); margin-top: 0.4rem; }
.band-k { margin: 0 0 0.75rem; font: 600 var(--t-sm)/1 var(--sans); color: #9cc8f5; }
.band h2 { color: #fff; margin: 0 0 1.1rem; font-size: var(--t-h2); max-width: 22em; }
.band p { color: #dbe4f0; max-width: 40em; } .band .lead { color: #fff; }
.band a { color: #fff; background-image: none; }
.band-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 1.5rem 0 0; }
.band-go .btn { background: #fff; color: var(--ink); }
.outlets { display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; margin: 0 0 2rem; }
.outlets span { font: 500 clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem)/1 var(--serif); padding: 0.55em 0.8em; box-shadow: inset 0 0 0 1px var(--ink); border-radius: 2px; }
.outlets span:nth-child(-n+2) { background: var(--ink); color: #fff; }
.callout--quiet { border-left-width: 2px; border-left-color: var(--line); padding-top: 0; padding-bottom: 0; }
.callout--quiet p { font-size: var(--t-sm); color: var(--graphite); max-width: 52em; }
.invite--dark { background: var(--ink); color: #fff; padding: clamp(1.75rem, 4vw, 3rem); border-radius: 6px; border-top: 0; }
.invite--dark h2 { color: #fff; } .invite--dark p { color: #dbe4f0; } .invite--dark a { color: #fff; background-image: none; }
.invite--dark .btn { background: #fff; color: var(--ink); }
@media (max-width: 860px) { .open-cards--3, .open-cards--4 { grid-template-columns: minmax(0, 1fr); } .band { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } .band-n { text-align: left; display: flex; align-items: baseline; gap: 0.75rem; } .band-n b { font-size: 5.5rem; } }
@media (prefers-reduced-motion: reduce) { .open-cards > li { transition: none; } .open-cards > li:hover { transform: none; } }

.clip-say { margin-top: 0.4rem; } .clip-say summary { cursor: pointer; color: var(--blue); } .clip-say p { margin: 0.4rem 0 0; max-width: 46em; }

/* The question about visitor statistics */
.stats-ask { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 44rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; padding: 0.75rem 0.9rem 0.75rem 1.1rem; background: #fff; color: var(--ink); border: 1px solid #dfe6f1; border-radius: 12px; box-shadow: 0 14px 36px -12px rgba(15, 27, 45, 0.35); }
.stats-ask p { margin: 0; flex: 1 1 18rem; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--ink); }
.stats-ask a { color: var(--blue); }
.stats-acts { display: flex; gap: 0.6rem; align-items: center; }
/* the two answers look alike: saying no is as easy as saying yes */
.stats-no, .stats-yes { font: 600 var(--t-sm)/1 var(--sans); color: var(--ink); background: #fff; border: 1px solid #b9c5d6; border-radius: 8px; padding: 0.7em 1em; cursor: pointer; white-space: nowrap; }
.stats-no:hover, .stats-yes:hover, .stats-no:focus-visible, .stats-yes:focus-visible { border-color: var(--ink); background: #f4f6fa; }
@media print { .stats-ask { display: none; } }

/* Home: yesterday in the game, as tiles */
.live { margin-top: 2.25rem; border-top: 0; padding: 1.5rem 1.6rem 1.6rem; background: var(--ink); color: #fff; border-radius: 6px; }
.live-h { color: #fff; margin-bottom: 1.1rem; } .live-h .muted { color: #9cc8f5; }
.live-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; }
.live-facts li { background: rgba(255,255,255,0.08); border-top: 3px solid #9cc8f5; padding: 0.9rem 1rem 1rem; border-radius: 0 0 4px 4px; }
.live-facts li[hidden] { display: none; }
.live-facts li:nth-child(2) { border-top-color: #d9773a; } .live-facts li:nth-child(3) { border-top-color: #fff; }
.live-facts b { color: #fff; overflow-wrap: anywhere; } .live-facts span { color: #dbe4f0; }
.live-hard { color: #dbe4f0; } .live-hard a { color: #fff; background-image: none; } .live-hard .muted { color: #9cc8f5; }
.tease-actions { margin-top: 1.5rem; }

/* small pictures beside the headlines of the AI news list */
.news-list li.has-pic { grid-template-columns: 9.5rem minmax(0, 1fr) 7rem; }
.news-list li .pic { grid-column: 3; grid-row: 1; width: 7rem; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; align-self: start; background: var(--line); }
@media (max-width: 40rem) {
  .news-list li.has-pic { grid-template-columns: minmax(0, 1fr) 5.25rem; column-gap: 0.9rem; }
  .news-list li.has-pic .pic { grid-column: 2; grid-row: 1 / span 2; width: 5.25rem; }
  .news-list li.has-pic .o, .news-list li.has-pic a { grid-column: 1; }
}
.dash .news-list li.has-pic { grid-template-columns: 8.5rem minmax(0, 1fr) 7rem; }
.dash .news-list li .pic { grid-column: 3; grid-row: 1; width: 7rem; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; align-self: start; background: var(--line); }
@media (max-width: 760px) {
  .dash .news-list li.has-pic { grid-template-columns: minmax(0, 1fr) 5.25rem; column-gap: 0.9rem; }
  .dash .news-list li.has-pic .pic { grid-column: 2; grid-row: 1 / span 2; width: 5.25rem; }
  .dash .news-list li.has-pic .o, .dash .news-list li.has-pic a { grid-column: 1; }
}

/* the headline lists run the full width of their section, like the rule above them */
.news-list { max-width: none; }

/* AI news: the day in short, and what is new to this reader */
.brief { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 0.9rem; }
.brief li { margin: 0; }
.brief-c { display: block; width: 100%; height: 100%; text-align: left; background: var(--paper, #fff); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 0 0 8px 8px; padding: 0.9rem 1rem 1rem; font: inherit; color: var(--ink); }
button.brief-c { cursor: pointer; } button.brief-c:hover, button.brief-c:focus-visible { border-color: var(--ink); background: var(--tint, #e8eff8); }
.brief-c small { display: block; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.brief-c b { display: block; font: 400 1.9rem/1.1 var(--serif); margin: 0.3rem 0 0.25rem; overflow-wrap: anywhere; }
.brief-c span { display: block; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); }
.brief li:nth-child(2) .brief-c { border-top-color: #0d7c8c; } .brief li:nth-child(3) .brief-c { border-top-color: #d9773a; } .brief li:nth-child(4) .brief-c { border-top-color: #0b7a43; }
.news-list li.is-unseen { box-shadow: inset 3px 0 0 #d9773a; padding-left: 0.75rem; }
.news-list li.is-fresh { animation: news-in 2.4s ease-out 1; }
@keyframes news-in { from { background: rgba(242, 180, 65, 0.45); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .news-list li.is-fresh { animation: none; background: rgba(242, 180, 65, 0.18); } }

/* AI news: one story across newsrooms */
.same { margin-top: 2rem; }
.same-list { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem; }
.same-list > li { margin: 0; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: 0 0 8px 8px; padding: 0.9rem 1rem 0.6rem; background: var(--paper, #fff); }
.same-h { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); margin: 0 0 0.4rem; }
.same-rows { list-style: none; margin: 0; padding: 0; }
.same-rows li { margin: 0; padding: 0.55rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; column-gap: 0.6rem; row-gap: 0.15rem; align-items: baseline; }
.same-rows li:first-child { border-top: 0; }
.same-tag { font: 600 var(--t-xs)/1.5 var(--sans); color: var(--graphite); background: var(--fog, #f3f5f8); border-radius: 3px; padding: 0 0.4rem; white-space: nowrap; }
.same-tag.is-first { background: #f2b441; color: var(--ink); }
.same-rows b { font: 600 var(--t-sm)/1.4 var(--sans); }
.same-rows a { grid-column: 1 / -1; font: 400 1.05rem/1.35 var(--serif); }
/* Keep up with AI: what the week's paper titles are about */
.trend { margin: 0.5rem 0 1.5rem; }
.trend h3 { margin: 0 0 0.2rem; }
.trend-bars { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 0.35rem 1.5rem; }
.trend-bars li { margin: 0; }
.trend-b { position: relative; display: flex; justify-content: space-between; gap: 0.8rem; width: 100%; text-align: left; font: inherit; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 4px; padding: 0.4rem 0.55rem; cursor: pointer; overflow: hidden; }
.trend-b i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); opacity: 0.14; border-radius: 4px; }
.trend-b .k { position: relative; font: 600 var(--t-sm)/1.4 var(--sans); }
.trend-b .n { position: relative; font: 400 var(--t-xs)/1.6 var(--sans); color: var(--graphite); white-space: nowrap; }
.trend-b:hover, .trend-b:focus-visible { border-color: var(--ink); }
.trend-b[aria-pressed="true"] { border-color: var(--ink); background: var(--tint, #e8eff8); }

/* AI news: the side columns scroll with the page; no column has a scroll bar of its own */

/* Research: the method as four connected cards */
.steps--flow { list-style: none; counter-reset: flow; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 1.5rem; }
.steps--flow > li { counter-increment: flow; position: relative; margin: 0; padding: 3.4rem 1.2rem 1.3rem; background: var(--paper, #fff); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 0 0 8px 8px; }
.steps--flow > li::before { content: counter(flow); position: absolute; top: 0.9rem; left: 1.2rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff; font: 600 0.95rem/2rem var(--sans); text-align: center; }
.steps--flow > li:not(:last-child)::after { content: ""; position: absolute; top: 1.55rem; right: -1.15rem; width: 0.8rem; height: 0.8rem; border-top: 2px solid var(--graphite); border-right: 2px solid var(--graphite); transform: rotate(45deg); }
.steps--flow > li:nth-child(2) { border-top-color: #0d7c8c; } .steps--flow > li:nth-child(3) { border-top-color: #d9773a; } .steps--flow > li:nth-child(4) { border-top-color: #0b7a43; }
.steps--flow strong { display: block; font: 500 1.35rem/1.2 var(--serif); margin-bottom: 0.4rem; }
.steps--flow span { display: block; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
@media (max-width: 74rem) { .steps--flow > li::after { display: none; } }
.steps--flow > li:nth-child(5) { border-top-color: #566274; }
/* Research: funding in figures and cards */
.g-figs { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.g-figs li { margin: 0; background: var(--ink); color: #fff; border-radius: 8px; padding: 1.2rem 1.2rem 1.3rem; }
.g-figs b { display: block; font: 400 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: #f2b441; }
.g-figs span { display: block; margin-top: 0.5rem; font: 400 var(--t-sm)/1.4 var(--sans); color: #dbe4f0; }
.g-filter { margin: 0.5rem 0 1rem; }
.g-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.g-card { margin: 0; background: var(--paper, #fff); border: 1px solid var(--line); border-left: 4px solid var(--graphite); border-radius: 0 8px 8px 0; padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; }
.g-card[hidden] { display: none; }
.g-pi { border-left-color: var(--blue); } .g-copi { border-left-color: #0d7c8c; } .g-co { border-left-color: #d9773a; }
.g-top { display: flex; justify-content: space-between; gap: 0.6rem; margin: 0 0 0.5rem; font: 600 var(--t-xs)/1.4 var(--sans); }
.g-yr { color: var(--graphite); } .g-role { padding: 0 0.5rem; border-radius: 999px; background: var(--tint, #e8eff8); color: var(--ink); }
.g-pi .g-role { background: var(--blue); color: #fff; }
.g-card h4 { font: 500 1.15rem/1.3 var(--serif); margin: 0 0 0.35rem; }
.g-by { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); }
.g-amt { margin: 0.7rem 0 0; font: 400 1.5rem/1.1 var(--serif); }
.g-note { margin: 0.5rem 0 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
/* Research: awards along a line of years */
.aw { list-style: none; margin: 0.5rem 0 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--line); max-width: 52rem; }
.aw li { position: relative; margin: 0; padding: 0 0 1.5rem 0.6rem; }
.aw li::before { content: ""; position: absolute; left: -1.95rem; top: 0.3rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: #f2b441; border: 3px solid var(--paper, #fff); box-shadow: 0 0 0 2px var(--ink); }
.aw-yr { display: inline-block; font: 600 var(--t-xs)/1.5 var(--sans); background: var(--ink); color: #fff; border-radius: 999px; padding: 0 0.6rem; margin-bottom: 0.3rem; }
.aw-item { font: 400 1.05rem/1.5 var(--serif); }
/* Publications: the record at a glance */
.pub-viz { display: grid; grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr); gap: 2.5rem; margin: 0 0 2.5rem; padding: 1.5rem 1.6rem 1.6rem; background: var(--paper, #fff); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: 0 0 10px 10px; }
.pub-viz[hidden] { display: none; }
.pub-viz-h { font: 500 1.6rem/1.2 var(--serif); margin: 0 0 0.2rem; }
.pub-viz h3 { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0 0 0.4rem; } .pub-viz-side h3:not(:first-child) { margin-top: 1.2rem; }
.pub-years { display: flex; align-items: flex-end; gap: 4px; height: 11rem; margin-top: 1rem; }
.pub-yb { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; background: transparent; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink); }
.pub-yb i { display: block; width: 100%; background: var(--blue); border-radius: 3px 3px 0 0; transition: background 0.15s; }
.pub-yb b { font: 600 0.7rem/1 var(--sans); color: var(--graphite); } .pub-yb span { font: 400 0.7rem/1.2 var(--sans); color: var(--graphite); }
.pub-yb:hover i, .pub-yb:focus-visible i { background: var(--ink); } .pub-yb[aria-pressed="true"] i { background: #d9773a; } .pub-yb[aria-pressed="true"] span { color: var(--ink); font-weight: 600; }
.pub-yb[disabled] { cursor: default; } .pub-yb[disabled] i { background: var(--line); }
.pub-themes { list-style: none; margin: 0; padding: 0; } .pub-themes li { margin: 0 0 0.25rem; }
.pub-tb { position: relative; display: flex; justify-content: space-between; gap: 0.8rem; width: 100%; text-align: left; font: inherit; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 4px; padding: 0.35rem 0.5rem; cursor: pointer; overflow: hidden; }
.pub-tb i { position: absolute; left: 0; top: 0; bottom: 0; background: #0d7c8c; opacity: 0.15; border-radius: 4px; }
.pub-tb .k { position: relative; font: 400 var(--t-sm)/1.4 var(--sans); } .pub-tb .n { position: relative; font: 600 var(--t-sm)/1.4 var(--sans); }
.pub-tb:hover, .pub-tb:focus-visible { border-color: var(--ink); }
@media (max-width: 52rem) { .pub-viz { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.1rem; } .pub-years { height: 8rem; gap: 2px; } .pub-yb b { display: none; } .pub-yb span { font-size: 0.6rem; } }
.g-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.g-filter .dc-chip { font: 600 var(--t-sm)/1 var(--sans); padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper, #fff); color: var(--ink); cursor: pointer; }
.g-filter .dc-chip:hover, .g-filter .dc-chip:focus-visible { border-color: var(--ink); }
.g-filter .dc-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* lists of a few points, shown as open cards instead of tabs */
.defs--cards { gap: 1.25rem; }
.defs--cards > li { background: var(--paper, #fff); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 0 0 8px 8px; padding: 1.2rem 1.25rem 1.3rem; }
.defs--cards > li:nth-child(3n+2) { border-top-color: #0d7c8c; } .defs--cards > li:nth-child(3n) { border-top-color: #d9773a; }
.defs--cards h3 { margin-top: 0; }
@media (max-width: 52rem) { .defs--cards { grid-template-columns: minmax(0, 1fr); } }

/* Press: where the writing appeared, instead of a count */
.press-in { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--graphite); margin: 0 0 0.7rem; }
.outlets--head { margin-bottom: 1rem; gap: 0.4rem 0.45rem; }
.outlets--head span { font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.15rem); padding: 0.5em 0.7em; }
.outlets--head span:nth-child(3), .outlets--head span:nth-child(4) { background: var(--blue); color: #fff; box-shadow: none; }

/* Current focus: a picture and the time beside each real headline */
.fx-heads li.has-pic { display: grid; grid-template-columns: minmax(0, 1fr) 8rem; column-gap: 1.25rem; align-items: start; }
.fx-heads li.has-pic .fx-pic { grid-column: 2; grid-row: 1 / span 3; width: 8rem; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; background: var(--line); }
.fx-heads li.has-pic > :not(.fx-pic) { grid-column: 1; }
@media (max-width: 40rem) { .fx-heads li.has-pic { grid-template-columns: minmax(0, 1fr) 5.25rem; column-gap: 0.8rem; } .fx-heads li.has-pic .fx-pic { width: 5.25rem; } }

/* Publications: figures and co-authors under the yearly bars */
.pub-figs { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.8rem; }
.pub-figs li { margin: 0; background: var(--ink); color: #fff; border-radius: 6px; padding: 0.8rem 0.9rem 0.9rem; }
.pub-figs b { display: block; font: 400 1.7rem/1.05 var(--serif); color: #f2b441; }
.pub-figs span { display: block; margin-top: 0.3rem; font: 400 var(--t-xs)/1.35 var(--sans); color: #dbe4f0; }
.pub-viz .pub-co-h { margin-top: 1.5rem; }
.pub-co { columns: 2; column-gap: 1.5rem; margin-top: 0.5rem; } .pub-co li { break-inside: avoid; }
.pub-co .pub-tb i { background: var(--blue); }
@media (max-width: 34rem) { .pub-co { columns: 1; } }

.press-wall { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding: 1.2rem 1.4rem 1.3rem; background: var(--tint, #e8eff8); border-radius: 8px; }
.press-wall .outlets--head { margin-bottom: 0; } .press-wall .outlets--head span { background: var(--paper, #fff); }
.press-wall .outlets--head span:nth-child(-n+2) { background: var(--ink); color: #fff; } .press-wall .outlets--head span:nth-child(3), .press-wall .outlets--head span:nth-child(4) { background: var(--blue); color: #fff; }

/* a figure whose only picture could not be loaded takes no room */
.is-empty { display: none !important; }

/* AI news: "Same story, different headlines" as story cards with a who-followed-whom track */
.same-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.same-list > li.same-card { border: 0; border-radius: 14px; padding: 1.4rem 1.5rem 1.1rem; background: var(--paper, #fff); box-shadow: 0 1px 2px rgba(15,27,45,.06), 0 10px 30px rgba(15,27,45,.08); }
.same-list > li.same-card.is-lead { grid-column: 1 / -1; background: #0f1b2d; color: #fff; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 2.5rem; align-items: start; padding: 1.8rem 2rem 1.5rem; }
.same-card.is-lead .same-h, .same-card.is-lead .same-track { grid-column: 1 / -1; }
.same-card .same-h { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin: 0 0 0.9rem; }
.same-card .same-h b { color: var(--blue); font-weight: 700; }
.same-card.is-lead .same-h { color: #b9c4d6; } .same-card.is-lead .same-h b { color: #f2b441; }
.same-track { list-style: none; display: flex; margin: 0 0 1.2rem; padding: 0; }
.same-track li { flex: 1 1 0; min-width: 0; margin: 0; position: relative; padding-top: 1.1rem; font: 400 var(--t-xs)/1.35 var(--sans); }
.same-track li::before { content: ""; position: absolute; left: 0; right: 0; top: 0.3rem; height: 2px; background: currentColor; opacity: 0.2; }
.same-track li::after { content: ""; position: absolute; left: 0; top: 0; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--paper, #fff); }
.same-card.is-lead .same-track li::after { background: #7fb2f0; box-shadow: 0 0 0 3px #0f1b2d; }
.same-track li.is-first::after, .same-card.is-lead .same-track li.is-first::after { background: #f2b441; }
.same-track b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 0.5rem; }
.same-track span { opacity: 0.7; }
.same-main { display: grid; gap: 0.9rem; align-content: start; }
.same-pic { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 10px; display: block; }
.same-card:not(.is-lead) .same-pic { aspect-ratio: 16 / 6; }
.same-lead { font: 400 1.45rem/1.25 var(--serif); color: inherit; text-decoration: none; }
.same-card.is-lead .same-lead { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; }
.same-lead:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.same-card .same-rows { margin-top: 0.9rem; }
.same-card.is-lead .same-rows { margin-top: 0; }
.same-card .same-rows li { display: block; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.same-card.is-lead .same-rows li { border-top-color: rgba(255,255,255,.14); }
.same-card .same-rows li:first-child { border-top: 0; padding-top: 0; }
.same-card .same-rows b { display: block; font: 600 var(--t-xs)/1.4 var(--sans); color: var(--graphite); margin-bottom: 0.15rem; }
.same-card.is-lead .same-rows b { color: #b9c4d6; }
.same-card .same-rows a { font: 400 1.05rem/1.4 var(--serif); color: inherit; text-decoration: none; }
.same-card .same-rows a:hover { text-decoration: underline; }
.same-card mark { background: #fde9b8; color: #0f1b2d; border-radius: 3px; padding: 0 0.15em; }
.same-card.is-lead mark { background: #f2b441; }
.same .dash-hint { margin-top: 0.9rem; max-width: 60rem; }
@media (max-width: 52rem) { .same-list { grid-template-columns: minmax(0, 1fr); } .same-list > li.same-card.is-lead { display: block; padding: 1.3rem 1.2rem 1rem; } .same-card.is-lead .same-rows { margin-top: 0.9rem; } }
/* the ways to look at the headlines: five in view, the rest behind one button */
.dash-views-wrap { display: flex; align-items: flex-start; gap: 0.4rem; margin: 2rem 0 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.dash-views-wrap > .dash-views { flex: 1; min-width: 0; margin: 0; padding-bottom: 0; border-bottom: 0; }
.views-more { flex: none; font: 600 var(--t-sm)/1 var(--sans); padding: 0.7em 0.4em; border: 0; background: transparent; color: var(--blue); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
@media (min-width: 48.0625rem) { .dash-views.is-folded > [data-view]:nth-of-type(n+6):not([aria-selected="true"]) { display: none; } }
@media (max-width: 48rem) { .views-more { display: none; } }
.same-card.is-lead .same-pic { aspect-ratio: auto; height: clamp(9rem, 16vw, 13rem); }
.same-when { float: right; font-weight: 600; opacity: 0.8; }
.same-list > li.same-card.is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; align-items: start; }
.same-card.is-wide .same-h, .same-card.is-wide .same-track { grid-column: 1 / -1; } .same-card.is-wide .same-rows { margin-top: 0; }
@media (max-width: 52rem) { .same-list > li.same-card.is-wide { display: block; } .same-card.is-wide .same-rows { margin-top: 0.9rem; } }
/* a section head whose side note sits at the right edge, in line with what follows */
.aside--end { justify-self: end; text-align: right; }
@media (max-width: 52rem) { .aside--end { justify-self: start; text-align: left; } }
#second-look { scroll-margin-top: 5rem; }

/* one news item on a page of its own, with ways to pass it on */
.news-one-when { font: 600 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin: 0 0 0.5rem; }
.news-one-when span { font-weight: 400; margin-left: 0.4em; }
.news-one .deck { max-width: 46rem; }
.news-one-go { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem 1.3rem; align-items: center; padding: 0; margin: 1.4rem 0 0; }
.news-one-share { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); max-width: 46rem; }
.news-one-share h2 { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0 0 0.7rem; }
.news-one-share ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.news-one-share a, .news-copy { display: inline-block; font: 600 var(--t-sm)/1 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.65em 1.05em; text-decoration: none; cursor: pointer; }
.news-one-share a:hover, .news-copy:hover { border-color: var(--ink); }

/* Home: the question carries the biggest type; the former headline follows, smaller, with its three numbered notes */
.hero-claim { font: 400 clamp(1.45rem, 1rem + 1.6vw, 2.15rem)/1.22 var(--serif); letter-spacing: -0.012em; margin: clamp(1.75rem, 3vw, 2.5rem) 0 0.4rem; max-width: 46rem; }
.hero-claim .key { color: var(--blue); }
.hero-claim .fn { margin-top: 0.3em; }
@media (max-width: 30rem) { .hero h1.h-question { font-size: 2.35rem; line-height: 1.04; letter-spacing: -0.02em; } }
.bk-ms { margin: 0.9rem 0 0; font: 600 var(--t-sm)/1.4 var(--sans); }

/* While content comes from the server: grey placeholders with a slow sheen, then the real thing. Fallback texts wait until loading has failed. */
@keyframes skel-sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.skel { pointer-events: none; }
.skel-b { display: block; border-radius: 6px; background: linear-gradient(90deg, #e6ebf2 0%, #e6ebf2 38%, #f5f7fa 50%, #e6ebf2 62%, #e6ebf2 100%); background-size: 300% 100%; animation: skel-sheen 1.5s ease-in-out infinite; }
.is-loading [data-news-empty], .is-loading [data-papers-empty], [data-rep-empty].is-loading > :not(.skel) { display: none !important; }
.news-list li.skel { grid-template-columns: 9.5rem minmax(0, 1fr) 7.5rem; align-items: center; }
.news-list li.skel .sk-o, .news-list li.skel .sk-t { display: grid; gap: 0.55rem; }
.sk-o1 { height: 0.8rem; width: 70%; } .sk-o2 { height: 0.7rem; width: 45%; }
.sk-t1 { height: 1.2rem; width: 94%; } .sk-t2 { height: 1.2rem; width: 62%; }
.sk-pic { height: 4.6rem; border-radius: 8px; }
.dash .news-list li.skel { grid-template-columns: 8.5rem minmax(0, 1fr) 7.5rem; }
.dash-rows li.skel { padding: 0.45rem 0; list-style: none; } .sk-bar { height: 1.05rem; }
.sk-fig { display: grid; gap: 0.4rem; padding: 0.4rem 0; } .sk-num { height: 2rem; width: 55%; } .sk-lab { height: 0.75rem; width: 80%; }
.sk-chart { display: flex; align-items: flex-end; gap: 6px; height: 8rem; padding: 0.5rem 0; } .sk-col { flex: 1; border-radius: 4px 4px 0 0; }
.load-note { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0.3rem 0 0; color: var(--graphite); font: 600 var(--t-sm)/1.3 var(--sans); }
.load-dots { display: inline-flex; gap: 4px; } .load-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: load-dot 1.1s ease-in-out infinite; }
.load-dots i:nth-child(2) { animation-delay: 0.16s; } .load-dots i:nth-child(3) { animation-delay: 0.32s; }
@keyframes load-dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 40rem) { .news-list li.skel, .dash .news-list li.skel { grid-template-columns: minmax(0, 1fr) 5.5rem; } .news-list li.skel .sk-o { grid-column: 1 / -1; } .sk-pic { height: 3.6rem; } }
@media (prefers-reduced-motion: reduce) { .skel-b, .load-dots i { animation: none; } }
.skel-dash { margin-top: 0.5rem; }
.sk-now { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 2.5rem; align-items: center; padding: 1.5rem 0 2.25rem; border-bottom: 1px solid var(--line); }
.sk-now > div { display: grid; gap: 0.8rem; } .sk-k { height: 0.9rem; width: 7rem; } .sk-h1 { height: 2.4rem; width: 96%; } .sk-h2 { height: 2.4rem; width: 82%; } .sk-h3 { height: 1rem; width: 40%; } .sk-img { height: 13rem; border-radius: 10px; }
.sk-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 16rem; column-gap: 2.5rem; padding-top: 2rem; align-items: start; }
.sk-grid .dash-rows { margin: 0; padding: 0; }
@media (max-width: 64rem) { .sk-grid { grid-template-columns: minmax(0, 1fr); } .sk-grid > .dash-rows { display: none; } .sk-now { grid-template-columns: minmax(0, 1fr); } .sk-img { height: 10rem; } }

/* Keep up with AI: the week's papers, drawn. Each field keeps one colour in the field cards, the term bars, the days and the list. */
.pp { margin: 0.6rem 0 2.2rem; padding: 1.7rem 1.8rem 1.9rem; background: #f6f8fb; border: 1px solid var(--line); border-radius: 18px; }
.pp-top { display: grid; grid-template-columns: minmax(12rem, auto) minmax(0, 1fr); gap: 1.2rem 2.8rem; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid #dde3ec; }
.pp-total { margin: 0; display: grid; gap: 0.35rem; }
.pp-total b { font: 400 clamp(3.2rem, 2rem + 3.2vw, 4.9rem)/0.9 var(--serif); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: lining-nums; }
.pp-total span { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--graphite); max-width: 11rem; }
.pp-fields { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.pp-field { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.5rem 0.55rem; text-align: left; padding: 0.8rem 0.9rem 0.85rem; background: #fff; border: 1px solid #dde3ec; border-radius: 12px; cursor: pointer; font: 600 var(--t-sm)/1.25 var(--sans); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }
.pp-field:hover { border-color: #a9b5c6; }
.pp-field[aria-pressed="true"] { border-color: var(--c, var(--ink)); box-shadow: inset 0 0 0 1px var(--c, var(--ink)); }
.pp-field.is-all { grid-template-columns: minmax(0, 1fr) auto; align-self: stretch; }
.pp-field.is-all[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.pp-dot { display: inline-block; flex: none; width: 0.66rem; height: 0.66rem; border-radius: 50%; background: var(--c, var(--ink)); }
.pp-fc { font-variant-numeric: tabular-nums; color: var(--graphite); font-weight: 400; }
.pp-field.is-all[aria-pressed="true"] .pp-fc { color: #c8d2e0; }
.pp-share { grid-column: 1 / -1; height: 4px; background: #e8edf3; border-radius: 2px; overflow: hidden; }
.pp-share i { display: block; height: 100%; background: var(--c); border-radius: 0 2px 2px 0; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 1fr); gap: 2.8rem; padding-top: 1.5rem; }
.pp h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.pp .muted { margin: 0; font-size: var(--t-sm); }
.pp-bars { list-style: none; margin: 0.9rem 0 0 -0.5rem; padding: 0; display: grid; gap: 0.1rem; }
.pp-bars li { margin: 0; }
.pp-bar { width: 100%; display: grid; grid-template-columns: 1.4rem minmax(6rem, 12rem) minmax(0, 1fr) 2.4rem; align-items: center; gap: 0.8rem; background: none; border: 0; padding: 0.45rem 0.5rem; border-radius: 8px; cursor: pointer; text-align: left; color: var(--ink); font: 600 var(--t-sm)/1.2 var(--sans); }
.pp-bar:hover { background: #e9eef5; }
.pp-bar[aria-pressed="true"] { background: #dfe7f2; }
.pp-rank { color: #7d8898; font-weight: 400; font-variant-numeric: tabular-nums; text-align: right; }
.pp-k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-track { height: 12px; }
.pp-fill { display: flex; height: 100%; gap: 2px; border-radius: 0 4px 4px 0; overflow: hidden; }
.pp-fill i { display: block; height: 100%; flex-basis: 0; min-width: 2px; }
.pp-n { text-align: right; font-variant-numeric: tabular-nums; color: var(--graphite); font-weight: 400; }
.pp-cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.25rem; height: 13rem; margin-top: 1rem; border-bottom: 1px solid #c9d2de; padding-bottom: 0; }
.pp-col { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 0.3rem; height: 100%; text-align: center; position: relative; }
.pp-col b { font: 600 var(--t-xs)/1.2 var(--sans); color: var(--ink); min-height: 1.2em; font-variant-numeric: tabular-nums; }
.pp-barbox { display: flex; align-items: flex-end; justify-content: center; min-height: 0; }
.pp-stack { width: 22px; display: flex; flex-direction: column-reverse; gap: 2px; border-radius: 4px 4px 0 0; overflow: hidden; }
.pp-stack i { display: block; width: 100%; flex-basis: 0; min-height: 2px; }
.pp-none { width: 22px; height: 0; }
.pp-wd { position: absolute; top: 100%; left: 0; right: 0; padding-top: 0.45rem; font: 400 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.pp-days { padding-bottom: 1.8rem; }
.pp-days .muted { min-height: 2.6em; }
.pp-tip { position: absolute; z-index: 60; max-width: 19rem; padding: 0.55rem 0.7rem; background: #fff; border: 1px solid #d3dae5; border-radius: 8px; box-shadow: 0 6px 22px rgba(16, 24, 40, 0.12); pointer-events: none; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--ink); }
.pp-tip p { margin: 0; display: flex; align-items: center; gap: 0.4rem; }
.pp-tip .pp-tip-h { font-weight: 600; margin-bottom: 0.2rem; }
.pp-tip .pp-dot { width: 0.55rem; height: 0.55rem; }
.pp-now { margin: 0.2rem 0 0.6rem; font: 600 var(--t-sm)/1.4 var(--sans); color: var(--ink); }
.pp-clear { margin-left: 0.3rem; background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; font: inherit; }
.pp-list li.pp-day { display: block; margin: 0; padding: 1.8rem 0 0.5rem; border-top: 0; border-bottom: 2px solid var(--ink); font: 600 var(--t-sm)/1.3 var(--sans); color: var(--ink); }
.pp-list li.pp-day:first-child { padding-top: 0.3rem; }
.pp-list li.pp-paper { display: block; position: relative; margin: 0; padding: 1.1rem 0 1.2rem 1.2rem; border-top: 0; border-bottom: 1px solid var(--line); }
.pp-list li.pp-paper::before { content: ""; position: absolute; left: 0; top: 1.2rem; bottom: 1.25rem; width: 3px; border-radius: 2px; background: var(--c); }
.pp-meta { margin: 0 0 0.3rem; display: flex; align-items: center; gap: 0.45rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.pp-meta .pp-dot { width: 0.55rem; height: 0.55rem; background: var(--c); }
.pp-title { font: 400 clamp(1.15rem, 1rem + 0.45vw, 1.42rem)/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.pp-title:hover { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
.pp-title mark { background: #fde9b8; color: inherit; border-radius: 3px; padding: 0 0.12em; }
.pp-by { margin: 0.35rem 0 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--ink); }
.pp-find { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin: 0 0 1rem; }
.pp-find label { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--ink); }
.pp-find input { flex: 1 1 18rem; max-width: 28rem; padding: 0.65rem 0.9rem; border: 1px solid #b9c3d1; border-radius: 999px; font: 400 var(--t-sm)/1.3 var(--sans); color: var(--ink); background: #fff; }
.pp-find input:focus { outline: 3px solid rgba(42, 120, 214, 0.35); outline-offset: 1px; border-color: #2a78d6; }
.pp-abs { margin: 0.45rem 0 0; max-width: 52rem; color: var(--graphite); font: 400 var(--t-sm)/1.55 var(--sans); }
/* a paper's first figure, where its licence allows: beside the text, below it on a phone */
/* the text keeps its own rhythm: the last row takes whatever height the figure needs beyond the text */
.pp-list li.pp-paper.has-fig { display: grid; grid-template-columns: minmax(0, 1fr) clamp(9.5rem, 23vw, 15rem); grid-template-rows: repeat(4, auto) 1fr; column-gap: 1.6rem; align-items: start; }
.pp-list li.pp-paper.has-fig > :not(.pp-fig) { grid-column: 1; }
.pp-fig { grid-column: 2; grid-row: 1 / -1; margin: 0.15rem 0 0; min-width: 0; }
.pp-fig > a { display: block; border-radius: 6px; font: inherit; }
.pp-fig img { display: block; width: 100%; height: clamp(6.5rem, 11vw, 9.25rem); object-fit: contain; box-sizing: border-box; padding: 0.35rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.pp-fig > a:hover img { border-color: #b9c3cf; }
.pp-fig figcaption { margin: 0.3rem 0 0; font: 400 0.72rem/1.35 var(--sans); color: var(--muted); }
.pp-list .pp-fig figcaption a { font: inherit; letter-spacing: 0; color: inherit; text-decoration: underline; text-decoration-color: #c4ccd6; text-underline-offset: 0.15em; }
@media (max-width: 36rem) {
  .pp-list li.pp-paper.has-fig { display: block; }
  .pp-fig { margin: 0.75rem 0 0; max-width: 22rem; }
  .pp-fig img { height: 9.5rem; }
}
.pp-more { margin: 1.4rem 0 0; }
.pp-more-b { padding: 0.7rem 1.15rem; background: #fff; border: 1px solid #b9c3d1; border-radius: 999px; cursor: pointer; font: 600 var(--t-sm)/1.2 var(--sans); color: var(--ink); }
.pp-more-b:hover { border-color: var(--ink); }
@media (max-width: 52rem) {
  .pp { padding: 1.25rem 1rem 1.4rem; border-radius: 14px; margin-left: -0.25rem; margin-right: -0.25rem; }
  .pp-top, .pp-grid { grid-template-columns: minmax(0, 1fr); }
  .pp-top { gap: 1rem; }
  .pp-total { grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0.8rem; }
  .pp-total span { max-width: none; padding-bottom: 0.3rem; }
  .pp-fields { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .pp-field { padding: 0.6rem 0.8rem 0.7rem; gap: 0.35rem 0.55rem; }
  .pp-bar { grid-template-columns: 1.2rem minmax(5.5rem, 8.5rem) minmax(0, 1fr) 2.2rem; gap: 0.55rem; }
  .pp-grid { gap: 2rem; }
  .pp-cols { height: 9.5rem; }
}
.skel-pp { margin: 0.6rem 0 2.2rem; padding: 1.7rem 1.8rem 1.9rem; background: #f6f8fb; border: 1px solid var(--line); border-radius: 18px; }
.sk-pp-top { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 2.8rem; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid #dde3ec; }
.sk-pp-top > div:first-child { display: grid; gap: 0.6rem; } .sk-pp-num { height: 4rem; width: 9rem; } .sk-pp-lab { height: 0.9rem; width: 10rem; }
.sk-pp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; } .sk-pp-card { height: 4.1rem; border-radius: 12px; }
.sk-pp-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 1fr); gap: 2.8rem; padding-top: 1.6rem; align-items: end; }
.sk-pp-grid .dash-rows { margin: 0; padding: 0; } .sk-pp-cols { height: 12rem; }
@media (max-width: 52rem) { .skel-pp { padding: 1.25rem 1rem 1.4rem; } .sk-pp-top, .sk-pp-grid { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; } .sk-pp-cards { grid-template-columns: 1fr 1fr; } .sk-pp-cols { display: none; } }
/* the headline exercise while its real headlines load */
.fx-skel li.has-pic { display: grid; grid-template-columns: minmax(0, 1fr) 8rem; column-gap: 1.25rem; align-items: start; }
.fx-sk-words { display: grid; gap: 0.7rem; padding-top: 0.35rem; }
.fx-sk-l1 { height: 1.55rem; width: 94%; } .fx-sk-l2 { height: 1.55rem; width: 62%; } .fx-sk-src { height: 0.8rem; width: 11rem; margin-top: 0.35rem; }
.fx-heads.fx-skel li.has-pic > .fx-sk-pic { grid-column: 2; grid-row: 1; width: 8rem; aspect-ratio: 3 / 2; border-radius: 4px; }
.fx-heads.fx-skel li.has-pic > .fx-sk-words { grid-column: 1; grid-row: 1; }
.fx-try.is-loading .fx-ring svg { animation: fx-wait 1.1s linear infinite; }
.fx-try.is-loading .fx-ring .fg { stroke-dashoffset: 118 !important; transition: none; }
.fx-try.is-loading .fx-ring b { opacity: 0; }
.fx-try.is-loading [data-cue-show] { opacity: 0.45; cursor: default; }
@keyframes fx-wait { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
@media (max-width: 40rem) { .fx-skel li.has-pic { grid-template-columns: minmax(0, 1fr) 5.25rem; column-gap: 0.8rem; } .fx-heads.fx-skel li.has-pic > .fx-sk-pic { width: 5.25rem; } .fx-sk-l1, .fx-sk-l2 { height: 1.3rem; } }
@media (prefers-reduced-motion: reduce) { .fx-try.is-loading .fx-ring svg { animation: none; } }
/* reading lists: a small picture beside each link (the linked site's own preview picture, else a letter tile) */
.hub-list li.has-thumb { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
.hub-list li.has-thumb > .thumb { grid-row: 1 / span 2; }
.hub-list li.has-thumb > :not(.thumb) { grid-column: 2; }
.hub-list .thumb { position: relative; display: grid; place-items: center; margin: 0.15rem 0 0; width: 4.75rem; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #e8eef6; }
.hub-list .thumb b { font: 400 1.6rem/1 var(--serif); color: #4a6283; }
.hub-list .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; background: #fff; }
.hub-list .thumb.has-img img { opacity: 1; }
.hub-list .thumb.has-img { box-shadow: inset 0 0 0 1px rgba(15, 27, 45, 0.08); }
.hub-list--books { gap: 0.9rem; }
.hub-list--books li.has-thumb { grid-template-columns: 3.4rem minmax(0, 1fr); align-items: center; }
.hub-list--books .thumb { width: 3.4rem; aspect-ratio: 2 / 3; margin: 0; border-radius: 3px; background: #efe9df; box-shadow: 2px 2px 0 rgba(15, 27, 45, 0.08); }
.hub-list--books .thumb b { font-size: 1.35rem; color: #7a5b33; }
.hub-list--books a { font: 400 1.1875rem/1.25 var(--serif); }
#voices .defs > li:nth-child(2) .hub-list .thumb { background: #e2f1ef; } #voices .defs > li:nth-child(2) .hub-list .thumb b { color: #2c6b63; }
#voices .defs > li:nth-child(3) .hub-list .thumb { background: #fbeadf; } #voices .defs > li:nth-child(3) .hub-list .thumb b { color: #8a4a22; }
@media (prefers-reduced-motion: reduce) { .hub-list .thumb img { transition: none; } }
/* press and opinion: the outlet's own picture for a piece covers the drawing; the outlet's name stays on top, on a white label */
.art-tile.can-pic { overflow: hidden; }
.art-tile .art-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s ease; z-index: 1; background: var(--fog); }
.art-tile.has-img .art-pic { opacity: 1; }
.art-tile.can-pic .tile-name { z-index: 2; }
/* with a picture, the venue's name steps aside (the line under the picture names it): a photo or a drawn cover fills the
   tile; a figure from a paper, a slide or a book cover sits whole on a mat, as a print on a table, never cropped */
.art-tile.has-img .tile-name { display: none; }
.art-tile.pic-photo, .art-tile.pic-cover { box-shadow: inset 0 0 0 1px rgba(15, 27, 45, 0.06); }
.art-tile.pic-figure { background-image: radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%); }
.art-tile.pic-figure .art-pic { inset: 0; margin: auto; width: auto; height: auto; max-width: 84%; max-height: 78%; object-fit: contain; background: #fff;
  border-radius: 3px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.10), 0 12px 28px -10px rgba(15, 27, 45, 0.30); }
.nc-link:hover .art-tile.pic-figure .art-pic { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 27, 45, 0.10), 0 18px 34px -12px rgba(15, 27, 45, 0.34); }
.hub-list .thumb.pic-figure img { inset: 8% 0; margin: auto; width: auto; height: auto; max-width: 92%; max-height: 84%; object-fit: contain; border-radius: 2px; box-shadow: 0 4px 10px -4px rgba(15, 27, 45, 0.35); }
@media (prefers-reduced-motion: reduce) { .art-tile .art-pic { transition: none; } }
/* AI news: the front page. The story most newsrooms ran comes first, large; the next ones beside it and in a row of four; the rest as a list */
.front { margin: 0.5rem 0 3.2rem; }
.front-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1.5rem; padding-bottom: 0.6rem; margin-bottom: 1.5rem; border-bottom: 3px solid var(--ink); }
.front-head h2, .front-head h3 { margin: 0; font: 400 clamp(1.7rem, 1.2rem + 1.3vw, 2.35rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.front-date { margin: 0; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--graphite); }
.front-top { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 1.8rem 2.2rem; align-items: start; }
.front-side { display: grid; gap: 1.6rem; align-content: start; }
.front-side .ft + .ft { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.front-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; margin-top: 2rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.front-more { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.front-more h3, .front-more h4 { margin: 0 0 0.8rem; font: 600 1.15rem/1.3 var(--sans); }
.front-list { list-style: none; margin: 0; padding: 0; columns: 3 15rem; column-gap: 2.2rem; }
.front-list li { break-inside: avoid; margin: 0; padding: 0.7rem 0 0.8rem; border-bottom: 1px solid var(--line); }
.front .dash-hint { margin-top: 1.2rem; }
.ft { display: block; color: var(--ink); text-decoration: none; background: none; }
.ft-pic { display: block; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 0.7rem; border-radius: 4px; background: #e3e8ef; }
.ft-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ft:hover .ft-pic img, .ft:focus-visible .ft-pic img { transform: scale(1.035); }
.ft-meta { display: block; margin-bottom: 0.3rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.ft-meta b { font-weight: 700; color: var(--blue); }
.ft-t { display: block; font: 400 1.2rem/1.24 var(--serif); letter-spacing: -0.006em; text-wrap: balance; }
.ft:hover .ft-t, .ft:focus-visible .ft-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.ft--lead .ft-pic { margin-bottom: 0.9rem; }
.ft--lead .ft-t { font-size: clamp(1.75rem, 1.05rem + 2.1vw, 2.85rem); line-height: 1.1; letter-spacing: -0.02em; }
.ft--lead .ft-meta { font-size: var(--t-sm); }
.ft--side .ft-t { font-size: 1.32rem; }
.ft--text .ft-t { font-size: 1.08rem; }
.ft.no-pic.ft--lead { padding: 1.6rem 1.7rem 1.8rem; background: var(--ink); color: #fff; border-radius: 6px; }
.ft.no-pic.ft--lead .ft-meta, .ft.no-pic.ft--lead .ft-meta b { color: #c8d4e6; }
.ft.no-pic:not(.ft--lead):not(.ft--text) { padding-top: 0.8rem; border-top: 3px solid var(--blue); }
.ft-n { display: inline-block; margin-top: 0.55rem; padding: 0.22rem 0.55rem; border-radius: 999px; background: #fbeadf; color: #8a3412; font: 600 var(--t-xs)/1.25 var(--sans); }
.ft.no-pic.ft--lead .ft-n { background: rgba(255, 255, 255, 0.14); color: #fff; }
.ft.is-fresh .ft-meta::after { content: "New"; margin-left: 0.45rem; padding: 0.05rem 0.4rem; border-radius: 3px; background: #12a150; color: #fff; font-weight: 700; }
@media (max-width: 64rem) { .front-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 46rem) {
  .front-top { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .front-side .ft, .front-row .ft { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 0.9rem; align-items: start; }
  .front-side .ft .ft-pic, .front-row .ft .ft-pic { grid-row: 1 / span 4; margin: 0; }
  .front-side .ft > :not(.ft-pic), .front-row .ft > :not(.ft-pic) { grid-column: 2; }
  .front-side .ft.no-pic, .front-row .ft.no-pic { display: block; }
  .ft--side .ft-t, .ft--row .ft-t { font-size: 1.08rem; }
  .front-row { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .front-list { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .ft-pic img { transition: none; } }
.sk-front { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 2.2rem; padding: 1rem 0 2rem; border-bottom: 1px solid var(--line); }
.sk-f-lead { display: grid; gap: 0.8rem; } .sk-f-pic { aspect-ratio: 16 / 9; border-radius: 4px; } .sk-f-side { display: grid; gap: 1.6rem; align-content: start; } .sk-f-side > div { display: grid; gap: 0.6rem; } .sk-f-pic2 { aspect-ratio: 16 / 9; border-radius: 4px; }
@media (max-width: 46rem) { .sk-front { grid-template-columns: minmax(0, 1fr); } .sk-f-side { display: none; } }
/* Teaching: myth or fact? A card to turn over, a ring that fills with the right answers */
.mf-cards { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.9rem; }
.mf-cards .mf-s { margin: 0 0 0.3rem; font: 400 1.2rem/1.4 var(--serif); }
.mf.is-game { display: grid; grid-template-columns: minmax(0, 1fr) 12rem; gap: 2rem; align-items: start; }
.mf-stage { perspective: 1400px; min-height: 21rem; }
.mf-card { position: relative; min-height: 21rem; }
.mf-inner { position: relative; min-height: 21rem; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transform-style: preserve-3d; }
.mf-card.is-turned .mf-inner { transform: rotateY(180deg); }
.mf-face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 2rem 2.2rem 2.1rem; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mf-front { background: var(--ink); color: #fff; box-shadow: 0 14px 40px rgba(15, 27, 45, 0.18); }
.mf-back { background: #fff; border: 1px solid var(--line); transform: rotateY(180deg); box-shadow: 0 14px 40px rgba(15, 27, 45, 0.1); }
.mf-card.was-ok .mf-back { border-top: 6px solid #12a150; }
.mf-card.was-no .mf-back { border-top: 6px solid #eb6834; }
.mf-n { margin: 0 0 0.8rem; font: 600 var(--t-sm)/1.2 var(--sans); color: #a9b7cc; }
.mf-back .mf-n { color: var(--graphite); }
.mf-q { margin: 0; flex: 1; font: 400 clamp(1.45rem, 1rem + 1.4vw, 2.05rem)/1.25 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.mf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.6rem; }
.mf-btn { padding: 0.95rem 1rem; border-radius: 12px; border: 2px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; font: 700 1.15rem/1 var(--sans); transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.mf-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.7); transform: translateY(-1px); }
.mf-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mf-verdict { margin: 0 0 0.7rem; font: 400 1.35rem/1.3 var(--serif); }
.mf-verdict b { font-weight: 600; }
.mf-verdict .is-fact { color: #0b7a43; } .mf-verdict .is-myth { color: #b4501f; }
.mf-why { margin: 0; flex: 1; font: 400 1.12rem/1.55 var(--serif); color: var(--ink); }
.mf-course { margin: 1rem 0 1.1rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--blue); }
.mf-next { align-self: flex-start; }
.mf-end { display: flex; flex-direction: column; padding: 2.2rem 2.2rem 2rem; border-radius: 16px; background: linear-gradient(140deg, #0f1b2d 0%, #1d4f8f 100%); color: #fff; }
.mf-end .mf-n { color: #c3d0e4; }
.mf-score { margin: 0 0 0.4rem; font: 400 clamp(3rem, 2rem + 3vw, 4.6rem)/1 var(--serif); letter-spacing: -0.03em; }
.mf-end .mf-why { color: #e7edf6; flex: 0 0 auto; margin-bottom: 1.6rem; }
.mf-end-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; margin: auto 0 0; }
.mf-end .btn { background: #fff; color: var(--ink); border-color: #fff; }
.mf-end .mf-more { color: #fff; }
.mf-side { position: sticky; top: 6rem; display: grid; justify-items: center; gap: 0.5rem; padding-top: 0.4rem; text-align: center; }
.mf-ring { position: relative; width: 7.5rem; height: 7.5rem; }
.mf-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mf-ring circle { fill: none; stroke-width: 6; }
.mf-ring .bg { stroke: #e3e8ef; }
.mf-ring .fg { stroke: #12a150; stroke-linecap: round; stroke-dasharray: 169.6; stroke-dashoffset: 169.6; transition: stroke-dashoffset 0.6s ease; }
.mf-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 400 2.4rem/1 var(--serif); }
.mf-side-t { margin: 0; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--graphite); }
.mf-pips { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; gap: 0.35rem; }
.mf-pips li { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #e3e8ef; }
.mf-pips li.is-now { background: var(--ink); }
.mf-pips li.is-ok { background: #12a150; } .mf-pips li.is-no { background: #eb6834; }
@media (max-width: 46rem) {
  .mf.is-game { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .mf-side { position: static; grid-template-columns: auto auto; justify-content: start; align-items: center; text-align: left; order: -1; }
  .mf-ring { width: 4.2rem; height: 4.2rem; } .mf-ring b { font-size: 1.5rem; }
  .mf-pips { grid-column: 1 / -1; }
  .mf-stage, .mf-card, .mf-inner { min-height: 24rem; }
  .mf-face { padding: 1.5rem 1.4rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .mf-inner, .mf-ring .fg, .mf-btn { transition: none; } }
/* Teaching: the steps from question to contribution appear one after another, once */
.steps--flow.will-draw > li { opacity: 0; transform: translateY(14px); }
.steps--flow.will-draw > li::after { opacity: 0; }
.steps--flow.is-drawn > li { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
.steps--flow.is-drawn > li::after { opacity: 1; transition: opacity 0.4s ease; }
.steps--flow.is-drawn > li:nth-child(2), .steps--flow.is-drawn > li:nth-child(2)::after { transition-delay: 0.22s; }
.steps--flow.is-drawn > li:nth-child(3), .steps--flow.is-drawn > li:nth-child(3)::after { transition-delay: 0.44s; }
.steps--flow.is-drawn > li:nth-child(4), .steps--flow.is-drawn > li:nth-child(4)::after { transition-delay: 0.66s; }
.steps--flow.is-drawn > li:nth-child(5) { transition-delay: 0.88s; }

/* AI news in two parts: News (the headlines as the newsrooms wrote them) and Analysis (what this website counts and draws from them).
   The switch stays at the top while reading and shows which part is on screen; the filters in use sit under it, for both parts */
.part-bar { position: sticky; top: var(--header-h); z-index: 20; margin: 0 0 1.6rem; padding: 0.6rem 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.part-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; max-width: 46rem; }
.part-switch a { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 1rem; border-radius: 8px; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.2s, color 0.2s; }
.part-switch a:hover { background: var(--tint); }
.part-switch a[aria-current="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.part-switch .ico { flex: none; width: 1.55rem; height: 1.55rem; }
.part-switch b { display: block; font: 600 1.05rem/1.15 var(--sans); }
.part-switch small { display: block; margin-top: 0.1rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.part-switch a[aria-current="true"] small { color: #c6d3e6; }
.part-bar .dash-crumbs { position: static; margin: 0.6rem 0 0; box-shadow: none; animation: none; }
/* the page already keeps the header clear (scroll-padding on the page); this adds the height of the switch */
.part { scroll-margin-top: 4.25rem; }
.part--analysis { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.part-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1.25rem; align-items: start; padding: 1.5rem 0 0.5rem; border-top: 4px solid var(--ink); }
.part-ico { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--ink); color: #fff; }
.part-ico .ico { width: 1.6rem; height: 1.6rem; }
.part-head h2 { margin: 0.1rem 0 0; font: 400 clamp(2.1rem, 1.4rem + 2.2vw, 3.2rem)/1 var(--serif); letter-spacing: -0.022em; }
.part-head p { margin: 0.55rem 0 0; max-width: 46rem; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.part--analysis .brief { margin-top: 1.5rem; }
.part--analysis .same { margin-top: 2.5rem; }
.ana-grid { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; column-gap: 2.5rem; align-items: start; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.views-h { margin-top: 2.5rem !important; }
.ana-more { margin-top: 2rem; }
.dash-peek { margin-top: 1.75rem; padding: 1rem 1.2rem 1.1rem; border-left: 3px solid var(--blue); background: var(--fog); }
.dash-peek .news-list { margin: 0; }
.dash-peek .dash-more { margin-top: 0.8rem; }
/* the headline list of the News part, with its filters beside it */
.allnews { margin-top: 3rem; }
.allnews-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1.25rem; padding-bottom: 0.6rem; margin-bottom: 1rem; border-bottom: 3px solid var(--ink); }
.allnews-head h3 { margin: 0 !important; font: 400 clamp(1.7rem, 1.2rem + 1.3vw, 2.35rem)/1.05 var(--serif) !important; letter-spacing: -0.02em; }
.allnews-head .dash-now { color: var(--graphite); }
.allnews .dash-top { border-bottom: 0; padding-bottom: 0; margin-bottom: 1.5rem; }
.allnews-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); column-gap: 2.5rem; align-items: start; }
.side-fold > summary { display: none; }
@media (max-width: 68rem) {
  .ana-grid, .allnews-grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
  .side-fold { margin-bottom: 0.5rem; border-block: 1px solid var(--line); }
  .side-fold > summary { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; font: 600 var(--t-sm)/1.2 var(--sans); cursor: pointer; list-style: none; }
  .side-fold > summary::-webkit-details-marker { display: none; }
  .side-fold > summary::after { content: "+"; font: 400 1.4rem/1 var(--sans); color: var(--blue); }
  .side-fold[open] > summary::after { content: "–"; }
  .side-fold[open] > .dash-side { padding-bottom: 1rem; }
}
@media (max-width: 40rem) {
  .part-bar { padding: 0.45rem 0; }
  .part-switch { gap: 0.4rem; }
  .part-switch a { justify-content: center; gap: 0.5rem; padding: 0.55rem 0.5rem; }
  .part-switch small { display: none; }
  .part-head { grid-template-columns: minmax(0, 1fr); }
  .part-ico { display: none; }
}
/* AI news: a short summary under a front-page story, written by the owner's language model and marked as such */
.ft-sum { display: block; margin-top: 0.5rem; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.ft--lead .ft-sum { font-size: 1.02rem; max-width: 44rem; }
.ft-ai { display: inline-block; margin-right: 0.45rem; padding: 0.08rem 0.42rem; border-radius: 3px; background: #e6f4f2; color: #0b5f58; font: 700 0.6875rem/1.4 var(--sans); font-style: normal; vertical-align: 0.08em; }
.ft.no-pic.ft--lead .ft-sum { color: #d5deeb; }
.ft.no-pic.ft--lead .ft-ai { background: rgba(255, 255, 255, 0.16); color: #fff; }
.ft-ai-note::before { content: "AI summary"; display: inline-block; margin-right: 0.45rem; padding: 0.04rem 0.42rem; border-radius: 3px; background: #e6f4f2; color: #0b5f58; font: 700 0.6875rem/1.4 var(--sans); }
/* Keep up with AI: this week's themes among the new papers, found by the owner's language model */
.pp-themes { margin: 1.75rem 0 0.5rem; }
.pp-themes h3 { margin: 0 0 0.25rem; }
.pp-themes-by { margin: 0 0 0.9rem; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
.pp-theme-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem; }
.pp-theme-list li { margin: 0; }
.pp-theme { display: grid; gap: 0.3rem; width: 100%; height: 100%; text-align: left; padding: 0.85rem 1rem 0.9rem; border: 1px solid var(--line); border-top: 3px solid #14a39a; border-radius: 0 0 8px 8px; background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; }
.pp-theme:hover, .pp-theme:focus-visible { border-color: var(--ink); background: var(--tint); }
.pp-theme[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pp-theme b { font: 600 1rem/1.25 var(--sans); }
.pp-theme span { font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
.pp-theme[aria-pressed="true"] span { color: #c6d3e6; }
.pp-theme i { font: 600 var(--t-xs)/1 var(--sans); font-style: normal; color: #0b5f58; }
.pp-theme[aria-pressed="true"] i { color: #9be3da; }

/* Home page: live on this website. A dark band of three tiles, each a figure that is true right now */
.pulse { position: relative; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 14px; background: var(--ink); color: #fff; }
.pulse[hidden] { display: none; }
.pulse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; align-items: stretch; }
.pulse-tile { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.25rem 1.3rem 1.15rem; border-radius: 10px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13); color: #fff; text-decoration: none; transition: background-color 0.2s, transform 0.2s; }
.pulse-tile[hidden] { display: none; }
.pulse-tile:hover, .pulse-tile:focus-visible { background: rgba(255, 255, 255, 0.11); transform: translateY(-2px); }
.pulse-k { font: 600 var(--t-xs)/1.3 var(--sans); color: #9cc8f5; }
.pulse-big { margin-top: 0.15rem; font: 400 clamp(2.1rem, 1.5rem + 1.8vw, 2.9rem)/1.02 var(--serif); letter-spacing: -0.022em; }
.pulse-big b { font-weight: 400; font-variant-numeric: tabular-nums; }
.pulse-sub { font: 400 var(--t-sm)/1.4 var(--sans); color: #d5deeb; }
.pulse-bars { display: flex; align-items: flex-end; gap: 2px; height: 3.4rem; margin-top: 0.9rem; }
.pulse-bars i { flex: 1 1 0; min-height: 2px; border-radius: 2px 2px 0 0; background: #6fa8e8; transform-origin: bottom; animation: pulse-grow 0.7s cubic-bezier(.2,.8,.2,1) both; }
.pulse-bars i:last-child { background: #f2a65a; }
.pulse-bars--days { gap: 6px; }
.pulse-axis { display: flex; justify-content: space-between; margin-top: 0.3rem; font: 400 0.6875rem/1 var(--sans); color: #9fb0c8; }
.pulse-line { margin-top: 0.8rem; font: 400 var(--t-sm)/1.45 var(--sans); color: #d5deeb; }
.pulse-line:empty { display: none; }
.pulse-line q { font: 400 1.06rem/1.35 var(--serif); color: #fff; }
.pulse-go { margin-top: auto; padding-top: 0.9rem; font: 600 var(--t-sm)/1 var(--sans); color: #9cc8f5; }
.pulse-go::after { content: " →"; }
.pulse-tile:hover .pulse-go { text-decoration: underline; text-underline-offset: 0.2em; }
@keyframes pulse-grow { from { transform: scaleY(0.05); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .pulse-bars i { animation: none; } .pulse-tile { transition: none; } .pulse-tile:hover { transform: none; } }


/* Home page news as cards with a picture, three in a row. The newest takes two columns when there are five or eight items, and the
   whole row when there are four or seven, so that the rows come out full; its picture then stands beside its text, at the same size as the others */
.news-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.25rem, 2.4vw, 2rem); row-gap: clamp(2rem, 3.6vw, 2.75rem); }
.news-cards > .row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "fig" "when" "what" "where"; row-gap: 0.45rem; align-content: start; }
.news-cards > .row > .nc-fig { grid-area: fig; margin: 0 0 0.45rem; }
.news-cards > .row > .when { grid-area: when; padding-top: 0; margin: 0; }
.news-cards > .row > .when time, .news-cards > .row > .when b { display: inline; margin-right: 0.45em; }
.news-cards > .row > .what { grid-area: what; }
.news-cards > .row > .what h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 0.4rem; }
.news-cards > .row > .what p { font-size: 1.02rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.news-cards > .row > .where { grid-area: where; margin-top: 0.15rem; border-left: 0; padding-left: 0; }
.news-cards > .row > .where ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; }
.news-cards > .row > .where li { margin: 0; }
.news-cards > .row:first-child:nth-last-child(3n+2) { grid-column: span 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.news-cards > .row:first-child:nth-last-child(3n+1) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.news-cards > .row:first-child:nth-last-child(3n+2), .news-cards > .row:first-child:nth-last-child(3n+1) { grid-template-areas: "fig when" "fig what" "fig where"; column-gap: clamp(1.25rem, 2.4vw, 2rem); }
.news-cards > .row:first-child:nth-last-child(3n+2) > .nc-fig, .news-cards > .row:first-child:nth-last-child(3n+1) > .nc-fig { margin: 0; }
.news-cards > .row:first-child:nth-last-child(3n+2) > .what h3, .news-cards > .row:first-child:nth-last-child(3n+1) > .what h3 { font-size: clamp(1.45rem, 1.1rem + 0.9vw, 1.85rem); line-height: 1.12; }
.news-cards > .row:first-child:nth-last-child(3n+2) > .what p, .news-cards > .row:first-child:nth-last-child(3n+1) > .what p { -webkit-line-clamp: 7; line-clamp: 7; }
.nc-link { display: block; }
.nc-fig .art-tile { display: block; border-radius: 6px; overflow: hidden; color: var(--ink); }
.nc-tile .tile-name { max-width: 78%; font-size: 1rem; line-height: 1.15; }
.art-tile svg.nc-ico { inset: auto 8% 12% auto; width: 22%; height: auto; aspect-ratio: 1; color: var(--ink); opacity: 0.9; transition: transform 0.4s ease; }
.art-tile svg.nc-ico * { vector-effect: non-scaling-stroke; stroke-width: 2px; }
.nc-link:hover svg.nc-ico { transform: rotate(-6deg) scale(1.04); }
.nc--award { background: #fbeadf; } .nc--award svg.nc-ico { color: #8a3412; }
.nc--talk { background: #e6f4f2; } .nc--talk svg.nc-ico { color: #0b5f58; }
.nc--paper { background: var(--tint); } .nc--paper svg.nc-ico { color: var(--blue); }
.nc--opinion { background: #efeee9; }
.news-cards .art-tile.has-img svg.nc-ico { display: none; }
.nc-link:hover .art-pic { transform: scale(1.03); }
.nc-fig .art-pic { transition: opacity 0.4s ease, transform 0.6s ease; }
@media (max-width: 64rem) {
  .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-cards > .row:first-child, .news-cards > .row:first-child:nth-last-child(n) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "fig when" "fig what" "fig where"; column-gap: 1.5rem; }
  .news-cards > .row:first-child > .nc-fig { margin: 0; }
}
@media (max-width: 40rem) {
  .news-cards { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
  .news-cards > .row:first-child, .news-cards > .row:first-child:nth-last-child(n) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "fig" "when" "what" "where"; }
  .news-cards > .row:first-child > .nc-fig { margin: 0 0 0.45rem; }
  /* on a phone every piece shows its picture across the column, as a news app does, so drawn covers are never cut */
  .news-cards > .row:not(:first-child) { padding-top: 1.5rem; border-top: 1px solid var(--line); }
  .news-cards > .row:not(:first-child) > .what h3 { font-size: 1.2rem; }
  .news-cards > .row:not(:first-child) > .what p { -webkit-line-clamp: 3; line-clamp: 3; font-size: 0.97rem; }
}
@media (prefers-reduced-motion: reduce) { .art-tile svg.nc-ico, .nc-fig .art-pic { transition: none; } }
.pulse-rounds { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin-top: 1.1rem; }
.pulse-rounds:empty, .pulse-rounds:empty + .pulse-axis { display: none; }
.pulse-rounds i { aspect-ratio: 1; border-radius: 3px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); animation: pulse-pop 0.5s cubic-bezier(.2,.8,.2,1) both; }
.pulse-rounds i.is-ai { background: #6fa8e8; box-shadow: none; }
.pulse-rounds i:nth-child(3n) { animation-delay: 0.08s; } .pulse-rounds i:nth-child(3n+1) { animation-delay: 0.16s; }
@keyframes pulse-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pulse-rounds i { animation: none; } }

/* Header: when the menu would not fit on one line on a wide screen (a larger default font size, a page translated by the browser),
   the script sets .nav-compact and the menu becomes the one used on small screens, instead of wrapping onto a second line */
.js.nav-compact .site-header .wrap { flex-wrap: wrap; padding-block: 0.6rem; }
.js.nav-compact .nav-toggle { display: inline-block; }
.js.nav-compact .nav { display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; gap: 0; padding-bottom: 0.75rem; font-size: 1.0625rem; }
.js.nav-compact .nav.is-open { display: flex; }
.js.nav-compact .nav a { padding: 0.7em 0; border-top: 1px solid var(--line); }
.js.nav-compact .nav a[aria-current="page"] { text-decoration-line: none; font-weight: 700; }
.js.nav-compact .nav .nav-contact { margin: 0.75rem 0 0; padding: 0.85em 1em; border-top: 0; text-align: center; }
.js.nav-compact .nav-new { position: static; margin-left: 0.3em; }

/* ---------- The AI lens on AI news: a language model's reading of the headlines, marked as such ---------- */
:root { --tone-h: #2a78d6; --tone-n: #c3cad4; --tone-w: #eb6834; }
.lens { margin: 0 0 2.75rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 14px; background: var(--paper, #fff); box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 10px 30px rgba(15, 27, 45, 0.08); }
.lens-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.5rem; margin-bottom: 1.4rem; }
.lens-head h3 { margin: 0; font: 400 clamp(1.4rem, 2.4vw, 1.8rem)/1.2 var(--serif); }
.lens-by { margin: 0; max-width: 46rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.lens-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem 2.25rem; }
.lens-k { margin: 0 0 0.7rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.lens-tonebar { display: flex; gap: 2px; }
.lens-seg { flex: 1 1 0; min-width: 3.4rem; display: grid; gap: 0.3rem; padding: 0; background: none; border: 0; cursor: pointer; text-align: left; font: 400 var(--t-xs)/1.2 var(--sans); color: var(--ink); }
.lens-sw { display: block; height: 16px; border-radius: 4px; }
.lens-seg b { font: 600 1.6rem/1 var(--sans); letter-spacing: -0.01em; }
.lens-seg[aria-pressed="true"] .lens-sw, .lens-seg:hover .lens-sw { box-shadow: 0 0 0 2px var(--paper, #fff), 0 0 0 4px var(--ink); }
.lens-h { background: var(--tone-h); } .lens-n { background: var(--tone-n); } .lens-w { background: var(--tone-w); }
.lens-reading { margin: 1.25rem 0 0; font: 400 1.08rem/1.5 var(--serif); color: var(--ink); }
.lens-themes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.lens-themes li { margin: 0; }
.lens-theme { width: calc(100% + 0.7rem); display: grid; gap: 0.25rem; padding: 0.35rem; margin: 0 -0.35rem; background: none; border: 0; border-radius: 6px; cursor: pointer; text-align: left; font: 400 var(--t-sm)/1.25 var(--sans); color: var(--ink); }
.lens-theme:hover, .lens-theme[aria-pressed="true"] { background: var(--fog, #f3f5f8); }
.lens-theme-row { display: flex; align-items: center; gap: 0.5rem; }
.lens-theme-bar { display: flex; gap: 2px; height: 10px; }
.lens-theme-bar i { display: block; min-width: 3px; border-radius: 3px; }
.lens-theme-c { font: 600 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.lens-mood-svg { display: block; width: 100%; height: auto; overflow: visible; }
.lm-zero { stroke: var(--line, #d9dee6); stroke-width: 1; }
.lm-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lm-dot { fill: #8f9aab; stroke: var(--paper, #fff); stroke-width: 2; } .lm-dot.is-h { fill: var(--tone-h); } .lm-dot.is-w { fill: var(--tone-w); }
.lm-dot:hover { stroke: var(--ink); }
.lm-ax { font: 400 10px var(--sans); fill: var(--graphite); }
.lens-note { margin: 0.55rem 0 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
.lens-picked { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.lens-picked-h { margin: 0 0 0.6rem; font: 600 var(--t-sm)/1.3 var(--sans); }
.lens-picked-list { margin: 0; padding: 0; list-style: none; columns: 2 22rem; column-gap: 2.25rem; }
.lens-picked-list li { break-inside: avoid; margin: 0 0 0.75rem; display: grid; gap: 0.1rem; }
.lens-picked-list a { font: 400 1rem/1.35 var(--serif); }
.lens-o { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
@media (max-width: 62rem) { .lens-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .lens-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .lens-grid { grid-template-columns: minmax(0, 1fr); } }

/* the band on the home page: the tone of the headlines, from the lens */
.pulse-tone { display: grid; gap: 0.35rem; }
.pulse-tone-bar { display: flex; gap: 2px; height: 8px; } .pulse-tone-bar i { display: block; min-width: 3px; border-radius: 3px; }
.pulse-tone-t { font: 400 var(--t-xs)/1.4 var(--sans); color: #c9d3e2; }

/* ---------- Research lines on Publications: one row per line, one dot per paper in its year ---------- */
/* folded into one line by default (names and sizes of the lines), the chart a tap away; hidden while the list is searched */
.rlines { margin: 1.75rem 0 2.5rem; }
.rlines.is-off { display: none !important; }
.rl-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; list-style: none; }
.rl-fold > summary::-webkit-details-marker { display: none; }
.rl-fold > summary:hover { border-color: var(--ink); }
.rl-fold > summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.rl-fold[open] > summary { margin-bottom: 1.1rem; }
.rl-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.25rem; min-width: 0; }
.rl-sum-h { margin: 0; font: 500 1.2rem/1.25 var(--serif); }
.rl-chips { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
.rl-chip { display: inline-flex; align-items: center; gap: 0.35rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); white-space: nowrap; }
.rl-chip i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--c); }
.rl-chip b { font-weight: 600; color: var(--ink); }
.rl-open { flex: none; font: 600 var(--t-xs)/1 var(--sans); color: var(--blue); }
.rl-open::after { content: "Show the chart"; }
.rl-fold[open] .rl-open::after { content: "Hide"; }
.rlines-by { margin: 0 0 1rem; max-width: 48rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.rl-row { display: grid; grid-template-columns: minmax(11rem, 17rem) minmax(0, 1fr); gap: 0.4rem 1.75rem; align-items: end; padding: 0.65rem 0; border-top: 1px solid var(--line); }
.rl-name { display: block; }
.rl-name small { margin-left: 0.4rem; }
.rl-name span { display: block; margin-top: 0.1rem; }
.rl-name b { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--ink); }
.rl-name span, .rl-name small { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.rl-track { position: relative; height: calc(var(--rows, 1) * 11px); margin: 0 6px; }
.rl-dot { position: absolute; bottom: calc(var(--k, 0) * 11px); width: 9px; height: 9px; margin-left: -4.5px; padding: 0; border: 0; border-radius: 50%; background: var(--tone-h); cursor: pointer; }
.rl-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.rl-dot:hover, .rl-dot:focus-visible { background: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.rl-row--axis { padding: 0.45rem 0 0; border-top: 1px solid var(--ink); }
.rl-axis { position: relative; height: 1.1rem; margin: 0 7px; }
.rl-axis span { position: absolute; top: 0; transform: translateX(-50%); font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.rl-axis span:first-child { transform: none; }
.lm-cap { fill: #8f9aab; }
.rlines-tip { min-height: 1.45em; margin: 0.9rem 0 0; font: 400 var(--t-sm)/1.45 var(--serif); color: var(--ink); }
li.pub.is-flash { background: #fff1cc; box-shadow: 0 0 0 0.5rem #fff1cc; transition: background-color 0.4s, box-shadow 0.4s; }
@media (max-width: 40rem) { .rl-row { grid-template-columns: minmax(0, 1fr); } .rl-row--axis > div:first-child { display: none; } }
@media (max-width: 40rem) { .rl-fold > summary { align-items: flex-start; padding: 0.8rem 0.9rem; } .rl-open::after { content: "Show"; } }

/* ---------- Lab: how a study runs here (a drawn lab bench; site.js 17) ---------- */
.ap-sec .ap-deck { margin: 0.4rem 0 0; max-width: 44rem; color: var(--graphite); }
.ap { position: relative; margin: 1.5rem 0 0; padding: clamp(1rem, 2.5vw, 1.75rem); border: 1px solid #e3e8f0; border-radius: 18px; background: linear-gradient(160deg, #f5f8fd 0%, #fbfcfe 55%, #f7f4ec 100%); }
.ap-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ap-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; }
.ap.is-drawn .ap-cards { display: block; position: absolute; inset: clamp(1rem, 2.5vw, 1.75rem); height: auto; pointer-events: none; }
.ap.is-drawn .ap-cards li { position: absolute; pointer-events: auto; }
.ap-cards li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.6rem; row-gap: 0.1rem; align-items: baseline; margin: 0; padding: 0.7rem 0.85rem 0.75rem; background: #fff; border: 1px solid #e1e6ee; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.05), 0 6px 18px rgba(15, 27, 45, 0.06); cursor: pointer; transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.2s, border-color 0.2s; }
.ap-cards li b { font: 600 0.98rem/1.2 var(--sans); color: var(--ink); }
.ap-cards li > span:not(.ap-n) { grid-column: 2; font: 400 0.8rem/1.35 var(--sans); color: var(--graphite); }
.ap-n { grid-row: span 2; align-self: start; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #fbe3a6; color: var(--ink); font: 700 0.8rem/1 var(--sans); }
.ap.is-drawn:not(.is-done) .ap-cards li:not(.is-lit) { opacity: 0.35; transform: translateY(6px); }
.ap-cards li.is-pick, .ap-cards li:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); outline: none; }
.ap-tubes { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font: 400 0.85rem/1.4 var(--sans); color: var(--graphite); }
.ap.is-drawn .ap-tubes { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ap-tubes b { color: var(--ink); }
.ap-say { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin: 0.9rem 0 0; font: 400 0.9rem/1.5 var(--sans); color: var(--graphite); min-height: 3em; }
.ap-replay { font: 600 0.85rem/1 var(--sans); color: var(--blue); background: none; border: 0; padding: 0.4rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
/* the drawing */
.ap-pipe-o { fill: none; stroke: var(--ink); stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.ap-pipe-i { fill: none; stroke: #eef2f8; stroke-width: 24; stroke-linecap: round; stroke-linejoin: round; }
.ap-pipe-o--thin { stroke-width: 18; } .ap-pipe-i--thin { stroke-width: 12; }
.ap-liq { fill: none; stroke: url(#apLiq); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.ap-liq--thin { stroke-width: 7; stroke: #2a78d6; }
.ap-liq--thin.ap-f1 { stroke: #1baf7a; } .ap-liq--thin.ap-f2 { stroke: #eb6834; }
.ap-stream { fill: none; stroke: #7fb2f0; stroke-width: 7; stroke-linecap: round; }
.ap-body { fill: #fff; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.ap-line, .ap-shackle { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.ap-acc, .ap-cork { fill: #f2b441; stroke: var(--ink); stroke-width: 3; }
.ap-seal { fill: #fbe3a6; stroke: var(--ink); stroke-width: 2.5; }
.ap-tick { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ap-keyh { fill: var(--ink); }
.ap-ui { fill: #dbe7f8; }
.ap-glass { fill: rgba(255, 255, 255, 0.85); stroke: var(--ink); stroke-width: 3; }
.ap-fill { fill: #2a78d6; } .ap-fill.ap-f1 { fill: #1baf7a; } .ap-fill.ap-f2 { fill: #eb6834; }
.ap-vliq { fill: #7fb2f0; }
.ap-liqin { fill: #7fb2f0; stroke: none; }
.ap-label { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.ap-q { font: 700 20px var(--serif); fill: var(--ink); }
.ap-flame { fill: #f2b441; stroke: var(--ink); stroke-width: 2; transform-box: fill-box; transform-origin: 50% 100%; }
.ap-halo { fill: #fbe3a6; opacity: 0; transition: opacity 0.4s; }
.ap-st { cursor: pointer; }
.ap-st.is-lit .ap-halo { opacity: 0.55; }
.ap-st.is-pick .ap-halo { opacity: 1; }
.ap-tname { font: 600 12.5px var(--sans); fill: var(--ink); }
.ap-tn { font: 400 13px var(--sans); fill: var(--graphite); }
.ap-bub circle { fill: #fff; opacity: 0; }
.ap.is-done .ap-bub circle { opacity: 0.85; transition: opacity 0.6s; }
.ap-vial-tilt { transform: rotate(-18deg); transition: transform 0.9s cubic-bezier(0.5, 0, 0.2, 1) 0.3s; }
/* pouring: the cork comes off, the tube tips over with its open end down towards the funnel, and the liquid runs out through the mouth */
.ap.is-on .ap-vial-tilt { transform: rotate(118deg); }
.ap-cork { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 0.45s cubic-bezier(0.3, 0, 0.3, 1), opacity 0.3s ease 0.25s; }
.ap.is-on .ap-cork { transform: translate(-8px, -44px) rotate(-30deg); opacity: 0; }
.ap-vliq { transform-box: fill-box; transform-origin: 50% 0%; }
/* as the tube tips, the liquid runs down to the open end; then it pours out while the line fills (the script lets the line fill from
   1.8 s to 7 s), and the tube is empty when the stream ends. Then the tube stands up again. */
.ap.is-on .ap-vliq { animation: ap-pour 6.65s linear 0.35s forwards; }
@keyframes ap-pour {
  0% { transform: none; animation-timing-function: ease-in-out; }
  14% { transform: translateY(-58px); }
  95% { transform: translateY(-58px) scaleY(0.05); opacity: 1; }
  100% { transform: translateY(-58px) scaleY(0); opacity: 0; }
}
.ap.is-on.is-poured .ap-vial-tilt { transform: rotate(-18deg); transition-delay: 0.7s; }
/* with less motion: one still picture, the tube pouring, half empty */
@media (prefers-reduced-motion: reduce) { .ap.is-on .ap-vliq { animation: none; transform: translateY(-58px) scaleY(0.5); } }
.ap-vial { cursor: pointer; }
.ap-fill:not(.ap-vliq) { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1.2s cubic-bezier(0.3, 0, 0.2, 1); }
.ap.is-done .ap-fill:not(.ap-vliq) { transform: scaleY(1); }
.ap-drops { opacity: 0; }
.ap.is-on .ap-drops { opacity: 1; }
.ap.is-on .ap-person { animation: ap-fall 2.1s ease-in infinite; }
.ap-person circle, .ap-person path { fill: var(--ink); }
@keyframes ap-fall { 0% { transform: translateY(-10px); opacity: 0; } 25% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
.ap.is-on .ap-flame { animation: ap-flicker 0.9s ease-in-out infinite alternate; }
@keyframes ap-flicker { from { transform: scale(1, 1); } to { transform: scale(0.85, 1.15); } }
.ap-bubbles circle { fill: #fff; opacity: 0; }
.ap.is-on .ap-bubbles circle { animation: ap-rise 1.6s ease-out infinite; }
@keyframes ap-rise { 0% { transform: translateY(6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }
.ap-tick--draw { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 0.6s ease 0.2s; }
.ap-st.is-lit .ap-tick--draw { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .ap-cards li, .ap-vial-tilt, .ap-cork, .ap-fill:not(.ap-vliq) { transition: none; } .ap.is-on .ap-person, .ap.is-on .ap-flame, .ap.is-on .ap-bubbles circle { animation: none; } .ap-person { opacity: 0.8; } }

/* ---------- A lighter, more modern finish across the site (November 2026) ----------
   A soft wash of colour behind every page opening, numbers as cards, rounder and lighter cards, buttons and figures. */
body { overflow-x: clip; }
.page-head { position: relative; isolation: isolate; }
.page-head::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(56rem 24rem at 88% -10%, rgba(127, 178, 240, 0.26), transparent 70%), radial-gradient(44rem 22rem at 2% 105%, rgba(242, 180, 65, 0.16), transparent 70%), linear-gradient(180deg, #f3f6fc 0%, #f9fbfe 72%, rgba(255, 255, 255, 0) 100%); }
.btn { border-radius: 8px; }
.fig { border-radius: 12px; }
.fig img { border-radius: 6px; }
.callout { border-left: 0; max-width: none; padding: 1rem 1.25rem 1.05rem 1.25rem; border-radius: 12px; background: #f3f6fc; box-shadow: inset 3px 0 0 var(--accent); }
.ag-figures { gap: 1rem; }
.ag-figures li { border-top: 0; padding: 1.05rem 1.15rem 1.1rem; background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px rgba(15, 27, 45, 0.06); }
.ag-figures b { color: var(--ink); }
.open-cards > li { background: #fff; border-top: 0; border: 1px solid #e3e8f0; border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 10px 28px rgba(15, 27, 45, 0.07); }
.lab-qs li { border-radius: 16px; }
@media (max-width: 40rem) { .ag-figures--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Keep up with AI: the week's research, mapped by the owner's language model (site.js 15d) ---------- */
.pmap { margin: 2rem 0 2.25rem; padding: clamp(1.1rem, 2.6vw, 1.75rem); border: 1px solid #e3e8f0; border-radius: 16px; background: linear-gradient(165deg, #f5f8fd, #fff 60%); }
.pmap-head h3 { margin: 0 0 0.35rem; font: 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.2 var(--serif); }
.pmap-by { margin: 0 0 1rem; max-width: 52rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.pmap-stats { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.pmap-stats li { margin: 0; padding: 0.8rem 0.9rem; background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; }
.pmap-stats b { display: block; font: 400 1.9rem/1 var(--serif); color: var(--ink); }
.pmap-stats span { display: block; margin-top: 0.35rem; font: 400 var(--t-xs)/1.35 var(--sans); color: var(--graphite); }
.pmap-wrap { overflow-x: auto; }
.pmap-grid { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 34rem; font: 400 var(--t-xs)/1.2 var(--sans); }
.pmap-grid th, .pmap-grid td { padding: 0; text-align: center; height: 3.4rem; border-bottom: 1px solid #eef1f6; }
.pmap-mh { height: 2.6rem !important; vertical-align: bottom; font-weight: 600; color: var(--graphite); padding-bottom: 0.4rem !important; }
.pmap-dh { text-align: left !important; font-weight: 600; color: var(--ink); padding-right: 0.75rem !important; white-space: nowrap; }
.pmap-tot { color: var(--graphite); font-weight: 600; width: 3rem; }
.pmap-c { position: relative; width: 100%; height: 3.3rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.pmap-c i { position: absolute; left: 50%; top: 50%; width: var(--r); height: var(--r); margin: calc(var(--r) / -2) 0 0 calc(var(--r) / -2); border-radius: 50%; background: #2a78d6; opacity: 0.85; transition: transform 0.15s; }
.pmap-c span { position: relative; font: 600 11px/1 var(--sans); color: #fff; text-shadow: 0 0 2px rgba(15, 27, 45, 0.5); }
.pmap-c:hover i { transform: scale(1.12); }
.pmap-c[aria-pressed="true"] i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); opacity: 1; }
.pmap-picked { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pmap-picked-h { margin: 0 0 0.6rem; font: 600 var(--t-sm)/1.3 var(--sans); }
.pmap-list { margin: 0; padding: 0; list-style: none; columns: 2 24rem; column-gap: 2rem; }
.pmap-list li { break-inside: avoid; margin: 0 0 0.9rem; display: grid; gap: 0.15rem; }
.pmap-list a { font: 400 1rem/1.35 var(--serif); }
.pmap-line { margin: 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--ink); }
.pmap-line .ft-ai { margin-right: 0.35rem; }
.pmap-o { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
@media (max-width: 48rem) { .pmap-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Teaching: the course map, papers per topic, reading picks (build.py teach_map, teach_topics; site.js 15e) ---------- */
.tm { margin: 0.5rem 0 0; padding: clamp(1rem, 2.5vw, 1.6rem); border: 1px solid #e3e8f0; border-radius: 16px; background: linear-gradient(165deg, #f5f8fd, #fff 65%); }
.tm-key { list-style: none; margin: 0 0 0.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--ink); }
.tm-key li { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; } .tm-key i { width: 0.75rem; height: 0.75rem; border-radius: 50%; }
.tm-svg { display: block; width: 100%; height: auto; }
.tm-y { font: 400 12px var(--sans); fill: var(--graphite); }
.tm-p { font: 600 13px var(--sans); fill: var(--ink); }
.tm-n { font: 600 13px var(--sans); fill: var(--graphite); }
.tm-row { stroke: #e3e8f0; stroke-width: 1; }
.tm-dot { stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.tm-dot:hover { stroke: var(--ink); }
[data-reveal] .tm-dot { transform: scale(0); transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in .tm-dot { transform: scale(1); }
.tm-cap { margin: 0.6rem 0 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
@media (max-width: 40rem) { .tm { overflow-x: auto; } .tm-svg { min-width: 40rem; } }
.tm:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.tt-papers { margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid #e8ecf3; }
.tt-n { margin: 0 0 0.4rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); } .tt-n b { font: 400 1.5rem/1 var(--serif); color: var(--ink); margin-right: 0.25rem; }
.tt-spark { display: block; width: 100%; max-width: 12rem; height: auto; margin: 0 0 0.5rem; } .tt-spark rect { fill: #2a78d6; } .tt-spark rect.z { fill: #dfe5ee; }
.tt-ex { list-style: none; margin: 0; padding: 0; font: 400 var(--t-xs)/1.4 var(--sans); } .tt-ex li { margin: 0 0 0.35rem; } .tt-ex span { color: var(--graphite); }
.picks-by { margin: 0.4rem 0 0; max-width: 50rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.picks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.pick-col { padding: 1.1rem 1.15rem 0.6rem; background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 10px 28px rgba(15, 27, 45, 0.06); }
.pick-col h3 { margin: 0 0 0.7rem; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--ink); }
.pick-col ol { list-style: none; margin: 0; padding: 0; } .pick-col li { margin: 0 0 1rem; display: grid; gap: 0.2rem; }
.pick-col a { font: 400 1rem/1.35 var(--serif); } .pick-col p { margin: 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--ink); } .pick-col span { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }

/* ---------- Impact: figures, the year-by-year picture, cases as feature cards, the food timeline drawn ---------- */
.imp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.imp-stats b { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
@media (max-width: 48rem) { .imp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.it { margin: 0.5rem 0 0; padding: clamp(1rem, 2.5vw, 1.6rem); border: 1px solid #e3e8f0; border-radius: 16px; background: linear-gradient(165deg, #f5f8fd, #fff 65%); }
.it-svg { display: block; width: 100%; height: auto; }
.it-y { font: 600 12px var(--sans); fill: var(--graphite); }
.it-tick { stroke: #edf0f5; stroke-width: 1; }
.it-l { font: 600 13px var(--sans); fill: var(--ink); }
.it-lane { stroke: var(--c); stroke-width: 3; stroke-linecap: round; opacity: 0.25; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.4s ease; }
.it.is-in .it-lane { stroke-dashoffset: 0; }
.it-dot { background-image: none; cursor: pointer; }
.it-dot circle { stroke: #fff; stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1); transition-delay: calc(0.3s + var(--i, 0) * 110ms); }
.it.is-in .it-dot circle { transform: scale(1); }
.it-dot:hover circle, .it-dot:focus-visible circle { stroke: var(--ink); stroke-width: 3; }
.it-dot:focus-visible { outline: none; }
.it-say { min-height: 3em; margin: 0.7rem 0 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--ink); }
@media (max-width: 40rem) { .it { overflow-x: auto; } .it-svg { min-width: 40rem; } }
@media (prefers-reduced-motion: reduce) { .it-lane, .it-dot circle, [data-reveal] .tm-dot { transition: none; } }
/* the cases: each a card, the picture beside the text */
.cases { display: grid; gap: 1.25rem; }
.cases > .row { padding: clamp(1.1rem, 2.6vw, 1.75rem); background: #fff; border: 1px solid #e3e8f0; border-radius: 18px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 12px 32px rgba(15, 27, 45, 0.07); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.cases > .row + .row { border-top: 1px solid #e3e8f0; }
.cases > .row:nth-child(even) > .where { order: -1; }
.cases .what .kind { display: inline-block; margin-bottom: 0.6rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: #eaf1fb; color: #1d4f8f; font: 600 var(--t-xs)/1.5 var(--sans); }
.cases .what .role { border-left: 0; padding: 0.7rem 0.9rem; border-radius: 10px; background: #fbf6e8; box-shadow: inset 3px 0 0 #f2b441; }
.cases .where img { border-radius: 10px; }
@media (max-width: 56rem) { .cases > .row { grid-template-columns: minmax(0, 1fr); } .cases > .row:nth-child(even) > .where { order: 0; } }
/* the food research: a drawn line through the years */
.timeline > li { position: relative; border-top: 0; padding-block: 0.4rem 1.6rem; }
.timeline > li::before { content: ""; position: absolute; left: calc(2.3rem - 1px); top: 3.1rem; bottom: 0.3rem; width: 2px; border-radius: 1px; background: linear-gradient(#b9cbe4, #e3eaf4); }
.timeline > li:last-child::before { display: none; }
.timeline .year { display: grid; place-items: center; width: 4.6rem; height: 2.6rem; border-radius: 999px; background: #eaf1fb; color: #1d4f8f; font-size: 1.2rem; }

/* Services: the same lighter finish on its cards */
.svc-lead { background: linear-gradient(160deg, #f3f7fd 0%, #fbfcfe 60%, #f8f5ee 100%); border: 1px solid #e3e8f0; border-radius: 18px; }
.svc-cards > li { border-radius: 16px; box-shadow: 0 0 0 1px #e3e8f0, 0 10px 28px rgba(15, 27, 45, 0.06); }
.svc-cards > li:hover { box-shadow: 0 0 0 1px var(--blue), 0 16px 36px rgba(15, 27, 45, 0.12); }
.svc-cases a { border-top: 0; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e3e8f0, 0 10px 28px rgba(15, 27, 45, 0.06); }
.svc-cases a:hover { background: #fff; box-shadow: 0 0 0 1px var(--blue), 0 16px 36px rgba(15, 27, 45, 0.12); }
.svc-photo img, .svc-lead-f img { border-radius: 16px; }
.talk3 li { border-radius: 16px; }
.tr-card { border-radius: 14px; }
.ap-ghost { fill: rgba(255, 255, 255, 0.9); }
.ap.is-on .ap-waves { animation: ap-waves 1.4s ease-in-out infinite; }
@keyframes ap-waves { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---------- Book: what a perfect answer hides; the path through the chapters (site.js 15f) ---------- */
.pa-deck { margin: 0.4rem 0 0; color: var(--graphite); }
.pa { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 1.25rem; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid #e3e8f0; border-radius: 18px; background: linear-gradient(160deg, #f3f7fd 0%, #fbfcfe 55%, #f8f4ea 100%); }
.pa-stage { display: grid; justify-items: center; gap: 1rem; perspective: 1400px; }
.pa-card { position: relative; width: min(100%, 24rem); aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.4, 0.1, 0.2, 1); animation: pa-float 6s ease-in-out infinite; }
@keyframes pa-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.pa-card.is-back { transform: rotateY(180deg); }
.pa-face { position: absolute; inset: 0; backface-visibility: hidden; padding: 1.5rem 1.5rem 1.25rem; border-radius: 16px; background: #fff; border: 1px solid #dfe5ee; box-shadow: 0 2px 4px rgba(15, 27, 45, 0.05), 0 24px 48px rgba(15, 27, 45, 0.12); display: flex; flex-direction: column; }
.pa-back { transform: rotateY(180deg); gap: 1rem; background: linear-gradient(170deg, #fff, #f6f8fc); }
.pa-k { margin: 0 0 0.9rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.pa-lines { display: grid; gap: 0.7rem; margin-top: 0.4rem; }
.pa-lines i { display: block; height: 0.62rem; border-radius: 4px; background: #e3eaf4; transition: background 0.5s, transform 0.6s, opacity 0.5s; }
.pa-lines i.s { width: 60%; }
.pa-lines i:nth-child(2) { width: 92%; } .pa-lines i:nth-child(4) { width: 85%; }
.pa-tick { width: 3.6rem; height: 3.6rem; margin: auto 0 0.6rem auto; fill: #e8f5ee; stroke: #1baf7a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: pa-pulse 2.4s ease-in-out infinite; transition: opacity 0.4s; }
.pa-tick path { fill: none; }
@keyframes pa-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.pa-q { margin: 0; font: 400 1.25rem/1.3 var(--serif); color: var(--ink); min-height: 3.3rem; }
.pa-card.is-off .pa-lines i { background: #f1f3f7; opacity: 0.35; transform: translateX(-6px); }
.pa-card.is-off .pa-tick { opacity: 0.15; }
.pa-card.is-wrong .pa-lines i:nth-child(3) { background: #f7c8b4; box-shadow: inset 4px 0 0 #eb6834; }
.pa-card.is-wrong .pa-tick { stroke: #1baf7a; }
.pa-card.is-change .pa-lines i { animation: pa-shuffle 1.1s ease both; }
.pa-card.is-change .pa-lines i:nth-child(odd) { animation-delay: 0.1s; } .pa-card.is-change .pa-lines i:nth-child(3n) { animation-delay: 0.25s; }
@keyframes pa-shuffle { 0% { transform: none; } 40% { transform: translateX(18px); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
.pa-m span { display: block; font: 600 var(--t-sm)/1.35 var(--sans); color: var(--ink); }
.pa-m b { display: block; height: 0.75rem; margin: 0.4rem 0 0.3rem; border-radius: 6px; background: #edf1f7; overflow: hidden; }
.pa-m b i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #2a78d6, #7fb2f0); transition: width 1.2s cubic-bezier(0.3, 0, 0.2, 1) 0.5s; }
.pa-card.is-back .pa-m b i.is-full { width: 100%; }
.pa-m.is-unknown b { background: repeating-linear-gradient(135deg, #edf1f7 0 8px, #f7f9fc 8px 16px); }
.pa-m em { font: italic 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.pa-flip { font: 600 var(--t-sm)/1 var(--sans); padding: 0.75rem 1.1rem; border-radius: 999px; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.pa-flip[aria-pressed="true"], .pa-flip:hover { background: var(--ink); color: #fff; }
.pa-tests { display: grid; gap: 0.75rem; align-content: start; }
.pa-t { display: grid; gap: 0.2rem; text-align: left; padding: 0.9rem 1rem 0.95rem; border-radius: 14px; border: 1px solid #dfe5ee; background: #fff; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.pa-t b { font: 600 1.05rem/1.2 var(--sans); color: var(--ink); } .pa-t span { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); }
.pa-t:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 27, 45, 0.08); }
.pa-t[aria-pressed="true"] { border-color: #9db6d8; background: #f4f8fd; box-shadow: inset 0 3px 0 var(--blue); }
.pa-four { margin: 0.5rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--ink); }
@media (max-width: 56rem) { .pa { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pa-card { animation: none; transition: none; } .pa-tick { animation: none; } .pa-card.is-change .pa-lines i { animation: none; } }
.bk-path { margin: 0.25rem 0 1.25rem; }
.bk-path-svg { display: block; width: 100%; height: auto; overflow: visible; }
.bk-road { fill: none; stroke: #2a78d6; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 1.8s ease; }
.bk-path.is-in .bk-road { stroke-dashoffset: 0; }
.bk-pt { font: 600 13px var(--sans); fill: var(--graphite); }
.bk-pl { stroke: #cfd9e8; stroke-width: 2; stroke-linecap: round; }
.bk-stop { cursor: pointer; outline: none; }
.bk-stop circle { fill: #fff; stroke: var(--ink); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1), fill 0.2s; transition-delay: calc(0.4s + var(--i) * 0.14s), 0s; }
.bk-path.is-in .bk-stop circle { transform: scale(1); }
.bk-stop text { font: 700 14px var(--sans); fill: var(--ink); pointer-events: none; }
.bk-stop:hover circle, .bk-stop:focus-visible circle { fill: #fbe3a6; }
.bk-path-say { margin: 0.5rem 0 0; min-height: 1.5em; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--ink); }

/* ---------- Impact: the explorer (site.js 15g) ---------- */
.ix-deck { margin: 0.4rem 0 0; max-width: 46rem; color: var(--graphite); }
.ix { position: relative; margin-top: 0.75rem; padding: clamp(1rem, 2.5vw, 1.6rem); border: 1px solid #e3e8f0; border-radius: 18px; background: linear-gradient(165deg, #f5f8fd, #fff 60%); }
.ix-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.ix-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ix-chip { font: 600 var(--t-xs)/1 var(--sans); padding: 0.5rem 0.75rem; border-radius: 999px; border: 1px solid #cfd8e6; background: #fff; color: var(--ink); cursor: pointer; }
.ix-chip[aria-pressed="false"] { color: #8f9aab; background: #f3f5f8; text-decoration: line-through; }
.ix-play { font: 600 var(--t-xs)/1 var(--sans); padding: 0.55rem 0.95rem; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.ix-wrap { overflow-x: auto; }
.ix-svg { display: block; width: 100%; min-width: 46rem; height: auto; }
.ix-col { fill: transparent; cursor: pointer; }
.ix-col:hover, .ix-col.is-hot { fill: rgba(42, 120, 214, 0.07); }
.ix-yl.is-hot { fill: var(--ink); }
/* pointing at a year: that year stays, the others step back (quickly, once the opening has played) */
.ix.is-pointed .ix-m { transition: opacity 0.15s ease; transition-delay: 0s; }
.ix.is-in .ix-m.is-far, .ix-n.is-far { opacity: 0.3; }
.ix-col.is-sel { fill: rgba(42, 120, 214, 0.10); }
.ix-col.is-sel.is-hot { fill: rgba(42, 120, 214, 0.14); }
.ix-yl { font: 600 11px var(--sans); fill: var(--graphite); cursor: pointer; }
.ix-ln { font: 600 13px var(--sans); fill: var(--ink); } .ix-ln.is-off { fill: #a7b0bd; }
.ix-sep { stroke: #e9edf3; stroke-width: 1; }
.ix-m { cursor: pointer; transform-box: fill-box; transform-origin: center bottom; }
.ix-g { fill: #a9c8f0; stroke: #fff; stroke-width: 1.5; } .ix-g.is-pi { fill: #1d4f8f; } .ix-g.is-na { fill: #fff; stroke: #1d4f8f; stroke-dasharray: 2 2; }
.ix-bar { stroke: #fff; stroke-width: 1; } .ix-tb { fill: #8f9aab; }
.ix-n { font: 600 10px var(--sans); fill: var(--graphite); }
.ix-hl { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.ix-aw { fill: #eda100; } .ix-aw.is-svc { fill: #fff; stroke: #c98a00; stroke-width: 2; }
.ix-pr { fill: #eb6834; } .ix-pa { fill: #1baf7a; stroke: #fff; stroke-width: 1.5; }
.ix-m:hover { stroke: var(--ink); stroke-width: 2; }
.ix .ix-m { opacity: 0; transform: scale(0.2); transition: opacity 0.4s, transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1); transition-delay: calc(var(--d, 0) * 60ms); }
.ix.is-in .ix-m { opacity: 1; transform: none; }
.ix-tip { position: absolute; z-index: 5; max-width: 22rem; padding: 0.7rem 0.85rem; border-radius: 10px; background: var(--ink); color: #fff; font: 400 var(--t-xs)/1.45 var(--sans); box-shadow: 0 12px 28px rgba(15, 27, 45, 0.25); pointer-events: none; }
.ix-tip b { display: block; font-weight: 600; } .ix-tip span { display: block; margin-top: 0.2rem; color: #dbe4f2; } .ix-tip em { display: block; margin-top: 0.25rem; font-style: normal; color: #9fb4d4; }
.ix-tip .ix-t { margin-top: 0.3rem; padding-left: 0.85rem; text-indent: -0.85rem; } .ix-tip .ix-t::before { content: "– "; color: #9fb4d4; }
.ix-year { margin-top: 1rem; padding: 1rem 1.15rem; border-radius: 12px; background: #fff; border: 1px solid #e3e8f0; min-height: 3.5rem; }
.ix-year h3 { margin: 0 0 0.5rem; font: 400 1.5rem/1.1 var(--serif); }
.ix-year ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; font: 400 var(--t-sm)/1.5 var(--sans); }
.ix-hint { margin: 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.imp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.imp-stats b.ib { font: inherit; font-weight: 700; color: var(--ink); }
@media (max-width: 64rem) { .imp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .ix .ix-m { transition: none; opacity: 1; transform: none; } }

/* ================= The forward-looking layer (site.js 15h–15j) ================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.22s ease both fx-out; } ::view-transition-new(root) { animation: 0.32s ease both fx-inpage; }
@keyframes fx-out { to { opacity: 0; transform: translateY(-8px); } } @keyframes fx-inpage { from { opacity: 0; transform: translateY(10px); } }
.site-header { background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: rgba(15, 27, 45, 0.08); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--paper); } }
.fx-progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #2a78d6, #7fb2f0 55%, #f2b441); pointer-events: none; }
.fx-field { position: absolute; z-index: -1; top: 0; left: 50%; width: 100vw; height: 100%; transform: translateX(-50%); pointer-events: none; }
.fx-rise { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fx-rise.fx-in { opacity: 1; transform: none; }
@media print { .fx-rise { opacity: 1; transform: none; } .fx-fab, .fx-progress, .fx-field { display: none; } }
:is(.ag-figures li, .open-cards > li, .svc-cards > li, .svc-cases a, .pick-col, .cases > .row, .mfc, .mfy-y, .pmap-stats li, .pa-t, .lab-qs li) { background-image: radial-gradient(18rem circle at var(--mx, -40rem) var(--my, -40rem), rgba(42, 120, 214, 0.10), transparent 60%); transition: transform 0.25s ease, box-shadow 0.25s ease; }
:is(.ag-figures li, .pick-col, .mfc, .mfy-y, .pmap-stats li):hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 27, 45, 0.05), 0 18px 40px rgba(15, 27, 45, 0.12); }
.fx-fab { position: fixed; z-index: 55; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.8rem; border-radius: 999px; border: 1px solid rgba(15, 27, 45, 0.12); background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(15, 27, 45, 0.16); font: 600 0.8rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.fx-fab svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.fx-fab kbd { font: 600 0.72rem/1 var(--sans); padding: 0.2rem 0.4rem; border-radius: 5px; background: #eef2f8; color: var(--graphite); }
@media (max-width: 40rem) { .fx-fab span, .fx-fab kbd { display: none; } .fx-fab { padding: 0.75rem; } }
.fx-pal { width: min(36rem, calc(100vw - 2rem)); margin: 12vh auto auto; padding: 0; border: 1px solid rgba(15, 27, 45, 0.12); border-radius: 18px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 40px 100px rgba(15, 27, 45, 0.35); overflow: hidden; }
.fx-pal::backdrop { background: rgba(15, 27, 45, 0.35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fx-pal[open] { animation: fx-pal 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2); } @keyframes fx-pal { from { opacity: 0; transform: translateY(-10px) scale(0.97); } }
.fx-pal input { display: block; width: 100%; padding: 1.1rem 1.25rem; border: 0; border-bottom: 1px solid #e3e8f0; background: none; font: 400 1.15rem/1.3 var(--serif); color: var(--ink); outline: none; }
.fx-pal ul { list-style: none; margin: 0; padding: 0.4rem; max-height: 50vh; overflow: auto; }
.fx-pal li { margin: 0; display: flex; align-items: baseline; gap: 0.75rem; padding: 0.6rem 0.85rem; border-radius: 10px; font: 400 0.98rem/1.3 var(--sans); color: var(--ink); cursor: pointer; }
.fx-pal li span { flex: none; width: 6.2rem; font: 600 0.7rem/1.3 var(--sans); color: var(--graphite); }
.fx-pal li[aria-selected="true"] { background: #eaf1fb; }
.fx-pal p { margin: 0; padding: 0.6rem 1.25rem 0.8rem; border-top: 1px solid #e3e8f0; font: 400 0.75rem/1.3 var(--sans); color: var(--graphite); }

/* ---------- Services: five ways to work, in orbit (15i) ---------- */
.orb { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3.5rem); align-items: center; margin-top: 1rem; padding: clamp(1rem, 3vw, 2.25rem); border-radius: 24px; color: #e9f0fb; background: radial-gradient(60rem 30rem at 20% 0%, #1b3a6b 0%, #0d1b33 55%, #091224 100%); box-shadow: 0 30px 80px rgba(9, 18, 36, 0.35); overflow: hidden; }
.orb-svg { display: block; width: 100%; height: auto; max-width: 34rem; margin: 0 auto; overflow: visible; }
.orb-ring { fill: none; stroke: rgba(160, 196, 245, 0.28); stroke-width: 1.2; stroke-dasharray: 3 7; }
.orb-stars circle { fill: #cfe0f8; opacity: 0.25; animation: orb-tw 3.2s ease-in-out infinite; } @keyframes orb-tw { 50% { opacity: 0.9; } }
.orb-beam { fill: none; stroke: #f2b441; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 5 9; animation: orb-flow 1.1s linear infinite; filter: drop-shadow(0 0 6px rgba(242, 180, 65, 0.8)); } @keyframes orb-flow { to { stroke-dashoffset: -28; } }
.orb-pulse { fill: none; stroke: rgba(127, 178, 240, 0.7); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: orb-pulse 2.6s ease-out infinite; } @keyframes orb-pulse { from { transform: scale(0.85); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
.orb-ct { font: 600 15px var(--sans); fill: #fff; }
.orb-p { cursor: pointer; outline: none; }
.orb-pb { fill: #14294d; stroke: #7fb2f0; stroke-width: 2; transition: fill 0.3s, stroke 0.3s; }
.orb-ph { fill: rgba(127, 178, 240, 0.0); transition: fill 0.3s; }
.orb-pt { font: 600 12.5px var(--sans); fill: #e9f0fb; pointer-events: none; }
.orb-p.is-on .orb-pb { fill: #f2b441; stroke: #fff; } .orb-p.is-on .orb-pt { fill: #0d1b33; } .orb-p.is-on .orb-ph { fill: rgba(242, 180, 65, 0.28); }
.orb-p:focus-visible .orb-pb { stroke: #fff; stroke-width: 3.5; }
.orb-list { list-style: none; margin: 0; padding: 0; display: grid; }
.orb-list li { margin: 0; }
.orb.is-live .orb-list li { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.45s, transform 0.45s; }
.orb.is-live .orb-list li.is-on { opacity: 1; transform: none; pointer-events: auto; }
.orb:not(.is-live) .orb-list li + li { margin-top: 1.5rem; }
.orb-list h3 { margin: 0 0 0.7rem; font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.12 var(--serif); color: #fff; }
.orb-list p { margin: 0 0 0.9rem; font: 400 1.05rem/1.55 var(--serif); color: #d5e1f3; }
.orb-fact { font: 400 var(--t-sm)/1.5 var(--sans) !important; color: #b7c8e2 !important; } .orb-fact b { display: block; color: #f2b441; font-weight: 600; }
.orb-go { display: inline-block; padding: 0.7rem 1.1rem; border-radius: 999px; background: #fff; color: #0d1b33; font: 600 var(--t-sm)/1 var(--sans); text-decoration: none; background-image: none; }
.orb-go:hover { background: #f2b441; }
@media (max-width: 56rem) { .orb { grid-template-columns: minmax(0, 1fr); } .orb.is-live .orb-list { min-height: 21rem; } }
@media (prefers-reduced-motion: reduce) { .orb-stars circle, .orb-beam, .orb-pulse { animation: none; } }

/* ---------- Impact: results from the centre (15h) ---------- */
.mfc-deck { margin: 0.4rem 0 0; max-width: 50rem; color: var(--graphite); }
.mfy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 1.75rem; }
.mfy-y { padding: 1.1rem 1.15rem; border-radius: 16px; background-color: #0d1b33; color: #e9f0fb; }
.mfy-y h3 { margin: 0 0 0.7rem; font: 600 var(--t-sm)/1 var(--sans); color: #f2b441; }
.mfy-y ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; } .mfy-y li { margin: 0; display: grid; grid-template-columns: 3.6rem 1fr; gap: 0.5rem; align-items: baseline; }
.mfy-y b { font: 400 1.7rem/1 var(--serif); color: #fff; } .mfy-y span { font: 400 var(--t-xs)/1.35 var(--sans); color: #b7c8e2; }
.mfc-bar { display: grid; gap: 0.5rem; margin-bottom: 0.6rem; }
.mfc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; } .mfc-row > span { width: 3rem; font: 600 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.mfc-row button { font: 600 var(--t-xs)/1 var(--sans); padding: 0.5rem 0.75rem; border-radius: 999px; border: 1px solid #cfd8e6; background: #fff; color: var(--ink); cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.mfc-row button i { font-style: normal; font-weight: 400; color: var(--graphite); } .mfc-row button:hover { transform: translateY(-1px); border-color: var(--ink); }
.mfc-row button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); } .mfc-row button[aria-pressed="true"] i { color: #b7c8e2; }
.mfc-count { margin: 0 0 1rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.mfc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 1rem; }
.mfc { display: flex; flex-direction: column; padding: 1.15rem 1.2rem 1rem; border: 1px solid #e3e8f0; border-radius: 16px; background-color: #fff; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 10px 28px rgba(15, 27, 45, 0.06); scroll-margin-top: 6rem; }
.mfc.is-pop { animation: mfc-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1) both; animation-delay: calc(var(--n, 0) * 28ms); } @keyframes mfc-pop { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
.mfc:target, .mfc.is-target { box-shadow: 0 0 0 2px var(--ink), 0 18px 40px rgba(15, 27, 45, 0.16); }
.mfc-top { display: flex; justify-content: space-between; align-items: center; margin: 0 0 0.7rem; }
.mfc-k { padding: 0.2rem 0.6rem; border-radius: 999px; font: 600 0.7rem/1.5 var(--sans); background: #eaf1fb; color: #1d4f8f; }
.mfc-k--deployment { background: #e3f5ec; color: #0b6b45; } .mfc-k--award { background: #fdf1d2; color: #7a5200; } .mfc-k--policy { background: #fde7dd; color: #9a3a12; } .mfc-k--dataset { background: #eeeaf9; color: #4a3a94; } .mfc-k--study { background: #eef1f5; color: #3d4a5c; }
.mfc-y { font: 600 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.mfc h3 { margin: 0 0 0.5rem; font: 400 1.22rem/1.22 var(--serif); }
.mfc-x { margin: 0 0 0.7rem; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--ink); }
.mfc-me { margin: 0 0 0.7rem; padding: 0.4rem 0.65rem; border-radius: 8px; background: #fbf6e8; font: 400 var(--t-xs)/1.4 var(--sans); }
.mfc-p { list-style: none; margin: auto 0 0.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; } .mfc-p li { margin: 0; padding: 0.15rem 0.5rem; border-radius: 6px; background: #f3f5f8; font: 400 0.72rem/1.5 var(--sans); color: var(--graphite); }
.mfc-src { margin: 0; font: 400 0.72rem/1.4 var(--sans); color: var(--graphite); }
@media (max-width: 56rem) { .mfy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .mfc.is-pop { animation: none; } .fx-rise { opacity: 1; transform: none; transition: none; } }
.mfc[hidden] { display: none; }

/* ---------- Calm and exact: the restrained finish (replaces the orbit and the page-opening wash) ---------- */
.page-head::before { background: linear-gradient(180deg, #f6f8fb 0%, rgba(255, 255, 255, 0) 100%); }
.orb { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: stretch; padding: 0; border-radius: 6px; background: #0b0f17; box-shadow: none; color: #fff; }
.orb-stage { padding: clamp(1.5rem, 4vw, 3.5rem); border-right: 1px solid rgba(255, 255, 255, 0.12); display: flex; align-items: center; }
.orb-verbs { display: grid; gap: 0.15rem; width: 100%; }
.orb-v { position: relative; text-align: left; padding: 0.35rem 0 0.55rem; border: 0; background: none; cursor: pointer; font: 400 clamp(2.2rem, 5vw, 4.2rem)/1.05 var(--serif); letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.28); transition: color 0.35s ease; }
.orb-v:hover, .orb-v.is-on { color: #fff; }
.orb-v i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.orb-v i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.orb-v.is-on i::after { animation: orb-fill 5s linear forwards; } .orb.is-held .orb-v.is-on i::after { animation: none; transform: none; }
@keyframes orb-fill { to { transform: scaleX(1); } }
.orb-panel { padding: clamp(1.5rem, 4vw, 3.5rem); display: flex; align-items: center; }
.orb-list h3 { color: #fff; } .orb-list p { color: rgba(255, 255, 255, 0.78); font-family: var(--sans); font-size: 1.02rem; }
.orb-fact { color: rgba(255, 255, 255, 0.6) !important; } .orb-fact b { color: #fff; }
.orb-go { border-radius: 4px; } .orb-go:hover { background: #dfe6f0; }
@media (max-width: 56rem) { .orb { grid-template-columns: minmax(0, 1fr); } .orb-stage { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); } .orb-verbs { grid-template-columns: repeat(5, auto); gap: 0 1rem; overflow-x: auto; } .orb-v { font-size: 1.5rem; white-space: nowrap; } .orb.is-live .orb-list { min-height: 19rem; } }
@media (prefers-reduced-motion: reduce) { .orb-v.is-on i::after { animation: none; transform: none; } }
.mfy-y { background-color: #0b0f17; border-radius: 6px; } .mfy-y h3 { color: rgba(255, 255, 255, 0.6); }

/* ---------- Live, loading, offline: the status of every live part (site.js liveFetch) ---------- */
.has-live { position: relative; }
.live-pill { position: absolute; z-index: 3; top: 0.6rem; right: 0.7rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.28rem 0.6rem 0.28rem 0.5rem; border-radius: 999px; background: #fff; border: 1px solid rgba(15, 27, 45, 0.14); font: 600 0.7rem/1.2 var(--sans); color: #0f1b2d; white-space: nowrap; max-width: calc(100% - 1.4rem); overflow: hidden; text-overflow: ellipsis; }
.live-pill b { font-weight: 600; }
.live-pill i { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #9aa3b0; }
.live-pill[data-s="live"] i { background: #12a150; box-shadow: 0 0 0 0 rgba(18, 161, 80, 0.5); animation: live-beat 2s ease-out infinite; }
.live-pill[data-s="stale"] i, .live-pill[data-s="down"] i { background: #d92d20; }
.live-pill[data-s="stale"], .live-pill[data-s="down"] { border-color: #d92d20; color: #8f1d14; }
.live-pill[data-s="load"] i { background: none; border: 2px solid #c5ccd6; border-top-color: #0f1b2d; width: 0.65rem; height: 0.65rem; animation: live-spin 0.8s linear infinite; }
@keyframes live-beat { 70% { box-shadow: 0 0 0 0.4rem rgba(18, 161, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0); } }
@keyframes live-spin { to { transform: rotate(360deg); } }
.is-fetching::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #0f1b2d 50%, transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: live-run 1.1s ease-in-out infinite; }
@keyframes live-run { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { .live-pill[data-s="live"] i, .live-pill[data-s="load"] i, .is-fetching::after { animation: none; } }

/* ---------- Impact: the food research as three steps, each with where it travelled ---------- */
.st3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; border-top: 2px solid var(--ink); }
.st3-c { position: relative; margin: 0; padding: 1.75rem clamp(1rem, 2.2vw, 2rem) 1.5rem; display: flex; flex-direction: column; border-right: 1px solid #e3e8f0; background-color: #fff; transition: background-color 0.3s; }
.st3-c:last-child { border-right: 0; }
.st3-c::before { content: ""; position: absolute; top: -8px; left: clamp(1rem, 2.2vw, 2rem); width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); transition: background 0.3s, transform 0.3s; }
.st3-c:hover { background-color: #f6f8fb; } .st3-c:hover::before { background: var(--ink); transform: scale(1.25); }
.st3-top { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 1rem; }
.st3-y { font: 400 clamp(3.2rem, 6vw, 5.2rem)/0.9 var(--serif); letter-spacing: -0.03em; color: var(--ink); }
.st3-k { font: 600 var(--t-xs)/1 var(--sans); padding: 0.35rem 0.65rem; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); }
.st3-c h3 { margin: 0 0 0.6rem; font: 400 1.55rem/1.15 var(--serif); }
.st3-x { margin: 0 0 1.4rem; font: 400 1rem/1.55 var(--sans); color: #3d4a5c; }
.st3-reach { margin-top: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 0; padding: 1rem 0; border-top: 1px solid #e3e8f0; }
.st3-src { padding: 0.45rem 0.7rem; border-radius: 6px; background: var(--ink); color: #fff; font: 600 var(--t-xs)/1.2 var(--sans); white-space: nowrap; }
.st3-reach ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.st3-reach li { margin: 0; display: flex; align-items: center; font: 600 var(--t-xs)/1.25 var(--sans); color: var(--ink); }
.st3-reach li i { flex: none; width: clamp(1.5rem, 4vw, 3rem); height: 2px; margin-right: 0.5rem; background: var(--ink); transform-origin: 0 50%; position: relative; }
.st3-reach li i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 8px; height: 8px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.st3-reach li span { padding: 0.3rem 0.55rem; border-radius: 6px; background: #eef2f8; }
.st3-go { margin: 0.6rem 0 0; font: 600 var(--t-sm)/1 var(--sans); }
.st3[data-reveal] .st3-c { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.3s; }
.st3[data-reveal] .st3-c:nth-child(2) { transition-delay: 0.15s, 0.15s, 0s; } .st3[data-reveal] .st3-c:nth-child(3) { transition-delay: 0.3s, 0.3s, 0s; }
.st3[data-reveal].is-in .st3-c { opacity: 1; transform: none; }
.st3[data-reveal] .st3-reach li i { transform: scaleX(0); transition: transform 0.5s ease; transition-delay: calc(0.7s + var(--k) * 0.15s); } .st3[data-reveal] .st3-reach li span { opacity: 0; transition: opacity 0.4s; transition-delay: calc(1s + var(--k) * 0.15s); }
.st3[data-reveal].is-in .st3-reach li i { transform: none; } .st3[data-reveal].is-in .st3-reach li span { opacity: 1; }
@media (max-width: 56rem) { .st3 { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--ink); } .st3-c { border-right: 0; border-bottom: 1px solid #e3e8f0; padding-left: 1.5rem; } .st3-c::before { top: 2.2rem; left: -8px; } }
@media (prefers-reduced-motion: reduce) { .st3[data-reveal] .st3-c, .st3[data-reveal] .st3-reach li i, .st3[data-reveal] .st3-reach li span { opacity: 1; transform: none; transition: none; } }

/* ---------- Impact: the research environments built, as a ledger of rows ---------- */
.env { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.env-r { margin: 0; display: grid; grid-template-columns: 11rem minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem clamp(1.25rem, 3vw, 3rem); align-items: start; padding: 1.75rem clamp(0.5rem, 1.5vw, 1.25rem); border-bottom: 1px solid #dfe5ee; transition: background-color 0.3s; }
.env-r:hover { background-color: #f6f8fb; }
.env-when { margin: 0; display: grid; } .env-when b { font: 400 clamp(2.6rem, 4.6vw, 4rem)/0.95 var(--serif); letter-spacing: -0.03em; color: var(--ink); } .env-when span { margin-top: 0.3rem; font: 400 var(--t-sm)/1.2 var(--sans); color: var(--graphite); }
.env-role { margin: 0 0 0.35rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--blue); }
.env-what h3 { margin: 0 0 0.55rem; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.12 var(--serif); }
.env-what p { margin: 0 0 0.6rem; max-width: 40rem; } .env-what .note { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; font: 600 var(--t-sm)/1.3 var(--sans); margin: 0; }
.env-n { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.env-n li { margin: 0; display: grid; grid-template-columns: minmax(6.5rem, auto) 1fr; gap: 0.75rem; align-items: baseline; padding-top: 0.6rem; border-top: 1px solid #dfe5ee; } .env-n li:first-child { border-top: 0; padding-top: 0; }
.env-n b { font: 400 1.9rem/1 var(--serif); color: var(--ink); white-space: nowrap; } .env-n span { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.env-r--lead { background: #0b0f17; color: #fff; border-bottom-color: #0b0f17; } .env-r--lead:hover { background: #0b0f17; }
.env-r--lead .env-when b, .env-r--lead .env-what h3, .env-r--lead .env-n b { color: #fff; } .env-r--lead .env-when span, .env-r--lead .env-n span { color: rgba(255, 255, 255, 0.65); } .env-r--lead .env-what p { color: rgba(255, 255, 255, 0.82); } .env-r--lead .env-role { color: rgba(255, 255, 255, 0.65); }
.env-r--lead a { color: #fff; } .env-r--lead .env-n li { border-top-color: rgba(255, 255, 255, 0.18); }
.env[data-reveal] .env-r { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease, background-color 0.3s; }
.env[data-reveal] .env-r:nth-child(2) { transition-delay: 0.1s, 0.1s, 0s; } .env[data-reveal] .env-r:nth-child(3) { transition-delay: 0.2s, 0.2s, 0s; } .env[data-reveal] .env-r:nth-child(4) { transition-delay: 0.3s, 0.3s, 0s; } .env[data-reveal] .env-r:nth-child(5) { transition-delay: 0.4s, 0.4s, 0s; }
.env[data-reveal].is-in .env-r { opacity: 1; transform: none; }
@media (max-width: 60rem) { .env-r { grid-template-columns: minmax(0, 1fr); } .env-when { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 0.6rem; } }
@media (prefers-reduced-motion: reduce) { .env[data-reveal] .env-r { opacity: 1; transform: none; transition: none; } }
/* research lines: a colour per line, a faint band under its dots, and the row in focus stands out */
.rl-dot { background: var(--c, #2a78d6); transition: transform 0.15s, opacity 0.25s; }
.rl-dot:hover, .rl-dot:focus-visible { background: var(--c, #2a78d6); transform: scale(1.5); outline: 2px solid var(--ink); outline-offset: 1px; }
.rl-name b { display: flex; align-items: baseline; gap: 0.5rem; } .rl-name b::before { content: ""; flex: none; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--c); transform: translateY(0.02rem); }
.rl-row:not(.rl-row--axis) { transition: opacity 0.25s; }
.rl-track::before { content: ""; position: absolute; left: -7px; right: -7px; bottom: -3px; height: 2px; border-radius: 1px; background: var(--c); opacity: 0.25; }
[data-rlines-chart]:hover .rl-row:not(.rl-row--axis):not(:hover) { opacity: 0.35; }

/* the book's demonstration: each state says what it means */
.pa-stage { align-content: start; }
.pa-card { aspect-ratio: 5 / 4; }
.pa-tag { margin: 0; align-self: flex-end; font: 600 var(--t-xs)/1.2 var(--sans); color: #0b6b45; padding: 0.3rem 0.6rem; border-radius: 999px; background: #e8f5ee; }
.pa-tick { margin-bottom: 0.5rem; }
.pa-card.is-off .pa-tag { color: #5b6678; background: #eef1f5; } .pa-card.is-change .pa-tag { color: #1d4f8f; background: #eaf1fb; }
.pa-card.is-wrong .pa-lines i:nth-child(3) { position: relative; overflow: visible; }
.pa-card.is-wrong .pa-lines i:nth-child(3)::after { content: "the error"; position: absolute; right: 0; top: -1.35rem; font: 600 0.7rem/1 var(--sans); color: #9a3a12; background: #fde7dd; padding: 0.2rem 0.45rem; border-radius: 4px; }
.pa-card.is-off .pa-lines i:nth-child(n+3) { opacity: 0.12; } .pa-card.is-off .pa-lines i:nth-child(-n+2) { opacity: 1; background: #c9d6ea; transform: none; }
.pa-say { width: min(100%, 24rem); min-height: 7.2rem; display: grid; gap: 0.3rem; align-content: start; }
.pa-say b { font: 400 1.3rem/1.25 var(--serif); color: var(--ink); } .pa-say span { font: 400 var(--t-sm)/1.5 var(--sans); color: #3d4a5c; }
.pa-t { border-radius: 8px; } .pa-flip { border-radius: 6px; }
.dash-mine { display: none; }
.dash-name.is-mine::before, .dash-name.is-mine::after { content: none; display: none; }

/* myth or fact: how visitors chose */
.mf-crowd { display: grid; gap: 0.35rem; margin: 0.2rem 0 0.9rem; }
.mf-crowd-bar { display: block; height: 6px; border-radius: 3px; background: rgba(127, 140, 160, 0.3); overflow: hidden; } .mf-crowd-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: #12a150; transition: width 0.9s cubic-bezier(0.3, 0, 0.2, 1); }
.mf-crowd-t { font: 600 var(--t-xs)/1.3 var(--sans); opacity: 0.85; }

/* ---------- Press: the whole record (site.js 15k) ---------- */
.pr { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.pr-side { position: sticky; top: calc(var(--header-h, 4rem) + 1rem); }
.pr-h { margin: 0 0 0.7rem; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.pr-wall { display: flex; flex-wrap: wrap; gap: 0.1rem 1rem; margin-bottom: 1.75rem; }
.pr-o { padding: 0.1rem 0; border: 0; background: none; cursor: pointer; font: 400 clamp(1.25rem, calc(1.05rem + var(--w) * 0.45rem), 2.6rem)/1.15 var(--serif); letter-spacing: -0.01em; color: var(--ink); opacity: 0.55; transition: opacity 0.2s, color 0.2s; }
.pr-o i { margin-left: 0.25rem; font: 600 0.7rem/1 var(--sans); font-style: normal; color: var(--graphite); vertical-align: super; }
.pr-o:hover, .pr-o[aria-pressed="true"] { opacity: 1; } .pr-o[aria-pressed="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.pr-years { display: flex; align-items: flex-end; gap: 0.5rem; height: 6.5rem; }
.pr-y { flex: 1; max-width: 3.2rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 0.3rem; padding: 0; border: 0; background: none; cursor: pointer; font: 600 0.7rem/1 var(--sans); color: var(--graphite); }
.pr-y i { display: block; border-radius: 3px 3px 0 0; background: #c9d3e2; transition: background 0.2s; } .pr-y:hover i { background: #8f9aab; } .pr-y[aria-pressed="true"] i { background: var(--ink); } .pr-y[aria-pressed="true"] { color: var(--ink); }
.pr-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.pr-chip { font: 600 var(--t-xs)/1 var(--sans); padding: 0.5rem 0.75rem; border-radius: 999px; border: 1px solid #cfd8e6; background: #fff; color: var(--ink); cursor: pointer; } .pr-chip:hover { border-color: var(--ink); }
.pr-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pr-reset { font: 600 var(--t-xs)/1 var(--sans); padding: 0.5rem 0.25rem; border: 0; background: none; color: var(--blue); text-decoration: underline; cursor: pointer; }
.pr-count { margin: 0 0 0.5rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.pr-list { list-style: none; margin: 0; padding: 0; }
.pr-list li { margin: 0; display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.15rem; padding: 0.85rem 0; border-top: 1px solid #e3e8f0; }
.pr-list li[hidden] { display: none; }
.pr-list time { grid-row: span 3; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); padding-top: 0.15rem; }
.pr-out { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--ink); } .pr-t { font: 400 1.18rem/1.3 var(--serif); } .pr-k { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.pr-list li.is-pop { animation: mfc-pop 0.4s ease both; animation-delay: calc(var(--n, 0) * 30ms); }
@media (max-width: 56rem) { .pr { grid-template-columns: minmax(0, 1fr); } .pr-side { position: static; } }
@media (prefers-reduced-motion: reduce) { .pr-list li.is-pop { animation: none; } }

/* ---------- AI lens: the mood needle (red = worried, green = hopeful) ---------- */
.lens-gauge { max-width: 19rem; margin: 0 0 1.4rem; }
.lens-gauge-svg { display: block; width: 100%; height: auto; }
.lens-needle { fill: var(--ink); transition: transform 1.3s cubic-bezier(0.3, 1.35, 0.5, 1); }
.lens-gauge-end { font: 600 11px var(--sans); fill: var(--graphite); }
.lens-gauge-word { margin: -0.2rem 0 0; text-align: center; font: 400 1.7rem/1.1 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.lens-gauge .lens-note { text-align: center; margin-top: 0.3rem; }
@media (prefers-reduced-motion: reduce) { .lens-needle { transition: none; } }

/* ---------- Research in one picture, wide strip: how to read it (phases above, each station's question below) ---------- */
.ag-strip-wide .ag-s { display: block; font-size: 19px; }
.ag-strip-wide .ag-s { transform: translateY(-2px); }
.ag-phase text { font: 600 19px var(--sans); fill: var(--blue, #2a4d8f); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }
.ag-phase path { fill: none; stroke: var(--blue, #2a4d8f); stroke-width: 2; opacity: 0.55; }
.ag-strip-wide { margin-bottom: 0; }

/* ---------- Book: two people, one perfect report (site.js 15f) ---------- */
.pb { display: grid; gap: 1.5rem; max-width: 62rem; }
.pb-top { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.pb-doc { display: grid; gap: 0.6rem; align-content: start; padding: 1.1rem 1.2rem; border: 1px solid #dfe5ee; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(15, 27, 45, 0.07); }
.pb-doc .pa-lines { gap: 0.5rem; margin: 0; } .pb-doc .pa-tick { width: 2.4rem; height: 2.4rem; margin: 0.2rem 0 0; }
.pb-doc p { margin: 0; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--ink); }
.pb-tests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.pb-tests .pa-t { align-content: start; cursor: pointer; }
.pb-tests .pa-t[aria-pressed="true"]::after { content: "Shown below"; align-self: end; margin-top: 0.6rem; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--blue); }
.pb-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.pb-p { padding: 1.2rem 1.3rem; border-radius: 10px; background: #f5f7fb; }
.pb-n { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.8rem; font: 400 1.5rem/1.1 var(--serif); color: var(--ink); }
.pb-n svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: var(--ink); stroke-width: 2; }
.pb-p ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.pb-p li { margin: 0; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.6rem; align-items: center; min-height: 3rem; padding: 0.55rem 0.75rem; border-radius: 8px; background: #fff; border: 1px dashed #cfd8e6; font: 400 var(--t-sm)/1.35 var(--sans); color: var(--graphite); transition: border-color 0.3s, background 0.3s; }
.pb-p li i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #e3e8f0 center / 0.9rem no-repeat; }
.pb-p li [data-a] { display: none; color: var(--ink); font-weight: 600; }
.pb-p li.is-shown { border-style: solid; border-color: #1baf7a; background: #f1faf5; animation: mfc-pop 0.45s ease both; } .pb-p li.is-shown.is-no { border-color: #d64545; background: #fdf3f2; }
.pb-p li.is-shown [data-q] { display: none; } .pb-p li.is-shown [data-a] { display: block; }
.pb-p li.is-shown i { background-color: #1baf7a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pb-p li.is-shown.is-no i { background-color: #d64545; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pb-say { margin: 0; min-height: 2.6em; font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.3 var(--serif); color: var(--ink); }
.pb-foot { margin: 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.pb-again { font: inherit; padding: 0; border: 0; background: none; color: var(--blue); text-decoration: underline; cursor: pointer; }
@media (max-width: 48rem) { .pb-top, .pb-tests, .pb-people { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pb-p li.is-shown { animation: none; } }

/* ---------- Myth or fact: live statements from fact-checkers ---------- */
.mf-live { margin: 0 0 0.6rem; display: inline-flex; align-items: center; gap: 0.45rem; font: 600 var(--t-xs)/1.2 var(--sans); color: #9be0bf; }
.mf-live::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #1baf7a; box-shadow: 0 0 0 3px rgba(27, 175, 122, 0.25); }
.mf-why a { color: inherit; text-decoration: underline; }
.mf-live-note { margin: 0.5rem 0 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }

/* ---------- Impact: the TV 2 case, three real examples by year ---------- */
.tv2-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.tv2-steps li { margin: 0; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #dfe5ee; }
.tv2-steps b { font: 400 2rem/1 var(--serif); letter-spacing: -0.02em; color: var(--blue); }
.tv2-steps h4 { margin: 0 0 0.3rem; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--ink); }
.tv2-steps p { margin: 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }

/* ---------- Services: the robot flies between the three talks (site.js 15m) ---------- */
.fly { margin: 0 0 2.5rem; border-radius: 14px; overflow: hidden; background: #0f1b2d; color: #fff; }
.fly-sky { position: relative; height: clamp(15rem, 30vw, 21rem); background: radial-gradient(120% 90% at 50% 110%, #1d3a66 0%, #0f1b2d 62%); overflow: hidden; }
.fly-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.fly-path path { fill: none; stroke: #6f9be0; stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; opacity: 0; transition: opacity 0.4s; } .fly.is-flying .fly-path path { opacity: 0.7; }
.fly-bot { position: absolute; left: 0; top: 0; width: clamp(4.2rem, 8vw, 6rem); padding: 0; border: 0; background: none; cursor: pointer; transform: translate(50cqw, 40%) translate(-50%, -50%); will-change: transform; filter: drop-shadow(0 0 1.2px rgba(214, 228, 247, 0.95)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35)); }
.fly-bot svg { display: block; width: 100%; height: auto; overflow: visible; }
.fly-bot .f-b { fill: #1d4f8f; } .fly-bot .f-w { fill: #fff; } .fly-bot .f-p { fill: #0d1b33; } .fly-bot .f-bulb { fill: #f2b441; }
.fly-bot .f-a, .fly-bot .f-m, .fly-bot .f-t { fill: none; stroke-linecap: round; stroke-linejoin: round; } .fly-bot .f-a { stroke: #1d4f8f; stroke-width: 2.4; } .fly-bot .f-m { stroke: #fff; stroke-width: 2.2; } .fly-bot .f-t { stroke: #1baf7a; stroke-width: 2.4; }
.fly-flame path { fill: #f2b441; transform-origin: 32px 78px; animation: fly-flame 0.18s ease-in-out infinite alternate; } .fly.is-flying .fly-flame path { fill: #ff8a3c; animation-duration: 0.09s; }
.fly-flame { transform-origin: 32px 78px; transform: scaleY(0.55); transition: transform 0.25s; } .fly.is-flying .fly-flame { transform: scaleY(1.25); }
.fly-armL, .fly-armR { transition: transform 0.3s; transform-origin: 10px 44px; } .fly-armR { transform-origin: 54px 44px; } .fly.is-flying .fly-armL { transform: rotate(28deg); } .fly.is-flying .fly-armR { transform: rotate(-28deg); }
.fly-bot:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 12px; }
.fly-say { position: absolute; top: 1.1rem; left: 50%; width: max-content; max-width: min(19rem, 86%); margin: 0; padding: 0.6rem 0.9rem; border-radius: 12px; background: #fff; color: #0f1b2d; font: 400 1.05rem/1.3 var(--serif); transform: translateX(-50%) translateY(6px); opacity: 0; transition: opacity 0.35s, transform 0.35s; }
.fly-say.is-in { opacity: 1; transform: translateX(-50%); }
.fly-stops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.fly-stop { display: grid; gap: 0.3rem; align-content: start; padding: 1.1rem 1.25rem 1.25rem; border: 0; border-left: 1px solid rgba(255, 255, 255, 0.14); background: none; color: #fff; text-align: left; cursor: pointer; transition: background 0.25s; }
.fly-stop:first-child { border-left: 0; } .fly-stop:hover { background: rgba(255, 255, 255, 0.06); } .fly-stop[aria-pressed="true"] { background: rgba(79, 142, 230, 0.22); box-shadow: inset 0 3px 0 #4f8ee6; }
.fly-stop span { font: 400 var(--t-xs)/1.35 var(--sans); color: #b9c6da; } .fly-stop b { font: 400 1.2rem/1.25 var(--serif); }
.fly-note { margin: 0; padding: 0.7rem 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font: 400 var(--t-xs)/1.4 var(--sans); color: #b9c6da; } .fly-note a { color: #fff; }
@keyframes fly-flame { from { transform: scaleY(0.8); } to { transform: scaleY(1.15); } }
@media (max-width: 44rem) { .fly-stops { grid-template-columns: minmax(0, 1fr); } .fly-stop { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); } .fly-stop:first-child { border-top: 0; } }
@media (prefers-reduced-motion: reduce) { .fly-flame path { animation: none; } }

/* ---------- Myth or fact: less empty room between the statement and the buttons ---------- */
@media (min-width: 48rem) { .mf-stage, .mf-card, .mf-inner { min-height: 18.5rem; } }
.mf-q { display: flex; align-items: center; padding: 0.4rem 0; }
.mf-back { overflow-y: auto; }
/* ---------- Myth or fact: the card grows with its statement. Both faces share one grid cell, so a long live claim
   keeps its buttons on the dark card, and the answer side is always as tall as the question side ---------- */
.mf-inner { display: grid; }
.mf-face { position: relative; inset: auto; grid-area: 1 / 1; }
.mf-back { overflow-y: visible; }

/* ---------- Services robot, second pass: bubbles beside the robot, props, blinking, waving ---------- */
.fly-sky { height: clamp(18rem, 34vw, 24rem); }
.fly-bot:focus { outline: none; } .fly-bot:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 4px; border-radius: 16px; }
.fly-say { position: absolute; top: 0; left: 0; width: max-content; max-width: min(21rem, 78%); margin: 0; padding: 0.75rem 1rem 0.7rem; border: 0; border-radius: 14px 14px 14px 4px; background: #fff; color: #0f1b2d; text-align: left; font: 400 1.12rem/1.32 var(--serif); cursor: pointer; transform: translateY(8px) scale(0.96); transform-origin: 0 100%; opacity: 0; transition: opacity 0.3s, transform 0.3s; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }
.fly-say.is-left { border-radius: 14px 14px 4px 14px; transform-origin: 100% 100%; }
.fly-say.is-in { opacity: 1; transform: none; }
.fly-say::after { content: ""; position: absolute; left: -9px; bottom: 0; border: 9px solid transparent; border-bottom-color: #fff; border-right-color: #fff; border-left-width: 0; }
.fly-say.is-left::after { left: auto; right: -9px; border: 9px solid transparent; border-bottom-color: #fff; border-left-color: #fff; border-right-width: 0; }
.fly-say i { display: flex; gap: 5px; margin-top: 0.5rem; } .fly-say i:empty { display: none; }
.fly-say i b { width: 6px; height: 6px; border-radius: 50%; background: #c9d3e2; } .fly-say i b.is-on { background: #2a4d8f; width: 16px; border-radius: 3px; }
.fly.is-flying .fly-say { opacity: 0; }
.fly-pupils { transition: transform 0.15s; }
.fly-bot .f-w + .f-w, .fly-bot circle.f-w { transform-box: fill-box; transform-origin: center; animation: fly-blink 4.6s infinite; }
.fly-bot rect.f-w { animation: none; }
.fly-bot.is-wave .fly-armR { animation: fly-wave 0.9s ease-in-out 1; }
.fly-prop { position: absolute; width: clamp(4.5rem, 9vw, 7rem); transform: translate(-50%, -50%) scale(0.6); opacity: 0; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1); pointer-events: none; }
.fly-prop.is-on { opacity: 1; transform: translate(-50%, -50%); } .fly.is-flying .fly-prop { opacity: 0; }
.fly-prop svg { display: block; width: 100%; height: auto; overflow: visible; }
.p-sheet { fill: #fff; } .p-line { fill: none; stroke: #c9d3e2; stroke-width: 5; stroke-linecap: round; } .p-mark { fill: none; stroke: #f2b441; stroke-width: 9; stroke-linecap: round; }
.p-ok { fill: #1baf7a; } .p-tick { fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.p-q { font: 600 34px var(--serif); fill: #f2b441; opacity: 0; transition: opacity 0.4s; } .fly[data-line="1"] .p-q, .fly[data-line="2"] .p-q { opacity: 1; }
.p-lens circle { fill: rgba(111, 155, 224, 0.25); stroke: #0f1b2d; stroke-width: 4; } .p-lens path { stroke: #0f1b2d; stroke-width: 6; stroke-linecap: round; }
.fly-prop.is-on .p-lens { animation: fly-lens 3s ease-in-out infinite; }
.p-sun { fill: #f2b441; } .p-rays path { stroke: #f2b441; stroke-width: 5; stroke-linecap: round; } .p-smile { fill: none; stroke: #0f1b2d; stroke-width: 3.4; stroke-linecap: round; } .p-eye { fill: #0f1b2d; }
.fly-prop.is-on .p-rays { transform-origin: 60px 60px; animation: fly-spin 14s linear infinite; }
@keyframes fly-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
@keyframes fly-wave { 0%, 100% { transform: rotate(0); } 25%, 75% { transform: rotate(-150deg); } 50% { transform: rotate(-110deg); } }
@keyframes fly-lens { 0%, 100% { transform: translate(-22px, 0); } 50% { transform: translate(14px, 0); } }
@keyframes fly-spin { to { transform: rotate(360deg); } }
@media (max-width: 44rem) { .fly-prop { display: none; } .fly-say { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .fly-bot circle.f-w, .fly-prop.is-on .p-lens, .fly-prop.is-on .p-rays, .fly-bot.is-wave .fly-armR { animation: none; } }

/* ---------- Header: room for the longer name “Dr. Christoph Trattner” on one line ---------- */
.site-header .wrap { gap: 1rem; }
.brand { font-size: 1.22rem; }
.nav { column-gap: clamp(0.5rem, 0.8vw, 0.86rem); }   /* a little less, so the menu keeps a few pixels to spare with “Hunchpin” in it */

/* ---------- Current focus: the arc of the experiment (before, with AI, a week later) ---------- */
.fx-arc { margin: 0 0 1.5rem; max-width: 46rem; }
.fx-arc-h { margin: 0 0 0.6rem; font: 400 1.25rem/1.35 var(--serif); color: var(--ink); }
.fx-arc svg { display: block; width: 100%; height: auto; overflow: visible; }
.fx-arc-band { fill: #eef3fb; } .fx-arc-bt { font: 600 12px var(--sans); fill: #2a4d8f; }
.fx-arc-grid { stroke: #e3e8f0; stroke-width: 1; } .fx-arc-ax { font: 400 12px var(--sans); fill: var(--graphite); }
.fx-arc-s polyline { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.fx-arc-s circle { fill: var(--c); stroke: #fff; stroke-width: 2; } .fx-arc-s .fx-arc-open { fill: #fff; stroke: var(--c); stroke-width: 2.5; }
.fx-arc-dash { stroke: var(--c); stroke-width: 2; stroke-dasharray: 3 5; fill: none; }
.fx-arc-v { font: 600 13px var(--sans); fill: var(--ink); } .fx-arc-n { font: 400 12px var(--sans); fill: var(--graphite); } .fx-arc-l { font: 400 13px var(--sans); fill: var(--ink); }
.fx-arc-lead { stroke: #b9c3d3; stroke-width: 1; fill: none; }
.fx-arc-x { font: 600 13px var(--sans); fill: var(--ink); } .fx-arc-x2 { font: 400 12px var(--sans); fill: var(--graphite); }
.fx-arc-sub { margin: 0 0 0.5rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.fx-arc-s polyline { stroke-dasharray: 900; stroke-dashoffset: 0; animation: fx-arc-draw 1.6s ease both; }
@keyframes fx-arc-draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .fx-arc-s polyline { animation: none; } }
/* ---------- Impact, three studies: the outlets hang on one stem, the three diagrams start at the same height ---------- */
.st3-reach { align-items: start; min-height: 9.5rem; align-content: start; }
.st3-src { margin-top: 0; align-self: start; }
.st3-reach ul { position: relative; padding-top: 0.05rem; }
.st3-reach li i { margin-left: 0; }
.st3-reach li:first-child i { width: clamp(1.5rem, 4vw, 3rem); }
.st3-reach li + li i { visibility: visible; }
.st3-reach li + li { position: relative; }
.st3-reach ul::before { content: ""; position: absolute; left: 0; top: 0.95rem; bottom: 0.95rem; width: 2px; background: var(--ink); }
.st3-reach li:only-child { } .st3-reach ul:has(li:only-child)::before { display: none; }
/* ---------- Research map (agenda): the reading steps under each station ---------- */
.ag-phase--map text { font-size: 19px; }

/* ---------- Impact, three studies: no arrows. A small label and the outlets as plain chips ---------- */
.st3-reach { display: block; min-height: 0; padding: 1rem 0 0.4rem; }
.st3-src { display: block; margin: 0 0 0.55rem; padding: 0; border-radius: 0; background: none; color: var(--graphite); font: 600 var(--t-xs)/1.2 var(--sans); white-space: normal; }
.st3-reach ul { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; }
.st3-reach ul::before { display: none; }
.st3-reach li i { display: none; }
.st3-reach li span { padding: 0.4rem 0.7rem; border-radius: 999px; background: #eef2f8; font-size: var(--t-sm); }
.st3[data-reveal] .st3-reach li span { transition-delay: calc(0.5s + var(--k) * 0.12s); }

/* ---------- Impact: what students wrote (site.js 15n). Without script all four are listed ---------- */
.sq { padding: 1.5rem 1.6rem 1.1rem; border-radius: 14px; background: #f5f7fb; }
.sq-k { margin: 0 0 0.9rem; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.sq-q { margin: 0 0 1.1rem; padding: 0 0 0 1rem; border-left: 3px solid var(--blue); }
.sq-q p { margin: 0 0 0.5rem; font: 400 1.22rem/1.4 var(--serif); color: var(--ink); }
.sq-q footer { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.sq-nav { display: none; margin: 0; align-items: center; gap: 0.7rem; font: 600 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.sq-nav button { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid #cfd8e6; background: #fff; font: 400 1.1rem/1 var(--sans); color: var(--ink); cursor: pointer; } .sq-nav button:hover { border-color: var(--ink); }
.sq.is-live { display: grid; grid-template-rows: auto 1fr auto; min-height: 15.5rem; }
.sq.is-live .sq-q { display: none; align-self: start; } .sq.is-live .sq-q.is-on { display: block; animation: mfc-pop 0.45s ease both; }
.sq.is-live .sq-nav { display: flex; }
@media (prefers-reduced-motion: reduce) { .sq.is-live .sq-q.is-on { animation: none; } }

/* ---------- Services, five verbs: a light stage instead of the near-black one ---------- */
.orb { background: #f4f6fa; color: var(--ink); border: 1px solid #e1e7f0; }
.orb-stage { border-right-color: #dbe2ec; background: #fff; border-radius: 6px 0 0 6px; }
.orb-v { color: #b8c2d1; } .orb-v:hover, .orb-v.is-on { color: var(--ink); }
.orb-v i { background: #e3e8f0; } .orb-v i::after { background: var(--blue); }
.orb-list h3 { color: var(--ink); } .orb-list p { color: #3d4a5c; }
.orb-fact { color: var(--graphite) !important; } .orb-fact b { color: var(--ink); }
.orb-go { background: var(--ink); color: #fff; } .orb-go:hover { background: var(--blue); color: #fff; }
@media (max-width: 56rem) { .orb-stage { border-bottom-color: #dbe2ec; border-radius: 6px 6px 0 0; } }


/* ---------- News list: the newsroom's teaser under the headline; rows no taller than their content ---------- */
.news-list li .d { grid-column: 2; margin: 0.35rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); color: #4a5668; max-width: 40rem; }
.news-list li.has-pic .pic { grid-row: 1 / span 2; }
.news-list li { align-items: start; }
@media (max-width: 40rem) { .news-list li .d { grid-column: 1; } }

/* ---------- Keep up with AI: papers people are discussing now (site.js 15p) ---------- */
.ptalk { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3.5rem); }
.ptalk li { margin: 0; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.9rem; padding: 1rem 0 1.05rem; border-bottom: 1px solid #e3e8f0; }
.ptalk-n { font: 400 2rem/1 var(--serif); letter-spacing: -0.02em; color: #b8c2d1; }
.ptalk-t { font: 400 1.2rem/1.28 var(--serif); letter-spacing: -0.005em; text-decoration-thickness: 1px; text-decoration-color: #98a1ae; }
.ptalk-m { margin: 0.35rem 0 0.5rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.ptalk-bar { display: block; height: 4px; border-radius: 2px; background: #edf1f6; overflow: hidden; } .ptalk-bar i { display: block; height: 100%; border-radius: 2px; background: var(--blue); }
[data-ptalk].has-live { position: relative; }
@media (max-width: 52rem) { .ptalk { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Press: a piece opened by its link from another page is marked in the record ---------- */
.pr-list li:target { background: #fff8e5; box-shadow: -0.75rem 0 0 #fff8e5, 0.75rem 0 0 #fff8e5; scroll-margin-top: calc(var(--header-h, 4rem) + 1rem); }

/* ---------- Home: the prediction, first thing under the opening ---------- */
.predict { margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3rem); border-radius: 14px; background: #f4f6fa; border: 1px solid #e1e7f0; }
.predict-k { margin: 0 0 0.8rem; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--blue); }
.predict h2 { margin: 0 0 1.4rem; max-width: 64rem; font: 400 clamp(1.45rem, 1rem + 1.6vw, 2.2rem)/1.22 var(--serif); letter-spacing: -0.012em; text-wrap: balance; }
.predict-go { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.8rem; }
.predict-go .btn { background: #fff; color: var(--ink); border: 1px solid var(--ink); } .predict-go .btn:hover { background: var(--ink); color: #fff; }
.predict-n { margin: 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }

/* ---------- Contrast: the resting verbs on Services stay readable (large text, at least 3:1; here 4.6:1) ---------- */
.orb-v { color: #6b768a; }
.orb-v[aria-pressed="true"], .orb-v.is-on, .orb-v:hover { color: var(--ink); }

/* ---------- Tidier vertical rhythm, site-wide: less empty room between sections ---------- */
.section { padding-block: 1.5rem clamp(2.25rem, 4.4vw, 3.6rem); }
.section--plain { padding-top: 0; }
.hero { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.predict { margin-top: clamp(0.5rem, 1.5vw, 1.25rem); }
.ag-front { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.pulse { margin-top: clamp(1rem, 2.5vw, 2rem); margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.ag-stop { padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.ag-stop--last { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.ag-poster { padding-bottom: clamp(2rem, 4vw, 3.25rem); }
.page-head { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.rows > .row:last-child { padding-bottom: 0.75rem; }
#lab-apparatus { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section > .band:only-child, .section > .band { margin-block: 0; }
.page-head + .section--plain { margin-top: -0.75rem; }

/* ---------- Press: the outlets I have written for, as large names with the piece that ran there ---------- */
.press-wall--pm { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.press-wall--pm .press-in { margin: 0 0 0.9rem; font: 600 var(--t-sm)/1.2 var(--sans); color: var(--blue); }
.pm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: #dfe5ee; border: 1px solid #dfe5ee; }
.pm { margin: 0; grid-column: span 3; padding: 1.1rem 1.2rem 1.2rem; background: #fff; display: flex; flex-direction: column; gap: 0.45rem; transition: background 0.2s; }
.pm:hover { background: #f6f8fb; }
.pm--lead { grid-column: span 4; padding: 1.6rem 1.6rem 1.7rem; background: var(--ink); color: #fff; } .pm--lead:hover { background: #1b2940; }
.pm-o { margin: 0; font: 400 clamp(1.3rem, 1rem + 0.9vw, 1.75rem)/1.1 var(--serif); letter-spacing: -0.015em; }
.pm--lead .pm-o { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.3rem); line-height: 1; }
.pm-t { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); color: #3d4a5c; } .pm-t a { color: inherit; text-decoration-thickness: 1px; text-decoration-color: #98a1ae; }
.pm--lead .pm-t { font: 400 1.12rem/1.35 var(--serif); color: #e6edf7; } .pm--lead .pm-t a { text-decoration-color: rgba(255, 255, 255, 0.5); }
.pm-k { margin: auto 0 0; padding-top: 0.3rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); } .pm--lead .pm-k { color: #b9c6da; } .pm--lead .pm-more { color: #fff; }
@media (max-width: 62rem) { .pm { grid-column: span 6; } .pm--lead { grid-column: span 12; } }
@media (max-width: 36rem) { .pm { grid-column: span 12; } }
.pr-years, .pr-y { display: none; }
/* ---------- The live mark inside a section's side note sits in the text flow, where nothing can cover it ---------- */
.aside > .live-pill { position: static; display: inline-flex; margin: 0 0 0.5rem; }
.pm--lead .pm-o { font-size: clamp(1.8rem, 1rem + 1.9vw, 2.7rem); line-height: 1.02; text-wrap: balance; }

/* ---------- The live mark never lies on top of text: it has a line of its own, at the right ---------- */
.live-pill { position: static; display: flex; width: max-content; margin: 0 0 0.6rem auto; }
.aside > .live-pill { margin: 0 0 0.5rem; }
.pulse > .live-pill { margin-bottom: 0.2rem; }
/* ---------- News lists: no unexplained dot; the time beside the name says how new a headline is ---------- */
.news-list li.is-new .o b::after { content: none; }

/* ---------- Services robot: a lower stage, less empty sky above and below ---------- */
.fly-sky { height: clamp(12.5rem, 21vw, 15.5rem); }
.fly-stop { padding: 0.85rem 1.25rem 0.95rem; }
.fly-note { padding: 0.55rem 1.25rem; }
.fly-prop { width: clamp(4rem, 7.5vw, 5.8rem); }
.fly-bot { width: clamp(3.8rem, 6.8vw, 5.2rem); }
.fly[data-line="3"] .p-q, .fly[data-line="4"] .p-q { opacity: 1; }

/* ---------- Press: outlets above, one list of pieces below (site.js 15k) ---------- */
.pm-o button { all: unset; cursor: pointer; font: inherit; letter-spacing: inherit; color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.18em; transition: text-decoration-color 0.2s; }
.pm-o button:hover, .pm-o button[aria-pressed="true"] { text-decoration-color: currentColor; } .pm-o button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.pm--lead .pm-o button:focus-visible { outline-color: #fff; }
button.pm-more { all: unset; cursor: pointer; text-decoration: underline; color: inherit; } button.pm-more:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pz-sec { border-top: 0; padding-top: 0.5rem; scroll-margin-top: calc(var(--header-h, 4rem) + 0.5rem); }
.pz-sec > span[id] { display: block; scroll-margin-top: calc(var(--header-h, 4rem) + 0.5rem); }
.pz-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 0 0 0.7rem; position: sticky; top: calc(var(--header-h, 4rem) + 0.25rem); z-index: 4; padding: 0.6rem 0; background: color-mix(in srgb, var(--paper, #fff) 92%, transparent); backdrop-filter: blur(8px); }
.pz-bar .pr-chip[data-k="mode"] { border-color: var(--ink); }
.pz-sep { width: 1px; height: 1.4rem; background: #cfd8e6; margin: 0 0.3rem; }
.pz-count { margin: 0 0 0.4rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.pz > .row[hidden] { display: none; }
.pz > .row.is-pop { animation: mfc-pop 0.45s ease both; animation-delay: calc(var(--n, 0) * 40ms); }
.pz > .row.is-target { box-shadow: -1rem 0 0 #fff8e5, 1rem 0 0 #fff8e5; background: #fff8e5; }
.pz-end { margin: 1.5rem 0 0; }
.pz-read { margin-left: 0.4rem; padding: 0.15rem 0.5rem; border-radius: 999px; background: #e9f6ef; color: #0b6b43; font: 600 0.72rem/1.3 var(--sans); white-space: nowrap; }
.pz-live { position: relative; margin-top: 1.25rem; padding: 1rem 1.2rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #dfe5ee; }
.pz-live-k { margin: 0 0 0.6rem; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.pz-live ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; counter-reset: pzl; }
.pz-live li { margin: 0; counter-increment: pzl; display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 0.5rem; }
.pz-live li::before { content: counter(pzl); grid-row: span 2; font: 400 2rem/1 var(--serif); color: #b8c2d1; }
.pz-live li a { font: 400 1.05rem/1.3 var(--serif); } .pz-live li span { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
@media (max-width: 52rem) { .pz-live ol { grid-template-columns: minmax(0, 1fr); } .pz-bar { position: static; } }
@media (prefers-reduced-motion: reduce) { .pz > .row.is-pop { animation: none; } }

/* ---------- Lab bench: the AI, drawn as the game's robot ---------- */
.ap-ai .ap-bot-h { fill: #1d4f8f; stroke: var(--ink); stroke-width: 2.5; }
.ap-ai .ap-bot-e { fill: #fff; } .ap-ai .ap-bot-p { fill: var(--ink); }
.ap-ai .ap-bot-a, .ap-ai .ap-bot-m { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; } .ap-ai .ap-bot-m { stroke: #fff; }
.ap-ai .ap-bot-b { fill: #f2b441; stroke: var(--ink); stroke-width: 1.5; }

/* ---------- Press, second pass: the outlets are buttons; the conversation right now beside the title ---------- */
.pm, .pm--lead { padding: 0; }
.pm-b { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 0.45rem; width: 100%; height: 100%; padding: 1.1rem 1.2rem 1.15rem; cursor: pointer; text-align: left; }
.pm--lead .pm-b { padding: 1.5rem 1.6rem 1.4rem; }
.pm-b:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; } .pm--lead .pm-b:focus-visible { outline-color: #f2b441; }
.pm-b:hover .pm-o, .pm-b[aria-pressed="true"] .pm-o { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
.pm-b[aria-pressed="true"] { box-shadow: inset 0 -4px 0 var(--blue); } .pm--lead .pm-b[aria-pressed="true"] { box-shadow: inset 0 -4px 0 #f2b441; }
.pm-k { margin: auto 0 0; padding-top: 0.35rem; }
/* ---------- Press, third pass: 26 outlets in a tight wall; every row is full, the last row stretches, no empty cells ---------- */
.pm-grid { display: flex; flex-wrap: wrap; }
.pm { flex: 1 1 13rem; min-width: 0; }
.pm--lead { flex: 1 1 calc(33.333% - 1px); }
.pm-b { padding: 0.9rem 1.05rem 0.95rem; gap: 0.3rem; }
.pm--lead .pm-b { padding: 1.35rem 1.5rem 1.25rem; }
.pm:not(.pm--lead) .pm-o { font-size: clamp(1.12rem, 0.95rem + 0.45vw, 1.42rem); line-height: 1.12; overflow-wrap: anywhere; }
.pm-k { padding-top: 0.15rem; }
@media (max-width: 48rem) { .pm--lead { flex-basis: 100%; } .pm--lead .pm-b { padding: 1.05rem 1.1rem 1rem; } }
@media (max-width: 36rem) { .pm { flex: 1 1 calc(50% - 1px); } .pm--lead { flex-basis: 100%; } .pm-b { padding: 0.75rem 0.8rem 0.8rem; } }
/* each outlet's own mark before its name, the size of a capital letter: a quiet initial at once, the outlet's icon from its own website when it arrives */
.pm-mark { position: relative; display: inline-grid; place-items: center; width: 1.12em; height: 1.12em; margin-right: 0.36em; vertical-align: -0.17em; border-radius: 0.24em; overflow: hidden; background: #eef2f7; color: var(--ink); }
.pm-mark b { font: 500 0.56em/1 var(--serif); }
.pm-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pm-mark.has-logo { box-shadow: 0 0 0 1px #e1e6ee; }
.pm-mark.has-logo b { visibility: hidden; }
.pm--lead .pm-mark { display: grid; width: 0.9em; height: 0.9em; margin: 0 0 0.3em; border-radius: 0.2em; background: rgba(255, 255, 255, 0.14); color: #fff; }   /* the three large names: the mark sits above the name */
.pm--lead .pm-mark.has-logo { box-shadow: none; }
/* the smaller names: the mark in a column of its own, level with the first line; a name that wraps stays in line with itself */
.pm:not(.pm--lead) .pm-o { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.42em; align-items: start; }
.pm:not(.pm--lead) .pm-mark { margin: 0; }
@media (max-width: 36rem) { .pm:not(.pm--lead) .pm-o { display: block; } .pm:not(.pm--lead) .pm-mark { display: grid; margin: 0 0 0.3em; } }   /* phones: two names to a row, so the mark goes above the name and long words keep whole */
.pz-now { padding: 0.2rem 0 0; }
.pz-now-k { margin: 0 0 0.7rem; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--ink); }
.pz-now-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.pz-now-list li { margin: 0; display: grid; gap: 0.15rem; }
.pz-now-list a { font: 400 1rem/1.3 var(--serif); text-decoration-thickness: 1px; text-decoration-color: #98a1ae; }
.pz-now-list span { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.pz-now-m { margin: 0.9rem 0 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
.pz-by { margin-right: 0.3rem; padding: 0.12rem 0.45rem; border-radius: 3px; background: #eef1f5; color: #3d4a5c; font: 600 0.72rem/1.3 var(--sans); }
.pz-note { margin: 0.75rem 0 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }

/* the lab bench, played again: everything returns to its start at once, without transitions */
.ap.is-reset *, .ap.is-reset .ap-cards li { transition: none !important; animation: none !important; }

@media (max-width: 36rem) { .pm { grid-column: span 6; } .pm--lead { grid-column: span 12; } .pm-b { padding: 0.85rem 0.9rem 0.9rem; } .pm-o { font-size: 1.15rem; } .pm--lead .pm-o { font-size: 1.9rem; } }

/* ---------- Press & Opinion: the outlets' own wordmarks instead of icons (Science, Nature, Fortune) ----------
   Each shows as a silhouette in the wall's ink, white on the three large names, at a height that matches the names in type around it. */
.pm-b { position: relative; }
.pm-o, .pm:not(.pm--lead) .pm-o { display: block; }
.pm-logo { display: block; width: auto; max-width: 100%; height: clamp(1.15rem, 0.95rem + 0.45vw, 1.45rem); object-fit: contain; object-position: left center; filter: brightness(0); opacity: 0.86; transition: opacity 0.2s; }
.pm--lead .pm-logo { height: clamp(2rem, 1.2rem + 2vw, 2.75rem); margin: 0.15rem 0 0.1rem; filter: brightness(0) invert(1); opacity: 1; }
.pm-b:hover .pm-logo, .pm-b[aria-pressed="true"] .pm-logo { opacity: 1; }
.pm-logo--box { filter: grayscale(1); height: clamp(1rem, 0.85rem + 0.4vw, 1.25rem); }   /* a box logo (Dagbladet) in gray, a little smaller, since the box fills its whole height */
.pm-b.has-logo .pm-name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 36rem) { .pm-logo { height: 1.1rem; } .pm--lead .pm-logo { height: 2.1rem; } }
@media (max-width: 36rem) { .pm-logo--box { height: 0.95rem; } }
/* Aftenposten's blackletter is light and sits small in its file: a little larger, to stand level with the names in type */
.pm-b[data-pz-o="Aftenposten"] .pm-logo { height: clamp(1.4rem, 1.15rem + 0.55vw, 1.75rem); }
.pm-logo--box { height: clamp(1.05rem, 0.88rem + 0.42vw, 1.3rem); }
@media (max-width: 36rem) { .pm-b[data-pz-o="Aftenposten"] .pm-logo { height: 1.35rem; } .pm-logo--box { height: 1rem; } }

/* ---------- Lab: the four questions as separate cards (rounded cells in a hairline grid showed the grey grid at their corners) ---------- */
.lab-qs { gap: 1rem; background: none; border: 0; }
.lab-qs li { background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 10px 28px rgba(15, 27, 45, 0.07); }

/* ---------- Impact explorer on a narrow screen: it scrolls sideways, opens at the latest years, and says so ---------- */
.ix-frame { position: relative; }
.ix-nav { display: none; }
.ix.is-scroll .ix-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin: 0 0 0.55rem; }
.ix-range { margin: 0; font: 400 var(--t-xs)/1.35 var(--sans); color: var(--graphite); }
.ix-arrows { display: flex; flex: none; gap: 0.35rem; }
.ix-arr { font: 600 var(--t-xs)/1 var(--sans); padding: 0.45rem 0.7rem; border-radius: 999px; border: 1px solid #cfd8e4; background: #fff; color: var(--ink); cursor: pointer; }
.ix-arr:disabled { opacity: 0.4; cursor: default; }
.ix-arr:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ix-fade { position: absolute; top: 0; bottom: 0; width: 2.4rem; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.ix-fade--l { left: 0; background: linear-gradient(90deg, #f8fafd 15%, rgba(248, 250, 253, 0)); }
.ix-fade--r { right: 0; background: linear-gradient(270deg, #fdfdfe 15%, rgba(253, 253, 254, 0)); }
.ix.can-l .ix-fade--l, .ix.can-r .ix-fade--r { opacity: 1; }
.ix-lanes { position: absolute; left: 0; top: 0; z-index: 3; width: 0; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.ix.show-lanes .ix-lanes { opacity: 1; }
.ix-lanes span { position: absolute; left: 0; transform: translateY(-50%); padding: 0.2rem 0.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 4px rgba(15, 27, 45, 0.14); font: 600 11px/1.2 var(--sans); color: var(--ink); white-space: nowrap; }
.ix-lanes span.is-off { color: #a7b0bd; }
@media (prefers-reduced-motion: reduce) { .ix-fade, .ix-lanes { transition: none; } }

/* ---------- Impact, the innovation award: the Research Council of Norway's logo, faint and white, behind the text, where the ring was;
   if the logo does not load, the ring is back ---------- */
.band-mark { position: absolute; right: -2.5rem; bottom: -2.25rem; width: min(44rem, 78%); height: auto; filter: brightness(0) invert(1); opacity: 0.085; pointer-events: none; user-select: none; }
.band.has-mark::after { display: none; }
.band > :not(.band-mark) { position: relative; z-index: 1; }
@media (max-width: 860px) { .band-mark { width: 125%; right: -38%; top: 1.25rem; bottom: auto; opacity: 0.07; } }   /* on a phone at the top, where it is seen first */

/* the row names on a phone, a little smaller so they cover less of the first years */
.ix-lanes span { padding: 0.14rem 0.42rem; font-size: 10.5px; background: rgba(255, 255, 255, 0.9); }

/* Current focus, hero: one claim checked by an AI on day 1, a new claim alone on day 8, then the study's result.
   Without script, or with reduced motion, everything stands in its final state. */
.head-grid--fx { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); }
@media (max-width: 64rem) { .head-grid--fx { grid-template-columns: minmax(0, 1fr); } .fxh { max-width: 34rem; } }
.fxh { margin: 0; padding: 1.15rem 1.2rem 1rem; background: var(--fog); border-radius: 18px; display: grid; gap: 0.55rem; }
.fxh-when { margin: 0; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); display: flex; gap: 0.45rem; align-items: baseline; }
.fxh-when b { font-weight: 700; color: var(--ink); }
.fxh-day { display: grid; gap: 0.45rem; }
.fxh-card { position: relative; overflow: hidden; background: #fff; border: 1px solid #e1e6ee; border-radius: 12px; padding: 0.7rem 0.95rem 0.8rem; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.05); }
.fxh-tag { margin: 0 0 0.2rem; font: 400 0.75rem/1.2 var(--sans); color: var(--graphite); }
.fxh-claim { margin: 0; font: 400 1.12rem/1.32 var(--serif); color: var(--ink); }
.fxh-claim mark { background: rgba(29, 79, 143, 0.12); color: inherit; padding: 0 0.12em; border-radius: 3px; box-shadow: inset 0 -2px 0 var(--blue); transition: background-color 0.35s, box-shadow 0.35s; }
.fxh-scan { position: absolute; inset: 0 auto 0 0; width: 38%; pointer-events: none; background: linear-gradient(90deg, rgba(29, 79, 143, 0), rgba(29, 79, 143, 0.13), rgba(29, 79, 143, 0)); transform: translateX(-110%); opacity: 0; }
.fxh-ai, .fxh-off { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.55rem; font: 400 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.fxh-ai-k, .fxh-off-k { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.28rem 0.6rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; }
.fxh-ai-k i, .fxh-off-k i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #9ec2f0; }
.fxh-ai-v { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 0.3rem; }
.fxh-ai-v::before { content: ""; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.fxh-ai-t { font-variant-numeric: tabular-nums; }
.fxh-ai-wait { display: none; gap: 3px; }
.fxh-ai-wait i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); animation: fxh-dot 0.9s ease-in-out infinite; }
.fxh-ai-wait i:nth-child(2) { animation-delay: 0.15s; } .fxh-ai-wait i:nth-child(3) { animation-delay: 0.3s; }
.fxh-why { margin: 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.fxh-off-k { background: #e4e8ee; color: var(--graphite); position: relative; }
.fxh-off-k i { background: transparent; box-shadow: inset 0 0 0 1.5px #8d98a8; }
.fxh-gap { position: relative; display: flex; align-items: center; gap: 0.6rem; height: 2.1rem; padding-left: 0.95rem; font: 600 var(--t-xs)/1 var(--sans); color: var(--ink); }
.fxh-gap-line { position: absolute; left: 1.3rem; top: 0; bottom: 0; border-left: 2px dashed #b7c0cc; transform-origin: top; }
.fxh-gap-dot { position: relative; z-index: 1; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.fxh-gap span { margin-left: 0.45rem; }
.fxh-pick { position: relative; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fxh-pick span { padding: 0.34rem 0.75rem; border-radius: 999px; background: #fff; border: 1px solid #cfd6e0; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--ink); }
.fxh-cursor { position: absolute; width: 15px; height: 19px; left: 47%; top: 62%; fill: var(--ink); stroke: #fff; stroke-width: 1.3; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(15, 27, 45, 0.25)); }
.fxh-res { margin-top: 0.35rem; padding-top: 0.75rem; border-top: 1px solid #dfe4ec; }
.fxh-res-h { margin: 0 0 0.45rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--ink); }
.fxh-res ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.fxh-res li { display: grid; grid-template-columns: minmax(0, 1fr) 4.9rem; grid-template-rows: auto 0.55rem; column-gap: 0.6rem; row-gap: 0.18rem; align-items: center; font: 400 var(--t-xs)/1.25 var(--sans); color: var(--graphite); }
.fxh-res li span { grid-column: 1; }
.fxh-res li b { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.fxh-res li i { grid-column: 1; height: 0.55rem; border-radius: 999px; background: linear-gradient(var(--c), var(--c)) left / calc(var(--v) * 1%) 100% no-repeat, #e4e8ee; transition: background-size 1.1s cubic-bezier(.2, .8, .2, 1); }
.fxh-r1 { --c: var(--blue); } .fxh-r2 { --c: var(--ink); } .fxh-r3 { --c: #aab4c2; }
.fxh figcaption { font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
.fxh-say { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.15rem; }
.fxh-again { font: 600 var(--t-xs)/1 var(--sans); color: var(--blue); background: none; border: 0; padding: 0; margin-left: 0.3rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.fxh-again[hidden] { display: none; }
/* the play: is-armed hides what comes later; s1 … s8 bring it in */
.js .fxh.is-armed .fxh-d1 .fxh-card, .js .fxh.is-armed .fxh-ai, .js .fxh.is-armed .fxh-why, .js .fxh.is-armed .fxh-gap, .js .fxh.is-armed .fxh-d2, .js .fxh.is-armed .fxh-res, .js .fxh.is-armed .fxh-say { opacity: 0; transform: translateY(6px); transition: opacity 0.45s ease, transform 0.45s ease; }
.js .fxh.is-armed .fxh-when { opacity: 0; transition: opacity 0.45s ease; }
.js .fxh.is-armed.s1 .fxh-d1 .fxh-when, .js .fxh.is-armed.s1 .fxh-d1 .fxh-card { opacity: 1; transform: none; }
.js .fxh.is-armed.s2 .fxh-ai { opacity: 1; transform: none; }
.js .fxh.is-armed.s2:not(.s3) .fxh-ai-wait { display: inline-flex; }
.js .fxh.is-armed:not(.s3) .fxh-ai-v, .js .fxh.is-armed:not(.s3) .fxh-ai-t { display: none; }
.js .fxh.is-armed.s2:not(.s3) .fxh-scan { animation: fxh-scan 0.95s ease-in-out forwards; }
.js .fxh.is-armed:not(.s3) .fxh-claim mark { background: transparent; box-shadow: inset 0 -2px 0 transparent; }
.js .fxh.is-armed.s3 .fxh-why { opacity: 1; transform: none; transition-delay: 0.25s; }
.js .fxh.is-armed.s4 .fxh-gap { opacity: 1; transform: none; }
.js .fxh.is-armed.s4 .fxh-gap-line { animation: fxh-draw 0.7s ease-out both; }
.js .fxh.is-armed.s4 .fxh-gap-dot { animation: fxh-drop 0.8s 0.1s cubic-bezier(.3, 1.4, .5, 1) both; }
.js .fxh.is-armed.s5 .fxh-d2 { opacity: 1; transform: none; }
.js .fxh.is-armed.s5 .fxh-d2 .fxh-when { opacity: 1; }
.js .fxh.is-armed:not(.s6) .fxh-pick { opacity: 0; }
.js .fxh.is-armed .fxh-pick { transition: opacity 0.4s ease; }
.js .fxh.is-armed.s6 .fxh-cursor { animation: fxh-cur 2.2s ease-in-out both; }
.js .fxh.is-armed.s6 .fxh-pick span:nth-child(1) { animation: fxh-h1 2.2s linear both; }
.js .fxh.is-armed.s6 .fxh-pick span:nth-child(2) { animation: fxh-h2 2.2s linear both; }
.js .fxh.is-armed.s6 .fxh-pick span:nth-child(3) { animation: fxh-h3 2.2s linear both; }
.js .fxh.is-armed.s7 .fxh-res { opacity: 1; transform: none; }
.js .fxh.is-armed:not(.s7) .fxh-res li i { background-size: 0 100%, auto; }
.js .fxh.is-armed.s7 .fxh-res li:nth-child(2) i { transition-delay: 0.35s; }
.js .fxh.is-armed.s7 .fxh-res li:nth-child(3) i { transition-delay: 0.7s; }
.js .fxh.is-armed.s8 .fxh-say { opacity: 1; transform: none; }
@keyframes fxh-dot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes fxh-scan { 0% { transform: translateX(-110%); opacity: 1; } 100% { transform: translateX(290%); opacity: 1; } }
@keyframes fxh-draw { from { transform: scaleY(0); } }
@keyframes fxh-drop { from { transform: translateY(-1.2rem); opacity: 0; } }
@keyframes fxh-cur { 0% { left: 4%; top: 130%; opacity: 0; } 12% { opacity: 1; left: 13%; top: 58%; } 38% { left: 13%; top: 58%; } 52% { left: 47%; top: 60%; } 64% { left: 80%; top: 58%; } 82% { left: 80%; top: 58%; } 100% { left: 47%; top: 62%; } }
@keyframes fxh-h1 { 0%, 11%, 40%, 100% { box-shadow: none; } 12%, 38% { box-shadow: 0 0 0 2px var(--blue); } }
@keyframes fxh-h2 { 0%, 51%, 61% { box-shadow: none; } 52%, 60% { box-shadow: 0 0 0 2px var(--blue); } 96%, 100% { box-shadow: 0 0 0 2px var(--blue); } }
@keyframes fxh-h3 { 0%, 63%, 83%, 100% { box-shadow: none; } 64%, 82% { box-shadow: 0 0 0 2px var(--blue); } }
@media (max-width: 40rem) { .fxh { padding: 1rem 0.9rem 0.9rem; } .fxh-claim { font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .js .fxh.is-armed * { animation: none !important; transition: none !important; } }

/* Current focus: why health matters (a dot chart from the Reuters Institute's Digital News Report, then six studies) */
.hx-fig { margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); padding: clamp(1rem, 2.4vw, 1.6rem); background: var(--fog); border-radius: 16px; }
.hx-h { margin: 0; font: 600 var(--t-lg)/1.25 var(--sans); color: var(--ink); max-width: 40rem; }
.hx-sub { margin: 0.3rem 0 0.7rem; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.hx-key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0 0 0.4rem; font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.hx-key span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hx-key i { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; }
.hx-key-new { background: #6b7685; }
.hx-key-old { background: #fff; box-shadow: inset 0 0 0 2px #6b7685; }
.hx-key-health { background: var(--blue); }
.hx-dots { list-style: none; margin: 0.3rem 0 0; padding: 0; max-width: 48rem; display: grid; gap: 0.15rem; }
.hx-dots li { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); column-gap: 1rem; align-items: center; min-height: 2.35rem; }
.hx-n { text-align: right; font: 400 var(--t-sm)/1.25 var(--sans); color: var(--graphite); }
.hx-tr { position: relative; height: 2.35rem; margin-right: 3.2rem; background: linear-gradient(90deg, #dfe4ec 1px, transparent 1px) 0 0 / 25% 100% repeat-x; border-right: 1px solid #dfe4ec; }
.hx-tr::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #e8ecf1; }
.hx-tr i, .hx-tr b { position: absolute; top: 50%; }
.hx-f, .hx-o { width: 0.95rem; height: 0.95rem; margin: -0.475rem 0 0 -0.475rem; left: calc(var(--x) * 2.5%); border-radius: 50%; }
.hx-f { background: #6b7685; box-shadow: 0 0 0 2px var(--fog); z-index: 2; }
.hx-o { background: #fff; box-shadow: inset 0 0 0 2px #6b7685; z-index: 1; }
.hx-l { left: calc(var(--lo) * 2.5%); width: calc((var(--hi) - var(--lo)) * 2.5%); height: 2px; margin-top: -1px; background: #9aa5b3; }
.hx-tr b { left: calc(var(--x) * 2.5% + 0.8rem); transform: translateY(-50%); font: 600 var(--t-xs)/1 var(--sans); color: var(--ink); white-space: nowrap; }
.hx-axis { min-height: 1.4rem !important; }
.hx-axis .hx-tr { height: 1.4rem; background: none; border: 0; }
.hx-axis .hx-tr::before { display: none; }
.hx-axis .hx-tr b { left: calc(var(--x) * 2.5%); transform: translate(-50%, -50%); font-weight: 400; color: var(--graphite); }
.hx-dots li.is-health .hx-n { color: var(--ink); font-weight: 700; }
.hx-dots li.is-health .hx-f { background: var(--blue); }
.hx-dots li.is-health .hx-o { box-shadow: inset 0 0 0 2px var(--blue); }
.hx-dots li.is-health .hx-l { background: #7f9fcb; }
.hx-dots li.is-health .hx-tr b { color: var(--blue); }
@media (max-width: 40rem) {
  .hx-dots li { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 0.35rem; }
  .hx-n { text-align: left; font-size: var(--t-xs); }
  .hx-tr { height: 1.6rem; }
  .hx-axis { padding-top: 0 !important; }
  .hx-axis > span:first-child { display: none; }
}
.hx-fig figcaption { margin-top: 0.6rem; }
.hx-table { margin-top: 0.6rem; font: 400 var(--t-xs)/1.4 var(--sans); }
.hx-table summary { cursor: pointer; color: var(--blue); }
.hx-table table { margin-top: 0.5rem; border-collapse: collapse; min-width: 18rem; }
.hx-table th, .hx-table td { text-align: left; padding: 0.25rem 0.9rem 0.25rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hx-table thead th { font-weight: 600; color: var(--ink); }
.hx-table td { font-variant-numeric: tabular-nums; }
.hx-cards { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hx-cards li { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.05rem 1.1rem 1rem; background: #fff; border: 1px solid #e1e6ee; border-radius: 14px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04); }
.hx-k { margin: 0; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.hx-big { margin: 0; color: var(--blue); line-height: 1; }
.hx-big b { font: 400 clamp(2.1rem, 1.6rem + 1.4vw, 2.75rem)/1 var(--serif); letter-spacing: -0.01em; }
.hx-big span { font: 600 var(--t-sm)/1 var(--sans); margin-left: 0.25rem; }
.hx-what { margin: 0.1rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--ink); flex: 1; }
.hx-src { margin: 0.2rem 0 0; font: 400 var(--t-xs)/1.35 var(--sans); }
.hx-src a { color: var(--blue); }
@media (max-width: 62rem) { .hx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .hx-cards { grid-template-columns: minmax(0, 1fr); } }

/* Teaching: the master's theses (a strip of years, filters, then the list by year) */
.th-strip { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 0.2rem; align-items: end; margin: 0 0 0.5rem; padding: 1rem 1rem 0.6rem; background: var(--fog); border-radius: 14px; }
.th-col { display: grid; justify-items: center; gap: 0.35rem; }
.th-dots { display: flex; flex-direction: column-reverse; align-items: center; gap: 3px; min-height: 2.6rem; justify-content: flex-start; }
.th-dot { display: block; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: #9aa5b3; }
.th-dot.is-uib { background: var(--blue); }
.th-dot.has-paper { box-shadow: 0 0 0 2px var(--fog), 0 0 0 3.5px #e0a43a; }
.th-col b { font: 400 0.72rem/1 var(--sans); color: var(--graphite); font-variant-numeric: tabular-nums; }
.th-key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0 0 1rem; font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); }
.th-key span { display: inline-flex; align-items: center; gap: 0.45rem; }
.th-key .th-dot.has-paper { background: #fff; box-shadow: 0 0 0 2px #e0a43a; width: 0.6rem; height: 0.6rem; }
.th-filter { margin-bottom: 1.2rem; }
.th-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.th-year { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1.25rem; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.th-year h3 { margin: 0; font: 400 var(--t-h3)/1 var(--serif); color: var(--ink); }
.th-year ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.6rem; }
.th { display: grid; gap: 0.25rem; align-content: start; }
.th-t { margin: 0; font: 400 1.08rem/1.35 var(--serif); color: var(--ink); }
.th-t a { color: inherit; text-decoration-color: rgba(29, 79, 143, 0.35); text-underline-offset: 3px; }
.th-t a:hover { color: var(--blue); text-decoration-color: currentColor; }
.th-nt { color: var(--graphite); }
.th-m { margin: 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.th-p { margin: 0.1rem 0 0; font: 600 var(--t-xs)/1.4 var(--sans); color: #8a5a00; }
.th-p::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.4rem; border-radius: 50%; box-shadow: inset 0 0 0 2px #e0a43a; vertical-align: 0; }
.th-p a { color: inherit; }
.th-list[data-show="paper"] .th:not(.has-paper), .th-list[data-show="uib"] .th:not([data-grp="uib"]), .th-list[data-show="abroad"] .th:not([data-grp="abroad"]) { display: none; }
.th-year.is-empty { display: none; }
@media (max-width: 48rem) { .th-year { grid-template-columns: minmax(0, 1fr); row-gap: 0.6rem; } .th-year ul { grid-template-columns: minmax(0, 1fr); } .th-strip { padding: 0.8rem 0.5rem 0.5rem; gap: 0.1rem; } .th-dot { width: 0.6rem; height: 0.6rem; } .th-col b { font-size: 0.62rem; } }
.th-col .th-ys { display: none; }
.th-col b.is-odd .th-yl { display: none; }
.th-col b.is-odd .th-ys { display: inline; }
.th-filter { flex-wrap: wrap; }
.th-filter button { white-space: nowrap; }
@media (max-width: 48rem) {
  .th-col b.is-odd { visibility: hidden; }
  .th-col b.is-even .th-yl { display: none; }
  .th-col b.is-even .th-ys { display: inline; }
  .th-filter { display: inline-flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .th-filter button { flex: none; }
}


/* Services, the robot: a talking mouth, a jet boost, and the switch for its voice */
.fly-bot.is-talk .f-m { transform-box: fill-box; transform-origin: center; animation: fly-talk 0.16s ease-in-out infinite alternate; }
@keyframes fly-talk { from { transform: scale(1, 0.6); } to { transform: scale(0.85, 2.6); } }
.fly.is-boost .fly-flame { transform: scaleY(1.7); }
.fly.is-boost .fly-flame path { fill: #ff8a3c; animation-duration: 0.07s; }
.fly-voice { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; }
.fly-voice:hover { background: rgba(255, 255, 255, 0.2); }
.fly-voice:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.fly-voice svg { width: 1.15rem; height: 1.15rem; }
.fly-voice .v-box { fill: currentColor; }
.fly-voice .v-on, .fly-voice .v-off { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.fly-voice[aria-pressed="true"] .v-off, .fly-voice[aria-pressed="false"] .v-on { display: none; }
.fly-voice[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .fly-bot.is-talk .f-m { animation: none; } }

/* Teaching: the course archive as cards by subject */
.cfam-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 0.4rem; }
.cfam { display: flex; flex-direction: column; background: #fff; border: 1px solid #e1e6ee; border-radius: 16px; padding: 1.15rem 1.25rem 1rem; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04); border-top: 4px solid var(--c); }
.cfam[hidden] { display: none; }
.cfam h3 { margin: 0; font: 400 var(--t-h3)/1.15 var(--serif); color: var(--ink); }
.cfam-n { margin: 0.3rem 0 0; font: 600 var(--t-xs)/1.4 var(--sans); color: var(--ink); }
.cfam-n::before { content: ''; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.45em; border-radius: 50%; background: var(--c); vertical-align: 0.02em; }
.cfam-d { margin: 0.35rem 0 0.7rem; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.crs-list { list-style: none; margin: 0; padding: 0; display: grid; }
.crs { display: grid; grid-template-columns: 3.1rem minmax(0, 1fr); column-gap: 0.75rem; padding: 0.55rem 0; border-top: 1px solid #edf0f4; }
.crs[hidden] { display: none; }
.crs-y { font: 700 var(--t-sm)/1.35 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.crs-main { display: grid; gap: 0.12rem; }
.crs-t { font: 400 1.05rem/1.3 var(--serif); color: var(--ink); }
.crs-topic { font: italic 400 0.95rem/1.3 var(--serif); color: var(--graphite); }
.crs-m { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.45rem; font: 400 var(--t-xs)/1.35 var(--sans); color: var(--graphite); }
.crs-lv, .crs-guest { display: inline-block; padding: 0.08rem 0.45rem; border-radius: 999px; font: 600 0.72rem/1.35 var(--sans); }
.crs-lv { background: var(--tint); color: var(--blue); }
.crs-guest { background: #fdf2dd; color: #8a5a00; }
.cfam-more { margin: auto 0 0; padding-top: 0.75rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.cfam-more a { color: var(--blue); font-weight: 600; }
@media (max-width: 52rem) { .cfam-grid { grid-template-columns: minmax(0, 1fr); } }

/* Lab, the pipeline: the cards keep their places whatever the note below says; a press sends a drop to a station, which reacts */
.ap.is-drawn .ap-cards { bottom: auto; aspect-ratio: var(--ap-ar, 1240 / 690); }
.ap-ico { transform-box: fill-box; transform-origin: center; }
.ap-st.is-poke .ap-ico { animation: ap-poke 0.75s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes ap-poke { 0% { transform: none; } 28% { transform: scale(1.4) rotate(-9deg); } 60% { transform: scale(0.92) rotate(5deg); } 100% { transform: none; } }
.ap-st.is-poke .ap-halo { opacity: 1; animation: ap-halo 0.9s ease-out; }
@keyframes ap-halo { 0% { transform: scale(0.7); } 40% { transform: scale(1.18); } 100% { transform: none; } }
.ap-halo { transform-box: fill-box; transform-origin: center; }
.ap-drop { fill: #fff; stroke: #1d4f8f; stroke-width: 3.5; filter: drop-shadow(0 0 7px rgba(127, 178, 240, 0.95)); pointer-events: none; }
.ap-spark { fill: #f2b441; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: ap-spark 0.85s cubic-bezier(.2, .7, .3, 1) forwards; }
.ap-spark--b { fill: #7fb2f0; }
@keyframes ap-spark { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(0.4); opacity: 0; } }
/* each station's own move */
.ap-k-protect .ap-shackle { transform-box: view-box; }
.ap-k-protect.is-poke .ap-shackle { animation: ap-lock 0.9s ease-in-out; }
@keyframes ap-lock { 0%, 100% { transform: none; } 25%, 55% { transform: translateY(-9px); } 70% { transform: translateY(1px); } }
.ap-k-prereg .ap-seal { transform-box: fill-box; transform-origin: center; }
.ap-k-prereg.is-poke .ap-seal { animation: ap-stamp 0.7s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes ap-stamp { 0% { transform: scale(2.4); opacity: 0; } 55% { transform: scale(0.88); opacity: 1; } 100% { transform: none; } }
.ap-k-model.is-poke .ap-bubbles circle { animation-duration: 0.45s !important; }
.ap-k-model .ap-liqin { transform-box: fill-box; transform-origin: 50% 100%; }
.ap-k-model.is-poke .ap-liqin { animation: ap-boil 0.9s ease-in-out; }
@keyframes ap-boil { 0%, 100% { transform: none; } 30% { transform: scaleY(1.35); } 60% { transform: scaleY(0.9); } }
.ap-k-observe.is-poke .ap-person { animation: ap-fall 0.55s ease-in 2 !important; }
.ap-k-build .ap-ui { transform-box: fill-box; transform-origin: left center; }
.ap-k-build.is-poke .ap-ui { animation: ap-type 0.9s steps(4) 1; }
@keyframes ap-type { from { transform: scaleX(0.1); } to { transform: none; } }
.ap-vial .ap-q { transform-box: fill-box; transform-origin: center; }
.ap-vial.is-poke .ap-q { animation: ap-poke 0.7s cubic-bezier(.3, 1.5, .5, 1); }
.ap-vial { cursor: pointer; }
.ap-rack { cursor: pointer; }
.ap-rack.is-poke .ap-fill:not(.ap-vliq) { animation: ap-slosh 0.9s ease-out; }
@keyframes ap-slosh { 0% { transform: scaleY(1); } 25% { transform: scaleY(1.14); } 50% { transform: scaleY(0.92); } 75% { transform: scaleY(1.04); } 100% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .ap-st.is-poke .ap-ico, .ap-st.is-poke .ap-halo, .ap-k-protect.is-poke .ap-shackle, .ap-k-prereg.is-poke .ap-seal, .ap-k-model.is-poke .ap-liqin, .ap-k-build.is-poke .ap-ui, .ap-vial.is-poke .ap-q, .ap-rack.is-poke .ap-fill { animation: none !important; } }
.ap-hit { fill: transparent; pointer-events: all; }
/* a press, and only a press: two rings and a spray of sparks from the station, and the card pops; pointing changes only the cursor */
.ap-ring { fill: none; stroke: var(--ink); stroke-width: 4; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: ap-ring 0.6s cubic-bezier(.2, .7, .3, 1) forwards; }
.ap-ring--2 { stroke: #f2b441; stroke-width: 8; opacity: 0; animation-duration: 0.75s; animation-delay: 0.07s; }
@keyframes ap-ring { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(3.6); opacity: 0; } }
.ap-spark--k { fill: var(--ink); }
.ap-cards li { cursor: pointer; transition: border-color 0.15s; }
.ap-cards li:hover { border-color: #aeb8c8; }
.ap-cards li.is-pop { animation: ap-cardpop 0.5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ap-cardpop { 0% { transform: scale(1); } 30% { transform: scale(1.09) rotate(-1.2deg); } 60% { transform: scale(0.98) rotate(0.6deg); } 100% { transform: none; } }
/* the newsroom's stations, each with its own move */
.ap-k-report .ap-pen { transform-box: fill-box; transform-origin: 20% 90%; }
.ap-k-report.is-poke .ap-pen { animation: ap-scribble 0.8s ease-in-out; }
@keyframes ap-scribble { 0%, 100% { transform: none; } 20% { transform: rotate(-16deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-12deg); } 80% { transform: rotate(7deg); } }
.ap-k-write .ap-ui { transform-box: fill-box; transform-origin: left center; }
.ap-k-write.is-poke .ap-ui { animation: ap-type 0.9s steps(5) 1; }
.ap-k-ai .ap-sheet > * { transform-box: fill-box; transform-origin: 50% 100%; }
.ap-k-ai.is-poke .ap-sheet > * { animation: ap-deal 0.7s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes ap-deal { 0% { transform: translateY(-24px) scale(0.5); opacity: 0; } 100% { transform: none; opacity: 1; } }
.ap-k-check .ap-lens, .ap-k-check .ap-handle { transform-box: view-box; }
.ap-k-check.is-poke .ap-lens, .ap-k-check.is-poke .ap-handle { animation: ap-scan 0.8s ease-in-out; }
@keyframes ap-scan { 0%, 100% { transform: none; } 30% { transform: translate(-14px, -12px); } 65% { transform: translate(-5px, 7px); } }
.ap-k-publish .ap-push { transform-box: fill-box; transform-origin: center; }
.ap-k-publish.is-poke .ap-push { animation: ap-stamp 0.7s cubic-bezier(.2, .9, .3, 1.2); }
@media (prefers-reduced-motion: reduce) { .ap-cards li.is-pop, .ap-ring, .ap-k-report.is-poke .ap-pen, .ap-k-write.is-poke .ap-ui, .ap-k-ai.is-poke .ap-sheet > *, .ap-k-check.is-poke .ap-lens, .ap-k-check.is-poke .ap-handle, .ap-k-publish.is-poke .ap-push { animation: none !important; } }

/* Lab: terms that open an explanation elsewhere */
.lab-rows a.xref { color: inherit; text-decoration: underline dotted; text-decoration-color: rgba(29, 79, 143, 0.6); text-decoration-thickness: 1.5px; text-underline-offset: 3px; background: none; }
.lab-rows a.xref:hover, .lab-rows a.xref:focus-visible { color: var(--blue); text-decoration-style: solid; }
.lab-xnote { margin: 0.6rem 0 1.4rem; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }

/* AI news for newsrooms: claims worth checking, what Norway has not covered, stories in the list, the morning briefing, the archive */
.claims { margin: 0 0 3rem; }
.claims-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0.4rem 2rem; align-items: end; padding-bottom: 0.7rem; margin-bottom: 1.25rem; border-bottom: 2px solid var(--ink); }
.claims-head h3 { margin: 0; font: 400 var(--t-h3)/1.15 var(--serif); }
.claims-deck { margin: 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); max-width: 36rem; }
.claims-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cl-card { --k: var(--blue); --kt: rgba(29, 79, 143, 0.13); display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0.95rem 1.1rem 1rem; background: #fff; border: 1px solid #e1e6ee; border-top: 4px solid var(--k); border-radius: 12px; }
.cl-cause { --k: #1d4f8f; --kt: rgba(29, 79, 143, 0.13); } .cl-number { --k: #b45309; --kt: rgba(180, 83, 9, 0.14); } .cl-superlative { --k: #7c3aed; --kt: rgba(124, 58, 237, 0.12); }
.cl-prediction { --k: #0e7490; --kt: rgba(14, 116, 144, 0.13); } .cl-study { --k: #15803d; --kt: rgba(21, 128, 61, 0.13); } .cl-capability { --k: #be123c; --kt: rgba(190, 18, 60, 0.11); }
.cl-kind { margin: 0; display: flex; align-items: center; gap: 0.45rem; font: 600 0.75rem/1.3 var(--sans); color: var(--ink); }
.cl-ico { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--k); }
.cl-q { margin: 0; font: 400 1.22rem/1.25 var(--serif); color: var(--ink); }
.cl-h { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); text-decoration: underline; text-decoration-color: #c7cfdb; text-underline-offset: 2px; background: none; }
.cl-h:hover { color: var(--ink); text-decoration-color: currentColor; }
.cl-h mark { background: var(--kt); color: var(--ink); padding: 0.05em 0.14em; border-radius: 3px; }
.cl-o { margin: 0; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.cl-why { margin-top: auto; padding-top: 0.35rem; border-top: 1px solid #eef1f5; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
.cl-why summary { cursor: pointer; width: max-content; font-weight: 600; color: var(--blue); }
.cl-why p { margin: 0.35rem 0 0; }
@media (max-width: 64rem) { .claims-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .claims-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .claims-list { grid-template-columns: minmax(0, 1fr); } }

.gap { margin: 0 0 3rem; padding: clamp(1.15rem, 3vw, 1.75rem); border-radius: 14px; background: var(--fog); }
.gap-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 0.8rem; }
.gap-head h3 { margin: 0; font: 400 var(--t-h3)/1.15 var(--serif); }
.gap-deck { margin: 0.3rem 0 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); max-width: 32rem; }
.gap-tally { display: grid; gap: 0.35rem; justify-items: end; }
.gap-dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 15rem; }
.gap-dots i { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: #c9d1dc; }
.gap-dots i.is-gap { background: var(--blue); box-shadow: 0 0 0 2px rgba(29, 79, 143, 0.18); }
.gap-tally-t { margin: 0; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); text-align: right; }
.gap-tally-t b { color: var(--ink); }
.gap-list { list-style: none; margin: 0; padding: 0; }
.gap-row { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: 0.2rem 1rem; margin: 0; padding: 0.95rem 0; border-top: 1px solid #dde3ec; }
.gap-n { margin: 0; display: grid; justify-items: start; align-content: start; }
.gap-n b { font: 400 2rem/1 var(--serif); color: var(--ink); }
.gap-n span { font: 400 0.72rem/1.3 var(--sans); color: var(--graphite); }
.gap-main { display: grid; gap: 0.3rem; }
.gap-line { margin: 0; font: 400 1.12rem/1.35 var(--serif); color: var(--ink); }
.gap-t { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); text-decoration: underline; text-decoration-color: #c2cad6; text-underline-offset: 2px; background: none; }
.gap-t:hover { color: var(--ink); text-decoration-color: currentColor; }
.gap-o { margin: 0; font: 400 var(--t-xs)/1.35 var(--sans); color: var(--graphite); }
.gap-none { padding: 0.9rem 0; border-top: 1px solid #dde3ec; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.js .gap:not([hidden]) .gap-dots i { animation: gap-pop 0.45s cubic-bezier(.3, 1.5, .6, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes gap-pop { from { transform: scale(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .js .gap:not([hidden]) .gap-dots i { animation: none; } }
@media (max-width: 40rem) { .gap-tally, .gap-dots { justify-items: start; justify-content: flex-start; } .gap-tally-t { text-align: left; } .gap-row { grid-template-columns: 3.3rem minmax(0, 1fr); } .gap-n b { font-size: 1.6rem; } }

.news-list li.news-group.news-story { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 0.2rem 0.75rem; }
.news-story .ns-sum { grid-column: 1 / -1; margin: 0.25rem 0 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--ink); text-transform: none; letter-spacing: 0; }

.take { margin: 2.5rem 0 1rem; padding: clamp(1.15rem, 3vw, 1.75rem); border-radius: 14px; background: var(--fog); }
.take-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 0.4rem 2rem; align-items: end; margin-bottom: 1rem; }
.take-head h3 { margin: 0; font: 400 var(--t-h3)/1.15 var(--serif); }
.take-head p { margin: 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.take-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.take-ways li { margin: 0; }
.take-ways a { height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem 0.7rem; align-items: center; padding: 0.85rem 1rem; background: #fff; border: 1px solid #dfe4ec; border-radius: 12px; color: var(--ink); text-decoration: none; }
.take-ways a:hover, .take-ways a:focus-visible { border-color: var(--ink); }
.take-ways .ico { grid-row: 1 / span 2; width: 1.6rem; height: 1.6rem; color: var(--blue); }
.take-ways b { font: 600 var(--t-sm)/1.25 var(--sans); }
.take-ways span { font: 400 var(--t-xs)/1.35 var(--sans); color: var(--graphite); }
@media (max-width: 52rem) { .take-ways, .take-head { grid-template-columns: minmax(0, 1fr); } }

.ask { margin: 0 0 2.75rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 10px 30px rgba(15, 27, 45, 0.08); }
.ask-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 0.4rem 2rem; align-items: end; margin-bottom: 1.1rem; }
.ask-head h3 { margin: 0; font: 400 clamp(1.4rem, 2.4vw, 1.8rem)/1.2 var(--serif); }
.ask-head p { margin: 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.ask-form { display: flex; gap: 0.6rem; }
.ask-form input { flex: 1; min-width: 0; padding: 0.85rem 1rem; font: 400 1.05rem/1.3 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #b9c3d0; border-radius: 10px; }
.ask-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29, 79, 143, 0.15); }
.ask-form button { flex: none; padding: 0 1.4rem; font: 600 1rem/1 var(--sans); color: #fff; background: var(--ink); border: 0; border-radius: 10px; cursor: pointer; }
.ask-form button:disabled { opacity: 0.55; cursor: progress; }
.ask-form button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ask-try { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0.75rem 0 0; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.ask-try span { margin-right: 0.15rem; }
.ask-try button { padding: 0.35rem 0.75rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--ink); background: var(--fog); border: 1px solid #dfe4ec; border-radius: 999px; cursor: pointer; text-align: left; }
.ask-try button:hover, .ask-try button:focus-visible { border-color: var(--ink); }
.ask-out { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid #e3e8ef; }
.ask-ans { padding: 0.15rem 0 0.15rem 1rem; border-left: 3px solid #0b5f58; }
.ask-lab { margin: 0 0 0.3rem; font: 600 0.75rem/1.3 var(--sans); color: #0b5f58; }
.ask-text { margin: 0; font: 400 1.15rem/1.5 var(--serif); color: var(--ink); max-width: 44rem; }
.ask-cite { font: 600 0.7rem/1 var(--sans); margin-left: 0.1em; }
.ask-cite a { color: var(--blue); text-decoration: none; background: none; padding: 0 0.1em; }
.ask-cite a:hover { text-decoration: underline; }
.ask-h { margin: 1.1rem 0 0.4rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--ink); }
.ask-src { list-style: none; margin: 0.3rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.ask-src li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.05rem 0.6rem; margin: 0; font: 400 var(--t-sm)/1.35 var(--sans); }
.ask-src li:not(:has(.ask-n)) { grid-template-columns: minmax(0, 1fr); }
.ask-n { grid-row: 1 / span 2; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--tint); color: var(--blue); font: 700 0.72rem/1 var(--sans); }
.ask-src a { color: var(--ink); text-decoration: underline; text-decoration-color: #c2cad6; text-underline-offset: 2px; background: none; }
.ask-o { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.ask-more { margin-top: 0.8rem; font: 400 var(--t-xs)/1.4 var(--sans); }
.ask-more summary { cursor: pointer; width: max-content; font-weight: 600; color: var(--blue); }
.req-msg { margin: 0 0 0.6rem; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--ink); }
.ask-hint, .ask-scope { margin: 0.8rem 0 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
.ask-wait { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); }
.ask-wait::after { content: ""; display: inline-block; width: 1.4em; text-align: left; animation: ask-dots 1.2s steps(4, end) infinite; }
@keyframes ask-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75%, 100% { content: "..."; } }
@media (prefers-reduced-motion: reduce) { .ask-wait::after { animation: none; content: "…"; } }
@media (max-width: 52rem) { .ask-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 30rem) { .ask-form { flex-direction: column; } .ask-form button { padding: 0.8rem 1rem; } }

/* ---------------------------------------------------------------- Hunchpin for teams (play/teams.html) */

/* one drill text to try: the game's own black and white, with the assistant in blue */
.drill-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem var(--gap); align-items: start; }
.drill-demo { border: 1px solid var(--ink); padding: clamp(1.1rem, 3vw, 1.75rem); background: var(--paper); }
.drill-kind { font: 600 var(--t-xs)/1.3 var(--sans); margin: 0 0 0.6rem; }
.drill-text { font: 400 clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem)/1.1 var(--serif); letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.drill-note { display: flex; gap: 0.6rem; align-items: center; margin: 1rem 0 0; font: 400 1.0625rem/1.4 var(--sans); color: var(--blue); }
.drill-note strong { color: var(--blue); }
.drill-fn { display: inline-block; min-width: 1.35em; padding: 0.14em 0.42em 0.12em; font: 700 0.75rem/1 var(--sans); text-align: center; background: var(--blue); color: #fff; border-radius: 2px; flex: none; }
.drill-checkrow { margin: 0.9rem 0 0; }
.drill-check { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.2em; }
.drill-check:disabled { color: var(--graphite); text-decoration: none; cursor: default; }
.drill-src { margin: 0.9rem 0 0; padding: 0.8rem 1rem; background: var(--fog); border-left: 3px solid var(--ink); }
.drill-src[hidden], .drill-out[hidden] { display: none; }
.drill-src p { margin: 0; font: 400 var(--t-sm)/1.5 var(--sans); max-width: none; }
.drill-src span { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.drill-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1.25rem; }
.drill-opts button { font: 600 1rem/1.25 var(--sans); padding: 0.95rem 1rem; text-align: left; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 2px; cursor: pointer; }
.drill-opts button.is-suggested { box-shadow: inset 4px 0 0 var(--blue); }
.drill-opts button:hover:not(:disabled), .drill-opts button:focus-visible { background: var(--ink); color: var(--paper); }
.drill-opts button:disabled { cursor: default; }
.drill-opts button.is-truth { background: var(--ink); color: var(--paper); }
.drill-opts button.is-wrong { text-decoration: line-through; color: var(--graphite); }
.drill-out { margin-top: 1rem; }
.drill-out p { margin: 0.3rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); }
.drill-out p:first-child { font-weight: 600; }
.drill-side h3 { font: 500 var(--t-h3)/1.2 var(--serif); margin: 0 0 0.9rem; }
.drill-parts { list-style: none; margin: 0; padding: 0; }
.drill-parts li { padding: 0.65rem 0; border-top: 1px solid var(--line); font: 400 var(--t-sm)/1.5 var(--sans); }
.drill-parts li:last-child { border-bottom: 1px solid var(--line); }
.drill-parts strong { font-weight: 600; }
.drill-side .muted { margin-top: 1rem; }

/* the terms of a pilot: short facts, not a sequence */
.pilot-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem var(--gap); }
.pilot-list li { margin: 0; border-top: 2px solid var(--ink); padding-top: 0.8rem; }
.pilot-list strong { display: block; font: 500 1.3125rem/1.2 var(--serif); margin-bottom: 0.35rem; }
.pilot-list span { display: block; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }

/* the request form: the services page's enquiry, sending to this website instead of opening an email */
#pilot .rq { margin-top: 0; }
.ws-note { margin-top: 1.25rem; max-width: var(--measure); }
.enq .rq-c { display: flex; gap: 0.6rem; align-items: flex-start; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--ink); }
.enq .rq-c input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; flex: none; accent-color: var(--blue); padding: 0; }
.rq-msg { font: 600 var(--t-sm)/1.4 var(--sans); color: var(--blue); flex: 1 1 16rem; }
.rq.is-done .enq-grid, .rq.is-done .btn { display: none; }
.rq-alt { margin-top: 1rem; }
.code-go { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.code-go label { flex: 1 0 100%; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.code-go input { flex: 1 1 10rem; min-width: 0; font: 600 1.125rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.6rem 0.75rem; border: 1px solid var(--ink); border-radius: 2px; }
.code-go input[aria-invalid="true"] { border-color: var(--blue); box-shadow: 0 0 0 2px var(--tint); }

/* a drill room's team report (play/team.html) */
.trp-note { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); max-width: var(--measure); }
.trp-drill { padding-top: 1.25rem; border-top: 2px solid var(--ink); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.trp-drill:first-child { border-top: 0; padding-top: 0; }
.trp-drill-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; }
.trp-drill-h h2 { font: 400 var(--t-h3)/1.2 var(--serif); margin: 0; }
.trp-meta { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); margin: 0; }
.trp-figs { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.trp-fig { margin: 0; display: flex; flex-direction: column; }
.trp-fig b { font: 400 clamp(2rem, 1.5rem + 1.6vw, 2.9rem)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.trp-fig-l { font: 400 var(--t-sm)/1.4 var(--sans); margin-top: 0.4rem; min-height: 2.8em; }
.trp-bar { display: block; height: 4px; background: var(--fog); margin-top: 0.6rem; border-radius: 2px; overflow: hidden; }
.trp-bar i { display: block; height: 100%; background: var(--ink); border-radius: 2px; }
.trp-fig.is-along .trp-bar i { background: var(--blue); }
.trp-fig-n, .trp-fig-d { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); margin-top: 0.45rem; }
.trp-fig-d { margin-top: 0.15rem; }
.trp-hard, .trp-desks { margin-top: 2rem; }
.trp-hard h3, .trp-desks h3 { font: 500 1.25rem/1.2 var(--serif); margin: 0 0 0.75rem; }
.trp-hard-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.trp-hard-list li { margin: 0; padding: 1rem 1.1rem; background: var(--fog); }
.trp-kind { font: 600 var(--t-xs)/1.3 var(--sans); margin: 0 0 0.4rem; }
.trp-text { font: 400 1.1875rem/1.25 var(--serif); margin: 0; }
.trp-why { font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); margin: 0.6rem 0 0; }
.trp-scroll { overflow-x: auto; }
.trp-table { width: 100%; border-collapse: collapse; font: 400 var(--t-sm)/1.4 var(--sans); font-variant-numeric: tabular-nums; }
.trp-table th, .trp-table td { text-align: left; padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.trp-table thead th { font-weight: 600; color: var(--graphite); border-bottom: 1px solid var(--ink); }
.trp-table tbody th { font-weight: 600; }
.trp-all { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.trp-all h2, .trp-read h2 { font: 400 var(--t-h3)/1.2 var(--serif); margin: 0 0 1rem; }
.trp-read p { font: 400 var(--t-sm)/1.55 var(--sans); color: var(--graphite); max-width: var(--measure); }

@media (max-width: 980px) {
  .trp-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trp-hard-list, .pilot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .drill-wrap { grid-template-columns: minmax(0, 1fr); }
  .trp-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trp-hard-list, .pilot-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) { .drill-opts { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- the robot at the top of a page
   The assistant from the research game flies in, offers an "improvement" to the page's title, is corrected, and stays
   beside the title. A press on it gives a trick and a joke. The title itself is never changed for good. */
.tb-host { position: relative; }
.tb { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 6; pointer-events: none; }
.tb-bot { position: absolute; left: 0; top: 0; width: clamp(2.9rem, 4.6vw, 3.9rem); padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto;
  transform: translate(-200px, -200px); will-change: transform; filter: drop-shadow(0 10px 12px rgba(15, 27, 45, 0.22)); opacity: 0; transition: opacity 0.35s; }
.tb.is-on .tb-bot { opacity: 1; }
.tb-in { display: block; }
.tb.is-idle .tb-in { animation: tb-bob 3.2s ease-in-out infinite; }
.tb-bot svg { display: block; width: 100%; height: auto; overflow: visible; }
.tb-bot .f-b { fill: #1d4f8f; } .tb-bot .f-w { fill: #fff; } .tb-bot .f-p { fill: #0d1b33; } .tb-bot .f-bulb { fill: #f2b441; }
.tb-bot .f-a, .tb-bot .f-m, .tb-bot .f-t { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tb-bot .f-a { stroke: #1d4f8f; stroke-width: 2.4; } .tb-bot .f-m { stroke: #fff; stroke-width: 2.2; } .tb-bot .f-t { stroke: #1baf7a; stroke-width: 2.4; }
.tb-flame { transform-origin: 32px 78px; transform: scaleY(0); transition: transform 0.25s; }
.tb-flame path { fill: #ff8a3c; animation: tb-flame 0.09s ease-in-out infinite alternate; transform-origin: 32px 78px; }
.tb.is-flying .tb-flame { transform: scaleY(1.25); }
.tb-armL, .tb-armR { transform-origin: 10px 44px; transition: transform 0.3s; } .tb-armR { transform-origin: 54px 44px; }
.tb.is-flying .tb-armL { transform: rotate(28deg); } .tb.is-flying .tb-armR { transform: rotate(-28deg); }
.tb.is-point .tb-armR { transform: rotate(-120deg); }
.tb-bot:focus { outline: none; } .tb-bot:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 14px; }
/* the tricks for a press */
.tb-bot.do-flip .tb-in { animation: tb-flip 0.9s cubic-bezier(0.3, 1.2, 0.5, 1) 1; }
.tb-bot.do-hop .tb-in { animation: tb-hop 0.8s ease-out 1; }
.tb-bot.do-spin .tb-in { animation: tb-spin 1s ease-in-out 1; }
.tb-bot.do-dance .tb-in { animation: tb-dance 1.3s ease-in-out 1; }
.tb-bot.do-shrug .tb-in { animation: tb-shrug 0.9s ease-in-out 1; }
/* the speech bubble: white, the site's ink, a corner that points at the robot */
.tb-say { position: absolute; left: 0; top: 0; width: max-content; max-width: min(19rem, 80vw); margin: 0; padding: 0.7rem 0.95rem 0.65rem; border-radius: 14px 14px 14px 4px;
  background: #fff; color: var(--ink); font: 400 1.05rem/1.32 var(--serif); box-shadow: 0 10px 28px rgba(15, 27, 45, 0.16), 0 0 0 1px rgba(15, 27, 45, 0.08);
  opacity: 0; transform: translateY(6px) scale(0.96); transform-origin: 0 100%; transition: opacity 0.3s, transform 0.3s; pointer-events: none; text-wrap: pretty; }
.tb-say.is-left { border-radius: 14px 14px 4px 14px; transform-origin: 100% 100%; }
.tb-say.is-in { opacity: 1; transform: none; pointer-events: auto; }
.tb-say b { font-weight: 600; color: var(--blue); }
/* the word the robot "improves": first in the assistant's blue, then struck through and set back in ink.
   Inline, so that a longer "improvement" can wrap; the strike and the blue line are backgrounds, which follow the line breaks. */
.tb-w { background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(rgba(29, 79, 143, 0.35), rgba(29, 79, 143, 0.35));
  background-repeat: no-repeat; background-position: 0 56%, 0 94%; background-size: 0% 0.075em, 0% 0.07em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: color 0.2s, background-size 0.35s ease-out; }
.tb-w.is-ai { color: var(--blue); background-size: 0% 0.075em, 100% 0.07em; }
.tb-w.is-strike { background-size: 100% 0.075em, 100% 0.07em; }
/* while the robot types, letters are hidden and shown in place, and the caret is a shadow that takes no room, so the title does not move */
.tb-c.is-off { opacity: 0; }
.tb-c.is-at { box-shadow: 0.06em 0 0 0 currentColor; animation: tb-caret 0.6s steps(1) infinite; }
.tb-w.is-at0 { box-shadow: inset 0.06em 0 0 0 currentColor; animation: tb-caret 0.6s steps(1) infinite; }
@keyframes tb-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
@keyframes tb-flame { from { transform: scaleY(0.8); } to { transform: scaleY(1.15); } }
@keyframes tb-flip { 0% { transform: none; } 50% { transform: translateY(-34px) rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes tb-hop { 0%, 100% { transform: none; } 35% { transform: translateY(-26px); } 60% { transform: translateY(0) scaleY(0.9); } }
@keyframes tb-spin { to { transform: rotate(720deg); } }
@keyframes tb-dance { 0%, 100% { transform: none; } 20% { transform: rotate(14deg) translateX(4px); } 40% { transform: rotate(-14deg) translateX(-4px); } 60% { transform: rotate(12deg) translateY(-6px); } 80% { transform: rotate(-10deg); } }
@keyframes tb-shrug { 0%, 100% { transform: none; } 30% { transform: rotate(-12deg); } 60% { transform: rotate(10deg); } }
@keyframes tb-caret { 50% { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .tb.is-idle .tb-in, .tb-bot[class*="do-"] .tb-in, .tb-flame path { animation: none !important; } .tb-say { transition: none; } }
@media print { .tb { display: none; } }

/* Current focus, "About eight days later": the chart answers the pick. The chosen group's line and labels stand out, the others step
   back; "No real difference" marks the three end points, which lie within three percentage points of each other. */
.fx-arc [data-arc], .fx-arc-none { transition: opacity 0.35s ease, stroke-width 0.35s ease; }
.fx-arc[data-pick="answer"] [data-arc]:not([data-arc="answer"]), .fx-arc[data-pick="evidence"] [data-arc]:not([data-arc="evidence"]),
.fx-arc[data-pick="source"] [data-arc]:not([data-arc="source"]) { opacity: 0.16; }
.fx-arc[data-pick="answer"] .fx-arc-s[data-arc="answer"] polyline, .fx-arc[data-pick="evidence"] .fx-arc-s[data-arc="evidence"] polyline,
.fx-arc[data-pick="source"] .fx-arc-s[data-arc="source"] polyline { stroke-width: 4.5; }
.fx-arc[data-pick="answer"] .fx-arc-s[data-arc="answer"] circle, .fx-arc[data-pick="evidence"] .fx-arc-s[data-arc="evidence"] circle:not(.fx-arc-open),
.fx-arc[data-pick="source"] .fx-arc-s[data-arc="source"] circle { stroke-width: 3; }
.fx-arc[data-pick="answer"] .fx-arc-k[data-arc="answer"] .fx-arc-l, .fx-arc[data-pick="evidence"] .fx-arc-k[data-arc="evidence"] .fx-arc-l,
.fx-arc[data-pick="source"] .fx-arc-k[data-arc="source"] .fx-arc-l { font-weight: 600; }
.fx-arc-none { opacity: 0; }
.fx-arc-none rect { fill: rgba(29, 79, 143, 0.1); stroke: #1d4f8f; stroke-width: 1.5; stroke-dasharray: 4 3; }
.fx-arc-none text { font: 600 12px var(--sans); fill: #1d4f8f; }
.fx-arc[data-pick="none"] .fx-arc-none { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fx-arc [data-arc], .fx-arc-none { transition: none; } }

/* AI on this site: the switch at the bottom left, its panel, the lines that stand in for parts a language model makes,
   and the small × that turns the robot at the titles off */
.ai-off [data-ai-part], .ai-off :is(p, span):has(> i.ft-ai) { display: none !important; }
.robot-off .tb { display: none !important; }
.ai-ghost { display: none; }
.ai-off [data-ai-part]:not([hidden]) + .ai-ghost { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; max-width: 46rem; margin: 1rem 0 1.5rem; padding: 0.75rem 1rem; border: 1px dashed rgba(15, 27, 45, 0.3); border-radius: 8px; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.ai-ghost span { flex: 1 1 16rem; }
.ai-ghost button { flex: none; padding: 0.5rem 0.8rem; border-radius: 999px; border: 1px solid rgba(15, 27, 45, 0.2); background: #fff; font: 600 var(--t-xs)/1 var(--sans); color: var(--ink); cursor: pointer; }
.ai-ghost button:hover { border-color: var(--ink); }
.ai-fab { position: fixed; z-index: 55; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.8rem 0.55rem 0.6rem; border-radius: 999px; border: 1px solid rgba(15, 27, 45, 0.12); background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(15, 27, 45, 0.16); font: 600 0.8rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.ai-mini, .ai-sw { position: relative; flex: none; display: inline-block; border-radius: 999px; background: #c5ccd6; transition: background-color 0.2s; }
.ai-mini { width: 1.75rem; height: 1rem; }
.ai-mini i, .ai-sw i { position: absolute; top: 2px; left: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.25); transition: transform 0.2s; }
.ai-mini i { width: calc(1rem - 4px); height: calc(1rem - 4px); }
.ai-fab[data-on="1"] .ai-mini { background: var(--blue); }
.ai-fab[data-on="1"] .ai-mini i { transform: translateX(0.75rem); }
.ai-pop { position: fixed; z-index: 61; left: 1rem; bottom: 4.1rem; width: min(22rem, calc(100vw - 2rem)); padding: 1rem 1.1rem 0.9rem; background: #fff; border: 1px solid rgba(15, 27, 45, 0.12); border-radius: 12px; box-shadow: 0 18px 44px rgba(15, 27, 45, 0.2); color: var(--ink); }
.ai-pop[hidden], .ai-tip[hidden] { display: none; }
.ai-pop-h { margin: 0 0 0.6rem; font: 600 var(--t-sm)/1.3 var(--sans); }
.ai-row { display: flex; align-items: flex-start; gap: 1rem; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.ai-row-x { flex: 1 1 auto; }
.ai-row-t { margin: 0; font: 600 var(--t-sm)/1.3 var(--sans); }
.ai-row-p { margin: 0.25rem 0 0; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
.ai-sw { width: 2.6rem; height: 1.5rem; margin-top: 0.1rem; padding: 0; border: 0; cursor: pointer; }
.ai-sw i { width: calc(1.5rem - 4px); height: calc(1.5rem - 4px); }
.ai-sw[aria-checked="true"] { background: var(--blue); }
.ai-sw[aria-checked="true"] i { transform: translateX(1.1rem); }
.ai-sw:disabled { opacity: 0.45; cursor: default; }
.ai-fab:focus-visible, .ai-sw:focus-visible, .ai-ghost button:focus-visible, .tb-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ai-pop-f { margin: 0.4rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--line); font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); }
.ai-tip { position: fixed; z-index: 61; left: 1rem; bottom: 4.1rem; max-width: min(18rem, calc(100vw - 2rem)); margin: 0; padding: 0.6rem 0.8rem; border-radius: 8px; background: var(--ink); color: #fff; font: 500 var(--t-xs)/1.4 var(--sans); box-shadow: 0 10px 30px rgba(15, 27, 45, 0.25); }
.ai-tip::after { content: ""; position: absolute; left: 1.3rem; bottom: -6px; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); }
.tb-x { position: absolute; left: 0; top: 0; z-index: 2; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; padding: 0; border-radius: 50%; border: 1px solid rgba(15, 27, 45, 0.16); background: #fff; color: var(--graphite); box-shadow: 0 2px 8px rgba(15, 27, 45, 0.14); cursor: pointer; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.tb-x svg { width: 0.7rem; height: 0.7rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.tb.is-idle .tb-x { pointer-events: auto; }
.tb.is-idle:hover .tb-x, .tb.is-idle:focus-within .tb-x { opacity: 1; }
@media (hover: none) { .tb.is-idle .tb-x { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ai-mini, .ai-sw, .ai-mini i, .ai-sw i, .tb-x { transition: none; } }
@media print { .ai-fab, .ai-pop, .ai-tip, .ai-ghost, .tb-x { display: none !important; } }

/* AI news, For editors: the editors' tools first, the public newsletter steps aside */
.for-editors #second-look { display: none; }
.ed-desk { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem); padding-bottom: clamp(1.25rem, 2.5vw, 2rem); border-bottom: 1px solid var(--line); }
.ed-desk > section { margin: 0; }
.ed-drill { margin: 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.ed-drill a { font-weight: 600; }

/* Not yet covered in Norway, without a list: the state first, in plain words */
.gap-none .gap-state { display: inline-block; margin-right: 0.35rem; color: var(--ink); font-weight: 600; }
.gap-none--run .gap-state::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.45em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: 0.02em; animation: gap-spin 0.9s linear infinite; }
.gap-dots i.is-minor { opacity: 0.25; }
@keyframes gap-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gap-none--run .gap-state::before { animation: none; } }

/* the team report on a screen in the room: the code and QR code to join, a live count, the figures on demand */
.trp-is-live .site-header, .trp-is-live .site-flag, .trp-is-live .site-footer, .trp-is-live .ai-fab, .trp-is-live .fx-fab, .trp-is-live .stats-ask, .trp-is-live .tb { display: none !important; }
.trp-is-live .page-head { padding-top: clamp(1.25rem, 3vw, 2.5rem); padding-bottom: 0; }
.trp-is-live .wrap { max-width: min(96vw, 112rem); }
.trp-is-live .page-head h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); }
.trp-live { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; margin-top: 1rem; }
.trp-live-join { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: start; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--tint); color: var(--ink); border-top: 3px solid var(--blue); }
.trp-live-join > * { grid-column: 1; margin: 0; }
.trp-live-join h2 { font: 400 clamp(1.5rem, 1rem + 1.6vw, 2.4rem)/1.1 var(--serif); }
.trp-live-go { font: 400 var(--t-lg)/1.4 var(--sans); color: var(--graphite); margin-top: 0.6rem !important; overflow-wrap: anywhere; }
.trp-live-code-l { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); margin-top: 1.5rem !important; }
.trp-live-code { font: 600 clamp(2.2rem, 0.8rem + 3.6vw, 5rem)/1 var(--sans); letter-spacing: 0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trp-qr { grid-column: 2 !important; grid-row: 1 / span 5; width: clamp(8rem, 13vw, 14rem); background: #fff; padding: 0.4rem; }
.trp-qr svg { display: block; width: 100%; height: auto; }
.trp-live-count { padding-top: 0.5rem; }
.trp-live-count > p { margin: 0 0 0.75rem; }
.trp-live-n { font: 400 clamp(4.5rem, 2rem + 9vw, 10rem)/0.9 var(--serif); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--blue); }
.trp-live-l { font: 500 var(--t-lg)/1.3 var(--sans); }
.trp-live-btn { margin-top: 0.5rem; }
.trp-live-figs { margin-top: clamp(2rem, 4vw, 3rem); }
.trp-live-figs .trp-fig b { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.5rem); }
.trp-live-bar { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 2.5rem; font: 400 var(--t-sm)/1.4 var(--sans); }
.trp-live-fs { font: inherit; color: var(--blue); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.trp-live-open { margin: 0 0 1.5rem; font: 600 var(--t-sm)/1.4 var(--sans); }
@media (max-width: 860px) { .trp-live { grid-template-columns: minmax(0, 1fr); } .trp-live-join { grid-template-columns: minmax(0, 1fr); } .trp-qr { grid-column: 1 !important; grid-row: auto; margin-top: 1.25rem !important; } }

/* the host page: teachers and editors run their drill rooms */
.host { max-width: 62rem; }
.host h2 { font: 400 var(--t-h3)/1.2 var(--serif); margin: 0 0 0.6rem; }
.host h3 { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0 0 0.75rem; }
.host-in, .host-new, .host-more { padding: clamp(1.25rem, 3vw, 2rem); background: var(--fog); border-top: 2px solid var(--ink); margin-bottom: 2rem; }
.host-in p { max-width: var(--measure); }
.host-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem 1rem; margin: 1rem 0; }
.host-row label { flex-basis: 100%; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.host input[type=email], .host input[type=text], .host input[type=number], .host select, .host textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 0.6rem 0.7rem; box-sizing: border-box; max-width: 100%; }
.host-row input[type=email] { flex: 1 1 18rem; }
.host input:focus, .host select:focus, .host textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.host-msg { min-height: 1.4em; margin: 0.5rem 0; font: 500 var(--t-sm)/1.45 var(--sans); color: var(--blue); }
.host-msg:empty { min-height: 0; margin: 0; }
.host-msg.is-bad { color: #8f1d14; }
.host-fine { font-size: var(--t-xs); margin-top: 1rem; }
.host-link { font: 500 var(--t-sm)/1.4 var(--sans); color: var(--blue); background: none; border: 0; padding: 0.35rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.host-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.host-top p { margin: 0; }
.host-empty { font: 400 var(--t-lg)/1.45 var(--serif); margin: 1.5rem 0; }
.host-rooms { display: grid; gap: 1rem; margin: 1.5rem 0 2.5rem; }
.host-room { border-top: 2px solid var(--ink); padding-top: 1rem; }
.host-room-h { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.75rem 1.5rem; align-items: center; }
.host-room-h h2 { margin: 0; }
.host-meta { margin: 0.3rem 0 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.host-code { display: flex; flex-direction: column; align-items: flex-end; }
.host-code span { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.host-code strong { font: 600 1.5rem/1.1 var(--sans); letter-spacing: 0.05em; font-variant-numeric: tabular-nums; }
.host-manage { display: grid; gap: 0; margin-top: 1rem; }
.host-part { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.host-part > p { max-width: 44rem; }
.host-big { font: 600 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--sans); letter-spacing: 0.06em; margin: 0 0 0.75rem; font-variant-numeric: tabular-nums; }
.host-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; margin: 0.75rem 0 0; }
.host-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.5rem; margin: 0.75rem 0 1rem; }
.host-grid label { display: grid; gap: 0.35rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.host-wide { grid-column: 1 / -1; }
.host-packs, .host-kinds { border: 0; padding: 0; margin: 0.5rem 0 1rem; }
.host-packs legend, .host-kinds legend { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); padding: 0; margin-bottom: 0.5rem; }
.host-pack { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem; align-items: start; padding: 0.55rem 0; border-top: 1px solid var(--line); font: 400 var(--t-sm)/1.45 var(--sans); }
.host-pack input, .host-kinds input, .host-danger input, .host-leave input { width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; accent-color: var(--blue); }
.host-pack em { font-style: normal; color: var(--graphite); }
.host-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.35rem 1rem; }
.host-kinds legend { grid-column: 1 / -1; }
.host-kinds label { font: 400 var(--t-sm)/1.4 var(--sans); }
.host-more-set summary, .host-own summary, .host-leave summary { cursor: pointer; font: 500 var(--t-sm)/1.4 var(--sans); color: var(--blue); }
.host-danger label { font: 400 var(--t-sm)/1.4 var(--sans); }
.host-leave { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .host-grid, .host-kinds { grid-template-columns: minmax(0, 1fr); } .host-room-h { grid-template-columns: minmax(0, 1fr) auto; } .host-room-h .btn { grid-column: 1 / -1; justify-self: start; } }

/* plans for newsrooms and schools: by how many players a drill counts */
.plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 0.5rem; }
.plan { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.85rem; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.is-free { background: var(--tint); }
.plan h3 { font: 400 var(--t-h3)/1.15 var(--serif); margin: 0; }
.plan-for { font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); margin: 0; min-height: 2.9em; }
.plan-n { margin: 0.25rem 0 0; font: 400 clamp(2.6rem, 1.8rem + 2vw, 3.6rem)/1 var(--serif); letter-spacing: -0.02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.plan-n small { display: block; font: 500 var(--t-xs)/1.3 var(--sans); color: var(--graphite); letter-spacing: 0; margin-top: 0.4rem; }
.plan ul { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; font: 400 var(--t-sm)/1.45 var(--sans); }
.plan li { padding-left: 1.45rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0.1rem; top: 0.42em; width: 0.7rem; height: 0.36rem; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plan-price { margin: auto 0 0; padding-top: 0.75rem; font: 600 var(--t-base)/1.3 var(--sans); }
.plan .btn, .plan .plan-ask { align-self: flex-start; }
.plans-note { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); margin: 1.25rem 0 0; max-width: 46rem; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } .plan-for { min-height: 0; } }

/* the ready-made drills, as a list of subjects */
.packs4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0 1.5rem; }
.packs4 li { border-top: 2px solid var(--ink); padding: 1rem 0 1.25rem; display: flex; flex-direction: column; }
.packs4 li:nth-child(2) { border-top-color: var(--blue); } .packs4 li:nth-child(3) { border-top-color: #0d7c8c; } .packs4 li:nth-child(4) { border-top-color: #d9773a; }
.packs4 h3, .packs4 h4 { font: 500 var(--t-h3)/1.2 var(--serif); margin: 0 0 0.5rem; }
.packs4-group { font: 600 var(--t-base)/1.3 var(--sans); color: var(--ink); margin: 0 0 0.5rem; }
.packs4 + .packs4-group { margin-top: 1.25rem; }
.packs4 p { font: 400 var(--t-sm)/1.5 var(--sans); margin: 0; color: var(--graphite); }
.packs4 .packs4-n { margin-top: auto; padding-top: 0.75rem; font-weight: 600; color: var(--ink); }   /* the counts line up across a row */
@media (max-width: 900px) { .packs4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .packs4 { grid-template-columns: minmax(0, 1fr); } }
.drill-wrap--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .drill-wrap--two { grid-template-columns: minmax(0, 1fr); } }
.book-tie { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.5rem; background: var(--fog); }
.book-tie img { width: 7rem; height: auto; display: block; box-shadow: 0 8px 20px rgba(15, 27, 45, 0.18); }
.book-tie p { margin: 0 0 0.5rem; max-width: var(--measure); }
@media (max-width: 560px) { .book-tie { grid-template-columns: 5rem minmax(0, 1fr); } .book-tie img { width: 5rem; } }

/* the explainer video, with its chapters beside it */
.vid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(14rem, 1fr); gap: 1.5rem 2rem; align-items: start; }
.vid video { width: 100%; height: auto; display: block; background: var(--fog); border: 1px solid var(--line); }
.vid-ch { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.vid-ch li { border-bottom: 1px solid var(--line); }
.vid-ch button { width: 100%; text-align: left; font: 400 var(--t-sm)/1.35 var(--sans); color: var(--ink); background: none; border: 0; padding: 0.6rem 0.25rem; cursor: pointer; display: flex; gap: 0.9rem; }
.vid-ch button span { color: var(--graphite); font-variant-numeric: tabular-nums; min-width: 2.6em; }
.vid-ch button:hover, .vid-ch button:focus-visible { color: var(--blue); }
.vid-ch button[aria-current="true"] { font-weight: 600; color: var(--blue); }
.vid-made { margin-top: 0.9rem; font-size: var(--t-xs); max-width: 46rem; }
@media (max-width: 860px) { .vid { grid-template-columns: minmax(0, 1fr); } }
.host-grid label { min-width: 0; }
.host-grid select, .host-grid input, .host-grid textarea { width: 100%; min-width: 0; }

/* ---- Hunchpin, the product: its logo (the robot, "hunchpin", an orange dot, TM) and its own bar on every game page ---- */
.nt-mark { display: inline-block; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.58rem; background: #1d4f8f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='translate(7 13) scale(0.88)'%3E%3Cpath d='M60 22V12' stroke='%23fff' stroke-width='6' stroke-linecap='round'/%3E%3Ccircle cx='60' cy='10' r='6' fill='%23f0a06a'/%3E%3Crect x='20' y='24' width='80' height='66' rx='20' fill='%23fff'/%3E%3Ccircle cx='45' cy='54' r='12' fill='%23d6e2f2'/%3E%3Ccircle cx='75' cy='54' r='12' fill='%23d6e2f2'/%3E%3Ccircle cx='50' cy='50' r='6' fill='%230f1b2d'/%3E%3Ccircle cx='80' cy='50' r='6' fill='%230f1b2d'/%3E%3Cpath d='M45 73q15 11 30 0' fill='none' stroke='%231d4f8f' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M99 28c0 0-8 10-8 15a8 8 0 0 0 16 0c0-5-8-15-8-15z' fill='%23f0a06a'/%3E%3C/g%3E%3C/svg%3E") center / 100% no-repeat; }
.nt-word { font: 800 1.75rem/1 var(--sans); letter-spacing: -0.035em; color: var(--ink); white-space: nowrap; }
.nt-dot { color: #c2612a; }
.nt-tm { font: 600 max(0.34em, 0.5rem)/0 var(--sans); letter-spacing: 0; color: var(--graphite); vertical-align: 1.45em; margin-left: 0.14em; }
.nt-lock { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
.nt-lock:hover .nt-word { color: var(--ink); }
/* Hunchpin's own bar: a full-width band of light blue under the site's menu (the background reaches the window's edges while the
   content keeps the page's width), with a hairline under it, so that it reads as the product's own header */
.nt-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 2rem; padding: 0.9rem 0; margin: 0;
  background: var(--tint); box-shadow: 0 0 0 100vmax var(--tint), 0 1px 0 100vmax var(--line); clip-path: inset(0 -100vmax -1px); }
.nt-links { display: flex; flex-wrap: wrap; gap: 0.2rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.nt-links li { margin: 0; }
.nt-links a { display: inline-block; padding: 0.35rem 0 0.3rem; font: 500 var(--t-base)/1.2 var(--sans); color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.nt-links a:hover { border-bottom-color: var(--graphite); }
.nt-links a[aria-current="page"] { font-weight: 600; border-bottom: 3px solid var(--blue); padding-bottom: 0.25rem; }
/* inline-block, not flex: a flex item drops the space before “to your rooms” (it read “Sign into your rooms”) */
.nt-go { margin-left: auto; display: inline-block; padding: 0.65rem 1.15rem; border: 1px solid var(--blue); border-radius: 2px; background: var(--blue); font: 600 var(--t-sm)/1 var(--sans); color: #fff; text-decoration: none; white-space: nowrap; }
.nt-go:hover { background: #163f73; border-color: #163f73; }
.nt-go:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.nt-go[aria-current="page"] { background: var(--ink); color: var(--paper); }
@media (max-width: 46rem) {
  .nt-bar { gap: 0.55rem 1rem; padding-top: 0.75rem; }
  .nt-bar { padding: 0.75rem 0 0.4rem; gap: 0.55rem 1rem; }
  /* the five links share the phone's width (they still scroll sideways on the narrowest phones) */
  .nt-links { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 0.6rem; justify-content: space-between; scrollbar-width: none; }
  .nt-links::-webkit-scrollbar { display: none; }
  .nt-links a { font-size: 0.875rem; }
  .nt-word { font-size: 1.45rem; }
  .nt-mark { width: 2.1rem; height: 2.1rem; border-radius: 0.5rem; }
  .nt-go { padding: 0.55rem 0.95rem; }
  .nt-go-x { display: none; }
}
/* the game page: what Hunchpin offers, under the game */
.nt-more { border-top: 1px solid var(--line); }
.nt-offers { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.25rem; }
.nt-offers li { margin: 0; padding: 1.1rem 0 0; border-top: 3px solid var(--ink); display: flex; flex-direction: column; gap: 0.55rem; }
.nt-offers li:nth-child(2) { border-top-color: var(--blue); }
.nt-offers li:nth-child(3) { border-top-color: #c2612a; }
.nt-offers h3 { margin: 0; font: 400 var(--t-lg, 1.5rem)/1.15 var(--serif); }
.nt-offers p { margin: 0; color: var(--graphite); }
.nt-offers .nt-for { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--ink); }
.nt-offers a { margin-top: auto; padding-top: 0.4rem; font-weight: 600; }
.nt-strip { margin: 2.25rem 0 0; padding: 1.2rem 1.35rem; background: var(--fog); display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; }
.nt-strip p { margin: 0; flex: 1 1 22rem; }
.nt-strip .muted-link { font: 500 var(--t-sm)/1.2 var(--sans); }
@media (max-width: 52rem) { .nt-offers { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; } }
/* the plans page */
.nt-group { margin-top: 0.5rem; }
.nt-incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 2.5rem; }
.nt-incl li { margin: 0; padding-left: 1.6rem; position: relative; }
.nt-incl li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 46rem) { .nt-incl { grid-template-columns: minmax(0, 1fr); } }
.nt-provider { margin-top: 1rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }

/* ---- AI news: three reading levels. Young readers get the Hunchpin robot, which explains the AI words in the headlines from a
   glossary written in advance; journalists get the desk tools and the charts first ---- */
.ed-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 1.5rem; }
.page-head .ed-row .ed-switch { margin-top: 0; }
.lvl-young .news.dash, .lvl-young #second-look, .lvl-young .news-more { display: none !important; }
.yng { max-width: 52rem; }
.yng-hello { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; margin: 0 0 1.75rem; }
.yng-bot svg { display: block; width: 100%; height: auto; }
.yng-bubble { position: relative; background: var(--tint); border-radius: 1rem; padding: 1.1rem 1.35rem 1.2rem; }
.yng-bubble::before { content: ""; position: absolute; left: -0.65rem; top: 1.7rem; border: 0.65rem solid transparent; border-left: 0; border-right-color: var(--tint); }
.yng-bubble h2 { margin: 0 0 0.45rem; font: 400 var(--t-h3)/1.15 var(--serif); }
.yng-bubble p { margin: 0; font-size: var(--t-base); }
.yng-list { list-style: none; margin: 0; padding: 0; }
.yng-card { margin: 0; padding: 1.3rem 0 1.4rem; border-top: 1px solid var(--line); }
.yng-src { margin: 0 0 0.35rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.yng-src b { font-weight: 600; color: var(--ink); }
.yng-h { margin: 0; font: 400 clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem)/1.22 var(--serif); }
.yng-h a { color: var(--ink); text-decoration: none; }
.yng-h a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.yng-qs { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-top: 0.85rem; }
.yng-q summary { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.95rem 0.5rem 0.55rem; border: 1.5px solid var(--blue); border-radius: 999px; list-style: none; cursor: pointer; font: 600 var(--t-sm)/1.25 var(--sans); color: var(--blue); }
.yng-q summary::-webkit-details-marker { display: none; }
.yng-q summary::before { content: "?"; display: inline-grid; place-items: center; flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.8rem; }
.yng-q summary:hover { background: var(--tint); }
.yng-q[open] summary { background: var(--blue); color: #fff; }
.yng-q[open] summary::before { content: "!"; background: #fff; color: var(--blue); }
.yng-q summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.yng-q p { margin: 0.65rem 0 0.25rem 0.7rem; padding: 0.1rem 0 0.1rem 1rem; border-left: 3px solid #f0a06a; font-size: var(--t-base); max-width: 44rem; }
.yng-ask { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.yng-ask h3 { margin: 0 0 0.5rem; font: 400 var(--t-h3)/1.2 var(--serif); }
.yng-try { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; margin-top: 2rem; padding: 1.2rem 1.35rem; background: var(--fog); }
.yng-try p { margin: 0; flex: 1 1 20rem; }
.yng-note { margin-top: 1.25rem; font-size: var(--t-xs); max-width: 44rem; }
.yng-none { padding: 1.25rem 0; border-top: 1px solid var(--line); }
@media (max-width: 40rem) { .yng-hello { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.9rem; } .yng-bubble::before { top: 1.25rem; } }
@media (prefers-reduced-motion: no-preference) { .yng-q[open] p { animation: yng-in 0.25s ease-out; } }
@keyframes yng-in { from { opacity: 0; transform: translateY(-0.25rem); } to { opacity: 1; transform: none; } }
/* in a drill room the players see the game and its logo, not plans, prices or the hosts' sign-in (no advertising to pupils) */
.nt-in-room .nt-links, .nt-in-room .nt-go { display: none; }

/* ---- How to play: the steps beside one headline to try (the game's invented practice headlines, no clock, nothing saved) ---- */
.ht-alt { margin-left: 0.9rem; font: 600 var(--t-sm)/1.2 var(--sans); color: var(--blue); }
.ht-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.75rem; align-items: start; }
.ht-steps { list-style: none; margin: 0; padding: 0; counter-reset: ht; display: grid; gap: 0.3rem; }
.ht-steps > li { counter-increment: ht; position: relative; margin: 0; padding: 0.8rem 1rem 0.85rem 3.5rem; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; transition: background-color 0.25s ease, border-color 0.25s ease; }
.ht-steps > li::before { content: counter(ht); position: absolute; left: 0.95rem; top: 0.8rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font: 600 0.85rem/1.65rem var(--sans); text-align: center; }
.ht-steps strong { display: block; margin-bottom: 0.2rem; font: 500 1.25rem/1.25 var(--serif); }
.ht-steps span { display: block; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.ht-steps > li.is-now { background: var(--tint); border-left-color: var(--blue); }
.ht-steps > li.is-now::before { background: var(--blue); border-color: var(--blue); color: #fff; }
.ht-steps > li.is-done::before { content: "✓"; background: var(--ink); border-color: var(--ink); color: #fff; }
.ht-card { position: sticky; top: calc(var(--header-h) + 1rem); padding: 1.3rem 1.5rem 1.5rem; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); }
.ht-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1rem; margin: 0 0 1.1rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--blue); }
.ht-of { font-weight: 500; color: var(--graphite); }
.ht-label { margin: 0 0 0.35rem; font: 400 var(--t-sm)/1.3 var(--sans); color: var(--graphite); }
.ht-blank { display: inline-block; width: 7.5rem; border-bottom: 1.5px solid var(--ink); vertical-align: -0.1em; }
.ht-h { margin: 0 0 1rem; font: 400 clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem)/1.22 var(--serif); outline: none; }
.ht-bot { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 0.75rem; }
.ht-bot svg { flex: none; width: 3.1rem; height: 3.1rem; }
.ht-bot p { margin: 0; font: 400 var(--t-base)/1.35 var(--sans); color: var(--blue); }
.ht-check { display: inline-block; margin: 0 0 1rem; text-align: left; padding: 0; border: 0; background: none; cursor: pointer; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.ht-check span { margin-left: 0.35rem; font-weight: 500; color: #9b2c1f; white-space: nowrap; }
.ht-check:focus-visible, .ht-opts button:focus-visible, .ht-again:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ht-src { margin: 0 0 1rem; padding: 0.7rem 1rem 0.8rem; border-left: 3px solid var(--ink); background: var(--fog); font: 400 var(--t-sm)/1.5 var(--sans); }
.ht-src p { margin: 0; } .ht-src .ht-src-h { margin-bottom: 0.2rem; font-weight: 600; }
.ht-opts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ht-opts li { margin: 0; border-bottom: 1px solid var(--line); }
.ht-opts button { display: flex; align-items: center; gap: 0.85rem; width: 100%; padding: 0.7rem 0.3rem; border: 0; background: none; cursor: pointer; text-align: left; font: 600 var(--t-base)/1.2 var(--sans); color: var(--ink); }
.ht-opts button:hover:not(:disabled) { background: var(--fog); }
.ht-opts .k { display: inline-grid; place-items: center; flex: none; width: 1.45rem; height: 1.45rem; border: 1px solid var(--line); border-radius: 3px; font: 500 0.75rem/1 var(--sans); color: var(--graphite); }
.ht-opts button:disabled { cursor: default; color: var(--graphite); }
.ht-opts button.is-right { background: #e7f4ec; color: #0b5c33; } .ht-opts button.is-right .k { border-color: #0b5c33; color: #0b5c33; }
.ht-opts button.is-wrong { background: #fbe9e7; color: #9b2c1f; } .ht-opts button.is-wrong .k { border-color: #9b2c1f; color: #9b2c1f; }
.ht-res { margin-top: 1rem; }
.ht-res:empty { display: none; }
.ht-res p { margin: 0 0 0.45rem; font: 400 var(--t-sm)/1.5 var(--sans); }
.ht-res .ht-verdict { margin-bottom: 0.3rem; font: 500 1.3rem/1.25 var(--serif); }
.ht-verdict.is-ok { color: #0b5c33; } .ht-verdict.is-no { color: #9b2c1f; }
.ht-res .ht-pts { color: var(--graphite); }
.ht-res .ht-sum { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--line); font-weight: 600; }
.ht-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.4rem; margin-top: 0.9rem !important; }
.ht-again { margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; font: 500 var(--t-sm)/1.2 var(--sans); color: var(--graphite); text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 56rem) {
  .ht-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .ht-card { position: static; order: -1; padding: 1.1rem 1.1rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .ht-steps > li { transition: none; } }
/* twelve headlines in two parts */
.ht-twelve { margin: 0 0 1.75rem; max-width: 46rem; }
.ht-twelve ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.4rem; }
.ht-twelve li { margin: 0; aspect-ratio: 1; display: grid; place-items: center; border-radius: 6px; font: 600 var(--t-xs)/1 var(--sans); }
.ht-twelve li.w { background: var(--blue); color: #fff; }
.ht-twelve li.o { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.ht-twelve p { display: grid; grid-template-columns: 8fr 4fr; gap: 0.4rem; margin: 0.5rem 0 0; font: 600 var(--t-xs)/1.3 var(--sans); }
.ht-twelve p span { padding-top: 0.35rem; border-top: 2px solid var(--blue); color: var(--blue); }
.ht-twelve p span.o { border-top-color: var(--ink); color: var(--ink); }
/* questions: a plain list that opens */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq-q { border-bottom: 1px solid var(--line); }
.faq-q summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0.25rem; cursor: pointer; list-style: none; font: 500 var(--t-h3, 1.35rem)/1.3 var(--serif); }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: "+"; flex: none; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 400 1.1rem/1 var(--sans); color: var(--blue); }
.faq-q[open] summary::after { content: "−"; background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-q summary:hover { color: var(--blue); }
.faq-q summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.faq-q p { margin: -0.2rem 0 1.1rem; max-width: 44rem; font: 400 var(--t-base)/1.55 var(--sans); color: var(--ink); }
.ht-card [hidden] { display: none !important; }
.host-stage { margin: 0.5rem 0 0; }
.host-stage > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 0.4rem 1rem; flex-wrap: wrap; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; list-style: none; font: 600 var(--t-sm)/1.3 var(--sans); }
.host-stage > summary::-webkit-details-marker { display: none; }
.host-stage > summary:hover { border-color: var(--ink); }
.host-stage > summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.host-stage-n { font-weight: 400; color: var(--graphite); }
.host-stage-n::after { content: '  +'; color: var(--blue); font-weight: 600; white-space: pre; }
.host-stage[open] > .host-stage-n::after, .host-stage[open] > summary .host-stage-n::after { content: '  −'; }
.host-stage .host-pack { padding-left: 0.9rem; padding-right: 0.9rem; }

/* ---- the ready-made drills by subject and school stage (schools page; counted from the packs at build time) ---- */
.dl-wrap { overflow-x: auto; margin: 0.5rem 0 1.25rem; }
.dl { width: 100%; min-width: 34rem; border-collapse: collapse; font: 400 var(--t-sm)/1.35 var(--sans); }
.dl caption { caption-side: bottom; padding-top: 0.6rem; text-align: left; font-size: var(--t-xs); color: var(--graphite); }
.dl thead th { padding: 0 0.75rem 0.6rem; text-align: left; vertical-align: bottom; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); border-bottom: 2px solid var(--ink); }
.dl thead td { border-bottom: 2px solid var(--ink); }
.dl tbody th { padding: 0.7rem 0.75rem 0.7rem 0; text-align: left; font: 500 1.1rem/1.25 var(--serif); white-space: nowrap; }
.dl td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); color: var(--graphite); white-space: nowrap; }
.dl tbody th { border-bottom: 1px solid var(--line); }
.dl td b { font-weight: 600; color: var(--ink); }
.dl td.dl-soon { color: var(--graphite); font-style: italic; }
.dl .dl-narrow { display: none; }
.dl thead th .dl-wide > span { display: block; font: 600 var(--t-sm)/1.25 var(--sans); color: var(--ink); }
@media (max-width: 40rem) {
  .dl { min-width: 0; font-size: var(--t-xs); }
  .dl .dl-wide { display: none; }
  .dl .dl-narrow { display: block; font: 600 var(--t-xs)/1.25 var(--sans); color: var(--ink); white-space: normal; }
  .dl thead th { padding: 0 0.4rem 0.5rem; }
  .dl tbody th { padding: 0.6rem 0.4rem 0.6rem 0; font-size: 0.95rem; white-space: normal; }
  .dl td { padding: 0.6rem 0.4rem; }
}

/* ---- Press & Opinion: each argument has its own colour, so the drawn pictures read as one family per argument
   (the same four colours as the news cards: blue, warm, green, stone; health in a warm yellow) ---- */
article.row[data-g] .art-tile:not(.has-img) { background: var(--art-bg, var(--fog));
  background-image: radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 58%); }
article.row[data-g="AI and judgement"] { --art-bg: #e8eff8; --art-accent: #1d4f8f; }
article.row[data-g="Universities and research"] { --art-bg: #fbeadf; --art-accent: #a4471c; }
article.row[data-g="Journalism and media"] { --art-bg: #e3f2ef; --art-accent: #0b6a62; }
article.row[data-g="Health"] { --art-bg: #fbf1d6; --art-accent: #8a5a00; }
article.row[data-g="Coverage by others"] { --art-bg: #efeee9; --art-accent: #4f5b6b; }
article.row[data-g] .art-tile .tile-name { font-size: 1.125rem; }
article.row[data-g] .art-tile:not(.has-img) svg { transition: transform 0.5s ease; }
article.row[data-g]:hover .art-tile:not(.has-img) svg { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { article.row[data-g] .art-tile:not(.has-img) svg { transition: none; } }

/* ---- Hunchpin's opening on the game page: the question, and the three ways to use the drill, each with an answer to try.
   It shows with the start screen only; a round, a room or a direct link hides it (html.nt-away, set by the game) ---- */
.nth { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4.25rem); }
html.nt-away .nth { display: none; }
.nth-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.nth h1 { font: 400 var(--t-hero)/1.02 var(--serif); letter-spacing: -0.025em; margin: 0; max-width: 15ch; text-wrap: balance; }
.nth-lede { font: 400 var(--t-lg)/1.45 var(--serif); color: var(--graphite); margin: 1.1rem 0 0; max-width: 40rem; }
.nth-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.25rem); align-items: start; }
.nth-way { --acc: var(--blue); display: flex; flex-direction: column; min-width: 0; padding-top: 1rem; border-top: 3px solid var(--acc); }
.nth-way--class { --acc: #0b6a62; }
.nth-way--news { --acc: #a4471c; }
.nth-for { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--acc); margin: 0; }
.nth-way h2 { font: 400 clamp(1.45rem, 1.2rem + 0.8vw, 1.9rem)/1.12 var(--serif); letter-spacing: -0.015em; margin: 0.3rem 0 1rem; }
.drill-demo.is-mini { border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1.1rem 1.1rem; background: var(--paper);
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 14px 30px -18px rgba(15, 27, 45, 0.35); }
.drill-demo.is-mini .drill-kind { color: var(--graphite); margin-bottom: 0.45rem; }
.drill-demo.is-mini .drill-text { font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem); line-height: 1.2; }
.drill-demo.is-mini .drill-note { font-size: var(--t-sm); margin-top: 0.7rem; }
.drill-demo.is-mini .drill-checkrow { margin: 0.5rem 0 0; }
.drill-demo.is-mini .drill-check { font-size: var(--t-xs); }
.drill-demo.is-mini .drill-src { margin-top: 0.6rem; padding: 0.6rem 0.8rem; }
.drill-demo.is-mini .drill-src p, .drill-demo.is-mini .drill-out p { font-size: var(--t-xs); }
.drill-demo.is-mini .drill-opts { margin-top: 0.8rem; gap: 0.45rem; }
.drill-demo.is-mini .drill-opts button { font-size: var(--t-sm); padding: 0.62rem 0.75rem; }
.drill-demo.is-mini .drill-out { margin-top: 0.75rem; }
.nth-facts { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); margin: 1rem 0 0; }
.nth-go { margin: 0.9rem 0 0; }
/* the three panels share their rows, so the cards, the lines under them and the buttons line up */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 64.0625rem) {
    .nth-ways { grid-template-rows: repeat(5, auto); row-gap: 0; }
    .nth-way { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .nth-way .drill-demo { align-self: stretch; }
  }
}
/* on a phone or a tablet, where the panels stack, the three ways are also one tap away under the opening */
.nth-quick { display: none; }
@media (max-width: 64rem) { .nth-quick { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; } }
/* under the opening, the start screen's heading is the page's second level, and a size smaller */
.nth ~ #dc h2.dc-title { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem); }
@media (max-width: 64rem) {
  .nth-ways { grid-template-columns: minmax(0, 1fr); max-width: 38rem; row-gap: 2.5rem; }
}
@media (max-width: 420px) { .drill-demo.is-mini .drill-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- Book: a launch page (November 2026)
   The cover's own drawing (a thin circle, one orange arc) behind a book that stands in the room, the outlets the argument has
   appeared in, the book's numbers, and its author. Light throughout, like the rest of the site. */
.bk-hero { --bk-navy: #12203a; --bk-orange: #e2702d; position: relative; isolation: isolate; padding: clamp(2.25rem, 6vw, 5.25rem) 0 clamp(2.5rem, 5vw, 4.25rem); }
.bk-hero::before { content: ""; position: absolute; z-index: -2; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(48rem 30rem at 76% 42%, rgba(127, 178, 240, 0.22), transparent 70%), radial-gradient(36rem 22rem at 4% 100%, rgba(226, 112, 45, 0.10), transparent 70%), linear-gradient(180deg, #f4f6fb 0%, #fbfaf6 70%, #fff 100%); }
.bk-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.bk-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 1.1rem; font: 500 var(--t-sm)/1.3 var(--sans); color: var(--graphite); }
.bk-chip { font-weight: 600; color: var(--bk-navy); background: #fff; border: 1px solid rgba(18, 32, 58, 0.18); border-radius: 999px; padding: 0.3rem 0.75rem; }
.bk-hero h1 { font: 400 clamp(3rem, 1.6rem + 4.4vw, 5.6rem)/0.96 var(--serif); letter-spacing: -0.035em; margin: 0; max-width: 9.5em; color: var(--bk-navy); text-wrap: balance; }
.bk-hero .bk-sub { font: italic 400 clamp(1.3rem, 1rem + 1.1vw, 1.9rem)/1.25 var(--serif); color: var(--ink); margin: 1.1rem 0 0; max-width: 24em; }
.bk-lede { font: 400 var(--t-lg)/1.45 var(--serif); color: var(--graphite); margin: 1.2rem 0 0; max-width: 29em; }
.bk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; margin: 2rem 0 0; }
.bk-btn { font-size: 1.0625rem; padding: 0.95rem 1.5rem; background: var(--bk-navy); border-color: var(--bk-navy); box-shadow: 0 10px 24px -12px rgba(18, 32, 58, 0.7); }
.bk-btn:hover, .bk-btn:focus-visible { background: var(--bk-orange); border-color: var(--bk-orange); color: #fff; }
.bk-watch { display: inline-flex; align-items: center; gap: 0.65rem; font: 600 1rem/1.2 var(--sans); color: var(--ink); text-decoration: none; background-image: none; }
.bk-watch-i { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid rgba(18, 32, 58, 0.2); box-shadow: 0 6px 16px -8px rgba(18, 32, 58, 0.5); transition: transform 0.2s, background-color 0.2s; }
.bk-watch-i::before { content: ""; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--bk-orange); }
.bk-watch:hover .bk-watch-i, .bk-watch:focus-visible .bk-watch-i { transform: scale(1.08); background: var(--bk-orange); }
.bk-watch:hover .bk-watch-i::before, .bk-watch:focus-visible .bk-watch-i::before { border-left-color: #fff; }
.bk-hero .bk-ms { margin: 1.4rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.bk-hero .bk-ms a { font-weight: 600; }
/* where the argument has appeared: the outlets, set in type */
.bk-as { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 2rem; padding: 1.4rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.bk-as p { margin: 0; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); flex: 0 0 auto; }
.bk-as-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem; }
.bk-as-list li { margin: 0; }
.bk-as-list a { font: 500 clamp(1.15rem, 1rem + 0.6vw, 1.5rem)/1.2 var(--serif); color: #3d4a5c; text-decoration: none; background-image: none; letter-spacing: -0.01em; transition: color 0.15s; }
.bk-as-list a:hover, .bk-as-list a:focus-visible { color: var(--ink); }
.bk-as-list small { font: 400 var(--t-xs)/1 var(--sans); color: var(--graphite); margin-left: 0.25rem; }
/* the book's numbers */
.bk-nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.bk-nums li { margin: 0; padding: 1.4rem 1.35rem 1.5rem; background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 10px 28px -12px rgba(15, 27, 45, 0.18); }
.bk-nums b { display: block; font: 400 clamp(3.2rem, 2rem + 3vw, 4.5rem)/0.9 var(--serif); color: #e2702d; letter-spacing: -0.03em; }
.bk-nums h3 { font: 600 1.15rem/1.25 var(--sans); margin: 0.6rem 0 0.5rem; color: var(--ink); }
.bk-nums p { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); margin: 0; }
/* the author */
.bk-author-in { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.25rem, 3vw, 2.25rem); background: linear-gradient(160deg, #f5f8fd 0%, #fbfcfe 55%, #f8f4ea 100%); border: 1px solid #e3e8f0; border-radius: 20px; }
.bk-author-pic { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(18, 32, 58, 0.6); }
.bk-author h2 { font: 400 clamp(2rem, 1.4rem + 2vw, 2.9rem)/1.05 var(--serif); letter-spacing: -0.02em; margin: 0.3rem 0 0.8rem; }
.bk-author .lead { margin: 0; max-width: 40rem; }
.bk-cred { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.bk-cred li { margin: 0; display: grid; gap: 0.15rem; }
.bk-cred b { font: 400 1.7rem/1 var(--serif); color: var(--ink); }
.bk-cred span { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.bk-author .actions { margin-top: 1.5rem; }
/* hear when it is out: the one signup on the page, set apart */
.bk-join .join { padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 20px; border: 1px solid #f0dcc8; background: radial-gradient(30rem 16rem at 100% 0%, rgba(226, 112, 45, 0.12), transparent 70%), #fffaf4; }
.bk-join .join h2 { font: 400 clamp(1.9rem, 1.3rem + 2vw, 2.75rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.bk-join .join, .bk-join .join h2 { color: var(--ink); }
.bk-join .join-t p, .bk-join .join label { color: #4a5568; }
.bk-join .join-c { color: var(--ink) !important; }
.bk-join .join-c input { accent-color: #e2702d; }
.bk-join .join-go .btn { background: #12203a; color: #fff; border-color: #12203a; }
.bk-join .join-go .btn:hover, .bk-join .join-go .btn:focus-visible { background: #e2702d; border-color: #e2702d; }
.bk-join .join-go a, .bk-join .join .join-msg { color: #1d4f8f; }
.bk-join .join input[type="email"] { border-radius: 8px; border-color: #e3c9ad; padding-block: 0.75rem; }
@media (max-width: 62rem) { .bk-hero-in { grid-template-columns: minmax(0, 1fr); } .bk-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .bk-author-in { grid-template-columns: minmax(0, 1fr); } .bk-author-pic { width: 11rem; } .bk-nums { grid-template-columns: minmax(0, 1fr); } .bk-as { gap: 0.4rem 1.25rem; } .bk-as-list { gap: 0.35rem 1.25rem; } }

.nth-go .nth-alt { margin-left: 1rem; font: 600 var(--t-sm)/1.3 var(--sans); }
/* the universities page's list of drills: four plain columns */
.dl--uni th[scope="row"] { font-weight: 600; }
.dl--uni td:nth-child(2) { color: var(--graphite); }

/* the home page's book: the same standing book as on the book page, smaller */
.bk-front .invite { grid-template-columns: 10rem minmax(0, 1fr); }
.bk-front .invite .actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 0; }
@media (max-width: 64rem) { .bk-front .invite { grid-template-columns: 8rem minmax(0, 1fr); } .bk-front .invite .actions { grid-column: 1 / -1; } }
.bk-front .bk-watch { --bk-orange: #e2702d; }

/* ---------- No dark blocks (November 2026): every large panel that was dark is now light, set apart by a tint, a coloured
   rule or a soft shadow, like the book and Hunchpin pages ---------- */
.join { background: radial-gradient(30rem 16rem at 100% 0%, rgba(42, 120, 214, 0.10), transparent 70%), #f3f6fc; color: var(--ink); border: 1px solid #dfe6f1; border-radius: 20px; }
.join h2 { color: var(--ink); }
.join-t p, .join label { color: #4a5568; }
.join-c { color: var(--ink) !important; }
.join-c input { accent-color: var(--blue); }
.join-go .btn { background: var(--blue); color: #fff; border-color: var(--blue); }
.join-go a, .join .join-msg { color: var(--blue); }
.join input[type="email"] { border-radius: 8px; padding-block: 0.75rem; }
.band { background: linear-gradient(160deg, #f3f6fc 0%, #fbfcfe 60%, #f8f4ea 100%); color: var(--ink); border: 1px solid #dfe6f1; }
.band::after { border-color: rgba(29, 79, 143, 0.06); }
.band-n b, .band-k { color: var(--blue); }
.band h2, .band .lead { color: var(--ink); }
.band p { color: #3d4a5c; }
.band a { color: var(--blue); }
.band-go .btn { background: var(--blue); color: #fff; }
.invite--dark { background: #f3f6fc; color: var(--ink); border: 1px solid #dfe6f1; }
.invite--dark h2 { color: var(--ink); } .invite--dark p { color: #3d4a5c; } .invite--dark a { color: var(--blue); }
.invite--dark .btn { background: var(--blue); color: #fff; }
.env-r--lead { background: #f3f6fc; color: var(--ink); border-bottom-color: #dfe6f1; } .env-r--lead:hover { background: #eef3fb; }
.env-r--lead .env-when b, .env-r--lead .env-what h3, .env-r--lead .env-n b { color: var(--ink); }
.env-r--lead .env-when span, .env-r--lead .env-n span { color: var(--graphite); } .env-r--lead .env-what p { color: #3d4a5c; }
.env-r--lead a { color: var(--blue); } .env-r--lead .env-n li { border-top-color: #dfe6f1; }
.mfy-y { background-color: #fff; color: var(--ink); border: 1px solid #e3e8f0; }
.mfy-y h3 { color: var(--blue); } .mfy-y b { color: var(--ink); } .mfy-y span { color: var(--graphite); }
.bk-drawn { background: #fffaf4; color: var(--ink); border: 1px solid #f0dcc8; border-radius: 16px; }
.bk-drawn-when { color: #b4561c; } .bk-drawn::after { color: rgba(226, 112, 45, 0.12); }
.mf-front { background: linear-gradient(160deg, #f3f6fc 0%, #fbfcfe 100%); color: var(--ink); border: 1px solid #dfe6f1; }
.mf-n { color: var(--graphite); }
.mf-btn { border-color: #c5d0df; background: #fff; color: var(--ink); }
.mf-btn:hover { background: #eef3fb; border-color: var(--blue); }
.mf-btn:focus-visible { outline-color: var(--blue); }
.mf-end { background: linear-gradient(140deg, #eef4fc 0%, #fbfcfe 100%); color: var(--ink); border: 1px solid #dfe6f1; }
.mf-end .mf-n { color: var(--graphite); } .mf-end .mf-why { color: #3d4a5c; } .mf-end .btn { background: var(--blue); color: #fff; border-color: var(--blue); } .mf-end .mf-more { color: var(--blue); }
.talk3 li { background: #f3f6fc; color: var(--ink); box-shadow: inset 0 4px 0 var(--ink); }
.talk3 li:nth-child(2) { background: #eef4fc; box-shadow: inset 0 4px 0 var(--blue); }
.talk3 li:nth-child(3) { box-shadow: inset 0 4px 0 #0d7c8c; }
.talk3 li:not(:nth-child(3)) .offer-ask { color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.pm--lead { background: #f3f6fc; color: var(--ink); box-shadow: inset 0 4px 0 var(--blue); } .pm--lead:hover { background: #eaf0fa; }
.pm--lead .pm-t { color: #3d4a5c; } .pm--lead .pm-t a { text-decoration-color: #98a1ae; } .pm--lead .pm-k { color: var(--graphite); } .pm--lead .pm-more { color: var(--blue); }
.pm--lead .pm-b:focus-visible, .pm--lead .pm-o button:focus-visible { outline-color: var(--blue); } .pm--lead .pm-b[aria-pressed="true"] { box-shadow: inset 0 -4px 0 var(--blue); }
.fly { background: #f3f6fc; color: var(--ink); border: 1px solid #dfe6f1; }
.fly-sky { background: radial-gradient(120% 90% at 50% 110%, #ffffff 0%, #e4eefb 62%); }
.fly-path path { stroke: #2a78d6; }
.fly-say { box-shadow: 0 6px 18px -8px rgba(15, 27, 45, 0.35); }
.fly-stops, .fly-note { border-top-color: #dfe6f1; }
.fly-stop { color: var(--ink); border-left-color: #dfe6f1; } .fly-stop:hover { background: #eaf0fa; } .fly-stop span { color: var(--graphite); }
.fly-stop[aria-pressed="true"] { background: #e4edfa; box-shadow: inset 0 3px 0 var(--blue); }
.fly-note { color: var(--graphite); } .fly-note a { color: var(--blue); }
.fly-voice { border-color: #c5d0df; background: #fff; color: var(--ink); } .fly-voice:hover { background: #eaf0fa; } .fly-voice:focus-visible { outline-color: var(--blue); }
.fly-bot:focus-visible { outline-color: var(--blue); }
@media (max-width: 44rem) { .fly-stop { border-top-color: #dfe6f1; } }

/* the game's bar on a phone: six links, so they wrap onto two short lines instead of running off the edge */
@media (max-width: 40rem) { .nt-links { flex-wrap: wrap; overflow-x: visible; justify-content: flex-start; gap: 0.1rem 1.1rem; } }

/* The banner under the menu: a label and one or two parts, each words and a link. Its words stay hidden until the server has said
   which banner runs today (a second at most), so a banner the owner set never flashes the built-in one first. */
html.js .site-flag.is-asking .wrap { visibility: hidden; }
.site-flag .flag-part { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.35rem; }
@media (min-width: 48rem) { .site-flag .flag-part + .flag-part { border-left: 1px solid var(--line); padding-left: 0.9rem; } }

/* AI news for young readers: a stream of stories, picture first, like the feeds young people read their news in. A check mark when
   several newsrooms report the same story; orange "Check it" cards with the question to ask; the robot still explains the AI words. */
.yng-stream { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; max-width: 38rem; }
.yng-stream > li { margin: 0; }
.yng-stream .yng-card { padding: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.yng-pic { position: relative; display: block; aspect-ratio: 4 / 3; background: #e3e8ef; }
.yng-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yng-credit { position: absolute; right: 0.6rem; bottom: 0.55rem; padding: 0.15rem 0.5rem; border-radius: 999px; background: rgba(15, 27, 45, 0.6); color: #fff; font: 400 0.68rem/1.25 var(--sans); }
.yng-body { padding: 1rem 1.15rem 1.15rem; }
.yng-stream .yng-h { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.yng-card.no-pic .yng-body { background: var(--tint); padding: 1.35rem 1.25rem 1.3rem; }
.yng-card.no-pic .yng-h { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); }
.yng-trust { display: flex; gap: 0.45rem; align-items: flex-start; margin: 0.65rem 0 0; font: 600 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.yng-trust::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.02rem; border-radius: 50%; background: #c9d1dc; }
.yng-trust.is-many { color: #11613f; }
.yng-trust.is-many::before { background: #1baf7a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.4l3 3 5.8-6.8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.yng-check { padding: 1.1rem 1.2rem 1.2rem; border: 2px solid #f0a06a; border-radius: 18px; background: #fff5ea; }
.yng-check-k { display: inline-block; margin: 0 0 0.55rem; padding: 0.15rem 0.65rem; border-radius: 999px; background: #c75f17; color: #fff; font: 700 var(--t-xs)/1.4 var(--sans); }
.yng-check-lead { margin: 0 0 0.45rem; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); }
.yng-check-h { margin: 0 0 0.75rem; font: 400 1.25rem/1.3 var(--serif); color: var(--ink); }
.yng-check-h mark { padding: 0 0.12em; border-radius: 3px; background: #ffd5a8; color: inherit; }
.yng-check-q { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0 0 0.8rem; font: 600 var(--t-base)/1.4 var(--sans); color: var(--ink); }
.yng-check-q::before { content: "?"; display: inline-grid; place-items: center; flex: none; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #c75f17; color: #fff; font-size: 0.85rem; }
.yng-check-a { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); }
.yng-stream .yng-try { margin: 0; border-radius: 18px; }
.yng-why { max-width: 44rem; margin: 1.75rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
@media (max-width: 40rem) { .yng-stream { gap: 1rem; } .yng-body { padding: 0.9rem 1rem 1rem; } }

/* Not yet covered in Norway: numbered dots that jump to their story, in balanced rows; the tally wraps instead of running off the
   panel; each story leads with the newsroom's own headline, a picture where the newsroom offers one, and the AI line below it. */
.gap-head > div:first-child { flex: 1 1 22rem; min-width: 0; }
.gap-tally { flex: 0 1 auto; min-width: 0; max-width: 100%; display: grid; gap: 0.4rem; justify-items: end; }
.gap-dots { display: grid; grid-template-columns: repeat(var(--cols, 14), 1.15rem); gap: 5px; justify-content: end; max-width: none; }
.gap-dot { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px #c9d1dc; font: 700 0.6rem/1 var(--sans); color: #fff; }
.gap-dots i.gap-dot { width: 1.15rem; height: 1.15rem; background: transparent; }
.gap-dot.is-cov { box-shadow: inset 0 0 0 2px #8e9bb0; }
.gap-dots i.is-minor { opacity: 1; }
button.gap-dot.is-gap { background: var(--blue); box-shadow: 0 0 0 2px rgba(29, 79, 143, 0.18); cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
button.gap-dot.is-gap:hover, button.gap-dot.is-gap:focus-visible { transform: scale(1.3); box-shadow: 0 0 0 3px rgba(29, 79, 143, 0.35); outline: none; }
.js .gap:not([hidden]) .gap-dot { animation: gap-pop 0.45s cubic-bezier(.3, 1.5, .6, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@media (prefers-reduced-motion: reduce) { .js .gap:not([hidden]) .gap-dot { animation: none; } }
.gap-tally-t { overflow-wrap: anywhere; }
.gap-legend { margin: 0; font: 400 0.72rem/1.35 var(--sans); color: var(--graphite); text-align: right; }
.gap-row { grid-template-columns: minmax(0, 1fr); gap: 0.3rem 1.1rem; padding: 1rem 0.6rem; margin: 0 -0.6rem; border-radius: 10px; scroll-margin: 6rem 0; }
.gap-row.has-pic { grid-template-columns: 8.5rem minmax(0, 1fr); }
.gap-row.is-hit { animation: gap-hit 1.8s ease-out; }
@keyframes gap-hit { 0%, 35% { background: rgba(29, 79, 143, 0.12); } 100% { background: transparent; } }
.gap-pic { display: block; align-self: start; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #e3e8ef; }
.gap-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gap-o { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.45rem; }
.gap-k { display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--blue); color: #fff; font: 700 0.66rem/1 var(--sans); }
.gap-from { color: var(--ink); font-weight: 600; }
.gap-cnt { padding: 0.05rem 0.5rem; border-radius: 999px; background: var(--tint); color: var(--blue); font-weight: 600; }
.gap-t { font: 400 1.14rem/1.35 var(--serif); color: var(--ink); text-decoration: none; }
.gap-t:hover, .gap-t:focus-visible { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; }
.gap-line { display: flex; gap: 0.45rem; align-items: baseline; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.gap-line .ft-ai { flex: none; }
@media (max-width: 40rem) {
  .gap-tally { justify-items: start; } .gap-dots { justify-content: start; } .gap-legend { text-align: left; }
  .gap-row { grid-template-columns: minmax(0, 1fr); } .gap-row.has-pic { grid-template-columns: 5.5rem minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .gap-row.is-hit { animation: none; background: rgba(29, 79, 143, 0.12); } }

/* Home, "Better answers with AI": the fictional case drawn instead of told. The score with the tutor, the AI's confident verdict,
   and the empty bar the claim is really about: what the students can do on their own a week later. */
.ask-viz { position: relative; margin: 0; padding: 1.5rem 1.5rem 1.1rem; border-radius: 14px; background: var(--fog); max-width: 40rem; }
.ask-plot, .ask-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 3vw, 2rem); }
.ask-plot { align-items: end; height: 11.5rem; border-bottom: 1.5px solid var(--ink); }
.ask-col { justify-self: center; display: grid; place-items: start center; width: min(4.6rem, 100%); padding-top: 0.45rem; border-radius: 6px 6px 0 0; font: 600 var(--t-sm)/1 var(--sans); }
.ask-col--base { height: 52%; background: #c9d1dc; }
.ask-col--ai { height: 68%; background: var(--blue); color: #fff; }
.ask-col--q { height: 68%; place-items: center; border: 2px dashed #8e9bb0; border-bottom: 0; background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(142, 155, 176, 0.14) 7px 8px); color: var(--graphite); font: 400 2.2rem/1 var(--serif); }
.ask-caps { margin-top: 0.55rem; }
.ask-caps span { text-align: center; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.ask-stamp { position: absolute; top: 0.9rem; left: 50%; margin: 0; padding: 0.25rem 0.65rem; border: 2px solid #b8432f; border-radius: 6px; color: #b8432f; background: rgba(255, 255, 255, 0.85); font: 400 var(--t-xs)/1.2 var(--sans); transform: translateX(1.6rem) rotate(-6deg); white-space: nowrap; }
.ask-stamp b { font-weight: 700; letter-spacing: 0.01em; }
@media (max-width: 40rem) { .ask-viz { padding: 1.2rem 0.9rem 0.9rem; } .ask-plot { height: 9.5rem; } .ask-stamp { left: auto; right: 0.6rem; transform: rotate(-6deg); } }
/* Teaching: each dot in the theses strip leads to its thesis in the list below */
.th-strip .th-dot[role="button"] { position: relative; cursor: pointer; transition: transform 0.15s ease; }
.th-strip .th-dot[role="button"]::after { content: ""; position: absolute; inset: -6px; }
.th-strip .th-dot[role="button"]:hover { transform: scale(1.45); }
.th-strip .th-dot[role="button"]:focus-visible { transform: scale(1.45); outline: 2px solid var(--blue); outline-offset: 3px; }
.th.is-hit { animation: th-hit 1.8s ease-out; border-radius: 8px; scroll-margin: 6rem 0; }
@keyframes th-hit { 0%, 35% { background: rgba(29, 79, 143, 0.12); box-shadow: 0 0 0 0.5rem rgba(29, 79, 143, 0.12); } 100% { background: transparent; box-shadow: 0 0 0 0.5rem transparent; } }
@media (prefers-reduced-motion: reduce) { .th.is-hit { animation: none; background: rgba(29, 79, 143, 0.12); } }

/* Book: one question for today, as a hand of eight cards. The backs carry the cover's thin circle and orange arc; a picked card lifts
   out of the hand, the hand closes up, and the question is turned over above it. */
.qd { display: grid; justify-items: center; gap: 0.4rem; padding: clamp(1.25rem, 3vw, 2rem) clamp(0.75rem, 3vw, 2rem) 1.25rem; border: 1px solid #efe4d2; border-radius: 18px; background: radial-gradient(120% 95% at 50% 100%, #f4ecdd 0%, #faf6ef 55%, #fdfbf8 100%); }
.qd-stage { display: grid; justify-items: center; width: 100%; }
.qd-hint { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--graphite); text-align: center; }
.qd-hint > span:first-child { font-weight: 600; color: var(--ink); }
.qd-face { position: relative; width: min(100%, 35rem); margin: 1rem 0 0.25rem; padding: clamp(1.3rem, 3.5vw, 2.1rem) clamp(1.25rem, 4vw, 2.4rem) clamp(1.2rem, 3vw, 1.7rem); overflow: hidden; border-radius: 14px; background: #fffdf8; color: var(--ink); box-shadow: 0 1px 0 rgba(15, 27, 45, 0.08), 0 20px 40px -20px rgba(15, 27, 45, 0.4); transform-origin: 50% 100%; }
.qd-face.is-in { animation: qd-turn 0.6s cubic-bezier(.2, .8, .25, 1.08) both; }
@keyframes qd-turn { 0% { transform: perspective(900px) translateY(4rem) rotateX(-80deg) scale(0.88); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.qd-mark { position: absolute; right: -1.8rem; top: -1.8rem; width: 8.5rem; height: 8.5rem; color: #dccfb6; }
.qd-from { position: relative; margin: 0 0 0.45rem; font: 600 var(--t-xs)/1.3 var(--sans); color: #a8521a; }
.qd-from a { color: inherit; text-underline-offset: 0.18em; }
.qd-when { position: relative; margin: 0 0 0.35rem; font: italic 400 var(--t-sm)/1.4 var(--serif); color: var(--graphite); }
.qd-q { position: relative; margin: 0; font: 400 clamp(1.4rem, 1rem + 1.6vw, 2.1rem)/1.22 var(--serif); letter-spacing: -0.012em; max-width: 30ch; }
.qd-try { margin: 1rem 0 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.qd-hand { position: relative; width: 100%; height: 14rem; --cw: 7rem; --ch: 9.8rem; }
.qd-card { position: absolute; left: calc(50% - var(--cw) / 2); bottom: 0.3rem; display: block; width: var(--cw); height: var(--ch); margin: 0; padding: 0; border: 0; border-radius: 10px; background: #17325a; color: #fff; cursor: pointer; transform-origin: 50% 230%; transform: rotate(var(--a, 0deg)); transition: transform 0.38s cubic-bezier(.2, .8, .2, 1), box-shadow 0.2s, opacity 0.3s; box-shadow: 0 1px 0 rgba(15, 27, 45, 0.25), 0 12px 22px -10px rgba(15, 27, 45, 0.55); }
.qd-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.qd-card::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 7px; pointer-events: none; }
.qd-card b { position: absolute; left: 0.6rem; top: 0.5rem; font: 600 0.8rem/1 var(--sans); opacity: 0.85; }
.qd-card:hover, .qd-card:focus-visible { transform: rotate(var(--a, 0deg)) translateY(-1.2rem); box-shadow: 0 1px 0 rgba(15, 27, 45, 0.25), 0 20px 30px -10px rgba(15, 27, 45, 0.6); outline: none; }
.qd-card:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue); }
.qd-card.is-leaving { z-index: 60 !important; transform: rotate(0deg) translateY(-13rem) scale(1.12); opacity: 0; transition: transform 0.42s cubic-bezier(.3, .7, .3, 1), opacity 0.42s ease-in; pointer-events: none; }
.qd-card.is-out { display: none; }
.qd-card.is-dealt { animation: qd-deal 0.5s cubic-bezier(.2, .9, .3, 1.1) both; animation-delay: var(--d, 0ms); }
@keyframes qd-deal { from { transform: translateY(7rem) rotate(0deg); opacity: 0; } }
.qd-hand.is-shuffling .qd-card { animation: qd-shuffle 0.34s ease-in-out; }
@keyframes qd-shuffle { 35% { transform: rotate(calc(var(--a, 0deg) * 0.3)) translateY(-0.7rem); } 70% { transform: rotate(calc(var(--a, 0deg) * 1.15)) translateY(0.2rem); } }
.qd-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 0.4rem 0 0; }
@media (max-width: 40rem) { .qd-hand { height: 10.5rem; --cw: 4.9rem; --ch: 6.9rem; } .qd-card b { left: 0.45rem; top: 0.4rem; font-size: 0.7rem; } }
@media (prefers-reduced-motion: reduce) { .qd-card, .qd-card.is-leaving { transition: none; } .qd-face.is-in, .qd-card.is-dealt, .qd-hand.is-shuffling .qd-card { animation: none; } }
/* Press page: the three lead outlets sit on a light panel now, so their logos and marks are dark again */
.pm--lead .pm-logo { filter: brightness(0); opacity: 0.9; }
.pm--lead .pm-b:hover .pm-logo, .pm--lead .pm-b[aria-pressed="true"] .pm-logo { opacity: 1; }
.pm--lead .pm-mark { background: #e3e9f3; color: var(--ink); }
/* the eight questions under the hand of cards, folded */
.qd-all { margin-top: 1.25rem; }
.qd-all > summary { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; list-style: none; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); }
.qd-all > summary::-webkit-details-marker { display: none; }
.qd-all > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1.5px solid currentColor; font-size: 0.95rem; line-height: 1; }
.qd-all[open] > summary::before { content: "−"; }
.qd-all > .bk-parts { margin-top: 1rem; }

/* Book: the words on the first page, seen when the book is opened */
.bk-page-k { font: 600 0.62em/1.3 var(--sans); letter-spacing: 0.04em; color: #a8521a; }
.bk-page-t { font: 400 1em/1.45 var(--serif); }
.bk-page-s { font: italic 400 1em/1.45 var(--serif); }
.bk-page-go { margin-top: 0.4em; font: 600 0.62em/1.3 var(--sans); color: var(--blue); }
/* the hand of cards keeps clear of the buttons under it */
.qd-hand { height: 16.5rem; }
.qd-card { bottom: 2.6rem; }
@media (max-width: 40rem) { .qd-hand { height: 12.5rem; } .qd-card { bottom: 2rem; } }

/* Hunchpin's home: where it is used now (schools, universities, newsrooms) and what comes next, with the reason in one line */
.nth-where { margin-top: 1.4rem; }
.nth-where-l { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.nth-where-l li { margin: 0; }
.nth-where-l a, .nth-where-l .is-next { display: inline-flex; align-items: baseline; gap: 0.45rem; padding: 0.45rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font: 400 var(--t-sm)/1.25 var(--sans); }
.nth-where-l a:hover, .nth-where-l a:focus-visible { border-color: var(--blue); color: var(--blue); }
.nth-where-l b { font-weight: 600; }
.nth-where-l span { color: var(--graphite); font-size: var(--t-xs); }
.nth-where-l .is-next { border-style: dashed; background: transparent; color: var(--graphite); }
.nth-where-why { max-width: 46rem; margin: 0.75rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }

/* Hunchpin: critical thinking, checking and judgment, side by side, each with a thin drawing, the literature folded under them */
.nth-words-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 3vw, 2.75rem); margin: 0.5rem 0 0; }
.nth-word { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.nth-word svg { display: block; width: 3rem; height: 3rem; margin: 0 0 0.85rem; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nth-word svg .f { fill: var(--blue); stroke: none; }
.nth-word svg .a { stroke: #c2410c; stroke-width: 2; }
.nth-word svg .q { stroke-dasharray: 2.5 3.5; }
.nth-word h3 { margin: 0 0 0.6rem; font: 400 clamp(1.3rem, 1.05rem + 0.8vw, 1.7rem)/1.15 var(--serif); letter-spacing: -0.01em; }
.nth-word p { margin: 0; font: 400 var(--t-sm)/1.6 var(--sans); color: var(--ink); }
.nth-word .nth-word-in { margin-top: 0.85rem; font-weight: 600; color: var(--blue); }
.nth-words-why { max-width: 50rem; margin: 2rem 0 0; padding-left: 1rem; border-left: 3px solid var(--blue); font: 400 var(--t-base)/1.6 var(--serif); }
.nth-lit { margin-top: 1.25rem; }
.nth-lit summary { cursor: pointer; width: max-content; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); }
.nth-lit ol { margin: 0.75rem 0 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; max-width: 54rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.nth-lit a { color: var(--blue); overflow-wrap: anywhere; }
@media (max-width: 52rem) { .nth-words-l { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }
/* Hunchpin's bar stays under the site's menu while the page scrolls, with a firm blue line under it. Once it has stuck it slims
   down; the script gives the page the height it gave away as a margin, so that nothing under it jumps */
.nt-bar { position: sticky; top: calc(var(--header-h) - 1px); z-index: 45; box-shadow: 0 0 0 100vmax var(--tint); clip-path: inset(0 -100vmax -2px); }
/* the blue line under the band reaches the window's edges like the band (a shadow, so that it never widens the page) */
.nt-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue); box-shadow: 0 0 0 100vmax var(--blue); clip-path: inset(0 -100vmax); pointer-events: none; }
.nt-bar.is-stuck { padding-top: 0.4rem; padding-bottom: 0.4rem; }
.nt-bar.is-stuck .nt-word { font-size: 1.25rem; }
.nt-bar.is-stuck .nt-mark { width: 1.75rem; height: 1.75rem; border-radius: 0.45rem; }
.nt-bar.is-stuck .nt-go { padding: 0.5rem 0.95rem; }
.nt-links a { font-weight: 600; }
html:has(.nt-bar) { scroll-padding-top: calc(var(--header-h) + 4.75rem); }
@media (max-width: 46rem) {
  .nt-bar.is-stuck { padding: 0.25rem 0 0.15rem; }
  .nt-bar.is-stuck .nt-lock, .nt-bar.is-stuck .nt-go { display: none; }
  /* stuck on a phone, the five main pages share one line; “How to play” waits at the top of the page */
  .nt-bar.is-stuck .nt-links { flex-wrap: nowrap; overflow-x: auto; justify-content: space-between; gap: 0.75rem; }
  .nt-bar.is-stuck .nt-links li:last-child:not(:has([aria-current])) { display: none; }
  html.nt-away .nt-bar { position: relative; }
  html.nt-in-room .nt-bar.is-stuck .nt-lock { display: inline-flex; }   /* a room's players keep the logo: the bar has nothing else for them */
}

/* Newsrooms: a story drawn as a metro line, from the first search to the reader’s question. Over every stop where AI comes in, a
   robot hangs on a dotted line with what it does there; over the check, a person. At Package the line splits into the three texts
   AI writes most, and they meet again at the check. The stops are buttons laid over the drawing (container units keep them on
   their stations). A story runs down the line when the drawing first comes into view, and again on Replay; until it reaches a stop,
   that stop’s robot waits out of sight (.is-armed). On a phone the line runs down the page and the stops light up in turn */
.metro { margin: 0; }
.metro-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin: 0.5rem 0 max(0.5rem, calc(5.5rem - 5.5vw)); }   /* narrower, the labels over the robots wrap to more lines and need the room */
.metro-key { display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; margin: 0; padding: 0; list-style: none; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.metro-key li { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }
.metro-replay { display: inline-flex; align-items: center; gap: 0.45em; margin: 0; padding: 0.6em 1em 0.6em 0.85em; font: 600 var(--t-sm)/1 var(--sans); color: var(--ink); background: var(--paper); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; cursor: pointer; transition: box-shadow 0.15s ease; }
.metro-replay[hidden] { display: none; }
.metro-replay:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.metro-replay:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.metro-replay svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s ease; }
.metro-replay:hover svg { transform: rotate(-180deg); }
.metro-box { position: relative; container-type: inline-size; margin-top: 0.25rem; padding-bottom: 1.25rem; }
.metro-map { display: block; width: 100%; height: auto; overflow: visible; }

/* the robots are the game’s own; the person who checks wears the ink */
.metro .rb-head, .metro .rb-ear { fill: var(--blue); }
.metro .rb-ant { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; }
.metro .rb-bulb { fill: #c2410c; transform-box: fill-box; transform-origin: center; }
.metro .rb-eye { fill: #fff; }
.metro .rb-pupil { fill: #0d1b33; transition: transform 0.3s ease; }
.metro .rf-mouth { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.metro .mb-eyes { transform-box: fill-box; transform-origin: center; }
.metro .mp-head, .metro .mp-body { fill: var(--ink); }
.mt-tool circle { fill: var(--paper); stroke: var(--blue); stroke-width: 2; }
.mt-ic { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mt-ic--s { stroke: #2c6b63; }
.mt-ic--p { stroke: #c2410c; }
.metro .mp-tick circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2.2; }
.metro .mp-tick path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.mt-ln { fill: none; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.mt-ln--main { stroke: var(--ink); }
.mt-ln--h { stroke: var(--blue); }
.mt-ln--s { stroke: #2c6b63; }
.mt-ln--p { stroke: #c2410c; }
.mt-stem { stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 7; transition: opacity 0.35s ease 0.2s; }
.mt-stem--hu { stroke: var(--ink); }
.mt-st { fill: var(--paper); stroke: var(--ink); stroke-width: 5; transition: fill 0.25s ease; }
.mt-st.is-lit { fill: var(--tint); }
.mt-st.is-on { fill: var(--ink); }
.mt-route { fill: none; stroke: none; }
.mt-hook-in { transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease; }
.metro.is-armed .mt-hook:not(.is-in) .mt-hook-in { opacity: 0; transform: translateY(-26px); }
.metro.is-armed .mt-stem:not(.is-in) { opacity: 0; transition-delay: 0s; }
.metro .mt-hook .mb-eyes { animation: mt-blink 6s infinite; }
.mt-hook:nth-child(3n + 2) .mb-eyes { animation-delay: -2s; }
.mt-hook:nth-child(3n) .mb-eyes { animation-delay: -4s; }
.mt-hook.is-drafting .rb-bulb { animation: mt-bulb 0.3s ease-in-out 6 alternate; }
.mt-hook.is-drafting .rb-pupil { transform: translate(1.8px, 1.2px); }
.mt-hook.is-on .mt-hook-in { animation: mt-hop 0.45s ease-out 2; }
.metro.is-picked .mt-hook:not(.is-on) .mt-hook-in, .metro.is-picked .mt-stem:not(.is-on) { opacity: 0.35; }
@keyframes mt-hop { 40% { transform: translateY(-7px); } }
@keyframes mt-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.12); } }
@keyframes mt-bulb { to { transform: scale(1.7); } }

/* the story: a page that rides the line, three small ones along the three texts, and the page again, checked */
.mt-card, .mt-mini { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.mt-card.is-shown, .mt-mini.is-shown { opacity: 1; }
.mt-card rect { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.mt-card-ln { fill: none; stroke: var(--graphite); stroke-width: 2; stroke-linecap: round; }
.mt-card-tick { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mt-card.is-checked .mt-card-tick { opacity: 1; transform: none; }
.mt-card-tick circle { fill: var(--ink); }
.mt-card-tick path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mt-mini rect { stroke: var(--paper); stroke-width: 1.5; }
.mt-mini--h rect { fill: var(--blue); }
.mt-mini--s rect { fill: #2c6b63; }
.mt-mini--p rect { fill: #c2410c; }
.mt-mini path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }

.metro-sts { list-style: none; margin: 0; padding: 0; }
.metro-st { position: absolute; left: calc(var(--x) * 0.1cqw); top: calc((var(--y) - 30) * 0.1cqw); width: 0; height: 0; margin: 0; }   /* the drawing starts at y 30 */
.metro-st > button { position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem; transform: translate(-50%, -50%); margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; font: inherit; cursor: pointer; }
.metro-st > button::after { content: ""; position: absolute; left: 50%; bottom: 50%; width: 8cqw; height: 12cqw; transform: translateX(-50%); }   /* the robot over a stop presses it too */
.metro-st > button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.metro-dot { display: none; }
.metro-lab { position: absolute; top: calc(50% + 2.5cqw); left: 50%; transform: translateX(-50%); width: 10.4cqw; display: grid; gap: 0.2rem; text-align: center; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.metro-lab b { font: 600 var(--t-sm)/1.2 var(--sans); color: var(--ink); }
.metro-st > button:hover .metro-lab b, .metro-st > button[aria-pressed="true"] .metro-lab b { color: var(--blue); text-decoration: underline 2px; text-underline-offset: 3px; }
.metro-hook { position: absolute; bottom: calc(50% + 12cqw); left: 50%; width: 10.4cqw; transform: translateX(-50%); text-align: center; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--blue); transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.metro-st--check .metro-hook { color: var(--ink); }
.metro.is-armed .metro-st:not(.is-in) .metro-hook { opacity: 0; transform: translate(-50%, -0.6rem); }
.metro.is-picked .metro-st:not(.is-on) .metro-hook { color: var(--graphite); }   /* the other stops step back, their words still easy to read */
.metro.is-picked .metro-st:not(.is-on) :is(.metro-mbot, .metro-mperson) { opacity: 0.45; }
.metro-mbot, .metro-mperson { display: none; }
.metro-key .metro-mbot, .metro-key .metro-mperson { display: inline-block; flex: none; width: 1.5rem; height: 1.3rem; }
.metro-mbot svg, .metro-mperson svg { display: block; width: 100%; height: 100%; overflow: visible; }
.metro-br { position: absolute; left: 0; top: 0; margin: 0; padding: 0; list-style: none; }
.metro-b { position: absolute; left: calc(var(--bx) * 0.1cqw); top: calc(var(--by) * 0.1cqw); transform: translate(-50%, -50%); margin: 0; white-space: nowrap; font: 400 var(--t-xs)/1.2 var(--sans); color: var(--ink); }
.metro-b b { font-weight: 700; }
.metro-b::before { content: ""; display: inline-block; width: 0.85rem; height: 0.32rem; margin-right: 0.4rem; border-radius: 2px; vertical-align: 0.12em; background: var(--c); }
.metro-b--h { --c: var(--blue); }
.metro-b--s { --c: #2c6b63; }
.metro-b--p { --c: #c2410c; }

/* what happens at a stop, with its sources: below the drawing, or under the stop on a phone */
.metro-notes { max-width: 46rem; }
.metro-n { margin: 1.25rem 0 0; padding: 0.1rem 0 0.1rem 1.1rem; border-left: 3px solid var(--blue); }
.metro-n--hu { border-left-color: var(--ink); }
.metro-n h3 { margin: 0 0 0.45rem; font: 600 1.0625rem/1.35 var(--sans); color: var(--ink); }
.metro-n p { margin: 0 0 0.6rem; font: 400 var(--t-base)/1.55 var(--serif); }
.metro-n .metro-src { margin: 0; font: 400 var(--t-xs)/1.55 var(--sans); color: var(--graphite); }
.metro-say { margin-top: 1.25rem; max-width: 46rem; font: 400 var(--t-base)/1.55 var(--serif); }
.no-js .metro-n[hidden] { display: block; }   /* without a script every stop’s note stands below the drawing, and on paper too */
@media print { .metro-n[hidden] { display: block !important; } .metro-replay { display: none !important; } }
@media (max-width: 54rem) {
  .metro-box { container-type: normal; margin-top: 1rem; padding-bottom: 0; }
  .metro-map { display: none; }
  .metro-st { position: relative; left: auto; top: auto; width: auto; height: auto; padding: 0 0 1.4rem 2.75rem; }
  .metro-st::before { content: ""; position: absolute; left: 1rem; top: 0.75rem; bottom: -0.75rem; width: 6px; margin-left: -3px; background: var(--ink); transition: background-color 0.4s ease; }
  .metro-st:last-child::before { display: none; }
  /* from Package to the check, the line runs as three: headlines, summaries, push alerts */
  .metro-st--package::before { width: 12px; margin-left: -6px; background: linear-gradient(90deg, var(--blue) 0 33.3%, #2c6b63 33.3% 66.6%, #c2410c 66.6%); }
  .metro.is-armed .metro-st:not(.is-run)::before { background: var(--line); }
  .metro-st > button { position: static; transform: none; width: auto; height: auto; display: grid; gap: 0.3rem; justify-items: start; text-align: left; border-radius: 4px; }
  .metro-st > button::after { display: none; }
  .metro-dot { display: block; position: absolute; z-index: 1; left: 1rem; top: 0.75rem; width: 1.2rem; height: 1.2rem; margin: -0.6rem 0 0 -0.6rem; box-sizing: border-box; border-radius: 50%; border: 4px solid var(--ink); background: var(--paper); transition: border-color 0.3s ease, background-color 0.3s ease; }
  .metro-st.is-x .metro-dot { width: 1.6rem; height: 1.6rem; margin: -0.8rem 0 0 -0.8rem; }
  .metro.is-armed .metro-st:not(.is-in) .metro-dot { border-color: var(--line); }
  .metro-st > button[aria-pressed="true"] .metro-dot { background: var(--ink); }
  .metro-lab { position: static; transform: none; width: auto; text-align: left; }
  .metro-hook { position: static; width: auto; transform: none; display: flex; align-items: center; gap: 0.45rem; text-align: left; }
  .metro.is-armed .metro-st:not(.is-in) .metro-hook { transform: translateX(-0.5rem); }
  .metro-hook .metro-mbot, .metro-hook .metro-mperson { display: inline-block; flex: none; width: 1.45rem; height: 1.25rem; }
  .metro-st > button[aria-pressed="true"] .metro-hook .metro-mbot { animation: mt-hop 0.45s ease-out 2; }
  .metro-br { position: static; display: grid; gap: 0.4rem; margin: 0.55rem 0 0.1rem; }
  .metro-b { position: static; transform: none; }
  .metro-st > .metro-notes .metro-n { margin: 0.75rem 0 0.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mt-hook-in, .mt-stem, .mt-st, .metro-hook, .mt-card, .mt-mini, .mt-card-tick, .metro-st::before, .metro-dot, .metro-replay svg { transition: none; }
  .metro .mt-hook .mb-eyes, .mt-hook.is-on .mt-hook-in, .mt-hook.is-drafting .rb-bulb, .metro-st > button[aria-pressed="true"] .metro-hook .metro-mbot { animation: none; }
}
/* equal choices (schools, universities, newsrooms) stand as equal buttons, one under the other, all as wide as the widest */
.actions.actions--choices { display: inline-grid; grid-auto-flow: row; gap: 0.6rem; justify-items: stretch; }
.actions--choices .btn { justify-content: center; text-align: center; }

/* Home: the drawn case can be checked. The question mark is a button; pressed, the third bar drops to what the students could do on
   their own a week later, and the AI's verdict is struck through */
button.ask-col--q { margin: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; transition: height 0.6s cubic-bezier(0.3, 0.7, 0.3, 1), background-color 0.3s ease, border-color 0.2s ease; }
button.ask-col--q:hover { border-color: var(--blue); }
button.ask-col--q:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.ask-q { font: 400 2.1rem/1 var(--serif); color: #5c6b82; animation: ask-nudge 2.4s ease-in-out infinite; }
.ask-r, .ask-stamp-x { display: none; }
@keyframes ask-nudge { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.18); } }
.ask-viz.is-checked button.ask-col--q { height: 52%; place-items: start center; padding-top: 0.45rem; border-style: solid; border-color: #b8432f; background: #f6e3dc; }
.ask-viz.is-checked .ask-q { display: none; }
.ask-viz.is-checked .ask-r { display: block; font: 600 var(--t-sm)/1 var(--sans); color: #b8432f; }
.ask-viz.is-checked .ask-stamp b { text-decoration: line-through; text-decoration-thickness: 2px; }
.ask-viz.is-checked .ask-stamp-x { display: inline; margin-left: 0.4rem; font-weight: 700; }
.ask-say { margin: 0.9rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--ink); max-width: 36rem; }
@media (prefers-reduced-motion: reduce) { .ask-q { animation: none; } button.ask-col--q { transition: none; } }
.nth-always { max-width: 50rem; margin-top: 1.6rem; padding: 1.1rem 1.3rem 1.2rem; border-radius: 10px; background: var(--fog); }
.nth-always h3 { margin: 0 0 0.5rem; font: 400 clamp(1.3rem, 1.05rem + 0.8vw, 1.7rem)/1.15 var(--serif); }
.nth-always p { margin: 0; font: 400 var(--t-sm)/1.6 var(--sans); }
.nth-always p + p { margin-top: 0.7rem; }

/* Feedback: a quiet row of two buttons, then a short form; the same everywhere */
.fb { margin: 1.5rem 0 0; padding: 1rem 1.1rem 1.05rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; max-width: 34rem; }
.fb-q { margin: 0 0 0.6rem; font: 600 var(--t-sm)/1.3 var(--sans); }
.fb-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fb-t { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 var(--t-sm)/1 var(--sans); cursor: pointer; }
.fb-t:hover { border-color: var(--blue); }
.fb-t[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.fb-t:disabled:not([aria-pressed="true"]) { opacity: 0.45; cursor: default; }
.fb-more { margin-top: 0.8rem; display: grid; gap: 0.6rem; }
.fb [hidden] { display: none !important; }
.fb-l { display: grid; gap: 0.3rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.fb-l textarea, .fb-l input { width: 100%; box-sizing: border-box; padding: 0.55rem 0.65rem; border: 1px solid var(--line); border-radius: 6px; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--ink); }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb-acts { display: flex; align-items: center; gap: 0.9rem; margin: 0; }
.fb-skip { border: 0; background: none; padding: 0; color: var(--graphite); font: 400 var(--t-sm)/1 var(--sans); text-decoration: underline; cursor: pointer; }
.fb-note { margin: 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.fb-done { margin: 0.4rem 0 0; font: 600 var(--t-sm)/1.4 var(--sans); color: #0b7a43; }
.fb-dlg { width: min(34rem, calc(100vw - 2rem)); padding: 1.3rem 1.3rem 1.4rem; border: 0; border-radius: 12px; box-shadow: 0 20px 60px rgba(15, 27, 45, 0.25); }
.fb-dlg::backdrop { background: rgba(15, 27, 45, 0.35); }
.fb-dlg .fb { margin: 0; padding: 0; border: 0; }
.fb-h { margin: 0 0 0.8rem; font: 400 1.5rem/1.15 var(--serif); }
.fb-x { position: absolute; top: 0.6rem; right: 0.7rem; width: 2.2rem; height: 2.2rem; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--graphite); cursor: pointer; }
.nt-fb { border: 0; background: none; padding: 0.4rem 0.2rem; color: var(--blue); font: 600 var(--t-sm)/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
@media (max-width: 46rem) { .nt-bar.is-stuck .nt-fb { display: none; } }

/* young readers on AI news are not asked for notes or addresses */
.lvl-young .fb-sec { display: none; }

/* ---------- The book as an object (November 2026). A slim hardcover, lit like a photograph of a real one: a cover with its hinge and
   a soft sheen, a spine with its title, the edges of its pages, a back, and its shadow on the floor. It sways a little when left alone,
   turns towards the pointer, can be dragged round to its spine and back, and opens onto its first page. The spine and the back are
   drawn for this page; the caption says so. ---------- */
.bko { --w: min(18rem, 22vw); --h: calc(var(--w) * 1.5); --d: calc(var(--w) * 0.115); --bko-navy: #111d37; margin: 0; display: grid; justify-items: center; }
.bko-stage { position: relative; display: grid; place-items: center; width: min(100%, calc(var(--w) * 1.75)); height: calc(var(--h) * 1.16); perspective: 1900px; perspective-origin: 50% 38%; }
.bko-stage::before { content: ""; position: absolute; z-index: -1; inset: -6% -10% -2%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.55) 52%, rgba(255, 255, 255, 0) 78%); }
.bko-floor { position: absolute; left: 50%; bottom: 2.5%; width: calc(var(--w) * 1.22); height: calc(var(--w) * 0.15); border-radius: 50%; pointer-events: none; transform: translateX(-44%);
  background: radial-gradient(closest-side, rgba(17, 29, 55, 0.42), rgba(17, 29, 55, 0.14) 58%, rgba(17, 29, 55, 0)); filter: blur(5px); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.bko-sway { transform-style: preserve-3d; animation: bko-sway 11s ease-in-out infinite; }
@keyframes bko-sway { 0%, 100% { transform: rotateY(0deg) translateY(0); } 50% { transform: rotateY(-4deg) translateY(-6px); } }
.bko-book { position: relative; display: block; width: var(--w); height: var(--h); margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left;
  cursor: grab; transform-style: preserve-3d; touch-action: pan-y; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.bko-book img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.bko-book:focus-visible { outline: none; }
.bko-book:focus-visible .bko-lid img { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--blue); }
.bko-body { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.95s cubic-bezier(.2, .8, .2, 1);
  transform: translateX(var(--bko-x, 0px)) scale(var(--bko-s, 1)) rotateX(var(--bko-rx, 4deg)) rotateY(var(--bko-ry, 24deg)); }
.bko.is-dragging .bko-body { transition: transform 0.06s linear; }
.bko.is-dragging .bko-book { cursor: grabbing; }
.bko-f { position: absolute; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* the spine: on the left, the title reading downwards */
.bko-spine { top: 0; height: 100%; left: calc(50% - var(--d) / 2); width: var(--d); border-radius: 3px; transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
  background: linear-gradient(90deg, #0a1326 0%, #17284a 22%, #1f3158 48%, #15254a 76%, #0a1326 100%); color: #f1ece2;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: calc(var(--w) * 0.07) 0 calc(var(--w) * 0.05); box-sizing: border-box; }
.bko-spine-t { writing-mode: vertical-rl; font: 400 calc(var(--w) * 0.058)/1 var(--serif); letter-spacing: 0.01em; white-space: nowrap; }
.bko-spine-a { writing-mode: vertical-rl; font: 600 calc(var(--w) * 0.032)/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; margin-top: auto; margin-bottom: calc(var(--w) * 0.05); }
.bko-mark { width: calc(var(--d) * 0.56); height: auto; color: #f1ece2; flex: none; }
/* the edges of the pages: paper, set in a little from the boards */
.bko-pages { top: 1.4%; height: 97.2%; left: calc(50% - var(--d) / 2 + 1px); width: calc(var(--d) - 2px); transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px));
  background: repeating-linear-gradient(90deg, rgba(110, 98, 76, 0.07) 0 1px, rgba(0, 0, 0, 0) 1px 3px), linear-gradient(90deg, #dcd4c3 0%, #f7f3ea 18%, #fcfaf5 50%, #f3eee2 82%, #d9d0bd 100%); }
.bko-top, .bko-bot { left: 0.6%; width: 97.6%; top: calc(50% - var(--d) / 2 + 1px); height: calc(var(--d) - 2px);
  background: repeating-linear-gradient(0deg, rgba(110, 98, 76, 0.07) 0 1px, rgba(0, 0, 0, 0) 1px 3px), linear-gradient(0deg, #ddd5c4, #faf7f0 50%, #ddd5c4); }
.bko-top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 3px)); }
.bko-bot { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 3px)); }
/* the back: the book's own lines */
.bko-back { inset: 0; border-radius: 6px 3px 3px 6px; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); box-sizing: border-box; padding: 13% 11% 11%;
  background: radial-gradient(120% 80% at 25% 15%, #1d2d50 0%, var(--bko-navy) 62%); color: #efe9dd; display: grid; align-content: space-between; gap: 1em; font-size: calc(var(--w) * 0.05); }
.bko-back-q { font: 400 1.18em/1.32 var(--serif); letter-spacing: -0.005em; color: #fbf7ef; }
.bko-back-t { font: 400 0.82em/1.45 var(--serif); color: #c9cfdb; }
.bko-back-a { display: flex; align-items: center; gap: 0.8em; font: 500 0.62em/1.4 var(--sans); color: #c9cfdb; border-top: 1px solid rgba(239, 233, 221, 0.18); padding-top: 1em; }
.bko-back-a .bko-mark { width: 2.4em; }
/* the first page, under the cover */
.bko-page { top: 1.4%; bottom: 1.4%; left: 0; right: 1.4%; display: grid; align-content: start; gap: 0.6em; box-sizing: border-box; padding: 11% 10% 9% 13%; border-radius: 0 3px 3px 0;
  transform: translateZ(calc(var(--d) / 2 - 2px)); background: linear-gradient(90deg, #e3dccd 0%, #f6f2e9 7%, #fdfbf6 28%, #faf7f0 100%); color: var(--ink); font-size: calc(var(--w) * 0.05); }
/* the cover, hinged at the spine; its inside is the endpaper */
.bko-lid { position: absolute; inset: 0; transform-origin: 0 50%; transform-style: preserve-3d; transition: transform 1.15s cubic-bezier(.3, .7, .15, 1);
  transform: translateZ(calc(var(--d) / 2)) rotateY(var(--bko-lid, 0deg)); }
.bko-lid img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3px 6px 6px 3px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bko-lid::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 7%; border-radius: 3px 0 0 3px; pointer-events: none; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(0, 0, 0, 0.28) 28%, rgba(255, 255, 255, 0.1) 46%, rgba(0, 0, 0, 0.12) 64%, rgba(0, 0, 0, 0) 100%); }
.bko-sheen { position: absolute; z-index: 1; inset: 0; border-radius: 3px 6px 6px 3px; pointer-events: none; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.13) 46%, rgba(255, 255, 255, 0.03) 54%, rgba(255, 255, 255, 0) 64%), linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.12));
  background-size: 260% 100%, 100% 100%; background-position: var(--bko-gx, 62%) 0, 0 0; transition: background-position 0.5s ease-out; }
.bko-inside { position: absolute; inset: 0; border-radius: 6px 3px 3px 6px; transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(270deg, #d9d1c0 0%, #f1ece1 8%, #f7f3ea 40%, #efe9dc 100%); }
/* open: the cover swings back, the book turns to the reader and moves over so that both pages are in view */
.bko.is-open .bko-sway, .bko.is-dragging .bko-sway, .bko.is-still .bko-sway { animation-play-state: paused; }
.bko.is-open { --bko-lid: -162deg; --bko-s: 0.94; }
.bko.is-open .bko-floor { transform: translateX(-50%) scaleX(1.45); }
.bko-hint { margin: 0.4rem 0 0; font: 600 var(--t-xs)/1.4 var(--sans); color: var(--blue); text-align: center; max-width: 19rem; }
.bko figcaption { margin-top: 0.35rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); text-align: center; max-width: 19rem; }
@media (max-width: 62rem) { .bko { --w: min(14.5rem, 52vw); justify-items: start; } .bko-stage::before { inset: -6% 0 -2%; } .bko.is-open { --bko-s: 0.78; } .bko-hint, .bko figcaption { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .bko-sway { animation: none; } .bko-body, .bko-lid, .bko-floor { transition: none; } }
/* the home page's book: the same object, small, a link to the book page */
.bk-front .bk-front-cover.bko { --w: min(7rem, 26vw); display: block; justify-items: start; text-decoration: none; background-image: none; }
.bk-front .bko-stage { width: calc(var(--w) * 1.45); height: calc(var(--h) * 1.12); }
.bk-front .bko-stage::before { inset: -4%; }
.bk-front .bko-body { --bko-ry: 26deg; }
.bk-front .bko-book { cursor: pointer; }
.bk-front .bko-spine-t { font-size: calc(var(--w) * 0.075); }
.bk-front .bk-front-cover:hover .bko-body, .bk-front .bk-front-cover:focus-visible .bko-body { --bko-ry: 10deg; }

/* Home page (November 2026): the question in a study, in a newsroom and in the press, together under the opening. The study keeps
   its guess; the other two are cards with one line each and a way on. */
.ev3 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin: clamp(1.5rem, 4vw, 2.75rem) 0 0; align-items: stretch; }
.ev3 .ev3-c { margin: 0; padding: clamp(1.2rem, 2.4vw, 1.75rem); border-radius: 14px; border: 1px solid #e1e7f0; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.ev3 .ev3-study { background: #f4f6fa; }
.ev3 .predict h2 { margin: 0 0 1.1rem; font-size: clamp(1.25rem, 0.95rem + 0.85vw, 1.6rem); }
.ev3 .predict-go { gap: 0.5rem; } .ev3 .predict-go .btn { padding: 0.55rem 0.8rem; }
.ev3-k { margin: 0 0 0.75rem; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--blue); }
.ev3-c h3 { margin: 0 0 0.6rem; font: 400 clamp(1.2rem, 1rem + 0.55vw, 1.45rem)/1.25 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.ev3-c h3 a { color: var(--ink); }
.ev3-c > p:not(.ev3-k):not(.predict-k):not(.predict-go):not(.predict-n) { margin: 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.ev3 .ev3-more { margin-top: auto; padding-top: 1rem; }
.ev3-more a { font: 600 var(--t-sm)/1.3 var(--sans); }
@media (max-width: 64rem) { .ev3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ev3 .ev3-study { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .ev3 { grid-template-columns: minmax(0, 1fr); } }

/* Press & Opinion: what an editor or an event organiser needs, together at the top */
.kit-row { margin: 1.4rem 0 0; padding: 0.9rem 1.1rem; border: 1px solid #e1e7f0; border-left: 3px solid var(--blue); border-radius: 10px; background: #fff; max-width: 40rem; }
.kit-row p { margin: 0 0 0.45rem; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--blue); }
.kit-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem 1.4rem; }
.kit-row li { margin: 0; font: 600 var(--t-sm)/1.4 var(--sans); }
.kit-row li span { font-weight: 400; font-size: var(--t-xs); color: var(--graphite); margin-left: 0.2rem; }

/* The menu's Research group (November 2026): the research pages under one entry. On a wide screen they open below it, on hover,
   on keyboard focus or with the small button; in the phone and compact menus they are listed under it. */
.nav-group { position: relative; display: inline-flex; align-items: center; }
.nav-group > a[aria-current="true"] { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.nav-more { display: inline-grid; place-items: center; width: 1.25rem; height: 1.7rem; margin: 0 0 0 0.05rem; padding: 0; border: 0; border-radius: 4px; background: none; color: inherit; cursor: pointer; }
.nav-more svg { width: 0.72rem; height: 0.72rem; transition: transform 0.2s; }
.nav-more:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.nav-sub { position: absolute; z-index: 80; top: calc(100% + 0.55rem); left: -0.85rem; min-width: 12.5rem; display: none; flex-direction: column; padding: 0.4rem;
  background: #fff; border: 1px solid #dfe6f1; border-radius: 10px; box-shadow: 0 20px 44px -18px rgba(15, 27, 45, 0.38); }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -0.65rem; height: 0.65rem; }
.nav .nav-sub a { padding: 0.55rem 0.7rem; border-radius: 6px; }
.nav .nav-sub a:hover, .nav .nav-sub a:focus-visible { background: #f1f5fb; }
.nav .nav-sub a[aria-current="page"] { text-decoration: none; font-weight: 700; box-shadow: inset 3px 0 0 var(--blue); }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub, .nav-group.is-open .nav-sub { display: flex; }
.nav-group:hover .nav-more svg, .nav-group.is-open .nav-more svg { transform: rotate(180deg); }
@media (max-width: 75rem) {
  .js .nav .nav-group { display: flex; flex-direction: column; align-items: stretch; }
  .js .nav .nav-more { display: none; }
  .js .nav .nav-sub { position: static; display: flex; min-width: 0; padding: 0 0 0 1rem; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .js .nav .nav-sub::before { display: none; }
  .js .nav .nav-sub a { padding: 0.6em 0; border-radius: 0; border-top: 1px solid var(--line); }
  .js .nav .nav-group > a[aria-current="true"] { text-decoration-line: none; font-weight: 700; }
}
.js.nav-compact .nav .nav-group { display: flex; flex-direction: column; align-items: stretch; }
.js.nav-compact .nav .nav-more { display: none; }
.js.nav-compact .nav .nav-sub { position: static; display: flex; min-width: 0; padding: 0 0 0 1rem; border: 0; border-radius: 0; background: none; box-shadow: none; }
.js.nav-compact .nav .nav-sub::before { display: none; }
.js.nav-compact .nav .nav-sub a { padding: 0.6em 0; border-radius: 0; border-top: 1px solid var(--line); }
.js.nav-compact .nav .nav-group > a[aria-current="true"] { text-decoration-line: none; font-weight: 700; }

/* the book page: the paradox, in real studies */
.evd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.evd-c { margin: 0; padding: clamp(1.1rem, 2.2vw, 1.5rem); border: 1px solid #e1e7f0; border-radius: 14px; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.evd-k { margin: 0 0 0.35rem; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--blue); }
.evd-c h3 { margin: 0 0 0.8rem; font: 400 clamp(1.2rem, 1rem + 0.5vw, 1.4rem)/1.2 var(--serif); letter-spacing: -0.01em; }
.evd-fig { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.95rem; padding: 0.8rem 0.95rem; background: #f4f6fa; border-radius: 10px; }
.evd-v { display: flex; flex-direction: column; min-width: 0; flex: 1 1 0; }
.evd-v b { font: 500 clamp(1.4rem, 1.05rem + 1vw, 1.85rem)/1.05 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
.evd-v small { margin-top: 0.25rem; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.evd-v--down b { color: #b3261e; } .evd-v--up b { color: #17723f; }
.evd-arrow { flex: none; width: 1.4rem; height: 0.9rem; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Cpath d='M1 7h20M15 1l6 6-6 6' fill='none' stroke='%235b6577' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.evd-c > p:not(.evd-k):not(.evd-fig):not(.evd-src):not(.evd-tests) { margin: 0; font: 400 var(--t-sm)/1.55 var(--sans); color: var(--graphite); }
.evd-src { margin: auto 0 0; padding-top: 0.9rem; font: 600 var(--t-xs)/1.35 var(--sans); }
.evd-note { margin: 1.2rem 0 0; max-width: 46rem; font: 400 var(--t-sm)/1.55 var(--sans); color: var(--graphite); }
.evd .section-head p { max-width: 48rem; }
.bk-ev-link a { font-weight: 600; }
@media (max-width: 64rem) { .evd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .evd-grid { grid-template-columns: minmax(0, 1fr); } }
.evd-fig--words .evd-v b { font-size: clamp(1.1rem, 0.95rem + 0.45vw, 1.3rem); line-height: 1.15; }
.evd-c--book { background: #eef3fb; border-color: #d6e2f3; }
.evd-tests { display: grid; gap: 0.45rem; margin: 0 0 0.9rem; }
.evd-tests span { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 0.5rem; padding: 0.55rem 0.75rem; background: #fff; border-radius: 8px; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--ink); }
.evd-tests b { font-weight: 600; color: var(--blue); }
.evd-c > p.evd-tests { color: var(--ink); }

/* ---- Services: the newsroom workshop first. Free with your desk, or booked with me: side by side, the same block on the
        Services page and on the game's pages for newsrooms and plans. The contact section keeps two routes apart:
        independent bookings and research projects with UiB. ---- */
.ws-k { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); margin: 0 0 0.75rem; }
.runbook { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem var(--gap); margin: 2.25rem 0 1.5rem; }
.runbook > div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.runbook > div + div { border-top-color: var(--blue); }
.runbook h3 { font: 400 var(--t-h3)/1.2 var(--serif); margin: 0 0 0.6rem; }
.runbook p { max-width: var(--measure); font-size: 1.0625rem; line-height: 1.5; margin: 0 0 0.6rem; }
.runbook p:last-child { margin-bottom: 0; }
.runbook a { font: 600 var(--t-sm)/1.3 var(--sans); }
.runbook p:not(:last-child) a { font: inherit; }
.ws-mail { margin-top: 1rem; }
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem var(--gap); margin: 2rem 0 0; }
.route { padding: 1.4rem 1.5rem 1.5rem; background: var(--fog); display: flex; flex-direction: column; }
.route h3 { font: 400 var(--t-h3)/1.2 var(--serif); margin: 0 0 0.6rem; }
.route p { max-width: var(--measure); margin: 0 0 1.1rem; }
.route .actions { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.ev3 .ev3-more { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.press-topics { max-width: var(--measure); margin: 0.6rem 0 0; }
@media (max-width: 48rem) {
  .runbook, .routes { grid-template-columns: minmax(0, 1fr); }
}

/* Home page round: hidden for the moment the server takes to send the day's real headline, so the invented one does not
   flash first. If no answer comes, it shows after four seconds anyway, also when the script never ran. */
.tease-wait [data-tease] > .what,
.tease-wait [data-tease] > .where,
.tease-wait [data-tease-foot] { visibility: hidden; animation: tease-wait-end 0s linear 4s forwards; }
@keyframes tease-wait-end { to { visibility: visible; } }
[data-tease].is-shown > .what, [data-tease].is-shown > .where { animation: tease-in 0.3s ease-out; }
@keyframes tease-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { [data-tease].is-shown > .what, [data-tease].is-shown > .where { animation: none; } }

/* ---------------------------------------------------------------- Second Look: the newsletter page and the edition choice */
.join-ed { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.join-ed legend { font: 600 var(--t-xs)/1.3 var(--sans); color: #4a5568; margin: 0 0 0.45rem; padding: 0; }
.join .join-ed label { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.6rem 0.75rem; margin: 0 0 0.4rem; border: 1px solid #dfe6f1; border-radius: 10px; background: #fff; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--ink); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.join .join-ed label:hover { border-color: #9db4d3; }
.join .join-ed label:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.join-ed input { margin-top: 0.2rem; flex: none; accent-color: var(--blue); width: 1rem; height: 1rem; }
.join-ed b { display: block; font-weight: 700; }
.join.is-done .join-ed { display: none; }
.join-t .join-more { margin: 0.9rem 0 0; }
.join-more a { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); }
.join--ed .join-go a + a { margin-left: 0.25rem; }

.nl-head .deck { max-width: 38em; }
.nl-when { margin-top: 0.9rem; font: 400 var(--t-sm)/1.5 var(--sans); }
.nl-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.nl-why li { margin: 0; padding: 1.4rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.nl-why li:not(:nth-child(3n + 1)) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.nl-why h3 { font: 500 var(--t-h3, 1.35rem)/1.2 var(--serif); margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.nl-why p { margin: 0 0 0.6rem; font: 400 var(--t-sm)/1.55 var(--sans); color: #26323f; }
.nl-why a { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); }

[data-nl-root][data-ed="young"] [data-eds]:not([data-eds~="young"]),
[data-nl-root][data-ed="everyday"] [data-eds]:not([data-eds~="everyday"]),
[data-nl-root][data-ed="expert"] [data-eds]:not([data-eds~="expert"]) { display: none; }
.nl-tabs { display: inline-flex; gap: 0.25rem; padding: 0.25rem; background: var(--fog); border-radius: 999px; margin: 0 0 0.9rem; }
.nl-tabs[hidden] { display: none; }
.nl-tabs button { font: 600 var(--t-sm)/1 var(--sans); color: var(--ink); background: transparent; border: 0; border-radius: 999px; padding: 0.7rem 1.1rem; cursor: pointer; }
.nl-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.nl-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nl-ed-line { margin: 0 0 1.25rem; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); max-width: 46em; }
.nl-mock { max-width: 40rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -32px rgba(15, 27, 45, 0.35); }
.nl-mast { background: var(--ink); color: #fff; padding: 1.6rem 1.75rem 1.5rem; }
.nl-mast p { margin: 0; }
.nl-date { font: 700 var(--t-xs)/1.3 var(--sans); color: #9cc8f5; }
.nl-name { font: 400 clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem)/1 var(--serif); margin-top: 0.7rem !important; }
.nl-sub { font: 400 var(--t-sm)/1.45 var(--sans); color: #dbe4f0; margin-top: 0.6rem !important; }
.nl-checked { display: inline-block; margin-top: 0.9rem !important; background: #f2b441; color: var(--ink); font: 700 var(--t-xs)/1 var(--sans); padding: 0.45rem 0.6rem; }
.nl-checked::before { content: "✓ "; }
.nl-body { padding: 1.4rem 1.75rem 1.6rem; }
.nl-note p { font: 400 1.08rem/1.55 var(--serif); margin: 0 0 1rem; }
.nl-nums { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; background: var(--ink); }
.nl-nums li { flex: 1; margin: 0; padding: 0.8rem 0.9rem; color: #dbe4f0; font: 400 var(--t-xs)/1.35 var(--sans); }
.nl-nums li + li { border-left: 1px solid #2b3d59; }
.nl-nums b { display: block; font: 400 1.9rem/1 var(--serif); color: #f2b441; margin-bottom: 0.35rem; }
.nl-story { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.nl-story p { margin: 0; }
.nl-story--lead { border-top: 0; padding-top: 0.2rem; }
.nl-k { font: 700 var(--t-xs)/1.2 var(--sans); color: var(--blue); margin-bottom: 0.5rem !important; }
.nl-o { font: 700 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.nl-t { font: 400 1.25rem/1.25 var(--serif); margin-top: 0.25rem !important; }
.nl-story--lead .nl-t { font-size: 1.6rem; }
.nl-s { font: 400 var(--t-sm)/1.5 var(--sans); color: #26323f; margin-top: 0.4rem !important; }
.nl-sig { display: inline-block; margin-top: 0.6rem !important; background: #fff4d9; border-left: 3px solid #f2b441; padding: 0.3rem 0.55rem; font: 600 var(--t-xs)/1.4 var(--sans); }
.nl-box { background: var(--fog); border-left: 4px solid var(--blue); padding: 0.85rem 1rem; margin: 0.9rem 0 0; }
.nl-box--sun { border-left-color: #f2b441; }
.nl-box p { margin: 0.3rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); }
.nl-box .nl-bh { margin: 0; font: 700 var(--t-xs)/1.2 var(--sans); color: var(--blue); }
.nl-box .nl-bq { font: 400 1.3rem/1.25 var(--serif); margin-top: 0.4rem; }
.nl-btn { display: inline-block; margin-top: 0.7rem !important; background: var(--blue); color: #fff; font: 700 var(--t-xs)/1 var(--sans) !important; padding: 0.65rem 0.9rem; }
.nl-sec { margin: 1.6rem 0 0.2rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--ink); font: 700 var(--t-sm)/1 var(--sans); }
.nl-sec--sun { border-bottom-color: #f2b441; }
.nl-small { font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); margin: 0.5rem 0 0; }
.nl-paper { border-top: 1px solid var(--line); margin-top: 0.7rem; padding-top: 0.7rem; }
.nl-paper p { margin: 0; }
.nl-paper .nl-t { font-size: 1.05rem; }
.nl-bars { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.nl-bars li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 2rem; gap: 0.6rem; align-items: center; margin: 0 0 0.35rem; font: 400 var(--t-xs)/1.3 var(--sans); }
.nl-bars i { display: block; height: 0.6rem; width: var(--w); background: #9db4d3; }
.nl-bars b { font-weight: 700; }
.nl-events { list-style: none; margin: 0; padding: 0; }
.nl-events li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.8rem; margin: 0; padding: 0.6rem 0; border-top: 1px solid var(--line); font: 400 var(--t-sm)/1.4 var(--sans); }
.nl-events li:first-child { border-top: 0; }
.nl-events b { color: var(--blue); font-size: var(--t-xs); }
.nl-method { margin: 1.3rem 0 0; border: 1px solid var(--line); padding: 0.8rem 0.9rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.nl-method b { color: var(--ink); }
.nl-foot { margin: 1.4rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.nl-ex { margin-top: 1rem; font: 400 var(--t-xs)/1.5 var(--sans); max-width: 40rem; }
.nl-faq details { border-top: 1px solid var(--line); padding: 0.9rem 0; max-width: 44rem; }
.nl-faq details:last-child { border-bottom: 1px solid var(--line); }
.nl-faq summary { cursor: pointer; font: 600 var(--t-base)/1.35 var(--sans); }
.nl-faq details p { margin: 0.6rem 0 0; }
@media (max-width: 62rem) {
  .nl-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nl-why li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .nl-why li:nth-child(2n) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
}
@media (max-width: 40rem) {
  .nl-why { grid-template-columns: minmax(0, 1fr); }
  .nl-why li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .nl-why li { padding-right: 0; }
  .nl-body, .nl-mast { padding-left: 1.1rem; padding-right: 1.1rem; }
  .nl-nums { flex-wrap: wrap; }
  .nl-nums li { flex: 1 1 40%; }
  .nl-bars li { grid-template-columns: 7rem minmax(0, 1fr) 1.6rem; }
  .nl-tabs { display: flex; width: 100%; box-sizing: border-box; }
  .nl-tabs button { flex: 1; padding-inline: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) { .join .join-ed label { transition: none; } }
.nl-band { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2.5rem; padding: 1.5rem 1.75rem; background: var(--ink); color: #fff; border-radius: 4px; }
.nl-band > div { flex: 1 1 24rem; }
.nl-band h3 { margin: 0 0 0.4rem; font: 400 clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem)/1.15 var(--serif); color: #fff; }
.nl-band p { margin: 0; font: 400 var(--t-sm)/1.5 var(--sans); color: #dbe4f0; max-width: 40em; }
.nl-band .nl-band-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.nl-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.nl-band .btn:hover, .nl-band .btn:focus-visible { background: #9cc8f5; border-color: #9cc8f5; color: var(--ink); }
.nl-band a:not(.btn) { color: #9cc8f5; font: 600 var(--t-sm)/1.3 var(--sans); }
.nl-vs-wrap { margin: 0 0 2.5rem; }
.nl-vs { width: 100%; border-collapse: collapse; font: 400 var(--t-sm)/1.45 var(--sans); }
.nl-vs thead th { text-align: left; font: 700 var(--t-xs)/1.3 var(--sans); color: var(--graphite); padding: 0 1rem 0.6rem 0; border-bottom: 2px solid var(--ink); }
.nl-vs thead th:last-child { color: var(--blue); }
.nl-vs tbody th { text-align: left; font: 600 var(--t-sm)/1.35 var(--sans); padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--line); width: 11rem; vertical-align: top; }
.nl-vs td { padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--graphite); }
.nl-vs td:last-child { color: var(--ink); font-weight: 500; padding-left: 1rem; background: #f3f6fc; border-left: 3px solid var(--blue); }
.nl-vs thead th:last-child { padding-left: 1rem; }
@media (max-width: 40rem) {
  .nl-vs thead { display: none; }
  .nl-vs, .nl-vs tbody, .nl-vs tr, .nl-vs th, .nl-vs td { display: block; width: auto; }
  .nl-vs tr { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
  .nl-vs tbody th, .nl-vs td { border-bottom: 0; padding: 0.15rem 0; }
  .nl-vs td::before { content: attr(data-l) ": "; font-weight: 700; color: var(--graphite); }
  .nl-vs td:last-child { margin-top: 0.35rem; padding: 0.5rem 0.7rem; }
  .nl-vs td:last-child::before { color: var(--blue); }
}
.nl-look { padding: 0.8rem 0 0.2rem; }
.nl-look p { margin: 0; }
.nl-lk { font: 700 var(--t-xs)/1.3 var(--sans); color: var(--blue); }
.nl-look .nl-t { margin-top: 0.3rem !important; }
.nl-look mark { background: #fff1c7; color: inherit; padding: 0 0.12em; }
.nl-ask { margin-top: 0.5rem !important; font: 400 var(--t-sm)/1.45 var(--sans); }
.nl-gauge { display: flex; height: 0.75rem; margin: 0.6rem 0 0 !important; overflow: hidden; border-radius: 2px; }
.nl-gauge i { display: block; width: var(--w); }
.nl-gauge .h { background: #2b8a5e; } .nl-gauge .n { background: #c5ccd6; } .nl-gauge .w { background: #d9622b; }
.nl-gauge-l { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; margin: 0.4rem 0 0 !important; font: 700 var(--t-xs)/1.3 var(--sans) !important; }
.nl-gauge-l .h { color: #23734f; } .nl-gauge-l .n { color: var(--graphite); } .nl-gauge-l .w { color: #c2531f; }

/* the example issue, drawn like the email itself: the website's paper, ink and one blue */
.nl-mast { background: #fff; color: var(--ink); padding: 1.3rem 1.75rem 0.4rem; }
.nl-brand { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--ink); font: 400 1rem/1 var(--serif); }
.nl-brand span + span { font: 600 var(--t-xs)/1 var(--sans); color: var(--blue); }
.nl-date { color: var(--blue); margin-top: 1.1rem !important; }
.nl-name { color: var(--ink); letter-spacing: -0.02em; }
.nl-sub { color: var(--graphite); font: 400 1.05rem/1.45 var(--serif); }
.nl-checked { background: var(--tint); color: var(--blue); border-radius: 999px; padding: 0.45rem 0.75rem; }
.nl-body { padding-top: 0.6rem; }
.nl-nums { background: var(--fog); border-top: 2px solid var(--blue); }
.nl-nums li { color: var(--graphite); }
.nl-nums li + li { border-left-color: var(--line); }
.nl-nums b { color: var(--blue); }
.nl-sig { background: var(--tint); border-left: 0; border-radius: 999px; color: var(--blue); padding: 0.3rem 0.7rem; }
.nl-sec { margin: 1.9rem 0 0.3rem; padding: 0.7rem 0 0; border-top: 1px solid var(--ink); border-bottom: 0; font: 400 1.35rem/1.15 var(--serif); letter-spacing: -0.01em; }
.nl-sec--sun { border-top-color: var(--ink); }
.nl-box { background: #f3f6fc; border: 1px solid #dfe6f1; border-radius: 12px; }
.nl-box--sun { border-left: 3px solid var(--blue); }
.nl-btn { border-radius: 2px; }
.nl-look mark { background: var(--mark); }
.nl-s { font: 400 1rem/1.55 var(--serif); }
.nl-box p:not(.nl-bh):not(.nl-gauge-l) { font-family: var(--serif); font-size: 1rem; }
.nl-foot { color: var(--graphite); }

/* While the statistics question is open, the AI switch and “Jump to” sit above it instead of under it (phones and tablets,
   where the question spans the screen). Its height is measured, so a question that wraps to more lines still clears them. */
@media (max-width: 62rem) {
  .stats-open .ai-fab, .stats-open .fx-fab { bottom: calc(var(--ask-h, 8rem) + 1.6rem); }
  .stats-open .ai-pop, .stats-open .ai-tip { bottom: calc(var(--ask-h, 8rem) + 4.7rem); }
}

/* Home, Try it yourself: the game and the 90-second case side by side, as one invitation */
.try-two { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.try-c { min-width: 0; }
.try-k { margin: 0 0 0.45rem; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); }
.try-c h3 { margin: 0 0 0.6rem; font: 400 clamp(1.45rem, 1.15rem + 0.9vw, 1.9rem)/1.15 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.try-p { margin: 0 0 0.4rem; max-width: 36em; }
.try-live { margin: 0 0 1.25rem; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.try-game [data-play-facts] { margin: -0.5rem 0 1.25rem; font: 400 var(--t-sm)/1.5 var(--sans); max-width: 40rem; }
.try-game .play-teams { margin: 1.5rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); max-width: 40rem; }
.try-case .ask-viz { margin-top: 1.25rem; }
.try-case .actions { margin: 1.4rem 0 0.5rem; }
.try-note { margin: 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--graphite); }
.try-game { container-type: inline-size; }
/* the round is live: the same green mark as the other live parts, at the right of the card's first line */
.try-game > .live-pill { float: right; margin: 0.05rem 0 0.4rem 1rem; }
@media (min-width: 64.01rem) {
  .try-game .tease { grid-template-columns: minmax(0, 1fr) 12.5rem; }
  .try-game .tease-headline { font-size: clamp(1.5rem, 4.8cqi, 2.35rem); }
}
/* a narrow card: the question and the six places go under the headline (in two columns where they fit), and the answer's line
   takes room only once there is an answer */
@container (max-width: 40rem) {
  .try-game .tease { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 1.25rem; }
  .try-game .tease > .what, .try-game .tease > .where, .try-game .tease > .tease-result { grid-column: 1; grid-row: auto; min-height: 0; }
  .try-game .tease > .tease-result:empty { display: none; }
}
@container (min-width: 28rem) and (max-width: 40rem) {
  .try-game .where .tease-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}
@media (max-width: 64rem) { .try-two { grid-template-columns: minmax(0, 1fr); row-gap: clamp(2.5rem, 6vw, 3.5rem); } }

/* Home, evidence from real media settings: two cases, now that TV 2 leads the evidence row at the top */
@media (min-width: 48.01rem) { .cases3--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Home, Keep up with AI: the live figures, the latest headlines, the list and the newsletter in one band */
.pulse-h { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 1.25rem; font: 400 clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem)/1.1 var(--serif); letter-spacing: -0.01em; color: #fff; }
.pulse-h .now-dot { flex: none; width: 0.65rem; height: 0.65rem; }
.hub-band .pulse { margin-top: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; }
.hub-band .pulse > .pulse-h { grid-column: 1; grid-row: 1; margin: 0; }
.hub-band .pulse > .live-pill, .hub-band .news-front > .live-pill { grid-column: 2; grid-row: 1; margin: 0; align-self: center; max-width: none; }
.hub-band .pulse > .pulse-grid { grid-column: 1 / -1; margin-top: 1.25rem; }
.hub-band .news-front { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.25rem; }
.hub-band .news-front > .news-front-head { grid-column: 1; grid-row: 1; }
.hub-band .news-front > .news-list { grid-column: 1 / -1; }
.hub-band .pulse[hidden], .hub-band .news-front[hidden] { display: none; }
/* on a phone the mark takes a line of its own above the heading, so that a longer "Offline" note does not squeeze it */
@media (max-width: 40rem) {
  .hub-band .pulse > .live-pill, .hub-band .news-front > .live-pill { grid-column: 1 / -1; grid-row: 1; justify-self: end; margin-bottom: 0.6rem; max-width: 100%; }
  .hub-band .pulse > .pulse-h, .hub-band .news-front > .news-front-head { grid-column: 1 / -1; grid-row: 2; }
}
.hub-band .news-front { margin: 0 0 clamp(2rem, 4vw, 3rem); }
.news-front-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.35rem 1.5rem; margin: 0 0 0.9rem; }
.news-front-head h3 { margin: 0; font: 400 var(--t-h3)/1.2 var(--serif); letter-spacing: -0.01em; }
.news-front-head p { margin: 0; font: 400 var(--t-sm)/1.45 var(--sans); }
.news-front-head .muted { margin-left: 0.6rem; }

/* Home, About: the figures from the record that the text does not already give */
.record-h { margin: clamp(2.25rem, 5vw, 3.25rem) 0 1rem; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--ink); }
@media (min-width: 64.01rem) { .record-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.record-grid--five dd { font-size: clamp(2.25rem, 1.3rem + 2.4vw, 3.25rem); }

/* Demo cards side by side (the game's home page, Hunchpin for schools and for universities): the cards share one height and the
   answers sit at the bottom of each, so the buttons line up across the row; the double-check stays right under the assistant's note */
.drill-wrap--two { align-items: stretch; }
.drill-wrap--two > .drill-demo, .nth-way .drill-demo.is-mini { display: flex; flex-direction: column; }
.drill-wrap--two > .drill-demo > .drill-opts { margin-top: auto; padding-top: 1.25rem; }
.nth-way .drill-demo.is-mini > .drill-opts { margin-top: auto; padding-top: 0.8rem; }

/* Second Look: the three editions side by side, as in a product comparison. The script makes one column per edition from the
   example; what an edition leaves out becomes a dash (.nl-none), so every column has the same rows and they line up (subgrid).
   On a phone the tabs show one column at a time. */
.nl-cmp .nl-mock { max-width: none; }
.nl-none { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.15rem; margin: 0.9rem 0 0; padding: 0.75rem 0.9rem; border: 1px dashed #d3dae5; border-radius: 12px; text-align: center; color: var(--graphite); font: 400 var(--t-xs)/1.4 var(--sans); }
.nl-none::before { content: "—"; font: 400 1.5rem/1 var(--serif); color: #9aa6b5; }
.nl-none b { font-weight: 700; color: #5b6676; }
@media (max-width: 64rem) {
  .nl-cmp .nl-col-name, .nl-cmp .nl-col-intro { display: none; }
  [data-nl-root][data-ed="young"] .nl-cmp > .nl-col:not([data-col="young"]),
  [data-nl-root][data-ed="everyday"] .nl-cmp > .nl-col:not([data-col="everyday"]),
  [data-nl-root][data-ed="expert"] .nl-cmp > .nl-col:not([data-col="expert"]) { display: none; }
}
@media (min-width: 64.01rem) {
  .has-cmp .nl-tabs, .has-cmp .nl-ed-line { display: none; }
  .nl-cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1rem, 1.6vw, 1.5rem); }
  .nl-col-name { grid-row: 1; position: sticky; top: var(--header-h); z-index: 3; margin: 0; padding: 0.75rem 0 0.6rem; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 2px solid var(--ink); }
  .nl-col-name h3 { margin: 0; font: 400 1.55rem/1.1 var(--serif); letter-spacing: -0.015em; }
  .nl-col-intro { grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 0.8rem 0 1.4rem; }
  .nl-col-intro p { margin: 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
  .nl-col-intro .btn { margin-top: auto; }
  .nl-cmp > .nl-col { display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .nl-cmp > .nl-col > .nl-mast { grid-row: 1; }
  .nl-cmp > .nl-col > .nl-body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; row-gap: 0; }
  /* narrower than the single example: the email as it looks on a phone */
  .nl-cmp .nl-mast { padding: 1.1rem 1.15rem 0.3rem; }
  .nl-cmp .nl-body { padding: 0.5rem 1.15rem 1.3rem; }
  .nl-cmp .nl-brand { flex-wrap: wrap; row-gap: 0.35rem; font-size: 0.95rem; }
  .nl-cmp .nl-name { font-size: clamp(2rem, 1.1rem + 1.5vw, 2.6rem); }
  .nl-cmp .nl-sub { font-size: 0.98rem; }
  .nl-cmp .nl-note p { font-size: 1.02rem; }
  .nl-cmp .nl-nums li { padding: 0.7rem 0.6rem; }
  .nl-cmp .nl-nums b { font-size: 1.6rem; }
  .nl-cmp .nl-story--lead .nl-t { font-size: 1.4rem; }
  .nl-cmp .nl-t { font-size: 1.15rem; }
  .nl-cmp .nl-box { padding: 0.8rem 0.85rem; }
  .nl-cmp .nl-bars li { grid-template-columns: 6.6rem minmax(0, 1fr) 1.5rem; gap: 0.45rem; }
  .nl-cmp .nl-events li { grid-template-columns: 4.4rem minmax(0, 1fr); gap: 0.6rem; }
}
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 64.01rem) { .nl-cmp { align-items: start; } .nl-cmp > .nl-col, .nl-cmp > .nl-col > .nl-body { display: block; } }
}

/* The mood of the week: a needle for this week (a thin line for last week), and a line for each day of the week */
.nl-mood .nl-dial-w { width: min(100%, 14rem); margin: 0.75rem 0 0; }
.nl-dial { display: block; width: 100%; height: auto; }
.nl-mood p.nl-dial-l { display: flex; justify-content: space-between; margin: 0.2rem 0 0; font: 700 var(--t-xs)/1.2 var(--sans) !important; }
.nl-dial-l span:first-child { color: #c2531f; }
.nl-dial-l span:last-child { color: #23734f; }
.nl-mood p.nl-mood-k { margin-top: 0.25rem; color: var(--graphite); font: 400 var(--t-xs)/1.45 var(--sans) !important; }
.nl-mood p.nl-mood-h { margin-top: 1rem; font: 700 var(--t-xs)/1.4 var(--sans) !important; color: var(--ink); }
.nl-mood p.nl-mood-h span { display: block; font-weight: 400; color: var(--graphite); }
.nl-trend { display: block; width: 100%; height: auto; margin-top: 0.45rem; border-radius: 4px; }
.nl-mood p.nl-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0.3rem 0 0.35rem; text-align: center; color: var(--graphite); font: 600 0.7rem/1 var(--sans) !important; }

/* Keep up with AI: the next twelve conferences, and a button for the rest */
.hub-more { margin-top: 1rem; }

/* The footer: subscribe to Second Look from every page */
.footer-nl { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.footer-nl h2 { margin-bottom: 0.35rem; }
.footer-nl p { margin: 0 0 0.9rem; color: var(--graphite); }
.site-footer .footer-nl .btn { text-decoration: none; }

/* Second Look's page: the top. Who it is from, the sign-up right there, and the top of the email itself beside it */
.nl-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (min-width: 64.01rem) { .nl-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2.5rem, 5vw, 4.5rem); } }
.nl-hero .deck { max-width: 34em; }
.nl-by { display: flex; gap: 0.85rem; align-items: center; margin: 1.4rem 0 0; max-width: 36rem; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.nl-by img { width: 3rem; height: 3rem; border-radius: 50%; flex: none; object-fit: cover; }
.nl-quick { margin: 1.6rem 0 0; max-width: 34rem; }
.nl-quick[hidden] { display: none; }
.nl-quick-ed { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; margin: 0 0 0.8rem; padding: 0.25rem; border: 0; border-radius: 999px; background: var(--fog); }
.nl-quick-ed legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl-quick-ed label { position: relative; display: block; cursor: pointer; }
.nl-quick-ed input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.nl-quick-ed span { display: block; padding: 0.55rem 0.95rem; border-radius: 999px; font: 600 var(--t-sm)/1 var(--sans); color: var(--ink); }
.nl-quick-ed input:checked + span { background: var(--ink); color: #fff; }
.nl-quick-ed input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.nl-quick-row { display: flex; gap: 0.6rem; }
.nl-quick-e { flex: 1; min-width: 0; }
.nl-quick-e input { display: block; width: 100%; box-sizing: border-box; height: 100%; min-height: 2.9rem; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #b9c3d1; border-radius: 8px; padding: 0.7rem 0.85rem; }
.nl-quick-e input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.nl-quick-row .btn { flex: none; }
.nl-quick-c { display: flex; gap: 0.55rem; align-items: flex-start; margin-top: 0.75rem; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--graphite); cursor: pointer; }
.nl-quick-c input { margin: 0.1rem 0 0; width: 1rem; height: 1rem; flex: none; accent-color: var(--blue); }
.nl-quick .join-msg { color: var(--blue); }
.nl-quick.is-done .nl-quick-ed, .nl-quick.is-done .nl-quick-row, .nl-quick.is-done .nl-quick-c { display: none; }
.nl-quick.is-done .join-msg { margin-top: 0; padding: 0.9rem 1rem; border-radius: 12px; background: var(--tint); }
.nl-nojs[hidden] { display: none; }
.nl-quick-more { margin: 0.4rem 0 0; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.nl-quick-more a { margin-left: 0.35rem; font-weight: 600; color: var(--blue); }
.nl-live { margin: 1.1rem 0 0; max-width: 34rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.nl-live[hidden] { display: none; }
.nl-live i { display: inline-block; width: 0.5rem; height: 0.5rem; margin: 0 0.5rem 0 0.15rem; border-radius: 50%; background: #13a05f; box-shadow: 0 0 0 3px rgba(19, 160, 95, 0.18); vertical-align: 0.05em; }
.nl-quick .join-msg:empty { min-height: 0; margin: 0; }
.nl-live b { color: var(--ink); }
.nl-peek { display: none; }
@media (min-width: 64.01rem) {
  .nl-peek:not([hidden]) { display: block; position: relative; max-height: 30rem; overflow: hidden; border-radius: 4px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .nl-peek-card { max-width: 26rem; margin-left: auto; pointer-events: none; }
  .nl-peek-card .nl-mast { padding: 1.1rem 1.25rem 0.3rem; }
  .nl-peek-card .nl-body { padding: 0.5rem 1.25rem 1rem; }
  .nl-peek-card .nl-name { font-size: 2.4rem; }
}
/* the table: links to where each figure lives on the site */
.nl-vs-go { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; margin-top: 0.4rem; }
.nl-vs-go a { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--blue); }
/* the switch for the differences between the editions */
.nl-diff { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.9rem 0.5rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 var(--t-sm)/1 var(--sans); color: var(--ink); cursor: pointer; }
.nl-diff[hidden] { display: none; }
.nl-diff i { position: relative; width: 2.1rem; height: 1.2rem; border-radius: 999px; background: #c5ccd6; transition: background 0.15s ease; flex: none; }
.nl-diff i::after { content: ""; position: absolute; top: 0.15rem; left: 0.15rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.3); transition: transform 0.15s ease; }
.nl-diff[aria-pressed="true"] i { background: var(--blue); }
.nl-diff[aria-pressed="true"] i::after { transform: translateX(0.9rem); }
.nl-diff:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nl-diff-note { margin: 0.5rem 0 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.nl-diff-note:empty { display: none; }
.nl-cmp .is-same { display: none; }
@media (prefers-reduced-motion: reduce) { .nl-diff i, .nl-diff i::after { transition: none; } }

/* Newsrooms: what sets Hunchpin apart */
.nw-src { margin-top: 0.7rem; font: 400 var(--t-xs)/1.5 var(--sans); }
.nw-three h3 { font: 400 var(--t-h3, 1.35rem)/1.2 var(--serif); }
/* Newsrooms: your own line, marked stop by stop, with the result beside it */
.yl { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem var(--gap); align-items: start; }
@media (max-width: 64rem) { .yl { grid-template-columns: minmax(0, 1fr); } }
.yl-form { margin: 0; }
.yl-row { margin: 0; padding: 0.85rem 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.yl-row:last-child { border-bottom: 1px solid var(--line); }
.yl-row legend { float: left; width: 100%; padding: 0; margin: 0 0 0.55rem; font: 400 var(--t-sm)/1.3 var(--sans); }
.yl-row legend b { margin-right: 0.35rem; }
.yl-row legend span { color: var(--graphite); }
.yl-opts { clear: both; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.yl-opts label { position: relative; display: block; }
.yl-opts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.yl-opts span { display: block; padding: 0.5rem 0.8rem; border: 1px solid #c9d3e0; border-radius: 999px; background: #fff; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--ink); }
.yl-opts input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.yl-opts input[value="o"]:checked + span { background: #c2531f; border-color: #c2531f; }
.yl-opts input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.yl-out { position: sticky; top: calc(var(--header-h) + 1rem); padding: 1.3rem 1.4rem 1.4rem; border: 1px solid #dfe6f1; border-radius: 14px; background: #f3f6fc; }
@media (max-width: 64rem) { .yl-out { position: static; } }
.yl-empty { margin: 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--graphite); }
.yl-line { position: relative; list-style: none; margin: 0.2rem 0 1.1rem; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.yl-line::before { content: ""; position: absolute; left: 7%; right: 7%; top: 0.5rem; height: 3px; border-radius: 2px; background: #c9d3e0; }
.yl-st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; text-align: center; font: 600 0.68rem/1.15 var(--sans); color: var(--graphite); }
.yl-st i { width: 1.15rem; height: 1.15rem; box-sizing: border-box; border-radius: 50%; border: 3px solid #c9d3e0; background: #fff; }
.yl-st.is-c i { background: var(--blue); border-color: var(--blue); }
.yl-st.is-o i { background: #d9622b; border-color: #d9622b; box-shadow: 0 0 0 4px rgba(217, 98, 43, 0.2); }
.yl-st.is-o span { color: #b4471a; }
.yl-st.is-u i { border-style: dashed; border-color: #7d8898; }
.yl-st.is-x i { border-color: #e1e6ee; }
.yl-sum { margin: 0 0 0.6rem; font: 400 1.05rem/1.5 var(--serif); }
.yl-item { margin: 0.75rem 0 0; padding-top: 0.75rem; border-top: 1px solid #dfe6f1; font: 400 var(--t-sm)/1.5 var(--sans); }
.yl-item b { display: block; margin-bottom: 0.2rem; }
.yl-item p { margin: 0.2rem 0 0; }
.yl-k { font-weight: 700; color: var(--graphite); }
.yl-start { margin: 0.9rem 0 0; padding: 0.6rem 0.8rem; border-radius: 10px; background: #fff; font: 400 var(--t-sm)/1.45 var(--sans); }
.yl-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.1rem; margin: 1.2rem 0 0; }
.yl-go a:not(.btn) { font: 600 var(--t-sm)/1.3 var(--sans); }
.yl-copy { padding: 0; border: 0; background: none; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
@media (max-width: 30rem) { .yl-st { font-size: 0.6rem; } .yl-out { padding: 1.1rem 1rem 1.2rem; } }

/* How to play: the editions, three cards of the same build; the claims card's note inside it */
.ht-eds li[hidden] { display: none; }
.ht-eds .ht-ed-note { margin-top: 0.6rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--graphite); }
.ht-eds .ht-ed-today { margin: -0.2rem 0 0.45rem; font: 700 var(--t-xs)/1.3 var(--sans); color: var(--blue); }

/* Just added: what the website found about me and I approved, at the top of Publications and Press & Opinion */
.mine-new { margin: 0 0 2rem; padding: 1.1rem 1.3rem 0.4rem; border: 1px solid #dfe6f1; border-left: 3px solid var(--blue); border-radius: 12px; background: #f3f6fc; }
.mine-new[hidden] { display: none; }
.mine-new h3 { margin: 0 0 0.3rem; font: 700 var(--t-xs)/1.3 var(--sans); color: var(--blue); }
.mine-new ul { list-style: none; margin: 0; padding: 0; }
.mine-new li { padding: 0.7rem 0; border-top: 1px solid #dfe6f1; }
.mine-new li:first-child { border-top: 0; }
.mine-meta { margin: 0 0 0.2rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }
.mine-meta b { color: var(--ink); margin-right: 0.15rem; }
.mine-new .mine-t { font: 400 1.15rem/1.35 var(--serif); color: var(--ink); text-decoration-color: rgba(15, 27, 45, 0.3); }
.mine-au { margin: 0.25rem 0 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--graphite); }

/* The round on the home page while it asks the server for a real headline: a quiet placeholder in the round's own shape,
   moving gently, instead of an empty box (CSS shows the round anyway after four seconds) */
.tease-wait [data-tease] { position: relative; }
.tease-wait [data-tease]::before {
  content: ""; position: absolute; z-index: 2; inset: clamp(1.1rem, 2.6vw, 2rem); pointer-events: none;
  background:
    linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.75) 50%, transparent 80%) -60% 0 / 40% 100% no-repeat,
    linear-gradient(#e7ecf2, #e7ecf2) 0 0 / 34% 0.95rem no-repeat,
    linear-gradient(#e7ecf2, #e7ecf2) 0 2.4rem / 56% 2.3rem no-repeat,
    linear-gradient(#e7ecf2, #e7ecf2) 0 5.3rem / 48% 2.3rem no-repeat,
    linear-gradient(#e7ecf2, #e7ecf2) 0 8.2rem / 38% 2.3rem no-repeat,
    linear-gradient(#e3ebf6, #e3ebf6) 0 12rem / 42% 1.2rem no-repeat,
    linear-gradient(#e7ecf2, #e7ecf2) 100% 0 / 30% 1.1rem no-repeat,
    linear-gradient(#eef2f6, #eef2f6) 100% 2.4rem / 30% 2.6rem no-repeat,
    linear-gradient(#eef2f6, #eef2f6) 100% 5.6rem / 30% 2.6rem no-repeat,
    linear-gradient(#eef2f6, #eef2f6) 100% 8.8rem / 30% 2.6rem no-repeat,
    linear-gradient(#eef2f6, #eef2f6) 100% 12rem / 30% 2.6rem no-repeat;
  animation: tease-shine 1.4s ease-in-out infinite, tease-wait-gone 0s linear 4s forwards;
}
@keyframes tease-shine { to { background-position: 160% 0, 0 0, 0 2.4rem, 0 5.3rem, 0 8.2rem, 0 12rem, 100% 0, 100% 2.4rem, 100% 5.6rem, 100% 8.8rem, 100% 12rem; } }
@keyframes tease-wait-gone { to { visibility: hidden; } }
@media (max-width: 40rem) {
  .tease-wait [data-tease]::before {
    background:
      linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.75) 50%, transparent 80%) -60% 0 / 40% 100% no-repeat,
      linear-gradient(#e7ecf2, #e7ecf2) 0 0 / 50% 0.95rem no-repeat,
      linear-gradient(#e7ecf2, #e7ecf2) 0 2rem / 92% 1.9rem no-repeat,
      linear-gradient(#e7ecf2, #e7ecf2) 0 4.4rem / 70% 1.9rem no-repeat,
      linear-gradient(#e3ebf6, #e3ebf6) 0 7.4rem / 64% 1.1rem no-repeat,
      linear-gradient(#e7ecf2, #e7ecf2) 0 10rem / 40% 1rem no-repeat,
      linear-gradient(#eef2f6, #eef2f6) 0 12rem / 100% 2.4rem no-repeat,
      linear-gradient(#eef2f6, #eef2f6) 0 15rem / 100% 2.4rem no-repeat,
      linear-gradient(#eef2f6, #eef2f6) 0 18rem / 100% 2.4rem no-repeat,
      linear-gradient(#eef2f6, #eef2f6) 0 21rem / 100% 2.4rem no-repeat,
      linear-gradient(#eef2f6, #eef2f6) 0 24rem / 100% 2.4rem no-repeat;
  }
  @keyframes tease-shine { to { background-position: 160% 0, 0 0, 0 2rem, 0 4.4rem, 0 7.4rem, 0 10rem, 0 12rem, 0 15rem, 0 18rem, 0 21rem, 0 24rem; } }
}
@media (prefers-reduced-motion: reduce) { .tease-wait [data-tease]::before { animation: tease-wait-gone 0s linear 4s forwards; } }

/* The live band under Keep up with AI, while it loads: three tiles in its own shape */
.pulse.is-skel { min-height: 12rem; }
.pulse .skel-pulse { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pulse .skel-pulse > span { height: 8.5rem; border-radius: 10px; background: linear-gradient(100deg, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.06) 70%) 0 0 / 300% 100%; animation: skel-pulse 1.4s ease-in-out infinite; }
@keyframes skel-pulse { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 48rem) { .pulse .skel-pulse { grid-template-columns: minmax(0, 1fr); } .pulse .skel-pulse > span { height: 4.5rem; } }
@media (prefers-reduced-motion: reduce) { .pulse .skel-pulse > span { animation: none; } }

/* Live sections that stay out until their content is in (what people discuss, papers discussed, the conversation on the press page,
   reading picks, the week's research map, research lines) show while they load, with placeholders in their own lists */
.is-skel-show[hidden] { display: block; }
li.skel.sk-li { display: block; list-style: none; }
.sk-row { display: grid; gap: 0.45rem; }
.sk-r1 { height: 1rem; width: 92%; } .sk-r2 { height: 1rem; width: 64%; } .sk-r3 { height: 0.7rem; width: 34%; }
.sk-card { display: grid; gap: 0.45rem; align-content: start; padding: 1.1rem 1.15rem 1.3rem; background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; }
.sk-card .sk-ch { height: 0.9rem; width: 45%; margin-bottom: 0.45rem; }
.sk-card .sk-r3 { margin-bottom: 0.55rem; }
li.skel.sk-stat { display: grid; gap: 0.45rem; }
.sk-chip { display: inline-block; height: 0.75rem; border-radius: 999px; }

/* The banner under the menu while it asks the server which banner runs today (a second and a half at most) */
html.js .site-flag.is-asking .wrap { position: relative; }
html.js .site-flag.is-asking .wrap::before {
  /* placed where the banner's words start, taking no room of its own, so the line keeps its height */
  content: ""; visibility: visible; position: absolute; width: min(24rem, 60%); height: 0.75rem; border-radius: 999px;
  background: linear-gradient(90deg, #dfe6f1 0%, #dfe6f1 38%, #eef2f8 50%, #dfe6f1 62%, #dfe6f1 100%) 0 0 / 300% 100%; animation: skel-sheen 1.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { html.js .site-flag.is-asking .wrap::before { animation: none; } }

/* ---------------------------------------------------------------- hunchpin.com, Hunchpin's own website
   The same stylesheet; the pages carry data-site="hunchpin". There is no site menu above Hunchpin's bar, so the bar sits at the
   very top. The home page: the question beside a real round, the three ways in, how a round goes, why, and free for now. */
[data-site="hunchpin"] { --header-h: 0px; }
.hp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start;
  padding-block: clamp(2rem, 5vw, 4.25rem) clamp(2rem, 4vw, 3.25rem); }
.hp-kicker { margin: 0 0 0.75rem; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--blue); }
.hp-hero h1 { margin: 0 0 1rem; font: 400 clamp(2.3rem, 1.6rem + 2.6vw, 3.9rem)/1.04 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
.hp-hero .deck { margin: 0 0 1.5rem; max-width: 34em; }
.hp-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.hp-facts li { margin: 0; padding: 0.3rem 0.7rem; border-radius: 999px; background: #eef2f8; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--ink); }
.hp-round { padding: clamp(1.1rem, 2.4vw, 1.75rem); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(15, 27, 45, 0.08); }
.hp-round .try-k { margin-bottom: 0.9rem; }
@media (max-width: 60rem) { .hp-hero { grid-template-columns: minmax(0, 1fr); } }
.hp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hp-card { display: flex; flex-direction: column; gap: 0.55rem; height: 100%; padding: 1.25rem 1.3rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  color: var(--ink); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.hp-card:hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(15, 27, 45, 0.08); }
.hp-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp-card small { font: 600 var(--t-xs)/1.2 var(--sans); color: var(--graphite); }
.hp-card b { font: 400 clamp(1.35rem, 1.15rem + 0.6vw, 1.65rem)/1.15 var(--serif); }
.hp-card span { font-size: var(--t-sm); color: var(--graphite); }
.hp-card .hp-go { margin-top: auto; padding-top: 0.4rem; font: 600 var(--t-sm)/1.2 var(--sans); color: var(--blue); }
@media (max-width: 52rem) { .hp-cards { grid-template-columns: minmax(0, 1fr); } }
.hp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: hp-step; }
.hp-steps li { counter-increment: hp-step; margin: 0; padding-top: 0.9rem; border-top: 2px solid var(--ink); font-size: var(--t-sm); color: var(--graphite); }
.hp-steps li::before { content: counter(hp-step); display: block; margin-bottom: 0.4rem; font: 400 1.6rem/1 var(--serif); color: var(--blue); }
.hp-steps b { display: block; margin-bottom: 0.25rem; font: 600 var(--t-base)/1.3 var(--sans); color: var(--ink); }
@media (max-width: 52rem) { .hp-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 30rem) { .hp-steps { grid-template-columns: minmax(0, 1fr); } }
.hp-why { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.hp-why p { max-width: 36em; }
.hp-free { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 16px; background: #f3f6fc; box-shadow: inset 3px 0 0 var(--accent); margin-block: 1rem clamp(2.5rem, 5vw, 4rem); }
.hp-free h2 { margin-top: 0; }
.hp-free p { max-width: 44em; }
@media (max-width: 52rem) { .hp-why { grid-template-columns: minmax(0, 1fr); } }
/* the legal pages: a detail the owner has not entered yet on the admin panel (tab Company) shows as a marked gap */
.hp-gap { padding: 0.05em 0.35em; border-radius: 4px; background: #fff3c4; color: #6a4b00; font: 600 0.92em/1.3 var(--sans); }
.hp-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.45rem 1.25rem; margin: 1rem 0 1.5rem; max-width: 46rem; }
.hp-dl dt { font: 600 var(--t-sm)/1.45 var(--sans); }
.hp-dl dd { margin: 0; }
@media (max-width: 36rem) { .hp-dl { grid-template-columns: minmax(0, 1fr); } .hp-dl dd { margin-bottom: 0.5rem; } }
.hp-legal h2 { scroll-margin-top: 6rem; }
.hp-legal table { width: 100%; max-width: 52rem; border-collapse: collapse; margin: 0.5rem 0 1.5rem; font-size: var(--t-sm); }
.hp-legal th, .hp-legal td { text-align: left; vertical-align: top; padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--line); }
.hp-legal th { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--graphite); }
.hp-langs { font: 400 var(--t-sm)/1.4 var(--sans); }
.hp-foot-line a { color: inherit; }
