:root {
    --bg: #f4ebdd;
    --bg-warm: #f9f2e6;
    --bg-alt: #ece0cd;
    --card: #fbf5ea;
    --ink: #2c2017;
    --ink-soft: #6f5d4d;
    --accent: #8a7256;
    --accent-deep: #5e4a36;
    --gold: #cf9a5e;
    --line: rgba(70,45,25,0.14);
    --shadow: 0 16px 40px rgba(80,50,25,0.12);
    --shadow-sm: 0 8px 22px rgba(80,50,25,0.10);
}
/* per-path color themes (apply on <body>) */
body.theme-stoicism      { --accent:#6f7a3a; --accent-deep:#515a26; }
body.theme-psychology    { --accent:#8a4f6a; --accent-deep:#683a50; }
body.theme-spirituality  { --accent:#5b8fb0; --accent-deep:#3f6f8e; }
body.theme-existentialism{ --accent:#4a8a86; --accent-deep:#356b67; }
body.theme-religious     { --accent:#b88a2e; --accent-deep:#8a6618; }
body.theme-astrology     { --accent:#6a5a9c; --accent-deep:#4a3f73; }
body.theme-science       { --accent:#3d5a80; --accent-deep:#284156; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
em, i { font-style: normal; font-weight: 600; color: var(--accent-deep); }

/* NAV */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    font-weight: 600;
    text-decoration: none;
}
.nav-center { display: flex; gap: 2.5rem; font-size: 0.95rem; font-weight: 500; }
.nav-center a { text-decoration: none; opacity: 0.7; transition: opacity 0.3s; }
.nav-center a:hover { opacity: 1; }
.nav-right { justify-self: end; }

/* HERO */
.hero { padding: 10rem 2.5rem 3rem; max-width: 900px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

/* INTRO */
.intro { padding: 2.5rem 2.5rem 5rem; max-width: 720px; margin: 0 auto; }
.intro p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 1.7vw, 1.45rem);
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.intro p em { font-style: normal; font-weight: 600; color: var(--accent-deep); }

/* CATEGORY SECTIONS */
.thinkers-wrapper { background: var(--bg-alt); padding: 5rem 2.5rem 7rem; }
.thinkers-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.thinkers-column { min-width: 0; }
.thinkers-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 3.4vw, 3.2rem);
    font-weight: 600;
    color: var(--accent-deep);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    letter-spacing: -0.015em;
    line-height: 1.05;
}
.thinkers-label::before { content: ''; width: 56px; height: 4px; background: var(--accent); flex-shrink: 0; transform: translateY(-0.5em); border-radius: 2px; }
.thinker-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.thinker-list-single { list-style: none; display: flex; flex-direction: column; gap: 1rem; max-width: 720px; margin: 0 auto; }
.thinker-card {
    position: relative;
    display: block;
    background: var(--card);
    padding: 1.75rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.thinker-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--accent);
    transform: translateX(-5px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}
.thinker-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.thinker-card:hover::before { transform: translateX(0); opacity: 1; }
.thinker-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2.1rem, 2.6vw, 2.55rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 0.65rem;
    color: var(--ink);
    transition: color 0.3s ease;
}
.thinker-card:hover h3 { color: var(--accent-deep); }
.thinker-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 1.5vw, 1.35rem);
    line-height: 1.55;
    color: var(--ink-soft);
}

/* OTHER PATHS */
.other-paths { padding: 5rem 2.5rem 4rem; max-width: 1200px; margin: 0 auto; }
.other-paths-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 2.6vw, 2.5rem);
    font-weight: 600;
    color: var(--accent-deep);
    margin-bottom: 2.25rem;
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    letter-spacing: -0.015em;
    line-height: 1.05;
}
.other-paths-label::before { content: ''; width: 56px; height: 4px; background: var(--accent); flex-shrink: 0; transform: translateY(-0.5em); border-radius: 2px; }
.other-paths-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.other-path {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 1.5rem 1.75rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.other-path-available:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.other-path h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(1.65rem, 2vw, 1.9rem);
    line-height: 1.2;
    margin-bottom: 0.55rem;
    letter-spacing: -0.01em;
}
.other-path p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.15rem, 1.45vw, 1.3rem);
    color: var(--ink-soft);
    line-height: 1.5;
}
.other-path-coming { opacity: 0.5; cursor: default; }
.other-path-coming .coming-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* FOOTER */
footer { padding: 4rem 2.5rem 3rem; text-align: center; border-top: 1px solid var(--line); max-width: 1400px; margin: 0 auto; }
.footer-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

@media (max-width: 900px) {
    nav { grid-template-columns: 1fr auto; padding: 1.25rem 1.5rem; }
    .nav-right { display: none; }
    .hero { padding: 7rem 1.5rem 2rem; }
    .intro { padding: 1.5rem 1.5rem 3rem; }
    .thinkers-wrapper { padding: 3.5rem 1.5rem 5rem; }
    .thinkers-grid { grid-template-columns: 1fr; gap: 3rem; }
    .other-paths { padding: 3.5rem 1.5rem 3rem; }
    .other-paths-grid { grid-template-columns: 1fr; }
    .thinkers-label { font-size: 2rem; }
    .other-paths-label { font-size: 1.6rem; }
}
