/* =============================================
   OVER 40 PROTOCOL — MAIN STYLESHEET
   Design: Clinical Authority Meets Raw Masculinity
   Colors: Deep Navy #0D1B2A | Gold #C9A84C | White #F4F4F4
   Fonts: Bebas Neue (headlines) | Inter (body)
   ============================================= */

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

:root {
  --navy: #0D1B2A;
  --navy-mid: #1B2B3A;
  --navy-light: #243447;
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --white: #F4F4F4;
  --white-dim: rgba(244,244,244,0.75);
  --gray: #8B9BB4;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition: 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.gold { color: var(--gold); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:active { transform: scale(0.97); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(244,244,244,0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-large { padding: 18px 40px; font-size: 17px; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(13,27,42,0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img { width: 40px; height: 40px; object-fit: contain; }
.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white-dim);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all var(--transition); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,27,42,0.92) 45%, rgba(13,27,42,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  max-width: 680px;
  margin-left: max(32px, calc((100vw - 1280px) / 2 + 32px));
}
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 110px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  color: var(--white);
}
.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--white-dim);
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 32px; color: var(--gold); letter-spacing: 0.02em; }
.stat-label { font-size: 12px; color: var(--gray); letter-spacing: 0.08em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: rgba(244,244,244,0.15); }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: rgba(27,43,58,0.8);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 20px 0;
}
.trust-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--gray); white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust-item { font-size: 14px; font-weight: 600; color: var(--white-dim); letter-spacing: 0.05em; }
.trust-sep { color: var(--gold); }

/* ===== SECTION COMMONS ===== */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 16px;
}
.section-subtitle { font-size: 17px; color: var(--gray); max-width: 600px; margin: 0 auto; }

/* ===== ABOUT SECTION ===== */
.about-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.about-bg { position: absolute; inset: 0; opacity: 0.3; }
.about-bg-img { width: 100%; height: 100%; object-fit: cover; }
.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-img-frame { position: relative; }
.about-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,0.2);
}
.about-img-badge {
  position: absolute;
  bottom: -20px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 24px;
  border-radius: var(--radius);
}
.badge-title { display: block; font-weight: 800; font-size: 14px; letter-spacing: 0.08em; }
.badge-sub { display: block; font-size: 12px; font-weight: 500; opacity: 0.8; }
.about-content-col { padding-top: 20px; }
.about-text { color: var(--white-dim); margin-bottom: 20px; font-size: 16px; line-height: 1.8; }
.about-text em { color: var(--gold); font-style: normal; font-weight: 600; }
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(27,43,58,0.6);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 14px 16px;
  border-radius: var(--radius);
}
.cred-icon { font-size: 18px; flex-shrink: 0; }
.cred-text { font-size: 13px; color: var(--white-dim); font-weight: 500; }

/* ===== PROTOCOLS SECTION ===== */
.protocols-section { padding: 100px 0; background: var(--navy-mid); }
.protocols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.protocol-card {
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}
.protocol-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.protocol-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.08), var(--navy));
  grid-column: span 1;
}
.protocol-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 2px;
}
.protocol-number {
  font-family: var(--font-display);
  font-size: 64px;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  margin-bottom: 8px;
}
.protocol-icon { font-size: 32px; margin-bottom: 16px; }
.protocol-title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 12px;
}
.protocol-desc { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }
.protocol-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: gap var(--transition);
}
.protocol-link:hover { color: var(--gold-light); }

/* ===== INTERVIEW SECTION ===== */
.interview-section {
  padding: 100px 0;
  background: var(--navy);
}
.interview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.interview-text { color: var(--white-dim); font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.interview-text strong { color: var(--white); }
.interview-quote {
  background: rgba(201,168,76,0.08);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--white);
  line-height: 1.6;
}
.interview-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.interview-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,0.2);
}

/* ===== ARTICLES SECTION ===== */
.articles-section { padding: 100px 0; background: var(--navy-mid); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.article-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.article-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
}
.article-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.article-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }
.article-link { font-size: 14px; font-weight: 700; color: var(--gold); }
.article-link:hover { color: var(--gold-light); }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg-img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: rgba(13,27,42,0.88);
}
.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.cta-subtitle { font-size: 17px; color: var(--white-dim); margin-bottom: 40px; line-height: 1.7; }
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto 16px;
}
.form-input {
  background: rgba(27,43,58,0.8);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
}
.form-input::placeholder { color: var(--gray); }
.form-input:focus { border-color: var(--gold); }
.cta-disclaimer { font-size: 12px; color: var(--gray); }

/* ===== FOOTER ===== */
.footer {
  background: #080F18;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 64px 0 32px;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { width: 48px; height: 48px; object-fit: contain; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
}
.footer-tagline { font-size: 14px; color: var(--gray); font-style: italic; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--gray); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(244,244,244,0.06);
}
.footer-legal { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.footer-legal a { color: var(--gray); text-decoration: underline; }
.footer-disclaimer { font-size: 11px; color: rgba(139,155,180,0.6); line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-col { max-width: 480px; }
  .protocols-grid { grid-template-columns: repeat(2, 1fr); }
  .interview-grid { grid-template-columns: 1fr; }
  .interview-image-col { max-width: 480px; }
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 100px 24px 60px; margin-left: 0; }
  .protocols-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .credentials-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .section-container { padding: 0 20px; }
  .about-section, .protocols-section, .interview-section, .articles-section, .cta-section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 52px; }
  .footer-links { grid-template-columns: 1fr; }
  .trust-container { flex-direction: column; align-items: flex-start; }
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .protocol-card, .article-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition), box-shadow var(--transition);
  }
  .protocol-card.visible, .article-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
