/* =========================================================
   Holiday Window Artist — by Miri Weible
   A warm, gallery-style theme for a fine-artist's storefront work.
   ========================================================= */

:root {
    /* Warm paper / ink palette */
    --paper: #faf5ec;
    --paper-2: #f3ebdd;
    --ink: #221c17;
    --ink-soft: #4a4038;
    --muted: #877a6b;
    --line: #e4d8c5;

    /* Brand + seasonal accents */
    --clay: #bf5b3e;
    --clay-dark: #9c4730;
    --gold: #d9a441;
    --forest: #3f6f52;

    --winter: #5b86a6;
    --spring: #7faa5a;
    --summer: #d9a441;
    --fall: #c1683b;
    --murals: #8a6aa8;
    --misc: #6f655c;

    --shadow: 0 12px 40px rgba(58, 41, 24, .14);
    --shadow-sm: 0 4px 16px rgba(58, 41, 24, .10);

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 1180px;
    --radius: 14px;
    --header-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--clay-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.wrap.narrow { width: min(760px, 92vw); }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
    transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: .98rem;
    letter-spacing: .01em; cursor: pointer; border: 1.5px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--clay-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- header / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--header-h);
    display: flex; align-items: center;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 18px rgba(58,41,24,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--clay); font-size: 1.4rem; line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav-menu { display: flex; align-items: center; gap: 1.6rem; }
.nav-menu a {
    color: var(--ink-soft); font-weight: 500; font-size: .96rem; position: relative;
}
.nav-menu a:not(.nav-cta):hover { color: var(--clay-dark); text-decoration: none; }
.nav-menu a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav-menu a:not(.nav-cta):hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-cta {
    background: var(--ink); color: var(--paper) !important; padding: .5em 1.05em;
    border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--clay); text-decoration: none; }

.nav-toggle {
    display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
    flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
    position: relative; min-height: min(88vh, 760px); display: flex; align-items: center;
    color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(20,12,6,.30) 0%, rgba(20,12,6,.10) 35%, rgba(20,12,6,.66) 100%),
        linear-gradient(90deg, rgba(20,12,6,.55) 0%, rgba(20,12,6,.10) 60%);
}
.hero-content { position: relative; padding: 6rem 0 4.5rem; max-width: 720px; }
.eyebrow {
    text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; font-weight: 600;
    margin: 0 0 1rem; color: #f4dcc9;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0 0 1.1rem; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 38ch; color: #f7ede2; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-actions .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 2.4rem; margin: 0; padding: 0; }
.hero-badges li { display: flex; flex-direction: column; }
.hero-badges strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.hero-badges span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #ecd9c6; margin-top: .25rem; }

/* ---------- generic section ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-eyebrow {
    text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600;
    color: var(--clay); margin: 0 0 .7rem;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 20ch; margin: 0 0 1rem; }
.section-intro { color: var(--ink-soft); max-width: 56ch; font-size: 1.08rem; margin: 0 0 2rem; }

/* ---------- why ---------- */
.why { background: var(--paper-2); }
.why-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; margin-top: 2.5rem;
}
.why-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon { font-size: 1.6rem; color: var(--clay); display: block; margin-bottom: .6rem; }
.why-card h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.chip {
    font-family: var(--sans); font-size: .92rem; font-weight: 500; cursor: pointer;
    padding: .5em 1.1em; border-radius: 999px; border: 1.5px solid var(--line);
    background: var(--paper); color: var(--ink-soft); transition: .2s;
}
.chip:hover { border-color: var(--clay); color: var(--clay-dark); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* masonry via CSS columns */
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery .gx {
    display: block; break-inside: avoid; margin-bottom: 14px; position: relative;
    border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm);
    transform: translateZ(0); transition: transform .25s, box-shadow .25s;
}
.gallery .gx::after {
    content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
    border-radius: 10px; pointer-events: none;
}
.gallery .gx img { width: 100%; height: auto; transition: transform .4s ease; }
.gallery .gx:hover { box-shadow: var(--shadow); }
.gallery .gx:hover img { transform: scale(1.04); }
.gallery .gx.is-hidden { display: none; }

/* seasonal accent strip on hover */
.gx[data-season="winter"]:hover { outline: 3px solid var(--winter); outline-offset: -3px; }
.gx[data-season="spring"]:hover { outline: 3px solid var(--spring); outline-offset: -3px; }
.gx[data-season="summer"]:hover { outline: 3px solid var(--summer); outline-offset: -3px; }
.gx[data-season="fall"]:hover   { outline: 3px solid var(--fall);   outline-offset: -3px; }
.gx[data-season="murals"]:hover { outline: 3px solid var(--murals); outline-offset: -3px; }
.gx[data-season="misc"]:hover   { outline: 3px solid var(--misc);   outline-offset: -3px; }

/* ---------- faq ---------- */
.faq { background: var(--paper-2); }
.accordion { margin-top: 2rem; }
.acc-item {
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
    margin-bottom: .8rem; overflow: hidden; box-shadow: var(--shadow-sm);
}
.acc-item summary {
    cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-family: var(--serif);
    font-size: 1.16rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center;
    gap: 1rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
    content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--clay);
    transition: transform .25s; line-height: 1;
}
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-item p { margin: 0 1.4rem 1.2rem; color: var(--ink-soft); }

/* ---------- areas ---------- */
.area-list {
    list-style: none; padding: 0; margin: 2rem 0 1.5rem;
    display: flex; flex-wrap: wrap; gap: .9rem;
}
.area-list li {
    font-family: var(--serif); font-size: 1.25rem; padding: .7rem 1.5rem;
    border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2);
}
.area-note { color: var(--ink-soft); }

/* ---------- pricing ---------- */
.pricing { background: var(--paper-2); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.3rem; margin-top: 2.5rem; }
.price-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.9rem 1.6rem; box-shadow: var(--shadow-sm); position: relative;
}
.price-card.featured { border-color: var(--clay); box-shadow: 0 14px 40px rgba(191,91,62,.18); }
.price-card.featured::before {
    content: "Most popular"; position: absolute; top: -11px; left: 1.6rem;
    background: var(--clay); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; padding: .25em .8em; border-radius: 999px;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.price { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; margin: .2rem 0 .7rem; color: var(--ink); }
.price span { font-family: var(--sans); font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: .05em; }
.price .per { font-size: 1rem; color: var(--ink-soft); }
.price-note { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ---------- about ---------- */
.about-inner { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-portrait { position: relative; }
.about-portrait img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-portrait::before {
    content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 2px solid var(--clay);
    border-radius: var(--radius); z-index: -1;
}
.about-lead { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--ink-soft); margin: 1rem 0 1.4rem; }
.about-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.about-points li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); }
.about-points li::before { content: "✦"; position: absolute; left: 0; color: var(--clay); }

/* ---------- contact cta ---------- */
.contact-cta {
    background: linear-gradient(135deg, var(--clay) 0%, var(--clay-dark) 100%);
    color: #fff; text-align: center; padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.contact-cta h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: .7rem; }
.contact-cta p { color: #f7e6da; font-size: 1.1rem; max-width: 46ch; margin: 0 auto 2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.contact-cta .btn-primary { background: #fff; color: var(--clay-dark); }
.contact-cta .btn-primary:hover { background: var(--ink); color: #fff; }
.contact-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.contact-cta .btn-ghost:hover { background: #fff; color: var(--clay-dark); border-color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #e9ddcd; padding: 3rem 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand .brand-name { font-size: 1.3rem; color: #fff; }
.footer-brand .brand-sub { color: #b6a691; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; margin-top: .2rem; }
.footer-contact { display: flex; flex-direction: column; gap: .3rem; }
.footer-contact a { color: #e9ddcd; }
.footer-contact a:hover { color: #fff; }
.footer-legal {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
    margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12);
    font-size: .82rem; color: #b6a691;
}
.footer-legal a { color: #e9ddcd; }

/* ---------- lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 300; display: none;
    align-items: center; justify-content: center;
    background: rgba(18,12,7,.92); padding: 4vh 2vw;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 70px rgba(0,0,0,.6); }
.lb-close, .lb-nav {
    position: absolute; background: rgba(255,255,255,.10); color: #fff; border: 0; cursor: pointer;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: background .2s; backdrop-filter: blur(4px);
}
.lb-close { top: 18px; right: 20px; width: 48px; height: 48px; font-size: 2rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 2.4rem; line-height: 1; }
.lb-prev { left: 2vw; }
.lb-next { right: 2vw; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; inset: var(--header-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: .5rem 6vw 1.4rem; box-shadow: var(--shadow);
        transform: translateY(-130%); transition: transform .3s ease; visibility: hidden;
    }
    .nav-menu.open { transform: translateY(0); visibility: visible; }
    .nav-menu a { padding: .9rem .2rem; border-bottom: 1px solid var(--line); }
    .nav-menu a::after { display: none; }
    .nav-cta { text-align: center; margin-top: .9rem; border-bottom: 0 !important; }
    .about-inner { grid-template-columns: 1fr; }
    .about-portrait { max-width: 320px; }
    .hero-badges { gap: 1.6rem; }
}
@media (max-width: 520px) {
    .gallery { columns: 2 140px; column-gap: 10px; }
    .gallery .gx { margin-bottom: 10px; }
    .lb-nav { width: 44px; height: 44px; font-size: 1.8rem; }
}
