/* ============================================
   Folkways — Clean Minimalist Retail Website
   Palette: Midnight Blue (#0a1628) + Mint (#a8e6cf)
   Fonts: Cormorant Garamond + Inter
============================================ */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    color: #0a1628;
    background-color: #fefdf8;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5a9e8a;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #0a1628;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #4a5568;
    max-width: 520px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary {
    background-color: #0a1628;
    color: #a8e6cf;
    border-color: #0a1628;
}

.btn-primary:hover {
    background-color: transparent;
    color: #0a1628;
}

.btn-ghost {
    background-color: transparent;
    color: #0a1628;
    border-color: #0a1628;
}

.btn-ghost:hover {
    background-color: #0a1628;
    color: #a8e6cf;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HEADER
============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: all 0.35s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background-color: #0a1628;
    border-radius: 50%;
    position: relative;
}

.logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #a8e6cf;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #0a1628;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0a1628;
    position: relative;
    padding-bottom: 2px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #5a9e8a;
    transition: width 0.3s ease;
}

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

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1px;
    background-color: #0a1628;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

/* ============================================
   HERO
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(168, 230, 207, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(10, 22, 40, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(90, 158, 138, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #5a9e8a;
    margin-bottom: 2rem;
}

.hero-headline {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: #0a1628;
    margin-bottom: 1.75rem;
}

.hero-accent {
    font-style: italic;
    color: #5a9e8a;
}

.hero-sub {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.85;
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(10, 22, 40, 0.2));
}

.hero-scroll-indicator span {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 16px;
    background-color: #5a9e8a;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT
============================================ */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-content {
    padding: 1rem 0;
}

.about-content .lead {
    font-size: 1.1rem;
    color: #0a1628;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-content p {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(10, 22, 40, 0.08);
}

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

.stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #0a1628;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #718096;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(10, 22, 40, 0.1);
}

/* ============================================
   COLLECTION
============================================ */
.collection {
    padding: 6rem 0 8rem;
    background-color: #f7f5f0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.collection-card {
    position: relative;
    overflow: hidden;
    display: block;
    group: true;
}

.collection-card-image {
    overflow: hidden;
    aspect-ratio: 1;
}

.collection-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.collection-card-content {
    padding: 1.25rem 0.25rem;
}

.collection-card-title {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
    color: #0a1628;
}

.collection-card-desc {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.6;
}

/* ============================================
   VISIT
============================================ */
.visit {
    padding: 8rem 0;
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit-info {
    padding-right: 1rem;
}

.visit-details {
    margin: 2rem 0;
}

.visit-details p {
    margin-bottom: 1.5rem;
}

.visit-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 0.35rem;
}

.visit-details a {
    color: #0a1628;
    border-bottom: 1px solid rgba(10, 22, 40, 0.15);
    transition: border-color 0.3s ease;
}

.visit-details a:hover {
    border-color: #5a9e8a;
}

.visit-address {
    line-height: 1.8;
}

.visit-hours {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(10, 22, 40, 0.08);
}

.visit-hours-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 1rem;
}

.visit-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.visit-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(10, 22, 40, 0.05);
}

.visit-hours-list .day {
    color: #0a1628;
}

.visit-hours-list .time {
    color: #718096;
}

.visit-map-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #e2e8f0;
}

.visit-map-wrap iframe {
    width: 100%;
    height: 100%;
}

/* ============================================
   CTA / CONTACT
============================================ */
.cta {
    padding: 8rem 0;
    background-color: #0a1628;
    color: #fefdf8;
}

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

.cta-text .section-eyebrow {
    color: #a8e6cf;
}

.cta-text .section-title {
    color: #fefdf8;
}

.cta-text p {
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.85;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #fefdf8;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(168, 230, 207, 0.2);
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #4a5568;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a8e6cf;
}

.form-success {
    font-size: 0.875rem;
    color: #a8e6cf;
    text-align: center;
    padding: 1rem;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    padding: 4rem 0 2rem;
    background-color: #070f1d;
    color: #a0aec0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(168, 230, 207, 0.08);
}

.footer-brand .logo-text {
    color: #fefdf8;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.75rem;
}

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

.footer-links a {
    font-size: 0.8rem;
    color: #a0aec0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a8e6cf;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.footer-contact a {
    color: #a0aec0;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #a8e6cf;
}

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

.footer-bottom p {
    font-size: 0.72rem;
    color: #4a5568;
    letter-spacing: 0.05em;
}

/* ============================================
   ANIMATIONS
============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
    .about-grid,
    .visit-layout,
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .about-image-wrap {
        max-height: 400px;
    }

    .about-content {
        order: -1;
    }
}

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

    .header-inner {
        height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background-color: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(10, 22, 40, 0.06);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero {
        padding: 7rem 1.25rem 4rem;
        min-height: 90vh;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .about,
    .collection,
    .visit,
    .cta {
        padding: 5rem 0;
    }

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

    .stat-divider {
        display: none;
    }

    .visit-map-wrap {
        aspect-ratio: 16/10;
    }

    .cta-inner {
        gap: 2.5rem;
    }
}
