/* Preppers Meet 2026 — mobile-first, nature-forward */
:root{
  --bg: #0b0f0c;
  --panel:#0f1511;
  --panel2:#121b15;
  --text:#e9f2ea;
  --muted:#b6c2b8;
  --line: rgba(233,242,234,.12);
  --accent:#7ddc8a; /* fresh moss */
  --accent2:#f5d36b; /* warm sun */
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 10% 0%, rgba(125,220,138,.10), transparent 60%),
              radial-gradient(1000px 600px at 90% 10%, rgba(245,211,107,.08), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.section{padding:56px 0}
.kicker{letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-size:.78rem}
.h1{font-family: ui-serif, Georgia, 'Times New Roman', serif; font-weight:600; font-size:clamp(2rem, 4vw, 3.1rem); line-height:1.05; margin:.35rem 0 0}
.h2{font-family: ui-serif, Georgia, 'Times New Roman', serif; font-weight:600; font-size:clamp(1.6rem, 2.4vw, 2.2rem); margin:0 0 10px}
.p{color:var(--muted); margin:0}

.badge{
  display:inline-flex; gap:8px; align-items:center;
  border:1px solid var(--line);
  background: rgba(15,21,17,.65);
  padding:8px 12px;
  border-radius:999px;
  font-size:.9rem;
  color:var(--muted);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(125,220,138,.35);
  background: linear-gradient(180deg, rgba(125,220,138,.18), rgba(125,220,138,.08));
  color:var(--text);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  font-weight:600;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.btn:hover{transform: translateY(-1px); filter:brightness(1.06)}
.btn.secondary{
  border-color: rgba(233,242,234,.18);
  background: rgba(15,21,17,.50);
}
.btn.sun{
  border-color: rgba(245,211,107,.40);
  background: linear-gradient(180deg, rgba(245,211,107,.20), rgba(245,211,107,.08));
}

hr.sep{border:0; border-top:1px solid var(--line); margin:24px 0}

.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,27,21,.70), rgba(15,21,17,.55));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.grid{display:grid; gap:14px}
.grid.two{grid-template-columns:1fr}
.grid.three{grid-template-columns:1fr}
@media (min-width: 860px){
  .grid.two{grid-template-columns:1.2fr .8fr}
  .grid.three{grid-template-columns:repeat(3, 1fr)}
}

/* Header */
header.site{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,12,.65);
  border-bottom:1px solid var(--line);
}
.navbar{display:flex; align-items:center; justify-content:space-between; padding:12px 0}

/* Brand baseline */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.02em;
}

/* Legacy dot (safe to keep if still used elsewhere) */
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  background: radial-gradient(circle at 30% 30%, rgba(125,220,138,.55), rgba(125,220,138,.12));
  border:1px solid rgba(125,220,138,.35);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

.brand small{
  display:block;
  font-weight:600;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.7rem;
}

/* Header logo */
.brand-logo{
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.45));
}

nav.links{display:none; gap:18px; align-items:center}
nav.links a{
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
}
nav.links a:hover{color:var(--text); border-color: var(--line); background: rgba(15,21,17,.4)}

.nav-cta{display:none}
.burger{
  display:inline-flex;
  border:1px solid var(--line);
  background: rgba(15,21,17,.55);
  border-radius:12px;
  padding:10px;
}
.burger svg{width:22px;height:22px}

@media (min-width: 980px){
  nav.links{display:flex}
  .nav-cta{display:flex; gap:10px}
  .burger{display:none}
}

/* Mobile drawer */
.drawer-backdrop{
  position:fixed; inset:0; background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  display:none;
  z-index:80;
}
.drawer{
  position:fixed; top:0; right:0; height:100%; width:min(88vw, 380px);
  background: linear-gradient(180deg, rgba(18,27,21,.92), rgba(11,15,12,.92));
  border-left:1px solid var(--line);
  box-shadow: -10px 0 30px rgba(0,0,0,.5);
  transform: translateX(110%);
  transition: transform .18s ease;
  z-index:90;
  padding:16px;
  display:flex; flex-direction:column; gap:14px;
}
.drawer.open{transform: translateX(0)}
.drawer-backdrop.open{display:block}
.drawer a{padding:12px 12px; border-radius:14px; border:1px solid var(--line); background: rgba(15,21,17,.45); color:var(--text)}
.drawer a span{color:var(--muted); display:block; font-size:.85rem; margin-top:2px}
.drawer .row{display:flex; gap:10px}
.drawer .row a{flex:1; text-align:center}

/* Hero */
.hero{padding: 18px 0 0}
.hero-wrap{
  border-radius: 22px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  position:relative;
}
.hero-img{min-height: 420px; background: url('../img/preppers-meet-home.jpg') center/cover no-repeat}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(11,15,12,.78), rgba(11,15,12,.25) 58%, rgba(11,15,12,.10));
  display:flex; align-items:end;
}

.hero-content{
  padding: 22px;
  padding-top: 60px;   /* shift text down */
  max-width: 720px;
}

.hero-title{
  font-family: ui-serif, Georgia, 'Times New Roman', serif;
  font-size: clamp(2.0rem, 4.3vw, 3.3rem);
  line-height:1.02;
  margin:0 0 10px;
  text-shadow: 0 14px 30px rgba(0,0,0,.55);
}
.hero-sub{
  color: rgba(233,242,234,.88);
  margin:0 0 16px;
  font-size: 1.02rem;
  text-shadow: 0 10px 24px rgba(0,0,0,.55);
}

/* Hero quick strip (buttons + pills moved out of the image area) */
.hero-quick{ margin-top: 14px; }
.hero-quick-inner{
  border: 1px solid var(--line);
  background: rgba(15,21,17,.35);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 12px;
}
.hero-quick-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-quick-pills{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Pills */
.pills{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.pill{
  border:1px solid var(--line);
  background: rgba(15,21,17,.55);
  border-radius:999px;
  padding:8px 12px;
  color:var(--muted);
  font-size:.92rem;
}

/* Feature tiles */
.tile{padding:16px}
.tile h3{margin:0 0 6px; font-size:1.02rem}
.tile p{margin:0; color:var(--muted)}
.icon{
  width:36px; height:36px; border-radius:14px;
  display:grid; place-items:center;
  border:1px solid rgba(125,220,138,.25);
  background: rgba(125,220,138,.10);
  margin-bottom:10px;
}
.icon svg{width:18px;height:18px; opacity:.95}

/* =========================
   Sponsors (under copy, centered, responsive)
   ========================= */

.section.sponsors{
  padding: 80px 0;
}
.section.sponsors .container{
  max-width: 1240px;
}

/* Track wrapper (looks like a nice panel) */
.sponsor-wrap{
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18,27,21,.60), rgba(15,21,17,.45));
  padding: 14px;
}

/* Mobile: horizontal scroll strip */
.sponsor-track{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.sponsor-track::-webkit-scrollbar{ height:10px; }
.sponsor-track::-webkit-scrollbar-thumb{
  background: rgba(233,242,234,.15);
  border-radius: 999px;
}

/* Sponsor tile */
.sponsor{
  flex: 0 0 auto;
  width: 240px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(15,21,17,.45);
  scroll-snap-align: center;
  text-align: center;
}

/* Logo sizing (single source of truth) */
.sponsor img{
  max-height: 120px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
}

/* Desktop: centered wrapping grid (no scrolling) */
@media (min-width: 860px){
  .sponsor-track{
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    justify-items: center;
    align-items: stretch;
    padding: 8px;
  }
  .sponsor{
    width: 100%;
    max-width: 320px;
    min-height: 170px;
  }
  .sponsor img{
    max-height: 135px;
  }
}

/* Footer */
footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  color:var(--muted);
  background: rgba(11,15,12,.55);
}
.footer-grid{display:grid; gap:12px; grid-template-columns:1fr}
@media (min-width: 860px){ .footer-grid{grid-template-columns: 1.2fr .8fr} }
.footer-links{display:flex; flex-wrap:wrap; gap:10px}
.footer-links a{padding:8px 10px; border:1px solid var(--line); border-radius:999px; background: rgba(15,21,17,.35)}

/* Footer brand — proportionate, restrained */
.footer-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:12px;
}
.footer-logo{
  width:72px;              /* mobile */
  height:auto;
  object-fit:contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.45));
}
.footer-brand-text{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.footer-brand-text strong{
  font-size:1.05rem;
  letter-spacing:.02em;
}
.footer-brand-text span{
  font-size:.88rem;
  color:var(--muted);
}
@media (min-width: 860px){
  .footer-logo{width:88px;} /* desktop */
}

/* === Desktop: remove right-side drawer entirely (prevents duplicate nav + horizontal scroll) === */
@media (min-width: 980px){
  .drawer,
  .drawer-backdrop{
    display: none !important;
  }
}
