@font-face {
    font-family: 'Rebel';
    src: url('Rebel.otf') format('opentype'),
         url('Rebel.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --cream:      #F0EAD6;
    --cream-dark: #E2D9C2;
    --olive:      #697147;
    --olive-dark: #4A5330;
    --text:       #1C1C1A;
    --muted:      #6B6960;
    --white:      #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    z-index: 200;
    background: rgba(28, 28, 26, 0.94);
    backdrop-filter: blur(10px);
}

.nav-toggle {
    display: none;
    background: transparent;
    color: var(--white);
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}

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

.nav-links a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 0.6; }

.nav-logo {
    font-family: 'Rebel', cursive;
    font-weight: normal;
    font-size: 26px;
    color: var(--white);
    letter-spacing: 0.04em;
    user-select: none;
}

.nav-cta {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.55);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.04em;
    transition: background 0.2s, border-color 0.2s;
}

.nav-cta:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.9);
}

/* ── HERO ────────────────────────────────────────── */
.hero {
    min-height: 94vh;
    margin-top: 58px;
    display: block;
    position: relative;
    overflow: hidden;
}

.hero-photo {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 94vh;
}

.hero-photo img,
.hero-photo .photo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    background: var(--olive);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(20,22,14,0.72) 0%, rgba(20,22,14,0.38) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 64px 52px;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.02;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.8;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.75);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    align-self: flex-start;
    transition: background 0.2s, border-color 0.2s;
}

.hero-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

.hero-right-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    height: 100%;
}

.hero-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
    z-index: 3;
}

.hero-play-btn:hover { background: rgba(255,255,255,0.25); }

.hero-play-btn svg { fill: white; width: 22px; height: 22px; margin-left: 3px; }

/* ── WELCOME SECTION ─────────────────────────────── */
.section-welcome {
    background: var(--cream);
}

.welcome-text {
    padding: 88px 64px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 860px;
}

.welcome-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
}

.welcome-text p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    max-width: 480px;
}

.welcome-quote {
    border-left: 3px solid var(--olive);
    padding-left: 20px;
    margin-top: 12px;
}

.welcome-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 8px;
}

.welcome-quote cite {
    font-size: 13px;
    font-weight: 600;
    color: var(--olive);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-style: normal;
}

.welcome-photo {
    min-height: 480px;
    background: var(--olive-dark);
    position: relative;
    overflow: hidden;
}

.welcome-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── SCHEDULE / EVENTS SECTION ───────────────────── */
.section-schedule {
    background: var(--olive);
    padding: 88px 48px;
}

.section-schedule h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 0.01em;
}

.events-embed-wrap {
    background: var(--cream);
    border-radius: 18px;
    border: 2px solid rgba(240, 234, 214, 0.35);
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
}

.events-embed-wrap + .events-embed-wrap {
    margin-top: 32px;
}

.events-embed {
    width: 100%;
}

/* ── EVENTS LIST ─────────────────────────────────── */
.events-list {
    display: grid;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.event-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.event-date-block {
    flex-shrink: 0;
    width: 56px;
    text-align: center;
    background: var(--olive);
    border-radius: 10px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.event-day {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.event-month {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.event-body { flex: 1; }

.event-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.2;
}

.event-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.event-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* ── ART FOR SALE ────────────────────────────────── */
.section-shop {
    background: var(--cream);
    padding: 88px 48px;
}

.section-shop h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.section-shop > p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 44px;
    max-width: 540px;
}

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

.shop-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.shop-img {
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--olive);
}

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

.shop-img.placeholder-paintings { background: #C4956A; }
.shop-img.placeholder-pottery   { background: #7A9B8A; }
.shop-img.placeholder-cosmetics { background: #D4A8B4; }

.shop-label {
    border: 1.5px solid rgba(28,28,26,0.22);
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}

.shop-label:hover {
    background: var(--text);
    color: var(--white);
}

/* ── COMMUNITY FEEDBACK ──────────────────────────── */
.section-feedback {
    background: var(--cream);
}

.feedback-text {
    padding: 88px 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 860px;
}

.feedback-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 3.5vw, 50px);
    font-weight: 800;
    color: var(--text);
    line-height: 1.05;
}

.feedback-quote {
    border-top: 2px solid var(--olive);
    padding-top: 24px;
    margin-top: 8px;
}

.feedback-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(18px, 2.2vw, 26px);
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 12px;
}

.feedback-quote cite {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    font-style: normal;
    letter-spacing: 0.05em;
}

.feedback-photo {
    background: var(--olive-dark);
    overflow: hidden;
}

.feedback-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── MEET OUR ARTISTS ────────────────────────────── */
.section-artists {
    background: var(--olive);
    padding: 88px 48px;
}

.section-artists h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 48px;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
}

.artist-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.artist-photo {
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--olive-dark);
}

.artist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artist-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.artist-btn {
    background: var(--olive-dark);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.04em;
    align-self: flex-start;
    transition: background 0.2s;
}

.artist-btn:hover { background: #3a4124; }

/* ── BLOG / POSTS ────────────────────────────────── */
.section-tagline {
    background: var(--cream);
    padding: 88px 48px;
}

.section-tagline h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 40px;
}

.post-section {
    width: min(100%, 1100px);
    margin: 0 auto;
}

.post-list { display: grid; gap: 20px; }

.post-card {
    background: var(--white);
    border: 1px solid rgba(28,28,26,0.09);
    border-radius: 20px;
    padding: 28px 32px;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.post-card a { text-decoration: none; color: inherit; }

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.09);
}

.post-card-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.post-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: var(--text);
    line-height: 1.2;
}

.post-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 15px;
}

.post-card .read-more {
    color: var(--olive);
    font-weight: 700;
}

.post-meta {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.post-loading { color: var(--muted); font-size: 1rem; }

/* ── FEATURE / EVENTS SECTION ────────────────────── */
.section-feature {
    background: var(--cream-dark);
    padding: 88px 48px;
}

.feature-heading {
    margin-bottom: 40px;
}

.feature-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 2.8vw, 38px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-heading p {
    color: var(--muted);
    font-size: 16px;
}

/* ── NEWSLETTER ──────────────────────────────────── */
.section-newsletter {
    background: var(--olive-dark);
    padding: 88px 48px;
}

.newsletter-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-heading p {
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    margin-bottom: 40px;
}

/* Lyverva newsletter sign-up embed (embed/newsletter.js) — the widget injects
   its own <style> with these class names; these overrides are two classes
   deep (.newsletter-grid .lv-nl-*) so they win regardless of load order, and
   just carry over the look of the form this replaced (frosted-glass input,
   white pill button) instead of the widget's light-page defaults. */
.newsletter-grid .lyverva-newsletter {
    max-width: 440px;
}

.newsletter-grid .lv-nl-desc {
    color: rgba(255,255,255,0.72);
    font-size: 15px;
}

.newsletter-grid .lv-nl-input {
    padding: 13px 18px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-grid .lv-nl-input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-grid .lv-nl-input:focus { border-color: rgba(255,255,255,0.75); }

.newsletter-grid .lv-nl-btn {
    background: var(--white);
    color: var(--text);
    border: none;
    padding: 13px 36px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}

.newsletter-grid .lv-nl-btn:hover { opacity: 0.88; }
.newsletter-grid .lv-nl-note { color: rgba(255,255,255,0.6); }
.newsletter-grid .lv-nl-message { color: var(--white); font-weight: 600; }
.newsletter-grid .lv-nl-error { color: #ffb4b4; }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
    background: #161610;
    color: rgba(255,255,255,0.75);
    padding: 72px 48px 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 32px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.footer-address {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,0.65);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    padding-top: 44px;
}

.footer-contact p {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
}

.footer-contact a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 6px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s, border-color 0.2s;
}

.footer-social-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.55);
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.38);
}

.footer-nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-nav-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ── MODAL ───────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.modal-box {
    background: var(--white);
    border-radius: 22px;
    padding: 52px 44px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.25s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0 }
    to   { transform: translateY(0);    opacity: 1 }
}

.modal-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.modal-box p {
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 28px;
    font-size: 15px;
}

.modal-input {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.modal-input:focus { border-color: var(--olive); }

.modal-submit {
    width: 100%;
    padding: 15px;
    background: var(--olive);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    transition: opacity 0.15s;
}

.modal-submit:hover { opacity: 0.88; }

.modal-close {
    margin-top: 14px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
}

.modal-close:hover { color: #555; }

/* ── POST DETAIL PAGE ────────────────────────────── */
.post-page {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: 80px 24px 120px;
    display: grid;
    gap: 28px;
}

.back-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-detail {
    background: var(--white);
    border: 1px solid rgba(28,28,26,0.09);
    border-radius: 26px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.page-detail h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    margin-bottom: 14px;
    color: var(--text);
}

.page-detail .post-meta {
    display: block;
    margin-bottom: 22px;
    color: var(--muted);
}

.page-detail .post-body {
    color: var(--text);
    line-height: 1.9;
    white-space: pre-line;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-overlay { padding: 80px 28px 48px; }
    .hero-right-stack { display: none; }

    .section-welcome { grid-template-columns: 1fr; }
    .welcome-text { padding: 64px 28px; }
    .welcome-photo { min-height: 280px; }

    .section-feedback { grid-template-columns: 1fr; }
    .feedback-text { padding: 64px 28px; }
    .feedback-photo { min-height: 260px; }

    .shop-grid { grid-template-columns: 1fr; }
    .artists-grid { grid-template-columns: 1fr 1fr; }

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

    .section-schedule,
    .section-shop,
    .section-artists,
    .section-tagline,
    .section-feature,
    .section-newsletter { padding: 64px 24px; }
}

@media (max-width: 640px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(28,28,26,0.97); padding: 16px 20px; gap: 16px; }
    .nav-links.mobile-open { display: flex; }
    .nav-toggle { display: block; }

    .artists-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
