:root {
  --ink: #171816;
  --muted: #666860;
  --paper: #f7f4ed;
  --paper-deep: #eee8dc;
  --white: #fff;
  --line: #d6d0c4;
  --accent: #0066cc;
  --accent-dark: #004f9f;
  --green: #519d2d;
  --gold: #e8b007;
  --dark: #171b1a;
  --dark-soft: #242a28;
  --sage: #59695f;
  --shadow: 0 18px 45px rgba(24, 26, 24, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--accent);
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a,
.nav-button {
  color: #3f4642;
  border: 0;
  background: transparent;
  text-decoration: none;
  font-size: .94rem;
}

nav a:hover,
.nav-button:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 24%, rgba(0,102,204,.38), transparent 30%),
    radial-gradient(circle at 72% 88%, rgba(81,157,45,.24), transparent 28%),
    linear-gradient(118deg, #111716 0%, #182522 48%, #2a201c 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -16% -8%;
  pointer-events: none;
  opacity: .6;
  background:
    radial-gradient(ellipse at 18% 72%, transparent 0 28%, rgba(0,102,204,.18) 28.5% 30%, transparent 30.5% 100%),
    radial-gradient(ellipse at 84% 30%, transparent 0 34%, rgba(81,157,45,.16) 34.5% 36%, transparent 36.5% 100%),
    linear-gradient(145deg, transparent 0 60%, rgba(232,176,7,.08) 60.5% 61.5%, transparent 62% 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,12,11,.14), rgba(9,12,11,.02) 62%, rgba(9,12,11,.18));
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1620px, 100%);
  min-height: 610px;
  margin: 0 auto;
  padding: 78px 6vw 84px;
  display: flex;
  align-items: center;
}

.hero-content {
  width: min(1060px, 100%);
}

.eyebrow {
  margin: 0 0 20px;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 7.5vw, 7.7rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
}

.hero-copy {
  max-width: 720px;
  margin: 30px 0 32px;
  color: rgba(255,255,255,.82);
  font-size: 1.34rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.primary-button {
  padding: 14px 20px;
  border: 1px solid var(--accent);
  border-radius: 9px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(0,102,204,.16);
}

.primary-button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.secondary-button {
  padding: 14px 20px;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.secondary-link {
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  text-underline-offset: 4px;
}

.activity {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(390px, 1.9fr) repeat(4, minmax(170px, .78fr));
  color: var(--white);
  background:
    radial-gradient(circle at 12% 50%, rgba(0,102,204,.28), transparent 24%),
    radial-gradient(circle at 88% 50%, rgba(81,157,45,.18), transparent 28%),
    linear-gradient(105deg, #0f1c28 0%, #12302f 58%, #10251f 100%);
  border-top: 1px solid rgba(232,176,7,.38);
  border-bottom: 1px solid rgba(232,176,7,.32);
  box-shadow: 0 16px 38px rgba(8,20,20,.2);
}

.activity > div {
  min-height: 176px;
  padding: 34px 2.6vw;
  border-right: 1px solid rgba(255,255,255,.14);
}

.activity > div:last-child {
  border-right: 0;
}

.activity-intro {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(120deg, rgba(0,102,204,.18), rgba(255,255,255,.025));
}

.activity-intro strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.35vw, 2.7rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.02em;
}

.activity-intro span {
  margin-top: 14px;
  max-width: 520px;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
  line-height: 1.55;
}

.activity-stat {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 11px;
}

.activity-stat .stat-icon {
  grid-row: 1 / 3;
  align-self: center;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f4d75f;
  background: rgba(232,176,7,.12);
  border: 1px solid rgba(244,215,95,.34);
  font-size: 1.28rem;
  font-weight: 800;
}

.activity-stat strong,
.activity-stat span {
  display: block;
}

.activity-stat strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.85rem;
  font-weight: 400;
  line-height: .95;
  color: var(--white);
}

.activity-stat > span:last-child {
  margin-top: 9px;
  color: rgba(255,255,255,.66);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

#experimentDay {
  font-size: 1.72rem;
  line-height: 1.05;
}

.experiment-intro {
  padding: 74px 6vw;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 6vw;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(232,176,7,.18), transparent 24%),
    linear-gradient(118deg, #0058ad 0%, #0066cc 48%, #13783c 130%);
  border-bottom: 0;
}

.intro-main {
  max-width: 900px;
}

.experiment-intro .eyebrow {
  color: rgba(255,255,255,.82);
}

.intro-main h2 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.intro-main > p:last-child {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 1.18rem;
  line-height: 1.65;
}

.join-project {
  position: relative;
  padding: 38px 42px 40px;
  background:
    radial-gradient(circle at 82% 20%, rgba(0,102,204,.12), transparent 34%),
    linear-gradient(135deg, rgba(8,42,39,.96), rgba(6,53,50,.93));
  border: 1px solid rgba(244,215,95,.42);
  border-radius: 22px;
  box-shadow: 0 20px 58px rgba(0,0,0,.22);
  overflow: hidden;
}

.join-project::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 32%;
  height: 260px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  transform: rotate(-9deg);
  pointer-events: none;
}

.join-kicker {
  margin: 0 0 14px;
  color: #f4d75f;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.join-project h3 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.03em;
}

.join-benefits {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
}

.join-benefit {
  display: grid;
  grid-template-columns: 34px 44px 1fr;
  align-items: center;
  gap: 12px;
}

.benefit-number {
  color: #f4d75f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0a3b37;
  background: linear-gradient(145deg, #f8dd78, #d4ab3c);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  font-size: 1.15rem;
  font-weight: 900;
}

.join-benefit p {
  margin: 0;
  color: rgba(255,255,255,.93);
  font-size: 1.18rem;
  line-height: 1.42;
}

.join-project-button {
  position: relative;
  z-index: 1;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: #12304d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.join-project-button:hover {
  background: #fff7d6;
}

.community-section {
  position: relative;
  overflow: hidden;
  padding: 82px 2.2vw 104px;
  background: #fff;
  border-bottom: 1px solid #e7e7e2;
}

.community-section::before,
.community-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.community-section::before {
  width: 520px;
  height: 520px;
  right: -250px;
  top: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,204,.06), transparent 66%);
}

.community-section::after {
  width: 460px;
  height: 460px;
  left: -250px;
  bottom: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(81,157,45,.055), transparent 66%);
}

.community-heading {
  position: relative;
  z-index: 1;
  width: min(1720px, 100%);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 7vw;
  align-items: end;
}

.community-heading h2,
.explore-heading h2,
.project-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 4.8vw, 5rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.community-heading > p,
.explore-heading > p,
.project-heading > p {
  margin: 0;
  color: var(--muted);
  max-width: 580px;
  font-size: 1.08rem;
  line-height: 1.65;
}

.project-heading > p {
  color: rgba(255,255,255,.7);
}

.public-streams {
  position: relative;
  z-index: 1;
  width: min(1720px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
}

.stream-panel {
  min-width: 0;
  padding: 14px 4px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.discoveries-panel {
  position: relative;
  padding-left: 32px;
}

.discoveries-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #dde3df 8%, #dde3df 92%, transparent);
}

.stream-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.stream-kicker {
  margin: 0 0 5px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.stream-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 3.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
}

.stream-link {
  padding-top: 8px;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  text-underline-offset: 3px;
}

.stream-description {
  max-width: 700px;
  margin: 14px 0 24px;
  color: #505851;
  font-size: 1.16rem;
  line-height: 1.62;
}

.feed-controls {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content max-content;
  align-items: end;
  gap: 10px;
}

.feed-controls label {
  display: grid;
  gap: 6px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.feed-controls select,
.feed-controls input {
  height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-size: .92rem;
}

.filter-reset {
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.filter-reset:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.discovery-toolbar {
  min-height: 56px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
}

.compact-button {
  padding: 10px 14px;
  font-size: 1rem;
  line-height: 1.55;
}

.feed {
  height: 1480px;
  overflow-y: auto;
  padding: 10px 18px;
  background: rgba(255,255,255,.46);
  border: 1px solid var(--line);
  scrollbar-color: #aaa499 transparent;
  scrollbar-width: thin;
}

.action-card {
  position: relative;
  padding: 20px 18px 20px 20px;
  margin: 10px 0;
  border: 1px solid rgba(214,208,196,.78);
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.8);
  box-shadow: 0 8px 22px rgba(24,26,24,.055);
  border-radius: 12px;
}

.action-card[data-category="Family"] { --category-color: #c54f7c; }
.action-card[data-category="Relationships"] { --category-color: #7a5aa6; }
.action-card[data-category="Health"] { --category-color: #2e9d67; }
.action-card[data-category="Work"] { --category-color: #0066cc; }
.action-card[data-category="Learning"] { --category-color: #d58b00; }
.action-card[data-category="Creativity"] { --category-color: #d35f2f; }
.action-card[data-category="Service"] { --category-color: #519d2d; }
.action-card[data-category="Faith"] { --category-color: #7156b5; }
.action-card[data-category="Responsibility"] { --category-color: #177e89; }
.action-card[data-category="Sacrifice"] { --category-color: #aa5a20; }
.action-card[data-category="Other"] { --category-color: #6f7671; }

.action-card[data-category] {
  border-left-color: var(--category-color);
}

.action-card[data-category] .category-badge {
  color: var(--category-color);
}

.action-card[data-category] .category-icon {
  background: color-mix(in srgb, var(--category-color) 13%, white);
  color: var(--category-color);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 800;
}

.category-icon,
.discovery-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0,102,204,.09);
  font-size: 1rem;
  font-weight: 900;
}

.discovery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--accent);
}

.discovery-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0,102,204,.1);
}

.discovery-card[data-discovery-tone="0"] {
  border-left-color: #0066cc;
}

.discovery-card[data-discovery-tone="0"] .discovery-badge {
  color: #0066cc;
}

.discovery-card[data-discovery-tone="1"] {
  border-left-color: #519d2d;
}

.discovery-card[data-discovery-tone="1"] .discovery-badge {
  color: #519d2d;
}

.discovery-card[data-discovery-tone="1"] .discovery-icon {
  background: rgba(81,157,45,.12);
}

.discovery-card[data-discovery-tone="2"] {
  border-left-color: #e8b007;
}

.discovery-card[data-discovery-tone="2"] .discovery-badge {
  color: #a77900;
}

.discovery-card[data-discovery-tone="2"] .discovery-icon {
  background: rgba(232,176,7,.14);
}

.discovery-card[data-discovery-tone="3"] {
  border-left-color: #7a5aa6;
}

.discovery-card[data-discovery-tone="3"] .discovery-badge {
  color: #6b4d90;
}

.discovery-card[data-discovery-tone="3"] .discovery-icon {
  background: rgba(122,90,166,.12);
}

.discovery-controls {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  align-items: end;
  gap: 10px;
}

.stream-action-button {
  min-height: 42px;
  padding: 10px 15px;
  white-space: nowrap;
}

.discovery-controls label {
  display: grid;
  gap: 6px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.discovery-controls input {
  height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font-size: .96rem;
}

.action-card:first-child {
  margin-top: 2px;
}

.action-card:last-child {
  margin-bottom: 2px;
}

.action-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--muted);
  font-size: .94rem;
}

.action-meta strong {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.45;
}

.action-meta time {
  margin-left: auto;
}

.example-label {
  padding: 2px 6px;
  border: 1px solid var(--line);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.action-text {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  line-height: 1.42;
}

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

.explore-section {
  position: relative;
  overflow: hidden;
  padding: 92px 6vw 96px;
  color: var(--white);
  background:
    radial-gradient(circle at 68% 18%, rgba(0,102,204,.19), transparent 28%),
    radial-gradient(circle at 20% 86%, rgba(81,157,45,.12), transparent 30%),
    linear-gradient(125deg, #101a25 0%, #142333 52%, #111b28 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.explore-section::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -240px;
  bottom: -360px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  pointer-events: none;
}

.explore-heading {
  position: relative;
  z-index: 1;
  width: min(1420px, 100%);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
  gap: 7vw;
  align-items: end;
}

.explore-heading .eyebrow {
  color: #4fa0f1;
}

.explore-heading h2 {
  color: #1877d5;
  text-shadow: 0 2px 20px rgba(0,102,204,.12);
}

.explore-heading > p {
  color: rgba(255,255,255,.74);
}

.resource-grid {
  position: relative;
  z-index: 1;
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid rgba(232,176,7,.72);
  border-left: 2px solid rgba(232,176,7,.72);
  box-shadow: 0 0 34px rgba(232,176,7,.07);
}

.resource-card {
  min-height: 290px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  border-right: 2px solid rgba(232,176,7,.72);
  border-bottom: 2px solid rgba(232,176,7,.72);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}

.resource-card:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(0,102,204,.11), rgba(255,255,255,.025));
}

.resource-number,
.project-card-top > span:first-child {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.resource-card-top,
.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.resource-icon,
.project-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0e2332;
  background: linear-gradient(145deg, #f6d95f, #d7aa32);
  box-shadow: 0 7px 18px rgba(0,0,0,.18);
  font-size: 1.25rem;
  font-weight: 900;
}

.project-card-icon {
  color: var(--white);
  background: linear-gradient(145deg, rgba(0,102,204,.92), rgba(81,157,45,.78));
  box-shadow: 0 7px 18px rgba(0,0,0,.16);
}

.resource-card h3 {
  margin: 36px 0 12px;
  color: #58a6f4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.resource-card p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  line-height: 1.6;
}

.resource-status {
  margin-top: auto;
  color: #f0c83b;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.resource-button {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f0c83b;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-section {
  position: relative;
  padding: 92px 6vw 98px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(81,157,45,.13), transparent 25%),
    radial-gradient(circle at 82% 70%, rgba(0,102,204,.16), transparent 26%),
    linear-gradient(120deg, #111b18 0%, #13241f 48%, #101b21 100%);
  border-top: 1px solid rgba(255,255,255,.08);
}

.project-heading {
  position: relative;
  z-index: 1;
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 7vw;
  align-items: end;
}

.project-heading .eyebrow {
  color: #7fc45f;
}

.project-heading h2 {
  color: var(--white);
}

.project-heading > p {
  color: rgba(255,255,255,.72);
}

.project-grid {
  position: relative;
  z-index: 1;
  width: min(1420px, 100%);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 1px solid rgba(255,255,255,.18);
}

.project-grid article {
  min-height: 260px;
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
}

.project-grid article:nth-child(2) {
  background: rgba(0,102,204,.06);
}

.project-grid article:nth-child(3) {
  background: rgba(81,157,45,.07);
}

.project-grid article:nth-child(4) {
  background: rgba(232,176,7,.04);
}

.project-grid h3 {
  margin: 42px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 400;
}

.project-grid p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 1.04rem;
  line-height: 1.62;
}

.archive-page {
  min-height: calc(100vh - 150px);
  padding: 72px 8vw 90px;
}

.archive-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.archive-heading h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.archive-heading > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

.archive-page .feed-controls {
  max-width: 640px;
}

.archive-controls {
  margin-top: 0;
}

.archive-feed {
  border-top: 1px solid var(--line);
}

.archive-load-more {
  margin-top: 24px;
}

dialog {
  width: min(520px, calc(100% - 32px));
  padding: 40px;
  border: 0;
  background: var(--paper);
  box-shadow: 0 25px 80px rgba(0,0,0,.3);
}

#actionDialog,
#discoveryDialog {
  width: min(600px, calc(100% - 32px));
}

dialog h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 400;
  line-height: 1.02;
}

dialog::backdrop {
  background: rgba(10,12,11,.72);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
}

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

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 7px;
  font-size: .8rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.character-count {
  margin-top: -10px;
  text-align: right;
  color: var(--muted);
  font-size: .78rem;
}

#actionDialog .cf-turnstile,
#discoveryTurnstile {
  min-height: 65px;
}

.text-button {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
}

.message {
  margin-top: 24px;
  padding: 15px;
  border: 1px solid var(--line);
}

.message.success {
  border-color: #6f806e;
}

.message.pending {
  border-color: #9a8254;
}

.hidden {
  display: none !important;
}

footer {
  padding: 26px 5vw;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  background: #efebe2;
  font-size: .82rem;
}

@media (max-width: 1100px) {
  .experiment-intro {
    grid-template-columns: 1fr;
  }

  .activity {
    grid-template-columns: 1fr 1fr;
  }

  .activity-intro {
    grid-column: 1 / -1;
  }

  .join-project {
    max-width: 760px;
  }

  .activity > div:nth-child(3) {
    border-right: 0;
  }

  .public-streams {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .discoveries-panel {
    padding-left: 4px;
  }

  .discoveries-panel::before {
    display: none;
  }

  .resource-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .explore-heading,
  .project-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .feed-controls {
    grid-template-columns: 1fr 1fr;
  }

  .feed-controls .stream-action-button,
  .feed-controls .filter-reset {
    justify-self: stretch;
  }

  .discovery-controls {
    grid-template-columns: 1fr 1fr;
  }

  .discovery-controls label {
    grid-column: 1 / -1;
  }


  .intro-grid,
  .community-heading,
  .explore-heading,
  .project-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feed-controls {
    grid-template-columns: 1fr 1fr;
  }

  .filter-reset {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .join-project {
    padding: 30px 24px 32px;
  }

  .join-benefit {
    grid-template-columns: 28px 38px 1fr;
    gap: 10px;
  }

  .benefit-icon {
    width: 36px;
    height: 36px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  nav {
    flex-wrap: wrap;
    gap: 13px;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 13vw, 5rem);
  }

  .activity {
    grid-template-columns: 1fr 1fr;
  }

  .activity div:nth-child(2) {
    border-right: 0;
  }

  .activity div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .community-section,
  .explore-section,
  .project-section,
  .experiment-intro {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .stream-panel {
    padding: 24px 20px;
  }

  .resource-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .activity {
    grid-template-columns: 1fr;
  }

  .activity div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .activity div:last-child {
    border-bottom: 0;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .feed-controls {
    grid-template-columns: 1fr;
  }

  .filter-reset {
    grid-column: auto;
  }

  .stream-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  dialog {
    padding: 32px 22px;
  }

  .dialog-actions {
    flex-direction: column;
  }

  .dialog-actions button {
    width: 100%;
  }
}

.discovery-card {
  min-height: 0;
}

.discoveries-panel .stream-kicker {
  color: var(--accent);
}

.stream-link {
  color: var(--accent);
}

.feed {
  border-radius: 14px;
  border-color: #e4e3de;
  background: #fbfbf9;
}

.filter-reset {
  border-radius: 8px;
}

.feed-controls select,
.feed-controls input,
.discovery-controls input {
  border-radius: 8px;
}

/* -------------------------
   YOUR RECORD
------------------------- */

#recordDialog {
  width: min(780px, calc(100% - 32px));
  max-height: min(88vh, 900px);
  overflow: auto;
}

.record-copy {
  max-width: 660px;
}

.record-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
}

.record-stat {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.record-stat strong {
  display: block;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.record-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.record-history-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.record-history-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.record-history-heading span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.record-feed {
  min-height: 150px;
  max-height: 390px;
  overflow-y: auto;
  padding: 8px 4px 8px 0;
  scrollbar-width: thin;
  scrollbar-color: #aaa499 transparent;
}

.record-entry {
  margin: 10px 0;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--category-color, var(--accent));
  background: #fff;
  border-radius: 10px;
}

.record-entry[data-category="Family"] { --category-color: #c54f7c; }
.record-entry[data-category="Relationships"] { --category-color: #7a5aa6; }
.record-entry[data-category="Health"] { --category-color: #2a9d8f; }
.record-entry[data-category="Work"] { --category-color: #0066cc; }
.record-entry[data-category="Learning"] { --category-color: #7356a8; }
.record-entry[data-category="Creativity"] { --category-color: #d47716; }
.record-entry[data-category="Service"] { --category-color: #519d2d; }
.record-entry[data-category="Faith"] { --category-color: #8a6f2d; }
.record-entry[data-category="Responsibility"] { --category-color: #3f6f66; }
.record-entry[data-category="Sacrifice"] { --category-color: #a64b3c; }
.record-entry[data-category="Other"] { --category-color: #77736b; }

.record-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .76rem;
}

.record-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--category-color, var(--accent));
  font-weight: 800;
}

.record-status {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.record-status[data-status="published"] {
  color: #376d28;
}

.record-status[data-status="pending"] {
  color: #8a6a18;
  background: #fff9e8;
}

.record-status[data-status="rejected"] {
  color: #91463d;
  background: #fff2ef;
}

.record-entry-text {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.45;
}

.record-actions {
  margin-top: 20px;
}

@media (max-width: 600px) {
  .record-stats {
    grid-template-columns: 1fr;
  }

  .record-history-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .record-status {
    margin-left: 0;
  }
}

/* 2026-10-06 refinement: participation inputs, expanded community, merged follow section */
#actionDialog,
#discoveryDialog {
  width: min(660px, calc(100% - 32px));
}

#actionDialog label,
#discoveryDialog label {
  gap: 10px;
  font-size: 1rem;
  line-height: 1.35;
}

#actionDialog select,
#actionDialog textarea,
#discoveryDialog textarea {
  padding: 16px 17px;
  border-radius: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
}

#actionDialog select {
  min-height: 56px;
}

#actionDialog textarea,
#discoveryDialog textarea {
  min-height: 170px;
}

.follow-section .resource-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.follow-section .resource-card {
  min-height: 310px;
}

@media (max-width: 1100px) {
  .feed {
    height: 980px;
  }

  .follow-section .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .feed {
    height: 720px;
  }

  .follow-section .resource-grid {
    grid-template-columns: 1fr;
  }

  #actionDialog label,
  #discoveryDialog label {
    font-size: .98rem;
  }

  #actionDialog select,
  #actionDialog textarea,
  #discoveryDialog textarea {
    font-size: 1.05rem;
  }
}

/* 2026-10-06: move Stay Connected into the Community right rail only */
.community-right-rail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

#discoveriesFeed {
  height: 560px;
}

.community-right-rail .follow-section {
  width: 100%;
  padding: 36px 30px 32px;
  border-radius: 18px;
}

.community-right-rail .explore-heading {
  width: 100%;
  margin: 0 0 26px;
  grid-template-columns: 1fr;
  gap: 10px;
}

.community-right-rail .explore-heading h2 {
  font-size: clamp(2.35rem, 3.2vw, 3.35rem);
}

.community-right-rail .explore-heading > p {
  max-width: none;
}

.community-right-rail .resource-grid,
.community-right-rail .follow-section .resource-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-right-rail .resource-card,
.community-right-rail .follow-section .resource-card {
  min-height: 205px;
  padding: 20px 18px;
}

.community-right-rail .resource-icon {
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
}

.community-right-rail .resource-card h3 {
  margin: 20px 0 8px;
  font-size: 1.55rem;
}

.community-right-rail .resource-card p {
  margin-bottom: 16px;
  font-size: .92rem;
  line-height: 1.5;
}

.community-right-rail .resource-status {
  font-size: .72rem;
}

@media (max-width: 1100px) {
  #discoveriesFeed {
    height: 560px;
  }

  .community-right-rail .resource-grid,
  .community-right-rail .follow-section .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #discoveriesFeed {
    height: 440px;
  }

  .community-right-rail .resource-grid,
  .community-right-rail .follow-section .resource-grid {
    grid-template-columns: 1fr;
  }

  .community-right-rail .follow-section {
    padding: 30px 22px 26px;
  }
}

/* 2026-10-06: normalize Community proportions and redesign the right rail */
.community-heading,
.public-streams,
.community-follow-section {
  width: min(1280px, calc(100% - 48px));
}

.public-streams {
  grid-template-columns: minmax(0, 2fr) minmax(320px, .86fr);
  gap: 30px;
  align-items: start;
}

#actionsFeed {
  height: 760px;
}

.community-right-rail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.community-rail-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid #dfe5e1;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 24px rgba(24,26,24,.055);
}

.rail-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.rail-symbol {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #0d4258;
  background: #edf5f5;
  font-size: 1.2rem;
  font-weight: 900;
}

.rail-symbol-record {
  color: #0f6459;
  background: #e6f2ec;
}

.rail-kicker {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .11em;
}

.rail-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.05;
}

.rail-copy {
  margin: 10px 0 0 51px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.activity-summary-card {
  background:
    linear-gradient(145deg, rgba(237,246,247,.94), rgba(255,255,255,.96));
}

.rail-stat-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #dfe5e1;
}

.rail-stat-grid > div {
  padding: 15px 10px 0;
  border-right: 1px solid #e2e7e4;
}

.rail-stat-grid > div:first-child {
  padding-left: 0;
}

.rail-stat-grid > div:last-child {
  border-right: 0;
}

.rail-stat-grid strong,
.rail-stat-grid span {
  display: block;
}

.rail-stat-grid strong {
  color: #12304d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.rail-stat-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.record-summary-card {
  background:
    linear-gradient(145deg, rgba(230,243,236,.98), rgba(245,250,247,.98));
}

.rail-record-button {
  width: 100%;
  margin-top: 18px;
  min-height: 44px;
}

.discoveries-panel {
  padding-left: 22px;
}

.discoveries-panel::before {
  display: none;
}

.community-right-rail .stream-heading {
  gap: 12px;
}

.community-right-rail .stream-heading h3 {
  font-size: 1.85rem;
  line-height: 1.05;
}

.community-right-rail .stream-link {
  padding-top: 4px;
  font-size: .78rem;
}

.community-right-rail .stream-description {
  margin: 10px 0 16px;
  font-size: .9rem;
  line-height: 1.5;
}

.community-right-rail .discovery-controls {
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.community-right-rail .discovery-controls label {
  grid-column: 1 / -1;
}

.community-right-rail .stream-action-button {
  min-height: 40px;
  padding: 9px 12px;
  font-size: .86rem;
}

#discoveriesFeed {
  height: 330px;
  margin-top: 14px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.community-right-rail .discovery-card {
  margin: 0;
  padding: 13px 4px;
  border: 0;
  border-bottom: 1px solid #e4e8e5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.community-right-rail .discovery-card:last-child {
  border-bottom: 0;
}

.community-right-rail .discovery-icon {
  width: 24px;
  height: 24px;
  font-size: .78rem;
}

.community-right-rail .discovery-badge {
  gap: 5px;
  font-size: .72rem;
}

.community-right-rail .action-meta {
  gap: 6px 9px;
  font-size: .72rem;
}

.community-right-rail .action-meta strong {
  font-size: .86rem;
}

.community-right-rail .action-text {
  margin-top: 7px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  line-height: 1.48;
}

.community-follow-section {
  margin: 38px auto 0;
  padding: 30px;
  border-radius: 18px;
}

.community-follow-section .explore-heading {
  width: 100%;
  margin-bottom: 24px;
  grid-template-columns: minmax(0, .75fr) minmax(360px, 1.25fr);
  gap: 38px;
}

.community-follow-section .explore-heading h2 {
  font-size: clamp(2.2rem, 3.1vw, 3.35rem);
}

.community-follow-section .resource-grid,
.community-follow-section.follow-section .resource-grid {
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.community-follow-section .resource-card,
.community-follow-section.follow-section .resource-card {
  min-height: 230px;
  padding: 22px 18px;
}

.community-follow-section .resource-icon {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.community-follow-section .resource-card h3 {
  margin: 22px 0 9px;
  font-size: 1.55rem;
}

.community-follow-section .resource-card p {
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .community-heading,
  .public-streams,
  .community-follow-section {
    width: min(900px, calc(100% - 40px));
  }

  .public-streams {
    grid-template-columns: 1fr;
  }

  #actionsFeed {
    height: 680px;
  }

  #discoveriesFeed {
    height: 360px;
  }

  .community-follow-section .resource-grid,
  .community-follow-section.follow-section .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-follow-section .explore-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .community-heading,
  .public-streams,
  .community-follow-section {
    width: calc(100% - 28px);
  }

  #actionsFeed {
    height: 560px;
  }

  #discoveriesFeed {
    height: 320px;
  }

  .community-rail-card {
    padding: 20px 18px;
  }

  .community-follow-section {
    padding: 24px 18px;
  }

  .community-follow-section .resource-grid,
  .community-follow-section.follow-section .resource-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-10-06: standalone Follow The Meaningful Project section with separate cards */
.standalone-follow-section {
  width: 100%;
  margin: 0;
  padding: 72px 5vw 82px;
  border-radius: 0;
}

.standalone-follow-section .explore-heading {
  width: min(1280px, 100%);
  margin: 0 auto 34px;
  grid-template-columns: minmax(0, .75fr) minmax(360px, 1.25fr);
  gap: 42px;
}

.standalone-follow-section .explore-heading h2 {
  font-size: clamp(2.6rem, 3.8vw, 4.1rem);
}

.standalone-follow-section .resource-grid,
.standalone-follow-section.follow-section .resource-grid {
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  border: 0;
  box-shadow: none;
}

.standalone-follow-section .resource-card,
.standalone-follow-section.follow-section .resource-card {
  min-height: 300px;
  padding: 28px 24px;
  border: 1px solid rgba(232,176,7,.52);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(232,176,7,.10), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: 0 16px 30px rgba(0,0,0,.20);
}

.standalone-follow-section .resource-card:nth-child(even) {
  background:
    radial-gradient(circle at 18% 12%, rgba(0,102,204,.11), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
}

.standalone-follow-section .resource-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 1.25rem;
}

.standalone-follow-section .resource-card h3 {
  margin: 28px 0 12px;
  color: #f2cd55;
  font-size: 1.8rem;
}

.standalone-follow-section .resource-card p {
  font-size: .98rem;
  line-height: 1.55;
}

@media (max-width: 1200px) {
  .standalone-follow-section .resource-grid,
  .standalone-follow-section.follow-section .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standalone-follow-section .explore-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 700px) {
  .standalone-follow-section {
    padding: 56px 5vw 64px;
  }

  .standalone-follow-section .resource-grid,
  .standalone-follow-section.follow-section .resource-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-10-06 design-balance pass: activity, community, scrollbars, follow */

/* PROJECT ACTIVITY: create a clear transition from the dark hero into the page */
.activity {
  color: #173247;
  background: #eef4f2;
  border-top: 0;
  border-bottom: 1px solid #d3dfdb;
  box-shadow: 0 12px 30px rgba(18,45,54,.08);
}

.activity > div {
  min-height: 154px;
  padding: 28px 2.35vw;
  border-right: 1px solid #d3dfdb;
}

.activity-intro {
  color: #fff;
  background:
    linear-gradient(135deg, #12384d 0%, #13574f 100%);
}

.activity-intro strong {
  color: #fff;
  font-size: clamp(1.85rem, 2.15vw, 2.35rem);
}

.activity-intro span {
  color: rgba(255,255,255,.78);
  font-size: 1rem;
}

.activity-stat {
  background: rgba(255,255,255,.72);
}

.activity-stat:nth-child(3) {
  background: #f7f5ea;
}

.activity-stat:nth-child(4) {
  background: #eef5f1;
}

.activity-stat:nth-child(5) {
  background: #f0f4f7;
}

.activity-stat .stat-icon {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #176b63;
  box-shadow: 0 7px 16px rgba(23,107,99,.18);
}

.activity-stat:nth-child(3) .stat-icon {
  background: #b98514;
  box-shadow: 0 7px 16px rgba(185,133,20,.17);
}

.activity-stat:nth-child(4) .stat-icon {
  background: #256b91;
  box-shadow: 0 7px 16px rgba(37,107,145,.17);
}

.activity-stat:nth-child(5) .stat-icon {
  background: #536d7b;
  box-shadow: 0 7px 16px rgba(83,109,123,.17);
}

.activity-stat .stat-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.activity-stat strong {
  color: #12304d;
  font-size: 2.5rem;
}

.activity-stat > span:last-child {
  color: #5c6b67;
}

/* COMMUNITY: align the heading with the actual columns */
.community-section {
  background:
    linear-gradient(180deg, #f7f9f8 0%, #f2f5f3 100%);
}

.community-heading {
  width: min(1280px, calc(100% - 48px));
  grid-template-columns: minmax(0, 2fr) minmax(320px, .86fr);
  gap: 30px;
  align-items: end;
}

.community-heading > p {
  width: 100%;
  max-width: none;
  padding-left: 0;
}

/* Give the two sides enough distinction without turning them into heavy boxes */
#actions.stream-panel {
  padding: 24px;
  border: 1px solid #dbe3df;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 26px rgba(25,52,60,.055);
}

.community-right-rail {
  gap: 20px;
}

.activity-summary-card {
  border-color: #cfdfdf;
  background:
    linear-gradient(145deg, #edf5f5 0%, #f7faf9 100%);
}

.record-summary-card {
  border-color: #cfe1d7;
  background:
    linear-gradient(145deg, #e8f4ed 0%, #f5faf7 100%);
}

#discoveries.community-rail-card {
  border-color: #ddd8ca;
  background:
    linear-gradient(180deg, #fffdf8 0%, #faf8f1 100%);
}

/* Logged Actions should read like normal body copy, not display copy */
#actionsFeed .action-card {
  padding: 15px 16px 15px 17px;
  margin: 8px 0;
}

#actionsFeed .action-meta {
  font-size: .82rem;
}

#actionsFeed .action-meta strong {
  font-size: .9rem;
}

#actionsFeed .action-text {
  margin-top: 7px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .96rem;
  line-height: 1.48;
}

/* Scrollbars should be obvious enough to discover, but visually quiet */
.feed {
  scrollbar-width: auto;
  scrollbar-color: #718079 #e3e9e6;
}

.feed::-webkit-scrollbar {
  width: 11px;
}

.feed::-webkit-scrollbar-track {
  background: #e3e9e6;
  border-radius: 999px;
}

.feed::-webkit-scrollbar-thumb {
  min-height: 56px;
  border: 2px solid #e3e9e6;
  border-radius: 999px;
  background: #718079;
}

.feed::-webkit-scrollbar-thumb:hover {
  background: #52625b;
}

#discoveriesFeed {
  padding-right: 9px;
  scrollbar-color: #65756d #e7e3d9;
}

#discoveriesFeed::-webkit-scrollbar-track {
  background: #e7e3d9;
}

#discoveriesFeed::-webkit-scrollbar-thumb {
  border-color: #e7e3d9;
  background: #65756d;
}

/* FOLLOW: replace the harsh blue/gold palette with one cohesive editorial palette */
.standalone-follow-section {
  color: #173247;
  background:
    radial-gradient(circle at 90% 10%, rgba(23,107,99,.09), transparent 26%),
    linear-gradient(180deg, #f2f5f2 0%, #e9efec 100%);
  border-top: 1px solid #d5dfda;
  border-bottom: 1px solid #d5dfda;
}

.standalone-follow-section::after {
  display: none;
}

.standalone-follow-section .explore-heading .eyebrow {
  color: #176b63;
}

.standalone-follow-section .explore-heading h2 {
  color: #173247;
  text-shadow: none;
}

.standalone-follow-section .explore-heading > p {
  color: #66736f;
}

.standalone-follow-section .resource-card,
.standalone-follow-section.follow-section .resource-card {
  border: 1px solid #d4ddd8;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 26px rgba(28,51,57,.075);
}

.standalone-follow-section .resource-card:nth-child(even) {
  background: rgba(248,250,248,.96);
}

.standalone-follow-section .resource-number {
  color: #7d8a85;
}

.standalone-follow-section .resource-icon {
  color: #fff;
  background: #176b63;
  box-shadow: none;
}

.standalone-follow-section .resource-card:nth-child(2) .resource-icon,
.standalone-follow-section .resource-card:nth-child(4) .resource-icon {
  background: #245f82;
}

.standalone-follow-section .resource-card:nth-child(3) .resource-icon {
  background: #aa7b19;
}

.standalone-follow-section .resource-card:nth-child(5) .resource-icon {
  background: #405e6f;
}

.standalone-follow-section .resource-card h3 {
  color: #173247;
}

.standalone-follow-section .resource-card p {
  color: #606d69;
}

.standalone-follow-section .resource-status,
.standalone-follow-section .resource-button {
  color: #176b63;
}

@media (max-width: 1100px) {
  .community-heading {
    width: min(900px, calc(100% - 40px));
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .community-heading {
    width: calc(100% - 28px);
  }

  #actions.stream-panel {
    padding: 18px;
  }
}

/* 2026-10-06 refinement: Join contrast, balanced Community columns, Discovery prominence, neutral section rhythm */

/* JOIN PROJECT MEANINGFUL: warm contrast against the blue/green parent section */
.join-project {
  color: #173247;
  background:
    radial-gradient(circle at 86% 16%, rgba(191,145,47,.12), transparent 30%),
    linear-gradient(145deg, #f4ecdd 0%, #eee1ca 100%);
  border: 1px solid #d7c19c;
  box-shadow: 0 22px 54px rgba(4,34,48,.24);
}

.join-project::after {
  border-color: rgba(23,50,71,.08);
}

.join-kicker {
  color: #176b63;
}

.join-project h3 {
  color: #173247;
}

.join-benefit {
  grid-template-columns: 46px 1fr;
  gap: 14px;
}

.join-benefit .benefit-icon {
  width: 42px;
  height: 42px;
  color: #fff;
  background: #176b63;
  box-shadow: 0 6px 14px rgba(23,107,99,.16);
}

.join-benefit:nth-child(2) .benefit-icon {
  background: #245f82;
}

.join-benefit:nth-child(3) .benefit-icon {
  background: #9a741f;
}

.join-benefit p {
  color: #344a57;
}

.join-project-button {
  background: #173247;
  color: #fff;
  box-shadow: 0 8px 18px rgba(23,50,71,.18);
}

.join-project-button:hover {
  background: #0f5c55;
}

/* COMMUNITY: equal-height composition and stronger right-rail differentiation */
.public-streams {
  align-items: stretch;
}

#actions.stream-panel {
  display: flex;
  flex-direction: column;
}

#actionsFeed {
  height: auto;
  min-height: 560px;
  flex: 1 1 auto;
}

.community-right-rail {
  height: 100%;
}

.community-right-rail .community-rail-card {
  border-width: 1px;
  box-shadow: 0 10px 24px rgba(27,48,56,.07);
}

.activity-summary-card {
  border-color: #c7d5dc;
  background:
    linear-gradient(145deg, #e9f0f3 0%, #f5f8f8 100%);
}

.activity-summary-card .rail-symbol {
  color: #fff;
  background: #2d6582;
}

.record-summary-card {
  border-color: #d8cdbd;
  background:
    linear-gradient(145deg, #f3eee6 0%, #faf7f2 100%);
}

.record-summary-card .rail-symbol-record {
  color: #fff;
  background: #8a6e45;
}

#discoveries.community-rail-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  border: 1px solid #cfc6b4;
  border-top: 4px solid #176b63;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7f3ea 100%);
  box-shadow: 0 14px 30px rgba(27,48,56,.10);
}

#discoveries .stream-kicker {
  color: #176b63;
  letter-spacing: .12em;
}

#discoveries .stream-heading h3 {
  color: #173247;
  font-size: 2rem;
}

#discoveries .stream-description {
  color: #53615d;
}

#discoveriesFeed {
  height: auto;
  min-height: 260px;
  flex: 1 1 auto;
}

/* Keep the two desktop columns visually finished on the same baseline */
@media (min-width: 1101px) {
  .public-streams {
    grid-auto-rows: 1fr;
  }

  #actions.stream-panel,
  .community-right-rail {
    min-height: 760px;
  }
}

/* FOLLOW: warm-neutral section instead of adjacent mint/green fields */
.standalone-follow-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(155,126,74,.07), transparent 28%),
    linear-gradient(180deg, #efece6 0%, #e7e2d9 100%);
  border-top: 1px solid #d5cfc4;
  border-bottom: 1px solid #d5cfc4;
}

.standalone-follow-section .resource-card,
.standalone-follow-section.follow-section .resource-card {
  border-color: #d8d0c4;
  background: #fbfaf7;
  box-shadow: 0 12px 26px rgba(44,49,49,.08);
}

.standalone-follow-section .resource-card:nth-child(even) {
  background: #f5f2ec;
}

.standalone-follow-section .resource-card-top {
  justify-content: flex-start;
}

@media (max-width: 1100px) {
  #actionsFeed {
    min-height: 520px;
  }

  #discoveriesFeed {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  #actionsFeed {
    min-height: 460px;
  }

  #discoveriesFeed {
    min-height: 300px;
  }
}

/* 2026-10-08: unify hero/activity/idea palette; center stats; restore finite scroll feeds */

.hero {
  background:
    radial-gradient(circle at 84% 24%, rgba(25,88,126,.34), transparent 30%),
    radial-gradient(circle at 72% 88%, rgba(31,101,84,.22), transparent 28%),
    linear-gradient(118deg, #101817 0%, #172622 48%, #182533 100%);
}

.activity {
  color: #fff;
  background: #15323c;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: none;
}

.activity > div {
  min-height: 146px;
  border-right: 1px solid rgba(255,255,255,.10);
}

.activity-intro {
  color: #fff;
  background: linear-gradient(135deg, #163846 0%, #176058 100%);
}

.activity-intro strong {
  color: #fff;
}

.activity-intro span {
  color: rgba(255,255,255,.74);
}

.activity-stat,
.activity-stat:nth-child(3),
.activity-stat:nth-child(4),
.activity-stat:nth-child(5) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.activity-stat {
  background: #1b3542;
}

.activity-stat:nth-child(3) {
  background: #203f47;
}

.activity-stat:nth-child(4) {
  background: #214b49;
}

.activity-stat:nth-child(5) {
  background: #263b49;
}

.activity-stat strong {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 4.15vw, 4.7rem);
  font-weight: 400;
  line-height: .88;
  text-align: center;
}

.activity-stat > span:last-child {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .75rem;
  letter-spacing: .1em;
  text-align: center;
}

#experimentDay {
  max-width: 220px;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: .98;
}

.experiment-intro {
  background:
    radial-gradient(circle at 88% 14%, rgba(185,145,60,.10), transparent 26%),
    linear-gradient(118deg, #153950 0%, #17636a 60%, #176c61 115%);
}

.experiment-intro .eyebrow {
  color: rgba(255,255,255,.76);
}

#actionsFeed,
#discoveriesFeed {
  flex: 0 0 auto;
  overflow-y: scroll;
  scrollbar-width: auto;
}

#actionsFeed {
  height: 680px;
  min-height: 0;
}

#discoveriesFeed {
  height: 360px;
  min-height: 0;
}

@media (min-width: 1101px) {
  #actions.stream-panel,
  .community-right-rail {
    min-height: 0;
  }

  .public-streams {
    grid-auto-rows: auto;
    align-items: start;
  }
}

@media (max-width: 1100px) {
  #actionsFeed {
    height: 620px;
    min-height: 0;
  }

  #discoveriesFeed {
    height: 340px;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  #actionsFeed {
    height: 520px;
    min-height: 0;
  }

  #discoveriesFeed {
    height: 320px;
    min-height: 0;
  }
}

/* 2026-10-08 researched palette system
   Deep slate navy + muted teal + warm ivory/stone + restrained brass.
   This final layer intentionally supersedes earlier exploratory color passes.
*/

:root {
  --ink: #183042;
  --muted: #5b6970;
  --paper: #f7f4ee;
  --paper-deep: #eee9df;
  --white: #fffdf9;
  --line: #d8d1c5;
  --accent: #2f6f68;
  --accent-dark: #245852;
  --green: #6f8665;
  --gold: #b58a3a;
  --dark: #142733;
  --dark-soft: #1f3b45;
  --sage: #718078;
  --shadow: 0 18px 42px rgba(24,48,66,.09);
}

body {
  color: var(--ink);
  background: var(--paper);
}

.site-header {
  color: var(--ink);
  background: rgba(255,253,249,.97);
  border-bottom-color: var(--line);
}

.brand {
  color: var(--ink);
}

nav a,
.nav-button {
  color: #465a63;
}

nav a:hover,
.nav-button:hover {
  color: var(--accent);
}

.primary-button {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47,111,104,.18);
}

.primary-button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

/* HERO */
.hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(47,111,104,.30), transparent 31%),
    radial-gradient(circle at 69% 87%, rgba(181,138,58,.11), transparent 26%),
    linear-gradient(118deg, #101d26 0%, #18333d 54%, #1d4746 118%);
}

.hero::before {
  opacity: .44;
  background:
    radial-gradient(ellipse at 18% 72%, transparent 0 28%, rgba(69,117,130,.17) 28.5% 30%, transparent 30.5% 100%),
    radial-gradient(ellipse at 84% 30%, transparent 0 34%, rgba(77,126,104,.15) 34.5% 36%, transparent 36.5% 100%),
    linear-gradient(145deg, transparent 0 60%, rgba(181,138,58,.09) 60.5% 61.5%, transparent 62% 100%);
}

/* PROJECT ACTIVITY: one neutral family, one anchor */
.activity {
  color: var(--ink);
  background: #ebe6dc;
  border-top: 1px solid #d7d0c4;
  border-bottom: 1px solid #d7d0c4;
}

.activity > div {
  border-right-color: #d7d0c4;
}

.activity-intro {
  color: #fff;
  background: linear-gradient(135deg, #214b50 0%, #2f6f68 100%);
}

.activity-intro span {
  color: rgba(255,255,255,.78);
}

.activity-stat,
.activity-stat:nth-child(3),
.activity-stat:nth-child(4),
.activity-stat:nth-child(5) {
  background: #f7f4ee;
}

.activity-stat:nth-child(3) {
  background: #f2eee6;
}

.activity-stat:nth-child(4) {
  background: #ece8df;
}

.activity-stat:nth-child(5) {
  background: #f4f1eb;
}

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

.activity-stat > span:last-child {
  color: #67736f;
}

/* IDEA */
.experiment-intro {
  background:
    radial-gradient(circle at 88% 14%, rgba(181,138,58,.12), transparent 27%),
    linear-gradient(118deg, #285c5a 0%, #2f6f68 58%, #315e63 112%);
}

.experiment-intro .eyebrow {
  color: rgba(255,255,255,.78);
}

.join-project {
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 16%, rgba(181,138,58,.09), transparent 31%),
    linear-gradient(145deg, #fffaf0 0%, #f1e8d8 100%);
  border-color: #d9c9ae;
  box-shadow: 0 22px 48px rgba(20,39,51,.18);
}

.join-kicker {
  color: var(--accent);
}

.join-benefit .benefit-icon {
  background: var(--accent);
}

.join-benefit:nth-child(2) .benefit-icon {
  background: #3d687c;
}

.join-benefit:nth-child(3) .benefit-icon {
  background: #94722d;
}

.join-benefit p {
  color: #3f535d;
}

.join-project-button {
  background: var(--ink);
  color: #fff;
}

.join-project-button:hover {
  background: var(--accent-dark);
}

/* COMMUNITY */
.community-section {
  background:
    radial-gradient(circle at 92% 5%, rgba(47,111,104,.045), transparent 23%),
    linear-gradient(180deg, #f8f6f1 0%, #f2eee7 100%);
  border-bottom-color: #dcd4c8;
}

.community-section::before,
.community-section::after {
  opacity: .35;
}

.community-section::before {
  background: radial-gradient(circle, rgba(47,111,104,.08), transparent 66%);
}

.community-section::after {
  background: radial-gradient(circle, rgba(181,138,58,.07), transparent 66%);
}

#actions.stream-panel {
  border-color: #d9d4ca;
  background: #fffdf9;
  box-shadow: 0 12px 28px rgba(24,48,66,.07);
}

.stream-kicker,
.stream-link,
.discoveries-panel .stream-kicker {
  color: var(--accent);
}

.feed {
  border-color: #ddd7cc;
  background: #fbfaf6;
}

.action-card {
  border-color: #ddd7cc;
  background: #fffdf9;
  box-shadow: 0 6px 16px rgba(24,48,66,.045);
}

/* Right rail uses tonal variants, not different color families */
.community-rail-card {
  border-color: #d8d1c5;
  box-shadow: 0 10px 24px rgba(24,48,66,.065);
}

.activity-summary-card {
  border-color: #cfd7d5;
  background: linear-gradient(145deg, #edf2f0 0%, #f7f7f3 100%);
}

.activity-summary-card .rail-symbol {
  color: #fff;
  background: #3c6670;
}

.record-summary-card {
  border-color: #d8cebd;
  background: linear-gradient(145deg, #f1ece3 0%, #faf7f1 100%);
}

.record-summary-card .rail-symbol-record {
  color: #fff;
  background: #8a7040;
}

#discoveries.community-rail-card {
  border-color: #d5cbb9;
  border-top-color: var(--accent);
  background: linear-gradient(180deg, #fffaf2 0%, #f5efe5 100%);
  box-shadow: 0 12px 28px rgba(24,48,66,.08);
}

#discoveries .stream-kicker {
  color: var(--accent);
}

#discoveries .stream-heading h3 {
  color: var(--ink);
}

#discoveries .stream-description {
  color: var(--muted);
}

/* Align desktop columns: Action panel grows to same bottom as the right rail.
   The rendered content remains capped at 20 and scrollable. */
@media (min-width: 1101px) {
  .public-streams {
    align-items: stretch;
    grid-auto-rows: 1fr;
  }

  #actions.stream-panel {
    height: 100%;
    min-height: 0;
  }

  #actionsFeed {
    height: auto;
    min-height: 680px;
    flex: 1 1 auto;
  }

  .community-right-rail {
    height: 100%;
  }
}

/* Scrollbar system */
.feed {
  scrollbar-color: #66766f #e1ddd4;
}

.feed::-webkit-scrollbar-track {
  background: #e1ddd4;
}

.feed::-webkit-scrollbar-thumb {
  border-color: #e1ddd4;
  background: #66766f;
}

.feed::-webkit-scrollbar-thumb:hover {
  background: #4e5f58;
}

#discoveriesFeed {
  scrollbar-color: #66766f #e5ded1;
}

#discoveriesFeed::-webkit-scrollbar-track {
  background: #e5ded1;
}

#discoveriesFeed::-webkit-scrollbar-thumb {
  border-color: #e5ded1;
  background: #66766f;
}

/* FOLLOW */
.standalone-follow-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 10%, rgba(181,138,58,.055), transparent 27%),
    linear-gradient(180deg, #ece6dc 0%, #e4ddd1 100%);
  border-top-color: #d2c9bb;
  border-bottom-color: #d2c9bb;
}

.standalone-follow-section .explore-heading .eyebrow {
  color: var(--accent);
}

.standalone-follow-section .explore-heading h2 {
  color: var(--ink);
}

.standalone-follow-section .explore-heading > p {
  color: var(--muted);
}

.standalone-follow-section .resource-card,
.standalone-follow-section.follow-section .resource-card {
  border-color: #d5ccbf;
  background: #fffdf9;
  box-shadow: 0 12px 26px rgba(24,48,66,.07);
}

.standalone-follow-section .resource-card:nth-child(even) {
  background: #f8f4ed;
}

.standalone-follow-section .resource-icon {
  background: var(--accent);
}

.standalone-follow-section .resource-card:nth-child(2) .resource-icon,
.standalone-follow-section .resource-card:nth-child(4) .resource-icon {
  background: #3c6670;
}

.standalone-follow-section .resource-card:nth-child(3) .resource-icon {
  background: #9b7630;
}

.standalone-follow-section .resource-card:nth-child(5) .resource-icon {
  background: #4e5f67;
}

.standalone-follow-section .resource-card h3 {
  color: var(--ink);
}

.standalone-follow-section .resource-card p {
  color: var(--muted);
}

.standalone-follow-section .resource-status,
.standalone-follow-section .resource-button {
  color: var(--accent-dark);
}

/* Inputs, dialogs, archives, footer */
input,
select,
textarea {
  color: var(--ink);
  background: #fffdf9;
  border-color: #cfc8bc;
}

input:focus,
select:focus,
textarea:focus {
  outline-color: var(--accent);
  border-color: var(--accent);
}

dialog {
  color: var(--ink);
  background: #f8f4ed;
}

footer {
  color: rgba(255,255,255,.72);
  background: #172b36;
}

.archive-page {
  background: var(--paper);
}

.archive-feed {
  border-top-color: var(--line);
}

/* 2026-10-08: reduce Action viewport, align Community feed bottoms, green Follow background */
@media (min-width: 1101px) {
  .public-streams {
    align-items: stretch;
    grid-auto-rows: 900px;
  }

  #actions.stream-panel,
  .community-right-rail {
    height: 900px;
    min-height: 0;
  }

  #actionsFeed {
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: scroll;
  }

  .community-right-rail {
    display: flex;
    flex-direction: column;
  }

  #discoveries.community-rail-card {
    min-height: 0;
    flex: 1 1 auto;
    padding-bottom: 24px;
  }

  #discoveriesFeed {
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: scroll;
  }
}

/* Only the Stay Connected section background changes here. */
.standalone-follow-section {
  background: #dce6e1;
}

/* 2026-10-08: five-Discovery preview, aligned feed bottoms, dark-green Follow */
@media (min-width: 1101px) {
  .public-streams {
    align-items: stretch;
    grid-auto-rows: 1140px;
  }

  #actions.stream-panel,
  .community-right-rail {
    height: 1140px;
    min-height: 0;
  }

  #actions.stream-panel {
    display: flex;
    flex-direction: column;
  }

  #actionsFeed {
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: scroll;
  }

  .community-right-rail {
    display: flex;
    flex-direction: column;
  }

  #discoveries.community-rail-card {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  #discoveriesFeed {
    height: auto;
    min-height: 470px;
    flex: 1 1 auto;
    overflow-y: scroll;
  }
}

/* Stay Connected: use the established dark green; cards remain unchanged. */
.standalone-follow-section {
  color: #fff;
  background: #214b50;
}

.standalone-follow-section .explore-heading .eyebrow,
.standalone-follow-section .explore-heading h2,
.standalone-follow-section .explore-heading > p {
  color: #fff;
}

/* 2026-10-08: correct Discovery overflow while preserving five-entry preview and alignment */
@media (min-width: 1101px) {
  .public-streams {
    align-items: stretch;
    grid-auto-rows: 1240px;
  }

  #actions.stream-panel,
  .community-right-rail {
    height: 1240px;
    min-height: 0;
  }

  #actions.stream-panel {
    display: flex;
    flex-direction: column;
  }

  #actionsFeed {
    height: auto;
    min-height: 0;
    flex: 1 1 0;
    overflow-y: scroll;
  }

  .community-right-rail {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 20px;
    overflow: hidden;
  }

  #discoveries.community-rail-card {
    height: auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  #discoveriesFeed {
    height: auto;
    min-height: 0;
    flex: 1 1 0;
    overflow-y: scroll;
    overscroll-behavior: contain;
  }
}

/* 2026-10-08: hierarchy refinement after moving The Idea Is Simple below Community */

/* Hero CTA: lighter, high-contrast action against the dark hero */
#participateButton {
  border-color: #9ed8cd;
  background: #9ed8cd;
  color: #173247;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

#participateButton:hover {
  border-color: #b8e6dd;
  background: #b8e6dd;
  color: #102733;
}

/* Discoveries should read immediately as a scrollable content window */
#discoveriesFeed {
  padding: 10px 12px 10px 12px;
  border: 1px solid #d7d1c6;
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

/* With The Idea Is Simple now preceding Stay Connected,
   use a warm light closing field for clear section contrast. */
.standalone-follow-section {
  color: var(--ink);
  background: #e8e0d4;
  border-top-color: #d1c7b8;
  border-bottom-color: #d1c7b8;
}

.standalone-follow-section .explore-heading .eyebrow {
  color: var(--accent-dark);
}

.standalone-follow-section .explore-heading h2 {
  color: var(--ink);
}

.standalone-follow-section .explore-heading > p {
  color: var(--muted);
}

/* 2026-10-08: energized palette — preserve layout, change color only except Join copy fit */
:root {
  --ink: #12314a;
  --muted: #526a78;
  --paper: #fbf7ee;
  --paper-deep: #f1e8d9;
  --white: #fffdf9;
  --line: #d6cdbe;
  --accent: #0b7f7a;
  --accent-dark: #075e5b;
  --green: #2f8f63;
  --gold: #d69b2d;
  --dark: #102a3a;
  --dark-soft: #173e4e;
  --sage: #6c8179;
  --shadow: 0 18px 42px rgba(18,49,74,.11);
}

body {
  color: var(--ink);
  background: var(--paper);
}

.site-header {
  color: var(--ink);
  background: rgba(255,253,249,.98);
  border-bottom-color: #d8cfbf;
}

.brand {
  color: #12314a;
}

nav a,
.nav-button {
  color: #3d5668;
}

nav a:hover,
.nav-button:hover {
  color: var(--accent);
}

.primary-button {
  border-color: #0b7f7a;
  background: #0b7f7a;
  color: #fff;
  box-shadow: 0 7px 18px rgba(11,127,122,.22);
}

.primary-button:hover {
  border-color: #075e5b;
  background: #075e5b;
}

/* HERO */
.hero {
  background:
    radial-gradient(circle at 83% 22%, rgba(15,126,116,.34), transparent 31%),
    radial-gradient(circle at 68% 88%, rgba(214,155,45,.12), transparent 27%),
    linear-gradient(118deg, #0c2231 0%, #123b49 54%, #0e5757 118%);
}

.hero::before {
  opacity: .54;
  background:
    radial-gradient(ellipse at 18% 72%, transparent 0 28%, rgba(46,139,168,.20) 28.5% 30%, transparent 30.5% 100%),
    radial-gradient(ellipse at 84% 30%, transparent 0 34%, rgba(47,143,99,.20) 34.5% 36%, transparent 36.5% 100%),
    linear-gradient(145deg, transparent 0 60%, rgba(214,155,45,.12) 60.5% 61.5%, transparent 62% 100%);
}

#participateButton {
  border-color: #a8e4d5;
  background: #a8e4d5;
  color: #102f45;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

#participateButton:hover {
  border-color: #c2efe4;
  background: #c2efe4;
  color: #0c2637;
}

/* PROJECT ACTIVITY */
.activity {
  color: var(--ink);
  background: #efe5d3;
  border-top-color: #d8c8ad;
  border-bottom-color: #d8c8ad;
}

.activity > div {
  border-right-color: #d8c8ad;
}

.activity-intro {
  color: #fff;
  background: linear-gradient(135deg, #0d5865 0%, #0b7f7a 100%);
}

.activity-intro span {
  color: rgba(255,255,255,.82);
}

.activity-stat,
.activity-stat:nth-child(3),
.activity-stat:nth-child(4),
.activity-stat:nth-child(5) {
  background: #fffaf0;
}

.activity-stat:nth-child(3) {
  background: #f4e8cb;
}

.activity-stat:nth-child(4) {
  background: #e6f2ee;
}

.activity-stat:nth-child(5) {
  background: #e8eff4;
}

.activity-stat strong {
  color: #12314a;
}

.activity-stat > span:last-child {
  color: #516874;
}

/* COMMUNITY */
.community-section {
  background:
    radial-gradient(circle at 92% 4%, rgba(11,127,122,.07), transparent 23%),
    linear-gradient(180deg, #fbf8f1 0%, #f4eee4 100%);
  border-bottom-color: #d8cfbf;
}

.community-section::before {
  background: radial-gradient(circle, rgba(11,127,122,.10), transparent 66%);
}

.community-section::after {
  background: radial-gradient(circle, rgba(214,155,45,.09), transparent 66%);
}

#actions.stream-panel {
  border-color: #d9d0c1;
  background: #fffdf9;
  box-shadow: 0 12px 28px rgba(18,49,74,.08);
}

.stream-kicker,
.stream-link,
.discoveries-panel .stream-kicker {
  color: #0b7f7a;
}

.feed {
  border-color: #d9d0c1;
  background: #fffdf9;
}

.action-card {
  border-color: #ded4c5;
  background: #fffdf9;
  box-shadow: 0 6px 16px rgba(18,49,74,.05);
}

.activity-summary-card {
  border-color: #bdd4dc;
  background: linear-gradient(145deg, #e2f0f3 0%, #f5faf9 100%);
}

.activity-summary-card .rail-symbol {
  color: #fff;
  background: #176a84;
}

.record-summary-card {
  border-color: #bed8c8;
  background: linear-gradient(145deg, #e3f1e8 0%, #f7fbf8 100%);
}

.record-summary-card .rail-symbol-record {
  color: #fff;
  background: #2f8f63;
}

#discoveries.community-rail-card {
  border-color: #dfca9c;
  border-top-color: #0b7f7a;
  background: linear-gradient(180deg, #fff7e7 0%, #faefd9 100%);
  box-shadow: 0 12px 28px rgba(18,49,74,.09);
}

#discoveries .stream-kicker {
  color: #0b7f7a;
}

#discoveriesFeed {
  border-color: #d7cbb9;
  background: #fff;
}

.feed {
  scrollbar-color: #557269 #e5ddd0;
}

.feed::-webkit-scrollbar-track {
  background: #e5ddd0;
}

.feed::-webkit-scrollbar-thumb {
  border-color: #e5ddd0;
  background: #557269;
}

.feed::-webkit-scrollbar-thumb:hover {
  background: #3e5f56;
}

/* IDEA */
.experiment-intro {
  background:
    radial-gradient(circle at 88% 14%, rgba(214,155,45,.16), transparent 27%),
    linear-gradient(118deg, #0d5870 0%, #0b7f7a 58%, #247a62 112%);
}

.experiment-intro .eyebrow {
  color: rgba(255,255,255,.84);
}

.join-project {
  color: #12314a;
  background:
    radial-gradient(circle at 86% 16%, rgba(214,155,45,.14), transparent 31%),
    linear-gradient(145deg, #fff5df 0%, #f4dfb7 100%);
  border-color: #d8b86f;
  box-shadow: 0 22px 48px rgba(18,49,74,.20);
}

.join-kicker {
  color: #0b7f7a;
}

.join-benefit .benefit-icon {
  background: #0b7f7a;
}

.join-benefit:nth-child(2) .benefit-icon {
  background: #176a84;
}

.join-benefit:nth-child(3) .benefit-icon {
  background: #aa7b1f;
}

.join-benefit p {
  color: #304d5f;
  font-size: 1.08rem;
  line-height: 1.42;
}

.join-project-button {
  background: #12314a;
  color: #fff;
}

.join-project-button:hover {
  background: #0b7f7a;
}

/* STAY CONNECTED */
.standalone-follow-section {
  color: #12314a;
  background:
    radial-gradient(circle at 90% 10%, rgba(214,155,45,.10), transparent 27%),
    linear-gradient(180deg, #f2dfb8 0%, #ead1a2 100%);
  border-top-color: #d9bd80;
  border-bottom-color: #d9bd80;
}

.standalone-follow-section .explore-heading .eyebrow {
  color: #075e5b;
}

.standalone-follow-section .explore-heading h2 {
  color: #12314a;
}

.standalone-follow-section .explore-heading > p {
  color: #47606e;
}

.standalone-follow-section .resource-card,
.standalone-follow-section.follow-section .resource-card {
  border-color: #d8c8a7;
  background: #fffdf9;
  box-shadow: 0 12px 26px rgba(18,49,74,.08);
}

.standalone-follow-section .resource-card:nth-child(even) {
  background: #fff8eb;
}

.standalone-follow-section .resource-icon {
  background: #0b7f7a;
}

.standalone-follow-section .resource-card:nth-child(2) .resource-icon,
.standalone-follow-section .resource-card:nth-child(4) .resource-icon {
  background: #176a84;
}

.standalone-follow-section .resource-card:nth-child(3) .resource-icon {
  background: #aa7b1f;
}

.standalone-follow-section .resource-card:nth-child(5) .resource-icon {
  background: #315d72;
}

.standalone-follow-section .resource-card h3 {
  color: #12314a;
}

.standalone-follow-section .resource-card p {
  color: #526a78;
}

.standalone-follow-section .resource-status,
.standalone-follow-section .resource-button {
  color: #075e5b;
}

input,
select,
textarea {
  color: #12314a;
  background: #fffdf9;
  border-color: #cfc2ae;
}

input:focus,
select:focus,
textarea:focus {
  outline-color: #0b7f7a;
  border-color: #0b7f7a;
}

dialog {
  color: #12314a;
  background: #fbf5e9;
}

footer {
  color: rgba(255,255,255,.76);
  background: #102a3a;
}

/* 2026-10-08: blue-led color system anchored on #0066cc.
   Layout, spacing, hierarchy, and behavior are intentionally unchanged. */

:root {
  --ink: #102f4f;
  --muted: #587087;
  --paper: #f6f9fc;
  --paper-deep: #eaf1f8;
  --white: #ffffff;
  --line: #ccd9e6;
  --accent: #0066cc;
  --accent-dark: #004f9f;
  --green: #2d8b76;
  --gold: #d89a2b;
  --dark: #0b2540;
  --dark-soft: #143d63;
  --sage: #668093;
  --shadow: 0 18px 42px rgba(16,47,79,.12);
}

body {
  color: var(--ink);
  background: #f6f9fc;
}

.site-header {
  color: var(--ink);
  background: rgba(255,255,255,.98);
  border-bottom-color: #d6e0ea;
}

.brand {
  color: #0b3158;
}

nav a,
.nav-button {
  color: #36556f;
}

nav a:hover,
.nav-button:hover {
  color: #0066cc;
}

.primary-button {
  border-color: #0066cc;
  background: #0066cc;
  color: #fff;
  box-shadow: 0 7px 18px rgba(0,102,204,.24);
}

.primary-button:hover {
  border-color: #004f9f;
  background: #004f9f;
}

/* HERO */
.hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(0,102,204,.42), transparent 31%),
    radial-gradient(circle at 70% 88%, rgba(45,139,118,.18), transparent 27%),
    linear-gradient(118deg, #081d31 0%, #0b3158 52%, #124e72 118%);
}

.hero::before {
  opacity: .55;
  background:
    radial-gradient(ellipse at 18% 72%, transparent 0 28%, rgba(0,133,214,.20) 28.5% 30%, transparent 30.5% 100%),
    radial-gradient(ellipse at 84% 30%, transparent 0 34%, rgba(45,139,118,.18) 34.5% 36%, transparent 36.5% 100%),
    linear-gradient(145deg, transparent 0 60%, rgba(216,154,43,.10) 60.5% 61.5%, transparent 62% 100%);
}

#participateButton {
  border-color: #bfe0ff;
  background: #bfe0ff;
  color: #0b3158;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}

#participateButton:hover {
  border-color: #d7ebff;
  background: #d7ebff;
  color: #082642;
}

/* PROJECT ACTIVITY */
.activity {
  color: var(--ink);
  background: #e7f0f9;
  border-top-color: #cadbea;
  border-bottom-color: #cadbea;
}

.activity > div {
  border-right-color: #cadbea;
}

.activity-intro {
  color: #fff;
  background: linear-gradient(135deg, #004f9f 0%, #0066cc 100%);
}

.activity-intro span {
  color: rgba(255,255,255,.82);
}

.activity-stat,
.activity-stat:nth-child(3),
.activity-stat:nth-child(4),
.activity-stat:nth-child(5) {
  background: #f8fbff;
}

.activity-stat:nth-child(3) {
  background: #edf5fd;
}

.activity-stat:nth-child(4) {
  background: #e3f0fb;
}

.activity-stat:nth-child(5) {
  background: #eff4f8;
}

.activity-stat strong {
  color: #0b3158;
}

.activity-stat > span:last-child {
  color: #526b82;
}

/* COMMUNITY */
.community-section {
  background:
    radial-gradient(circle at 92% 4%, rgba(0,102,204,.07), transparent 23%),
    linear-gradient(180deg, #f8fbfe 0%, #edf4fa 100%);
  border-bottom-color: #d2dfeb;
}

.community-section::before {
  background: radial-gradient(circle, rgba(0,102,204,.10), transparent 66%);
}

.community-section::after {
  background: radial-gradient(circle, rgba(45,139,118,.07), transparent 66%);
}

#actions.stream-panel {
  border-color: #cedbe7;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16,47,79,.08);
}

.stream-kicker,
.stream-link,
.discoveries-panel .stream-kicker {
  color: #0066cc;
}

.feed {
  border-color: #d2dee9;
  background: #fff;
}

.action-card {
  border-color: #d7e0e8;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16,47,79,.05);
}

.activity-summary-card {
  border-color: #bfd6eb;
  background: linear-gradient(145deg, #e4f1fc 0%, #f5faff 100%);
}

.activity-summary-card .rail-symbol {
  color: #fff;
  background: #0066cc;
}

.record-summary-card {
  border-color: #cbd9e5;
  background: linear-gradient(145deg, #eef4f8 0%, #f8fbfd 100%);
}

.record-summary-card .rail-symbol-record {
  color: #fff;
  background: #2d6f9b;
}

#discoveries.community-rail-card {
  border-color: #bed6ea;
  border-top-color: #0066cc;
  background: linear-gradient(180deg, #f4f9fe 0%, #e9f3fc 100%);
  box-shadow: 0 12px 28px rgba(16,47,79,.09);
}

#discoveries .stream-kicker {
  color: #0066cc;
}

#discoveriesFeed {
  border-color: #cbd8e4;
  background: #fff;
}

.feed {
  scrollbar-color: #557a98 #dce7f1;
}

.feed::-webkit-scrollbar-track {
  background: #dce7f1;
}

.feed::-webkit-scrollbar-thumb {
  border-color: #dce7f1;
  background: #557a98;
}

.feed::-webkit-scrollbar-thumb:hover {
  background: #365f80;
}

/* IDEA */
.experiment-intro {
  background:
    radial-gradient(circle at 88% 14%, rgba(216,154,43,.12), transparent 27%),
    linear-gradient(118deg, #004f9f 0%, #0066cc 58%, #1b78c9 112%);
}

.experiment-intro .eyebrow {
  color: rgba(255,255,255,.84);
}

.join-project {
  color: #102f4f;
  background:
    radial-gradient(circle at 86% 16%, rgba(0,102,204,.10), transparent 31%),
    linear-gradient(145deg, #f8fbff 0%, #e4f1fc 100%);
  border-color: #aac9e5;
  box-shadow: 0 22px 48px rgba(16,47,79,.20);
}

.join-kicker {
  color: #0066cc;
}

.join-benefit .benefit-icon {
  background: #0066cc;
}

.join-benefit:nth-child(2) .benefit-icon {
  background: #2d6f9b;
}

.join-benefit:nth-child(3) .benefit-icon {
  background: #d89a2b;
}

.join-benefit p {
  color: #31536d;
}

.join-project-button {
  background: #0b3158;
  color: #fff;
}

.join-project-button:hover {
  background: #0066cc;
}

/* STAY CONNECTED */
.standalone-follow-section {
  color: #102f4f;
  background:
    radial-gradient(circle at 90% 10%, rgba(0,102,204,.08), transparent 27%),
    linear-gradient(180deg, #dbeaf7 0%, #c9dfef 100%);
  border-top-color: #b8d0e2;
  border-bottom-color: #b8d0e2;
}

.standalone-follow-section .explore-heading .eyebrow {
  color: #0066cc;
}

.standalone-follow-section .explore-heading h2 {
  color: #0b3158;
}

.standalone-follow-section .explore-heading > p {
  color: #49677f;
}

.standalone-follow-section .resource-card,
.standalone-follow-section.follow-section .resource-card {
  border-color: #bdd0e0;
  background: #fff;
  box-shadow: 0 12px 26px rgba(16,47,79,.08);
}

.standalone-follow-section .resource-card:nth-child(even) {
  background: #f5faff;
}

.standalone-follow-section .resource-icon {
  background: #0066cc;
}

.standalone-follow-section .resource-card:nth-child(2) .resource-icon,
.standalone-follow-section .resource-card:nth-child(4) .resource-icon {
  background: #2d6f9b;
}

.standalone-follow-section .resource-card:nth-child(3) .resource-icon {
  background: #d89a2b;
}

.standalone-follow-section .resource-card:nth-child(5) .resource-icon {
  background: #174d75;
}

.standalone-follow-section .resource-card h3 {
  color: #0b3158;
}

.standalone-follow-section .resource-card p {
  color: #526b82;
}

.standalone-follow-section .resource-status,
.standalone-follow-section .resource-button {
  color: #004f9f;
}

input,
select,
textarea {
  color: #102f4f;
  background: #fff;
  border-color: #c4d2de;
}

input:focus,
select:focus,
textarea:focus {
  outline-color: #0066cc;
  border-color: #0066cc;
}

dialog {
  color: #102f4f;
  background: #f7faff;
}

footer {
  color: rgba(255,255,255,.76);
  background: #0b2540;
}

/* 2026-10-08: replace weak pale blue with stronger steel blue-gray family */
:root {
  --paper: #f6f8fa;
  --paper-deep: #d6e0e8;
  --line: #c5d0d9;
}

/* Project Activity */
.activity {
  background: #d6e0e8;
  border-top-color: #bcc9d3;
  border-bottom-color: #bcc9d3;
}

.activity > div {
  border-right-color: #bcc9d3;
}

.activity-stat,
.activity-stat:nth-child(3),
.activity-stat:nth-child(4),
.activity-stat:nth-child(5) {
  background: #f7f9fb;
}

.activity-stat:nth-child(3) {
  background: #e7edf2;
}

.activity-stat:nth-child(4) {
  background: #dce5ec;
}

.activity-stat:nth-child(5) {
  background: #e2e8ed;
}

/* Community surfaces */
.community-section {
  background:
    radial-gradient(circle at 92% 4%, rgba(0,102,204,.07), transparent 23%),
    linear-gradient(180deg, #f7f9fa 0%, #e4eaef 100%);
  border-bottom-color: #c8d2da;
}

.activity-summary-card {
  border-color: #b8c9d5;
  background: linear-gradient(145deg, #dce5eb 0%, #f5f7f9 100%);
}

.record-summary-card {
  border-color: #c3ced6;
  background: linear-gradient(145deg, #e3e8ec 0%, #f7f9fa 100%);
}

#discoveries.community-rail-card {
  border-color: #bdcad4;
  border-top-color: #0066cc;
  background: linear-gradient(180deg, #f7f9fa 0%, #e0e7ec 100%);
}

/* Idea / Join */
.join-project {
  background:
    radial-gradient(circle at 86% 16%, rgba(0,102,204,.09), transparent 31%),
    linear-gradient(145deg, #f8fafb 0%, #dce5ec 100%);
  border-color: #b9c9d5;
}

/* Stay Connected */
.standalone-follow-section {
  background:
    radial-gradient(circle at 90% 10%, rgba(0,102,204,.09), transparent 27%),
    linear-gradient(180deg, #d6e0e8 0%, #c5d1da 100%);
  border-top-color: #b5c3ce;
  border-bottom-color: #b5c3ce;
}

.standalone-follow-section .resource-card,
.standalone-follow-section.follow-section .resource-card {
  border-color: #becbd5;
  background: #fff;
}

.standalone-follow-section .resource-card:nth-child(even) {
  background: #f3f6f8;
}

/* Dialog and secondary surfaces */
dialog {
  background: #f5f7f9;
}

/* -------------------------
   ADMIN
------------------------- */

.admin-page {
  min-height: 100vh;
  background: #eef3f7;
}

.admin-header {
  gap: 16px;
}

.admin-header > span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.admin-header #adminSignOutButton {
  margin-left: auto;
}

.admin-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.admin-intro {
  margin-bottom: 28px;
}

.admin-intro h1 {
  margin: 4px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 400;
}

.admin-intro > p:last-child {
  max-width: 680px;
  color: var(--muted);
}

.admin-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-panel h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.admin-panel form {
  display: grid;
  gap: 16px;
}

.admin-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
}

.admin-panel input,
.admin-panel select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c7d3de;
  border-radius: 8px;
  font: inherit;
}

.admin-mfa-setup {
  margin: 18px 0;
  display: flex;
  align-items: center;
  gap: 22px;
}

.admin-mfa-setup img {
  width: 190px;
  height: 190px;
  border: 10px solid #fff;
  background: #fff;
}

.admin-mfa-setup code {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

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

.admin-toolbar h2 {
  margin-bottom: 0;
}

.admin-filters {
  display: flex;
  align-items: end;
  gap: 12px;
}

.admin-content-list {
  display: grid;
  gap: 12px;
}

.admin-content-item {
  padding: 18px;
  border: 1px solid #d3dce5;
  border-radius: 10px;
  background: #f9fbfd;
}

.admin-content-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: .82rem;
}

.admin-content-meta strong {
  color: var(--accent-dark);
}

.admin-content-item > p {
  margin: 12px 0 16px;
  font-size: 1rem;
  line-height: 1.5;
}

.admin-content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-content-actions .primary-button,
.admin-content-actions .secondary-button {
  padding: 10px 14px;
}

@media (max-width: 760px) {
  .admin-toolbar,
  .admin-filters,
  .admin-mfa-setup {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-content-meta {
    flex-direction: column;
    gap: 4px;
  }
}

.community-data-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.45;
}

/* 2026-10-08: admin MFA usability correction */
.admin-mfa-manual {
  display: grid;
  gap: 6px;
  max-width: 430px;
}

.admin-mfa-manual > span {
  color: var(--muted);
  font-size: .86rem;
}

.admin-mfa-manual code {
  margin: 8px 0 4px;
  padding: 8px 10px;
  border: 1px solid #cad6e0;
  border-radius: 7px;
  background: #f5f8fa;
  font-size: .82rem;
  letter-spacing: .035em;
}

.admin-mfa-helper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.admin-mfa-helper-actions .secondary-button,
.admin-mfa-helper-actions a.secondary-button {
  width: auto;
  min-height: 36px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .82rem;
}

#adminMfaPanel .admin-mfa-form {
  width: min(100%, 360px);
  gap: 12px;
  margin-top: 22px;
}

#adminMfaPanel .admin-mfa-form label {
  width: 180px;
}

#adminMfaPanel #adminMfaCode {
  width: 180px;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 1rem;
  letter-spacing: .18em;
}

#adminMfaPanel .admin-mfa-form .primary-button {
  width: auto;
  min-height: 40px;
  justify-self: start;
  padding: 9px 16px;
}

@media (max-width: 760px) {
  #adminMfaPanel .admin-mfa-form,
  #adminMfaPanel .admin-mfa-form label,
  #adminMfaPanel #adminMfaCode {
    width: 100%;
  }

  #adminMfaPanel .admin-mfa-form .primary-button {
    width: auto;
  }
}

/* -------------------------
   ACCOUNT / LEGAL
------------------------- */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.record-account-tools {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.record-account-tools h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.record-account-tools p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.record-account-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.record-account-actions button,
.delete-account-dialog .dialog-actions button {
  width: auto;
}

.danger-button {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #a83d35;
  border-radius: 8px;
  background: #fff;
  color: #8b2f29;
  font: inherit;
  font-weight: 800;
}

.danger-button:hover:not(:disabled) {
  background: #fff0ee;
}

.danger-button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.delete-account-dialog {
  width: min(560px, calc(100% - 32px));
}

.delete-confirmation-label {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  max-width: 240px;
  font-size: .9rem;
  font-weight: 800;
}

.delete-confirmation-label input {
  width: 220px;
  min-height: 42px;
}

.legal-header {
  justify-content: space-between;
}

.legal-page {
  min-height: calc(100vh - 150px);
  padding: 72px 8vw 96px;
  background: var(--paper);
}

.legal-content {
  width: min(820px, 100%);
  margin: 0 auto;
}

.legal-content h1 {
  margin: 6px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
}

.legal-effective {
  margin: 0 0 38px;
  color: var(--muted);
  font-size: .9rem;
}

.legal-content section {
  margin-top: 34px;
}

.legal-content h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.legal-content p,
.legal-content li {
  color: #36556f;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--accent-dark);
}

@media (max-width: 600px) {
  .record-account-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .record-account-actions button {
    width: auto;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* -------------------------
   ADMIN PARTICIPANTS
------------------------- */

.admin-dashboard-tabs {
  display: flex;
  gap: 8px;
  margin: -6px 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-tab-button {
  width: auto;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #c4d2de;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
}

.admin-tab-button:hover,
.admin-tab-button.is-active,
.admin-tab-button[aria-selected="true"] {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: #eef6fd;
}

.admin-toolbar-copy {
  max-width: 650px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.admin-participant-summary {
  width: min(260px, 100%);
  margin: 0 0 22px;
  padding: 18px 20px;
  display: grid;
  gap: 2px;
  border: 1px solid #c4d2de;
  border-radius: 10px;
  background: #f4f8fb;
}

.admin-participant-summary strong {
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.admin-participant-summary span {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-participants-list {
  display: grid;
  gap: 12px;
}

.admin-participant-item {
  padding: 18px;
  border: 1px solid #d3dce5;
  border-radius: 10px;
  background: #f9fbfd;
}

.admin-participant-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-participant-heading > strong {
  color: var(--accent-dark);
  font-size: 1rem;
}

.admin-participant-badges {
  display: flex;
  gap: 6px;
}

.admin-participant-badge {
  padding: 3px 7px;
  border: 1px solid #9fb7ca;
  border-radius: 999px;
  color: #315c7e;
  background: #edf5fb;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.admin-participant-email {
  margin-top: 8px;
  color: var(--ink);
  font-size: .92rem;
}

.admin-participant-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  color: var(--muted);
  font-size: .8rem;
}

@media (max-width: 760px) {
  .admin-dashboard-tabs {
    align-items: stretch;
  }

  .admin-participant-heading,
  .admin-participant-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* -------------------------
   AUTH EMAIL SENT STATE
------------------------- */

.auth-email-sent {
  margin-top: 4px;
  padding: 30px;
  border: 2px solid var(--accent);
  border-radius: 16px;
  background: #0b2540;
  color: #fff;
  box-shadow: 0 18px 44px rgba(11, 37, 64, .24);
}

.auth-email-sent .eyebrow {
  margin-top: 18px;
  color: #8ec8ff;
}

.auth-email-sent h2 {
  margin: 5px 0 14px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.auth-email-sent-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0, 102, 204, .35);
}

.auth-email-sent-intro {
  margin: 0;
  color: #dceafa;
  line-height: 1.55;
}

.auth-email-sent-address {
  margin-top: 10px;
  padding: 12px 14px;
  display: block;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1rem;
}

.auth-email-next-step {
  margin-top: 20px;
  padding: 16px;
  display: grid;
  gap: 5px;
  border-left: 4px solid #8ec8ff;
  background: rgba(255, 255, 255, .08);
}

.auth-email-next-step strong {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-email-next-step span {
  color: #fff;
  line-height: 1.5;
}

.auth-email-sent-help {
  margin: 16px 0 0;
  color: #c4d8ea;
  font-size: .86rem;
  line-height: 1.5;
}

.auth-email-sent-actions {
  margin-top: 22px;
  align-items: center;
}

.auth-email-sent-actions .secondary-button {
  border-color: rgba(255, 255, 255, .48);
  color: #fff;
  background: transparent;
}

.auth-email-sent-actions .secondary-button:hover {
  background: rgba(255, 255, 255, .09);
}

.auth-email-sent-actions .primary-button {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: none;
}

@media (max-width: 600px) {
  .auth-email-sent {
    padding: 24px 20px;
  }

  .auth-email-sent-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .auth-email-sent-actions button {
    width: 100%;
  }
}

/* -------------------------
   INLINE AUTH VALIDATION
------------------------- */

.field-message {
  margin-top: 7px;
  display: block;
  color: #a12e2e;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.4;
}

input.field-error {
  border-color: #b53a32;
  outline: 2px solid rgba(181, 58, 50, .12);
  outline-offset: 1px;
}

/* -------------------------
   2026-10-13 HERO-INTEGRATED PROJECT ACTIVITY
------------------------- */

.hero {
  min-height: 760px;
}

.hero-shell {
  min-height: 760px;
  padding-top: 72px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 56px;
}

.hero-content {
  width: min(1060px, 100%);
}

#participateButton {
  border-color: rgba(255,255,255,.42);
  background: #0b1118;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

#participateButton:hover {
  border-color: rgba(255,255,255,.7);
  background: #000;
  color: #fff;
}

.hero-activity {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(4, minmax(128px, .72fr));
  gap: 12px;
  align-items: stretch;
}

.hero-activity-intro {
  padding: 14px 24px 14px 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.hero-activity-intro strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}

.hero-activity-intro span {
  max-width: 360px;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  line-height: 1.5;
}

.hero-activity-stat {
  min-height: 112px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
}

.hero-activity-stat strong {
  color: #0b3158;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}

.hero-activity-stat span {
  margin-top: 9px;
  color: #5a7184;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-activity-day strong {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.05;
}

/* The community now opens as the invitation into the experiment. */
.community-invitation h2 {
  max-width: 860px;
}

.community-invitation > p {
  max-width: 610px;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 0;
  }

  .hero-shell {
    min-height: 0;
    padding-top: 64px;
    padding-bottom: 36px;
    gap: 48px;
  }

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

  .hero-activity-intro {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .hero-activity-intro span {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .hero-shell {
    padding-top: 54px;
    padding-bottom: 28px;
    gap: 38px;
  }

  .hero-activity {
    gap: 10px;
  }

  .hero-activity-stat {
    min-height: 102px;
    padding: 14px 10px;
  }

  .hero-activity-stat strong {
    font-size: 2rem;
  }

  .hero-activity-day strong {
    font-size: 1.25rem;
  }

  .hero-activity-stat span {
    font-size: .6rem;
  }
}

/* -------------------------
   2026-10-15 CREATIVE / CLARITY PASS
------------------------- */

/* Restore the main participation CTA to the established Project Meaningful blue. */
#participateButton {
  border-color: #0066cc;
  background: #0066cc;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,102,204,.28);
}

#participateButton:hover {
  border-color: #004f9f;
  background: #004f9f;
  color: #fff;
}

/* Give the integrated statistics slightly more presence without turning them into display objects. */
.hero-activity-stat {
  min-height: 120px;
}

.hero-activity-stat strong {
  font-size: clamp(2.35rem, 3.5vw, 3.15rem);
}

.hero-activity-day strong {
  font-size: clamp(1.55rem, 2.35vw, 2.15rem);
}

/* Make the Actions area immediately legible as browse + find + contribute. */
.actions-intro-copy {
  max-width: 760px;
  margin-bottom: 14px;
}

.actions-guide {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #d3dee7;
  border-radius: 11px;
  overflow: hidden;
  background: #f4f8fb;
}

.actions-guide span {
  min-height: 58px;
  padding: 12px 14px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: #587087;
  font-size: .78rem;
  line-height: 1.35;
}

.actions-guide span + span {
  border-left: 1px solid #d3dee7;
}

.actions-guide strong {
  margin-bottom: 2px;
  color: #0b3158;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#actions .feed-controls {
  align-items: end;
}

#actions .stream-action-button {
  white-space: nowrap;
}

/* The right rail is now personal-first; Project Activity already lives in the hero. */
.record-home-card {
  padding: 28px;
  border-color: #b8cbd8;
  background:
    radial-gradient(circle at 92% 12%, rgba(0,102,204,.08), transparent 28%),
    linear-gradient(145deg, #eef4f8 0%, #f9fbfc 100%);
}

.record-home-card .rail-symbol-record {
  background: #0066cc;
}

.record-home-card .rail-copy {
  max-width: 460px;
  margin-bottom: 18px;
}

.record-benefits {
  display: grid;
  gap: 7px;
  margin: 0 0 22px;
}

.record-benefits li {
  position: relative;
  padding-left: 18px;
  color: #49677f;
  font-size: .83rem;
  line-height: 1.45;
}

.record-benefits li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: #0066cc;
  font-weight: 800;
}

.record-home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.record-home-actions .secondary-button {
  border-radius: 9px;
  border-color: #9db4c6;
  color: #0b3158;
  background: rgba(255,255,255,.72);
}

.record-home-actions .secondary-button:hover {
  border-color: #0066cc;
  color: #004f9f;
  background: #fff;
}

.record-discovery-button {
  margin-top: 0;
  color: #0066cc;
  font-weight: 800;
  text-underline-offset: 3px;
}

/* With the redundant activity card removed, give Discoveries the remaining rail space. */
.community-right-rail {
  gap: 18px;
}

#discoveries.community-rail-card {
  min-height: 0;
  flex: 1 1 auto;
}

/* Give deep scrollers one more clear invitation instead of ending on a passive resource grid. */
.follow-join-cta {
  width: min(1120px, 100%);
  margin: 42px auto 0;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid #b8cbd8;
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 20%, rgba(0,102,204,.08), transparent 27%),
    rgba(255,255,255,.82);
  box-shadow: 0 12px 26px rgba(16,47,79,.08);
}

.follow-join-cta .eyebrow {
  margin-bottom: 7px;
  color: #0066cc;
}

.follow-join-cta h3 {
  margin: 0;
  color: #0b3158;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.08;
}

.follow-join-cta p:last-child {
  max-width: 680px;
  margin: 10px 0 0;
  color: #526b82;
}

.follow-join-cta .primary-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero-activity-stat strong {
    font-size: 2.25rem;
  }

  .hero-activity-day strong {
    font-size: 1.45rem;
  }

  .actions-guide {
    grid-template-columns: 1fr;
  }

  .actions-guide span + span {
    border-top: 1px solid #d3dee7;
    border-left: 0;
  }

  .record-home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .record-home-actions button {
    width: 100%;
  }

  .record-discovery-button {
    padding: 10px 0;
    text-align: left;
  }

  .follow-join-cta {
    margin-top: 30px;
    padding: 24px 20px;
    align-items: stretch;
    flex-direction: column;
  }

  .follow-join-cta .primary-button {
    width: 100%;
    white-space: normal;
  }
}

/* Balance Follow The Meaningful Project as a complete six-card grid. */
.standalone-follow-section .resource-grid,
.standalone-follow-section.follow-section .resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.standalone-follow-section .resource-card-join {
  border-color: #9fc0dc;
  background:
    radial-gradient(circle at 86% 14%, rgba(0,102,204,.12), transparent 30%),
    linear-gradient(145deg, #eef6fc 0%, #dfeef9 100%);
}

.standalone-follow-section .resource-card-join .resource-icon-join {
  background: #0066cc;
}

.resource-join-kicker {
  margin: 22px 0 0 !important;
  color: #0066cc !important;
  font-size: .72rem !important;
  font-weight: 800;
  letter-spacing: .12em;
}

.standalone-follow-section .resource-card-join h3 {
  margin-top: 8px;
}

.resource-join-button {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 1200px) {
  .standalone-follow-section .resource-grid,
  .standalone-follow-section.follow-section .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .standalone-follow-section .resource-grid,
  .standalone-follow-section.follow-section .resource-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------
   2026-10-15 RESOURCES / EDITORIAL PAGES / CONTACT
------------------------- */

/* Keep the personal rail and Discoveries visually aligned with Meaningful Actions. */
@media (min-width: 1101px) {
  .public-streams {
    align-items: stretch;
  }

  #actions.stream-panel,
  .community-right-rail {
    min-height: 900px;
    height: 100%;
  }

  .community-right-rail {
    display: flex;
    flex-direction: column;
  }

  #discoveries.community-rail-card {
    flex: 1 1 auto;
    min-height: 0;
  }

  #discoveriesFeed {
    min-height: 470px;
    flex: 1 1 auto;
  }
}

/* The Follow section now has a direct participation CTA in its heading. */
.follow-heading-join {
  margin-top: 18px;
  justify-self: start;
}

.resource-card-vision {
  border-color: #b6c9d8 !important;
  background:
    radial-gradient(circle at 84% 14%, rgba(0,102,204,.09), transparent 30%),
    linear-gradient(145deg, #f2f7fb 0%, #e5edf3 100%) !important;
}

.resource-card-vision .resource-icon-vision {
  background: #0b3158 !important;
}

.resource-card a.resource-button {
  margin-top: auto;
  display: inline-flex;
  align-self: flex-start;
  text-decoration: none;
}

/* ---------- Editorial pages ---------- */

.editorial-page {
  color: #102f4f;
  background: #f6f8fa;
}

.editorial-page main {
  overflow: hidden;
}

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

.page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.book-hero,
.vision-hero {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 7vw;
  align-items: center;
}

.book-hero h1,
.vision-hero h1,
.editorial-section h2,
.vision-system-heading h2,
.vision-return h2,
.page-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

.book-hero h1,
.vision-hero h1 {
  margin: 0;
  color: #0b3158;
  font-size: clamp(4rem, 7.5vw, 7rem);
  line-height: .94;
}

.book-subtitle {
  margin: 12px 0 26px;
  color: #2e6d9d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.book-lede,
.vision-hero-copy > p:last-of-type {
  max-width: 720px;
  color: #536b80;
  font-size: 1.12rem;
  line-height: 1.75;
}

.book-stage {
  min-height: 610px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.book-mockup {
  position: relative;
  width: min(320px, 70vw);
  transform: rotateY(-13deg) rotateX(2deg);
  transform-style: preserve-3d;
  filter: drop-shadow(28px 34px 28px rgba(11,37,64,.25));
}

.book-mockup::after {
  content: "";
  position: absolute;
  inset: 8px -17px 8px auto;
  width: 20px;
  background: linear-gradient(90deg, #cfd6da, #fff 48%, #bbc3c8);
  transform: translateZ(-6px);
  border-radius: 0 4px 4px 0;
}

.book-mockup img {
  width: 100%;
  display: block;
  border-radius: 2px 5px 5px 2px;
  box-shadow: inset -1px 0 0 rgba(0,0,0,.12);
}

.book-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18px;
  width: 19px;
  background: linear-gradient(90deg, #0c5ea8 0%, #0a78d8 54%, #0b4c89 100%);
  transform: rotateY(90deg);
  transform-origin: right center;
}

.editorial-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 7vw;
  border-top: 1px solid #cbd6df;
}

.editorial-section h2,
.vision-system-heading h2,
.vision-return h2,
.page-cta h2 {
  margin: 0;
  color: #0b3158;
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
  line-height: 1.02;
}

.editorial-copy {
  color: #465f73;
  font-size: 1.07rem;
  line-height: 1.8;
}

.editorial-copy p:first-child {
  margin-top: 0;
}

.book-dual,
.vision-core-grid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.book-dual article,
.vision-core-grid article {
  padding: 34px;
  border: 1px solid #c7d5df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16,47,79,.07);
}

.section-number {
  margin: 0 0 28px;
  color: #0066cc;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.book-dual h3,
.vision-core-grid h3,
.vision-system-grid h3 {
  margin: 0 0 12px;
  color: #0b3158;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.book-dual p:last-child,
.vision-core-grid p:last-child,
.vision-system-grid p {
  color: #526b82;
  line-height: 1.7;
}

.book-practice {
  background:
    radial-gradient(circle at 92% 8%, rgba(0,102,204,.07), transparent 25%);
}

.practice-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.practice-steps li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  border-bottom: 1px solid #d3dde5;
}

.practice-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0066cc;
  font-weight: 800;
}

.practice-steps strong {
  color: #0b3158;
  font-size: 1.05rem;
}

.practice-steps p {
  margin: 5px 0 0;
  color: #5a7184;
}

.book-ownership {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 94px;
  text-align: center;
}

.book-ownership blockquote {
  margin: 20px 0 26px;
  color: #0b3158;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
}

.book-ownership > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: #526b82;
  line-height: 1.75;
}

.vision-hero {
  min-height: 620px;
}

.vision-principle {
  padding: 36px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(0,102,204,.38), transparent 32%),
    linear-gradient(145deg, #0b2540 0%, #0b3158 100%);
  box-shadow: 0 22px 48px rgba(11,37,64,.2);
}

.vision-principle .eyebrow {
  color: #8ec8ff;
}

.vision-principle strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
}

.vision-system {
  padding: 88px 5vw 96px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(0,102,204,.28), transparent 28%),
    linear-gradient(145deg, #0b2540 0%, #123e62 100%);
}

.vision-system-heading {
  width: min(1180px, 100%);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 6vw;
}

.vision-system-heading h2 {
  color: #fff;
}

.vision-system-heading > p:last-child {
  margin: 0;
  align-self: end;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.vision-system-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vision-system-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
}

.vision-system-grid article > span {
  color: #8ec8ff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.vision-system-grid h3 {
  margin-top: 30px;
  color: #fff;
}

.vision-system-grid p {
  color: rgba(255,255,255,.72);
}

.vision-return {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 7vw;
  align-items: center;
}

.vision-return > p {
  color: #526b82;
  font-size: 1.15rem;
  line-height: 1.8;
}

.page-cta {
  padding: 72px max(5vw, calc((100vw - 1180px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  color: #102f4f;
  background: #d6e0e8;
  border-top: 1px solid #bfccd6;
}

.page-cta > div:first-child {
  max-width: 720px;
}

.page-cta p:last-child {
  color: #526b82;
  line-height: 1.65;
}

/* ---------- Contact ---------- */

.contact-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 96px;
}

.contact-intro {
  max-width: 780px;
  margin-bottom: 50px;
}

.contact-intro h1 {
  margin: 0;
  color: #0b3158;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.04em;
}

.contact-intro > p:last-child {
  margin-top: 24px;
  color: #526b82;
  font-size: 1.12rem;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(420px, 1.28fr);
  gap: 50px;
  align-items: start;
}

.contact-context {
  padding: 30px;
  border: 1px solid #c8d6e0;
  border-radius: 16px;
  background: #eef4f8;
}

.contact-context h2 {
  margin: 0 0 14px;
  color: #0b3158;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.contact-context > p:last-of-type {
  color: #526b82;
  line-height: 1.7;
}

.contact-links {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.contact-links a {
  color: #0066cc;
  font-weight: 800;
  text-decoration: none;
}

.contact-form-card {
  padding: 34px;
  border: 1px solid #c4d2de;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(16,47,79,.09);
}

.contact-form-card form {
  display: grid;
  gap: 18px;
}

.contact-form-card label {
  display: grid;
  gap: 8px;
  color: #0b3158;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form-card textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-form-card .character-count {
  justify-self: end;
  color: #75899a;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.contact-success {
  padding: 32px;
  border-radius: 12px;
  background: #0b2540;
  color: #fff;
}

.contact-success h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
}

.contact-success p {
  color: #e1ebf3;
  line-height: 1.7;
}

.contact-success .page-button {
  border-radius: 9px;
  border-color: #fff;
  background: #fff;
  color: #0b2540;
}

.contact-verification-note,
.contact-progress {
  margin: 0;
  color: #465f73;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-progress {
  font-weight: 700;
}

.contact-feedback {
  padding: 22px;
  border: 2px solid #ad2735;
  border-left-width: 6px;
  border-radius: 10px;
  background: #fff0f1;
  color: #721b27;
  scroll-margin: 24px;
}

.contact-feedback h2 {
  margin: 0 0 10px;
  color: #721b27;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.contact-feedback p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-feedback a {
  display: inline-block;
  margin-top: 16px;
  color: #721b27;
  font-size: 1rem;
  font-weight: 800;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.contact-feedback:focus,
.contact-success:focus {
  outline: 3px solid #0066cc;
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .book-hero,
  .vision-hero,
  .editorial-section,
  .vision-system-heading,
  .vision-return,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .book-stage {
    min-height: 520px;
  }

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

  .contact-layout {
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .book-hero,
  .vision-hero,
  .editorial-section,
  .book-dual,
  .vision-core-grid,
  .vision-return,
  .contact-page {
    width: calc(100% - 28px);
  }

  .book-hero,
  .vision-hero {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .book-dual,
  .vision-core-grid,
  .vision-system-grid {
    grid-template-columns: 1fr;
  }

  .book-stage {
    min-height: 470px;
  }

  .book-mockup {
    width: min(270px, 72vw);
  }

  .vision-system {
    padding: 66px 6vw 72px;
  }

  .page-cta {
    padding: 52px 6vw;
    align-items: stretch;
    flex-direction: column;
  }

  .page-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-actions .page-button {
    width: 100%;
  }

  .contact-page {
    padding-top: 58px;
  }

  .contact-form-card,
  .contact-context {
    padding: 24px 20px;
  }
}

/* -------------------------
   2026-10-15 FINAL PUBLIC PASS
------------------------- */

/* Community balance: give Discoveries more room without sacrificing the Action feed. */
@media (min-width: 1101px) {
  .public-streams {
    grid-template-columns: minmax(0, 1.75fr) minmax(360px, 1fr);
    gap: 28px;
  }
}

/* Explain the Actions workspace at a readable, useful scale. */
.actions-guide {
  margin-bottom: 20px;
  border-color: #bfcfdb;
  background: #edf4f8;
}

.actions-guide span {
  min-height: 78px;
  padding: 14px 16px;
  color: #465f73;
  font-size: .95rem;
  line-height: 1.42;
}

.actions-guide strong {
  margin-bottom: 5px;
  color: #0b3158;
  font-size: .9rem;
  letter-spacing: .055em;
}

.actions-guide span + span {
  border-color: #c6d4de;
}

/* Let Discoveries visibly occupy its available rail space. */
@media (min-width: 1101px) {
  #actions.stream-panel,
  .community-right-rail {
    min-height: 920px;
  }

  #discoveries.community-rail-card {
    flex: 1 1 auto;
  }

  #discoveriesFeed {
    min-height: 500px;
    height: auto;
    flex: 1 1 auto;
  }
}

/* Book page: editorial reading page using only the supplied book copy. */
.book-page {
  background: #f6f8fa;
}

.book-hero-final {
  min-height: 680px;
  padding-top: 70px;
  padding-bottom: 78px;
}

.book-author {
  margin: 0 0 28px;
  color: #0066cc;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.book-hero-final .book-lede {
  margin: 0 0 14px;
}

.book-lede-emphasis {
  color: #0b3158 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem !important;
}

.book-mockup-final {
  width: min(350px, 74vw);
}

.book-cover-object {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 2 / 3;
  display: block;
  overflow: hidden;
  border-radius: 2px 5px 5px 2px;
  background: #fff;
}

.book-cover-object img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover-fallback {
  width: 100%;
  height: 100%;
  padding: 34px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background:
    linear-gradient(165deg, transparent 0 23%, #0066cc 23.2% 28%, transparent 28.2% 68%, #4c9e2a 68.2% 76%, transparent 76.2%),
    #fff;
}

.book-cover-fallback span,
.book-cover-fallback small {
  color: #4d97df;
  font-size: .78rem;
}

.book-cover-fallback strong {
  margin-top: auto;
  color: #0066cc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  letter-spacing: .06em;
}

.book-cover-fallback em {
  margin-top: 7px;
  color: #4c9e2a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .92rem;
  font-style: normal;
}

.book-cover-fallback small {
  margin-top: auto;
}

.book-article {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.book-text-section {
  padding: 72px 0;
  border-top: 1px solid #cbd6df;
}

.book-text-section h2 {
  margin: 0 0 24px;
  color: #0b3158;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.03em;
}

.book-text-section > p,
.book-text-section li {
  color: #465f73;
  font-size: 1.08rem;
  line-height: 1.8;
}

.book-cost-list {
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.book-cost-list li {
  position: relative;
  padding: 14px 18px 14px 46px;
  border: 1px solid #cbd8e1;
  border-radius: 10px;
  background: #fff;
}

.book-cost-list li::before {
  content: "•";
  position: absolute;
  left: 20px;
  top: 13px;
  color: #0066cc;
  font-weight: 900;
}

.book-source-steps {
  max-width: 760px;
  margin: 24px 0 30px;
}

.book-source-steps li {
  padding: 16px 0;
}

.book-point-section {
  padding-bottom: 96px;
}

.book-point-lead {
  color: #0b3158 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem) !important;
  line-height: 1.3 !important;
}

.book-final-line {
  margin-top: 34px;
  color: #0b3158 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem !important;
}

/* Contact should remain usable even if transactional delivery is unavailable. */
.contact-direct-fallback {
  margin: 12px 0 0;
  color: #60788d;
  font-size: .88rem;
  line-height: 1.5;
}

.contact-direct-fallback a {
  color: #0066cc;
  font-weight: 800;
}

@media (max-width: 1100px) {
  #discoveriesFeed {
    height: 380px;
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .actions-guide span {
    min-height: 68px;
    font-size: .92rem;
  }

  .book-article {
    width: calc(100% - 28px);
  }

  .book-text-section {
    padding: 54px 0;
  }

  #discoveriesFeed {
    height: 340px;
    min-height: 340px;
  }
}


/* Shared public hierarchy: navigation, introduction, participation, editorial pages. */
:root {
  --display-size: clamp(2.6rem, 4.7vw, 4.5rem);
  --section-title-size: clamp(2rem, 3.1vw, 2.75rem);
}
.site-header { flex-direction: row; align-items: center; gap: 24px; }
.site-header nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 18px; overflow: visible; max-width: none; padding: 0; }
.site-header nav > * { flex-shrink: 0; }
.site-header nav a, .site-header .nav-button, .nav-explore summary { font-size: .9rem; }
.site-header nav a[aria-current="page"] { color: #0066cc; text-decoration: underline; text-underline-offset: 7px; }
.nav-menu-toggle { display: none; padding: 10px 14px; border: 1px solid #b8cbd8; border-radius: 8px; color: #0b3158; background: #fff; font-weight: 700; }
.nav-menu-toggle span { margin-left: 10px; }
.nav-feedback { position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 14px 5vw; color: #721b27; background: #fff2f2; border-bottom: 1px solid #d5a2a7; font-size: 1rem; }
.nav-explore { position: relative; }
.nav-explore summary { padding: 10px 0; color: #36556f; cursor: pointer; list-style: none; }
.nav-explore summary::-webkit-details-marker { display: none; }
.nav-explore summary::after { content: "⌄"; margin-left: 7px; }
.nav-explore-links { position: absolute; right: 0; top: calc(100% + 12px); z-index: 30; width: 260px; padding: 8px; border: 1px solid #c7d5df; border-radius: 12px; background: #fff; box-shadow: 0 16px 32px #0b254026; }
.site-header .nav-explore-links a { display: block; padding: 11px 14px; border-radius: 6px; line-height: 1.4; }
.site-header .nav-explore-links a:hover, .site-header .nav-explore-links a:focus-visible { background: #edf4fa; }
.site-header :is(a, button, summary):focus-visible { outline: 3px solid #0066cc; outline-offset: 4px; }

.hero, .hero-shell { min-height: 0; }
.hero-shell { gap: 24px; padding-top: 64px; padding-bottom: 30px; }
.hero-opening { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 76px); align-items: center; padding-bottom: 32px; }
.hero-content { width: auto; }
.hero-content h1 { max-width: 860px; font-size: var(--display-size); line-height: 1.08; }
.hero-copy { max-width: 650px; margin: 24px 0 28px; font-size: 1.08rem; line-height: 1.7; }
.hero-content .hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-content .hero-actions .primary-button { max-width: 100%; white-space: normal; text-align: center; }
.hero-premise { padding: 24px 0 24px 32px; border-left: 3px solid #d89a2b; }
.hero-premise .eyebrow { color: #f1c77c; margin: 0 0 16px; font-size: .75rem; line-height: 1.6; }
.hero-premise h2 { margin: 0 0 22px; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 2.5vw, 2.5rem); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.hero-premise .hero-premise-copy { color: #d8e5f0; font-size: 1.05rem; line-height: 1.7; margin: 0; }
.hero-activity { border-top: 1px solid #ffffff42; padding-top: 26px; grid-template-columns: minmax(250px, 1.25fr) repeat(4, minmax(0, 1fr)); gap: 16px; }
.hero-activity-intro { padding: 8px 18px 8px 0; }
.hero-activity-intro strong { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.3; }
.hero-activity-stat { min-width: 0; padding: 20px 12px; }
.hero-activity-stat span { font-size: .74rem; line-height: 1.4; letter-spacing: .045em; }
.hero-activity-launch strong { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; }
.project-stats-status { margin: 0; color: #d8e5f0; font-size: .95rem; line-height: 1.6; }

.community-section { padding-inline: clamp(20px, 4vw, 64px); }
.community-content { position: relative; z-index: 1; width: min(1280px, 100%); margin-inline: auto; }
.community-content > .community-heading.community-invitation { display: block; width: 100%; max-width: none; margin: 0 0 36px; }
.community-content > .public-streams { width: 100%; max-width: none; margin-inline: 0; }
.community-invitation > .eyebrow { margin: 0 0 16px; color: #0b3158; font-size: .8rem; letter-spacing: .16em; }
.community-invitation h2 { text-wrap: balance; max-width: 820px; font-size: var(--section-title-size); line-height: 1.15; letter-spacing: -.025em; }
.participation-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 30px 0 0; padding: 28px 0 0; border-top: 1px solid #b8cbd8; list-style: none; }
.participation-steps li { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.participation-step-number { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border: 1px solid #84a9c7; border-radius: 50%; background: #fff; color: #0066cc; font-weight: 800; }
.participation-steps h3 { margin: 0 0 8px; color: #0b3158; font-size: 1.16rem; line-height: 1.4; }
.participation-steps p { text-wrap: pretty; margin: 0; color: #36556f; font-size: 1.05rem; line-height: 1.65; }
.actions-guide { align-items: stretch; }
.actions-guide > span { justify-content: flex-start; font-size: 1rem; line-height: 1.5; padding: 16px; }
.actions-guide strong { font-size: .85rem; margin-bottom: 8px; }
.record-benefits { gap: 10px; padding: 0; list-style: none; }
.record-benefits li { font-size: 1rem; line-height: 1.55; padding-left: 20px; }
.record-home-card { padding: 24px; }
.record-home-card > .rail-kicker { margin: 0 0 10px; color: #0b3158; font-size: .75rem; line-height: 1.5; letter-spacing: .1em; }
.record-home-card .rail-heading { align-items: center; gap: 12px; }
.record-home-card .rail-heading h3 { font-size: clamp(1.8rem, 3.1vw, 2.75rem); line-height: 1.1; }
.record-home-card .rail-symbol-record { width: 34px; height: 34px; border-radius: 9px; }
.record-home-card .rail-copy, .stream-description { font-size: 1rem; line-height: 1.6; }
.record-home-card .rail-copy { margin: 18px 0; }
.record-home-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.record-home-actions .rail-record-button { width: 100%; margin: 0; }
.record-quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.record-quick-actions .secondary-button { width: 100%; min-height: 48px; padding: 12px 10px; font-size: .95rem; white-space: normal; }
.participation-reminder { display: block; padding-top: 48px; padding-bottom: 48px; }
.participation-reminder .join-project { max-width: 1180px; margin: 0 auto; }
.participation-reminder .join-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.book-cover-image { width: 100%; height: auto; object-fit: contain; aspect-ratio: 2 / 3; }
.book-stage { padding: 26px; overflow: visible; }

.page-actions .secondary-button { border-radius: 9px; }
.book-hero h1, .vision-hero h1, .contact-page h1, .archive-heading h1, .legal-content h1, .admin-intro h1 { font-size: var(--display-size); line-height: 1.08; }
.hero h1, .hero h2, .vision-page h1, .vision-page h2, .vision-page h3 { text-wrap: balance; }
.vision-hero { width: min(1280px, 88%); min-height: 0; padding: 72px 0; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); }
.vision-hero-copy h1 { max-width: 820px; }
.vision-hero-copy > p:last-of-type { margin: 24px 0 28px; color: #36556f; font-size: 1.15rem; line-height: 1.75; }
.vision-principle { padding: clamp(24px, 3vw, 40px); border-radius: 16px; }
.vision-principle .eyebrow { font-size: .75rem; line-height: 1.5; margin: 0 0 22px; }
.vision-principle > p:not(.eyebrow) { margin: 14px 0 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.4; white-space: nowrap; }
.vision-page .editorial-section, .vision-page .vision-core-grid, .vision-page .vision-return { width: min(1280px, 88%); }
.vision-page .editorial-section { padding: 64px 0; gap: clamp(32px, 6vw, 88px); align-items: start; }
.vision-page h2 { font-size: var(--section-title-size); line-height: 1.15; }
.vision-core-grid { margin-bottom: 64px; }
.vision-page .section-number { margin-bottom: 20px; }
.vision-page .vision-core-grid h3, .vision-system-grid h3 { font-size: 1.75rem; line-height: 1.25; }
.vision-system { padding: 64px 6vw 72px; }
.vision-system-heading { display: block; max-width: 1280px; margin-bottom: 32px; }
.vision-system-heading .eyebrow { color: #a4d0fa; font-size: .8rem; }
.vision-system-heading h2 { max-width: 760px; margin-bottom: 20px; }
.vision-system-heading > p:last-child { max-width: 760px; font-size: 1.1rem; color: #d7e6f3; }
.vision-system-grid { max-width: 1280px; }
.vision-system-grid article { min-height: 0; padding: 28px; }
.vision-system-grid h3 { margin-top: 24px; }
.vision-system-grid p { font-size: 1rem; color: #d7e6f3; }
.vision-return { padding: 64px 0; }
.vision-page .page-cta { padding: 60px max(6vw, calc((100vw - 1280px)/2)); }

@media (max-width: 1120px) {
  .site-header { min-height: 72px; padding-top: 10px; padding-bottom: 10px; }
  .site-header.navigation-ready .nav-menu-toggle { display: inline-flex; align-items: center; }
  .site-header.navigation-ready nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 5vw 24px; max-height: calc(100dvh - 72px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-bottom: 1px solid #c7d5df; box-shadow: 0 16px 24px #0b25401f; }
  .site-header.navigation-open nav { display: flex; }
  .site-header nav > a, .site-header nav > button, .nav-explore summary { display: flex; align-items: center; min-height: 44px; padding: 10px 0; text-align: left; }
  .nav-explore-links { position: static; width: 100%; padding: 4px 8px; margin: 4px 0 10px; border-radius: 8px; box-shadow: none; background: #f4f8fb; }
  .site-header:not(.navigation-ready) { flex-wrap: wrap; }
  .site-header:not(.navigation-ready) nav { width: 100%; flex-wrap: wrap; }
}
@media (max-width: 1100px) {
  .hero-opening { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 10px; }
  .hero-premise { padding: 4px 0 4px 24px; max-width: 760px; }
  .hero-premise h2 { margin-bottom: 12px; }
  .hero-activity { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-activity-intro { grid-column: 1 / -1; padding: 0 0 6px; }
  .hero-activity-intro strong { max-width: 700px; }
}
@media (max-width: 1000px) {
  .vision-hero { grid-template-columns: minmax(0, 1fr); }
  .vision-principle { max-width: 620px; }
  .vision-page .editorial-section { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --display-size: clamp(2.3rem, 8.5vw, 3.7rem); }
  .hero-shell { padding-top: 44px; gap: 22px; }
  .hero-premise { padding-left: 20px; }
  .hero-activity { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hero-activity-stat strong { font-size: 2.5rem; }
  .hero-activity-launch strong { font-size: 1.6rem; }
  .hero-activity-stat span { font-size: .72rem; }
  .hero-activity-launch time { display: block; max-width: 120px; }
  .participation-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .participation-steps p { font-size: 1rem; }
  .actions-guide > span { padding: 16px; min-height: 0; }
  .participation-reminder .join-benefits { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .record-home-card { padding: 24px; }
  .vision-hero { padding: 44px 0; }
  .vision-page .editorial-section, .vision-return { padding: 44px 0; }
}

/* Protected admin overview: distinguish registered people from launch examples. */
.admin-project-overview { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #b9c9d5; }
.admin-overview-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 24px 0 18px; }
.admin-overview-stats > div { padding: 20px; border: 1px solid #b9c9d5; border-radius: 12px; background: #f4f8fb; }
.admin-overview-stats strong { display: block; font-size: 2rem; color: #102f4f; line-height: 1.2; }
.admin-overview-stats span { display: block; margin-top: 8px; font-size: 1rem; color: #465f73; line-height: 1.4; }
#adminOverviewNote { font-size: 1rem; line-height: 1.6; }
@media(max-width:760px) { .admin-overview-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:400px) { .admin-overview-stats { grid-template-columns: minmax(0,1fr); } }
