/* ═══════════════════════════════════════════════════════
   FORTITUDE MINDSET MASTERY — Design System
   White editorial theme + Fortitude Red (#D10000)
   ═══════════════════════════════════════════════════════ */

/* ── FONTS ── */
@font-face {
  font-family: 'Gentleman';
  src: url('/fonts/gentleman-400-light-webfont.woff2') format('woff2'),
       url('/fonts/gentleman-400-light-webfont.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Gentleman';
  src: url('/fonts/gentleman-600-regular-webfont.woff2') format('woff2'),
       url('/fonts/gentleman-600-regular-webfont.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Gentleman';
  src: url('/fonts/gentleman-800-bold-webfont.woff2') format('woff2'),
       url('/fonts/gentleman-800-bold-webfont.woff') format('woff');
  font-weight: 800;
  font-display: swap;
}

/* ── VARIABLES ── */
:root {
  --bg: #FFFFFF;
  --bg-alt: #FAFAFA;
  --bg-card: #FFFFFF;
  --text: #111111;
  --text-secondary: #444444;
  --text-muted: #888888;
  --red: #D10000;
  --red-bright: #E8334F;
  --red-dim: rgba(209,0,0,0.08);
  --red-glow: rgba(209,0,0,0.12);
  --border: #E8E8E8;
  --border-hover: rgba(209,0,0,0.24);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-red: 0 8px 32px rgba(209,0,0,0.10);
  --radius: 20px;
  --radius-sm: 12px;
  --max-width: 1200px;
  --content-width: 900px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--red-dim); color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--red-bright); }

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2.5rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-brand img { height: 28px; width: auto; }
.nav-brand-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2.7px;
  text-transform: uppercase;
  color: var(--text);
}
.nav-brand-text span { color: var(--red); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red) !important;
  color: #FFF !important;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--red-bright) !important;
  transform: translateY(-1px);
}
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: all 0.3s; }

/* ── SECTION PATTERN ── */
.section { padding: 6rem 2.5rem; }
.section--alt { background: var(--bg-alt); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-narrow { max-width: var(--content-width); margin: 0 auto; }
.section-bar {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-bottom: 1rem;
}
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.7px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.section-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.section-headline span { color: var(--red); }
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.82;
  max-width: 650px;
}

/* ── HERO ── */
.hero {
  padding: 10rem 2.5rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(209,0,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
  position: relative;
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 0.94;
  margin-bottom: 2rem;
  position: relative;
}
.hero h1 span { color: var(--red); }
.hero-subtitle {
  font-family: 'Gentleman', 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--red);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(209,0,0,0.20);
}
.btn-primary:hover {
  background: var(--red-bright);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(209,0,0,0.28);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--red);
  padding: 0.5rem 0;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--red-bright); }
.btn-ghost::after { content: ' \2192'; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.card-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}
.card-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── MINDSET LINE ── */
.mindset-line {
  max-width: 700px;
  margin: 3rem auto 0;
}
.mindset-above, .mindset-below {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.mindset-item {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mindset-above .mindset-item {
  background: rgba(209,0,0,0.06);
  color: var(--red);
  border: 1px solid rgba(209,0,0,0.15);
}
.mindset-below .mindset-item {
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.mindset-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
}
.mindset-divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.mindset-divider-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 4px;
  color: var(--red);
  white-space: nowrap;
}

/* ── STOIC JOURNEY ── */
.youtube-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  max-width: 800px;
  margin: 2.5rem auto 0;
}
.youtube-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--text);
  color: #FFFFFF;
  border-radius: var(--radius);
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(209,0,0,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-content { flex: 1; position: relative; }
.cta-banner-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2.7px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.cta-banner h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1rem;
}
.cta-banner h3 span { color: var(--red); }
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 500px;
}
.cta-banner .btn-primary { background: var(--red); color: #FFF; }
.cta-banner .btn-primary:hover { background: var(--red-bright); color: #FFF; }
.cta-banner .btn-secondary { border-color: rgba(255,255,255,0.2); color: #FFF; }
.cta-banner .btn-secondary:hover { border-color: var(--red); color: var(--red); }
.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── POST CARDS ── */
.post-card {
  display: block;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.3s;
}
.post-card:first-child { border-top: 1px solid var(--border); }
.post-card:hover { border-color: var(--red); }
.post-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.post-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.post-card:hover .post-title { color: var(--red); }
.post-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 700px;
}
.post-read {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 1rem;
  display: inline-block;
}

/* ── ARTICLE (Blog Posts) ── */
.article {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 8rem 2.5rem 4rem;
}
.article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.article h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 0.95;
  margin-bottom: 1rem;
}
.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.article-body h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}
.article-body p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.82;
}
.article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--red-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: 'Gentleman', 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}
.article-body li { margin-bottom: 0.5rem; line-height: 1.75; }
.article-body strong { color: var(--text); font-weight: 700; }

/* ── POST-ARTICLE CTA ── */
.article-cta {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.72);
  padding: 4rem 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-text {
  font-family: 'Gentleman', serif;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 350px;
  margin-top: 1rem;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; padding: 3rem 2rem; }
  .cta-banner p { max-width: none; }
  .cta-banner-actions { justify-content: center; }
}
@media (max-width: 768px) {
  .section { padding: 4rem 1.5rem; }
  .hero { padding: 8rem 1.5rem 4rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  nav { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .mobile-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .mindset-above, .mindset-below { grid-template-columns: 1fr; }
  .article { padding: 7rem 1.5rem 3rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 3.5rem; }
  .section-headline { font-size: 2.5rem; }
  .card { padding: 1.75rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
}
