:root {
  color-scheme: light;
  --paper: oklch(0.97 0.012 125);
  --paper-strong: oklch(0.93 0.018 120);
  --ink: oklch(0.21 0.035 165);
  --muted: oklch(0.45 0.035 170);
  --line: oklch(0.82 0.028 120);
  --cedar: oklch(0.35 0.085 156);
  --cedar-deep: oklch(0.25 0.07 158);
  --clay: oklch(0.49 0.105 42);
  --wine: oklch(0.42 0.115 18);
  --blue: oklch(0.45 0.08 245);
  --gold: oklch(0.72 0.13 82);
  --shadow: 0 24px 70px oklch(0.28 0.05 150 / 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body.home {
  background:
    linear-gradient(90deg, oklch(0.94 0.018 120), transparent 24%, transparent 76%, oklch(0.94 0.018 120)),
    var(--paper);
}

body::selection {
  background: oklch(0.82 0.11 82);
  color: var(--cedar-deep);
}

a {
  color: inherit;
  text-decoration-color: oklch(0.53 0.11 156 / 0.35);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--cedar);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: oklch(0.97 0.012 125 / 0.92);
  border-bottom: 1px solid oklch(0.82 0.028 120 / 0.72);
  backdrop-filter: blur(18px);
}

.home .site-header {
  min-height: 58px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
  font-size: 17px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 72px));
  display: grid;
  align-items: end;
  overflow: clip;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, oklch(0.12 0.032 155 / 0.92), oklch(0.18 0.05 45 / 0.66) 48%, oklch(0.12 0.032 155 / 0.35)),
    linear-gradient(0deg, oklch(0.12 0.032 155 / 0.78), transparent 52%);
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  width: min(850px, calc(100% - 36px));
  padding: clamp(56px, 12vh, 120px) 0 clamp(44px, 9vh, 92px);
  margin-left: clamp(18px, 7vw, 100px);
  color: oklch(0.96 0.012 110);
}

.eyebrow,
.section-kicker,
.card-type {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 9.5vw, 9.2rem);
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.hero-subline {
  max-width: 62ch;
  margin: 24px 0 0;
  color: oklch(0.88 0.018 105);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-map {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px) 0 clamp(48px, 8vw, 92px);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(20px, 4vw, 48px);
  align-items: stretch;
  padding-bottom: clamp(28px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}

.home-hero-copy {
  display: grid;
  align-content: center;
  min-height: 360px;
}

.home-hero h1 {
  max-width: 14ch;
  color: var(--cedar-deep);
  font-size: clamp(3rem, 6.4vw, 6.2rem);
}

.home-hero-copy > p:not(.section-kicker) {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.22rem);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.now-panel {
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid oklch(0.45 0.07 158);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, oklch(0.25 0.07 158), oklch(0.33 0.072 145) 58%, oklch(0.43 0.09 42));
  color: oklch(0.95 0.012 110);
  box-shadow: var(--shadow);
}

.now-panel .section-kicker {
  color: var(--gold);
}

.now-panel h2 {
  max-width: 12ch;
  font-size: clamp(1.85rem, 4vw, 3.35rem);
}

.now-panel h2 a {
  text-decoration: none;
}

.now-panel p:not(.section-kicker) {
  margin: 18px 0 0;
  color: oklch(0.88 0.018 105);
}

.now-panel .meta {
  margin-top: 20px;
  color: oklch(0.84 0.03 105);
}

.now-panel .tags {
  margin-top: 16px;
}

.now-panel .tags a {
  border-color: oklch(0.78 0.09 82 / 0.55);
  background: oklch(0.92 0.06 82 / 0.12);
  color: oklch(0.93 0.04 82);
}

.attention-board {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 14px;
  margin-top: 18px;
}

.attention-lede,
.recent-thread,
.recent-topic-panel,
.interest-radar,
.learning-lane,
.compass-notes div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.985 0.009 120);
}

.attention-lede {
  grid-row: span 2;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, oklch(0.98 0.012 120), oklch(0.94 0.02 155));
}

.attention-lede h2 {
  max-width: 13ch;
  color: var(--cedar-deep);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.attention-lede p:not(.section-kicker) {
  max-width: 62ch;
  color: var(--muted);
}

.digest-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.digest-stats span {
  display: grid;
  min-height: 94px;
  align-content: end;
  padding: 14px;
  border: 1px solid oklch(0.73 0.055 82);
  border-radius: var(--radius);
  background: oklch(0.96 0.028 82);
  color: oklch(0.33 0.04 78);
  font-size: 0.88rem;
  font-weight: 800;
}

.digest-stats strong {
  display: block;
  color: var(--cedar-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
}

.recent-thread,
.recent-topic-panel,
.interest-radar {
  padding: 18px;
}

.digest-link-list,
.interest-list {
  display: grid;
  gap: 10px;
}

.digest-link {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid oklch(0.82 0.028 120 / 0.68);
  text-decoration: none;
}

.digest-link:first-child {
  border-top: 0;
  padding-top: 0;
}

.digest-link span {
  color: var(--cedar-deep);
  font-weight: 900;
  line-height: 1.25;
}

.digest-link small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.recent-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recent-topic {
  display: inline-grid;
  gap: 2px;
  min-width: 130px;
  padding: 10px 12px;
  border: 1px solid oklch(0.75 0.04 156);
  border-radius: var(--radius);
  background: oklch(0.95 0.024 145);
  text-decoration: none;
}

.recent-topic span {
  color: var(--cedar-deep);
  font-weight: 900;
}

.recent-topic small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.interest-item {
  display: grid;
  gap: 8px;
  text-decoration: none;
}

.interest-item span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.interest-item strong {
  color: var(--cedar-deep);
}

.interest-item small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: right;
}

.interest-item i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--wine) var(--interest), transparent var(--interest)),
    oklch(0.9 0.018 120);
}

.discernment-board,
.denom-compass,
.home-support-grid,
.home-latest,
.home-map > .limit-notice {
  margin-top: clamp(34px, 7vw, 72px);
}

.learning-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.learning-lane {
  padding: 20px;
}

.learning-lane h3 {
  color: var(--cedar-deep);
  font-size: 1.42rem;
  line-height: 1.16;
}

.learning-lane ul {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.learning-lane li {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid oklch(0.82 0.028 120 / 0.68);
}

.learning-lane li:first-child {
  border-top: 0;
  padding-top: 0;
}

.learning-lane li:last-child {
  padding-bottom: 0;
}

.learning-lane li a {
  color: var(--cedar-deep);
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.learning-lane li span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.denom-compass {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(20px, 4vw, 42px);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid oklch(0.73 0.055 42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, oklch(0.965 0.03 86), oklch(0.96 0.018 120));
}

.compass-copy h2 {
  max-width: 13ch;
  color: var(--cedar-deep);
  font-size: clamp(2rem, 4.8vw, 4.2rem);
}

.compass-copy p:not(.section-kicker) {
  max-width: 60ch;
  color: oklch(0.34 0.035 165);
}

.compass-notes {
  display: grid;
  gap: 12px;
}

.compass-notes div {
  padding: 16px;
  background: oklch(0.985 0.009 120 / 0.78);
}

.compass-notes span {
  display: block;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compass-notes p {
  margin: 8px 0 0;
  color: var(--muted);
}

.compass-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.compass-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 11px;
  border: 1px solid oklch(0.73 0.055 42);
  border-radius: 999px;
  background: oklch(0.98 0.016 86);
  color: var(--cedar);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
}

.home-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 14px;
}

.home-support-grid .ask-entry,
.home-support-grid .profile-panel {
  margin-top: 0;
}

.home-latest .post-row {
  background: oklch(0.985 0.009 120);
}

.feed-shell {
  width: min(720px, calc(100% - 28px));
  min-height: calc(100svh - 58px);
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: oklch(0.985 0.009 120);
}

.feed-intro {
  padding: clamp(28px, 6vw, 54px) clamp(18px, 4vw, 32px) 26px;
  border-bottom: 1px solid var(--line);
}

.feed-intro h1 {
  max-width: none;
  color: var(--cedar-deep);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.feed-intro p:not(.section-kicker) {
  max-width: 64ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.feed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.limit-notice {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid oklch(0.73 0.055 42);
  border-radius: var(--radius);
  background: oklch(0.96 0.026 70);
}

.limit-notice ul {
  display: grid;
  gap: 7px;
  padding-left: 20px;
  margin: 0;
}

.limit-notice li {
  color: oklch(0.31 0.04 75);
  font-size: 0.94rem;
}

.journey-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.journey-panel a {
  display: grid;
  align-content: start;
  min-height: 142px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.97 0.014 118);
  text-decoration: none;
}

.journey-panel span {
  color: var(--cedar-deep);
  font-weight: 900;
}

.feed-intro .journey-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.profile-panel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid oklch(0.75 0.04 156);
  border-radius: var(--radius);
  background: oklch(0.95 0.024 145);
}

.profile-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cedar-deep);
  color: oklch(0.96 0.012 110);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.profile-panel p {
  margin: 0;
}

.profile-panel p:not(.profile-name):not(.profile-role) {
  margin-top: 8px;
  color: oklch(0.34 0.035 165);
  font-size: 0.94rem;
}

.profile-name {
  color: var(--cedar-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 750;
  line-height: 1.1;
}

.profile-role {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.feed-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--cedar);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
}

.feed {
  display: grid;
}

.feed-post {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px clamp(16px, 4vw, 28px);
  border-bottom: 1px solid var(--line);
}

.feed-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid oklch(0.67 0.06 156);
  border-radius: 50%;
  background: oklch(0.93 0.035 156);
  color: var(--cedar-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.feed-post-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 10px;
}

.feed-post-header a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.feed-post-header span,
.feed-post-header time {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.feed-text {
  max-width: 65ch;
}

.feed-text p {
  margin: 0 0 12px;
  color: oklch(0.28 0.035 165);
}

.feed-text p:last-child {
  margin-bottom: 0;
}

.feed-text blockquote {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid oklch(0.76 0.06 82);
  border-radius: var(--radius);
  background: oklch(0.96 0.028 82);
  color: var(--cedar-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.45;
}

.feed-text ul {
  padding-left: 22px;
  margin: 0 0 12px;
}

.feed-post footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cedar-deep);
}

.button.secondary {
  background: oklch(0.92 0.018 100 / 0.08);
  color: oklch(0.96 0.012 110);
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--cedar);
}

.source-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid oklch(0.74 0.045 82);
  border-radius: 999px;
  background: oklch(0.96 0.022 82);
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.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;
}

.hidden-field {
  display: none;
}

.section,
.page-shell,
.article-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(56px, 10vw, 112px) 0;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading a {
  color: var(--cedar);
  font-weight: 800;
}

.post-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card,
.topic-card,
.post-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.985 0.009 120);
  box-shadow: 0 1px 0 oklch(0.99 0.01 120 / 0.7) inset;
}

.post-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.post-card h3 a,
.post-row h2 a {
  text-decoration: none;
}

.post-card p:not(.card-type) {
  color: var(--muted);
}

.post-card .meta {
  margin-top: auto;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.journey {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.journey-list li {
  min-height: 210px;
  padding: 20px;
  background: oklch(0.96 0.018 120);
  border-right: 1px solid var(--line);
  counter-increment: step;
}

.journey-list li:last-child {
  border-right: 0;
}

.journey-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 48px;
  color: var(--clay);
  font-weight: 850;
}

.journey-list span {
  display: block;
  margin-bottom: 10px;
  font-weight: 850;
}

.journey-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.topic-card {
  min-height: 170px;
  padding: 22px;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease;
}

.topic-card:hover {
  transform: translateY(-3px);
  border-color: oklch(0.55 0.09 156);
}

.topic-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--cedar-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
}

.page-shell {
  padding: clamp(54px, 9vw, 96px) 0;
}

.ask-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid oklch(0.73 0.055 82);
  border-radius: var(--radius);
  background: oklch(0.965 0.03 86);
}

.ask-entry h2 {
  color: var(--cedar-deep);
  font-size: clamp(1.45rem, 4vw, 2.25rem);
}

.ask-entry p:not(.section-kicker) {
  max-width: 58ch;
  margin: 10px 0 0;
  color: oklch(0.34 0.035 165);
}

.ask-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(44px, 8vw, 84px) 0;
}

.ask-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  padding-bottom: clamp(28px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.ask-hero h1 {
  max-width: 12ch;
  color: var(--cedar-deep);
  font-size: clamp(2.9rem, 7vw, 6.2rem);
}

.ask-hero p:last-child {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.13rem;
}

.ask-workspace {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 340px);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding-top: clamp(24px, 5vw, 52px);
}

.ask-chat,
.prompt-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.985 0.009 120);
}

.ask-chat {
  overflow: hidden;
}

.chat-log {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 280px;
  max-height: 62svh;
  padding: clamp(16px, 4vw, 26px);
  overflow-y: auto;
}

.chat-message {
  width: min(100%, 620px);
  padding: 16px 18px;
  border: 1px solid oklch(0.78 0.03 120);
  border-radius: var(--radius);
  background: oklch(0.96 0.016 125);
}

.chat-message.user {
  justify-self: end;
  border-color: oklch(0.66 0.08 245);
  background: oklch(0.94 0.025 245);
}

.chat-message.assistant {
  justify-self: start;
}

.chat-message p {
  margin: 0;
}

.chat-message p + p {
  margin-top: 10px;
}

.chat-speaker {
  color: var(--cedar);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ask-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: oklch(0.965 0.014 120);
}

.ask-form textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 13px 14px;
  border: 1px solid oklch(0.74 0.035 120);
  border-radius: var(--radius);
  background: oklch(0.99 0.006 120);
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
}

.ask-form textarea:focus {
  outline: 3px solid oklch(0.72 0.13 82 / 0.32);
  border-color: var(--clay);
}

.ask-form .button {
  align-self: end;
  min-width: 96px;
}

.ask-status {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.ask-sidebar {
  display: grid;
  gap: 16px;
}

.prompt-panel {
  padding: 18px;
}

.prompt-panel p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.prompt-panel .text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--cedar);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.question-inbox-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.question-inbox-form label {
  color: var(--cedar-deep);
  font-size: 0.84rem;
  font-weight: 850;
}

.question-inbox-form textarea {
  width: 100%;
  resize: vertical;
  padding: 12px 13px;
  border: 1px solid oklch(0.74 0.035 120);
  border-radius: var(--radius);
  background: oklch(0.99 0.006 120);
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.45;
}

.question-inbox-form textarea:focus {
  outline: 3px solid oklch(0.72 0.13 82 / 0.32);
  border-color: var(--clay);
}

.question-inbox-form .button {
  width: 100%;
  min-height: 42px;
}

.inbox-status {
  min-height: 1.4em;
  color: var(--cedar);
  font-size: 0.84rem;
  font-weight: 800;
}

.prompt-list {
  display: grid;
  gap: 10px;
}

.prompt-button {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.96 0.016 125);
  color: var(--cedar-deep);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.prompt-button:hover,
.prompt-button:focus {
  border-color: oklch(0.55 0.09 156);
  outline: none;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.source-label {
  width: 100%;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.source-list a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cedar);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.empty-state {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.985 0.009 120);
}

.empty-state h2 {
  color: var(--cedar-deep);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.empty-state p:not(.section-kicker) {
  max-width: 60ch;
  color: var(--muted);
}

.page-header {
  max-width: 780px;
  margin-bottom: 38px;
}

.page-header h1,
.article h1 {
  max-width: 14ch;
  color: var(--cedar-deep);
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.page-header p:last-child {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1.13rem;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.archive-routes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.archive-routes a {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.965 0.016 120);
  text-decoration: none;
}

.archive-routes span,
.archive-routes small {
  display: block;
}

.archive-routes span {
  color: var(--cedar-deep);
  font-weight: 900;
}

.archive-routes small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.post-list {
  display: grid;
  gap: 14px;
}

.post-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 24px;
  padding: 24px;
}

.post-row h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.post-row p {
  max-width: 70ch;
  color: var(--muted);
}

.row-meta {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(0.96 0.016 125);
  color: var(--cedar);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(210px, 320px);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(54px, 9vw, 96px) 0;
}

.article-shell.simple {
  display: block;
  max-width: 900px;
}

.article header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article .meta {
  margin-top: 18px;
}

.article .tags {
  margin-top: 18px;
}

.prose {
  max-width: 72ch;
  padding-top: 30px;
}

.prose p,
.prose li {
  color: oklch(0.31 0.035 165);
}

.prose blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border: 1px solid oklch(0.76 0.06 82);
  border-radius: var(--radius);
  background: oklch(0.96 0.028 82);
  color: var(--cedar-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.45;
}

.prose h2,
.prose h3 {
  margin-top: 42px;
  color: var(--cedar-deep);
}

.prose code {
  padding: 0.12em 0.3em;
  border-radius: 4px;
  background: oklch(0.9 0.018 120);
}

.article-aside {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.95 0.018 120);
}

.article-aside p:not(.section-kicker) {
  color: var(--muted);
}

.aside-links {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.aside-links a {
  font-size: 0.9rem;
  font-weight: 850;
}

.source-cards,
.mini-limit {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.source-card {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid oklch(0.82 0.028 120 / 0.66);
  text-decoration: none;
}

.source-card:last-child {
  border-bottom: 0;
}

.source-card span {
  display: block;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-card strong {
  display: block;
  margin-top: 3px;
  color: var(--cedar-deep);
  font-size: 0.94rem;
  line-height: 1.35;
}

.mini-limit p:not(.section-kicker) {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.related {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.related h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.home .site-footer {
  display: grid;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 680px;
  }

  .hero-copy {
    margin-left: 18px;
  }

  .intro-band,
  .home-hero,
  .attention-board,
  .denom-compass,
  .home-support-grid,
  .ask-hero,
  .ask-workspace,
  .post-row,
  .article-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .home-hero-copy,
  .now-panel {
    min-height: auto;
  }

  .attention-lede {
    grid-row: auto;
  }

  .learning-lanes {
    grid-template-columns: 1fr;
  }

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

  .journey-panel,
  .archive-routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .journey-list li {
    border-bottom: 1px solid var(--line);
  }

  .row-meta {
    justify-items: start;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    padding-bottom: 38px;
  }

  .home-map {
    width: calc(100% - 28px);
  }

  .hero-actions,
  .home-actions,
  .ask-entry,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .ask-entry {
    grid-template-columns: 1fr;
  }

  .ask-shell {
    width: calc(100% - 28px);
  }

  .ask-form {
    grid-template-columns: 1fr;
  }

  .digest-stats {
    grid-template-columns: 1fr;
  }

  .recent-topic {
    min-width: 100%;
  }

  .interest-item span {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .interest-item small {
    text-align: left;
  }

  .chat-log {
    min-height: 220px;
    max-height: none;
  }

  .button {
    width: 100%;
  }

  .feed-shell {
    width: 100%;
    border-right: 0;
    border-left: 0;
  }

  .feed-post {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
  }

  .feed-avatar {
    width: 34px;
    height: 34px;
    font-size: 0.7rem;
  }

  .profile-panel {
    grid-template-columns: 1fr;
  }

  .journey-panel,
  .archive-routes {
    grid-template-columns: 1fr;
  }

  .post-grid,
  .topic-grid,
  .journey-list {
    grid-template-columns: 1fr;
  }

  .journey-list li,
  .journey-list li:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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