/* ============================================================
   Kill the Drifter — shared site styles
   Used by every page (index.html, blog.html, topic pages,
   about/author/products/recommendations, individual posts).
   ============================================================ */

:root{
  --bg: #0b0b0c;
  --bg-alt: #121214;
  --line: rgba(255,255,255,0.08);
  --ink: #eeece7;
  --ink-dim: #a3a19c;
  --accent: #c9622a;
  --accent-dim: #8a4620;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.display{
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  letter-spacing: 0.04em;
}
a{ color: inherit; }

/* subtle grain / vignette */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.04), rgba(0,0,0,0) 60%);
}

/* ---------------- NAV ---------------- */
nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6vw;
}
nav .mark{
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: #fff;
  text-decoration: none;
}
.nav-actions{
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn{
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-btn svg{ width: 20px; height: 20px; display:block; }

/* ---------------- SEARCH BAR (in-nav) ---------------- */
.search-wrap{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(11,11,12,0.98);
  border-bottom: 1px solid var(--line);
  padding: 18px 6vw;
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}
.search-wrap.open{ transform: translateY(0); }
.search-form{
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.search-form input{
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 18px;
  padding: 8px 4px;
}
.search-form input:focus{ outline: none; border-color: var(--accent); }
.search-form button{
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.search-close{
  background: none;
  border: none;
  color: var(--ink-dim);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* ---------------- MENU DRAWER ---------------- */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.menu-overlay.open{ opacity: 1; pointer-events: auto; }

.menu-drawer{
  position: fixed;
  top: 0; right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: #101011;
  border-left: 1px solid var(--line);
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 28px 30px;
  overflow-y: auto;
}
.menu-drawer.open{ transform: translateX(0); }
.menu-drawer-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.menu-drawer-head .mark{
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.15em;
}
.menu-close{
  background: none;
  border: none;
  color: var(--ink-dim);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.menu-section-label{
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 26px 0 12px;
}
.menu-section-label:first-of-type{ margin-top: 0; }
.menu-drawer a.menu-link{
  display: block;
  padding: 10px 0;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu-drawer a.menu-link:hover{ color: var(--accent); }

.menu-topics{
  padding-left: 14px;
}
.menu-topics a.menu-link{
  font-size: 15px;
  color: var(--ink-dim);
  padding: 8px 0;
  border-bottom: none;
}
.menu-topics a.menu-link:hover{ color: var(--accent); }

/* ---------------- FOOTER ---------------- */
footer{
  padding: 48px 6vw 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
footer .signature{
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  font-size: 14px;
}
.social-row{
  display: flex;
  gap: 20px;
  align-items: center;
}
.social-row a{
  color: var(--ink-dim);
  display: flex;
  transition: color 0.2s ease;
}
.social-row a:hover{ color: var(--accent); }
.social-row svg{ width: 18px; height: 18px; }
footer .copy{
  font-size: 12px;
  color: var(--ink-dim);
  opacity: 0.5;
}
footer .copy a{
  color: inherit;
  text-decoration: underline;
}
footer .copy a:hover{
  color: var(--accent);
  opacity: 1;
}

/* ---------------- GENERIC SECTION / PLACEHOLDER PAGE STYLES ---------------- */
section{
  padding: 110px 6vw;
  border-top: 1px solid var(--line);
  position: relative;
}
.section-inner{
  max-width: 780px;
  margin: 0 auto;
}
.section-inner.wide{ max-width: 1000px; }

.kicker{
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.page-hero{
  position: relative;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 6vw 60px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,98,42,0.10), transparent 60%),
    linear-gradient(180deg, #0b0b0c 0%, #0b0b0c 70%, #101011 100%);
}
.page-hero h1{
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 7vw, 76px);
  text-transform: uppercase;
  color: #fdfaf5;
  line-height: 1.05;
}
.page-hero .eyebrow{
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}

.coming-soon-box{
  border: 1px dashed var(--line);
  padding: 48px 32px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.coming-soon-box p{
  color: var(--ink-dim);
  font-size: 17px;
  font-style: italic;
}

@media (max-width: 600px){
  section{ padding: 80px 6vw; }
}
