/* ==========================================================================
   Founders Pavilion — shared stylesheet
   Used by every page on the site (homepage, issues, future workshop tools).
   Keep all colors/fonts/layout rules here — never re-declare them per page.
   ========================================================================== */

:root {
  --obsidian: #111111;
  --ivory: #F8F7F4;
  --stone: #D7D4CC;
  --forest: #234A3B;
  --gold: #C8A14A;
  --text-muted: #6b6b6b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--obsidian);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

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

/* ---------- Header ---------- */
header {
  border-bottom: 1px solid var(--stone);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.seal {
  width: 38px;
  height: 38px;
  border: 1px solid var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.wordmark {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav a {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--forest);
  margin-left: 32px;
}

nav a:first-child { margin-left: 0; }

/* ---------- Hero ---------- */
.hero {
  padding: 100px 48px 80px;
  max-width: 900px;
}

.eyebrow {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  max-width: 760px;
}

.hero p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--text-muted);
  margin-top: 28px;
  max-width: 520px;
}

/* ---------- Section label (reused above any list/group) ---------- */
.section-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--obsidian);
  padding-bottom: 16px;
  margin-bottom: 8px;
}

/* ---------- Archive list ---------- */
.archive {
  padding: 0 48px 120px;
  max-width: 900px;
}

.issue {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 32px 0;
  border-bottom: 1px solid var(--stone);
  gap: 24px;
}

.issue:hover .issue-title { color: var(--forest); }

.issue-meta {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  min-width: 90px;
  flex-shrink: 0;
}

.issue-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 24px;
  flex: 1;
  transition: color 0.15s ease;
}

.issue-date {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.archive-empty {
  padding: 40px 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-muted);
  font-size: 18px;
}

/* ---------- Single issue page ---------- */
.issue-page {
  padding: 80px 48px 120px;
  max-width: 680px;
  margin: 0 auto;
}

.issue-page .eyebrow { margin-bottom: 20px; }

.issue-page h1 { font-size: 42px; max-width: none; }

.issue-page .byline {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.issue-page .body-copy {
  margin-top: 48px;
  font-size: 17px;
}

.issue-page .body-copy p { margin-bottom: 24px; }

.issue-page .body-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 28px;
  margin: 48px 0 20px;
}

.back-link {
  display: inline-block;
  margin-top: 60px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
  padding-bottom: 2px;
}

/* ---------- Guide page (wider — used for worksheets/audits like the Positioning Filter Audit) ---------- */
.guide-page {
  padding: 80px 48px 120px;
  max-width: 920px;
  margin: 0 auto;
}

.guide-page .eyebrow { margin-bottom: 20px; }

.guide-page h1 { font-size: 44px; max-width: none; }

.guide-page .intro {
  margin-top: 28px;
  max-width: 680px;
  font-size: 17px;
}

.guide-page .intro p { margin-bottom: 20px; }

.guide-page .prompt {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
}

.guide-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: start;
}

.audit-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 26px;
  border-bottom: 1px solid var(--stone);
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.audit-question {
  margin-bottom: 32px;
}

.audit-question .q-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 19px;
  margin-bottom: 6px;
}

.audit-question .q-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.answer-line {
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  padding: 4px 0;
}

.result-panel {
  background: #EFEDE7;
  border-radius: 16px;
  padding: 32px 28px;
}

.result-panel .audit-heading { border-bottom-color: var(--stone); }

.result-panel .result-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.result-item { margin-bottom: 20px; }

.result-item:last-of-type { margin-bottom: 0; }

.result-item .r-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.result-item .r-desc {
  font-size: 14px;
  line-height: 1.55;
}

.result-footnote {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--stone);
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Interactive audit elements ---------- */
.q-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.q-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--stone);
  background: transparent;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.q-toggle:hover { border-color: var(--gold); color: var(--gold); }

.q-toggle.struggled {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

.q-toggle-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.result-item {
  margin-bottom: 20px;
  padding: 12px;
  margin-left: -12px;
  margin-right: -12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.45;
}

.result-item.active {
  opacity: 1;
  background: rgba(200, 161, 74, 0.12);
  border-left: 3px solid var(--gold);
}

.archetype-banner {
  display: none;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--stone);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--forest);
}

.archetype-banner.show { display: block; }

.reset-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  border: none;
  background: none;
}

.download-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--forest);
  text-decoration: underline;
  cursor: pointer;
  border: none;
  background: none;
  font-weight: 600;
}

/* ---------- Long-form guide components ---------- */
.guide-page h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 32px;
  margin: 64px 0 20px;
}

.guide-page h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  margin: 36px 0 12px;
}

.guide-page .section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin: 32px 0;
  max-width: 780px;
}

.grid-cell .cell-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.grid-cell .cell-body { font-size: 16px; }

.compare-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 32px 0;
  max-width: 780px;
}

.compare-col .col-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 18px;
  border-bottom: 1px solid var(--stone);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.compare-col p { font-size: 15px; margin-bottom: 10px; }

.compare-col .col-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.step-list {
  list-style: none;
  counter-reset: step;
  margin: 24px 0;
  max-width: 700px;
}

.step-list li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 16px;
}

.step-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Plain list — no numbered circle, used for short paired lines */
.plain-list {
  list-style: none;
  margin: 24px 0;
  max-width: 700px;
}

.plain-list li {
  margin-bottom: 12px;
  font-size: 16px;
}

/* Labeled list — a bold inline label followed by text, aligned in a column */
.label-list {
  list-style: none;
  margin: 24px 0;
  max-width: 700px;
}

.label-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 16px;
}

.label-list .label {
  flex-shrink: 0;
  width: 90px;
  font-weight: 600;
}

.callout-box {
  background: var(--forest);
  color: var(--ivory);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 40px 0;
  max-width: 780px;
  font-size: 15px;
  line-height: 1.6;
}

.callout-box a {
  color: var(--gold);
  text-decoration: underline;
}

.callout-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.exercise-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  padding: 6px 0;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

.exercise-note {
  margin-top: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 700px;
}

.join-block {
  text-align: center;
  padding: 100px 24px 40px;
  border-top: 1px solid var(--stone);
  margin-top: 80px;
}

.join-block .seal { margin: 0 auto 32px; width: 60px; height: 60px; font-size: 20px; }

.join-block h2 {
  font-size: 42px;
  margin: 0 0 24px;
}

.join-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 8px;
}

.join-block .all-free {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  margin: 16px 0 20px;
}

.join-block a.join-link {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
  padding-bottom: 3px;
}

@media (max-width: 640px) {
  .grid-2x2, .compare-cols { grid-template-columns: 1fr; }
}

.divider {
  border: none;
  border-top: 1px solid var(--stone);
  margin: 48px 0;
}

.cta-button {
  display: inline-block;
  background: var(--forest);
  color: var(--ivory);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 14px 26px;
  border-radius: 6px;
  margin-top: 24px;
}

/* ---------- Footer ---------- */
footer {
  padding: 40px 48px;
  border-top: 1px solid var(--stone);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  header, .hero, .archive, footer, .issue-page, .guide-page { padding-left: 24px; padding-right: 24px; }
  h1 { font-size: 36px; }
  .issue-page h1 { font-size: 32px; }
  .guide-page h1 { font-size: 32px; }
  .issue { flex-direction: column; gap: 6px; }
  .issue-meta { min-width: unset; }
  nav a { margin-left: 20px; }
  .guide-columns { grid-template-columns: 1fr; }
}
