/* ============================================================
   Founder Series Foundation — Site stylesheet
   Design system: Documentary Bold (Option 4)
   ============================================================ */

:root {
    --black: #050505;
    --black-2: #111;
    --black-3: #1A1A1A;
    --ivory: #F7F4ED;
    --ivory-2: #E8E3D7;
    --ivory-3: #D9D2BF;
    --gold: #C9A23D;
    --gold-deep: #9F7E2A;
    --gold-light: #DDBA5C;
    --rust: #8B3A2E;
    --muted: rgba(247, 244, 237, 0.6);
    --muted-strong: rgba(247, 244, 237, 0.8);
    --line: rgba(247, 244, 237, 0.12);
    --line-strong: rgba(247, 244, 237, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Source Serif 4', serif;
    background: var(--black);
    color: var(--ivory);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'ss01';
}
a { color: inherit; text-decoration: none; }
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ── Skip link ── */
.skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--gold); color: var(--black);
    padding: 12px 20px; font-weight: 700;
    font-family: 'Inter Tight', sans-serif;
    text-transform: uppercase; letter-spacing: 0.1em;
    font-size: 0.85rem; z-index: 100;
}
.skip-link:focus { top: 0; }

/* ── Sticky Nav ── */
nav.site {
    padding: 1.5rem 2.5rem;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(5, 5, 5, 0.92);
}
.wordmark {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ivory);
}
.wordmark span { color: var(--gold); }
.nav-links {
    list-style: none; display: flex; gap: 2rem;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
}
.nav-links a {
    color: rgba(247, 244, 237, 0.6);
    transition: color 0.15s;
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ivory); border-bottom-color: var(--gold); }

@media (max-width: 720px) {
    nav.site { padding: 1rem 1.25rem; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
    .nav-links { gap: 1.25rem; font-size: 0.72rem; flex-wrap: wrap; }
}

/* ── Section primitives ── */
.section {
    padding: 6rem 2.5rem;
    border-bottom: 1px solid var(--line);
}
.section--alt { background: var(--black-2); }
.section--feature {
    background:
        radial-gradient(ellipse at 80% 100%, rgba(201, 162, 61, 0.12), transparent 50%),
        var(--black);
}
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-inner--narrow { max-width: 920px; margin: 0 auto; }

.chapter-label {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 2rem;
}
.chapter-label--ch::before { content: 'Ch. '; color: rgba(247, 244, 237, 0.4); }

.section-eyebrow {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.5rem;
}

h1, h2, h3 { font-family: 'Source Serif 4', serif; font-weight: 400; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }

.page-title {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    line-height: 1.02; letter-spacing: -0.02em;
    color: var(--ivory); max-width: 22ch;
    margin-bottom: 2rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1; letter-spacing: -0.015em;
    color: var(--ivory); max-width: 24ch;
    margin-bottom: 2rem;
}
.section-lede {
    font-family: 'Source Serif 4', serif;
    font-size: 1.15rem; line-height: 1.7;
    color: var(--muted-strong); max-width: 56ch;
    margin-bottom: 2rem;
}

/* ── Body text ── */
.prose p {
    font-family: 'Source Serif 4', serif;
    font-size: 1.08rem; line-height: 1.75;
    color: var(--muted-strong); margin-bottom: 1.4rem;
    max-width: 60ch;
}
.prose p strong { color: var(--ivory); font-weight: 600; }
.prose p em { font-style: italic; color: var(--gold-light); }
.prose a.inline {
    color: var(--gold-light);
    border-bottom: 1px dotted var(--gold-deep);
}
.prose a.inline:hover { color: var(--ivory); }

/* ── Buttons ── */
.btn {
    font-family: 'Inter Tight', sans-serif;
    display: inline-block;
    padding: 1rem 1.75rem;
    font-weight: 700; font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.12em; text-transform: uppercase;
    border: 1px solid transparent;
    transition: all 0.15s;
    cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost {
    background: transparent; color: var(--ivory);
    border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ivory); }

.btn-group { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* ── Pull quote ── */
.pullquote {
    background: var(--ivory); color: var(--black);
    padding: 7rem 2.5rem 6rem;
    position: relative;
}
.pullquote::before {
    content: '"'; position: absolute;
    top: 0.5rem; left: 2.5rem;
    font-family: 'Source Serif 4', serif; font-style: italic;
    font-size: 16rem; line-height: 1;
    color: var(--gold); opacity: 0.18;
}
.pullquote-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.pullquote-eyebrow {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold-deep); margin-bottom: 1.5rem;
}
.pullquote p {
    font-family: 'Source Serif 4', serif;
    font-style: italic; font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.3; color: var(--black);
    max-width: 32ch; margin-bottom: 1.5rem;
}
.pullquote p strong { font-style: normal; font-weight: 600; color: var(--rust); }
.pullquote-attr {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold-deep);
}
@media (max-width: 720px) {
    .pullquote { padding: 4rem 1.25rem 3rem; }
    .pullquote::before { font-size: 8rem; left: 1.25rem; }
}

/* ── Two-column grid ── */
.two-col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── Numbered/ruled rows (used for Audiences, Acts, Goals) ── */
.row-list {
    margin-top: 2.5rem;
    display: grid; gap: 0;
}
.row {
    display: grid; grid-template-columns: 0.5fr 1.2fr 3fr;
    gap: 2.5rem; padding: 1.75rem 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
    transition: padding 0.2s;
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row:hover { padding-left: 0.5rem; }
.row-num {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 900;
    font-size: 1.2rem; color: var(--gold);
}
.row-title {
    font-family: 'Source Serif 4', serif;
    font-size: 1.35rem; color: var(--ivory);
}
.row-desc {
    font-family: 'Source Serif 4', serif;
    color: var(--muted); font-size: 1rem; line-height: 1.7;
}
.row-desc a.inline {
    color: var(--gold-light); border-bottom: 1px dotted var(--gold-deep);
}
.row-desc a.inline:hover { color: var(--ivory); }
@media (max-width: 880px) {
    .row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; }
    .row:hover { padding-left: 0; }
}

/* ── Audience cards (gridded list) ── */
.audience-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.audience-cell {
    padding: 1.75rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(247, 244, 237, 0.02);
}
.audience-cell h3 {
    font-family: 'Source Serif 4', serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}
.audience-cell p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 880px) { .audience-grid { grid-template-columns: 1fr; } }

/* ── What We Are Not block (reusable) ── */
.not-block {
    padding: 7rem 2.5rem;
    background: var(--black);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.not-statement {
    font-family: 'Source Serif 4', serif; font-style: italic;
    font-size: 1.3rem; line-height: 1.55;
    color: var(--muted-strong); max-width: 50ch;
    margin-bottom: 3rem;
}
.not-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    border-top: 1px solid var(--line);
}
.not-list li {
    padding: 1.75rem 0 1.75rem 2.25rem;
    border-bottom: 1px solid var(--line);
    font-family: 'Source Serif 4', serif;
    font-weight: 400; font-size: 1.2rem;
    color: var(--ivory); position: relative;
}
.not-list li::before {
    content: '✕'; position: absolute; left: 0; top: 1.65rem;
    font-family: 'Inter Tight', sans-serif;
    color: var(--gold); font-size: 1.1rem; font-weight: 700;
}
.not-footnote {
    margin-top: 2.5rem;
    font-family: 'Source Serif 4', serif;
    font-size: 1rem; color: var(--muted);
    line-height: 1.7; max-width: 56ch;
}
@media (max-width: 720px) { .not-block { padding: 4rem 1.25rem; } }

/* ── Footer ── */
footer.site {
    background: var(--black);
    border-top: 1px solid var(--line-strong);
    padding: 4rem 2.5rem 2.5rem;
}
.footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}
.footer-brand .wordmark { font-size: 1.1rem; }
.footer-brand p {
    margin-top: 1.5rem;
    font-family: 'Source Serif 4', serif;
    font-size: 0.95rem; line-height: 1.65;
    color: var(--muted); max-width: 36ch;
}
.footer-col h4 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.7rem;
}
.footer-col a {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.85rem; font-weight: 600;
    color: var(--muted-strong);
    transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    margin-top: 3.5rem; padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; flex-wrap: wrap;
    gap: 1rem;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.75rem; letter-spacing: 0.08em;
    color: rgba(247, 244, 237, 0.4);
    text-transform: uppercase;
}
@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Page header (for inner pages) ── */
.page-header {
    padding: 6rem 2.5rem 4rem;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(201, 162, 61, 0.08), transparent 50%),
        var(--black);
    border-bottom: 1px solid var(--line);
}
.page-header-inner { max-width: 920px; margin: 0 auto; }
@media (max-width: 720px) { .page-header { padding: 4rem 1.25rem 3rem; } }
