/* Synaptiva site styles
   Palette: iron-gall ink on white, filament amber as the single bold colour,
   violet reserved for focus and link states. */

/* Fonts are hosted on this site rather than loaded from Google.
   The five files go in /fonts. See fonts/ADD-FONT-FILES-HERE.txt.
   Both are free under the SIL Open Font License. */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/AtkinsonHyperlegible-Regular.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/AtkinsonHyperlegible-Italic.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/AtkinsonHyperlegible-Bold.ttf") format("truetype"); }
@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/OldStandard-Regular.ttf") format("truetype"); }
@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/OldStandard-Bold.ttf") format("truetype"); }

:root {
  --paper: #ffffff;
  --ink: #231c15;
  --ink-soft: #5e5348;
  --rule: #e6ddd0;
  --amber: #edb548;
  --amber-light: #f8dc9c;
  --amber-wash: #fdf4e1;
  --violet: #4e3482;

  --font-display: "Old Standard TT", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

  --measure: 62ch;
  --page: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::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(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1875rem;          /* 19px: comfortable for older readers */
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(2.75rem, 1.4rem + 4.8vw, 5rem); line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: clamp(2.125rem, 1.5rem + 2.2vw, 3.125rem); line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; }

p { margin: 0 0 1em; max-width: var(--measure); }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--violet); text-decoration-thickness: 2px; }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: 4px;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.wrap { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section + .section { border-top: 1px solid var(--rule); }

.lede { font-size: 1.3125rem; line-height: 1.55; }
.muted { color: var(--ink-soft); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: 700 1.0625rem/1.2 var(--font-body);
  color: var(--paper); background: var(--ink);
  border: 2px solid var(--ink); border-radius: 4px;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
}
.button:hover { background: var(--violet); border-color: var(--violet); color: var(--paper); }
.button--quiet { background: transparent; color: var(--ink); }
.button--quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button[disabled] { opacity: 0.45; cursor: not-allowed; }
.button[disabled]:hover { background: var(--ink); border-color: var(--ink); }

/* Header */
.site-header { padding-block: 1.1rem; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; letter-spacing: 0.01em; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding-block: 0.65rem; text-decoration: none; font-size: 1.0625rem; }
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.4em; }
.header-cta { min-height: 2.75rem; padding: 0.55rem 1.1rem; font-size: 1rem; }
@media (max-width: 1180px) {
  .site-nav { order: 3; flex-basis: 100%; }
  .site-nav ul { flex-wrap: wrap; gap: 0 1.35rem; }
  .site-header { padding-block: 0.75rem 0.25rem; }
}
@media (max-width: 420px) { .brand span { font-size: 1.45rem; } .brand img { height: 44px; } }

/* Hero: the lit bulb */
.hero { background: var(--amber); overflow: hidden; }
.hero-body {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem);
}
.hero h1 { max-width: 12ch; }
.hero .lede { margin-top: 1.5rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.hero-actions p { margin: 0; font-size: 1.0625rem; }
.hero-figure { position: relative; margin: 0; justify-self: center; }
.hero-figure img { position: relative; width: min(100%, 440px); }
.hero-figure::before {
  content: ""; position: absolute; left: 50%; top: 38%;
  width: 115%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--amber-light) 0%, rgba(248, 220, 156, 0.55) 35%, rgba(237, 181, 72, 0) 68%);
  animation: warm-up 1.8s 0.25s ease-out both;
}
@keyframes warm-up {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .hero-figure::before { animation: none; } }
@media (max-width: 820px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); }
  .hero-figure img { width: min(72vw, 300px); }
}

/* Who it's for */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 5rem); }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }
.note {
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule);
  color: var(--ink-soft); font-size: 1.0625rem;
}

/* Approach: ranked habits */
.section-intro { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-intro h2 { margin-bottom: 1.25rem; }
.ranked {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem clamp(2rem, 5vw, 4.5rem);
}
.ranked li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1.25rem; align-content: start; }
.rank {
  grid-row: span 2; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--amber); display: grid; place-items: center;
  font: 400 1.875rem/1 var(--font-display);
}
.ranked h3, .extras h3 { margin: 0.35rem 0 0.5rem; }
.ranked p, .extras p { margin: 0; }
.feature-tag { display: block; margin-top: 0.6rem; font-size: 1rem; color: var(--ink-soft); }
.extras {
  margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 14rem repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(2rem, 4vw, 3.5rem);
}
.extras > h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; margin-top: 0.4rem; }
@media (max-width: 860px) {
  .ranked { grid-template-columns: minmax(0, 1fr); }
  .extras { grid-template-columns: minmax(0, 1fr); }
}

/* Your day: agenda */
.day-grid { display: grid; grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .day-grid { grid-template-columns: minmax(0, 1fr); } .day-grid .principles { order: -1; } }

.agenda {
  border: 2px solid var(--ink); border-radius: 22px; padding: 1.5rem 1.5rem 0.75rem;
  background: var(--paper); box-shadow: 8px 8px 0 var(--amber);
  margin-right: 8px;
}
.agenda-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.agenda-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
.agenda-head p { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.agenda-adjust {
  margin: 1rem 0 0.5rem; padding: 0.85rem 1rem; border-radius: 10px;
  background: var(--amber-wash); font-size: 1rem; line-height: 1.5;
}
.agenda ol { list-style: none; margin: 0; padding: 0; }
.agenda li {
  border-top: 1px solid var(--rule);
}
.agenda-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.75rem 0; cursor: pointer; }
.agenda li:first-child { border-top: 0; }
.agenda-slot h4 { margin: 1.1rem 0 0.15rem; font: 700 1rem/1.3 var(--font-body); color: var(--ink-soft); }
.agenda .item-title { display: block; font-weight: 700; line-height: 1.35; }
.agenda .item-kind { display: block; font-size: 0.9375rem; color: var(--ink-soft); }
.agenda input[type="checkbox"] {
  appearance: none; width: 1.6rem; height: 1.6rem; margin: 0; border: 2px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; background: var(--paper);
}
.agenda input[type="checkbox"]::after { content: ""; width: 0.45rem; height: 0.8rem; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.agenda input[type="checkbox"]:checked { background: var(--amber); }
.agenda input[type="checkbox"]:checked::after { opacity: 1; }
.agenda li:has(input:checked) .item-title { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-soft); }

.principles h2 { margin-bottom: 2.25rem; max-width: 14ch; }
.principles h3 { margin-bottom: 0.4rem; }
.principles > div + div { margin-top: 1.75rem; }

/* Games */
.games-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 920px) { .games-grid { grid-template-columns: minmax(0, 1fr); } }
.game-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.game-list > div { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.game-list dt { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.35rem; }
.game-list dd { margin: 0; }
.game-list .trains { display: block; margin-top: 0.35rem; font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 600px) { .game-list { grid-template-columns: minmax(0, 1fr); } }

.demo {
  position: sticky; top: 1.5rem;
  border: 2px solid var(--ink); background: var(--paper); border-radius: 22px; padding: 1.5rem;
  box-shadow: 8px 8px 0 var(--amber); margin-right: 8px;
}
@media (max-width: 920px) { .demo { order: -1; position: static; } }
.demo h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; margin-bottom: 0.35rem; }
.demo > p { font-size: 1.0625rem; }
.grid-board {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
  width: min(100%, 20rem); margin: 1.25rem 0;
}
.cell {
  aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper);
  font: 700 1.5rem/1 var(--font-body); color: var(--ink); cursor: pointer; padding: 0; touch-action: manipulation;
  transition: background-color 0.25s ease;
}
.cell:disabled { cursor: default; }
.cell.is-lit, .cell.is-hit { background: var(--amber); }
.cell.is-miss { background: var(--violet); border-color: var(--violet); color: var(--paper); }
.cell.is-reveal { border-style: dashed; background: var(--amber-wash); }
@media (prefers-reduced-motion: reduce) { .cell { transition: none; } }
.demo-status { min-height: 3.2em; margin: 0 0 1rem; font-size: 1.0625rem; }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.demo-level { margin: 0; font-size: 1rem; color: var(--ink-soft); }

/* Research */
.research-body { max-width: 44rem; }
.research-body h2 { margin-bottom: 1.75rem; }
sup { line-height: 0; }
sup a { text-decoration: none; font-weight: 700; padding: 0.5em 0.3em; }
.refs { margin: 2.5rem 0 0; padding: 1.5rem 0 0 1.4rem; border-top: 1px solid var(--rule); font-size: 1rem; color: var(--ink-soft); }
.refs li + li { margin-top: 0.6rem; }
.refs cite { font-style: italic; }

/* Support / FAQ */
.faq { max-width: 46rem; margin-top: 2rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.375rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.75rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 1.25rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Closing call to action */
.closing { text-align: center; }
.closing img { height: 120px; width: auto; margin: 0 auto 1.5rem; }
.closing h2 { margin-bottom: 1rem; }
.closing p { margin-inline: auto; }
.closing .button { margin-top: 0.75rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 2.5rem 3rem; font-size: 1rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; margin: -0.75rem 0; padding: 0; }
.site-footer ul a { display: inline-block; padding-block: 0.75rem; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--violet); }
.site-footer .disclaimer { flex-basis: 100%; margin: 0; max-width: 60rem; }

/* Inner pages (privacy, 404) */
.page-header { border-bottom: 1px solid var(--rule); }
.prose { max-width: 44rem; padding-block: clamp(3rem, 7vw, 5rem); }
.prose h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem); margin-bottom: 0.75rem; }
.prose h2 { font-size: 1.875rem; margin: 2.5rem 0 0.75rem; }
.prose ul { padding-left: 1.25rem; max-width: var(--measure); }
.prose li + li { margin-top: 0.4rem; }
.draft-notice { background: var(--amber-wash); border: 2px solid var(--amber); border-radius: 10px; padding: 1rem 1.25rem; margin: 1.5rem 0 2rem; }
.draft-notice p { margin: 0; }
.placeholder { background: var(--amber-light); padding: 0 0.2em; border-radius: 3px; }


/* ---------- Added for the multi-page site ---------- */

.more-link { display: inline-block; margin-top: 1rem; padding-block: 0.75rem; font-weight: 700; }

/* Amber header band on inner pages, echoing the home hero */
.masthead { background: var(--amber); }
.masthead-body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem;
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
}
.masthead h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem); max-width: 18ch; }
.masthead .lede { margin: 1.25rem 0 0; max-width: 36em; }
.masthead-mark { height: clamp(140px, 15vw, 190px); width: auto; }
@media (max-width: 700px) { .masthead-mark { display: none; } }

.badge {
  display: inline-block; margin-bottom: 1rem; padding: 0.3rem 0.85rem;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--paper);
  font: 700 1rem/1.2 var(--font-body);
}

/* Features page: contents column + long-form sections */
.doc-layout {
  display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.toc { position: sticky; top: 1.5rem; align-self: start; }
.toc h2 { font: 700 1rem/1.3 var(--font-body); margin-bottom: 0.75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.toc a {
  display: block; margin-left: -2px; padding: 0.3rem 0 0.3rem 1rem;
  border-left: 2px solid transparent; text-decoration: none; font-size: 1.0625rem; line-height: 1.35;
  padding-block: 0.7rem;
}
.toc a:hover { border-left-color: var(--amber); color: var(--ink); }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 1.5rem; }
}
@media (max-width: 480px) { .toc ol { columns: 1; } }

.fsection { padding-bottom: clamp(3rem, 6vw, 4.5rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--rule); scroll-margin-top: 1.5rem; }
.fsection:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.fsection h2 { margin-bottom: 1rem; }
.facts { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.5rem; }
.facts > div { border-top: 3px solid var(--amber); padding-top: 0.75rem; }
.facts dt { font-weight: 700; margin-bottom: 0.25rem; }
.facts dd { margin: 0; }
@media (max-width: 640px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.aside-note { margin: 2rem 0 0; padding: 1rem 1.25rem; max-width: 46rem; background: var(--amber-wash); border-radius: 10px; font-size: 1.0625rem; }

.game-groups { margin-top: 2rem; }
.game-group { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 0.75rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.game-group h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.game-group .group-blurb { margin: 0.35rem 0 0; font-size: 1rem; color: var(--ink-soft); }
.game-group dl { margin: 0; }
.game-group dt { font-weight: 700; }
.game-group dd { margin: 0 0 0.9rem; }
.game-group dd:last-child { margin-bottom: 0; }
@media (max-width: 700px) { .game-group { grid-template-columns: minmax(0, 1fr); } }

.table-wrap { overflow-x: auto; margin-top: 1.75rem; }
.plain-table { border-collapse: collapse; min-width: 22rem; font-size: 1.0625rem; }
.plain-table caption { text-align: left; font-weight: 700; padding-bottom: 0.5rem; }
.plain-table th, .plain-table td { text-align: left; padding: 0.55rem 1.5rem 0.55rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.plain-table thead th { border-bottom: 2px solid var(--ink); }
.plain-table td.num, .plain-table th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Coming-soon placeholder */
.page-body { padding-block: clamp(3rem, 7vw, 5rem); }
.soon-plate { padding: clamp(1.75rem, 5vw, 3.5rem); border: 2px dashed var(--ink); border-radius: 22px; }
.soon-plate h2 { margin-bottom: 0.75rem; }
.soon-plate .button { margin-top: 0.5rem; }
.related { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.related h2 { font-size: 1.875rem; margin-bottom: 1rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem 2.5rem; }
.related li { border-top: 3px solid var(--amber); padding-top: 0.75rem; }
.related a { display: inline-block; padding-block: 0.6rem; font-family: var(--font-display); font-size: 1.375rem; }
.related p { margin: 0; font-size: 1.0625rem; color: var(--ink-soft); }

/* About us */
.about-intro { max-width: 46rem; }
.about-intro h2, .team-head h2 { margin-bottom: 1.25rem; }
.team-section { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.team-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.25rem; }
.team-head .badge { margin: 0; }
.team-head + p { max-width: 40rem; }
.team { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3rem clamp(1rem, 2vw, 1.75rem); }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .team { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .member { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
  .member:last-child { border-bottom: 1px solid var(--rule); }
  .member .portrait, .member .portrait-photo { margin-bottom: 0; }
  .member .portrait svg { width: 55%; }
}
.portrait {
  aspect-ratio: 1; margin-bottom: 1rem; display: grid; place-items: center;
  border: 2px dashed var(--ink-soft); border-radius: 14px; background: var(--amber-wash);
}
.portrait svg { width: 45%; height: auto; fill: none; stroke: var(--ink-soft); stroke-width: 3; stroke-linecap: round; }
.portrait-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; margin-bottom: 1rem; }
.member h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.member .role { margin: 0.2rem 0 0.5rem; font-weight: 700; }
.member .pending { color: var(--ink-soft); }
.member p { margin-bottom: 0.5rem; }
.linkedin-pending { font-size: 1rem; color: var(--ink-soft); text-decoration: underline dashed 1px; text-underline-offset: 0.25em; }
.linkedin { font-weight: 700; }

/* Support */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.support-grid .faq { margin-top: 0; }
.contact-card { border: 2px solid var(--ink); border-radius: 22px; padding: 1.5rem; box-shadow: 8px 8px 0 var(--amber); margin-right: 8px; }
.contact-card h2 { font-size: 1.875rem; margin-bottom: 0.75rem; }
.contact-card p { font-size: 1.0625rem; }
.contact-card p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .support-grid { grid-template-columns: minmax(0, 1fr); } }

/* Privacy */
.prose table { margin-top: 0.5rem; }

/* Synaptivism campaign */
.campaign-intro { max-width: 46rem; }
.campaign-intro h2 { margin-bottom: 1.25rem; }
.placeholder-block {
  padding: 1.5rem 1.75rem; border: 2px dashed var(--ink-soft); border-radius: 14px;
  background: var(--amber-wash); color: var(--ink-soft);
}
.placeholder-block p { margin: 0; }
.posters-section { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.25rem; margin-bottom: 1.25rem; }
.head-row .badge { margin: 0; }
.posters {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem clamp(1.5rem, 3vw, 2.5rem);
}
.poster { margin: 0; }
.poster-frame {
  aspect-ratio: 2 / 3; margin-bottom: 1rem; display: grid; place-items: center;
  border: 2px dashed var(--ink-soft); border-radius: 4px; background: var(--amber-wash);
}
.poster-frame span { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink-soft); }
.poster-img { width: 100%; height: auto; margin-bottom: 1rem; border-radius: 4px; box-shadow: 8px 8px 0 var(--amber); }
.poster h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.poster .credit { margin: 0.25rem 0 0; }
.poster .pending { color: var(--ink-soft); }
@media (max-width: 760px) { .posters { grid-template-columns: minmax(0, 1fr); max-width: 22rem; } }

/* Phones: tables become labelled stacks instead of scrolling sideways */
@media (max-width: 600px) {
  .plain-table { min-width: 0; width: 100%; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table th, .stack-table td { display: block; }
  .stack-table caption { display: block; }
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stack-table tbody tr { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
  .stack-table tbody tr:first-child { border-top: 2px solid var(--ink); }
  .stack-table th, .stack-table td { padding: 0.1rem 0; border: 0; white-space: normal; }
  .stack-table tbody th { font-size: 1.1875rem; }
  .stack-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; }
}

/* Features: on phones the contents list isn't sticky, so each section links back to it */
.to-contents { display: none; }
@media (max-width: 900px) {
  .to-contents { display: inline-block; margin-top: 1.5rem; padding-block: 0.75rem; font-size: 1.0625rem; }
  .toc { scroll-margin-top: 1rem; }
}
