:root {
    --himalayan-slate: #4A5A62;
    --prayer-flag-red: #D32F2F;
    --rhododendron-pink: #E0115F;
    --off-white: #F9F9F9;
    --pure-white: #FFFFFF;
    --text-main: #1A1A1A;
    --text-muted: #555555;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --frame-thickness: 40px;
    --transition-smooth: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;600&display=swap');

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.serif {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Layout Frame Motif */
.page-frame {
    border: var(--frame-thickness) solid var(--pure-white);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Header & Nav */
header {
    padding: 4rem 2rem;
    text-align: center;
}

.gateway-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--himalayan-slate);
    margin-bottom: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-size: 0.9rem;
    font-weight: 300;
}

nav a:hover {
    color: var(--prayer-flag-red);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.btn-open {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid var(--text-main);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-open:hover {
    background: var(--text-main);
    color: var(--pure-white);
}

/* Section 1: Window Concept */
.window-concept {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    overflow: hidden;
    margin: 4rem 0;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.window-content {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    padding: 4rem;
    max-width: 800px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.quote {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Section 2: Two Pillars */
.pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 8rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.pillar h2 span {
    color: var(--prayer-flag-red);
}

.pillar ul {
    list-style: none;
}

.pillar li {
    margin-bottom: 2rem;
}

.pillar li strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Section 3: From My Window */
.journal {
    background: var(--off-white);
    padding: 8rem 2rem;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.journal-item {
    background: var(--pure-white);
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.journal-image {
    width: 100%;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
}

.journal-caption {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer & Form */
footer {
    padding: 10rem 2rem;
    text-align: center;
    background: var(--pure-white);
}

.footer-headline {
    font-size: 3rem;
    margin-bottom: 3rem;
}

.join-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.join-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    font-family: var(--font-sans);
}

.join-form button {
    padding: 1rem 2rem;
    background: var(--prayer-flag-red);
    color: var(--pure-white);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
    .pillars {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .page-frame {
        border-width: 15px;
    }

    .hero h1 {
        font-size: 3rem;
    }

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