/* Remnant Compass. Indigo and navy ground, copper, coral and teal accents, paper for reading. */
:root {
  --navy: #0e1730;
  --navy-2: #16214a;
  --indigo: #252b6b;
  --indigo-2: #343c8a;
  --paper: #f5efe3;
  --paper-2: #ece3d2;
  --card: #fffaf1;
  --ink: #161a2c;
  --ink-soft: #4a4f66;
  --rule: #d9cdb6;
  --copper: #b86a3b;
  --copper-ink: #94502a;
  --coral: #e2735a;
  --coral-ink: #b4472f;
  --teal: #2c8c88;
  --teal-ink: #1d6764;
  --on-dark: #f5efe3;
  --on-dark-soft: #b9bdd8;
  --note: #6a4a12;
  --note-bg: #fff4d6;
  --focus: #2c8c88;
  --shadow: 0 1px 0 rgba(22, 26, 44, .06), 0 10px 30px -14px rgba(22, 26, 44, .35);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --hebrew: "Frank Ruhl Libre", "Times New Roman", serif;
  --wrap: 1180px;
  --read: 680px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1529; --paper-2: #151d38; --card: #1a2343; --ink: #efe8da; --ink-soft: #b4b8cf;
    --rule: #2f3a63; --copper-ink: #e09a6c; --coral-ink: #f0937c; --teal-ink: #6cc7c1;
    --note: #ffe2a3; --note-bg: #3a2f14; --shadow: 0 10px 30px -14px rgba(0, 0, 0, .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1529; --paper-2: #151d38; --card: #1a2343; --ink: #efe8da; --ink-soft: #b4b8cf;
  --rule: #2f3a63; --copper-ink: #e09a6c; --coral-ink: #f0937c; --teal-ink: #6cc7c1;
  --note: #ffe2a3; --note-bg: #3a2f14; --shadow: 0 10px 30px -14px rgba(0, 0, 0, .7); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2.4rem; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 12px; top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels */
.eyebrow, .tag, .cat { font: 500 .74rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { color: var(--copper-ink); }
.dark .eyebrow { color: var(--coral); }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); }
.dark .lede { color: var(--on-dark-soft); }
.he { font-family: var(--hebrew); direction: rtl; unicode-bidi: isolate; }

/* Draft banner and notes */
.draft-banner { background: var(--coral); color: #1a0f0b; font: 500 .82rem/1.4 var(--ui); }
.draft-banner .wrap { display: flex; gap: .6rem; flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
.draft-note { border: 1.5px dashed var(--note); background: var(--note-bg); color: var(--note); font: 400 .9rem/1.55 var(--ui); padding: .9rem 1rem; border-radius: 10px; }
.draft-note::before { content: "Draft note. "; font-weight: 600; }
.ph { display: inline-block; border: 1.5px dashed var(--note); background: var(--note-bg); color: var(--note); font: 500 .82rem/1.4 var(--ui); padding: .2rem .55rem; border-radius: 6px; }

/* Header */
.site-header { background: var(--navy); color: var(--on-dark); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font: 500 1.2rem/1 var(--display); letter-spacing: .01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand:hover { color: inherit; }
.nav { display: flex; gap: .2rem; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--on-dark-soft); text-decoration: none; font: 500 .86rem/1 var(--ui); padding: .55rem .6rem; border-radius: 6px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--coral); border-radius: 0; }
.nav-toggle { display: none; margin-left: auto; background: transparent; color: var(--on-dark); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font: 500 .85rem/1 var(--ui); padding: .55rem .95rem; cursor: pointer; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; padding: .4rem 0 1rem; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .4rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--coral); padding-left: .8rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font: 600 .92rem/1 var(--ui); text-decoration: none; padding: .9rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent; background: var(--coral); color: #1a0f0b; cursor: pointer; }
.btn:hover { background: #ec8a73; color: #1a0f0b; }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.dark .btn.ghost { color: var(--on-dark); }
.btn.ghost:hover { background: rgba(127,127,127,.12); color: inherit; }
.btn.teal { background: var(--teal); color: #fff; }
.btn.teal:hover { background: #349c97; color: #fff; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Dark sections and the hero */
.dark { background: var(--navy); color: var(--on-dark); }
.dark a:not(.btn) { color: #8fd3ce; }
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--indigo-2) 0%, var(--indigo) 30%, var(--navy) 72%); padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--coral); }
.hero .lede { max-width: 34rem; margin-top: 1.4rem; }
.hero .actions { margin-top: 2rem; }
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: end; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; justify-self: center; order: -1; }
}
.page-hero { background: linear-gradient(160deg, var(--indigo) 0%, var(--navy) 70%); padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(4rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.1rem, 5vw, 3.6rem); }
.page-hero .lede { margin-top: 1rem; max-width: 40rem; }
.page-hero .wrap > * + * { margin-top: .9rem; }
.page-hero .he-mark { position: absolute; right: -1rem; bottom: -2.2rem; font-size: clamp(7rem, 18vw, 15rem); line-height: 1; color: rgba(255,255,255,.06); pointer-events: none; user-select: none; }

/* Torn paper edge into the reading paper */
.tear { position: relative; height: 34px; margin-top: -34px; z-index: 2; color: var(--paper); }
.tear svg { width: 100%; height: 34px; }

/* Micrography: lines of Hebrew text shaped into a form */
.micro { position: absolute; inset: 0; overflow: hidden; color: var(--copper); font: 400 9px/1.18 var(--hebrew); direction: rtl; text-align: justify; word-spacing: .15em; opacity: .9;
  -webkit-mask: var(--shape) center / contain no-repeat; mask: var(--shape) center / contain no-repeat; }
.micro.ring { --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill-rule='evenodd' d='M50 1a49 49 0 1 1 0 98a49 49 0 1 1 0-98zM50 28a22 22 0 1 0 0 44a22 22 0 1 0 0-44z'/%3E%3C/svg%3E"); }
.micro span { display: block; }
.paper-cut { filter: drop-shadow(0 6px 0 rgba(0,0,0,.18)) drop-shadow(0 14px 18px rgba(0,0,0,.25)); }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section.tint { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2 { max-width: 22ch; }
.section-head .eyebrow { margin-bottom: .6rem; }

/* Cards: layered paper with an offset colour sheet behind */
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid.one { grid-template-columns: 1fr; }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 1.4rem 1.4rem 1.3rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .7rem; isolation: isolate; margin: 0 7px 7px 0; }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: 14px; background: var(--accent, var(--teal)); transform: translate(7px, 7px); z-index: -1; opacity: .9; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: 14px; background: var(--card); z-index: -1; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a, .card h3 a:focus-visible { color: var(--teal-ink); text-decoration: underline; }
.card .meta { font: 500 .78rem/1.4 var(--ui); color: var(--ink-soft); margin-top: auto; padding-top: .4rem; display: flex; gap: .7rem; flex-wrap: wrap; position: relative; z-index: 1; }
.card .meta a { position: relative; z-index: 2; }
.card .tag { color: var(--ink-soft); }
.card .tag .dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent, var(--teal)); margin-right: .45rem; vertical-align: .05em; }
.k-torah, .t-kit { --accent: var(--teal); }
.k-times, .t-recipe { --accent: var(--copper); }
.k-word, .t-card { --accent: var(--coral); }
.k-study, .t-guide { --accent: var(--indigo-2); }
.t-bookmark { --accent: var(--copper); }
.card.empty { border-style: dashed; box-shadow: none; }
.card.empty::before { display: none; }

/* Rooms on the home page */
.rooms { display: grid; gap: 1px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.room { background: var(--card); padding: 1.5rem 1.4rem 1.6rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .5rem; position: relative; }
.room .no { font: 500 .72rem/1 var(--mono); color: var(--copper-ink); letter-spacing: .12em; }
.room h3 { font-size: 1.3rem; }
.room p { color: var(--ink-soft); font-size: .97rem; }
.room .go { margin-top: auto; padding-top: .6rem; font: 600 .82rem/1 var(--ui); color: var(--teal-ink); }
.room:hover { background: var(--paper-2); color: inherit; }
.room:hover h3 { color: var(--coral-ink); }

/* Feature (collage) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }
.collage { position: relative; aspect-ratio: 5 / 4; }
.collage .sheet { position: absolute; border-radius: 6px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.45); }
.collage .s1 { inset: 6% 22% 18% 4%; background: var(--indigo); transform: rotate(-3deg); }
.collage .s2 { inset: 22% 4% 4% 30%; background: var(--teal); transform: rotate(2.5deg); }
.collage .s3 { inset: 12% 12% 12% 14%; background: var(--card); transform: rotate(-.6deg); display: flex; flex-direction: column; justify-content: center; padding: 8%; gap: .6rem; border: 1px solid var(--rule); }
.collage .s3 .big { font-family: var(--hebrew); font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1; color: var(--copper-ink); direction: rtl; }
.collage .s3 .cap { font: 500 .78rem/1.4 var(--mono); letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; }
.collage .tape { position: absolute; width: 22%; height: 9%; background: rgba(226, 115, 90, .75); top: 8%; left: 40%; transform: rotate(-6deg); }

/* Hebrew window (interactive) */
.hw { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.hw-word { display: flex; flex-direction: row-reverse; justify-content: center; gap: .5rem; margin: 1.2rem 0 1rem; }
.hw-letter { font: 400 clamp(3rem, 10vw, 5.2rem)/1 var(--hebrew); background: transparent; color: var(--ink); border: 1.5px solid var(--rule); border-radius: 14px; width: 1.55em; height: 1.55em; display: grid; place-items: center; cursor: pointer; padding: 0; }
.hw-letter:hover { border-color: var(--teal); }
.hw-letter[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.hw-out { min-height: 3.4rem; text-align: center; font: 400 1rem/1.5 var(--ui); color: var(--ink-soft); }
.hw-out strong { color: var(--ink); }
.hw-tabs { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.chip { font: 500 .82rem/1 var(--ui); border: 1.5px solid var(--rule); background: transparent; color: var(--ink); padding: .55rem .85rem; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.verse { margin-top: 1.4rem; border-top: 1px solid var(--rule); padding-top: 1.2rem; }
.verse .he { font-size: 1.5rem; line-height: 1.8; display: block; text-align: right; }
.verse mark { background: rgba(44,140,136,.25); color: inherit; border-radius: 4px; padding: 0 .1em; }
.verse cite { display: block; font: 500 .78rem/1.4 var(--ui); color: var(--ink-soft); font-style: normal; margin-top: .6rem; }
.verse .en { margin-top: .8rem; font-style: italic; }

/* Source key */
.key { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.key div { border-top: 4px solid var(--accent); padding-top: .8rem; }
.key strong { display: block; font: 600 .95rem/1.3 var(--ui); margin-bottom: .3rem; }
.key p { font-size: .95rem; color: var(--ink-soft); }
.dark .key p { color: var(--on-dark-soft); }

/* Filters */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.count { font: 500 .82rem/1 var(--ui); color: var(--ink-soft); margin-bottom: 1.4rem; }
[hidden] { display: none !important; }

/* Rows (lists) */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 8.5rem 1fr auto; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.row .when { font: 500 .76rem/1.4 var(--mono); letter-spacing: .06em; color: var(--copper-ink); text-transform: uppercase; }
.row h3 { font-size: 1.25rem; }
.row p { color: var(--ink-soft); font-size: .97rem; margin-top: .25rem; }
.row .links { font: 600 .85rem/1.6 var(--ui); display: flex; flex-direction: column; align-items: end; }
@media (max-width: 680px) { .row { grid-template-columns: 1fr; gap: .3rem; } .row .links { align-items: start; flex-direction: row; flex-wrap: wrap; gap: 1rem; } }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: linear-gradient(140deg, var(--indigo), var(--navy)); color: var(--on-dark); display: grid; place-items: center; }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.video button:focus-visible { outline: 3px solid var(--coral); outline-offset: -6px; }
.video .play { width: 64px; height: 64px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; }
.video .play::after { content: ""; border-left: 18px solid #1a0f0b; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .ph { position: relative; z-index: 1; }

/* Scripture and exhibit pieces */
.scripture { margin: 0; padding: 1.2rem 0 1.2rem 1.4rem; border-left: 3px solid var(--copper); }
.scripture p { font: italic 400 1.25rem/1.55 var(--display); }
.scripture cite { display: block; margin-top: .6rem; font: 500 .8rem/1.4 var(--ui); font-style: normal; color: var(--ink-soft); }
.dark .scripture cite { color: var(--on-dark-soft); }
.wall { font: italic 400 clamp(1.3rem, 2.4vw, 1.6rem)/1.45 var(--display); }
.crumb { font: 500 .82rem/1.4 var(--ui); color: var(--ink-soft); }
.plate { aspect-ratio: 16 / 9; border-radius: 14px; background: linear-gradient(150deg, var(--indigo), var(--navy)); display: grid; place-items: center; padding: 1.4rem; }
.plate.art { padding: 0; overflow: hidden; display: block; }
.plate.art svg { display: block; width: 100%; height: 100%; }
.plate span { border: 1.5px dashed rgba(255,244,214,.7); color: #fff4d6; font: 400 .9rem/1.5 var(--ui); padding: .7rem 1rem; border-radius: 8px; max-width: 30rem; text-align: center; }
.word-case { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.word { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 1.1rem; display: flex; flex-direction: column; gap: .3rem; }
.word .he { font-size: 2rem; color: var(--copper-ink); text-align: right; }
.word strong { font: 600 .95rem/1.3 var(--ui); }
.word .tr { font: italic 400 .95rem/1.3 var(--display); color: var(--ink-soft); }
.word p { font-size: .95rem; margin-top: .3rem; }
.discovery { background: var(--navy); color: var(--on-dark); border-radius: 16px; padding: 1.8rem; }
.discovery p + p { margin-top: .7rem; }
.discovery .eyebrow { color: var(--coral); }
.cue { margin: 0; text-align: center; padding: 2rem 1rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cue p { font: italic 500 clamp(1.4rem, 3vw, 2rem)/1.3 var(--display); color: var(--copper-ink); }
.cue span { display: block; margin-top: .6rem; font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.reflect { padding-left: 1.2rem; }
.reflect li + li { margin-top: .5rem; }
.doorway { display: grid; grid-template-columns: 9rem 1fr; gap: .6rem 1rem; margin: 0; }
.doorway dt { font: 600 .82rem/1.6 var(--ui); color: var(--ink-soft); }
.doorway dd { margin: 0; }
@media (max-width: 520px) { .doorway { grid-template-columns: 1fr; } .doorway dd { margin-bottom: .6rem; } }

/* Subscribe band */
.band { background: var(--teal); color: #fff; border-radius: 20px; padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
.band h2 { color: #fff; position: relative; }
.band p { color: rgba(255,255,255,.9); margin-top: .5rem; max-width: 36rem; position: relative; }
.band .btn { background: var(--navy); color: #fff; position: relative; }
.band .btn:hover { background: var(--indigo); color: #fff; }
.band .he-mark { position: absolute; left: -.5rem; bottom: -2.4rem; font: 400 9rem/1 var(--hebrew); color: rgba(255,255,255,.12); pointer-events: none; }
.band-actions { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; }
.band .btn.light { background: transparent; border-color: #fff; color: #fff; }
.band .btn.light:hover { background: rgba(255,255,255,.14); color: #fff; }
.watch-home .grid { margin-top: 1.6rem; }
.watch-home .card { color: var(--ink); }
.watch-home .card a:not(.btn) { color: var(--teal-ink); }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; } }

/* Shop */
.soon { display: inline-block; font: 600 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; background: var(--coral); color: #1a0f0b; padding: .45rem .7rem; border-radius: 4px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-soft); padding: 3.5rem 0 2rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--coral); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot h4, .foot .foot-h { font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font: 400 .92rem/1.4 var(--ui); }
.foot .brand { color: var(--on-dark); }
.foot .he { font-size: 1.3rem; color: var(--copper); display: block; }
.legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font: 400 .8rem/1.5 var(--ui); }
.theme-toggle { background: transparent; border: 1px solid rgba(255,255,255,.25); color: var(--on-dark); border-radius: 999px; font: 500 .8rem/1 var(--ui); padding: .5rem .8rem; cursor: pointer; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

@media print {
  .site-header, .site-footer, .draft-banner, .tear, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero, .hero, .dark { background: #fff !important; color: #000 !important; }
  .page-hero h1, .hero h1 { color: #000; }
}

/* Videos that play on Substack for now */
.video.poster { text-decoration: none; color: var(--on-dark); }
.video.poster .where { position: absolute; left: .9rem; bottom: .75rem; font: 500 .78rem/1 var(--ui); color: var(--on-dark-soft); }
.video.poster:hover .play, .video.poster:focus-visible .play { transform: scale(1.06); }
.video.poster:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* Watch: lanes, evidence labels, report steps */
.lanes { display: grid; gap: 1px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.lane { background: var(--card); padding: 1.2rem 1.2rem 1.3rem; display: grid; gap: .35rem; align-content: start; }
.lane h3 { font-size: 1.08rem; }
.lane p { color: var(--ink-soft); font-size: .93rem; }
.labels { display: grid; gap: 1rem 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.label-row { border-left: 4px solid var(--lab, var(--teal)); padding: .15rem 0 .15rem .85rem; }
.label-row strong { display: block; font: 600 .95rem/1.3 var(--ui); margin-bottom: .2rem; }
.label-row p { font-size: .93rem; color: var(--ink-soft); }
.dark .label-row p { color: var(--on-dark-soft); }
.l-verified { --lab: var(--teal); } .l-unresolved { --lab: #7c86d6; } .l-parallel { --lab: var(--copper); } .l-pattern { --lab: #c99a6b; }
.l-precondition { --lab: #8fd3ce; } .l-speculation { --lab: var(--coral); } .l-interpretation { --lab: #e9b7a8; }
.evidence { font: 600 .8rem/1.3 var(--ui); border-left: 4px solid var(--lab, var(--teal)); padding-left: .6rem; }
.empty-state { border: 1.5px dashed var(--rule); border-radius: 14px; padding: 1.4rem; color: var(--ink-soft); font-family: var(--ui); }
.steps { display: grid; gap: .7rem; padding-left: 1.3rem; }
.steps li::marker { color: var(--copper-ink); font: 600 1rem var(--mono); }

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

/* Evidence Field Card landing page */
.card-preview { margin: 0; justify-self: center; max-width: 380px; transform: rotate(-2deg); }
.card-preview img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 0 rgba(0,0,0,.25), 0 24px 50px -18px rgba(0,0,0,.65); }
.signup { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 1rem; box-shadow: var(--shadow); }
.signup iframe { display: block; width: 100%; max-width: 480px; height: 320px; margin: 0 auto; border: 0; border-radius: 10px; background: #fff; }
.signup-alt { font: 400 .9rem/1.5 var(--ui); color: var(--ink-soft); text-align: center; margin-top: .7rem; }
.scripture .he { display: block; font-size: 1.8rem; color: var(--copper-ink); margin-bottom: .3rem; }

/* Restored June pages (Nov 16): Training Hub pillars */
.pillars { display: grid; gap: 1rem; }
.pillar { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); }
.pillar summary { cursor: pointer; padding: 1.1rem 1.3rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; list-style-position: inside; }
.pillar summary:focus-visible { outline-offset: -3px; }
.pillar-name { font: 600 1.15rem/1.3 var(--display); }
.pillar-sub { font: 400 .9rem/1.4 var(--ui); color: var(--ink-soft); }
.pillar-body { padding: 0 1.3rem 1.3rem; }
.pillar-cols { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pillar-cols h4, .card ul { margin-top: 0; }
.pillar-cols ul, .card ul { padding-left: 1.1rem; display: grid; gap: .35rem; }
