/* GOOGLE FONTS IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:wght@700;800&display=swap');

/* THEMATIC CSS VARIABLES */
:root {
  --motion-bg: #FDFBF7; /* Warm alabaster cream background */
  --motion-surface: #F5F0E6; /* Warm natural sand color */
  --motion-deep-ink: #1E2522; /* High-contrast deep slate charcoal */
  --motion-leaf-accent: #2D6A4F; /* Vibrant forest green for high contrast elements */
  --motion-leaf-hover: #1B4332; /* Deeper forest green for safe hover actions */
  --motion-mint-soft: #D8F3DC; /* Light contrast accent background for indicators */
  --motion-forest-gradient: linear-gradient(135deg, #2D6A4F 0%, #40916C 100%);
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* BASE STYLING SETUP */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--motion-bg);
  color: var(--motion-deep-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--motion-deep-ink);
}

/* HEADER STYLE (STICKY) */
.biomech-steerage-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: var(--motion-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.biomech-header-inside {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.biomech-logo-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.motion-logo-icon {
  width: 34px;
  height: 34px;
  color: var(--motion-leaf-accent);
}

.biomech-logo-wording {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--motion-deep-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* MENU LINKS */
.joint-guide-roster {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.joint-guide-anchor {
  text-decoration: none;
  font-weight: 600;
  color: var(--motion-deep-ink);
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: color 0.25s ease;
  position: relative;
  padding: 5px 0;
}

.joint-guide-anchor:hover {
  color: var(--motion-leaf-accent);
}

.joint-guide-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--motion-leaf-accent);
  border-radius: 2px;
}

/* MOBILE HAMBURGER STYLING */
.steerage-checkbox {
  display: none;
}

.steerage-trigger-label {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.steerage-trigger-label span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--motion-deep-ink);
  border-radius: 9px;
  transition: all 0.3s cubic-bezier(1, 0, 0, 1);
}

/* SCROLL PROGRESS INDICATOR */
@keyframes progress-grow {
  to { width: 100%; }
}

.scroll-progress {
  height: 3px;
  width: 0;
  background: var(--motion-leaf-accent);
  animation: progress-grow linear;
  animation-timeline: scroll();
  position: absolute;
  bottom: 0;
  left: 0;
}

/* SCROLL REVEAL VIEWPORT ANIMATION */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: slide-up 0.6s linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* BILLBOARD HERO */
.biomech-billboard-stratum {
  position: relative;
  height: 85vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
}

.biomech-billboard-veil {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30,37,34, 0.45);
}

.biomech-billboard-capsule {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 90%;
  max-width: 800px;
}

.biomech-billboard-lead {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.biomech-billboard-tagline {
  font-size: 1.2rem;
  color: #eeeeee;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* ACTION BUTTON UTILITIES */
.biomech-action-link {
  display: inline-block;
  text-decoration: none;
  background: var(--motion-leaf-accent);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 1rem 2.2rem;
  border-radius: 999px; /* Pill Style */
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.biomech-action-link:hover {
  background: var(--motion-leaf-hover);
  transform: translateY(-2px);
}

/* SECTION PADDING COMPOSITION */
.biomech-scenic-stratum,
.biomech-virtues-stratum,
.motion-timeline-stratum,
.motion-prompt-stratum {
  padding: 10dvh 0; /* Normal Padding scale */
}

.biomech-scenic-capsule,
.biomech-virtues-capsule,
.motion-timeline-capsule,
.motion-prompt-capsule {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* SCENIC STRATUM OVERLAY */
.biomech-scenic-stratum {
  background-size: cover;
  background-position: center;
}

.biomech-segment-heading {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
}

.biomech-paragraph-prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--motion-deep-ink);
  margin-bottom: 1.5rem;
}

/* BENTO GRID LAYOUT */
.biomech-bento-matrix {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.biomech-bento-panel-wide,
.biomech-bento-panel-stat,
.biomech-bento-panel-medium,
.biomech-bento-panel-landscape {
  border-radius: 20px; /* Soft Style */
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); /* Raised shadow */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.biomech-bento-panel-wide:hover,
.biomech-bento-panel-stat:hover,
.biomech-bento-panel-medium:hover,
.biomech-bento-panel-landscape:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.biomech-bento-panel-wide {
  grid-column: span 4;
}

.biomech-bento-panel-stat {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biomech-bento-panel-medium {
  grid-column: span 3;
}

.biomech-bento-panel-landscape {
  grid-column: span 6;
}

.biomech-bento-interior h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* TIMELINE METHOD STEPS */
.motion-timeline-track {
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.motion-timeline-node {
  flex: 1;
  background: var(--motion-bg);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.motion-timeline-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--motion-leaf-accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(45, 106, 79, 0.3);
}

.motion-timeline-node h3 {
  margin-top: 1rem;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* CTA BLOCK */
.motion-prompt-stratum {
  text-align: center;
}

/* FORM ELEMENTS */
.joint-reserve-form-shell {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.joint-reserve-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.joint-reserve-input-group label {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.joint-reserve-field {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--motion-deep-ink);
  outline: none;
  transition: border-color 0.25s ease;
}

.joint-reserve-field:focus {
  border-color: var(--motion-leaf-accent);
}

/* FAQ STYLE ACCORDION */
.biomech-accordion-details {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.biomech-accordion-summary {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--motion-deep-ink);
  padding: 1.25rem;
  cursor: pointer;
  outline: none;
  user-select: none;
}

/* FOOTER STYLING */
.biomech-foot-envelope {
  background-color: var(--motion-deep-ink);
  color: #ffffff;
  padding: 6rem 0 3rem 0;
  text-align: center;
}

.biomech-foot-capsule {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.biomech-foot-brand-axis {
  margin-bottom: 2.5rem;
}

.biomech-foot-guide-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.biomech-foot-guide-links a {
  text-decoration: none;
  color: #cccccc;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.biomech-foot-guide-links a:hover {
  color: var(--motion-mint-soft);
}

.biomech-disclaimer-copy {
  font-size: 0.8rem;
  color: #999999;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.5;
}

/* COOKIE BANNER STYLE */
.joint-cookies-banner-alert {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.1);
  padding: 1.5rem 2rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 9999;
}

.joint-cookies-banner-alert p {
  font-size: 0.95rem;
  color: var(--motion-deep-ink);
  max-width: 800px;
}

.joint-cookies-actions-group {
  display: flex;
  gap: 1rem;
}

.joint-cookies-consent-trigger {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  background: var(--motion-leaf-accent);
  color: #ffffff;
  transition: background 0.2s ease;
}

.joint-cookies-consent-trigger:hover {
  background: var(--motion-leaf-hover);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .steerage-trigger-label {
    display: flex;
  }

  .joint-guide-roster {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background-color: var(--motion-bg);
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    gap: 1rem;
    border-radius: 0 0 12px 12px;
  }

  .steerage-checkbox:checked ~ .joint-guide-roster {
    display: flex;
  }

  .steerage-checkbox:checked ~ .steerage-trigger-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .steerage-checkbox:checked ~ .steerage-trigger-label span:nth-child(2) {
    opacity: 0;
  }

  .steerage-checkbox:checked ~ .steerage-trigger-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .biomech-billboard-lead {
    font-size: 2rem;
  }

  .biomech-bento-matrix {
    grid-template-columns: 1fr;
  }

  .biomech-bento-panel-wide,
  .biomech-bento-panel-stat,
  .biomech-bento-panel-medium,
  .biomech-bento-panel-landscape {
    grid-column: span 1 !important;
  }

  .motion-timeline-track {
    flex-direction: column;
    gap: 3rem;
  }

  .motion-timeline-node {
    padding-top: 3rem;
  }

  .joint-cookies-banner-alert {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}