/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Updated colors - matte, forensic, authority */
    --bg-black: #0B0B0B;
    --text-white: #EFEFEF;        /* Was #F5F5F5 - softer for Boomer eyes */
    --accent-red: #B03A2E;        /* Was #DC2626 - matte, darker, less alert */
    --text-gray: #B0B0B0;         /* Was #888888 - higher contrast */
    --divider-gray: #222222;      /* For section dividers */
    --serif: 'Crimson Text', serif;
    --sans: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility - reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 4rem);
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    font-weight: 500;
}

p {
    max-width: 65ch;
    margin-bottom: 1.5rem;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.7;
}

em {
    font-style: italic;
    color: var(--text-gray);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    min-height: 60vh;
    padding: 10rem 0;
    display: flex;
    align-items: center;
}

.content-section {
    padding: 10rem 0;
}

.content-section + .content-section {
    border-top: 1px solid var(--divider-gray);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(176, 176, 176, 0.1);
}

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

.logo {
    font-family: var(--serif);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 400;
}

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

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-red);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--accent-red);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 12rem;
    text-align: center;
}

.hero-subtitle {
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 4rem;
    opacity: 0.85;
    padding-top: 1.5rem;
}

.hero h1 {
    margin-bottom: 4rem;
    letter-spacing: -0.025em;
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    max-width: 50ch;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.accent {
    color: var(--accent-red);
    font-weight: 400;
}

.whisper {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.7;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 3rem 0 1.5rem;
}

/* Button / CTA */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background-color: transparent;
    color: var(--text-white);
    border: 1.5px solid var(--text-white);
    border-radius: 0;
    font-family: var(--sans);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.btn:hover {
    background-color: var(--text-white);
    color: var(--bg-black);
    border-color: var(--text-white);
    transform: translateY(-1px);
}

.btn-primary {
    border-color: #993333;
    color: #D9D9D9;
}

.btn-primary:hover {
    background-color: #8C2222;
    color: var(--text-white);
    border-color: #8C2222;
}

/* Lists */
ul {
    list-style: none;
    margin: 2rem 0;
}

ul li {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.8;
}

ul li:before {
    content: "▪";
    position: absolute;
    left: 0;
    top: 0.05em;
    color: var(--text-gray);
    font-size: 0.9em;
}

.nav-links li:before {
    content: none;
}

.nav-links li {
    padding-left: 0;
    margin-bottom: 0;
}

.content-statement {
    margin-bottom: 8rem;
    max-width: 100%;
    padding: 3rem 0;
}

.content-statement:last-child {
    margin-bottom: 0;
}

.content-statement h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
    font-weight: 500;
}

.content-statement p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    max-width: 65ch;
    line-height: 1.8;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
    margin-top: 4rem;
}

.content-block h3 {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(245, 245, 245, 0.1);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
}

footer p {
    max-width: 100%;
    margin: 0 auto 0.4rem;
    line-height: 1.5;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; opacity: 0; }
.delay-2 { animation-delay: 0.4s; opacity: 0; }
.delay-3 { animation-delay: 0.6s; opacity: 0; }

.cta-section {
    text-align: center;
    padding: 8rem 0;
    margin-top: 5rem;
}

.cta-micro {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.7;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-to-content:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: 1rem;
    background: var(--accent-red);
    color: white;
    z-index: 9999;
    text-decoration: none;
}

.text-center {
    text-align: center;
}

.origin-text p {
    margin-bottom: 4rem;
}

.custodian-section .reveal {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
}

.custodian-section .reveal > p {
    margin-bottom: 4rem;
}

.custodian-section h2 {
    margin-top: 6rem;
    margin-bottom: 3rem;
}

.method-section ul li {
    margin-bottom: 1.75rem;
    padding-left: 2rem;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    section {
        padding: 8rem 0;
        min-height: auto;
    }
    
    .content-section {
        padding: 8rem 0;
    }
    
    .content-statement {
        margin-bottom: 6rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .hero {
        padding-top: 10rem;
        min-height: 100vh;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 3rem;
        padding-top: 2rem;
    }
    
    .hero h1 {
        font-size: clamp(2.25rem, 8vw, 3rem);
        margin-bottom: 3rem;
    }
    
    .hero-description {
        font-size: clamp(1.125rem, 4vw, 1.25rem);
        margin-bottom: 2.5rem;
    }
    
    h1 {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: clamp(1.375rem, 5vw, 1.75rem);
    }
    
    p {
        font-size: 1.125rem;
        line-height: 1.8;
    }
    
    ul li {
        margin-bottom: 2rem;
        line-height: 1.9;
    }
    
    .whisper {
        font-size: 0.8rem;
        margin: 2rem 0 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .cta-section {
        padding: 6rem 0;
    }
    
    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 0.9rem;
        min-height: 52px;
    }
    
    .origin-text p {
        margin-bottom: 3rem;
    }
    
    .custodian-section .reveal > p {
        margin-bottom: 8rem;
        min-height: 85vh;
        display: flex;
        align-items: center;
        padding: 4rem 0;
    }
    
    .custodian-section h2 {
        margin-top: 10rem;
        margin-bottom: 5rem;
        padding-top: 4rem;
    }
    
    .method-section {
        min-height: 80vh;
        padding: 6rem 0;
    }
    
    .method-section h2 {
        margin-bottom: 2.5rem;
    }
    
    .method-section ul {
        margin: 2.5rem 0;
    }
    
    .method-section ul li {
        margin-bottom: 2rem;
        line-height: 1.9;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(11, 11, 11, 0.98);
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 3rem 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
        border-bottom: 1px solid rgba(176, 176, 176, 0.1);
        z-index: 999;
    }
    
    .nav-links.mobile-open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
}

/* Form styling */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2.5rem;
}

label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-gray);
    font-weight: 400;
}

input, select, textarea {
    width: 100%;
    padding: 1.2rem;
    background-color: transparent;
    border: 1px solid rgba(176, 176, 176, 0.25);
    color: var(--text-white);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.6;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #993333;
    background-color: rgba(176, 176, 176, 0.03);
}

textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B0B0B0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

option {
    background-color: var(--bg-black);
    color: var(--text-white);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--divider-gray);
    line-height: 1.7;
}

.submit-btn {
    width: 100%;
    padding: 1.4rem;
    margin-top: 3rem;
    font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-gray);
    opacity: 0.5;
    font-style: italic;
}

input:focus::placeholder,
textarea:focus::placeholder {
    opacity: 0.3;
}

@media (max-width: 768px) {
    .form-group {
        margin-bottom: 2.5rem;
    }
    
    input, select, textarea {
        padding: 1.2rem 1rem;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 1.4rem;
        font-size: 1rem;
    }
    
    .form-note {
        margin-top: 3rem;
        padding-top: 2.5rem;
    }
}
