/* ==========================================================================
   IDeaS — Interpretive Data Science
   Shared stylesheet for all pages. Edit here, never in the page files.
   ========================================================================== */

/* Palette restored from the community's own brand assets:
   #253617 / #EFF6EA — the original website's Squarespace theme colours
   #3F681C / #FB6542 / #261482 — the logo files' green, orange accent, and dark-mode purple
   Monospace display type echoes the original Consolas logo wordmark. */
:root {
  --paper: #ffffff;
  --paper-2: #f2f7f3;
  --ink: #1a2620;
  --muted: #556157;
  --navy: #14301e;
  --navy-2: #0d2214;
  --navy-3: #21462f;
  --blue: #2b6340;
  --blue-light: #3b8256;
  --brass: #fb6542;
  --brass-light: #ff8266;
  --hairline: #d9e1db;
  --hairline-2: #e5ece7;
  --band: #e9f1eb;
  --sans: "Avenir Next", Avenir, "Gill Sans", "Segoe UI", "Trebuchet MS", Helvetica, Arial, sans-serif;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

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

html { background: var(--paper); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 940px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

a { color: var(--blue); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 18px;
  font-family: var(--sans); font-size: .8rem;
}
.skip-link:focus { left: 0; }

/* ---------- header / nav ---------- */
header.site { border-bottom: 1px solid var(--hairline); background: var(--paper); position: relative; z-index: 20; }
.site-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 16px; }
.brand { text-decoration: none; color: var(--ink); font-family: var(--sans); display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: auto; display: block; flex: none; }
.brand-txt { display: block; }
.brand .mark { font-weight: 700; font-size: 1.3rem; letter-spacing: .01em; color: var(--navy); display: block; line-height: 1.1; }
.brand .sub { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); margin-top: 4px; }

nav.top { display: flex; gap: 24px; font-family: var(--mono); font-size: .73rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; flex-wrap: wrap; }
nav.top a { color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; white-space: nowrap; }
nav.top a:hover { color: var(--blue); border-bottom-color: var(--brass); }
nav.top a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

/* ---------- hero / covers ---------- */
.cover { position: relative; background: var(--navy); overflow: hidden; }
.cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 34%, rgba(20,48,30,.55) 62%, rgba(20,48,30,0) 100%);
}
.cover .wrap, .cover .wrap-narrow { position: relative; padding-top: 74px; padding-bottom: 84px; }
.cover .est {
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: #9dbcaa; display: block; margin-bottom: 20px;
}
.cover h1 {
  font-family: var(--sans); font-weight: 700; color: #fff;
  font-size: clamp(1.6rem, 4.4vw, 2.7rem); line-height: 1.22;
  letter-spacing: .035em; text-transform: uppercase;
  margin: 0 0 24px; max-width: 22ch; text-wrap: balance;
}
.cover p.lede { color: #d7e7dd; max-width: 56ch; margin: 0; font-size: 1.06rem; line-height: 1.65; }

/* compact cover for interior pages */
.cover.compact .wrap, .cover.compact .wrap-narrow { padding-top: 46px; padding-bottom: 52px; }
.cover.compact h1 { font-size: clamp(1.35rem, 3.4vw, 2.05rem); margin-bottom: 16px; max-width: 30ch; }
.cover.compact p.lede { font-size: 1rem; }

.backlink {
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: #9dbcaa; text-decoration: none; display: inline-block; margin-bottom: 26px;
}
.backlink:hover { color: #fff; }
.cover .kicker { font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); margin: 0 0 14px; }

/* ---------- sections ---------- */
section.block { padding: 56px 0 8px; }
section.block:last-of-type { padding-bottom: 20px; }
.band { background: var(--paper-2); border-top: 1px solid var(--hairline-2); border-bottom: 1px solid var(--hairline-2); margin-top: 56px; }
.band section.block { padding-top: 48px; padding-bottom: 40px; }

.label {
  font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 18px;
}
h2.head { font-family: var(--sans); font-weight: 700; font-size: 1.5rem; line-height: 1.25; margin: 0 0 16px; color: var(--navy); letter-spacing: .01em; }
h3.sub { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; margin: 32px 0 10px; color: var(--navy-2); }
.prose { max-width: 66ch; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }

.lead-para { font-size: 1.1rem; line-height: 1.6; color: var(--ink); max-width: 62ch; }

/* ---------- topic list ---------- */
.topics { list-style: none; margin: 8px 0 0; padding: 0; }
.topics li { border-top: 1px solid var(--hairline); padding: 18px 0 19px; max-width: 72ch; }
.topics li b { font-family: var(--sans); font-weight: 600; font-size: .97rem; display: block; margin-bottom: 5px; color: var(--navy); }
.topics li span { color: var(--muted); font-size: .97rem; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 8px 0 0; }
.card {
  border: 1px solid var(--hairline); border-top: 3px solid var(--blue);
  padding: 22px 22px 24px; background: var(--paper); text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
a.card:hover { background: var(--paper-2); border-top-color: var(--brass); }
.card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; margin: 0 0 8px; color: var(--navy); }
.card p { margin: 0; font-size: .95rem; color: var(--muted); }
.card .more { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-top: 14px; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: var(--hairline); border: 1px solid var(--hairline); margin: 10px 0 0; }
.stat { background: var(--paper); padding: 20px 20px 22px; }
.stat .n { font-family: var(--sans); font-weight: 700; font-size: 1.85rem; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .t { font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------- conference index rows ---------- */
.conf-rows { margin: 4px 0 0; }
.conf-row {
  display: grid; grid-template-columns: 82px 1fr; gap: 22px;
  padding: 20px 12px; margin: 0 -12px;
  border-top: 1px solid var(--hairline);
  text-decoration: none; color: inherit;
}
.conf-row:last-of-type { border-bottom: 1px solid var(--hairline); }
.conf-row:hover { background: var(--paper-2); }
.conf-row .yr { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--blue); font-variant-numeric: tabular-nums; padding-top: 2px; }
.conf-row h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.conf-row .where { margin: 0 0 6px; color: var(--muted); font-size: .92rem; }
.conf-row .blurb { margin: 0; color: var(--muted); font-size: .92rem; }
.conf-row .view { font-family: var(--mono); font-size: .67rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.conf-note {
  display: grid; grid-template-columns: 82px 1fr; gap: 22px;
  padding: 14px 12px; margin: 0 -12px; border-top: 1px solid var(--hairline);
}
.conf-note .yr { font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--muted); padding-top: 2px; }
.conf-note p { margin: 0; color: var(--muted); font-size: .92rem; font-style: italic; }

/* ---------- fact table (event pages) ---------- */
dl.facts { margin: 0 0 10px; max-width: 74ch; }
dl.facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; border-top: 1px solid var(--hairline); padding: 12px 0; }
dl.facts > div:last-child { border-bottom: 1px solid var(--hairline); }
dl.facts dt { font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0; padding-top: 3px; }
dl.facts dd { margin: 0; font-size: .97rem; }

ul.plain { list-style: none; margin: 4px 0 0; padding: 0; max-width: 72ch; }
ul.plain li { border-top: 1px solid var(--hairline); padding: 13px 0 14px; font-size: .97rem; }
ul.plain li:last-child { border-bottom: 1px solid var(--hairline); }
ul.plain li b { font-family: var(--sans); font-weight: 600; font-size: .93rem; color: var(--navy); }

/* ---------- people grid ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 22px 26px; margin: 10px 0 0; }
.person { border-top: 1px solid var(--hairline); padding-top: 14px; }
.person .nm { font-family: var(--sans); font-weight: 700; font-size: .98rem; color: var(--navy); margin: 0 0 3px; }
.person .af { font-size: .89rem; color: var(--muted); margin: 0 0 7px; }
.person .rl { font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--brass); margin: 0 0 6px; }
.person p.note { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- citations ---------- */
.cites { list-style: none; margin: 4px 0 0; padding: 0; max-width: 74ch; }
.cites li { border-top: 1px solid var(--hairline); padding: 16px 0 17px; font-size: .97rem; }
.cites li:last-child { border-bottom: 1px solid var(--hairline); }
.cites li .role { font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 6px; }
.cites li .annot { display: block; color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* ---------- resource links ---------- */
.reslist { list-style: none; margin: 4px 0 0; padding: 0; max-width: 74ch; }
.reslist li { border-top: 1px solid var(--hairline); padding: 16px 0 17px; }
.reslist li:last-child { border-bottom: 1px solid var(--hairline); }
.reslist .rname { font-family: var(--sans); font-weight: 600; font-size: .99rem; display: block; margin-bottom: 4px; }
.reslist .rdesc { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- timeline ---------- */
.timeline { margin: 10px 0 0; padding: 0; list-style: none; max-width: 74ch; }
.timeline li { position: relative; padding: 0 0 26px 30px; border-left: 2px solid var(--hairline); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 4px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--blue);
}
.timeline li.accent::before { border-color: var(--brass); background: var(--brass); }
.timeline .ty { font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .12em; color: var(--blue); text-transform: uppercase; display: block; margin-bottom: 4px; }
.timeline .tt { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--navy); display: block; margin-bottom: 4px; }
.timeline p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- pull quote ---------- */
blockquote.pull {
  margin: 26px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brass);
  max-width: 64ch; font-size: 1.06rem; line-height: 1.55; color: var(--navy-2);
}
blockquote.pull cite { display: block; font-family: var(--sans); font-size: .74rem; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ---------- callout ---------- */
.callout { border: 1px solid var(--hairline); border-left: 3px solid var(--blue); background: var(--paper-2); padding: 18px 22px; margin: 22px 0; max-width: 70ch; }
.callout p { margin: 0 0 10px; font-size: .96rem; }
.callout p:last-child { margin-bottom: 0; }
.callout .ctitle { font-family: var(--mono); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }

/* ---------- pager ---------- */
.pager { display: flex; justify-content: space-between; gap: 18px; margin: 50px 0 0; border-top: 1px solid var(--hairline); padding: 18px 0 8px; }
.pager a { font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.pager a:hover { color: var(--blue); }

/* ---------- footer ---------- */
footer.site { margin-top: 66px; background: var(--band); border-top: 3px solid var(--navy); }
footer.site .wrap { padding-top: 34px; padding-bottom: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; }
footer.site p { margin: 0 0 10px; max-width: 60ch; font-size: .96rem; }
footer.site h4 { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin: 0 0 12px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site ul li { margin-bottom: 7px; font-size: .93rem; }
footer.site .fine { font-family: var(--mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-top: 24px; border-top: 1px solid #d2ded6; padding-top: 18px; }

/* ---------- utility ---------- */
.tag { display: inline-block; font-family: var(--mono); font-size: .63rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); border: 1px solid var(--brass); padding: 3px 8px; margin-bottom: 12px; }
.tag.blue { color: var(--blue); border-color: var(--blue); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .site-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  nav.top { gap: 14px; font-size: .7rem; }
  .conf-row, .conf-note { grid-template-columns: 54px 1fr; gap: 14px; }
  dl.facts > div { grid-template-columns: 1fr; gap: 3px; }
  .cover .scrim { background: rgba(20,48,30,.86); }
  .cover .wrap, .cover .wrap-narrow { padding-top: 52px; padding-bottom: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  header.site, footer.site, .pager, .backlink { display: none; }
  .cover { background: none; }
  .cover h1, .cover p.lede, .cover .est { color: #000; }
  .cover canvas, .cover .scrim { display: none; }
  body { font-size: 11pt; }
}
