/* ==========================================================================
   Tenn95 — shared stylesheet
   Design tokens pulled from the approved mockup. Change values here to
   retheme the whole site.
   ========================================================================== */

:root{
  --navy:#1B2A41;
  --navy-deep:#111d2e;
  --red:#A63A2B;
  --cream:#F3EAD6;
  --cream-soft:#EFE3C9;
  --charcoal:#2B2620;
  --gold:#C99A3B;
  --line:#D9C79F;
  --white:#FBF7ED;
}

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

body{
  background:var(--cream);
  color:var(--charcoal);
  font-family:'Public Sans', sans-serif;
  font-size:17px;
  line-height:1.55;
}

h1,h2,h3,.display{
  font-family:'Oswald', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.03em;
  color:var(--navy);
}

a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}

/* ---------- SITE HEADER ---------- */
.site-header{
  background:var(--cream);
  border-bottom:2px solid var(--navy);
  padding:16px 32px;
  display:flex; align-items:center; justify-content:space-between;
  position:sticky; top:0; z-index:50;
}
.wordmark img{height:52px; width:auto; display:block;}
nav.main-nav{display:flex; gap:28px; font-weight:600; font-size:14px; letter-spacing:0.03em; text-transform:uppercase;}
nav.main-nav a{padding-bottom:3px; border-bottom:2px solid transparent;}
nav.main-nav a.current{border-bottom-color:var(--red);}
nav.main-nav a:hover{border-bottom-color:var(--gold);}

/* ---------- HERO ---------- */
.hero{
  padding:64px 32px 56px;
  text-align:center;
  background:var(--navy);
}
.hero-inner{max-width:720px; margin:0 auto;}
.hero .eyebrow{
  color:var(--gold); font-weight:700;
  letter-spacing:0.15em; font-size:13px; text-transform:uppercase; margin-bottom:14px;
}
.hero h1{color:var(--white); font-size:44px; line-height:1.1; margin-bottom:16px;}
.hero h1 .accent{color:var(--gold);}
.hero p.sub{color:var(--cream-soft); font-size:17px; max-width:520px; margin:0 auto 30px;}

.cta-primary{
  display:inline-block;
  background:var(--red);
  color:var(--white);
  font-family:'Oswald'; font-weight:600; letter-spacing:0.05em;
  text-transform:uppercase;
  padding:16px 40px;
  border-radius:3px;
  border:2px solid var(--red);
  font-size:16px;
  box-shadow:0 4px 0 var(--navy-deep);
  cursor:pointer;
}
.cta-primary:hover{filter:brightness(1.08);}

.search-preview{
  margin:34px auto 0; max-width:480px;
  background:var(--cream); border:2px solid var(--navy); border-radius:4px;
  display:flex; overflow:hidden;
}
.search-preview input{
  flex:1; border:none; padding:14px 16px; font-family:'Public Sans'; font-size:15px; background:transparent; color:var(--charcoal);
}
.search-preview button{
  background:var(--navy); color:var(--white); border:none; padding:0 22px;
  font-family:'Oswald'; letter-spacing:0.04em; text-transform:uppercase; font-size:14px; cursor:pointer;
}

/* ---------- SECTIONS ---------- */
.section{padding:56px 32px; max-width:1180px; margin:0 auto;}
.section-head{display:flex; align-items:baseline; justify-content:space-between; margin-bottom:28px; border-bottom:2px solid var(--line); padding-bottom:14px; flex-wrap:wrap; gap:10px;}
.section-head h2{font-size:26px;}
.section-head .see-all{font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:var(--red); border-bottom:1px solid var(--red); padding-bottom:2px;}

/* ---------- PLATE CARD ---------- */
.plate-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:22px;}
.plate-card{background:var(--white); border-radius:6px; overflow:hidden; box-shadow:0 3px 0 rgba(27,42,65,0.15), 0 8px 18px rgba(27,42,65,0.08);}
.plate-photo{
  position:relative; aspect-ratio:2/1;
  background:var(--navy); background-size:cover; background-position:center;
  display:flex; align-items:center; justify-content:center;
  border-bottom:4px solid var(--navy);
  cursor:zoom-in;
}
.plate-photo .no-photo{color:var(--cream-soft); font-size:12px; text-transform:uppercase; letter-spacing:0.05em;}
.plate-meta{padding:14px 16px 16px;}
.plate-meta-line{
  font-family:'Oswald', sans-serif;
  font-weight:600;
  font-size:14.5px;
  color:var(--navy);
  letter-spacing:0.01em;
  margin-top:8px;
}
.plate-meta-line .sep{color:var(--gold); margin:0 6px; font-weight:400;}
.plate-meta-line .type{color:#7a7157; font-weight:500;}
.lightbox{position:fixed; inset:0; z-index:200; background:rgba(17,29,46,0.92); display:none; align-items:center; justify-content:center; padding:32px;}
.lightbox.open{display:flex;}
.lightbox-img{max-width:min(90vw, 1100px); max-height:88vh; border-radius:6px; box-shadow:0 12px 40px rgba(0,0,0,0.5);}
.lightbox-close{position:absolute; top:20px; right:28px; background:none; border:none; color:var(--white); font-size:36px; line-height:1; cursor:pointer;}

/* ---------- QUICK FILTER TILES ---------- */
.tile-row{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.tile{background:var(--navy); color:var(--white); border-radius:6px; padding:26px 22px; border-left:5px solid var(--gold); cursor:pointer;}
.tile h3{color:var(--white); font-size:19px; margin-bottom:6px;}
.tile p{font-size:14px; color:var(--cream-soft); margin-bottom:14px;}
.tile .go{font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; color:var(--gold);}

/* ---------- SECONDARY STRIP ---------- */
.strip{background:var(--cream-soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.strip-inner{max-width:1180px; margin:0 auto; padding:38px 32px; display:grid; grid-template-columns:1fr 1fr; gap:28px;}
.strip-card{background:var(--white); border-radius:6px; padding:22px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; border:1px solid var(--line);}
.strip-card .label{font-size:12px; text-transform:uppercase; letter-spacing:0.06em; color:var(--red); font-weight:700; margin-bottom:6px;}
.strip-card h4{font-family:'Oswald'; font-size:18px; color:var(--navy); margin-bottom:4px; text-transform:none; letter-spacing:0;}
.strip-card p{font-size:14px; color:#5c5646;}
.strip-btn{flex-shrink:0; background:var(--navy); color:var(--white); font-family:'Oswald'; font-size:13px; text-transform:uppercase; letter-spacing:0.04em; padding:10px 18px; border-radius:3px;}

/* ---------- EMPTY STATES ---------- */
.empty-state{
  text-align:center; padding:60px 24px; background:var(--white);
  border:1px dashed var(--line); border-radius:6px; color:#5c5646;
}
.empty-state h3{margin-bottom:8px; font-size:18px;}
.empty-state p{font-size:14px; max-width:420px; margin:0 auto;}

/* ---------- FOOTER ---------- */
footer{background:var(--navy-deep); color:var(--cream-soft); padding:36px 32px; text-align:center; font-size:13px;}
footer .fname{font-family:'Oswald'; color:var(--white); font-size:16px; letter-spacing:0.04em; margin-bottom:8px; display:flex; align-items:center; justify-content:center; gap:8px;}
footer .tristar-icon{width:20px; height:20px;}
.flinks{display:flex; justify-content:center; gap:24px; margin-top:14px; font-weight:600; text-transform:uppercase; letter-spacing:0.03em; font-size:12px;}

/* ---------- ARCHIVE PAGE ---------- */
.archive-header{background:var(--navy); padding:30px 32px 24px; color:var(--white);}
.archive-header h1{color:var(--white); font-size:28px; margin-bottom:6px;}
.archive-header p{color:var(--cream-soft); font-size:14px;}
.archive-body{max-width:1280px; min-width:0; margin:0 auto; padding:28px 32px 60px; display:grid; grid-template-columns:250px minmax(0, 1fr); gap:32px;}

.filter-toggle-btn{display:none;}
.filter-panel{background:var(--white); border:1px solid var(--line); border-radius:6px; padding:20px; align-self:start; position:sticky; top:80px;}
.filter-panel h3{font-size:13px; letter-spacing:0.05em; margin-bottom:16px; padding-bottom:10px; border-bottom:1px solid var(--line);}
.filter-group{margin-bottom:22px;}
.filter-group .fg-title{font-family:'Oswald'; font-size:12px; letter-spacing:0.05em; text-transform:uppercase; color:var(--navy); margin-bottom:10px; font-weight:600;}
.filter-option{display:flex; align-items:center; gap:8px; font-size:14px; margin-bottom:8px; color:var(--charcoal); cursor:pointer;}
.filter-option input{accent-color:var(--red); width:15px; height:15px;}
.filter-option .count{margin-left:auto; color:#9c937a; font-size:12px;}
.swatches{display:flex; gap:8px; flex-wrap:wrap;}
.swatch{width:26px; height:26px; border-radius:50%; border:2px solid var(--line); cursor:pointer;}
.swatch.on{border-color:var(--navy); box-shadow:0 0 0 2px var(--white), 0 0 0 3px var(--navy);}
.clear-filters{font-size:12px; color:var(--red); font-weight:600; cursor:pointer; text-decoration:underline; margin-top:6px;}

.results-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:12px;}
.results-col{min-width:0;}
.results-count{font-size:14px; color:#5c5646;}
.results-count b{color:var(--navy);}
.active-filters{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px;}
.chip{background:var(--navy); color:var(--white); font-size:12px; padding:6px 12px; border-radius:20px; display:flex; align-items:center; gap:6px; cursor:pointer;}
.sort-select{border:1px solid var(--line); background:var(--white); padding:9px 12px; border-radius:4px; font-family:'Public Sans'; font-size:14px; color:var(--navy);}

.pagination{display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px; margin-top:36px;}
.pagination button{width:36px; height:36px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:4px; font-size:14px; font-weight:600; background:var(--white); cursor:pointer;}
.pagination button.active{background:var(--navy); color:var(--white); border-color:var(--navy);}
.pagination button:disabled{opacity:0.4; cursor:default;}
.pagination-gap{width:20px; text-align:center; color:#9c937a;}
.back-to-top{position:fixed; bottom:24px; right:24px; z-index:60; width:44px; height:44px; border-radius:50%; background:var(--navy); color:var(--white); border:none; font-size:18px; cursor:pointer; box-shadow:0 4px 10px rgba(0,0,0,0.25); opacity:0; pointer-events:none; transition:opacity 0.2s ease;}
.back-to-top.visible{opacity:1; pointer-events:auto;}
.back-to-top:hover{filter:brightness(1.1);}

/* ---------- EVENTS PAGE ---------- */
.featured-event-section{padding:42px 32px 18px; background:var(--cream-soft);}
.featured-event-card{max-width:1180px; margin:0 auto; padding:28px 32px 34px; background:var(--navy); color:var(--white); border-radius:6px; border-left:6px solid var(--gold); box-shadow:0 8px 20px rgba(27,42,65,0.16);}
.featured-event-kicker{color:var(--gold); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:20px;}
.featured-event-layout{display:grid; grid-template-columns:150px 1fr; gap:32px; align-items:start;}
.featured-event-date{border:1px solid rgba(255,255,255,0.35); padding:18px 14px; text-align:center; color:var(--cream-soft); font-family:'Oswald'; display:flex; flex-direction:column; gap:4px;}
.featured-event-date span{font-size:13px; letter-spacing:0.08em;}
.featured-event-date strong{font-size:38px; line-height:1; color:var(--white);}
.featured-event-content h1{color:var(--white); font-size:30px; line-height:1.1; margin-bottom:7px;}
.featured-event-host{color:var(--cream-soft); font-size:14px; margin-bottom:24px;}
.featured-event-details{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px 28px; border-top:1px solid rgba(255,255,255,0.2); border-bottom:1px solid rgba(255,255,255,0.2); padding:18px 0;}
.featured-event-details div{display:grid; grid-template-columns:82px 1fr; gap:10px; font-size:14px;}
.featured-event-details b{color:var(--gold); font-size:12px; text-transform:uppercase; letter-spacing:0.05em;}
.featured-event-details span{color:var(--white); line-height:1.45;}
.featured-event-details small{color:var(--cream-soft); font-size:12px;}
.featured-event-highlights{display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 22px;}
.featured-event-highlights span{border:1px solid rgba(255,255,255,0.3); border-radius:20px; padding:5px 10px; color:var(--cream-soft); font-size:12px;}
.featured-event-actions{display:flex; align-items:center; flex-wrap:wrap; gap:18px;}
.featured-event-actions .cta-primary{background:var(--gold); color:var(--navy); border-color:var(--gold);}
.featured-event-link{color:var(--cream-soft); font-size:13px; font-weight:600; text-decoration:underline; text-underline-offset:3px;}
.event-card{background:var(--white); border:1px solid var(--line); border-radius:6px; padding:20px 24px; display:flex; gap:20px; margin-bottom:16px; align-items:flex-start;}
.event-date{background:var(--navy); color:var(--white); border-radius:4px; padding:10px 14px; text-align:center; min-width:74px; font-family:'Oswald';}
.event-date .mon{font-size:12px; letter-spacing:0.05em;}
.event-date .day{font-size:22px; font-weight:700; line-height:1;}
.event-body h3{font-size:17px; margin-bottom:4px;}
.event-body .meta{font-size:13px; color:#5c5646; margin-bottom:8px;}
.event-body .host{display:inline-block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; color:var(--red); margin-bottom:6px;}

/* ---------- COMMUNITY PAGE ---------- */
.community-block{max-width:560px; margin:0 auto; text-align:center; padding:70px 32px;}
.community-block p{margin:16px 0 28px; color:#5c5646;}

@media (max-width:860px){
  .site-header{flex-direction:column; gap:14px;}
  nav.main-nav{gap:18px; font-size:12px;}
  .hero h1{font-size:32px;}
  .tile-row{grid-template-columns:1fr;}
  .strip-inner{grid-template-columns:1fr;}
  .archive-body{grid-template-columns:1fr;}
  .plate-grid{grid-template-columns:1fr;}
  .filter-panel{position:static;}
  .filter-toggle-btn{display:flex; width:100%; max-width:100%; background:var(--navy); color:var(--white); font-family:'Oswald'; font-weight:600; letter-spacing:0.03em; text-transform:uppercase; font-size:14px; border:none; border-radius:4px; padding:12px 16px; margin-bottom:14px; align-items:center; justify-content:space-between; cursor:pointer;}
  .filter-panel{display:none;}
  .filter-panel.open{display:block;}
  .event-card{flex-direction:column;}
  .featured-event-section{padding:28px 18px 10px;}
  .featured-event-card{padding:22px 20px 26px;}
  .featured-event-layout{grid-template-columns:1fr; gap:22px;}
  .featured-event-date{max-width:120px;}
  .featured-event-content h1{font-size:25px;}
  .featured-event-details{grid-template-columns:1fr;}
}
