/* Jewish Living Academy — global system
 * One canvas, one grid, one hierarchy. Monochrome by design.
 *
 * Doctrine
 *   Contrast comes from value, not hue.
 *   Precision comes from structure: hairlines, one radius, an 8px rhythm.
 *   Ink is the only strong color and it is reserved for interaction and text.
 *   The exceptions are Facebook's own blue, scoped to .fb-mock, and Amazon's
 *   yellow buy pill, scoped to .button--buy.
 *
 * Fonts are self-hosted (fonts/, OFL): one variable DM Sans file for
 * 400-700 and Playfair Display 700, latin first, latin-ext only if a page
 * uses it. Each page preloads the two latin files; never @import.
 */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-display-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-display-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched stand-ins, shown for the instant before the web fonts land.
   Sized to the real faces so the swap doesn't reflow text; local() means no
   download, and devices without these fonts skip them. */
@font-face {
  font-family: "DM Sans Fallback";
  font-weight: 400 500;
  src: local("Arial");
  size-adjust: 103.83%;
  ascent-override: 95.54%;
  descent-override: 29.86%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "DM Sans Fallback";
  font-weight: 600 700;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 102.1%;
  ascent-override: 97.16%;
  descent-override: 30.36%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Playfair Fallback";
  font-weight: 700;
  src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT");
  size-adjust: 106.63%;
  ascent-override: 101.47%;
  descent-override: 23.54%;
  line-gap-override: 0%;
}

/* Cross-fade between full-page navigations instead of a hard flash, kept
   short so it reads as polish and not as waiting. Skipped for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation-duration: 180ms; }
}

:root {
  color-scheme: light;

  /* Palette — six values. Text ratios are against --paper / --wash. */
  --ink: #161616;          /* headings, buttons, active state      18.1 / 16.7 */
  --ink-hover: #333333;    /* pressed/hover step of --ink                      */
  --text: #3d3d3d;         /* body copy                            10.9 / 10.1 */
  --muted: #666666;        /* secondary copy, eyebrows              5.7 /  5.3 */
  --mid: #8c8c8c;          /* control borders, soft display line    3.4 /  3.1 */
  --line: #e4e4e4;         /* hairlines: decoration only                       */
  --wash: #f6f6f6;         /* alternate band and quiet fills                   */
  --paper: #ffffff;

  /* Type */
  --font-body: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --step--2: .75rem;                                    /* eyebrows, tags, table heads */
  --step--1: .875rem;                                   /* secondary text, table cells */
  --step-0: 1rem;
  --step-1: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  --step-2: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  --step-3: clamp(2.5rem, 2rem + 2.5vw, 4rem);

  /* Geometry — an 8px rhythm and two radii. */
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: clamp(4rem, 8vw, 6rem);
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Notch, status bar and home indicator. All 0 in an ordinary browser tab. */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-inline: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --edge: max(var(--gutter), var(--safe-inline));
  --content: 68rem;
  --copy: 40rem;
  --radius-sm: .25rem;     /* things nested inside a container: tiles, tags */
  --radius: .5rem;         /* containers and controls: cards, buttons, tables */
  --radius-full: 999px;    /* circles only */
}

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

html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Anchor jumps (#leadership, #contact) land with air above, not flush to the edge. */
:target { scroll-margin-block-start: var(--space-6); }

body {
  min-width: 20rem;
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 var(--step-0)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-top: var(--safe-top);
}

/* Home-screen mode draws the page under the status bar; an ink cap keeps the
   clock legible and matches the tab bar. Zero height in a normal tab. */
body::before {
  content: "";
  position: fixed;
  z-index: 1001;
  inset: 0 0 auto;
  height: var(--safe-top);
  background: var(--ink);
  pointer-events: none;
}

/* No 300ms tap delay or double-tap zoom on controls; pinch-zoom stays. */
:where(a, button, .button) { touch-action: manipulation; }

:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin-block: 0; }

:where(h1, h2, h3, h4) {
  max-width: 22ch;
  color: var(--ink);
  line-height: 1.1;
  text-wrap: balance;
}

:where(h1, h2) {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
}

:where(h3, h4) { font-weight: 700; }

h1 { font-size: var(--step-3); line-height: 1.04; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); line-height: 1.25; }
h4 { font-size: var(--step-0); }

/* Two-tone page title: same face and size as any h1, second line steps back. */
.display-heading { display: flex; flex-direction: column; }
.display-heading__soft { color: var(--mid); }

:where(p, li, dd) { text-wrap: pretty; overflow-wrap: break-word; }

a {
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-color: var(--mid);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: text-decoration-color 120ms ease;
}

a:active { text-decoration-color: var(--ink); }

:where(img, svg, video, canvas, iframe) { display: block; max-width: 100%; }
:where(img, video) { height: auto; }
:where(button, input, select, textarea) { font: inherit; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

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

/* Accessibility */
.skip-link {
  position: fixed;
  z-index: 1000;
  inset: var(--space-3) auto auto var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Shell. The webshellnav sidebar owns the left edge; pages own everything
   else, so bands run full-bleed and the footer sits on the bottom edge.
   The theme sets no padding on .site-main, only a zero-specificity default,
   so this padding wins whatever the stylesheet order. */
.site-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: calc(100dvh - var(--safe-top));
  padding: 0;
}

@media (max-width: 640px) {
  .site-main { padding: 0 0 calc(var(--mobile-nav-height, 64px) + env(safe-area-inset-bottom, 0px)); }
}

/* Layout primitives */
.container {
  width: min(var(--content), calc(100% - 2 * var(--edge)));
  margin-inline: auto;
}

.section { padding-block: var(--space-8); }
.section--soft { background: var(--wash); }
.section--tight { padding-block: var(--space-6); }

/* Fills whatever height the page has left, centring its content. */
.section--fill {
  display: flex;
  flex: 1;
  align-items: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, var(--space-5));
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-gap, var(--space-3));
}

/* Vertical rhythm inside a block of content. Spacing is applied here and
   nowhere else — a component that sets its own margin will silently beat it. */
.flow > * + * { margin-block-start: var(--flow-gap, var(--space-3)); }
.flow > :where(p, blockquote) { max-width: var(--copy); }

/* Page titles and section heads get more air below than paragraphs get
   between each other. */
.flow > :where(h1, h2) + * { margin-block-start: var(--space-4); }

/* Plain prose lists, unmarked like the rest of the site's lists; classed lists
   (.checklist, .timeline) size themselves. Stated here so it never depends on
   another stylesheet's reset. */
.flow > :where(ul, ol):not([class]) {
  display: grid;
  gap: var(--space-1);
  max-width: var(--copy);
  padding: 0;
  list-style: none;
}

.grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
}

.grid > *,
.split > * { min-width: 0; }

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

/* Label voice: small, tracked capitals for eyebrows, tags, table heads and dates. */
.eyebrow,
.tag,
.data-table caption,
.data-table thead th,
.fineprint dt,
.timeline__year,
.timeline__era {
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--muted);
  line-height: 1.25;
}

.muted { color: var(--muted); }

.icon-label { display: inline-flex; align-items: center; gap: var(--space-2); }

/* Icons sit in a small tile that echoes the card geometry. */
.icon {
  display: inline-flex;
  flex: 0 0 1.75rem;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: .3rem;
  border-radius: var(--radius-sm);
  background: var(--wash);
  color: var(--ink);
  stroke-width: 1.75;
}

.icon--lg {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  margin-bottom: var(--space-2);
  padding: .5rem;
  stroke-width: 1.5;
}

/* Inline arrow / external-link glyph, drawn so its stroke matches the label. */
.glyph {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.125em;
}

/* Controls
   One shape (--radius), one height (3rem). Primary is ink, secondary is a
   hairline outline; nothing else. */
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0 var(--space-4);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-align: center;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color 120ms ease, border-color 120ms ease, transform 100ms ease;
}

/* Touch has no hover, so the press carries the feedback. */
.button:active {
  border-color: var(--ink-hover);
  background: var(--ink-hover);
  transform: scale(.98);
}

.button .glyph { transition: transform 150ms ease; }

.button--outline {
  border-color: var(--mid);
  background: var(--paper);
  color: var(--ink);
}

.button--outline:active {
  border-color: var(--ink);
  background: var(--wash);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .5;
}

/* Form field: same shape and height as a button. */
.input {
  width: 100%;
  max-width: 22.5rem;
  min-height: 3rem;
  padding: 0 var(--space-3);
  border: 1px solid var(--mid);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Small non-interactive label. */
.tag {
  display: inline-flex;
  align-items: center;
  padding: .25rem var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  line-height: 1.25;
}

/* Containers: a hairline box, --radius, nothing else. */
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: background-color 120ms ease;
}

.card__header,
.card__body { padding: var(--space-4); }

.card__header + .card__body { border-top: 1px solid var(--line); }

/* A card with a heading link is one big target: the link stretches over the
   whole card, so a thumb doesn't have to find a line of text. */
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:focus-visible { outline: 0; }
.card h3 a:focus-visible::after { outline: 2px solid var(--ink); outline-offset: -2px; }
.card:has(h3 a):active { background: var(--wash); }
.card h3 a:active { text-decoration: underline; }

/* Tables remain tables. */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.data-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  color: var(--text);
  font-size: var(--step--1);
  line-height: 1.5;
}

.data-table caption {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-align: start;
}

.data-table :where(th, td) {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.data-table thead th {
  background: var(--wash);
  color: var(--muted);
}

.data-table tbody th { color: var(--ink); font-weight: 600; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody th .eyebrow { display: block; margin-bottom: var(--space-1); }

/* Icon sits left of the eyebrow and title, so the row header's first line
   lines up with the first line of the cells beside it. */
.data-table tbody th > .icon--lg { float: left; margin: 0 var(--space-3) 0 0; }
.data-table thead th { white-space: nowrap; }

/* Row-header column wide enough that "03 · Psalms & prayer" and the title don't wrap. */
.data-table--labelled tbody th { width: 16rem; }

@media (hover: hover) {
  .data-table tbody tr:hover > * { background: var(--wash); }
}

/* Phones: one row becomes one block, each cell carrying its column name from
   data-label, so long cells read at full width instead of scrolling sideways. */
@media (max-width: 40rem) {
  .data-table { min-width: 0; }

  .data-table,
  .data-table :where(caption, tbody, tr, th, td) { display: block; }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .data-table tbody tr { padding-block: var(--space-2); border-bottom: 1px solid var(--line); }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table tbody :where(th, td) { padding-block: var(--space-2); border-bottom: 0; }
  .data-table--labelled tbody th { width: auto; }

  .data-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .25rem;
    color: var(--muted);
    font-size: var(--step--2);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
}

/* Metrics: a ruled strip of stacked figures, not a box of boxes. */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--space-4) var(--space-5);
  padding-block: var(--space-4);
  border-block: 1px solid var(--line);
}

.metric { display: flex; flex-direction: column; gap: .25rem; }

.metric__value {
  color: var(--ink);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.metric__label { color: var(--muted); font-size: var(--step--1); line-height: 1.4; }

/* Star rating: plain glyphs in ink. */
.rating__stars {
  color: var(--ink);
  font-size: var(--step-1);
  letter-spacing: .1em;
  line-height: 1;
}

.rating__text { color: var(--muted); font-size: var(--step--1); }
.rating__text strong { color: var(--ink); }

/* Rows: label on the left, its action on the right, ruled. */
.rows { border-block-start: 1px solid var(--line); }

.rows__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-4);
  border-block-end: 1px solid var(--line);
}

.rows__item p { max-width: var(--copy); }
.rows__item strong { color: var(--ink); }

/* CTA note: a single line of fine print under a primary button. */
.cta-note { color: var(--muted); font-size: var(--step--1); }

/* FAQ: plain <details>/<summary>, ruled like .rows. No script. */
.faq { border-block-start: 1px solid var(--line); }

.faq__item { border-block-end: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }

.faq__item .glyph--plus {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--mid);
  transition: transform 150ms ease;
}

.faq__item[open] .glyph--plus { transform: rotate(45deg); }

.faq__item p {
  max-width: var(--copy);
  padding-block-end: var(--space-4);
  color: var(--text);
}

/* Notice: a flat rule, not a card. */
.notice {
  padding-inline-start: var(--space-3);
  border-inline-start: 2px solid var(--mid);
  color: var(--text);
}

.notice strong { color: var(--ink); }

/* Fine print: sources and small references as ruled label/link rows, set
   small and quiet. Links stay underlined so they still read as links. */
.fineprint {
  border-block-start: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--step--1);
  line-height: 1.5;
}

.fineprint > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: var(--space-1) var(--space-3);
  padding-block: var(--space-2);
  border-block-end: 1px solid var(--line);
}

.fineprint dd {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem var(--space-4);
  margin: 0;
}

.fineprint a { color: var(--muted); text-decoration-color: var(--mid); }

@media (max-width: 40rem) {
  .fineprint > div { grid-template-columns: minmax(0, 1fr); }
}

/* Checklist: label/value rows boxed as one container. */
.checklist {
  padding-inline: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-1) var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.checklist li:last-child { border-bottom: 0; }

.checklist strong { color: var(--ink); }
.checklist span { color: var(--muted); font-size: var(--step--1); text-align: end; }

@media (max-width: 30rem) {
  .checklist li { grid-template-columns: minmax(0, 1fr); }
  .checklist span { text-align: start; }
}

/* Includes: a checklist variant for "what you get". A check leads each row and
 * the note sits under its label instead of a column away; two columns when wide. */
.checklist--includes li {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 var(--space-3);
  align-items: start;
}

.checklist--includes li::before {
  content: "";
  grid-row: 1 / span 2;
  inline-size: 1.25rem;
  block-size: 1.25rem;
  margin-block-start: .125rem;
  background: var(--ink);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.checklist--includes span { grid-column: 2; text-align: start; }

@media (forced-colors: active) {
  .checklist--includes li::before { background: CanvasText; }
}

@media (min-width: 48rem) {
  .checklist--includes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-6);
  }
  .checklist--includes li:nth-last-child(2) { border-bottom: 0; }
}

/* Timeline: a rail and nodes for sequential, dated history. */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }

.timeline::before {
  content: "";
  position: absolute;
  top: .625rem;
  bottom: .625rem;
  left: .625rem;
  width: 1px;
  background: var(--line);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0 var(--space-3);
  padding-block: var(--space-3);
}

.timeline__node {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: center;
  width: 11px;
  height: 11px;
  margin-top: .4rem;
  border: 2px solid var(--mid);
  border-radius: var(--radius-full);
  background: var(--paper);
}

.timeline__year {
  margin: 0 0 .25rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.timeline__body strong { display: block; color: var(--ink); }
.timeline__body p + p { margin-top: .25rem; }

.timeline__era {
  position: relative;
  margin-top: var(--space-5);
  padding-inline-start: calc(1.25rem + var(--space-3));
  color: var(--ink);
}

.timeline__era:first-child { margin-top: 0; }

/* Directory: a lookup index boxed as one container. Cells draw their own
   right/bottom rules and the list bleeds 1px past the frame, so a short last
   row still closes cleanly. */
.directory {
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.directory__group {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(0, 3fr);
}

.directory__group + .directory__group { border-top: 1px solid var(--line); }

.directory__head {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: var(--space-4);
  border-inline-end: 1px solid var(--line);
  background: var(--wash);
}

.directory__title { font-family: var(--font-body); font-size: var(--step-0); font-weight: 700; }

.directory__count {
  color: var(--muted);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

.directory__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  margin: 0 -1px -1px 0;
  padding: 0;
  list-style: none;
}

.directory__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-inline-end: 1px solid var(--line);
  border-block-end: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
}

.directory__code {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 3rem;
  justify-content: center;
  padding: .2rem .45rem;
  border-radius: var(--radius-sm);
  background: var(--wash);
  color: var(--muted);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: .06em;
}

@media (max-width: 40rem) {
  .directory__group { grid-template-columns: minmax(0, 1fr); }
  .directory__head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }
}

/* Footer: one hairline, one quiet row of links, one legal line.
   Pinned to the bottom edge. Markup is written by scripts/build-nav.py. */
.site-footer {
  margin-top: auto;
  padding-block: var(--space-4);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: var(--step--1);
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

.site-footer__legal { margin: 0; }


/* Community landing page */
.conversion-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
}

.conversion-page > main { display: flex; flex: 1; flex-direction: column; }


.conversion-hero {
  display: flex;
  flex: 1;
  align-items: center;
  padding-block: var(--space-8);
  background: var(--wash);
}

.conversion-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(18rem, 4fr);
  align-items: center;
  gap: clamp(var(--space-5), 6vw, var(--space-7));
}

.conversion-hero__copy { --flow-gap: var(--space-4); }
.conversion-hero__copy h1 { max-width: 16ch; }
.conversion-lead { max-width: 36rem; font-size: var(--step-1); }
.conversion-cta { display: grid; justify-items: start; gap: var(--space-3); }
.conversion-cta__note { color: var(--muted); font-size: var(--step--1); }

/* Facebook group preview. Facebook's own blue and 6px button are the one
   deliberate exception to the monochrome rule. */
.fb-mock {
  --fb-blue: #0866FF;
  --fb-blue-pressed: #77A7FF;
  --fb-radius: 6px;
  --fb-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif;

  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

/* Monthly cover, synced by scripts/sync-group.sh; bleeds to the card edge. */
.fb-mock__cover {
  width: calc(100% + 2 * var(--space-4));
  max-width: none;
  margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) 0;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 1571 / 600;
  object-fit: cover;
}

.fb-mock__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
}

.fb-mock__title { display: grid; gap: .25rem; }
.fb-mock__title strong { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); }
.fb-mock__title span { color: var(--muted); font-size: var(--step--1); }
.fb-mock__title a { color: inherit; text-decoration: none; }
.fb-mock__title a:active { text-decoration: underline; }

.fb-mock__join {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  padding: 0 var(--space-3);
  border-radius: var(--fb-radius);
  background: var(--fb-blue);
  color: var(--paper);
  font-family: var(--fb-font);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

.fb-mock__join:active { background: var(--fb-blue-pressed); }

.fb-mock__featured {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--wash);
}

.fb-mock__thumb {
  width: clamp(7rem, 22vw, 9.5rem);
  height: clamp(7rem, 22vw, 9.5rem);
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.fb-mock__featured-body { display: grid; min-width: 0; gap: .25rem; }
.fb-mock__featured-author { color: var(--muted); font-size: var(--step--1); }
.fb-mock__featured-title { color: var(--ink); font-weight: 700; line-height: 1.3; }
.fb-mock__excerpt { grid-column: 1 / -1; color: var(--ink); font-size: var(--step--1); line-height: 1.5; }
.fb-mock__more { color: var(--ink); font-weight: 700; text-decoration: none; }
.fb-mock__more:active { text-decoration: underline; }

/* Amazon buy link. Like Facebook's blue, Amazon's yellow pill is a deliberate
   exception to the monochrome rule, scoped to this one button so a parent
   knows at a glance it leaves for Amazon. Text stays ink; the yellow is only
   a surface. */
.button--buy {
  --amz-yellow: #FFD814;
  --amz-edge: #FCD200;
  --amz-hover: #F7CA00;
  --amz-pressed: #F0B800;

  border-color: var(--amz-edge);
  border-radius: var(--radius-full);
  background: var(--amz-yellow);
  color: var(--ink);
  font-weight: 500;
}

.button--buy:active {
  border-color: var(--amz-edge);
  background: var(--amz-pressed);
}

/* Amazon listing: cover on a wash tile, then title, details, why we chose it,
   and the buy button. It carries no price, rating, or delivery date: those go
   stale, and Amazon's Associates terms only allow them from Amazon's own feed. */
.listing {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.listing__media {
  display: grid;
  place-items: center;
  padding: var(--space-2);
  background: var(--wash);
}

/* Amazon's cover art has a white ground; multiply lets the tile show through. */
.listing__media img {
  width: 100%;
  max-width: 9rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.listing__body {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
}

/* No cover yet: same box, a quiet glyph in place of the image. */
.listing__media svg { width: 3rem; height: 3rem; color: var(--muted); }
.listings { --stack-gap: var(--space-3); }

.listing__title {
  max-width: none;
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: 0;
}

.listing__meta { color: var(--muted); font-size: var(--step--1); }
.listing__note { max-width: var(--copy); }
.listing .button { margin-block-start: var(--space-2); }

@media (max-width: 40rem) {
  .listing { grid-template-columns: minmax(0, 1fr); }
  .listing__media img { width: 8rem; }
}

/* Fingers: quiet links and the Join pill grow to a 44px target without
   changing how they look. */
@media (pointer: coarse) {
  .site-footer a,
  .fineprint a,
  .fb-mock__title a { padding-block: .875rem; }
  .fb-mock__join { min-height: 2.75rem; }
}

/* Pointer hover. A touch screen leaves :hover stuck on whatever was tapped last,
   so only devices that can really hover get it. */
@media (hover: hover) {
  a:hover { text-decoration-color: var(--ink); }
  .fineprint a:hover { color: var(--ink); }
  .button:hover { border-color: var(--ink-hover); background: var(--ink-hover); }
  .button--outline:hover { border-color: var(--ink); background: var(--paper); }
  .button--buy:hover { border-color: var(--amz-edge); background: var(--amz-hover); }
  .button:hover .glyph--arrow { transform: translateX(2px); }
  .button:hover .glyph--ext { transform: translate(1px, -1px); }
  .card:has(h3 a):hover { background: var(--wash); }
  .card h3 a:hover,
  .fb-mock__title a:hover,
  .fb-mock__more:hover { text-decoration: underline; text-decoration-color: var(--ink); }
}

/* The floating chat obscures content and competes with every page CTA. */
#lc_text-widget,
.lc_text-widget { display: none !important; }

/* Dialog: a native <dialog> as a reading card, closed by a corner ×.
   Open with showModal(); the backdrop and Esc come free. */
.dialog {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--copy);
  max-height: 85vh;
  padding: var(--space-5) var(--space-4) var(--space-4);
  color: var(--text);
  background: var(--paper);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 1.25rem 3.75rem rgb(0 0 0 / .25);
  line-height: 1.65;
}
.dialog::backdrop { background: rgb(0 0 0 / .45); }
.dialog__body p { margin: 0 0 1em; }
.dialog__close {
  position: absolute;
  top: var(--space-1);
  right: var(--space-2);
  font-size: 1.75rem;
  line-height: 1;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 56rem) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .split,
  .conversion-hero__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 40rem) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .rows__item { grid-template-columns: minmax(0, 1fr); }

  .conversion-lead { font-size: var(--step-0); }
}

@media (max-width: 30rem) {
  .button { width: 100%; }
}

/* Premium motion layer. CSS only, no JS, no new colors: it animates just
   opacity and transform (compositor-only, no layout or paint), and every
   piece is progressive — a browser without support shows the static page. */
@media (prefers-reduced-motion: no-preference) {
  /* Hero heading settles in once on load. */
  .site-main h1 { animation: rise 520ms cubic-bezier(.2, .7, .2, 1) both; }
  .site-main h1 + * { animation: rise 520ms 90ms cubic-bezier(.2, .7, .2, 1) both; }

  /* Sections, cards and figures ease up as they scroll into view — driven by
     the scroll timeline itself, so there's no observer script to run. */
  @supports (animation-timeline: view()) {
    .section > *, .card, figure {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}

/* Cards lift on real hover: a soft shadow and a 2px rise, images drift in. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card { transition: background-color 120ms ease, transform 220ms cubic-bezier(.2, .7, .2, 1), box-shadow 220ms ease; }
  .card:has(h3 a):hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgb(0 0 0 / .18); }
  .card img { transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
  .card:has(h3 a):hover img { transform: scale(1.03); }
  .button:active { transform: translateY(1px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  body { color: #000; }
  .site-nav,
  .mobile-nav,
  .skip-link,
  .button,
  [data-no-print] { display: none !important; }
  .site-main,
  .site-shell > .site-main { min-height: 0; margin: 0; padding: 0; }
  .section { padding-block: var(--space-5); }
  .table-wrap { overflow: visible; }
  .data-table { min-width: 0; }
  .card,
  .table-wrap,
  tr { break-inside: avoid; }
}

/* Justified prose (about, curriculum): last line flush left */
.prose-justify main p:is(:not([class]), .muted, .notice):not([lang="he"]) {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

/* Hero photo: the emotional anchor; the Facebook preview sits below as proof. */
.conversion-photo { margin: 0; }
.conversion-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.conversion-proof { padding-block: var(--space-7); }
.conversion-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(var(--space-5), 6vw, var(--space-7));
}
@media (max-width: 56rem) {
  .conversion-proof__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .conversion-photo img { aspect-ratio: 1 / 1; object-position: 30% 50%; }
}

/* Curriculum: shorter hero photo and a strip of real workbook pages. */
.conversion-photo--compact img { aspect-ratio: 5 / 4; max-height: 22rem; object-position: 50% 40%; }

.page-peek {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}
.page-peek__item { margin: 0; display: grid; align-content: start; gap: var(--space-2); }
.page-peek__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
/* Short captions in a narrow column: ragged right, never justified. */
.page-peek__item figcaption { color: var(--muted); font-size: var(--step--1); line-height: 1.5; text-align: start; }
.page-peek__item figcaption strong { color: var(--ink); }

@media (max-width: 40rem) {
  .page-peek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Includes: an icon per item replaces the generic check when one is given. */
.checklist--includes li { align-content: start; }
.checklist--includes li:has(> svg)::before { content: none; }
.checklist--includes li > svg {
  grid-row: 1 / span 2;
  inline-size: 1.25rem;
  block-size: 1.25rem;
  margin-block-start: .125rem;
  color: var(--ink);
}

/* The theme spaces stacked blog posts (article + article); cards in a grid
   were inheriting it and stepping down one by one. */
.site-main .grid > * { margin-block-start: 0; }

/* Narrow measures (cards, two-column rows) open rivers when justified. */
.prose-justify main :is(.card, .rows__item) p:not([lang="he"]) { text-align: start; hyphens: manual; }

/* Curriculum: justify every paragraph, cards and rows included. */
.prose-justify--all main p:not(.eyebrow, .metric__label, .metric__value, .directory__count, .timeline__age, .timeline__child, .timeline__part, .rating__text, [lang="he"]),
.prose-justify--all main :is(.card, .rows__item) p:not(.eyebrow, [lang="he"]),
.prose-justify--all main td:not([lang="he"]),
.prose-justify--all main :is(aside.notice, figcaption:not(.page-peek *)):not([lang="he"]) {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

/* ---------- Growth timeline (curriculum ages) ---------- */
.timeline-wrap > .eyebrow { margin-bottom: var(--space-5); }
.timeline-wrap .timeline,
.timeline__step {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.timeline-wrap .timeline { display: grid; gap: 0; }
/* the generic history rail must not draw here */
.timeline-wrap .timeline::before { content: none; }
.timeline__step {
  align-content: start; /* extra row height goes below, not into the marker row */
  --dot: 2.75rem;
  position: relative;
  display: grid;
  grid-template-columns: var(--dot) 1fr;
  column-gap: var(--space-4);
  padding-bottom: var(--space-6);
}
.timeline__step::before { content: none; }
/* connector, centred on the marker */
.timeline__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--dot) / 2 - .5px);
  top: var(--dot);
  bottom: 0;
  width: 1px;
  background: var(--mid);
}
.timeline__marker {
  box-sizing: border-box;
  width: var(--dot);
  height: var(--dot);
  margin: 0;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--mid);
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.timeline__icon { width: 1.25rem; height: 1.25rem; display: block; }
.timeline__step .timeline__body { padding-top: .5rem; }
.timeline__step .timeline__body > * { margin: 0; }
.timeline__age {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.timeline__child { margin-top: var(--space-1) !important; color: var(--text); }
.timeline__part {
  margin-top: var(--space-3) !important;
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--muted);
}
.timeline__part .eyebrow { display: block; margin-bottom: .125rem; font-size: var(--step--2); }
.timeline__tag {
  display: block;
  margin-bottom: var(--space-1) !important;
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
/* milestone: the destination */
.timeline__step--milestone { padding-bottom: 0; }
.timeline__step--milestone .timeline__marker {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--ink);
}
.timeline__step--milestone .timeline__body { padding-top: 0; }

@media (min-width: 48rem) {
  .timeline-wrap .timeline { grid-template-columns: repeat(4, 1fr); column-gap: var(--space-4); }
  .timeline__step {
    grid-template-columns: 1fr;
    row-gap: var(--space-3);
    padding-bottom: 0;
  }
  .timeline__step:not(:last-child)::after {
    left: var(--dot);
    right: calc(-1 * var(--space-4));
    top: calc(var(--dot) / 2 - .5px);
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .timeline__step .timeline__body { padding-top: 0; }
  /* keep the milestone label from pushing its age down */
  .timeline__tag { position: absolute; top: calc(var(--dot) / 2 - .5em); left: calc(var(--dot) + var(--space-3)); }
}

/* ---------- Audience chips (curriculum) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.chips > li { margin: 0; }
.chip {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-3);
  border: 1px solid var(--line); border-radius: var(--radius-full);
  background: var(--paper); color: var(--ink); font-weight: 600; line-height: 1.2;
}
.chip::before { content: none; }
.chip svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--ink); }

/* ---------- Not / Instead contrast (curriculum) ---------- */
.contrast { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contrast__row {
  display: grid; grid-template-columns: 1fr auto 1.4fr; align-items: center;
  gap: var(--space-4); padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.contrast__row::before { content: none; }
.contrast__not { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--mid); }
.contrast__arrow { color: var(--mid); }
.contrast__is { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; line-height: 1.25; color: var(--ink); }
@media (max-width: 40rem) {
  .contrast__row { grid-template-columns: 1fr; gap: var(--space-1); }
  .contrast__arrow { display: none; }
}

/* About: community photos. One crop, one radius, one caption format.
   Desktop: portrait lead on the left, four landscapes in a 2x2 beside it. */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
}
.photo-strip__item { display: grid; grid-template-rows: auto auto; align-content: start; gap: var(--space-2); }
.photo-strip__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--wash);
}
.photo-strip__item--tall { grid-row: span 2; grid-template-rows: minmax(0, 1fr) auto; }
.photo-strip__item--tall img { height: 100%; aspect-ratio: auto; object-position: 50% 30%; }
.photo-strip__item figcaption { color: var(--muted); font-size: var(--step--1); line-height: 1.4; }
.photo-strip__item figcaption strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 48rem) {
  .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
  .photo-strip__item--tall { grid-column: 1 / -1; grid-row: auto; }
  .photo-strip__item--tall img { aspect-ratio: 4 / 5; max-height: 32rem; }
}

/* About: press card (our own photo, linking to the outlet's coverage). */
.press-card {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-4);
  border-block: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.press-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.press-card__body > * { display: block; }
.press-card__outlet { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); }
.press-card__cta { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.press-card:hover .press-card__cta, .press-card:focus-visible .press-card__cta { text-decoration-thickness: 2px; }

/* About: an occasional photo inside a timeline entry. */
.timeline__photo { display: grid; gap: var(--space-1); max-width: 20rem; margin-top: var(--space-2); }
.timeline__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--wash); }
.timeline__photo figcaption { color: var(--muted); font-size: var(--step--2); }

/* About: founder portrait — an editorial two-column, not an avatar in a box. */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
}
.founder__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--wash);
}
.founder .flow > h2 + .muted { margin-block-start: var(--space-1); }
@media (max-width: 48rem) {
  .founder { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .founder__photo { max-width: 16rem; }
}

/* Pod share kit: numbered steps, a grid of share-image cards, message cards. */
.kit > h2 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-block-start: var(--space-6);
}

.kit-step {
  display: inline-flex;
  flex: 0 0 1.75rem;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--paper);
  font: 600 var(--step--1)/1 var(--font-body);
  letter-spacing: 0;
}

.kit-field { display: grid; gap: var(--space-1); }

.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  align-items: start;
  gap: var(--space-4);
}

.kit-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2);
}

.kit-card canvas {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: var(--wash);
}

.kit-card small { color: var(--muted); }

.kit-msgs { --stack-gap: var(--space-3); }
.kit-msgs p { white-space: pre-line; }

/* Fine-print note under staged/illustrative photos. */
.photo-note { margin-top: 0.35rem; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.02em; text-align: end; font-style: italic; }

/* Organization facts: quiet, document-style reference line */
.org-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem 2rem;
  margin: 0;
  padding-block: 1.25rem;
  border-block: 1px solid var(--color-border, #e5e5e5);
  font-size: 0.9375rem;
}
.org-facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted, #6b6b6b);
  margin-bottom: 0.25rem;
}
.org-facts dd { margin: 0; }
.org-facts > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  align-items: start;
}
.org-facts .icon {
  grid-row: span 2;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  color: var(--color-text-muted, #6b6b6b);
}

/* Nine tabs in the mobile bar: the theme's 56px floor pushed the last two
   off a 390px screen behind a hidden scroll. Share the width instead. */
.mobile-nav li { min-width: 0; }
