  :root {
    --bg: #EEF1E6;
    --bg-band: #E1E8D8;
    --ink: #1F3329;
    --ink-soft: #46584C;
    --rule: #C5D0BB;
    --link: #6B4A70;
    --heather: #7B5A80;
    --eucalyptus: #4F8790;
    --pollen: #D6A43C;
    --deep: #213A2D;
    --on-deep: #EAF0E2;
    --on-deep-soft: #BFCDB8;
    --focus: #6B4A70;
    --focus-on-deep: #E8BD5C;
    --circle-opacity: .5;
    --blend: multiply;
    --centre-text: #F6F8F1;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #17221C;
      --bg-band: #1D2B23;
      --ink: #E4EADC;
      --ink-soft: #B9C5B2;
      --rule: #34483B;
      --link: #DDBDE2;
      --heather: #B58DBA;
      --eucalyptus: #7DB3BB;
      --pollen: #E8BD5C;
      --deep: #0F1813;
      --on-deep: #E4EADC;
      --on-deep-soft: #AEBBA8;
      --focus: #E8BD5C;
      --circle-opacity: .5;
      --blend: screen;
      --centre-text: #17221C;
    }
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Atkinson Hyperlegible", "Atkinson Hyperlegible Next", Verdana, "Segoe UI", system-ui, sans-serif;
    font-size: 1.125rem;
    line-height: 1.65;
  }

  h1, h2, h3 {
    font-family: "Young Serif", Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.12;
    margin: 0;
  }

  a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
  a:hover { text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

  .wrap { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

  .skip {
    position: absolute; left: -9999px; top: 1rem;
    background: var(--ink); color: var(--bg);
    padding: .6rem 1rem; border-radius: 999px; z-index: 10;
  }
  .skip:focus { left: 1rem; }

  /* Header */
  .site-header {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: .75rem 2rem; padding-top: 1.5rem; padding-bottom: 1rem;
  }
  .brand {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: "Young Serif", Georgia, serif; font-size: 1.25rem;
    color: var(--ink); text-decoration: none;
  }
  .brand svg { width: 2.1rem; height: 2.1rem; }
  .brand circle { fill-opacity: .85; }
  .site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
  .site-nav a { color: var(--ink); text-decoration: none; padding: .25rem 0; }
  .site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }

  /* Hero */
  .hero {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
    padding-top: clamp(2.5rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  }
  .hero h1 { font-size: clamp(3.4rem, 9vw, 6.6rem); letter-spacing: -.02em; line-height: 1; }
  .lede { font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.35; max-width: 24ch; margin: 1.4rem 0 1rem; }
  .sub { color: var(--ink-soft); max-width: 44ch; margin: 0 0 2rem; }
  .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
  .btn {
    display: inline-block; padding: .75rem 1.35rem; border-radius: 999px;
    background: var(--ink); color: var(--bg); border: 2px solid var(--ink);
    text-decoration: none; font-weight: 700;
  }
  .btn:hover { background: transparent; color: var(--ink); }
  .btn-quiet { background: transparent; color: var(--ink); }
  .btn-quiet:hover { background: var(--ink); color: var(--bg); }

  /* Venn */
  .venn { margin: 0; justify-self: center; width: 100%; max-width: 27rem; }
  .venn svg { display: block; width: 100%; height: auto; overflow: visible; }
  .venn .circles { isolation: isolate; }
  .venn circle {
    fill-opacity: var(--circle-opacity);
    mix-blend-mode: var(--blend);
    transition: fill-opacity .45s ease;
  }
  .c-lived { fill: var(--heather); }
  .c-systems { fill: var(--eucalyptus); }
  .c-community { fill: var(--pollen); }
  .venn-label { fill: var(--ink); font-family: "Atkinson Hyperlegible", Verdana, sans-serif; font-weight: 700; font-size: 16px; transition: opacity .45s ease; }
  .venn-centre { fill: var(--centre-text); font-family: "Young Serif", Georgia, serif; font-size: 17px; transition: opacity .45s ease; }

  svg[data-active="lived"] circle:not(.c-lived),
  svg[data-active="systems"] circle:not(.c-systems),
  svg[data-active="community"] circle:not(.c-community) { fill-opacity: .1; }
  svg[data-active="lived"] .venn-label:not(.l-lived),
  svg[data-active="systems"] .venn-label:not(.l-systems),
  svg[data-active="community"] .venn-label:not(.l-community),
  svg[data-active="lived"] .venn-centre,
  svg[data-active="systems"] .venn-centre,
  svg[data-active="community"] .venn-centre { opacity: .25; }

  .strands { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
  .no-js .strands { display: none; }
  .strand {
    display: inline-flex; align-items: center; gap: .5rem;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: transparent; border: 2px solid var(--rule); border-radius: 999px;
    padding: .4rem .9rem; cursor: pointer;
  }
  .strand:hover { border-color: var(--ink); }
  .strand[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .swatch { width: .8rem; height: .8rem; border-radius: 50%; flex: none; }
  .sw-lived { background: var(--heather); }
  .sw-systems { background: var(--eucalyptus); }
  .sw-community { background: var(--pollen); }
  .sw-common { background: conic-gradient(var(--heather) 0 33%, var(--eucalyptus) 0 66%, var(--pollen) 0); }
  .venn-text { margin: 1rem 0 0; min-height: 5.4em; color: var(--ink-soft); max-width: 40ch; }

  @media (prefers-reduced-motion: no-preference) {
    .venn circle { animation: grow 1.1s cubic-bezier(.2, .7, .2, 1) both; transform-box: fill-box; transform-origin: center; }
    .venn .c-systems { animation-delay: .15s; }
    .venn .c-community { animation-delay: .3s; }
    .venn .labels { animation: fade .8s .9s both; }
    @keyframes grow { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
    @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  }

  /* Sections */
  .section { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
  .section h2 { font-size: clamp(2rem, 4.2vw, 2.75rem); letter-spacing: -.01em; }
  .intro { color: var(--ink-soft); max-width: 52ch; margin: .9rem 0 0; }
  .prose p { max-width: 62ch; margin: 0 0 1.15em; }
  .prose p:last-child { margin-bottom: 0; }

  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); }

  /* Roles */
  .band { background: var(--bg-band); }
  .role-groups {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.75rem;
  }
  .role-groups h3 { font-size: 1.45rem; }
  .group-note { color: var(--ink-soft); font-size: 1rem; margin: .35rem 0 0; }
  .roles { list-style: none; margin: 1.1rem 0 0; padding: 0; }
  .roles li { padding: .8rem 0; border-top: 1px solid var(--rule); }
  .roles strong { display: block; font-weight: 700; line-height: 1.35; }
  .roles span { display: block; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; margin-top: .2rem; }

  /* Principles */
  .principles {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem clamp(2rem, 5vw, 4.5rem); margin-top: 2.75rem;
  }
  .principles h3 { font-size: 1.4rem; margin-bottom: .6rem; }
  .principles p { margin: 0; max-width: 46ch; }

  /* Working together */
  .asks { list-style: none; margin: 0 0 1.5rem; padding: 0; max-width: 62ch; }
  .asks li { position: relative; padding-left: 1.75rem; margin-bottom: .55rem; }
  .asks li::before {
    content: ""; position: absolute; left: 0; top: .5em;
    width: .75rem; height: .75rem; border-radius: 50%;
    border: 2px solid var(--heather);
  }

  /* Contact */
  .contact { background: var(--deep); color: var(--on-deep); }
  .contact :focus-visible { outline-color: var(--focus-on-deep); }
  .contact p { color: var(--on-deep-soft); max-width: 52ch; }
  .email {
    display: inline-block; margin: 1.25rem 0 1.5rem;
    font-family: "Young Serif", Georgia, serif; font-size: clamp(1.6rem, 5vw, 3rem);
    color: var(--on-deep); overflow-wrap: anywhere;
    text-decoration-thickness: 2px; text-underline-offset: .18em;
  }
  .email:hover { text-decoration-thickness: 3px; }

  .site-footer { background: var(--deep); color: var(--on-deep-soft); font-size: 1rem; }
  .site-footer .wrap {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
    padding-top: 1.5rem; padding-bottom: 2rem; border-top: 1px solid rgba(234, 240, 226, .18);
  }
  .site-footer p { margin: 0; }

  @media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; }
    .venn { justify-self: start; max-width: 24rem; }
    .split, .role-groups, .principles { grid-template-columns: 1fr; }
  }

  /* News carousel (homepage) */
  .news-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 1.25rem 2rem;
  }
  .car-controls { display: flex; gap: .6rem; }
  .car-controls[hidden] { display: none; }
  .car-btn {
    width: 3rem; height: 3rem; border-radius: 50%;
    border: 2px solid var(--ink); background: transparent; color: var(--ink);
    display: inline-grid; place-items: center; cursor: pointer; padding: 0;
  }
  .car-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
  .car-btn:disabled { opacity: .3; cursor: default; }
  .car-btn svg { width: 1.2rem; height: 1.2rem; }

  .news-track {
    list-style: none; margin: 2.25rem 0 0; padding: .4rem .2rem .6rem;
    display: flex; gap: 1.5rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: .2rem;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .news-track::-webkit-scrollbar { display: none; }
  .news-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    scroll-snap-align: start; position: relative;
    display: flex; flex-direction: column; gap: .8rem;
    background: var(--bg); border: 1px solid var(--rule); border-radius: 1.25rem;
    padding: 1.5rem 1.5rem 1.6rem;
  }
  .news-card:hover { border-color: var(--ink); }
  .news-card h3 { font-size: 1.35rem; line-height: 1.22; }
  .news-card h3 a { color: var(--ink); text-decoration: none; }
  .news-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .news-card .summary { margin: 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.55; }
  .news-card .more { margin-top: auto; padding-top: .4rem; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
  .news-all { margin: 1.75rem 0 0; font-weight: 700; }
  .news-empty { color: var(--ink-soft); }

  .meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin: 0; font-size: .95rem; color: var(--ink-soft); }
  .tag { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--ink); }
  .tag::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--eucalyptus); }
  .tag-views::before { background: var(--heather); }

  @media (max-width: 960px) { .news-card { flex-basis: calc((100% - 1.5rem) / 2); } }
  @media (max-width: 640px) { .news-card { flex-basis: 86%; } }

  /* News and views page */
  .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
  .page-head { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 1rem; }
  .page-head h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); letter-spacing: -.02em; line-height: 1.02; }
  .page-head .strands { margin-top: 1.75rem; }
  .news-list { padding-top: 1.5rem; padding-bottom: clamp(3.5rem, 8vw, 6rem); }
  .post {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 1rem clamp(2rem, 5vw, 4rem);
    padding: 2.5rem 0; border-top: 1px solid var(--rule);
    scroll-margin-top: 1.5rem;
  }
  .post[hidden] { display: none; }
  .post .meta { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .post h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 1rem; }
  .post-link { font-weight: 700; }
  @media (max-width: 860px) {
    .post { grid-template-columns: 1fr; }
    .post .meta { flex-direction: row; align-items: center; }
  }

  /* Portrait */
  .portrait {
    display: block; width: 100%; max-width: 19rem; height: auto;
    margin-top: 2rem; border-radius: 1.25rem;
  }
  @media (max-width: 860px) { .portrait { max-width: 15rem; margin-top: 1.5rem; } }

  /* Publications and contact links */
  .citation {
    border-left: 3px solid var(--heather); padding: .2rem 0 .2rem 1.1rem;
    color: var(--ink-soft); font-size: 1rem; line-height: 1.55;
  }
  .citation strong { color: var(--ink); }
  .citation cite { font-style: italic; }
  .contact-link { color: var(--on-deep); font-weight: 700; }

  .previously { margin: 2.25rem 0 0; color: var(--ink-soft); font-size: 1rem; }
  .previously strong { color: var(--ink); }
