/* Post Control Initiative — Second Light v2.2, with the muted blue and stronger violet adopted 2026-11-18 */

:root {
  --ground: #ffffff;
  --ground-tint: #f6f8fa;
  --rule: #e3e6ec;
  --ink: #2b2d36;
  --ink-dim: #555869;
  --blue: #425b85;
  --blue-press: #344a71;
  --violet: #8c6ce4;
  --violet-deep: #6c42c3;
  --violet-wash: #e8e3ff;

  --field: #425b85;
  --field-rule: #788db1;
  --field-ink-dim: #f3f6fd;
  --lilac: #d4c6ff;

  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 96px);
  --wide: 1200px;
  --measure: 680px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
  scrollbar-color: #c9cede var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--blue);
}

::selection {
  background: var(--violet-wash);
  color: var(--ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: var(--blue);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease);
}

a:hover {
  color: var(--blue-press);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--violet-deep);
  outline-offset: 3px;
}

time,
.num {
  font-variant-numeric: tabular-nums lining-nums;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Arcs: violet above the line, blue below */

.arc-up {
  stroke: var(--violet);
}

.arc-down,
.mark-line {
  stroke: var(--blue);
}

/* Header */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--ground);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--blue);
  text-decoration: none;
}

.brand:hover {
  color: var(--blue);
}

.brand svg {
  flex: none;
  width: 46px;
  height: 23px;
}

.brand span {
  font: 400 21px/1 var(--serif);
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
}

.nav a {
  position: relative;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
}

.menu-toggle {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--blue);
  border-radius: 0;
  background: var(--ground);
  color: var(--blue);
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  transition: background-color 160ms var(--ease);
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: var(--ground-tint);
}

@media (max-width: 879px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0 20px;
    padding-bottom: 8px;
  }

  .js .site-header__inner {
    flex-wrap: nowrap;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .js .nav {
    display: none;
  }

  .js .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px var(--pad) 20px;
    background: var(--ground);
    border-bottom: 1px solid var(--rule);
    font-size: 17px;
  }

  .js .nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }

  .js .nav.is-open a[aria-current="page"]::after {
    display: none;
  }
}

@media (max-width: 439px) {
  .site-header__inner {
    gap: 12px;
    min-height: 64px;
  }

  .brand {
    gap: 8px;
  }

  .brand svg {
    width: 40px;
    height: 20px;
  }

  .brand span {
    font-size: 18px;
  }

  .menu-toggle {
    padding: 0 12px;
  }
}

@media (max-width: 359px) {
  .brand span {
    font-size: 16px;
  }
}

/* Layout */

.section {
  padding: var(--section) var(--pad);
}

.section--tint {
  background: var(--ground-tint);
}

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
}

.measure {
  max-width: var(--measure);
}

.stack > * + * {
  margin-top: 16px;
}

.after-title {
  margin-top: 24px;
}

/* Type */

.display {
  font: 400 clamp(40px, 3.4vw + 14px, 62px)/1.06 var(--display);
  letter-spacing: -0.005em;
  color: var(--blue);
}

.title {
  font: 400 clamp(30px, 1.6vw + 18px, 40px)/1.12 var(--display);
  color: var(--blue);
}

.subtitle {
  font: 400 clamp(21px, 0.4vw + 19px, 24px)/1.28 var(--serif);
  color: var(--blue);
}

.lead {
  font-size: clamp(18px, 0.4vw + 16px, 20px);
  line-height: 1.5;
}

.small {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-dim);
}

.lit {
  color: var(--violet-deep);
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(36px, 4vw, 48px);
}

.section-head .lead,
.section-head p {
  margin-top: 16px;
  max-width: var(--measure);
}

.more {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--blue);
  border-radius: 0;
  font: 500 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease);
}

.button:active {
  transform: scale(0.98);
}

.button--primary {
  background: var(--blue);
  color: #fff;
}

.button--primary:hover {
  background: var(--blue-press);
  border-color: var(--blue-press);
  color: #fff;
}

.button--secondary {
  background: var(--ground);
  color: var(--blue);
}

.button--secondary:hover {
  background: var(--ground-tint);
  color: var(--blue-press);
}

/* Hero with the living horizon */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: clamp(600px, calc(100svh - 77px), 740px);
  padding: clamp(56px, 8vh, 80px) 24px clamp(32px, 4.5vh, 44px);
  text-align: center;
}

.hero__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 max(0px, calc(var(--pad) - 24px));
}

.hero__text .lead {
  max-width: 660px;
}

.hero__stage {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  margin-top: 32px;
}

.hero__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(24px, 3.5vh, 36px);
}

.horizon {
  --circle: 84px;
  position: relative;
  container-type: inline-size;
}

.horizon__light {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: calc(var(--circle) / 2);
  height: 340px;
  pointer-events: none;
  transform: translateX(var(--shift, 0px));
  transition: transform 1.4s var(--ease);
  animation: dawn 1.8s ease-out both;
}

.horizon__light span {
  position: absolute;
  inset: 0;
}

.horizon__light .g1 {
  background: radial-gradient(30% 100% at 28% 100%, rgb(140 108 228 / 0.27), rgb(66 91 133 / 0.06) 55%, transparent 78%);
  animation: drift-a 14s ease-in-out infinite alternate;
}

.horizon__light .g2 {
  background: radial-gradient(34% 100% at 53% 100%, rgb(140 108 228 / 0.32), rgb(66 91 133 / 0.07) 55%, transparent 78%);
  animation: drift-b 19s ease-in-out -4s infinite alternate;
}

.horizon__light .g3 {
  background: radial-gradient(26% 100% at 76% 100%, rgb(140 108 228 / 0.24), rgb(66 91 133 / 0.05) 55%, transparent 78%);
  animation: drift-c 23s ease-in-out -9s infinite alternate;
}

@keyframes dawn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes drift-a {
  from {
    transform: translateX(-8%);
    opacity: 0.7;
  }
  to {
    transform: translateX(8%);
    opacity: 1;
  }
}

@keyframes drift-b {
  from {
    transform: translateX(7%);
    opacity: 1;
  }
  to {
    transform: translateX(-7%);
    opacity: 0.72;
  }
}

@keyframes drift-c {
  from {
    transform: translateX(-6%);
    opacity: 0.75;
  }
  to {
    transform: translateX(6%);
    opacity: 1;
  }
}

/* Figures: one height for all, feet on the line. Each tier adds figures
   as the row widens; the height is solved so the wider of the two sides
   fits its half. --sum is twice that side's total width (at 240px tall)
   and --n twice its figure count, so the formula reads per half. */

.horizon__figures {
  --n: 6;
  --sum: 870;
  --gap: 72px;
  --fh-max: 84px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  margin-bottom: calc(var(--circle) / -2);
}

.horizon__side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.horizon__gap {
  flex: none;
  width: var(--gap);
}

.fig {
  --fh: min(var(--fh-max), calc((100cqw - var(--gap) + var(--n) * 4px) * 240 / var(--sum)));
  display: none;
  flex: none;
  height: var(--fh);
  aspect-ratio: var(--w) / 240;
  margin: 0 -2px;
  background: var(--blue);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 0.62;
  transition: opacity 420ms ease;
}

.fig.t1 {
  display: block;
}

@container (min-width: 445px) {
  .horizon__figures {
    --n: 10;
    --sum: 1322;
    --gap: 96px;
    --fh-max: 104px;
  }

  .fig.t2 {
    display: block;
  }
}

@container (min-width: 760px) {
  .horizon__figures {
    --n: 16;
    --sum: 2174;
    --gap: 128px;
  }

  .fig.t3 {
    display: block;
  }
}

@container (min-width: 1180px) {
  .horizon__figures {
    --n: 24;
    --sum: 3348;
  }

  .fig.t4 {
    display: block;
  }
}

/* The line runs the full width of the page; only the figures are inset. */
.horizon__line {
  display: flex;
  align-items: center;
  height: var(--circle);
  margin-inline: -24px;
}

.horizon__line > span {
  flex: 1 1 0;
  height: 1px;
  background: var(--blue);
}

.horizon__line svg {
  flex: none;
  width: var(--circle);
  height: var(--circle);
}

@media (max-width: 559px) {
  .horizon {
    --circle: 56px;
  }

  .hero {
    min-height: 0;
    padding-top: 48px;
  }

  .hero__stage {
    min-height: 152px;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .horizon__light,
  .horizon__light span {
    animation: none;
    transition: none;
  }

  .fig {
    transition: none;
  }
}

/* Inner page head: title, lead, and the bare horizon with the circle at the right */

.page-head {
  padding: clamp(56px, 7vw, 88px) var(--pad) 0;
}

.page-head .lead {
  margin-top: 24px;
  max-width: var(--measure);
}

.page-horizon {
  display: flex;
  align-items: center;
  height: 56px;
  margin-top: clamp(40px, 5vw, 64px);
  margin-inline: calc(var(--pad) * -1);
}

.page-horizon > span {
  flex: 1 1 0;
  height: 1px;
  background: var(--blue);
}

.page-horizon > .stub {
  flex: 0 0 clamp(40px, 9vw, 160px);
}

.page-horizon svg {
  flex: none;
  width: 56px;
  height: 56px;
}

/* Home: the premise */

.premise__statement {
  max-width: 980px;
  font: 400 clamp(28px, 2.2vw + 14px, 44px)/1.16 var(--display);
  color: var(--blue);
}

/* Violet is light: 3.1:1 on white passes for text this large, so the premise sits on white. */
.section--premise {
  padding-top: clamp(40px, 5vw, 64px);
}

.premise__statement .lit {
  color: var(--violet);
}

.premise__body {
  margin-top: 32px;
  max-width: var(--measure);
}

.questions {
  max-width: 860px;
  margin-top: 40px;
  border-top: 1px solid var(--blue);
}

.questions li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font: 400 clamp(20px, 0.5vw + 17px, 24px)/1.36 var(--serif);
  color: var(--ink);
}

/* Columns with a blue top rule (workstreams, research areas) */

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--blue);
}

.col .from {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-dim);
}

.from strong {
  font-weight: 500;
  color: var(--ink);
}

/* Ledger: a dated record of what PCI has run */

.ledger {
  border-top: 1px solid var(--blue);
}

.ledger__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.7fr) minmax(0, 1fr) 112px;
  gap: 8px 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.ledger__date {
  color: var(--ink-dim);
  font-size: 15px;
}

.ledger__title {
  font: 400 21px/1.3 var(--serif);
}

.ledger__title a {
  text-decoration-color: color-mix(in srgb, var(--blue) 35%, transparent);
}

.ledger__title a:hover {
  text-decoration-color: currentColor;
}

.ledger__who,
.ledger__where {
  font-size: 15px;
  color: var(--ink-dim);
}

.ledger__row--event .ledger__title {
  color: var(--blue);
}

@media (max-width: 899px) {
  .ledger__row {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .ledger__who,
  .ledger__where {
    grid-column: 2;
  }

  .ledger__where {
    margin-top: -6px;
  }
}

.after-ledger {
  margin-top: 32px;
  max-width: var(--measure);
}

/* Work page: workstreams in detail */

.stream {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px 64px;
  padding: 40px 0;
  border-top: 1px solid var(--blue);
}

.stream:last-child {
  padding-bottom: 0;
}

.stream__body {
  max-width: var(--measure);
}

.stream__body > * + * {
  margin-top: 16px;
}

.stream__body h4 {
  margin: 28px 0 0;
  font: 500 15px/1.4 var(--sans);
  color: var(--ink);
}

.stream__body h4 + * {
  margin-top: 8px;
}

.stream__projects li + li {
  margin-top: 10px;
}

.stream__projects a {
  font-weight: 500;
}

@media (max-width: 799px) {
  .stream {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }
}

.note {
  max-width: var(--measure);
  margin-top: 40px;
  padding: 32px 40px;
  background: var(--ground-tint);
}

.section--tint .note {
  background: var(--ground);
}

/* Roundtables */

.formats {
  max-width: 860px;
  border-top: 1px solid var(--blue);
}

.formats li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font: 400 clamp(20px, 0.5vw + 17px, 24px)/1.36 var(--serif);
}

.rt {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px 48px;
  padding: 40px 0;
  border-top: 1px solid var(--blue);
}

.rt:last-child {
  padding-bottom: 0;
}

.rt__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  color: var(--ink-dim);
}

.rt__meta time {
  font-size: 17px;
  color: var(--ink);
}

.rt__body {
  max-width: var(--measure);
}

.rt__body > * + * {
  margin-top: 16px;
}

.rt .subtitle {
  font-size: clamp(23px, 0.4vw + 21px, 26px);
}

.rt__question {
  font: 400 clamp(18px, 0.3vw + 16.5px, 20px)/1.45 var(--serif);
  color: var(--ink);
}

.rt__status {
  font-size: 15px;
  color: var(--ink-dim);
}

@media (max-width: 799px) {
  .rt {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }

  .rt__meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 16px;
  }
}

/* Workshop */

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 28px;
  font-size: 15px;
  color: var(--ink-dim);
}

.tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--blue);
}

.tables__side {
  padding: 32px 40px 0 0;
}

.tables__side + .tables__side {
  padding: 32px 0 0 40px;
  border-left: 1px solid var(--rule);
}

/* The table name is one step above the project titles under it. */
.tables__side > h3 {
  font: 400 clamp(28px, 1vw + 18px, 32px)/1.15 var(--display);
  color: var(--blue);
}

.tables__side > h3 + p {
  margin-top: 8px;
  color: var(--ink-dim);
}

.project {
  margin-top: 32px;
}

.project > * + * {
  margin-top: 12px;
}

@media (max-width: 799px) {
  .tables {
    grid-template-columns: 1fr;
  }

  .tables__side,
  .tables__side + .tables__side {
    padding: 32px 0 0;
    border-left: 0;
  }

  .tables__side + .tables__side {
    margin-top: 40px;
    border-top: 1px solid var(--rule);
  }
}

.prose > * + * {
  margin-top: 16px;
}

.prose > h2:not(:first-child) {
  margin-top: 64px;
}

.prose h2 + * {
  margin-top: 20px;
}

/* Team */

.person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 8px 64px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.people > .person:first-child {
  border-top-color: var(--blue);
}

.person__name {
  font: 400 24px/1.25 var(--serif);
  color: var(--blue);
}

.person__role {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-dim);
}

.person__text {
  max-width: var(--measure);
}

.person__text > * + * {
  margin-top: 12px;
}

@media (max-width: 719px) {
  .person {
    grid-template-columns: 1fr;
  }
}

.lead-person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px 64px;
  padding-top: 32px;
  border-top: 1px solid var(--blue);
}

.lead-person .person__name {
  font: 400 clamp(30px, 1.6vw + 18px, 40px)/1.12 var(--display);
}

@media (max-width: 719px) {
  .lead-person {
    grid-template-columns: 1fr;
  }
}

/* Footer: the one blue field, and the contact block */

.site-footer {
  padding: clamp(64px, 7vw, 88px) var(--pad) 40px;
  background: var(--field);
  color: #fff;
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgb(255 255 255 / 0.55);
}

.site-footer a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.site-footer :focus-visible {
  outline-color: #fff;
}

.site-footer ::selection {
  background: var(--lilac);
  color: var(--ink);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: start;
}

.footer__contact h2 {
  font: 400 clamp(30px, 1.6vw + 18px, 40px)/1.12 var(--display);
}

.footer__contact p {
  max-width: 560px;
  margin-top: 16px;
  color: var(--field-ink-dim);
}

.footer__contact .footer__email {
  margin-top: 28px;
  font: 400 clamp(22px, 1vw + 16px, 28px)/1.2 var(--serif);
}

.footer__email a {
  overflow-wrap: anywhere;
}

.footer__mark {
  justify-self: end;
}

.footer__mark img {
  width: 240px;
  height: auto;
}

.footer__base {
  display: grid;
  gap: 16px;
  margin-top: clamp(56px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--field-rule);
  font-size: 14px;
  line-height: 1.55;
  color: var(--field-ink-dim);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: 15px;
}

.footer__nav a {
  display: inline-block;
  padding: 8px 0;
}

@media (max-width: 799px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__mark {
    justify-self: start;
    order: -1;
  }

  .footer__mark img {
    width: 200px;
  }
}

/* 404 */

.not-found {
  min-height: 50vh;
}
