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

:root {
    --emerald-900: #042f2e;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #059669;
    --cream-50: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #ece4d6;
    --cream-300: #e0d5c4;
    --text-dark: #0a1f1c;
    --text-mid: #1a3a34;
    --text-light: #4a6b64;
    --text-muted: #7a9a94;
    --gold: #b8935a;
    --gold-light: #d4a574;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.7;
    overflow-x: hidden;
}

.page-wrapper {
    width: 100%;
    min-height: 100vh;
}

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    transition: background-color 0.5s var(--ease-smooth),
                box-shadow 0.5s var(--ease-smooth),
                padding 0.4s var(--ease-smooth);
}

.nav.scrolled {
    background-color: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--cream-200);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.4s var(--ease-smooth);
}

.nav.scrolled .nav-inner {
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
    transition: color 0.4s;
}

.nav.scrolled .nav-logo {
    color: var(--text-dark);
}

.nav-logo-mark {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.nav-logo-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

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

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    transition: color 0.3s;
}

.nav.scrolled .nav-links a {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #fff;
}

.nav.scrolled .nav-links a:hover {
    color: var(--text-dark);
}

/* Mobile menu */
.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-line {
    display: block;
    width: 22px;
    height: 1px;
    background: #fff;
    transition: transform 0.3s var(--ease-out),
                opacity 0.3s;
}

.nav.scrolled .menu-line {
    background: var(--text-dark);
}

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

.nav-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

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

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #042f2e 0%,
        #064e3b 25%,
        #047857 50%,
        #059669 70%,
        #065f46 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    padding-top: 4rem;
}

.hero-line {
    width: 40px;
    height: 1px;
    background: var(--gold-light);
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.hero-tag {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.hero-accent {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-details span,
.hero-details a {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
}

.hero-details a {
    text-decoration: none;
    transition: color 0.3s;
}

.hero-details a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.hero-divider {
    opacity: 0.3;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.btn-primary {
    background: #fff;
    color: var(--emerald-800);
}

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--emerald-900);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-submit {
    background: var(--emerald-700);
    color: #fff;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--emerald-600);
    transform: translateY(-1px);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 1;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Section shared ── */
.section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ── About ── */
.about {
    padding: 10rem 0;
    background: var(--cream-50);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-image {
    position: relative;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.split-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--cream-300);
    border-radius: 2px;
    z-index: -1;
}

.split-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.split-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--cream-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--emerald-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Collection ── */
.collection {
    padding: 10rem 0;
    background: var(--cream-100);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.collection-card {
    background: var(--cream-50);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-smooth);
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(4, 47, 46, 0.08);
}

.card-image {
    overflow: hidden;
    aspect-ratio: 5/4;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.collection-card:hover .card-image img {
    transform: scale(1.03);
}

.card-body {
    padding: 2rem;
}

.card-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ── Supplies ── */
.supplies {
    padding: 10rem 0;
    background: var(--emerald-900);
}

.supplies-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.supplies-content .section-label {
    color: rgba(255, 255, 255, 0.4);
}

.supplies-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 2rem;
}

.supplies-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
}

.supplies-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.supply-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.supply-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.supply-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.supply-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* ── Gallery ── */
.gallery {
    padding: 10rem 0;
    background: var(--cream-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 6/5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ── Visit ── */
.visit {
    padding: 10rem 0;
    background: var(--cream-100);
}

.visit-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch;
}

.visit-info {
    display: flex;
    flex-direction: column;
}

.visit-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.visit-info > p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: auto;
}

.visit-detail {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.visit-detail-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.visit-detail-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.visit-detail a {
    font-size: 0.95rem;
    color: var(--emerald-700);
    text-decoration: none;
    transition: color 0.3s;
}

.visit-detail a:hover {
    color: var(--emerald-500);
    text-decoration: underline;
}

.visit-map {
    border-radius: 2px;
    overflow: hidden;
    min-height: 400px;
    background: var(--cream-200);
}

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

/* ── Contact ── */
.contact {
    padding: 10rem 0;
    background: var(--cream-50);
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cream-300);
    padding: 0.75rem 0;
    outline: none;
    transition: border-color 0.3s;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--emerald-600);
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--emerald-50);
    border-radius: 2px;
    font-size: 0.9rem;
    color: var(--emerald-700);
}

.form-success.visible {
    display: flex;
}

.success-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--emerald-600);
    color: #fff;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Footer ── */
.footer {
    padding: 5rem 0 2rem;
    background: var(--emerald-900);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: start;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.04em;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
    max-width: 260px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.08em;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .split-layout,
    .supplies-inner,
    .visit-inner {
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav {
        padding: 0 1.5rem;
    }

    .nav-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--cream-50);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease-smooth);
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        color: var(--text-dark) !important;
        font-size: 0.85rem;
    }

    .hero-content {
        padding-top: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .split-image {
        max-height: 400px;
    }

    .about-stats {
        gap: 2rem;
    }

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

    .supplies-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .visit-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .about,
    .collection,
    .supplies,
    .gallery,
    .visit,
    .contact {
        padding: 6rem 0;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .hero-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-divider {
        display: none;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-line {
        animation: none;
        opacity: 0.6;
    }
}
