/* ============================================
   JUXFIT — Performance Coaching
   Industrial Athletic Aesthetic
   ============================================ */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Custom Properties --- */
:root {
  --bg: #080808;
  --surface: #121212;
  --surface-raised: #1a1a1a;
  --accent: #D4A843;
  --accent-hover: #E6BE5A;
  --accent-dim: rgba(212, 168, 67, 0.12);
  --text: #F0F0F0;
  --text-muted: #8A8A8A;
  --badge-green: #3ECF5C;

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --max-width: 1200px;
  --section-pad: 100px;
  --section-pad-mobile: 64px;
  --card-gap: 20px;
  --radius: 4px;
}

/* --- Grain Overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-top: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 56px;
}

/* --- Scroll Animation --- */
.fade-in {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance, 30px), 0);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.visible {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a.active {
  color: var(--accent);
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
    padding: 10px;
    margin: -6px;
  }

  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav__links.open {
    max-height: 320px;
  }

  .nav__links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .nav__links a {
    display: block;
    padding: 20px;
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .nav__links a::after {
    display: none;
  }

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

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

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

/* Offset for fixed nav */
section, footer {
  scroll-margin-top: 72px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* Animated gradient orb */
.hero::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background:
    radial-gradient(ellipse 600px 600px at 30% 40%, rgba(212, 168, 67, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 70% 60%, rgba(212, 168, 67, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 800px 800px at 50% 50%, rgba(20, 20, 40, 0.4) 0%, transparent 70%);
  animation: heroGlow 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -10px) scale(1.05); }
}

/* Diagonal cut line decoration */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Grid pattern overlay */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 24px 120px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 6px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #FFFFFF 40%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero__content {
    padding: 110px 24px 80px;
  }

  .hero::after {
    height: 40px;
  }

}

/* --- Button --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 16px 40px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: #080808;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 168, 67, 0.25);
}

.btn--primary:hover::after {
  transform: translateX(100%);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(212, 168, 67, 0.4);
}

.btn--outline:hover {
  background: var(--accent);
  color: #080808;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* --- About --- */
.about {
  padding: var(--section-pad) 0;
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.about__photo-placeholder {
  width: 260px;
  height: 260px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid rgba(212, 168, 67, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  margin: 0 auto;
  position: relative;
}

/* Corner accent marks */
.about__photo-placeholder::before,
.about__photo-placeholder::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent);
  border-style: solid;
}

.about__photo-placeholder::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.about__photo-placeholder::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.about__bio {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 560px;
  font-weight: 300;
}

/* Stats ribbon */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  margin-bottom: 48px;
}

.stats__item {
  padding: 40px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.stats__item:last-child {
  border-right: none;
}

.stats__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1.5px;
  background: var(--accent);
}

.stats__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 2px;
}

.stats__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Credentials */
.credentials {
  max-width: 680px;
  margin: 0 auto;
}

.credentials__toggle {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  cursor: pointer;
  padding: 16px 0;
  text-align: center;
  display: block;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
}

.credentials__toggle:hover {
  color: var(--accent-hover);
}

.credentials__list {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.credentials__list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.credentials__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__photo-placeholder {
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }

  .about__bio {
    margin: 0 auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item {
    padding: 28px 16px;
  }

  .stats__item:nth-child(2) {
    border-right: none;
  }

  .stats__item:nth-child(1),
  .stats__item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* --- Programs --- */
.programs {
  padding: var(--section-pad) 0;
  background: var(--surface);
  position: relative;
}

/* Top diagonal cut */
.programs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.programs .container {
  position: relative;
  z-index: 1;
}

.programs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
}

/* --- Cards --- */
.card {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  overflow: hidden;
}

/* Subtle top accent line */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: background 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.card:hover::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.card--featured {
  border-color: rgba(212, 168, 67, 0.25);
}

.card--featured::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #080808;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 2px;
}

.card__badge--green {
  background: var(--badge-green);
  color: #080808;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.card__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 300;
}

.card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 24px;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.card__list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  padding-left: 24px;
  position: relative;
}

.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

.card__price {
  margin-bottom: 28px;
}

.card__amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 1px;
}

.card__amount small {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.card__note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.card__cta {
  align-self: flex-start;
}

.card--small .card__cta {
  margin-top: auto;
}

.card--workshops {
  grid-column: 1 / -1;
  width: min(100%, 760px);
  margin: 8px auto 0;
  min-height: 260px;
}

.card--workshops .card__desc {
  max-width: 640px;
}

@media (max-width: 768px) {
  .programs__grid {
    grid-template-columns: 1fr;
  }

  .programs::before {
    height: 40px;
  }

  .card {
    padding: 28px;
  }

  .card__cta {
    align-self: stretch;
    text-align: center;
  }
}

/* --- Testimonials --- */
.testimonials {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.94), rgba(12, 12, 12, 0.98));
}

/* Bottom diagonal */
.testimonials::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.testimonials .section-title {
  margin-bottom: 48px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin-bottom: 64px;
}

.testimonial {
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 67, 0.15);
}

/* Big quote mark */
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(212, 168, 67, 0.1);
  line-height: 1;
}

.testimonial__stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.testimonial__quote {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  font-style: italic;
  font-weight: 300;
  flex-grow: 1;
  margin-bottom: 24px;
}

.testimonial__author {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.testimonial__author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.testimonial__author span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Featured on */
.featured-on {
  text-align: center;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.featured-on__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 16px;
  font-weight: 600;
}

.featured-on__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.featured-on__sep {
  color: var(--accent);
  opacity: 0.4;
}

@media (max-width: 768px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }

  .testimonial {
    padding: 28px;
  }

  .testimonials::after {
    height: 30px;
  }

  .featured-on__items {
    flex-direction: column;
    gap: 12px;
  }

  .featured-on__sep {
    display: none;
  }
}

/* --- CTA --- */
.cta {
  padding: var(--section-pad) 0;
  position: relative;
}

.cta__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 40px;
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.cta__inner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Top accent line */
.cta__inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
}

.cta__text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

@media (max-width: 768px) {
  .cta__inner {
    padding: 48px 24px;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta__actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* --- Footer --- */
.footer {
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--bg);
  position: relative;
  z-index: 4;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 4px;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.footer__tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
}

.footer__social {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.3s ease;
}

.footer__social a:hover {
  color: var(--accent);
}

.footer__email {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer__email:hover {
  color: var(--accent);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__legal {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 24px;
  }

  .footer__grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__nav {
    flex-direction: row;
    gap: 0;
  }

  .footer__nav a {
    padding: 12px 16px;
  }
}

/* --- Julien Prieur content refresh --- */
:root {
  --brand-green: #42F04F;
  --line: rgba(255, 255, 255, 0.08);
  --nav-height: 72px;
  --nav-height-compact: 60px;
  --mobile-nav-height: 70px;
  --mobile-nav-height-compact: 58px;
}

body,
button,
.nav__logo,
.nav__links a,
.section-title,
.section-kicker,
.coach-signature,
.hero__title,
.hero__subtitle,
.btn,
.stats__number,
.stats__label,
.card__title,
.card__amount,
.credentials__list li,
.footer__logo,
.footer__tagline,
.footer__nav a {
  letter-spacing: 0;
}

.section-kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 4rem;
  line-height: 0.98;
  max-width: 760px;
}

.hero {
  min-height: 92vh;
  justify-content: flex-start;
  isolation: isolate;
  --hero-image-opacity: 0.92;
  --hero-image-brightness: 0.96;
  --hero-image-contrast: 1.02;
  --hero-dim-opacity: 0;
}

.hero::before {
  width: auto;
  height: auto;
  inset: 0;
  top: 0;
  left: 0;
  background: url("assets/julien-hero.webp") 58% center / cover no-repeat;
  animation: none;
  transform: none;
  z-index: -2;
  opacity: var(--hero-image-opacity, 0.92);
  filter:
    brightness(var(--hero-image-brightness, 0.96))
    contrast(var(--hero-image-contrast, 1.02));
}

.hero::after {
  height: 120px;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0) 0%, var(--bg) 90%);
  clip-path: none;
  z-index: -1;
}

.hero__overlay {
  z-index: -1;
  box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, var(--hero-dim-opacity, 0));
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.74) 38%, rgba(8, 8, 8, 0.2) 70%, rgba(8, 8, 8, 0.68) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.08) 46%, rgba(8, 8, 8, 0.82) 100%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.hero__content {
  text-align: left;
  max-width: var(--max-width);
  padding-top: 160px;
  padding-bottom: 110px;
}

.hero__title {
  max-width: 760px;
  font-size: 5.8rem;
  line-height: 0.92;
  margin-bottom: 26px;
}

.hero__subtitle {
  max-width: 560px;
  margin: 0 0 36px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn--ghost:hover {
  color: #080808;
  background: var(--brand-green);
  border-color: var(--brand-green);
  transform: translateY(-2px);
}

.principle-strip {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.94) 0%, #0b0b0b 46%, rgba(8, 8, 8, 0.96) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.principle-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(212, 168, 67, 0.06) 50%, transparent 100%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, 100% 38px;
  opacity: 0.72;
}

.principle-strip__inner {
  position: relative;
  z-index: 1;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.principle-strip__quote {
  max-width: 640px;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.14;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  text-wrap: balance;
}

.about {
  padding-top: 120px;
}

.about__grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: stretch;
  margin-bottom: 0;
}

.about__photo {
  position: relative;
  min-height: 520px;
  opacity: var(--portrait-opacity, 1);
  transform: translate3d(0, var(--portrait-y, 0), 0);
  transition:
    opacity 0.16s linear,
    transform 0.16s linear;
  will-change: opacity, transform;
}

.about__photo::before,
.about__photo::after {
  content: '';
  position: absolute;
  border-color: var(--brand-green);
  border-style: solid;
  z-index: 2;
}

.about__photo::before {
  top: -12px;
  left: -12px;
  width: 82px;
  height: 82px;
  border-width: 2px 0 0 2px;
}

.about__photo::after {
  right: -12px;
  bottom: -12px;
  width: 82px;
  height: 82px;
  border-width: 0 2px 2px 0;
}

.about__photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  filter:
    brightness(var(--portrait-brightness, 1))
    saturate(var(--portrait-saturation, 1))
    contrast(var(--portrait-contrast, 1));
  transition:
    filter 0.16s linear,
    opacity 0.16s linear;
  will-change: filter;
}

.about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coach-signature {
  display: inline-grid;
  gap: 2px;
  align-self: flex-start;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(212, 168, 67, 0.7);
  font-family: var(--font-heading);
}

.coach-signature span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.coach-signature small {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.46);
  text-transform: uppercase;
}

.about__text .section-title {
  margin-bottom: 28px;
}

.about__bio {
  max-width: 720px;
  font-size: 1.08rem;
  color: rgba(240, 240, 240, 0.72);
}

.about__bio + .about__bio {
  margin-top: 18px;
}

.proof {
  padding: calc(var(--section-pad) + 120px) 0 var(--section-pad);
  position: relative;
  background: var(--bg);
}

.video-demo {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.98) 0%, rgba(8, 8, 8, 1) 100%);
}

.video-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(212, 168, 67, 0.07), transparent 38%, rgba(66, 240, 79, 0.035)),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}

.video-demo .container {
  position: relative;
}

.video-demo__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: center;
}

.video-demo__copy {
  max-width: 480px;
}

.video-demo__copy .section-title {
  margin-bottom: 24px;
}

.video-demo__text {
  color: rgba(240, 240, 240, 0.72);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.video-demo__points {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.video-demo__points li {
  position: relative;
  padding-left: 24px;
  color: rgba(240, 240, 240, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.video-demo__points li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--brand-green);
  border-radius: 1px;
  transform: translateY(-50%) rotate(45deg);
}

.video-demo__actions {
  display: flex;
}

.video-demo__player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  padding: 10px;
  border: 1px solid rgba(212, 168, 67, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(212, 168, 67, 0.12), transparent 34%),
    rgba(4, 4, 4, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.video-demo__player-shell::before,
.video-demo__player-shell::after {
  content: '';
  position: absolute;
  width: 84px;
  height: 84px;
  pointer-events: none;
  border-color: var(--brand-green);
  border-style: solid;
}

.video-demo__player-shell::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.video-demo__player-shell::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

.video-demo__player-shell iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: calc(var(--radius) - 1px);
  background: #050505;
}

.proof::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

.proof .container {
  position: relative;
}

.proof__intro {
  margin-bottom: 42px;
}

.proof .stats {
  margin-bottom: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof .stats__number {
  font-size: 3.35rem;
}

.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 42px;
  align-items: start;
}

.proof__media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.proof__media img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: saturate(1.05) contrast(1.03);
}

.proof__media img:first-child {
  grid-column: 1 / -1;
  min-height: 360px;
}

.proof__media img:nth-child(3) {
  object-position: center 42%;
}

.credentials-panel {
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius);
  padding: 34px;
  background: rgba(18, 18, 18, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.credentials-panel .credentials__list {
  padding: 0;
  gap: 13px;
}

.credentials-panel .credentials__list li {
  color: rgba(240, 240, 240, 0.78);
  font-size: 0.94rem;
}

.credentials-panel .credentials__list li::before {
  border-color: var(--brand-green);
}

.cta {
  background:
    linear-gradient(rgba(8, 8, 8, 0.86), rgba(8, 8, 8, 0.92)),
    url("assets/juxfit-workshop.webp") center / cover no-repeat;
}

.cta__inner {
  background: rgba(8, 8, 8, 0.76);
  backdrop-filter: blur(10px);
}

@media (min-width: 1200px) {
  .hero__title {
    font-size: 6.2rem;
  }
}

@media (max-width: 980px) {
  .section-title {
    font-size: 3.2rem;
  }

  .hero {
    min-height: 860px;
  }

  .hero::before {
    background-position: 66% center;
  }

  .hero__content {
    padding-top: 130px;
  }

  .hero__title {
    font-size: 4.2rem;
    max-width: 640px;
  }

  .about__grid,
  .proof__grid {
    grid-template-columns: 1fr;
  }

  .about__photo,
  .about__photo img {
    min-height: 620px;
  }

  .proof__grid {
    gap: 32px;
  }

  .video-demo__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .video-demo__copy {
    max-width: 640px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.8rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.76) 0%, rgba(8, 8, 8, 0.5) 42%, rgba(8, 8, 8, 0.94) 100%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.38) 100%);
  }

  .hero__content {
    padding-top: 126px;
    padding-bottom: 80px;
  }

  .hero__title {
    font-size: 3.35rem;
    max-width: 460px;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }

  .hero__actions .btn {
    text-align: center;
  }

  .video-demo {
    padding: var(--section-pad-mobile) 0;
  }

  .video-demo__player-shell {
    min-height: auto;
    padding: 7px;
  }

  .about {
    padding-top: calc(var(--section-pad-mobile) + 72px);
  }

  .about__grid {
    text-align: left;
    gap: 34px;
  }

  .about__photo,
  .about__photo img {
    min-height: 430px;
  }

  .about__bio {
    margin: 0;
    font-size: 1rem;
  }

  .proof {
    padding: calc(var(--section-pad-mobile) + 72px) 0 var(--section-pad-mobile);
  }

  .proof .stats {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
  }

  .proof .stats__number {
    font-size: 2.8rem;
  }

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

  .proof__media img,
  .proof__media img:first-child {
    min-height: 260px;
  }

  .credentials-panel {
    padding: 26px;
  }
}

@media (max-width: 480px) {
  .container,
  .nav__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-title {
    font-size: 2.45rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero__title {
    font-size: 2.95rem;
  }

  .principle-strip__inner {
    min-height: 160px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .principle-strip__quote {
    font-size: 1.45rem;
  }

  .video-demo__text {
    font-size: 0.96rem;
  }

  .video-demo__actions .btn {
    width: 100%;
    text-align: center;
  }

  .about__photo,
  .about__photo img {
    min-height: 360px;
  }

  .proof .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 46px;
  }

  .proof .stats__item {
    padding: 30px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .proof .stats__item:nth-child(2),
  .proof .stats__item:nth-child(4) {
    border-right: 0;
  }

  .proof .stats__item:nth-child(1),
  .proof .stats__item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .proof .stats__item:nth-child(3) {
    border-bottom: 0;
  }

  .proof .stats__number {
    font-size: 2.7rem;
  }

  .proof .stats__label {
    font-size: 0.58rem;
    line-height: 1.35;
  }
}

/* --- Tablet --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 200px 1fr;
    gap: 36px;
  }

  .about__photo-placeholder {
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }

  .programs__grid {
    gap: 16px;
  }

  .card {
    padding: 28px;
  }
}

/* --- Reduce grain on mobile for perf --- */
@media (max-width: 768px) {
  body::after {
    opacity: 0.02;
    background-size: 128px 128px;
  }
}

/* --- Small Mobile --- */
@media (max-width: 420px) {
  :root {
    --section-pad: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .hero__content {
    padding: 100px 20px 64px;
  }

  .hero__title {
    font-size: 3rem;
    letter-spacing: 2px;
  }

  .hero__subtitle {
    letter-spacing: 1px;
  }

  .about__photo-placeholder {
    width: 160px;
    height: 160px;
    font-size: 2.5rem;
  }

  .card {
    padding: 24px;
  }

  .card__title {
    font-size: 1.4rem;
  }

  .card__amount {
    font-size: 1.6rem;
  }

  .stats__number {
    font-size: 2rem;
  }

  .cta__inner {
    padding: 40px 20px;
  }
}

/* Final cascade for the Julien refresh, after legacy responsive rules. */
body,
button,
.nav__logo,
.nav__links a,
.section-title,
.section-kicker,
.coach-signature,
.hero__title,
.hero__subtitle,
.btn,
.stats__number,
.stats__label,
.card__title,
.card__amount,
.credentials__list li,
.footer__logo,
.footer__tagline,
.footer__nav a {
  letter-spacing: 0;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about__grid,
  .proof__grid {
    grid-template-columns: 1fr;
  }

  .about__photo,
  .about__photo img {
    min-height: 620px;
  }
}

html {
  scroll-padding-top: calc(var(--mobile-nav-height-compact) + 18px);
}

section,
footer {
  scroll-margin-top: calc(var(--mobile-nav-height-compact) + 18px);
}

.nav {
  top: 0;
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.24s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  will-change: transform, opacity;
}

.nav.nav--compact {
  background: rgba(8, 8, 8, 0.985);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.nav.nav--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(-100% - 2px), 0);
}

.nav__inner {
  height: var(--nav-height);
  transition:
    height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.28s ease;
}

.nav.nav--compact .nav__inner {
  height: var(--nav-height-compact);
}

.hero::before,
.hero__overlay {
  top: var(--nav-height);
  transition:
    top 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.18s linear,
    filter 0.18s linear,
    box-shadow 0.18s linear;
}

.hero::before {
  background-position: 58% top;
}

@media (min-width: 769px) {
  html {
    scroll-padding-top: calc(var(--nav-height-compact) + 24px);
  }

  section,
  footer {
    scroll-margin-top: calc(var(--nav-height-compact) + 24px);
  }
}

@media (max-width: 768px) {
  .nav__inner {
    height: var(--mobile-nav-height);
  }

  .nav.nav--compact .nav__inner {
    height: var(--mobile-nav-height-compact);
  }

  .nav__logo {
    font-size: 1.78rem;
    transition: font-size 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav.nav--compact .nav__logo {
    font-size: 1.56rem;
  }

  .nav__toggle {
    gap: 5px;
  }

  .nav__toggle span {
    width: 25px;
  }

  .nav__links {
    top: var(--mobile-nav-height);
    transition:
      max-height 0.34s cubic-bezier(0.16, 1, 0.3, 1),
      top 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav.nav--compact .nav__links {
    top: var(--mobile-nav-height-compact);
  }

  .nav__links a {
    padding: 17px 20px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: min(720px, 92svh);
    align-items: flex-end;
    --hero-image-opacity: 1;
    --hero-image-brightness: 1.12;
    --hero-image-contrast: 1.04;
    --hero-dim-opacity: 0;
  }

  .hero::before {
    top: var(--mobile-nav-height);
    background-position: 58% top;
    opacity: var(--hero-image-opacity, 1);
    filter:
      brightness(var(--hero-image-brightness, 1.12))
      contrast(var(--hero-image-contrast, 1.04));
  }

  .hero__overlay {
    top: var(--mobile-nav-height);
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.46) 0%, rgba(8, 8, 8, 0.2) 32%, rgba(8, 8, 8, 0.86) 100%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.66) 0%, rgba(8, 8, 8, 0.18) 100%),
      linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: auto, auto, 64px 64px, 64px 64px;
  }

  .hero__content {
    padding: 116px 20px 68px;
  }

  .hero__title {
    max-width: 350px;
    font-size: clamp(2.55rem, 12vw, 3.12rem);
    line-height: 0.94;
    margin-bottom: 18px;
  }

  .hero__subtitle {
    max-width: 336px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    max-width: 340px;
  }

  .hero__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 11px;
    font-size: 0.75rem;
    text-align: center;
    white-space: nowrap;
  }

  .hero__actions .btn--primary {
    box-shadow: none;
  }

  .hero__actions .btn--ghost {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .principle-strip__inner {
    min-height: 118px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .principle-strip__quote {
    font-size: 1.42rem;
  }

  .about {
    padding-top: 72px;
  }

  .proof {
    padding-top: 84px;
  }

  .video-demo__copy {
    display: contents;
  }

  .video-demo__player-shell {
    order: 2;
  }

  .video-demo__actions {
    order: 3;
    margin-top: 4px;
  }

  .video-demo__actions .btn {
    width: 100%;
    text-align: center;
  }

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

  .credentials-panel {
    order: 1;
  }

  .proof__media {
    order: 2;
  }
}

@media (max-width: 480px) {
  .principle-strip__inner {
    min-height: 106px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .principle-strip__quote {
    font-size: 1.32rem;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: min(690px, 92svh);
  }

  .hero__content {
    padding: 106px 20px 62px;
  }

  .hero__title {
    max-width: 332px;
    font-size: clamp(2.48rem, 12.4vw, 2.95rem);
    letter-spacing: 0;
  }

  .hero__subtitle {
    max-width: 326px;
    letter-spacing: 0;
  }

  .hero__actions {
    max-width: 326px;
  }

  .about {
    padding-top: 58px;
  }
}

@media (max-width: 420px) {
  .hero__title {
    letter-spacing: 0;
  }

  .hero__subtitle {
    letter-spacing: 0;
  }

  .about__photo,
  .about__photo img {
    min-height: 360px;
  }
}
