/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream:       #fdf6ec;
    --warm-white:  #faf3e6;
    --bark:        #3d2b1f;
    --bark-light:  #6b4d3a;
    --forest:      #3a6b49;
    --forest-dark: #1e3a28;
    --moss:        #8b9a6e;
    --gold:        #c9a050;
    --gold-light:  #e8d5a3;
    --card-shadow: 0 2px 12px rgba(61, 43, 31, 0.08);
    --card-shadow-hover: 0 6px 24px rgba(61, 43, 31, 0.14);
    --radius: 12px;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: "Georgia", "Times New Roman", serif;
    background: var(--cream);
    color: var(--bark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────── */
h1, h2, h3 {
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 1.5em;
    text-align: center;
    color: var(--forest-dark);
}

h3 {
    font-size: 1.15rem;
    margin: 0.75em 0 0.5em;
    color: var(--forest);
}

/* ── Hero ───────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--warm-white);
    background: linear-gradient(170deg, #1a3022 0%, #2d4a35 30%, #3a6344 60%, #4a7444 100%);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(200, 160, 80, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(180, 200, 140, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(0,0,0,0.03) 3px,
            rgba(0,0,0,0.03) 4px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 720px;
}

.hero-kicker {
    font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1rem;
}

.hero-subtitle {
    margin-top: 1.2rem;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.72);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Intro ──────────────────────────────────────── */
.intro {
    max-width: 640px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--bark-light);
}

/* ── Principles ─────────────────────────────────── */
.principles {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.principle-card {
    background: var(--warm-white);
    border: 1px solid rgba(139, 154, 110, 0.18);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.principle-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.25rem;
}

.principle-card p {
    font-size: 0.95rem;
    color: var(--bark-light);
    margin-top: 0.4rem;
}

/* ── Practice ───────────────────────────────────── */
.practice {
    background: var(--forest-dark);
    color: var(--warm-white);
    padding: 4rem 1.5rem;
}

.practice h2 {
    color: var(--gold-light);
    margin-bottom: 1.8rem;
}

.practice-list {
    max-width: 560px;
    margin: 0 auto;
    list-style: none;
    counter-reset: practice-counter;
}

.practice-list li {
    counter-increment: practice-counter;
    position: relative;
    padding: 1rem 0 1rem 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1rem;
    line-height: 1.6;
}

.practice-list li:last-child {
    border-bottom: none;
}

.practice-list li::before {
    content: counter(practice-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    background: var(--gold);
    color: var(--forest-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: "SF Mono", "Fira Code", monospace;
}

.practice-list li strong {
    color: var(--gold-light);
}

/* ── Outro ──────────────────────────────────────── */
.outro {
    max-width: 560px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--bark-light);
}

.outro-credit {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--moss);
}

/* ── Footer ─────────────────────────────────────── */
footer {
    text-align: center;
    padding: 2rem 1.5rem 3rem;
    font-size: 0.8rem;
    color: var(--moss);
    border-top: 1px solid rgba(139, 154, 110, 0.2);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 600px) {
    .hero {
        min-height: 55vh;
    }

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

    .intro {
        margin: 2.5rem auto;
    }

    .practice-list li {
        padding-left: 2.5rem;
    }

    .practice-list li::before {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.75rem;
    }
}
