:root{
    --burgundy: #a20100;
    --burgundy-deep: #7a0100;
    --bg: #f5f5f5;
    --ink: #2b1210;
    --cream: #efe8df;
    --gold: #c9a961;
    --max: 1180px;
}

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

html{ scroll-behavior: smooth; }

body{
    background: var(--bg);
    color: var(--ink);
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,.display{
    font-family: 'Fraunces', serif;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.eyebrow{
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--burgundy);
}

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

.wrap{
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 6vw;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
    *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

header{
    position: fixed;
    top: 0;
    width: 100%;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease, color 0.3s ease;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(43,18,16,0.08);
}
.header--hidden {
    transform: translateY(-100%);
}
.header--scrolled-up {
    transform: translateY(0);
    background-color: #ffffff;
    color: #000000; /* Dark text for white background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav{
    max-width: var(--max);
    margin: 0 auto;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.6rem;
    letter-spacing: 0.01em;
    color: var(--burgundy);
}
.nav-links{
    display: flex;
    gap: 2.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #a20000;
}
.nav-links a{
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after{
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}
.nav-links a:hover::after{ transform: scaleX(1); transform-origin: left; }
.nav-toggle{ display:none; }
.nav-close{
    display:none;
}

/* ---------- DRIZZLE DIVIDER (signature element) ---------- */
.drizzle{
    display:block;
    width: 100%;
    height: 40px;
    margin: 0 auto;
    color: var(--gold);
}
.drizzle path{
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}
.drizzleFooter{
    display:block;
    width: 100%;
    height: 40px;
    margin: 0 auto;
    color: var(--gold);
    background: var(--ink);
}
.drizzleFooter path{
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

/* ---------- HERO ACTIONS (shared button row) ---------- */
.hero-actions{
    margin-top: 2.6rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.btn{
    display: inline-block;
    padding: 0.95rem 2.1rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary{
    background: var(--burgundy);
    color: var(--bg);
    box-shadow: 0 8px 20px rgba(162,1,0,0.25);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(162,1,0,0.32); }
.btn-ghost{
    border: 1.5px solid rgba(43,18,16,0.25);
    color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--burgundy); color: var(--burgundy); }


/* ---------- HERO BANNER (full-bleed image banner) ---------- */
.hero-banner{
    position: relative;
    min-height: min(86vh, 760px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}
.hero-banner-media{
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background:
            repeating-linear-gradient(135deg, rgba(162,1,0,0.09) 0 2px, transparent 2px 16px),
            var(--cream);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
}

.hero-banner-overlay{
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(43,18,16,0.42) 0%, rgba(43,18,16,0.58) 60%, rgba(43,18,16,0.68) 100%);
}
.hero-banner-content{
    position: relative;
    z-index: 2;
    max-width: var(--max);
    padding: 8vw 6vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-banner .eyebrow{
    color: var(--gold);
    margin-bottom: 1.4rem;
}
.hero-banner h1{
    color: var(--bg);
    font-size: clamp(2.4rem, 6vw, 5rem);
    max-width: 16ch;
}
.hero-banner h1 em{
    font-style: italic;
    color: var(--gold);
}
.hero-banner p{
    margin-top: 1.6rem;
    max-width: 46ch;
    font-size: 1.15rem;
    color: rgba(245,245,245,0.85);
}
.btn-ghost-light{
    border: 1.5px solid rgba(245,245,245,0.55);
    color: var(--bg);
}
.btn-ghost-light:hover{ border-color: var(--gold); color: var(--gold); }

/* ---------- SECTION SHARED ---------- */
section{ padding: 6vw 0; }
.section-head{
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 3.5rem;
}
.section-head h2{
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 0.6rem;
}
.section-head p{
    margin-top: 1rem;
    color: rgba(43,18,16,0.7);
}
/* ---------- Menu ----------- */
.menu-display {
    padding: 4rem 0;
    background-color: var(--bg); /* Uses your existing site background */
}

.menu-page {
    width: 100%;
    max-width: 800px; /* Limits width so it doesn't look stretched */
    display: block;
    margin: 0 auto 2rem auto; /* Creates spacing between pages */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(43, 18, 16, 0.1); /* Adds a subtle, high-end shadow */
}
.menu-content {
    padding-top: 120px; /* This pushes your content down below the fixed header */
}

@media (max-width: 860px) {
    .menu-content {
        padding-top: 110px; /* Adjusts for mobile nav height */
    }
}

/* ---------- Eastern, Western, Setup Page ----------- */
.detail-section {
    padding-top: 190px; /* This pushes your content down below the fixed header */
}

@media (max-width: 860px) {
    .detail-section {
        padding-top: 180px; /* Adjusts for mobile nav height */
    }
}

/* ---------- Eastern, Western, Setup Page Carousel----------- */

.chapter-carousel{
    position:relative;
    aspect-ratio:5/4;
    border-radius:4px;
    overflow:hidden;
}

.carousel-track{
    width:100%;
    height:100%;
    position:relative;
}

.carousel-image{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    opacity:0;
    transition:opacity .4s ease;
}

.carousel-image.active{
    opacity:1;
}

.carousel-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:42px;
    height:42px;

    border:none;
    border-radius:50%;

    cursor:pointer;

    z-index:2;
}

.prev{
    left:12px;
}

.next{
    right:12px;
}

.carousel-dots{
    position:absolute;
    bottom:15px;

    width:100%;

    display:flex;
    justify-content:center;
    gap:8px;

    z-index:2;
}

.dot{
    width:10px;
    height:10px;

    border-radius:50%;

    background:white;
    opacity:.4;
}

.dot.active{
    opacity:1;
}

.text-content {
    flex: 1 1 300px; /* Take up the remaining space */
}
/* ---------- ABOUT ---------- */
.about{
    background: var(--cream);
}
.about .wrap{
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}
.about-visual{
    aspect-ratio: 4/5;
    border-radius: 4px;
    background:
            repeating-linear-gradient(135deg, rgba(162,1,0,0.06) 0 2px, transparent 2px 14px),
            var(--bg);
    position: relative;
    display: flex; align-items:center; justify-content:center;
}
.about-visual::before{
    content:'';
    position:absolute; inset: 14px;
    border: 1px solid rgba(162,1,0,0.25);
}
.about-text .eyebrow{ margin-bottom: 1rem; }
.about-text h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1.2rem; }
.about-text p{ color: rgba(43,18,16,0.75); margin-bottom: 1rem; max-width: 52ch; }
.about-stats{
    display: flex;
    gap: 2.6rem;
    margin-top: 2rem;
}
.about-stats div{ text-align: left; }
.about-stats strong{
    display:block;
    font-family:'Fraunces', serif;
    font-size: 1.9rem;
    color: var(--burgundy);
}
.about-stats span{
    font-size: 0.82rem;
    color: rgba(43,18,16,0.6);
}

/* ---------- PORTFOLIO / CHAPTERS ---------- */
.portfolio{ background: var(--bg); }
.chapter{
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
    padding: 4.5vw 0;
}
.chapter:nth-of-type(even){
    grid-template-columns: 1.1fr 0.9fr;
}
@media (min-width: 1024px) {
    .chapter:nth-of-type(even) .chapter-carousel {
        order: 2;
    }

    .chapter:nth-of-type(even) .chapter-visual {
        order: 2;
    }
}
.chapter-visual{
    aspect-ratio: 5/4;
    border-radius: 4px;
    background:
            repeating-linear-gradient(135deg, rgba(162,1,0,0.06) 0 2px, transparent 2px 14px),
            var(--cream);
    position: relative;
    align-items:center;
    justify-content:center;
    display:block;
    width:100%;
    height:auto;
    object-fit:cover;
    object-position:center center;
}
.chapter-visual::before{
    content:'';
    position:absolute; inset:14px;
    border: 1px solid rgba(162,1,0,0.25);
}
.chapter-num{
    font-family:'Fraunces', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    letter-spacing: 0.03em;
}
.chapter h3{
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    margin-bottom: 1.1rem;
}
.chapter p{
    color: rgba(43,18,16,0.75);
    max-width: 48ch;
    margin-bottom: 1.4rem;
}
.tag-row{
    display:flex; flex-wrap:wrap; gap: 0.6rem;
}
.tag{
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(162,1,0,0.3);
    color: var(--burgundy);
}
.chapter-actions{
    margin-top: 1.8rem;
}
.btn-sm{
    padding: 0.75rem 1.7rem;
    font-size: 0.82rem;
}
.carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 2rem; /* Space for the scrollbar if visible */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for mobile */
}

/* Ensure each chapter snaps into place */
.carousel-container .chapter {
    flex: 0 0 80%; /* Each item takes up 80% of the screen width */
    scroll-snap-align: center;
    padding: 0; /* Adjust padding to fit your design */
}

/* Hide scrollbar for a cleaner look */
.carousel-container::-webkit-scrollbar {
    display: none;
}

/* ---------- CONTACT ---------- */
.contact{
    background: var(--ink);
    color: var(--bg);
    text-align: center;
}
.contact .eyebrow{ color: var(--gold); }
.contact h2{
    color: var(--bg);
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    margin: 0.7rem 0 1.2rem;
}
.contact p{
    color: rgba(245,245,245,0.75);
    max-width: 50ch;
    margin: 0 auto 2.4rem;
}
.contact-details{
    display:flex;
    justify-content:center;
    gap: 2.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.8rem;
}
.contact-details div{ text-align:left; }
.contact-details .eyebrow{ display:block; margin-bottom: 0.4rem; color: var(--gold); }
.contact-details a, .contact-details span{
    font-family:'Fraunces', serif;
    font-size: 1.15rem;
}
.socials{
    display:flex; justify-content:center; gap: 1.2rem;
}
.socials a{
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(245,245,245,0.3);
    display:flex; align-items:center; justify-content:center;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.socials a:hover{ border-color: var(--gold); background: rgba(201,169,97,0.1); }
.socials svg{ width: 18px; height: 18px; stroke: var(--bg); fill: none; stroke-width: 1.6; }

footer{
    background: var(--ink);
    color: rgba(245,245,245,0.5);
    text-align: center;
    padding: 1.6rem 6vw 2.2rem;
    font-size: 0.82rem;
}



.nav-toggle{
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: none;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.nav-toggle span{
    display: block;

    width: 24px;
    height: 3px;

    border-radius: 999px;

    background: var(--burgundy);

    transition: .3s ease;
}

/* ===== Improved Responsive Layout ===== */

@media (max-width:1024px){
    .wrap{padding:0 28px;}
    .chapter{gap:3rem;}
    .about .wrap{gap:3rem;}
    /* ===== Mobile Drawer Navigation ===== */

    .nav-toggle{
        display: flex;
    }

    .nav-links{
        position: fixed;

        top: 0;
        right: 0;

        width: 300px;
        max-width: 85vw;
        height: 100vh;

        background: var(--bg);

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        padding: 90px 24px 30px;

        transform: translateX(100%);
        transition: transform .35s ease;

        box-shadow: -12px 0 35px rgba(0,0,0,.15);

        z-index: 1001;
    }

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

    .nav-links a{
        width: 100%;
        padding: 18px 0;
        font-size: 1.05rem;
        font-weight: 600;
        text-align: left;
        border-bottom: 1px solid rgba(0,0,0,.08);
    }

    .nav-close{
        display: flex;

        position: absolute;
        top: 20px;
        right: 20px;

        width: 42px;
        height: 42px;

        align-items: center;
        justify-content: center;

        border: none;
        background: none;

        font-size: 32px;
        line-height: 1;

        cursor: pointer;

        color: var(--burgundy);

        z-index: 1002;
    }

    .nav-overlay{
        position: fixed;
        inset: 0;

        background: rgba(0,0,0,.45);

        opacity: 0;
        visibility: hidden;

        transition: opacity .35s ease, visibility .35s ease;

        z-index: 1000;
    }

    .nav-overlay.open{
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width:860px){

    .wrap{
        padding:0 24px;
    }

    .nav{
        width:100%;
        padding:10px 20px;
        overflow:hidden;
    }

    .logo img{
        width:110px;
        height:auto;
    }

    .hero-banner{

        min-height:80vh;

        align-items:center;

    }

    .hero-banner-content{

        width:100%;

        max-width:700px;

        padding:120px 24px 60px;

        text-align:center;

    }

    .hero-banner h1{

        font-size:clamp(2.2rem,9vw,3.4rem);

        line-height:1.1;

        max-width:11ch;

        margin:0 auto;

    }

    .hero-banner p{

        font-size:1.05rem;

        line-height:1.8;

        max-width:32ch;

        margin:1.5rem auto 0;

    }
    .hero-actions{

        width:100%;

        margin-top:2rem;

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:14px;

    }

    .hero-actions .btn{

        width:min(320px,100%);

        text-align:center;

    }

    .chapter,
    .chapter:nth-of-type(even){

        display:flex;
        flex-direction:column;

        gap:0;

        padding:0;

        margin-bottom:2rem;

        background:#fff;

        border-radius:20px;

        overflow:hidden;

        box-shadow:0 10px 30px rgba(0,0,0,.08);

    }

    .chapter-carousel{

        order:0;

        width:100%;
        max-width:none;

        margin:0;

        aspect-ratio:4/3;

        flex:none;

    }

    .chapter-visual{

        order:0;

        width:100%;

        height:auto;

        max-width:100%;

        margin:0;

        flex:none;

        object-fit:cover;

    }

    .chapter-content{

        order:1;

        width:100%;

        padding:24px;

        text-align:center;

        flex:none;

        display:flex;

        flex-direction:column;

        align-items:center;

    }

    .chapter p{

        margin:0 0 1.4rem;

        max-width:100%;

    }

    .tag-row{

        justify-content:center;

        flex-wrap:wrap;

    }

    .chapter-actions{

        width:100%;

        display:flex;

        justify-content:center;

    }

    .carousel-btn{

        width:48px;
        height:48px;

        background:rgba(255,255,255,.92);

    }

    .dot{

        width:12px;
        height:12px;

    }

    .about .wrap{

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

        gap:2rem;

        text-align:center;

    }

    .about-visual{

        width:100%;

        max-width:350px;

        margin:0 auto;

        display:block;

    }

    .about-stats{

        width:100%;

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:1.2rem;

        margin-top:1.5rem;

    }

    .about-stats div{

        width:100%;

        text-align:center;

    }

    .about-text{

        width:100%;

        max-width:650px;

        display:flex;

        flex-direction:column;

        align-items:center;

        text-align:center;

    }

    .about-text .eyebrow{

        justify-content:center;

        margin-bottom:.75rem;

    }

    .about-text h2{

        margin-bottom:1rem;

    }

    .contact-details{

        flex-direction:column;

        align-items:center;

        gap:2.5rem;

    }

    .contact-details div{

        text-align:center;

    }

    .section-head{

        margin-bottom:2.5rem;

    }

    .section-head h2{

        font-size:2rem;

    }

    .chapter h3{

        font-size:1.8rem;

    }

    .chapter p,
    .about-text p,
    .contact p{

        line-height:1.8;

    }

    .about-text p{

        max-width:100%;

        margin:0 auto 1.2rem;

        line-height:1.8;

    }

}

@media (max-width:480px){

    .wrap{

        padding:0 18px;

    }

    .hero-banner-content{

        padding:110px 20px 50px;

    }

    .hero-banner h1{

        font-size:2.2rem;

        line-height:1.15;

    }

    .hero-banner p{

        font-size:.98rem;

        max-width:28ch;

    }

    .chapter{

        margin-bottom:1.5rem;

    }

    .chapter-carousel{
        aspect-ratio:1/1;
    }

    .chapter-visual{
        aspect-ratio:auto;
        height:auto;
    }

    .chapter-content{

        padding:20px;

    }

    .btn{

        width:100%;

        text-align:center;

    }

}

.nav-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.nav-overlay.open{

    opacity:1;

    visibility:visible;

}
body.menu-open{

    overflow:hidden;

}

/* Global overflow guard — put near the top with your other resets */
html, body{
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}


body.menu-open{
    overflow: hidden;
}