/* ============================================================
   GLITZ MAGAZINE — PROJECT BROWSE / LISTINGS PAGE
   Discovery engine · Filter-first · Editorial grid
============================================================ */
:root {
  --red:       #C8232B;
  --red-dk:    #9E1B22;
  --red-lt:    #E8454C;
  --red-tint:  #FDF1F1;
  --ink:       #0E0E0E;
  --charcoal:  #1C1C1C;
  --smoke:     #3A3A3A;
  --ash:       #7A7A7A;
  --stone:     #BFBBB7;
  --linen:     #F4F2EF;
  --ivory:     #FDFCFA;
  --white:     #FFFFFF;
  --gold:      #B8934A;
  --gold-lt:   #D4AE6E;
  --gold-pale: #F7F0E3;
  --serif:   'Cormorant Garamond', serif;
  --display: 'Bebas Neue', sans-serif;
  --sans:    'DM Sans', sans-serif;
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --filter-w: 272px;
  --header-sticky-h: 80px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── CURSOR ── */
.cursor {
  width: 10px; height: 10px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease),
  background .25s, border-color .25s;
  mix-blend-mode: multiply;
}
.cursor.expanded { width: 40px; height: 40px; }
.cursor.on-card {
  width: 60px; height: 60px;
  background: rgba(200,35,43,0.07);
  border-color: rgba(200,35,43,0.35);
}
@media (pointer: coarse) {
  .cursor { display: none !important; }
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--ink);
  padding: 52px 40px 44px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-header::after {
  content: 'PROJECTS';
  position: absolute; right: -10px; bottom: -32px;
  font-family: var(--display); font-size: 200px; letter-spacing: -4px;
  color: rgba(200,35,43,0.05); line-height: 0.9; pointer-events: none;
}
.ph-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.ph-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red-lt); margin-bottom: 12px;
}
.ph-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; font-style: italic; color: var(--white);
  line-height: 1.1; margin-bottom: 12px;
}
.ph-title strong { font-style: normal; font-weight: 500; color: var(--red-lt); }
.ph-desc { font-size: 14px; color: var(--stone); max-width: 480px; line-height: 1.7; }
.ph-stats { display: flex; gap: 32px; flex-shrink: 0; }
.ph-stat { text-align: right; }
.ph-stat .n {
  font-family: var(--serif); font-size: 40px; font-weight: 400;
  color: var(--white); line-height: 1;
}
.ph-stat .n span { color: var(--red-lt); font-size: 24px; }
.ph-stat .l {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ash); margin-top: 4px;
}

/* ── LAYOUT SHELL ── */
.layout { display: flex; align-items: flex-start; min-height: calc(100vh - 180px); }

/* ── FILTER SIDEBAR ── */
.filter-sidebar {
  width: var(--filter-w);
  flex-shrink: 0;
  border-right: 1px solid var(--linen);
  background: var(--white);
  position: sticky; top: var(--header-sticky-h);
  height: calc(100vh - var(--header-sticky-h));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--linen) transparent;
}
.filter-sidebar::-webkit-scrollbar { width: 4px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: var(--linen); border-radius: 2px; }

.filter-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--linen);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--white); z-index: 10;
}
.filter-header h3 {
  font-family: var(--display); font-size: 18px; letter-spacing: 2px; color: var(--ink);
}
.filter-clear {
  font-size: 10px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
  background: none; border: none; cursor: pointer;
  opacity: 0; transition: opacity .2s;
}
.filter-clear.visible { opacity: 1; }

.filter-group { border-bottom: 1px solid var(--linen); }
.filter-group-header {
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; transition: background .2s;
}
.filter-group-header:hover { background: var(--linen); }
.filter-group-header .fg-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--smoke);
}
.filter-group-header .fg-count {
  font-size: 10px; color: var(--red); font-weight: 500; background: var(--red-tint);
  padding: 2px 8px; border-radius: 100px; display: none;
}
.filter-group-header .fg-count.show { display: block; }
.fg-chevron {
  color: var(--stone); transition: transform .25s var(--ease);
  flex-shrink: 0; margin-left: 8px;
}
.filter-group.collapsed .fg-chevron { transform: rotate(-90deg); }
.filter-body { padding: 8px 24px 20px; }
.filter-group.collapsed .filter-body { display: none; }

.filter-options { display: flex; flex-direction: column; gap: 2px; }
.filter-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 3px; cursor: pointer;
  transition: background .15s;
}
.filter-opt:hover { background: var(--linen); }
.filter-opt.selected { background: var(--red-tint); }
.fo-check {
  width: 16px; height: 16px; border-radius: 2px; flex-shrink: 0;
  border: 1.5px solid var(--stone); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.filter-opt.selected .fo-check {
  background: var(--red); border-color: var(--red);
}
.fo-check svg { opacity: 0; transition: opacity .15s; }
.filter-opt.selected .fo-check svg { opacity: 1; }
.fo-label { font-size: 13px; color: var(--smoke); flex: 1; transition: color .15s; }
.filter-opt.selected .fo-label { color: var(--red-dk); font-weight: 500; }
.fo-count { font-size: 11px; color: var(--stone); }

.range-wrap { padding-top: 4px; }
.range-labels { display: flex; justify-content: space-between; margin-bottom: 12px; }
.range-labels span { font-size: 12px; color: var(--ash); }
.range-labels .range-val { color: var(--ink); font-weight: 500; }
.range-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px;
  background: linear-gradient(to right, var(--red) 0%, var(--red) 60%, var(--linen) 60%);
  border-radius: 2px; outline: none; cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12); cursor: pointer;
}

.filter-search {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid var(--linen); border-radius: 3px;
  font-family: var(--sans); font-size: 13px; color: var(--ink);
  background: var(--ivory); outline: none; margin-bottom: 10px;
  transition: border-color .2s;
}
.filter-search:focus { border-color: var(--stone); background: var(--white); }
.filter-search::placeholder { color: var(--stone); }

/* ── MAIN CONTENT ── */
.main-content { flex: 1; min-width: 0; padding: 0; }

/* ── TOOLBAR ── */
.results-toolbar {
  position: sticky; top: var(--header-sticky-h); z-index: 200;
  background: rgba(253,252,250,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linen);
  padding: 0 32px;
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.rt-left { display: flex; align-items: center; gap: 20px; }
.rt-count { font-size: 13px; color: var(--smoke); white-space: nowrap; }
.rt-count strong { color: var(--ink); font-weight: 600; }

.active-filters { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.af-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 2px;
  background: var(--red-tint); color: var(--red-dk);
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  white-space: nowrap;
}
.af-chip button {
  background: none; border: none; cursor: pointer;
  color: var(--red); font-size: 13px; line-height: 1;
  padding: 0; transition: color .15s;
}
.af-chip button:hover { color: var(--red-dk); }

.rt-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sort-select {
  height: 32px; padding: 0 28px 0 12px;
  border: 1.5px solid var(--linen); border-radius: 2px;
  font-family: var(--sans); font-size: 12px; color: var(--smoke);
  background: var(--white); outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A7A7A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  transition: border-color .2s;
}
.sort-select:focus { border-color: var(--stone); }

.view-toggle { display: flex; gap: 2px; }
.vt-btn {
  width: 32px; height: 32px; border-radius: 2px;
  border: 1.5px solid var(--linen); background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--stone); transition: all .2s;
}
.vt-btn:hover { border-color: var(--stone); color: var(--smoke); }
.vt-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ── FEATURED BANNER ── */
.featured-banner {
  margin: 24px 32px 0;
  border-radius: 3px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 280px; cursor: pointer;
  position: relative;
  text-decoration: none; color: inherit;
}
.featured-banner:hover { opacity: 0.98; }
.fb-image {
  background: linear-gradient(145deg, #0a0e14 0%, #111c28 40%, #0e1820 70%, #0a0e10 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.fb-image .fb-form1 {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,35,43,0.06) 0%, transparent 60%);
}
.fb-image .fb-label {
  font-family: var(--display); font-size: 100px; letter-spacing: 4px;
  color: rgba(255,255,255,0.04); z-index: 1;
}
.fb-image .fb-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--red); color: var(--white);
  font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px;
}
.fb-content {
  background: var(--ink); padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.fb-content .fc-tag {
  font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red-lt); margin-bottom: 12px;
}
.fb-content h2 {
  font-family: var(--serif); font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300; font-style: italic; color: var(--white);
  line-height: 1.2; margin-bottom: 12px;
}
.fb-content p { font-size: 13px; color: var(--stone); line-height: 1.65; margin-bottom: 24px; }
.fb-meta { display: flex; gap: 24px; }
.fb-meta .fm-item .fm-key {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash); margin-bottom: 3px;
}
.fb-meta .fm-item .fm-val { font-size: 13px; color: var(--stone); }
.fb-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--red); color: var(--white);
  border: none; padding: 12px 24px; border-radius: 2px; cursor: pointer;
  transition: background .2s; align-self: flex-start;
}
.fb-cta:hover { background: var(--red-dk); }

/* ── PROJECT GRID ── */
.grid-container { padding: 24px 32px 64px; }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone);
  border-radius: 3px;
  overflow: hidden;
}
.proj-grid.view-list {
  grid-template-columns: 1fr;
  background: transparent;
  gap: 0;
  border-radius: 0;
}
.proj-grid.view-2col { grid-template-columns: 1fr 1fr; }

.pc {
  background: var(--white);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .25s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.pc:hover { background: var(--ivory); }

.pc.tall { grid-row: span 2; }
.pc.wide { grid-column: span 2; }

.pc .pc-thumb {
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.pc .pc-thumb-inner {
  width: 100%; height: 100%;
  transition: transform .7s var(--ease);
  background-size: cover;
  background-position: center;
}
.pc:hover .pc-thumb-inner { transform: scale(1.04); }

.pc:not(.tall):not(.wide) .pc-thumb { height: 220px; }
.pc.tall .pc-thumb { height: 100%; min-height: 480px; flex: 1; }
.pc.wide .pc-thumb { height: 300px; }

/* Placeholder backgrounds when no image */
.ph-a { background: linear-gradient(145deg,#1a1410,#2a1e14,#1e1810); }
.ph-b { background: linear-gradient(160deg,#e8e4dc,#d4cec4,#dcd8d0); }
.ph-c { background: linear-gradient(135deg,#0a141e,#0e1c2a,#141e2a); }
.ph-d { background: linear-gradient(150deg,#2a2820,#3a3428,#2e2a22); }
.ph-e { background: linear-gradient(140deg,#e0dbd2,#cec8be,#d8d2c8); }
.ph-f { background: linear-gradient(165deg,#080c10,#0c1218,#101820); }
.ph-g { background: linear-gradient(130deg,#1e180a,#2e260e,#241e0c); }
.ph-h { background: linear-gradient(155deg,#c8d4dc,#a8c0cc,#b8ccd8); }
.ph-i { background: linear-gradient(145deg,#1a0a0c,#2a1014,#200c10); }
.ph-j { background: linear-gradient(140deg,#121a10,#1a2a14,#182414); }
.ph-k { background: linear-gradient(160deg,#e4ddd4,#ccc4b8,#d8d0c4); }
.ph-l { background: linear-gradient(135deg,#1c1c14,#2a2a1c,#242418); }

.pc .pc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.pc:hover .pc-overlay { opacity: 1; }

.pc-save {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 2px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer; opacity: 0;
  transition: opacity .2s, background .2s;
  z-index: 2;
}
.pc:hover .pc-save { opacity: 1; }
.pc-save:hover { background: var(--red); }
.pc-save.saved { opacity: 1; background: var(--red); }

.pc-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; z-index: 2;
}
.pb-red { background: var(--red); color: var(--white); }
.pb-dark { background: rgba(0,0,0,0.7); color: var(--white); backdrop-filter: blur(4px); }
.pb-gold { background: rgba(184,147,74,0.9); color: var(--white); }

.pc-quick {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 20px 16px;
  transform: translateY(8px);
  opacity: 0; transition: all .3s var(--ease);
  z-index: 2;
}
.pc:hover .pc-quick { opacity: 1; transform: translateY(0); }
.pc-quick .pq-studio {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em; margin-bottom: 3px;
}
.pc-quick .pc-studio-link { color: inherit; text-decoration: none; }
.pc-quick .pc-studio-link:hover { text-decoration: underline; }
.pc-body .pc-studio-link { color: inherit; text-decoration: none; }
.pc-body .pc-studio-link:hover { text-decoration: underline; }
.pc-quick .pq-title {
  font-family: var(--serif); font-size: 16px; font-style: italic;
  color: var(--white); line-height: 1.3;
}

.pc-body {
  padding: 20px;
  flex: 1; display: flex; flex-direction: column;
}
.pc-body .pct {
  font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.pc-body h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  color: var(--ink); line-height: 1.25; margin-bottom: 6px;
}
.pc.tall .pc-body h3 { font-size: 22px; font-style: italic; }
.pc.wide .pc-body h3 { font-size: 22px; }
.pc-body .pcl { font-size: 12px; color: var(--ash); margin-bottom: 14px; }
.pc-body .pc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.pc-tag {
  font-size: 10px; letter-spacing: 0.06em; color: var(--stone);
  border: 1px solid var(--linen); padding: 3px 8px; border-radius: 2px;
  transition: border-color .15s, color .15s; cursor: pointer;
}
.pc-tag:hover { border-color: var(--red); color: var(--red); }
.pc-body .pc-footer {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linen);
  display: flex; align-items: center; justify-content: space-between;
}
.pc-footer .pf-saves {
  font-size: 11px; color: var(--stone);
  display: flex; align-items: center; gap: 5px;
}
.pc-footer .pf-year { font-size: 11px; color: var(--stone); }

/* ── LIST VIEW ── */
.proj-grid.view-list .pc {
  flex-direction: row; align-items: stretch;
  border-bottom: 1px solid var(--linen);
  border-radius: 0; background: var(--white);
  grid-row: span 1 !important; grid-column: span 1 !important;
}
.proj-grid.view-list .pc .pc-thumb { width: 200px; height: auto; min-height: 0; flex-shrink: 0; }
.proj-grid.view-list .pc .pc-thumb-inner { height: 100%; }
.proj-grid.view-list .pc .pc-body { padding: 24px 28px; }
.proj-grid.view-list .pc .pc-body h3 { font-size: 20px; font-style: italic; }
.proj-grid.view-list .pc .pc-quick { display: none; }

/* ── PAGINATION ── */
.pagination-wrap {
  padding: 24px 32px 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
}
.pagination-wrap .pagination-info {
  width: 100%; text-align: center; font-size: 13px; color: var(--smoke); margin-bottom: 8px;
}
.pagination-wrap .pagination-info strong { color: var(--ink); }
.pagination-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 16px;
  font-size: 13px; font-weight: 500; color: var(--smoke);
  border: 1.5px solid var(--linen); border-radius: 2px;
  background: var(--white); text-decoration: none;
  transition: all .2s;
}
.pagination-link:hover { border-color: var(--stone); color: var(--ink); }
.pagination-link.current {
  background: var(--ink); border-color: var(--ink); color: var(--white);
}
.pagination-link:hover.current { background: var(--red); border-color: var(--red); }

/* ── EMPTY STATE ── */
.empty-state {
  padding: 80px 32px; text-align: center; display: none;
}
.empty-state.show { display: block; }
.es-icon { font-size: 48px; margin-bottom: 20px; opacity: 0.3; }
.es-title { font-family: var(--serif); font-size: 28px; font-style: italic; color: var(--ink); margin-bottom: 10px; }
.es-desc { font-size: 14px; color: var(--ash); margin-bottom: 24px; }
.es-btn {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--red); color: var(--white);
  border: none; padding: 12px 28px; border-radius: 2px; cursor: pointer;
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--ink); color: var(--white);
  padding: 12px 22px; border-radius: 3px;
  font-size: 13px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 2000; opacity: 0; border-left: 3px solid var(--red);
  transition: transform .4s var(--ease), opacity .4s; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.filter-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 550; opacity: 0; transition: opacity .3s; pointer-events: none;
}
.filter-overlay.show { opacity: 1; pointer-events: auto; }
@media (min-width: 1101px) {
  .filter-overlay { display: none !important; }
}

.filter-toggle-mob {
  display: none; position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  align-items: center; justify-content: center;
  transition: background .2s;
}
.filter-toggle-mob:hover { background: var(--red); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pc { animation: fadeUp .45s var(--ease) both; }
.pc:nth-child(1)  { animation-delay: .04s; }
.pc:nth-child(2)  { animation-delay: .08s; }
.pc:nth-child(3)  { animation-delay: .12s; }
.pc:nth-child(4)  { animation-delay: .16s; }
.pc:nth-child(5)  { animation-delay: .20s; }
.pc:nth-child(6)  { animation-delay: .24s; }
.pc:nth-child(7)  { animation-delay: .28s; }
.pc:nth-child(8)  { animation-delay: .30s; }
.pc:nth-child(9)  { animation-delay: .32s; }
.pc.entering { animation: fadeUp .4s var(--ease) both; }

@media (max-width: 1100px) {
  .filter-sidebar {
    display: none;
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 600;
    width: 300px; max-width: 90vw; height: 100vh;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transition: transform .3s var(--ease);
  }
  .filter-sidebar.open {
    display: block;
    transform: translateX(0);
  }
  .filter-toggle-mob { display: flex; }
  :root { --filter-w: 0px; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .proj-grid { grid-template-columns: 1fr; }
  .pc.wide, .pc.tall { grid-column: span 1; grid-row: span 1; }
  .pc.tall .pc-thumb { min-height: 240px; }
  .featured-banner { grid-template-columns: 1fr; }
  .fb-image { min-height: 220px; }
  .results-toolbar { padding: 0 16px; }
  .grid-container { padding: 16px 16px 48px; }
  .page-header { padding: 36px 24px 32px; }
}

/* ── FOOTER (from index_march / footer_march) ── */
.lp-footer {
  background: var(--charcoal);
  padding: 64px 48px 40px;
}
.footer-grid-lp {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.fl-brand .fl-logo {
  font-family: var(--display);
  font-size: 48px;
  letter-spacing: 4px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
}
.fl-brand p {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ash);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 24px;
}
.fl-brand .fl-tagline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 12px;
}
.fl-brand .fl-tagline::before { content: '—'; }
.fl-col h5 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.fl-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fl-col ul li a {
  font-size: 13px;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s;
}
.fl-col ul li a:hover { color: var(--red-lt); }
.footer-bottom-lp {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom-lp p { font-size: 12px; color: var(--smoke); }
.footer-social { display: flex; gap: 12px; }
.fs-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--ash);
  text-decoration: none;
  transition: all 0.2s;
}
.fs-btn:hover { border-color: var(--red); color: var(--red-lt); }

@media (max-width: 1024px) {
  .footer-grid-lp { grid-template-columns: 1fr 1fr; }
  .lp-footer { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 768px) {
  .footer-grid-lp { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-lp { flex-direction: column; gap: 20px; text-align: center; }
}
