/* === TRUE REGARD — Global Styles === */

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

:root {
    --dark: #1a2a4a;
    --near-dark: #1e3050;
    --mid-dark: #243658;
    --accent: #c5a464;
    --accent-light: #d4b87a;
    --warm-white: #f5f3ef;
    --warm-cream: #eae7e1;
    --text: #2a2a2a;
    --text-light: #6a6a6a;
    --text-muted: #999999;
    --border: #d8d4ce;
    --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--serif);
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }

img { max-width: 100%; height: auto; }

/* === NAVIGATION === */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(26,42,74,0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(197,164,100,0.15);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 36px;
    width: 36px;
    border-radius: 4px;
}

.nav-brand span {
    color: rgb(197,164,100);
    font-weight: 400;
    margin-left: 12px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* === HERO (home page) === */
.hero {
    background: var(--dark);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 15% 40%, rgba(197,164,100,0.07) 0%, transparent 55%);
    pointer-events: none;
}

.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-label {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 32px;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent-light);
}

.hero-text {
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.7;
    color: #b0b0b0;
    max-width: 640px;
    margin-bottom: 20px;
}

.hero-line {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 40px 0;
}

/* === SIGNUP BOX === */
.signup-box {
    background: var(--near-dark);
    border: 1px solid rgba(197,164,100,0.2);
    border-radius: 2px;
    padding: 36px;
    max-width: 560px;
}

.signup-box h2 {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.signup-box p {
    font-size: 15px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.form-row input[type="email"] {
    flex: 1;
    padding: 13px 16px;
    font-family: var(--sans);
    font-size: 15px;
    border: 1px solid #444;
    border-radius: 2px;
    background: #222;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.form-row input[type="email"]:focus { border-color: var(--accent); }
.form-row input[type="email"]::placeholder { color: #666; }

.btn {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 13px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn:hover { background: var(--accent-light); }

.form-note {
    font-family: var(--sans);
    font-size: 12px;
    color: #555;
}

/* === PAGE SECTIONS === */
.section {
    padding: 100px 24px;
    max-width: 780px;
    margin: 0 auto;
}

.section-dark {
    background: var(--dark);
    color: #fff;
    padding: 100px 24px;
}

.section-dark .inner {
    max-width: 780px;
    margin: 0 auto;
}

.section-wide {
    padding: 100px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.section h2, .section-wide h2 {
    font-family: var(--serif);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.section-dark h2 {
    font-family: var(--serif);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 28px;
}

.section p, .section-wide p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-dark .inner p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #c0c0c0;
}

.accent-line {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 36px;
}

.standalone {
    font-size: 19px;
    font-weight: 600;
    font-style: italic;
    color: var(--accent);
    margin: 28px 0;
    line-height: 1.5;
}

.section-dark .standalone { color: var(--accent-light); }

/* === PAGE HEADER (non-home pages) === */
.page-header {
    background: var(--dark);
    color: #fff;
    padding: 130px 24px 70px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 10% 60%, rgba(197,164,100,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.page-header .inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header .label {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.page-header h1 {
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-header .subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: #b0b0b0;
    line-height: 1.6;
    max-width: 600px;
}

/* === CARDS / GRIDS === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 2px;
    transition: border-color 0.2s;
}

.card:hover { border-color: #bbb; }

.card h3 {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 12px;
}

.card p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-light);
}

/* === BOOK CARDS === */
.books-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.book-card {
    border-top: 3px solid var(--accent);
    padding-top: 24px;
}

.book-card h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.book-card .author {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.book-card p {
    font-size: 16px;
    line-height: 1.7;
}

.book-card .pub-note {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* === PRINCIPLES === */
.principle {
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.principle:first-child { padding-top: 0; }
.principle:last-child { border-bottom: none; }

.principle h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.principle h3 .num {
    color: var(--accent);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
}

.principle p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-light);
}

/* === TOOLKIT LIST === */
.toolkit-section {
    margin-bottom: 56px;
}

.toolkit-section h3 {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.toolkit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.toolkit-item:last-child { border-bottom: none; }

.toolkit-item-info h4 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.toolkit-item-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.toolkit-item .download-btn {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 2px;
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
    background: none;
}

.toolkit-item .download-btn:hover {
    background: var(--accent);
    color: #fff;
}

.toolkit-item .coming-soon {
    font-family: var(--sans);
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* === PEOPLE === */
.people-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.person h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.person .title {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.person p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

/* === BOTTOM CTA === */
.bottom-cta {
    background: var(--dark);
    color: #fff;
    padding: 80px 24px;
    text-align: center;
}

.bottom-cta .inner {
    max-width: 560px;
    margin: 0 auto;
}

.bottom-cta h2 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.bottom-cta p {
    color: #999;
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.bottom-cta .form-row { justify-content: center; }
.bottom-cta .form-note { text-align: center; }

/* === FOOTER === */
footer {
    background: var(--near-dark);
    color: #666;
    padding: 48px 24px;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.8;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left p { margin-bottom: 4px; }

.footer-left strong { color: #999; }

footer a { color: #888; text-decoration: none; }
footer a:hover { color: #fff; }

.footer-right {
    text-align: right;
}

.footer-signoff {
    font-family: var(--serif);
    font-style: italic;
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 11px;
    color: #444;
    margin-top: 12px;
}

/* === EMAIL MODAL (for toolkit downloads) === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 200;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--dark);
    border: 1px solid rgba(197,164,100,0.2);
    border-radius: 2px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    color: #fff;
    position: relative;
}

.modal h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal p {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover { color: #fff; }

/* === ANIMATIONS === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-label { animation: fadeUp 0.5s ease both 0.2s; }
.hero h1 { animation: fadeUp 0.5s ease both 0.35s; }
.hero-text { animation: fadeUp 0.5s ease both 0.5s; }
.hero-line { animation: fadeUp 0.5s ease both 0.6s; }
.signup-box { animation: fadeUp 0.5s ease both 0.75s; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgb(26,42,74);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(197,164,100,0.15);
    }
    .nav-toggle { display: block; }
    .nav-brand span { display: none; }
    .books-grid { grid-template-columns: 1fr; gap: 32px; }
    .people-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .signup-box { padding: 24px; }
    .section, .section-dark, .section-wide { padding: 60px 20px; }
    .page-header { padding: 110px 20px 50px; }
    .footer-inner { flex-direction: column; gap: 24px; }
    .footer-right { text-align: left; }
    .toolkit-item { flex-direction: column; align-items: flex-start; gap: 10px; }
}

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