:root {
  --paper: #f6f5f1;
  --card: #ffffff;
  --line: #e4e1da;
  --ink: #141414;
  --muted: #5d5a54;
  --green: #4b7c69;
  --green-ink: #dfe9e3;
  --blue: #3e4a7b;
  --blue-ink: #d9deef;
  --rust: #c8694a;
  --ochre: #f1c14d;
  --black: #0e0e0e;
  --radius: 14px;
  --peach: linear-gradient(135deg, #fde7d8, #f7d7e6);
  --lavender: linear-gradient(135deg, #ece3fb, #dfe8fb);
  --sky: linear-gradient(135deg, #dcecfb, #e9e2f8);
  --mint: linear-gradient(135deg, #dff1e6, #eef4d9);
  --butter: linear-gradient(135deg, #fbf0cf, #fde0d2);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ui: 'Inter', system-ui, sans-serif;
  --gutter: 16px;
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--ui);
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input { font: inherit; color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  padding: 8px 12px;
  background: var(--card);
  z-index: 10;
}
.skip:focus { top: 8px; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* Floating header bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 10px var(--gutter) 0;
  pointer-events: none;
}
.bar {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgb(0 0 0 / .06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 18px/1 var(--display);
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 24px; height: 24px; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }

.frame {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  min-width: 0;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 40px 0 8px; min-width: 0; }

/* Eyebrow: a small label under a hairline, the section marker */
.eyebrow {
  font-weight: 400;
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 14px 0 28px;
  font-size: 14px;
  color: var(--ink);
}

/* Type */
.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.02;
}
h1.display { font-size: clamp(36px, 6.2vw, 92px); margin-bottom: 22px; max-width: 18em; }
.section-title {
  font: 500 clamp(26px, 3.4vw, 44px)/1.08 var(--display);
  letter-spacing: -.03em;
  margin: 0 0 18px;
}
.lead {
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 12px;
}
.kicker {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.more { margin-top: 24px; }
.empty { font: 500 24px/1.2 var(--display); color: var(--muted); }
.count { font-size: 18px; margin-bottom: 14px; }
.subtitle { color: var(--muted); margin-bottom: 10px; }

/* Media cards */
.media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.hero { padding-top: 24px; }
.hero-media { aspect-ratio: 16 / 9; max-height: 560px; margin-bottom: 36px; }
.hero-media img { height: 100%; }

/* Stats trio: real counts, coloured numerals */
.stats { display: grid; gap: 10px; margin-top: 32px; }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 24px;
}
.stat strong {
  display: block;
  font: 500 clamp(64px, 9vw, 128px)/.95 var(--display);
  letter-spacing: -.05em;
  margin-bottom: 16px;
}
.stat p { max-width: 22em; }
.stat-green strong, .stat-green p { color: var(--green); }
.stat-rust strong, .stat-rust p { color: var(--rust); }
.stat-blue strong, .stat-blue p { color: var(--blue); }

/* Bento blocks */
.bento, .trio { display: grid; gap: 10px; }
.bento + .trio { margin-top: 10px; }
.block {
  border-radius: var(--radius);
  padding: 22px;
  min-height: 300px;
}
.block-blue { background: var(--blue); color: #fff; }
.block-blue p { color: var(--blue-ink); }
.block-blue p:first-child { color: #fff; }
.block-paper { background: var(--card); border: 1px solid var(--line); }
.prose-block { font: 500 clamp(21px, 2.2vw, 30px)/1.25 var(--display); letter-spacing: -.02em; }
.prose-block p + p { margin-top: .8em; }
.block-paper.prose-block { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); }
.bento-media, .trio-media { min-height: 300px; }

/* Pursuit cards: product-grid style */
.board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.card-needle { outline: 2px solid var(--ochre); outline-offset: -2px; }
.card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card-title {
  font: 500 24px/1.1 var(--display);
  letter-spacing: -.025em;
  margin: 18px 0 8px;
}
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.lens { color: var(--muted); font-size: 15px; }
.meta { font-size: 14px; margin-top: 12px; flex: 1; }
.meta div { margin-top: 10px; }
.meta dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.meta dd { margin-top: 2px; }
.card-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.badge {
  display: inline-block;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.badge-live, .badge-scripted, .badge-researched { background: var(--green-ink); border-color: transparent; color: var(--green); }
.badge-building { background: #fff3d2; border-color: transparent; color: #7a5a00; }
.needle {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--ochre);
}

/* Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  background: var(--card);
  box-shadow: 0 2px 10px rgb(0 0 0 / .05);
  cursor: pointer;
}
.pill:hover { background: var(--ink); color: #fff; }
.pill-accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-accent:hover { background: var(--black); }
.pill-accent:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-small { padding: 7px 12px; font-size: 11px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.arrow { font-size: 14px; }

/* Log */
.log-list { display: grid; gap: 0; }
.log-item {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.log-item time { font-size: 13px; color: var(--muted); }
.log-item h2, .log-item h3 { font: 500 clamp(22px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -.025em; }
.log-item a { text-decoration: none; }
.log-item a:hover { text-decoration: underline; }
.log-item p { max-width: 44em; color: var(--muted); }

/* Atlas */
.atlas-map { width: 100%; max-width: 900px; margin: 0 auto 28px; }
.atlas-group + .atlas-group { margin-top: 36px; }
.atlas-list { display: grid; gap: 0; }
.atlas-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 18px;
}
.atlas-list a { text-decoration: none; }
.atlas-list a:hover { text-decoration: underline; }
.hook { flex-basis: 100%; color: var(--muted); font-size: 15px; }
.episode { font-size: 13px; letter-spacing: .08em; }

/* Detail pages */
.pursuit-facts { display: grid; gap: 10px; margin: 24px 0; }
.pursuit-facts div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.pursuit-facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.pursuit-facts dd { font-size: 18px; margin-top: 6px; }
.prose-text { max-width: 40em; font-size: 18px; }
.link-list { display: grid; gap: 10px; margin-bottom: 24px; }
.tags { margin-top: 16px; color: var(--muted); }

.prose { max-width: 66ch; font-size: 17px; }
.prose p { margin: 0 0 1em; }
.prose h2 { font: 500 clamp(24px, 3vw, 34px)/1.1 var(--display); letter-spacing: -.025em; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 20px; font-weight: 500; margin: 1.4em 0 .4em; }
.prose blockquote { margin: 1em 0; padding-left: 16px; border-left: 2px solid var(--line); color: var(--muted); }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose img { max-width: 100%; height: auto; }

/* Join form (lives in the footer) */
.join-title { font: 500 22px/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }
.join-lead { font-size: 14px; color: var(--muted); margin-bottom: 14px; max-width: 30em; }
.join-form { max-width: 520px; }
.field { display: block; font-size: 12px; margin-bottom: 6px; color: var(--muted); }
.join-row { display: flex; flex-wrap: wrap; gap: 8px; }
.join-row input {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
}
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; max-width: 40em; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 10px; min-height: 1.5em; font-size: 14px; }
.form-status a { word-break: break-all; }
.unsubscribe-form { margin-top: 20px; }

.clock { font-size: 14px; color: var(--muted); margin-top: 8px; }
.clock-place::before { content: " · "; }
.clock-place:empty { display: none; }

/* Footer: link columns, then the wordmark band */
.site-footer { margin-top: 56px; }
.footer-grid {
  display: grid;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--gutter);
  background: var(--card);
  border-top: 1px solid var(--line);
}
.footer-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.footer-nav { display: grid; gap: 8px; font-size: 15px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.wordmark {
  overflow: hidden;
  background: var(--black);
  color: #fff;
  padding: 24px var(--gutter) 0;
  line-height: .78;
}
.wordmark span {
  display: block;
  font: 600 clamp(56px, 17.5vw, 330px)/.78 var(--display);
  letter-spacing: -.06em;
  white-space: nowrap;
  transform: translateY(.08em);
}

@media (min-width: 620px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pursuit-facts { grid-template-columns: 1fr 1fr; }
  .block { padding: 28px; min-height: 420px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.6fr; gap: 48px; }
}
@media (min-width: 1000px) {
  .board { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (min-width: 900px) {
  .site-header { padding-left: 32px; padding-right: 32px; }
  .frame { padding: 0 32px; }
  .footer-grid { padding: 48px 32px; }
  .section { padding: 72px 0 16px; }
  .hero { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Commitment block: target per period, datapoints, the line, countdown, forfeit */
.commitment { margin: 32px 0 8px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.c-declaration { font: 500 clamp(22px, 2.6vw, 34px)/1.15 var(--display); letter-spacing: -.025em; max-width: 28em; margin-bottom: 22px; }
.c-facts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 16px; }
.c-fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.c-fact dt, .c-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.c-fact dd { font: 500 clamp(32px, 4vw, 56px)/1 var(--display); letter-spacing: -.04em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.c-fact dd small { font: 16px/1.3 var(--ui); letter-spacing: 0; color: var(--muted); }
.c-on-track .c-status dd { color: var(--green); }
.c-behind .c-status dd { color: var(--rust); }
.c-figure { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.c-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.c-chart { width: 100%; height: auto; }
.c-axis line { stroke: var(--line); stroke-width: 1; }
.c-ticks text { font: 11px var(--ui); fill: var(--muted); }
.c-target { stroke: var(--ochre); stroke-width: 2; stroke-dasharray: 6 5; }
.c-now { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.c-line { fill: none; stroke: var(--green); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.c-behind .c-line, .c-behind .c-dot { stroke: var(--rust); fill: var(--rust); }
.c-dot { fill: var(--green); }
.c-forfeit { background: var(--black); color: var(--paper); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; max-width: 40em; }
.c-forfeit .c-label { color: var(--ochre); margin-bottom: 6px; }
.c-entries { display: grid; gap: 8px; margin-bottom: 8px; }
.c-entries li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.c-entries time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.c-line-text { font-size: 13px; letter-spacing: .02em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.c-line-text.c-on-track { color: var(--green); }
.c-line-text.c-behind { color: var(--rust); }

/* Scroll-driven reveal: transform and opacity only, CSS first, no JS. Everything is visible at rest;
   the animation runs only when the browser supports view() timelines and the reader has not asked for less motion.
   Firefox stable (timelines behind a flag) and reduced-motion readers get the static page. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .c-line {
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 90%;
    }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }

/* The thread: pursuits in order, each feeding the next. Dashed connectors between cards; vertical on narrow screens. */
.thread-label { margin-top: 40px; font-size: 14px; color: var(--muted); }
.thread { display: grid; gap: 10px; margin-top: 14px; }
.thread li { position: relative; min-width: 0; }
.thread a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}
.thread a:hover .thread-title { text-decoration: underline; }
.thread-n { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.thread-title { font: 500 22px/1.1 var(--display); letter-spacing: -.025em; }
.thread-why { font-size: 14px; color: var(--muted); }
.thread li + li::before { content: ''; position: absolute; left: 24px; top: -10px; height: 10px; border-left: 1px dashed var(--muted); }
.hero .hero-media { margin: 40px 0 0; }
@media (min-width: 860px) {
  .thread { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .thread li + li::before { left: -10px; top: 50%; height: 0; width: 10px; border-left: 0; border-top: 1px dashed var(--muted); }
}

/* Passionfroot elements: centred serif hero, floating country chips, pastel gradient pursuit cards, rounded media frame */
.hero { position: relative; text-align: center; padding-top: 64px; }
.hero .eyebrow { border-top: 0; padding: 0 0 18px; color: var(--muted); }
.hero h1.display { margin-inline: auto; max-width: 12em; text-wrap: balance; }
.hero .lead { margin-inline: auto; }
.hero .actions { justify-content: center; }
.hero .thread-label { margin-top: 56px; }
.hero .thread { text-align: left; }
.hero .hero-media { border-radius: 24px; border: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.chips a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgb(0 0 0 / .06);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.chips a:hover { background: var(--ink); color: #fff; }
.thread a { border: 0; border-radius: 18px; background: var(--card); }
.thread li:nth-child(5n+1) a { background: var(--peach); }
.thread li:nth-child(5n+2) a { background: var(--lavender); }
.thread li:nth-child(5n+3) a { background: var(--sky); }
.thread li:nth-child(5n+4) a { background: var(--mint); }
.thread li:nth-child(5n+5) a { background: var(--butter); }
.thread-why, .thread-n { color: var(--ink); opacity: .72; }
@media (min-width: 1000px) {
  .hero { padding-top: 120px; padding-bottom: 8px; }
  .chips { position: absolute; inset: 0; margin: 0; pointer-events: none; }
  .chips li { position: absolute; pointer-events: auto; }
  .chips li:nth-child(1) { left: 2%; top: 8%; transform: rotate(-4deg); }
  .chips li:nth-child(2) { left: 9%; top: 30%; transform: rotate(3deg); }
  .chips li:nth-child(3) { left: 1%; top: 52%; transform: rotate(2deg); }
  .chips li:nth-child(4) { right: 2%; top: 10%; transform: rotate(5deg); }
  .chips li:nth-child(5) { right: 8%; top: 32%; transform: rotate(-3deg); }
  .chips li:nth-child(6) { right: 1%; top: 54%; transform: rotate(-2deg); }
  .chips li:nth-child(7) { left: 5%; top: 74%; transform: rotate(-5deg); }
  .chips li:nth-child(8) { right: 5%; top: 76%; transform: rotate(4deg); }
  .chips li:nth-child(n+9) { display: none; }
  .hero h1.display, .hero .lead, .hero .actions, .hero .eyebrow { position: relative; z-index: 1; }
}
