/* ---------------------------------------------------------------------------
   Learning to Understand — blog stylesheet.

   Only the blog pages load this file. index.html keeps its own inline <style>
   block; the shared rules below are copied from it rather than shared, because
   index.html links no stylesheet at all. Do not link this from index.html — it
   sets body/aside/nav properties that would fight the inline block.

   css/style.css is dead code from an older design. Not used, not loaded.
   --------------------------------------------------------------------------- */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #000000;
  /* --muted is pure black on the main site, so label text needs its own token */
  --gray: #6e6e6e;
  --gray-2: #888888;
  --rule: #e5e5e5;
  --rule-strong: #111111;
  /* Set this to a colour to reintroduce one accent across prose and figures. */
  --accent: var(--text);
  --w-body: 300;
  --w-emph: 500;
  /* Text column width. 100% = prose fills the same box as the figures and
     tables. Dial this down (e.g. 44rem) for a narrower reading column. */
  --measure: 100%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lu {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 100;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

body.lu a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.lu a:hover {
  text-decoration: none;
}

/* ===========================================================================
   Blog index — mirrors the landing page's two-column shell
   =========================================================================== */

body.lu--index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.lu--index aside {
  border-right: 1px solid #111;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.lu--index nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  text-align: right;
}

.lu--index nav a {
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}

.lu--index nav a:hover {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.lu--index .nav-socials {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  font-size: 1.1rem;
}

.lu--index .nav-socials a {
  text-decoration: none;
  color: var(--text);
}

.lu--index .nav-socials a:hover {
  opacity: 0.6;
}

/* Current-page marker, shaped like the .nav-blog link on the landing page. */
.lu--index .nav-blog {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-top: 12px;
}

.lu--index .nav-blog__rule {
  width: 64px;
  border: none;
  border-top: 1px solid #111;
  margin: 0;
}

.lu--index .nav-blog span {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-align: right;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

.lu--index main {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.lu--index section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lu--index h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.lu--index p {
  margin: 0;
  max-width: 70ch;
}

.lu--index .lu-blurb {
  font-size: 0.95rem;
  color: var(--gray);
}

.blog-mark {
  flex: 0 0 auto;
  display: block;
}

/* Theme filter — the landing page's research filter, minus the round
   thumbnails: just the line-styled captions in a row. */
.research-areas {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
}

.research-areas .area {
  margin: 0;
  cursor: pointer;
}

.research-areas .area:hover figcaption,
.research-areas .area:focus-visible figcaption {
  background-color: #f6f6f6;
  outline: none;
}

.research-areas .area.is-active figcaption {
  background-color: #111;
  color: #fff;
  outline: none;
  text-decoration-color: #fff;
}

.research-areas .area figcaption {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 2px 5px;
  line-height: 1.3;
  display: inline-block;
  text-decoration-line: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  margin-top: 0;
  color: var(--text);
  font-style: normal;
  max-width: none;
}

.research-areas .area--solid figcaption {
  text-decoration-style: solid;
}

.research-areas .area--dotted figcaption {
  text-decoration-style: dotted;
}

.research-areas .area--wavy figcaption {
  text-decoration-line: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='3' viewBox='0 0 12 3'><path d='M0 1.5 Q 3 0.2 6 1.5 T 12 1.5' fill='none' stroke='%23111' stroke-width='1'/></svg>");
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 12px 3px;
  padding-bottom: 4px;
}

.research-areas .area--wavy.is-active figcaption {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='3' viewBox='0 0 12 3'><path d='M0 1.5 Q 3 0.2 6 1.5 T 12 1.5' fill='none' stroke='%23fff' stroke-width='1'/></svg>");
}

.research-areas .area--stars figcaption {
  text-decoration-line: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='1' viewBox='0 0 12 1'><line x1='0' y1='0.5' x2='8' y2='0.5' stroke='%23111' stroke-width='1'/></svg>");
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 12px 1px;
  padding: 2px 5px 1px;
}

.research-areas .area--stars.is-active figcaption {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='1' viewBox='0 0 12 1'><line x1='0' y1='0.5' x2='8' y2='0.5' stroke='%23fff' stroke-width='1'/></svg>");
}

.filter-all {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.3;
  padding: 2px 5px;
  border: none;
  background: transparent;
  color: #111;
  cursor: pointer;
  margin: 0;
}

.filter-all:hover,
.filter-all:focus-visible {
  background-color: #f6f6f6;
  outline: none;
}

.filter-all.is-active {
  background-color: #111;
  color: #fff;
  outline: none;
}

.lu--index footer {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--muted);
}

ul.entries {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

ul.entries > li {
  margin-bottom: 24px;
}

ul.entries > li:has(> .paper-year) {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
}

ul.entries > li:has(> .paper-year) > :not(.paper-year) {
  grid-column: 2;
}

.paper-year {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  color: var(--gray-2);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.paper-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 4px 0 4px;
}

.paper-title a {
  text-decoration: none;
  color: inherit;
}

.paper-title:hover,
.paper-title:hover a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.paper-meta {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 2px;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  margin-bottom: 14px;
}

.entry-tags .tag {
  padding: 0;
  cursor: pointer;
  background: transparent;
  display: inline-block;
  text-decoration-line: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.entry-tags .tag--solid {
  text-decoration-style: solid;
}

.entry-tags .tag--dotted {
  text-decoration-style: dotted;
}

.entry-tags .tag--wavy {
  text-decoration-line: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='3' viewBox='0 0 12 3'><path d='M0 1.5 Q 3 0.2 6 1.5 T 12 1.5' fill='none' stroke='%23111' stroke-width='1'/></svg>");
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 12px 3px;
  padding-bottom: 4px;
}

.entry-tags .tag--stars {
  text-decoration: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='1' viewBox='0 0 12 1'><line x1='0' y1='0.5' x2='8' y2='0.5' stroke='%23111' stroke-width='1'/></svg>");
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 12px 1px;
  padding-bottom: 1px;
}

/* ===========================================================================
   Post — single column. Not the two-column grid: the figures are authored at
   viewBox="0 0 640 ..." and would render into a ~560px column with sub-8px
   labels.
   =========================================================================== */

.lu--post .post__masthead,
.lu--post .post__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 56rem;
  margin: 0 auto;
  padding: 28px 40px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.lu--post .post__masthead {
  border-bottom: 1px solid var(--rule-strong);
}

.lu--post .post__foot {
  border-top: 1px solid var(--rule-strong);
  padding-bottom: 64px;
}

.lu--post .post__masthead a,
.lu--post .post__foot a {
  text-decoration: none;
}

.lu--post .post__bloglink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lu--post .post__masthead a:hover,
.lu--post .post__foot a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.lu--post .post {
  max-width: 56rem;
  margin: 0 auto;
  padding: 72px 40px 96px;
}

/* Text is capped at the measure; figures, tables and rules run the full
   content box. Capping by element rather than by depth keeps sections and the
   appendix from constraining what they contain. */
.lu--post .post p,
.lu--post .post h1,
.lu--post .post h2,
.lu--post .post h3,
.lu--post .post ol,
.lu--post .post ul,
.lu--post .post .math,
.lu--post .post .post__subtitle,
.lu--post .post .post__kicker,
.lu--post .post .proposition {
  max-width: var(--measure);
}

.lu--post .post section {
  margin-bottom: 72px;
}

.lu--post .post p {
  margin: 0 0 20px;
  /* a touch larger than the site's 1rem, to keep the longer line readable */
  font-size: 1.05rem;
  font-weight: var(--w-body);
  line-height: 1.75;
  text-wrap: pretty;
}

.lu--post .post p:last-child {
  margin-bottom: 0;
}

/* Header ------------------------------------------------------------------ */

.post__mark {
  display: block;
  margin-bottom: 28px;
}

.post__kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 32px;
}

.lu--post .post h1 {
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.lu--post .post .post__subtitle {
  font-size: 1.05rem;
  font-weight: 100;
  line-height: 1.5;
  color: var(--gray);
  margin: 0 0 32px;
}

.lu--post .post__header {
  margin-bottom: 36px;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

hr.rule--strong {
  border-top-color: var(--rule-strong);
}

/* Lede -------------------------------------------------------------------- */

.lu--post .lede p {
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 100;
  line-height: 1.65;
}

/* Headings ---------------------------------------------------------------- */

.lu--post .post h2 {
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.lu--post .post h3 {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.4;
}

/* Only the label half takes the site's uppercase h3 treatment — a 55-character
   letterspaced heading is unreadable. */
.h3__num {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 6px;
}

/* Prose bits -------------------------------------------------------------- */

.lu--post .post strong {
  font-weight: var(--w-emph);
}

.pull {
  font-size: 1.25rem;
  font-weight: 100;
  line-height: 1.45;
  margin: 32px 0;
  padding-left: 20px;
  border-left: 1px solid var(--text);
  text-wrap: pretty;
}

.lu--post .post .ask {
  font-size: 1.25rem;
  font-weight: 100;
  line-height: 1.5;
  margin: 0 0 28px;
}

/* Inline handset. Hairline stroke to match the figures, but at 24px design
   size the stroke needs to be heavier than 1 to read at text size. */
.icon-phone {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.24em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lu--post .post sup a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.7rem;
  padding-left: 1px;
}

.lu--post .post sup a:hover {
  text-decoration: underline;
}

/* Figures ----------------------------------------------------------------- */

.fig {
  margin: 0 0 48px;
}

.fig svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
}

/* Default fill for unclassed <text>. :where() keeps it at zero specificity so
   the .f-* classes below still win. These override the source's hardcoded
   fill/stroke attributes — presentation attributes lose to any declaration. */
:where(.fig text) {
  fill: var(--text);
}

.f-label {
  fill: var(--gray);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.f-num {
  fill: var(--text);
  font-size: 11px;
}

.f-tick {
  fill: var(--gray);
  font-size: 11px;
}

.f-axis {
  stroke: var(--text);
  stroke-width: 1;
  fill: none;
}

.f-rule {
  stroke: var(--rule);
  stroke-width: 1;
}

.f-ray {
  stroke: var(--text);
  stroke-width: 0.6;
  opacity: 0.55;
  fill: none;
}

/* The three encodings that replace the source's single accent colour:
   dashed stroke = unknown, hollow fill = model-implied, tone = emphasis. */
.f-dot {
  fill: var(--text);
}

.f-dot-open {
  fill: var(--bg);
  stroke: var(--text);
  stroke-width: 1;
}

.f-mark {
  fill: none;
  stroke: var(--text);
  stroke-width: 1;
}

.f-mark--heavy {
  stroke-width: 3;
}

.f-missing {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 4 5;
}

.f-series-a {
  stroke: var(--text);
  stroke-width: 1.25;
  fill: none;
}

.f-series-b {
  stroke: var(--text);
  stroke-width: 1.25;
  fill: none;
  stroke-dasharray: 4 4;
}

.f-threshold {
  stroke: var(--text);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.f-emph {
  fill: var(--text);
}

.f-bar-solid {
  fill: var(--text);
}

.f-bar-open {
  fill: var(--bg);
  stroke: var(--text);
  stroke-width: 1;
}

.f-bar-open.is-negative {
  fill: url(#hatch);
}

.f-verdict {
  fill: var(--gray);
}

.f-verdict.is-alarm {
  fill: var(--text);
}

figcaption {
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray);
  margin-top: 14px;
  max-width: var(--measure);
  text-wrap: pretty;
}

/* Interactive figure ------------------------------------------------------ */

.fig--interactive {
  border: 1px solid var(--rule);
  padding: 32px 36px 28px;
}

.fig__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

/* Carries the "this is interactive" signal, so it is weighted up and in the
   full text colour rather than the usual annotation grey. */
.fig__hint {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

.fig__readout {
  font-size: 0.82rem;
  font-weight: var(--w-body);
  font-variant-numeric: tabular-nums;
}

.fig__true {
  color: var(--gray);
}

.fig--interactive input[type="range"] {
  width: 100%;
  height: 2px;
  margin: 0 0 30px;
  accent-color: var(--accent);
}

/* Tables ------------------------------------------------------------------ */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 28px;
}

.lu--post table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  font-weight: var(--w-body);
  font-variant-numeric: tabular-nums;
}

.lu--post table th,
.lu--post table td {
  padding: 10px 8px;
  font-weight: inherit;
  white-space: nowrap;
}

.lu--post table .col-head {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
}

.lu--post table .r-top {
  border-top: 1px solid var(--rule-strong);
}

.lu--post table .r-bottom {
  border-bottom: 1px solid var(--rule-strong);
}

.lu--post table .r-thin {
  border-bottom: 1px solid var(--rule);
}

.lu--post table .num {
  text-align: center;
}

.lu--post table .sub {
  color: var(--gray);
}

/* Weight, not colour, is this site's emphasis device. */
.lu--post table .em {
  font-weight: var(--w-emph);
}

/* Footnotes and appendix -------------------------------------------------- */

.notes {
  list-style: none;
  padding-left: 0;
  margin: 0 0 88px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray);
  counter-reset: note;
}

.notes li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  text-wrap: pretty;
}

.notes li::before {
  counter-increment: note;
  content: counter(note);
  flex: 0 0 auto;
  color: var(--gray);
}

.notes a {
  color: var(--gray);
}

.note-back {
  text-decoration: none;
  padding-left: 6px;
}

.appendix {
  border-top: 1px solid var(--rule-strong);
  padding-top: 40px;
}

.appendix__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-bottom: 28px;
}

.lu--post .appendix p {
  font-size: 1rem;
}

.proposition {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: 22px 0;
  margin: 0 0 20px;
}

.proposition__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 12px;
}

.lu--post .proposition p {
  font-style: italic;
  margin: 0;
}

.proof {
  font-size: 0.9rem;
  color: var(--gray);
}

.proof__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Maths ------------------------------------------------------------------- */

.math {
  margin: 0 0 24px;
  text-align: center;
  overflow-x: auto;
  overflow-y: visible;
  padding: 10px 0;
}

.lu--post .katex {
  font-size: 1em;
}

.lu--post .katex-display {
  margin: 0;
}

/* ===========================================================================
   Breakpoints — the same three the landing page uses
   =========================================================================== */

@media (max-width: 960px) {
  body.lu--index {
    grid-template-columns: 1fr;
  }

  .lu--index aside {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #111;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 24px;
  }

  .lu--index nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    text-align: left;
  }

  .lu--index .nav-socials {
    width: 100%;
    margin-top: 4px;
    gap: 18px;
    align-items: center;
  }

  .lu--index .nav-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .lu--index .nav-blog {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-top: 0;
  }

  .lu--index .nav-blog__rule {
    width: 32px;
  }

  .lu--index .nav-blog span {
    text-align: left;
  }

  .lu--index main {
    padding: 40px 24px 88px;
    gap: 72px;
  }

  .lu--post .post {
    padding: 56px 32px 80px;
  }

  .lu--post .post__masthead,
  .lu--post .post__foot {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 720px) {
  .lu--post .post {
    padding: 40px 24px 72px;
  }

  .lu--post .post__masthead,
  .lu--post .post__foot {
    padding-left: 24px;
    padding-right: 24px;
  }

  .lu--post .post h1 {
    font-size: 1.7rem;
  }

  .lu--post .post section {
    margin-bottom: 48px;
  }

  .fig--interactive {
    padding: 24px 20px 20px;
  }
}

@media (max-width: 480px) {
  .lu--index aside {
    padding: 24px 18px;
    gap: 18px;
  }

  .lu--index nav {
    gap: 10px 14px;
  }

  .lu--index nav a,
  .lu--index .nav-blog span {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .lu--index .nav-socials {
    font-size: 1.2rem;
    gap: 22px;
  }

  .lu--index main {
    padding: 28px 18px 64px;
    gap: 56px;
  }

  .lu--index h2 {
    font-size: 1.3rem;
  }

  ul.entries > li:has(> .paper-year) {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  ul.entries > li:has(> .paper-year) > :not(.paper-year) {
    grid-column: 1;
  }

  .paper-year {
    padding-top: 0;
    padding-bottom: 2px;
    font-size: 0.78rem;
  }

  .paper-title {
    font-size: 0.95rem;
  }

  .lu--index footer {
    font-size: 0.78rem;
  }

  .lu--post .post {
    padding: 28px 18px 56px;
  }

  .lu--post .post__masthead,
  .lu--post .post__foot {
    padding: 18px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    flex-wrap: wrap;
    gap: 8px;
  }

  .lu--post .post h1 {
    font-size: 1.5rem;
  }

  .lu--post .post h2 {
    font-size: 1.3rem;
  }

  .lu--post .post p {
    font-size: 0.95rem;
  }

  .research-areas {
    gap: 8px 14px;
  }

  .research-areas .area figcaption,
  .filter-all {
    font-size: 0.78rem;
  }
}
