/* Custom CSS Variables & Root Theme Setup */
:root {
  --mens-vitality-bg: #090d16;
  --mens-vitality-surface: #111827;
  --mens-vitality-accent: #10b981;
  --mens-vitality-glow: #06b6d4;
  --mens-vitality-ink-primary: #f9fafb;
  --mens-vitality-ink-secondary: #9ca3af;
  --mens-vitality-gradient: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  --border-radius-custom: 16px;
  --shadow-custom: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Base Typographical Resets */
body {
  font-family: var(--font-body);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, .high-impact-header-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll Progress Bar CSS-only tracking */
@keyframes progress-grow {
  to { width: 100%; }
}
.scroll-progress {
  animation: progress-grow linear;
  animation-timeline: scroll();
}

/* Header Hamburger Toggle (CSS Only) */
#nav-toggle:checked ~ .link-cluster-drawer {
  display: flex !important;
}

.link-cluster-drawer {
  transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
  .link-cluster-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--mens-vitality-surface);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 2px solid var(--mens-vitality-accent);
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .link-cluster-drawer ul {
    gap: 2rem;
  }
}

.link-cluster-drawer a {
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease-in-out;
}

.link-cluster-drawer a:hover {
  color: var(--mens-vitality-accent) !important;
}

/* Custom classes replacing standard ones to bypass footprints */
.vitality-action-anchor-header {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.vitality-action-anchor-header:hover {
  opacity: 0.9;
}

/* Vertical Timeline Line Decoration (Preset B) */
.active-life-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-step-item:hover .timeline-number-badge {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--mens-vitality-accent);
}

.timeline-number-badge {
  z-index: 10;
  transition: all 0.3s ease;
}

/* Image Hover & Shadows */
.image-wrapper-decor img {
  transition: transform 0.4s ease;
}
.image-wrapper-decor:hover img {
  transform: scale(1.02);
}

/* CTA Underline Hover Effect */
.vitality-action-anchor-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--mens-vitality-accent);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.vitality-action-anchor-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Form Styles and Focus Effects */
.form-wrapper-block input:focus, .form-wrapper-block textarea:focus {
  border-color: var(--mens-vitality-accent) !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Scroll-Driven entrance views (Standard CSS Viewport transitions) */
@keyframes content-reveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wellness-editorial-department {
  view-transition-name: section-fade;
}

/* Layout improvements */
ul.bulleted-item-sequence {
  margin: 0;
  padding: 0;
}