/* ============================================
   HybridStrengthLab — Shared Stylesheet
   Fonts: Bebas Neue + Inter via Google Fonts
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:       #0D0D0D;
  --white:       #F5F5F0;
  --accent:      #E8440A;
  --gray:        #888888;
  --light-gray:  #EEEEE8;
  --dark-gray:   #1A1A1A;
  --mid-gray:    #333333;
  --border:      #E0DFD9;
  --max-w:       1200px;
  --article-w:   780px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- SITE HEADER ---- */
.site-header {
  background: var(--black);
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.site-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #AAAAAA;
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

.site-nav a.nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}

.site-nav a.nav-cta:hover {
  background: var(--accent);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

/* ---- SITE FOOTER ---- */
.site-footer {
  background: var(--black);
  border-top: 1px solid #222;
  padding: 24px;
  text-align: center;
}

.site-footer p {
  font-size: 12px;
  color: #555;
  letter-spacing: 0.04em;
}

/* ---- ARTICLE LAYOUT ---- */
.article-page {
  max-width: var(--article-w);
  margin: 0 auto;
  padding: 64px 24px 100px;
}

/* Preserve all article inner styles — only override header/footer/wrapper */
.article-page .hero {
  margin-bottom: 56px;
  border-left: 4px solid var(--accent);
  padding-left: 24px;
}

.article-page .hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.article-page h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 20px;
}

.article-page .hero-meta {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.article-page .intro {
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 48px;
  padding: 28px 32px;
  background: var(--black);
  color: var(--white);
  border-radius: 4px;
}

.article-page h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: 0.03em;
  color: var(--black);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.article-page h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-page p { margin-bottom: 20px; }
.article-page strong { font-weight: 600; }

.article-page ul,
.article-page ol {
  margin: 20px 0 28px 0;
  padding-left: 24px;
}

.article-page li { margin-bottom: 10px; }

.article-page a {
  color: var(--accent);
  text-decoration: underline;
}

.article-page .callout {
  background: var(--light-gray);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  margin: 40px 0;
  border-radius: 0 4px 4px 0;
}

.article-page .callout p { margin-bottom: 0; }
.article-page .callout strong { color: var(--accent); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  max-width: var(--article-w);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 12px;
  color: var(--gray);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb span { color: #ccc; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #222;
  }

  .site-nav.open { display: flex; }

  .nav-toggle { display: flex; }

  .article-page { padding: 40px 16px 80px; }
  .article-page .intro { padding: 20px; font-size: 17px; }
  .breadcrumb { padding: 12px 16px 0; }
}
