/* Anti-Gravity Redesign - Global Settings */
:root {
    --bg-cream: #FAF7F2;
    --text-charcoal: #2C2C2C;
    --accent-amber: #C8813A;
    --accent-green: #3B5C45;
    --border-tan: #DDD5C8;
    --card-white: #FFFFFF;

    --max-width: 860px;
    --section-padding: 80px;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: 0.3s ease;
}

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

body {
    background-color: var(--bg-cream);
    color: var(--text-charcoal);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

/* Paper Grain Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.06;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Hierarchy */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--text-charcoal);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

.accent-text {
    font-size: 0.75rem;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Sticky Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(250, 247, 242, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-tan);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-charcoal);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-amber);
}

/* Content Container */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding) 0;
}

/* Section Dividers */
.divider-a {
    width: 100%;
    height: 1px;
    background-color: var(--border-tan);
}

.divider-b {
    width: 60px;
    height: 2px;
    background-color: var(--accent-amber);
    margin: 4rem auto;
}

/* Placeholder Cards */
.document-card {
    background: var(--card-white);
    border: 1px solid var(--border-tan);
    padding: 24px;
    border-radius: 6px;
    margin: 1.5rem 0;
    position: relative;
    transition: var(--transition);
}

.document-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.document-card .label {
    margin-bottom: 0.8rem;
    display: block;
}

/* Text Block Placeholder (Soft Border) */
.text-block-placeholder {
    border-left: 3px solid var(--accent-amber);
    padding-left: 20px;
    margin-bottom: 2rem;
}

.text-block-placeholder p {
    color: #555;
    font-style: italic;
}

/* Hero Section (Home Only) */
.hero {
    background-color: var(--accent-green);
    color: var(--bg-cream);
    text-align: center;
    padding: 100px 0;
    position: relative;
    /* Gentle fade into cream */
    border-bottom: 80px solid transparent;
    box-shadow: inset 0 -40px 60px -20px var(--bg-cream);
}

.hero-photo-container {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid var(--accent-amber);
    margin: 0 auto 2rem;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-photo-placeholder {
    width: 100%;
    height: 100%;
    background: #4a6d56;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero h1 {
    color: var(--bg-cream);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Mentor Section (2-column) */
.mentor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Final Reflection Styling */
.reflection-card {
    background-color: #FDF6EC;
    border-left: 3px solid var(--accent-amber);
    padding: 24px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 24px;
}

.acknowledgements {
    text-align: center;
    margin: 5rem 0;
}

.acknowledgements .rule {
    width: 40px;
    height: 1px;
    background: var(--accent-amber);
    margin: 1.5rem auto;
}

.acknowledgements-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--text-charcoal);
    color: var(--bg-cream);
    padding: 3rem 1rem;
    text-align: center;
    border-top: 2px solid var(--accent-amber);
    font-size: 0.85rem;
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        font-size: 0.75rem;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mentor-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }
}