/* ================
   Laurie Theme (overrides)
   Light, neutral palette so the art stands out
   ================ */

:root{
    --bg:#F7F5F2;
    --panel:#FFFFFF;
    --ink:#2E3138;
    --muted:#6A6F77;
    --accent:#7AA38D;
    --accent-2:#D5C7B2;
    --border:#E6E2DC;
    --shadow:0 10px 30px rgba(18,20,24,.06);

    --radius:16px;
    --radius-lg:22px;

    --h-font: "Neulis Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    --b-font: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}

html, body { background: var(--bg); color: var(--ink); font-family: var(--b-font); line-height: 1.6; }
img { max-width: 100%; display: block; }
.container {

}

/* Header */
.laurie-header { position: sticky; top: 0; z-index: 40; background: rgba(247,245,242,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.laurie-brand { text-decoration: none; color: var(--ink); display: inline-flex; gap: .3rem; align-items: baseline; }
.laurie-logo { font-weight: 800; letter-spacing: .2px; font-family: var(--h-font); }
.laurie-sub { color: var(--muted); font-size: .95rem; }
.laurie-nav a { margin-left: 1.1rem; color: var(--ink); text-decoration: none; padding: .35rem .5rem; border-radius: 8px; transition: background .2s ease; }
.laurie-nav a:hover { background: #ECE8E1; }
.laurie-nav a.active { color: var(--accent); }

/* Sections */
section { scroll-margin-top: 88px; }
.laurie-hero { padding: 64px 0 32px; }
.laurie-hero-grid { }
.laurie-h1, .laurie-h2, .laurie-h3 { font-family: var(--h-font); line-height: 1.15; margin: 0; }
.laurie-h1 { color:#363232; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.laurie-h2 {  color:#363232;font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: .6rem; }
.laurie-h3 { font-size: 1.25rem; }
.laurie-lead { font-size: 1.075rem; color: var(--muted); max-width: 54ch; }
.laurie-copy { color: var(--ink); }

.laurie-btn { display: inline-block; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 999px; padding: .7rem 1.1rem; text-decoration: none; font-weight: 700; }
.laurie-btn:hover {
    color:#363232;
    filter: brightness(.95); }
.laurie-btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.laurie-btn.ghost:hover { background: #ECE8E1; }

.laurie-hero-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }

/* Gallery */
.laurie-gallery { padding: 36px 0 8px; }
.laurie-intro { padding: 8px 0 8px; }
.laurie-muted { color: var(--muted); }

.laurie-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 18px; }
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-label { font-size: .85rem; color: var(--muted); }
.filter-select, .filter-input {
    border: 1px solid var(--border); background: #fff; color: var(--ink);
    border-radius: 10px; padding: .5rem .75rem; min-width: 220px;
}

.laurie-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
.laurie-col { grid-column: span 6; }
@media (min-width: 720px){ .laurie-col { grid-column: span 4; } }
@media (min-width: 1024px){ .laurie-col { grid-column: span 3; } }

.laurie-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; box-shadow: 0 4px 18px rgba(18,20,24,.06); cursor: pointer; }
.laurie-card:hover { transform: translateY(-2px);
    box-shadow: 0px;
    border-color: #ddd5cc; }
.laurie-card-media { aspect-ratio: 1 / 1; overflow: hidden; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.laurie-card-media img { width: 100%; height: 100%; object-fit: cover; }
.laurie-card-body { padding: .9rem 1rem 1.1rem; }
.laurie-card-title { font-family: var(--h-font); font-size: 1.05rem; margin: 0 0 .25rem; }
.laurie-card-meta { margin: 0; color: var(--muted); font-size: .95rem; }
.meta-line { display: block; }
.meta-badge {
    display: inline-block; background: var(--accent-2); color: var(--ink);
    border-radius: 999px; padding: .15rem .6rem; font-size: .85rem; margin-right: .4rem;
}
.meta-date { white-space: nowrap; }

/* About */
.laurie-about { padding: 48px 0; }
.laurie-portrait { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Contact / Footer */
.laurie-contact { padding: 48px 0; }
.laurie-contact-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 6px 22px rgba(18,20,24,.06); }
.laurie-footer { border-top: 1px solid var(--border); background: var(--bg); }
.laurie-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.laurie-link:hover { border-bottom-color: currentColor; }
.laurie-link.small { font-size: .95rem; }

/* Modal */
.laurie-modal { position: fixed; inset: 0; background: rgba(20,22,24,.84); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 1000; }
.laurie-modal.open { display: flex; }
.laurie-modal-card { background: #111; border-radius: 16px; max-width: min(1080px, 92vw); width: 100%; color: #eaeaea; overflow: hidden; }
.laurie-modal-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; }
.laurie-modal-actions { display: flex; gap: 8px; }
.icon-btn { background: rgba(255,255,255,.12); color: #fff; border: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.2); }

.laurie-modal-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 900px){ .laurie-modal-grid { grid-template-columns: 1.1fr .9fr; } }
.laurie-modal-media { background: #000; }
.laurie-modal-media img { width: 100%; height: 100%; object-fit: contain; background: #000; max-height: 78vh; }
.laurie-modal-body { padding: 18px 18px 22px; background: #141618; }
.laurie-modal-title { margin: 0 0 .35rem; font-weight: 800; font-size: 1.25rem; }
.laurie-modal-meta { color: #bfc3c9; margin: 0 0 .6rem; }
.laurie-modal-desc { color: #d8dce2; margin: 0; }


/* Chip filters */
.laurie-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.chip {
    appearance: none;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: .45rem .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { background: #f0ece6; }
.chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}


/* Smooth layout transitions */
.laurie-grid { position: relative; }
.laurie-col {
    transition: transform 420ms cubic-bezier(.2,.8,.2,1), opacity 260ms ease;
    will-change: transform, opacity;
}

/* Enter/exit flair */
.laurie-col.is-entering { opacity: 0; transform: scale(.98); }
.laurie-col.is-entering.is-in { opacity: 1; transform: none; }

.laurie-col.is-leaving { opacity: 0; transform: scale(.98); }
.laurie-col.is-hidden { display: none !important; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .laurie-col { transition: none; }
}

/* Smooth Isotope transitions */
.laurie-grid { position: relative; transition: height .45s ease; }
.laurie-col  { transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease; will-change: transform, opacity; }
.isotope-hidden { pointer-events: none; opacity: 0; transform: scale(.98); }

/* (keep your .chip styles from earlier) */

:root { --accent: #7AA38D; }

/* Make active filter chip match Laurie's palette */
.ptf-filters--style-1 .filter-item-active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}
.ptf-filters--style-1 .filter-item:hover {
    border-color: var(--accent);
}body { background: #F7F5F2; color: #2E3138; }

/* Ensure filter pills stay readable */
.ptf-filters--style-1 .filter-item { color: #2E3138; background: #fff; border-color: #E6E2DC; }
.ptf-filters--style-1 .filter-item:hover {
    color:#363232;
    border-color: var(--accent, #7AA38D); }
.ptf-filters--style-1 .filter-item-active { color:#fff; background: var(--accent, #7AA38D); border-color: var(--accent, #7AA38D); }

/* Portfolio card text colors */
.portfolio-card__title { color: #2E3138;  font-family: var(--b-font);}
.portfolio-card__category { color: #6A6F77; }

/* Card background */
.portfolio-card { }

/* If Isotope didn’t init yet, DO show items (fallback) */
.ptf-isotope-grid .grid-item { visibility: visible; opacity: 1; }

.laurie-gallery .laurie-card,
.laurie-gallery .laurie-card:hover,
.laurie-gallery .portfolio-card,
.laurie-gallery .portfolio-card:hover,
.ptf-isotope-grid .grid-item:hover .portfolio-card {
    box-shadow: none !important;
}

/* (Optional) also stop the hover “lift” */
.laurie-gallery .laurie-card:hover,
.laurie-gallery .portfolio-card:hover,
.ptf-isotope-grid .grid-item:hover .portfolio-card {
    transform: none !important;
}