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

:root {
    --bg-deep: #140F0C;
    --bg-card: #1C1612;
    --bg-elevated: #231C16;
    --terracotta: #B85D38;
    --terracotta-light: #D4845E;
    --sand: #F5E6D0;
    --sand-muted: #C4A882;
    --sand-dim: #8A7560;
    --gold: #C9A84C;
    --gold-light: #E0C06E;
    --white: #FAFAF8;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-deep);
    color: var(--sand);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--sand);
    margin-bottom: 24px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--sand-muted);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-light);
    border-color: var(--terracotta-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(184, 93, 56, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--sand);
    border-color: var(--sand-dim);
}

.btn-ghost:hover {
    border-color: var(--sand);
    color: var(--white);
}

.btn-ghost-light {
    background: transparent;
    color: var(--sand);
    border-color: rgba(245, 230, 208, 0.3);
}

.btn-ghost-light:hover {
    border-color: var(--sand);
    color: var(--white);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(20, 15, 12, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--sand);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-w {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold);
    margin-right: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--sand-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

.nav-cta {
    color: var(--gold) !important;
    font-weight: 500 !important;
    border: 1px solid rgba(201, 168, 76, 0.4);
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--sand);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(184, 93, 56, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-greeting {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--sand);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--terracotta-light);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--sand-muted);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sand-dim);
    border: 1px solid rgba(196, 168, 130, 0.2);
    padding: 6px 14px;
    border-radius: 2px;
}

.hero-right {
    position: relative;
}

.hero-image-wrapper {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.hero-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(20, 15, 12, 0.4));
    pointer-events: none;
}

.hero-accent-block {
    position: absolute;
    bottom: -40px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 16px;
    border-radius: 4px;
    z-index: 2;
}

.hero-accent-block img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 2px;
}

.accent-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.accent-label {
    font-size: 0.75rem;
    color: var(--sand-muted);
    line-height: 1.4;
}

/* Intro / About */
.intro {
    padding: 120px 0;
    background: var(--bg-deep);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-image {
    border-radius: 4px;
    overflow: hidden;
}

.intro-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.intro-content p {
    color: var(--sand-muted);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    text-decoration: none;
    margin-top: 12px;
    transition: gap 0.3s ease;
}

.link-arrow:hover {
    gap: 10px;
}

/* Programs */
.programs {
    padding: 120px 0;
    background: var(--bg-card);
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--bg-elevated);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 6px;
    padding: 40px 32px;
    transition: all 0.4s ease;
}

.program-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.program-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 4px;
    margin-bottom: 24px;
    color: var(--gold);
}

.program-card h3 {
    font-size: 1.5rem;
    color: var(--sand);
    margin-bottom: 6px;
}

.program-age {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: 16px;
}

.program-card p {
    font-size: 0.9rem;
    color: var(--sand-muted);
    line-height: 1.8;
}

/* Philosophy */
.philosophy {
    padding: 120px 0;
    background: var(--bg-deep);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-content p {
    color: var(--sand-muted);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 32px;
}

.philosophy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.philosophy-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--sand-muted);
    line-height: 1.6;
}

.list-marker {
    color: var(--gold);
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.philosophy-image {
    border-radius: 4px;
    overflow: hidden;
}

.philosophy-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Values */
.values {
    padding: 100px 0;
    background: var(--bg-card);
    border-top: 1px solid rgba(201, 168, 76, 0.08);
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.value-item {
    padding: 24px 0;
}

.value-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 300;
    color: rgba(201, 168, 76, 0.25);
    line-height: 1;
    margin-bottom: 16px;
}

.value-item h3 {
    font-size: 1.15rem;
    color: var(--sand);
    margin-bottom: 10px;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--sand-dim);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-deep) 0%, #1A120E 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 93, 56, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.cta-content .section-label {
    margin-bottom: 20px;
}

.cta-content .section-title {
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1rem;
    color: var(--sand-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Visit */
.visit {
    padding: 120px 0;
    background: var(--bg-deep);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit-info address {
    font-style: normal;
    margin-bottom: 24px;
}

.visit-info p {
    color: var(--sand-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.visit-info p strong {
    color: var(--sand);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--gold-light);
}

.visit-hours {
    margin: 32px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.hours-label {
    font-weight: 500;
    color: var(--sand);
    margin-right: 8px;
}

.visit-map {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.visit-map iframe {
    display: block;
    width: 100%;
    height: 450px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-card);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .nav-w {
    font-size: 2rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--sand-dim);
    line-height: 1.7;
    margin-top: 16px;
}

.footer-links p,
.footer-contact p {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--sand-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sand);
}

.footer-contact p {
    font-size: 0.85rem;
    color: var(--sand-muted);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--sand-dim);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile responsive */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(20, 15, 12, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-right {
        order: -1;
    }

    .hero-accent-block {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        display: inline-flex;
    }

    .intro-grid,
    .philosophy-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .intro-image {
        order: -1;
    }

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

    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-badges {
        flex-direction: column;
    }

    .badge {
        width: fit-content;
    }
}
