/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.7;
    color: #000;
    background-color: #fff;
    font-size: 16px;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

h2 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

h3 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

h4 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 70ch;
}

/* Layout */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 3rem 0;
    position: relative;
}

section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ccc 50%, transparent 100%);
}

/* Hero Section */
.hero {
    text-align: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.hero-text {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 auto;
    max-width: 60ch;
    color: #333;
}

/* What Is Liminal Section */
.what-is-liminal {
    padding: 4rem 0;
    text-align: center;
}

.what-is-liminal h2 {
    margin-bottom: 3rem;
}

.liminal-description {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 auto 3rem;
    max-width: 60ch;
    color: #333;
}

.turner-quote {
    font-family: 'Crimson Text', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #333;
    margin: 0 auto;
    max-width: 50ch;
    border-left: 3px solid #000;
    padding-left: 2rem;
    text-align: left;
}

/* Definitions Section */
.definitions {
    padding: 4rem 0;
}

.definitions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem auto 4rem;
    max-width: 1200px;
}

.definition-card {
    text-align: left;
    padding: 2rem 1.5rem;
    border: 2px solid #000;
    background-color: #fff;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.definition-title {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #000;
    letter-spacing: 0.05em;
}

.definition-category {
    font-family: 'Crimson Text', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 1rem;
    font-weight: 400;
}

.definition-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #000;
    margin: 0;
    max-width: none;
    flex-grow: 1;
}

/* Dinner Experience Section */
.dinner-experience {
    padding: 4rem 0;
}

.dinner-experience h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text {
    font-size: 1.25rem;
    text-align: center;
    margin: 0 auto 4rem;
    color: #333;
    font-weight: 400;
    max-width: 65ch;
}

.subsection {
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.subsection h3 {
    position: relative;
    padding-left: 1rem;
}

.subsection h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 3px;
    height: 2rem;
    background: #000;
}

.subsection p {
    margin-left: 1rem;
}

/* Culture Section */
.culture {
    padding: 4rem 0;
}

.culture h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.culture-intro {
    font-size: 1.25rem;
    text-align: center;
    margin: 0 auto 4rem;
    color: #333;
    font-weight: 400;
    font-style: italic;
}

.culture-principles {
    margin-top: 4rem;
    list-style: none;
    padding: 0;
}

.culture-principles li {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.culture-principles li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0;
    color: #666;
}

/* Examples List */
.examples-list {
    margin: 2rem 0 2rem 1rem;
    padding: 0;
    list-style: none;
}

.examples-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.examples-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0;
    color: #666;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-item {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.faq-item h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: #000;
}

.faq-item p {
    margin-bottom: 0;
    color: #333;
}

/* Footer */
footer {
    padding: 4rem 0 3rem;
    margin-top: 4rem;
    border-top: 1px solid #f0f0f0;
}

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

.footer-content p {
    font-family: 'Crimson Text', serif;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    letter-spacing: 0.1em;
}

/* Liminal Logo */
.hero::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-image: url('liminal-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    
    .definitions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .definition-card {
        padding: 1.5rem 1rem;
        min-height: 180px;
    }
    
    .subsection {
        padding: 0 1rem;
    }
    
    .principle {
        padding: 2rem 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .hero-text, .intro-text, .culture-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .definitions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .definition-title {
        font-size: 1.2rem;
    }
    
    .definition-category {
        font-size: 0.85rem;
    }
    
    .definition-text {
        font-size: 0.85rem;
    }
    
    .subsection {
        padding: 0;
    }
    
    .principle {
        padding: 1.5rem 1rem;
    }
}