/* ===================================================
   Average & Active — Shared Stylesheet
   =================================================== */

:root {
  --warm-black: #1a1814;
  --cream: #f5f0e8;
  --sand: #e8dfd2;
  --rust: #c4572a;
  --rust-light: #d4714a;
  --olive: #5a6340;
  --olive-light: #7a8660;
  --slate: #4a4a45;
  --warm-gray: #8a8578;
  --off-white: #faf8f4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--warm-black);
  overflow-x: hidden;
}

a { color: inherit; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(245, 240, 232, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 24, 20, 0.06);
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--warm-black);
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rust);
}

.nav-cta {
  background: var(--warm-black) !important;
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.85rem !important;
  transition: background 0.3s !important;
}

.nav-cta:hover {
  background: var(--rust) !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--warm-black);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SHARED SECTION STYLES ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--olive);
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 600px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--warm-gray);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 3.5rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--rust);
  color: var(--cream);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--rust-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 87, 42, 0.25);
}

.btn-secondary {
  color: var(--warm-black);
  padding: 1rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  color: var(--rust);
}

.btn-secondary svg {
  transition: transform 0.3s;
}

.btn-secondary:hover svg {
  transform: translateX(4px);
}

.btn-outline {
  border: 2px solid var(--warm-black);
  color: var(--warm-black);
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  background: transparent;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--warm-black);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 87, 42, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(90, 99, 64, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sand);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--olive);
  border-radius: 50%;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero h1 em {
  color: var(--rust);
  font-style: italic;
}

.hero-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: fadeUp 0.8s ease 0.3s both;
}

/* Hero visual - abstract shape composition */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-card {
  background: var(--warm-black);
  color: var(--cream);
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rust), var(--olive));
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(196, 87, 42, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.hero-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.65);
  font-weight: 300;
  margin-bottom: 2rem;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  background: rgba(245, 240, 232, 0.06);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rust-light);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.floating-badge {
  position: absolute;
  background: var(--off-white);
  color: var(--warm-black);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 30px;
  left: -30px;
  animation-delay: 2s;
}

/* ===== PILLARS ===== */
.pillars {
  padding: 6rem 2rem;
  background: var(--off-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(26, 24, 20, 0.05);
  transition: all 0.4s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rust);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.pillar-card:hover::after {
  transform: scaleX(1);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}

.pillar-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.pillar-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--warm-gray);
  font-weight: 300;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 7rem 2rem;
  background: var(--warm-black);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 5%;
  font-family: 'DM Serif Display', serif;
  font-size: 20rem;
  color: rgba(245, 240, 232, 0.03);
  pointer-events: none;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.manifesto h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.manifesto h2 em {
  color: var(--rust-light);
  font-style: italic;
}

.manifesto p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.6);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== WHAT TO EXPECT ===== */
.expect {
  padding: 6rem 2rem;
  background: var(--cream);
}

.expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0.5rem;
}

.expect-item {
  display: flex;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--off-white);
  border-radius: 14px;
  border: 1px solid rgba(26, 24, 20, 0.04);
  transition: all 0.3s;
}

.expect-item:hover {
  border-color: rgba(196, 87, 42, 0.15);
}

.expect-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--rust);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
}

.expect-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.expect-item p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.6;
  font-weight: 300;
}

/* ===== COMMUNITY SECTION ===== */
.community {
  padding: 6rem 2rem;
  background: var(--off-white);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
}

.community-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(26, 24, 20, 0.05);
  text-align: center;
  transition: all 0.4s;
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.community-icon {
  width: 64px;
  height: 64px;
  background: var(--sand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}

.community-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.community-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--warm-gray);
  font-weight: 300;
}

/* Testimonial cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(26, 24, 20, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--rust);
  opacity: 0.25;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warm-black);
}

.testimonial-author span {
  font-weight: 300;
  color: var(--warm-gray);
}

/* ===== VIDEO SECTION ===== */
.videos {
  padding: 6rem 2rem;
  background: var(--cream);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid rgba(26, 24, 20, 0.05);
  transition: all 0.4s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.video-thumb {
  position: relative;
  background: var(--warm-black);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-thumb-inner {
  font-size: 3rem;
  opacity: 0.5;
}

.play-btn {
  position: absolute;
  width: 56px;
  height: 56px;
  background: rgba(196, 87, 42, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.play-btn svg {
  fill: var(--cream);
  margin-left: 3px;
}

.video-card:hover .play-btn {
  background: var(--rust);
  transform: scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive);
  background: rgba(90, 99, 64, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.video-info h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.video-info p {
  font-size: 0.85rem;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.5;
}

.video-meta {
  font-size: 0.75rem;
  color: var(--warm-gray);
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
}

/* ===== CTA ===== */
.cta-section {
  padding: 6rem 2rem;
  background: var(--off-white);
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-box h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.email-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.email-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 2px solid var(--sand);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  background: var(--cream);
  color: var(--warm-black);
  outline: none;
  transition: border-color 0.3s;
}

.email-form input::placeholder {
  color: var(--warm-gray);
}

.email-form input:focus {
  border-color: var(--rust);
}

.email-form button {
  padding: 1rem 2rem;
  background: var(--rust);
  color: var(--cream);
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.email-form button:hover {
  background: var(--rust-light);
  transform: translateY(-1px);
}

.cta-note {
  font-size: 0.8rem;
  color: var(--warm-gray);
}

/* ===== SOCIALS BAR ===== */
.socials {
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  background: var(--off-white);
  border-top: 1px solid rgba(26, 24, 20, 0.05);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--sand);
  color: var(--warm-black);
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--warm-black);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
  padding: 3rem 2rem;
  background: var(--warm-black);
  color: var(--cream);
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.5);
  font-weight: 300;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--cream);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.5);
  font-weight: 300;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--rust-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.35);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(245, 240, 232, 0.06);
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: var(--rust);
  color: var(--cream);
}

/* ===== PAGE HERO (for subpages) ===== */
.page-hero {
  padding: 10rem 2rem 4rem;
  background: var(--warm-black);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 87, 42, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .section-label {
  color: var(--rust-light);
  justify-content: center;
}

.page-hero .section-label::before {
  background: var(--rust-light);
}

.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.page-hero h1 em {
  color: var(--rust-light);
  font-style: italic;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.6);
  font-weight: 300;
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}

/* ===== BLOG STYLES ===== */
.blog-section {
  padding: 5rem 2rem;
  background: var(--cream);
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
}

.blog-featured-img {
  background: var(--warm-black);
  border-radius: 16px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.6;
  overflow: hidden;
}

.blog-featured-content .blog-category {
  margin-bottom: 1rem;
}

.blog-featured-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-featured-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--warm-gray);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.blog-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

.cat-fitness {
  color: var(--rust);
  background: rgba(196, 87, 42, 0.1);
}

.cat-nutrition {
  color: var(--olive);
  background: rgba(90, 99, 64, 0.1);
}

.cat-family {
  color: #7a6340;
  background: rgba(122, 99, 64, 0.1);
}

.cat-longevity {
  color: var(--slate);
  background: rgba(74, 74, 69, 0.1);
}

.cat-mindset {
  color: #5a7a8a;
  background: rgba(90, 122, 138, 0.1);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--off-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26, 24, 20, 0.05);
  transition: all 0.4s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.blog-card-img {
  background: var(--warm-black);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.5;
  overflow: hidden;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin: 0.75rem 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--warm-gray);
  display: flex;
  justify-content: space-between;
}

/* Filter bar — shared between blog & recipes */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.filter-search {
  position: relative;
  max-width: 360px;
}

.filter-search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--warm-gray);
  pointer-events: none;
}

.filter-search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.75rem;
  border: 1.5px solid var(--sand);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--warm-black);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.3s;
}

.filter-search input::placeholder {
  color: var(--warm-gray);
}

.filter-search input:focus {
  border-color: var(--rust);
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filter-tags-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.25rem;
}

.tag-btn {
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  border-color: var(--sand);
  background: var(--off-white);
}

.tag-btn:hover,
.tag-btn.active {
  border-color: var(--olive);
  color: var(--olive);
  background: rgba(90, 99, 64, 0.06);
}

.filter-results {
  min-height: 1.5rem;
  margin-bottom: 0.5rem;
}

.result-count {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--warm-gray);
}

.filter-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--warm-gray);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Blog filter tabs */
.blog-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--sand);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--rust);
  color: var(--rust);
  background: rgba(196, 87, 42, 0.05);
}

/* ===== RECIPE STYLES ===== */
.recipe-section {
  padding: 5rem 2rem;
  background: var(--cream);
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.recipe-card {
  background: var(--off-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26, 24, 20, 0.05);
  transition: all 0.4s;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.recipe-card-img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.recipe-card-img.breakfast { background: linear-gradient(135deg, #f0e6d2, #e8d5b8); }
.recipe-card-img.lunch { background: linear-gradient(135deg, #d9e6d0, #c5d9b8); }
.recipe-card-img.dinner { background: linear-gradient(135deg, #e6d5cc, #d9c2b0); }
.recipe-card-img.snack { background: linear-gradient(135deg, #e0dce6, #d0c8d9); }
.recipe-card-img.smoothie { background: linear-gradient(135deg, #d2e0e6, #b8d2d9); }

.recipe-macros {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.macro-tag {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate);
}

.recipe-card-body {
  padding: 1.5rem;
}

.recipe-meal-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

.recipe-card-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.recipe-card-body p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.recipe-details {
  display: flex;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: var(--warm-gray);
}

.recipe-details span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Recipe filter (legacy — handled by .filter-tabs) */
.recipe-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* ===== IMAGE SUPPORT (blog + recipe cards & detail pages) ===== */
.blog-featured-img.has-image,
.blog-card-img.has-image {
  opacity: 1;
  background: var(--sand);
}

.blog-featured-img.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-card-img.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.recipe-card-img.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.recipe-card-img.has-image span {
  display: none;
}

.post-hero-image {
  margin: 0 0 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.post-hero-image.portrait {
  aspect-ratio: unset;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.post-hero-image.portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.recipe-hero-image {
  margin: 0 0 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.recipe-hero-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-story {
  padding: 5rem 2rem;
  background: var(--cream);
}

.about-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story-visual {
  background: var(--warm-black);
  border-radius: 20px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-story-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rust), var(--olive));
}

.about-story-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-story-content h2 em {
  color: var(--rust);
  font-style: italic;
}

.about-story-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

/* Values section */
.values-section {
  padding: 6rem 2rem;
  background: var(--off-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(26, 24, 20, 0.05);
  transition: all 0.4s;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--sand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
}

.value-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--warm-gray);
  font-weight: 300;
}

/* Timeline */
.timeline-section {
  padding: 6rem 2rem;
  background: var(--cream);
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--sand);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--rust);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.4rem;
  position: relative;
  left: 23px;
  z-index: 1;
}

.timeline-content {
  padding-left: 1rem;
}

.timeline-content h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.timeline-content .timeline-date {
  font-size: 0.8rem;
  color: var(--rust);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-btn {
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.3s;
}

.page-btn:hover {
  border-color: var(--rust);
  color: var(--rust);
}

.page-btn.active {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--cream);
}

/* Scroll-triggered fade in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .hero-card {
    max-width: 380px;
  }

  .badge-1, .badge-2 {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expect-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }

  .community-grid,
  .testimonial-grid,
  .video-grid,
  .blog-grid,
  .recipe-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .about-story-inner {
    grid-template-columns: 1fr;
  }

  .about-story-visual {
    aspect-ratio: 3/4;
  }

  .about-story-visual img {
    object-position: center;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .pillars-grid,
  .community-grid,
  .testimonial-grid,
  .video-grid,
  .blog-grid,
  .recipe-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .email-form {
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding: 7rem 1.5rem 3rem;
  }

  .page-hero {
    padding: 8rem 1.5rem 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .filter-search {
    max-width: 100%;
  }
}
