/* Reset & Core Canvas Properties */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Strategic Layout Container */
.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 220px 24px; /* Generous bottom padding to clear the footer asset */
    text-align: center;
}

/* Logo Optimization Area */
.logo-wrapper {
    margin-bottom: 32px;
}

.brand-logo {
    max-width: 220px;
    height: auto;
    display: block;
}

/* High-Contrast Typographic Hierarchy */
.tagline {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
    color: #f5f5f7;
    margin-bottom: 24px;
    letter-spacing: -0.015em;
}

.manifesto-body {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    color: #a1a1a6; /* Subdued gray to elevate the prominence of the tagline */
    margin-bottom: 24px;
}

.philosophy-callout {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 48px;
    letter-spacing: 0.01em;
}

/* Execution Metadata */
.meta-footer {
    font-size: 0.95rem;
    line-height: 1.6;
}

.phase-tag {
    color: #86868b;
    font-style: italic;
    margin-bottom: 4px;
}

.contact-email a {
    color: #dfd2bc; /* Clean, understated champagne-gold anchor text */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-email a:hover {
    color: #ffffff;
}

/* Grounding Architecture: Pure Walnut Frame */
.walnut-grounding-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh; /* Maps exactly to the bottom quarter of the viewport screen */
    background-image: url('Walnut.jpg');
    background-size: cover;
    background-position: center top;
    box-shadow: inset 0 20px 40px rgba(0,0,0,0.85), 0 -10px 30px rgba(0,0,0,0.9);
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Mobile Layout Adaptations */
@media (max-height: 700px) {
    .walnut-grounding-bar {
        height: 20vh; /* Compresses slightly on shorter displays to give text air */
    }
    .content-container {
        padding-bottom: 160px;
    }
}
/* Hardened Layout Adjustments for Compact Mobile Screens (iPhone SE, etc.) */
@media (max-width: 400px) {
    .content-container {
        padding-top: 20px;       /* Brings the logo closer to the top header */
        padding-bottom: 180px;   /* Compresses the lower spacing gap */
    }

    .brand-logo {
        max-width: 160px;        /* Slightly scales down the logo to save vertical real estate */
    }

    .tagline {
        font-size: 1.35rem;      /* Refines the typography scale for small viewports */
        line-height: 1.35;
        margin-bottom: 16px;     /* Pulls the philosophy statement upward */
    }

    .philosophy-callout {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }
}