/* Cleaned stylesheet - remove any HTML/JS from this file.
   Drop back your original extra rules below as needed. */

:root{
  --gold:#c47b5a;
  --gold-soft:#f0c060;
  --teal:#66e0b8;
  --forest:#288366;
  --dark-forest:#0a2321;
  --crimson:#b94e3a;
  --nav-h:70px;
  --text:#d3e8df;
  --link-color:#dff7ee;
  --filter-bg:rgba(40,131,102,0.06);
  --black:#000000;
  --red:#ce1126;
  --green:#007a3d;
  --white:#ffffff;
}

/* ── KEFFIYEH STRIPE ── */
.keffiyeh-stripe{
  height:8px;
  background:repeating-linear-gradient(90deg,var(--black) 0,var(--black) 20px,var(--red) 20px,var(--red) 40px,var(--green) 40px,var(--green) 60px,var(--white) 60px,var(--white) 80px);
}

/* Reset / base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body,html{min-height:100vh;margin:0;padding:0;overflow-x:hidden}
body{
  background:linear-gradient(160deg,#102a24 0%,#143a2f 35%,#1b4938 65%,#102c25 100%);
  color:#f2f6f4;
  font-family:'Cormorant Garamond',Georgia,serif;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

html body{background:linear-gradient(160deg,#102a24 0%,#143a2f 35%,#1b4938 65%,#102c25 100%);background-attachment:fixed;color:#f2f6f4;}
html body main p,html body main li{color:#f2f6f4;font-size:1.08rem;line-height:1.8;}
html body .page-lead{color:#f2f6f4;font-size:1.25rem;line-height:1.7;}
html body .intro-card p,html body .hook-text,html body .about-card p,html body .prose-card > p,html body .closing-card p,html body .ss-intro-card p,html body .prose-block p{color:#f2f6f4;font-size:1.2rem;line-height:1.85;}
html body .spotlight-body,html body .nav-card p,html body .entry-card p,html body .film-ref-note,html body .matrix-table td,html body .omission-desc{color:#edf4f0;font-size:1.08rem;line-height:1.8;}
html body .section-lead{color:#edf4f0;font-size:1.28rem;line-height:1.8;}
html body .gloss-search{font-size:1rem;color:#f2f6f4;}
html body .gloss-search::placeholder,html body .gloss-search-icon,html body .gloss-count{color:#c7d9d1;font-size:0.88rem;}
html body .gloss-pill{font-size:0.86rem;color:#dce8e3;}
html body .alpha-jump a,html body .gloss-sidebar a{font-size:0.82rem;color:#c9dad3;}
html body .alpha-jump a.has-terms,html body .gloss-sidebar a.has-terms{color:#e0ebe6;}
html body .term-category{font-size:0.72rem;}
html body .term-source{font-size:0.82rem;color:#cfddd7;}
html body .term-def{font-size:1.17rem;line-height:1.85;color:#f2f6f4;}
html body .term-usage{font-size:1.08rem;line-height:1.8;color:#e0ebe6;}
html body .term-usage strong{font-size:0.78rem;color:#a9f0d9;}
html body .prose-eyebrow{font-size:0.8rem;opacity:1;}
html body .omission-director{font-size:0.82rem;color:#d3e0da;}
html body .omission-strategy{font-size:0.82rem;opacity:1;}
html body .detail-label,html body .card-eyebrow{font-size:0.8rem;opacity:1;}
html body .detail-value{font-size:1.12rem;color:#f0f5f2;}
html body .rq-list li{font-size:1.16rem;color:#a9f0d9;}
html body .film-card-meta{font-size:0.9rem;color:#e1ebe6;}
html body .film-card-coverage{font-size:1rem;color:#f0f5f2;}
html body .film-card-badge{font-size:0.8rem;}
html body .filter-pill{font-size:0.86rem;color:#e0ebe6;}
html body .mobile-nav-section-label{font-size:0.78rem;color:#c5d7cf;letter-spacing:0.2em;}
html body .nav-card-num{font-size:0.82rem;color:#c9dad3;}
html body .spotlight-quote{font-size:1.12rem;color:#e6efea;}
html body .spotlight-year{font-size:0.86rem;color:#f0f5f2;}
html body .intro-eyebrow,html body .spotlight-eyebrow,html body .entry-eyebrow,html body .hook-eyebrow{font-size:0.82rem;opacity:1;}
html body .project-community-module .community-body{color:#f0f5f2;}
html body .project-community-module .community-body p,html body .project-community-module .community-ar{font-size:1.1rem;}
html body .ss-eyebrow{font-size:0.82rem;opacity:1;}
html body .section-number{font-size:0.84rem;color:#cbdcd5;}
html body .section-type-tag{font-size:0.82rem;}
html body .category-tag{font-size:0.9rem;color:#e1ebe6;}
html body .vocab-card h4{font-size:0.82rem;color:#d9e5df;}
html body .vocab-def{font-size:0.9rem;line-height:1.7;color:#e0ebe6;}
html body .film-ref-dir{font-size:0.84rem;color:#dce8e3;}
html body .matrix-lead{font-size:1.15rem;color:#edf4f0;}
html body .matrix-table th{font-size:0.82rem;color:#e0ebe6;}
html body .opening-quote blockquote{color:#f2f6f4;}
html body .gap-list li{font-size:1.16rem;color:#f2f6f4;line-height:1.8;}
html body .page-eyebrow{font-size:0.82rem;opacity:1;}
html body .nav-dropdown-item-desc{font-size:0.78rem;color:#d3e0da;}
html body .no-results{font-size:1rem;color:#e1ebe6;}
html body .topnav .menu a,html body .topnav .nav-dropdown-trigger{font-size:1rem!important;padding:0.65rem 1rem!important;}

/* NAV */
.topnav{
  background:linear-gradient(180deg,rgba(10,35,33,0.98),rgba(10,35,33,0.95));
  padding:1.2rem 3rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 2px 20px rgba(0,0,0,0.3);
  position:sticky;
  top:0;
  z-index:1300;
  height:var(--nav-h);
  direction:ltr!important;
}
.topnav .brand{ font-family:'Oswald',sans-serif;font-size:1.3rem;font-weight:600;color:var(--gold);text-decoration:none; }
.topnav .menu{ display:flex; gap:0.5rem; align-items:center; }
.topnav .menu a{ color:var(--link-color); font-size:0.9rem; font-weight:500; padding:0.55rem 1rem; border-radius:6px; transition:all 0.3s; font-family:'Oswald',sans-serif; letter-spacing:0.3px; text-decoration:none; }
.topnav .menu a:hover, .topnav .menu a.active{ background:rgba(230,169,58,0.2); color:var(--gold); }

/* Hamburger (mobile nav trigger) - shared across all pages so it renders consistently */
.nav-hamburger{ display:none; background:none; border:none; padding:0.4rem; flex-direction:column; justify-content:center; gap:5px; cursor:pointer; }
.nav-hamburger span{ display:block; width:22px; height:2px; background:var(--link-color); border-radius:2px; transition:transform .18s,opacity .18s; }
.nav-hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2){ opacity:0; }
.nav-hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
@media (max-width:960px){
  .topnav .menu{ display:none; }
  .nav-hamburger{ display:flex; }
}


/* Dropdown */
.nav-dropdown{ position:relative; display:inline-block; }
.nav-dropdown-trigger{
  font-family:'Oswald',sans-serif;
  background:none;border:0;color:var(--link-color);
  padding:.55rem 1rem;border-radius:6px;cursor:pointer;
  display:flex;align-items:center;gap:.35rem;text-transform:none;
  font-size:0.9rem;font-weight:500;letter-spacing:0.3px;text-decoration:none;
  transition:all 0.3s;
}
.nav-dropdown-trigger:hover, .nav-dropdown-trigger.active{ background:rgba(230,169,58,0.2); color:var(--gold); }
.nav-dropdown-arrow{ font-size:.65rem; opacity:.75; transition:transform .25s; display:inline-block; }
.nav-dropdown.open .nav-dropdown-arrow, .nav-dropdown:hover .nav-dropdown-arrow{ transform:rotate(180deg); }

.nav-dropdown-menu{
  position:absolute; top:calc(100% + 8px); right:0; min-width:260px;
  background:rgba(8,28,26,0.98); border:1px solid rgba(230,169,58,0.22);
  border-radius:12px; padding:.5rem; opacity:0; pointer-events:none;
  transform:translateY(-8px); transition:opacity .22s, transform .22s;
  box-shadow:0 16px 48px rgba(0,0,0,.55); z-index:1400;
}
.nav-dropdown.open .nav-dropdown-menu, .nav-dropdown:hover .nav-dropdown-menu{
  opacity:1; pointer-events:auto; transform:translateY(0);
}
.nav-dropdown-item{ display:block; padding:.8rem 1rem; color:inherit; text-decoration:none; border-radius:8px; border-bottom:1px solid rgba(255,255,255,0.05); }
.nav-dropdown-item:last-child{ border-bottom:none; }
.nav-dropdown-item:hover{ background:rgba(230,169,58,0.08); }

/* helpers */
a{ color:var(--link-color); }
img,video{ max-width:100%; height:auto; display:block; }

/* Mobile overlay basics (kept here so CSS is present) */
.mobile-nav-overlay{
  transition:transform .36s cubic-bezier(.4,0,.2,1);
  overflow-y:auto; display:flex; flex-direction:column; transform:translateX(-100%);
  position:fixed; inset:0; background:rgba(5,20,18,0.97); z-index:2000;
}
.mobile-nav-overlay.open{ transform:translateX(0); }
.mobile-nav-header{ background:rgba(10,35,33,0.98); border-bottom:1px solid rgba(111,231,193,0.12); display:flex; align-items:center; justify-content:space-between; padding:1.2rem 1.4rem; }
.mobile-nav-brand{ font-family:'Oswald',sans-serif; font-size:1rem; color:var(--gold); text-decoration:none; }

/* continue with your other rules below... */