/* ==========================================================================
   Trim Track — base styles
   Hero/Nav section built from full Figma design context (node 1:70).
   Remaining sections are stubbed from Figma layout metadata (positions/text
   only, no exported code) pending further design-context pulls once the
   Figma MCP rate limit resets — treat spacing/sizing there as approximate.
   ========================================================================== */

@font-face {
  font-family: 'Navada Outline';
  src: url('../assets/fonts/navada/Navada%20Outline%20Demo.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-bg: #0a0a0a;
  --color-bg-alt: #141414;
  --color-white: #ffffff;
  --color-muted: #8e8e8e;
  --color-muted-2: #787171;
  --color-gold: #cda555;
  --color-border: #404040;

  --font-display: "Montserrat", sans-serif;
  --font-body: "Istok Web", sans-serif;
  --font-accent: "Jaro", sans-serif;
  --font-outline: "Navada Outline", sans-serif;

  --container-width: 1200px;
}

* {
  box-sizing: border-box;
}

/* No `scroll-behavior: smooth` here on purpose — Lenis (js/main.js) owns all
   scroll easing now; combining it with native smooth-scroll causes jank. It
   stays as a graceful native fallback only via initSmoothAnchors()'s
   `behavior: 'smooth'` call if the Lenis CDN fails to load. */

/* Lenis's own recommended support styles. */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

#home,
#about,
#product,
#joints,
#testimonials,
#contact {
  scroll-margin-top: 24px;
}

html,
body {
  /* Safety net: without this, any element that overflows its container
     horizontally (e.g. a fixed-width element wider than the mobile
     viewport) widens the whole document and lets the dark body background
     bleed through next to narrower sections below/above it — this is what
     was causing the black column and "Wherever You Do The Work" overflow
     reported on mobile. */
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 1.26px;
  font-size: 14px;
  color: var(--color-muted);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 2px;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.section__title .gold {
  color: var(--color-gold);
}

.section__body {
  max-width: 640px;
  color: #cfcfcf;
  font-size: 16px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
}

.btn--gold {
  background: var(--color-gold);
  color: #1a1a1a;
}

.btn--outline-gold {
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  width: 100%;
  border-radius: 10px;
}

.pill {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ---------------------------- HERO / NAV --------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px 0 140px;
  overflow: hidden;
  background: #000;
}

.hero__main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 48px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.navbar {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto 60px;
  padding: 12px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(24, 24, 24, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.navbar__logo {
  display: inline-flex;
}

.navbar__logo img {
  height: 64px;
  width: auto;
  /* No rotate on hover — a tilting logo reads as a rendering fault rather
     than an intentional effect. A slight fade is enough feedback. */
  transition: opacity 0.25s ease;
}

.navbar__logo:hover img {
  opacity: 0.85;
}

.navbar__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.navbar__menu a {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 100px;
  color: #d9d9d9;
  transition: color 0.2s ease, background-color 0.25s ease;
}

.navbar__menu a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.navbar__menu a.is-active {
  color: #1a1a1a;
  font-weight: 700;
  background: var(--color-gold);
}

.navbar__cta {
  flex-shrink: 0;
  padding: 11px 22px;
  font-size: 14px;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: 0 24px;
}

.hero__text .eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-muted);
  font-size: 15px;
  letter-spacing: 1.5px;
  margin-bottom: 0;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__eyebrow-line {
  display: inline-block;
  width: 23px;
  height: 1px;
  background: var(--color-muted-2);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 6.4vw, 92px);
  letter-spacing: -1px;
  line-height: 0.98;
  margin: 12px 0 24px 0;
  padding: 0;
  text-transform: uppercase;
}

.hero__headline--outline {
  font-family: var(--font-display);
  font-weight: 900;
  color: #000;
  letter-spacing: 12px;
  text-shadow:
    -1.5px -1.5px 0 var(--color-gold),
    1.5px -1.5px 0 var(--color-gold),
    -1.5px 1.5px 0 var(--color-gold),
    1.5px 1.5px 0 var(--color-gold),
    0 -1.5px 0 var(--color-gold),
    0 1.5px 0 var(--color-gold),
    -1.5px 0 0 var(--color-gold),
    1.5px 0 0 var(--color-gold);
}

.hero__subtext {
  max-width: 480px;
  color: #d9d9d9;
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 16px;
}

.hero__play {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-bottom: 16px;
}

.hero__play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  font-size: 12px;
}

.hero__stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}

.hero__stat-divider {
  width: 1px;
  height: 28px;
  background: var(--color-border);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}

.hero__stat-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--color-muted);
}

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__media-photo {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid rgba(205, 165, 85, 0.45);
  max-height: 320px;
  object-fit: cover;
  width: 81%;
  margin: 0 auto;
}

.hero__media-tag {
  position: absolute;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--color-white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero__media-tag::before {
  color: var(--color-gold);
  font-weight: 600;
}

.hero__media-tag--top {
  top: 6%;
  right: -6%;
}

.hero__media-tag--top::before {
  content: "01 ";
}

.hero__media-tag--bottom {
  bottom: 8%;
  left: -10%;
}

.hero__media-tag--bottom::before {
  content: "02 ";
}

.hero__media-dots {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-stat-bar-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 0 24px;
  max-width: 1100px;
  margin: -32px auto;
}

.hero__stat-bar {
  display: flex;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--color-gold);
  border-radius: 12px;
  overflow: hidden;
}

.hero__stat-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 12px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.hero__stat-bar-item:last-child {
  border-right: none;
}

.hero__stat-bar-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: #1a1a1a;
}

.hero__stat-bar-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(26, 26, 26, 0.7);
}

/* ---------------------------- GENERIC SECTIONS --------------------------- */

.section {
  padding: 135px 0;
  border-top: 1px solid #ffffff;
}

.section--about {
  background: #efeae1;
  color: #1a1a1a;
  border-top: none;
}

.section--about .eyebrow {
  color: #8a7a55;
  font-size: 12px;
}

.section--about .section__title {
  color: #1a1a1a;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.section--about .section__title .muted {
  color: #efeae1;
  text-shadow:
    -1.5px -1.5px 0 #9a9a9a,
    1.5px -1.5px 0 #9a9a9a,
    -1.5px 1.5px 0 #9a9a9a,
    1.5px 1.5px 0 #9a9a9a,
    0 -1.5px 0 #9a9a9a,
    0 1.5px 0 #9a9a9a,
    -1.5px 0 0 #9a9a9a,
    1.5px 0 0 #9a9a9a;
}

.section--about .section__body {
  color: #555;
  margin-bottom: 28px;
}

.about__top {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 50px;
}

.about__intro {
  flex: 1 1 420px;
  text-align: left;
}

.about__video-placeholder {
  flex: 1 1 480px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  background: #1a1a1a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-frame__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  object-position: top;
}

.video-frame__play {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.about__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
}

.about__split-panel {
  background: #e3ded2;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about__split-panel--way {
  background: #ffffff;
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 32px;
}

.about__split-way-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.about__split-way-heading {
  display: inline-block;
  width: fit-content;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.eyebrow--gold {
  color: var(--color-gold);
}

.about__split-panel--motion h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  margin: 24px 0 0;
  line-height: 1.3;
  color: #1a1a1a;
}

.about__split-panel--motion .muted {
  color: #e3ded2;
  text-shadow:
    -1.5px -1.5px 0 #9a9a9a,
    1.5px -1.5px 0 #9a9a9a,
    -1.5px 1.5px 0 #9a9a9a,
    1.5px 1.5px 0 #9a9a9a,
    0 -1.5px 0 #9a9a9a,
    0 1.5px 0 #9a9a9a,
    -1.5px 0 0 #9a9a9a,
    1.5px 0 0 #9a9a9a;
}

.about__split-panel--way p {
  color: #333;
  font-size: 15px;
  margin: 2px 0;
}

.about__split-photo {
  flex-shrink: 0;
  width: 140px;
  height: auto;
  align-self: stretch;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------------------------- BUILT FOR SERIOUS RESISTANCE --------------- */

.section--built {
  background: #efeae1;
  color: #1a1a1a;
  border-top: none;
}

.built__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.section--built .eyebrow {
  color: #8a7a55;
  font-size: 12px;
}

.built__intro .section__title {
  color: #1a1a1a;
  line-height: 1.15;
}

.built__intro .muted {
  color: #efeae1;
  text-shadow:
    -1.5px -1.5px 0 #9a9a9a,
    1.5px -1.5px 0 #9a9a9a,
    -1.5px 1.5px 0 #9a9a9a,
    1.5px 1.5px 0 #9a9a9a,
    0 -1.5px 0 #9a9a9a,
    0 1.5px 0 #9a9a9a,
    -1.5px 0 0 #9a9a9a,
    1.5px 0 0 #9a9a9a;
}

.built__intro .section__body {
  color: #555;
  margin-bottom: 24px;
}

.link-underline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: #1a1a1a;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 6px;
}

.built__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.built__list li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid #d8d2c6;
}

.built__list li:last-child {
  border-bottom: 1px solid #d8d2c6;
}

.built__num {
  font-size: 12px;
  color: #9a9a9a;
  padding-top: 4px;
}

.built__list h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
}

.built__list p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.section--product {
  background: url("../assets/images/product-section-bg.png") center / cover no-repeat;
  border-top: none;
}

.pricing-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.price-card {
  background: #141414c7;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.price-card__photo {
  width: 100%;
  aspect-ratio: 357 / 400;
  object-fit: cover;
}

.price-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 12px;
}

.price-card__copy {
  color: #b9b9b9;
  font-size: 14px;
  min-height: 60px;
}

.price-card__price {
  font-size: 18px;
  margin: 12px 0 0;
}

.price-card__divider {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin: 0 0 15px 0px;
}

.price-card__price .was {
  text-decoration: line-through;
  color: var(--color-muted);
  margin-right: 10px;
  font-size: 14px;
}

.price-card__price .now {
  color: var(--color-gold);
  font-weight: 700;
}

.section--joints {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url("../assets/images/banners/easy-on-all-joints-bg.png") center right / cover no-repeat;
  border-top: none;
  overflow: hidden;
  padding: 100px 0;
}

.joints__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 45%, rgba(0, 0, 0, 0) 80%);
}

.joints__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.joints__content {
  max-width: 700px;
}

.joints__intro {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: #cfcfcf;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.joints__pill {
  display: inline-block;
  background-color: #dfb25d;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  padding: 10px 24px;
  border-radius: 8px;
  margin-bottom: 40px;
  margin-top: 0;
  letter-spacing: 0.5px;
}

.joints__features {
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.joints__features li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e6e6e6;
  font-size: 17px;
  font-family: var(--font-body);
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.joints__features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.joints__feature-icon {
  font-size: 22px;
  flex-shrink: 0;
  color: #dfb25d;
}

.joints__thumbnails {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 40px;
}

.joints__thumbnails img {
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.joints__thumbnails img:nth-child(2) {
  margin-left: 100px;
}

.section--anywhere {
  background: #050505;
  padding: 120px 0;
  overflow: hidden;
}

.anywhere__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.anywhere__text {
  flex: 1;
}

.anywhere__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6.5vw, 84px);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  /* No `white-space: nowrap` — the line break is already controlled by the
     <br> in the markup, and nowrap made the headline overflow its flex
     column, which .section--anywhere's `overflow: hidden` then CLIPPED
     (that's the "WHEREVER Y… / DO THE WOR…" cut-off on narrow screens). */
  letter-spacing: 4px;
}

.anywhere__title--outline {
  font-family: var(--font-display);
  font-weight: 900;
  color: #050505;
  text-shadow:
    -1.5px -1.5px 0 var(--color-gold),
    1.5px -1.5px 0 var(--color-gold),
    -1.5px 1.5px 0 var(--color-gold),
    1.5px 1.5px 0 var(--color-gold),
    0 -1.5px 0 var(--color-gold),
    0 1.5px 0 var(--color-gold),
    -1.5px 0 0 var(--color-gold),
    1.5px 0 0 var(--color-gold);
}

.anywhere__gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* min() so the gallery scales down on tablet/small-laptop widths instead
     of holding a hard 600px and forcing the row to overflow (and get
     clipped by .section--anywhere's overflow: hidden). */
  width: min(600px, 45vw);
  height: 500px;
  flex-shrink: 0;
}

.anywhere__img {
  position: absolute;
  width: 240px;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid var(--color-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.anywhere__img--left {
  transform: translateX(-160px) translateY(30px) rotate(-12deg);
  z-index: 1;
}

.anywhere__img--center {
  transform: translateX(0) translateY(-10px) rotate(0deg);
  z-index: 3;
}

.anywhere__img--right {
  transform: translateX(160px) translateY(30px) rotate(12deg);
  z-index: 2;
}


.section--testimonials {
  background: #fbfbfb;
  color: #1a1a1a;
  padding: 100px 0;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonial__main-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  color: #1a1a1a;
  letter-spacing: 1px;
}

.testimonial__main-title--outline {
  font-family: var(--font-display);
  font-weight: 900;
  color: #fbfbfb;
  letter-spacing: 1px;
  margin-left: 8px;
  text-shadow:
    -1.5px -1.5px 0 #b0b0b0,
    1.5px -1.5px 0 #b0b0b0,
    -1.5px 1.5px 0 #b0b0b0,
    1.5px 1.5px 0 #b0b0b0,
    0 -1.5px 0 #b0b0b0,
    0 1.5px 0 #b0b0b0,
    -1.5px 0 0 #b0b0b0,
    1.5px 0 0 #b0b0b0;
}

.testimonials__layout {
  display: grid;
  /* minmax(0, …) so the card column can shrink below its content's
     min-content width instead of blowing the grid past the viewport. */
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.testimonials__avatars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonials__avatar {
  width: 200px;
  height: 240px;
  padding: 0;
  border-radius: 40px;
  border: 1px solid rgba(223, 178, 93, 0.3);
  background: #fef0db;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}

.testimonials__avatar--top {
  height: 110px;
  border-radius: 40px;
}

.testimonials__avatar--bottom {
  height: 110px;
  border-radius: 40px;
}

.testimonials__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.testimonials__avatar.is-active img {
  opacity: 1;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 60px;
  position: relative;
  color: #1a1a1a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.testimonial-card__bg-quote {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 400px;
  color: #f1f1f1;
  line-height: 1;
  font-weight: 900;
  z-index: 1;
  pointer-events: none;
}

.testimonial-card__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.testimonial-card blockquote {
  margin: 0 0 40px;
}

.testimonial-card__text-main {
  font-size: 32px;
  font-family: var(--font-display);
  font-weight: 600;
  color: #333333;
  line-height: 1.3;
  margin-bottom: 20px;
}

.testimonial-card__text-sub {
  font-size: 18px;
  font-family: var(--font-body);
  color: #666666;
  line-height: 1.5;
}

.testimonial-card__author-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 1px;
  color: #444;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
}

.testimonial-card__stars i {
  color: var(--color-gold);
  font-size: 14px;
}

.testimonial-card__badge {
  color: #888;
  font-size: 14px;
  margin: 0;
}

/* ---------------------------- CONTACT ------------------------------------ */

.section--contact {
  background: #efeae1;
  color: #1a1a1a;
}

.eyebrow--center {
  text-align: center;
  color: var(--color-gold);
}

.contact__title {
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.contact__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #bfbfbf1f;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid #cda55524;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #faf8f4;
  border-radius: 12px;
  padding: 16px;
}

.contact__info-row strong {
  display: block;
  margin-bottom: 4px;
}

.contact__info-row p {
  margin: 0;
  color: #555;
}

.contact__info-row a {
  color: #555;
}

.contact__icon {
  font-size: 18px;
  color: var(--color-gold);
}

.contact__map {
  border-radius: 12px;
  overflow: hidden;
}

.contact__map iframe {
  display: block;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form h3 {
  font-family: var(--font-display);
  margin: 0;
  color: #1a1a1a;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #333;
}

.contact__form input,
.contact__form textarea {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  resize: vertical;
}

.contact__submit {
  width: 100%;
  color: #1a1a1a;
}

.contact__about {
  grid-column: 2 / 3;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.contact__about-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__about-header h3 {
  font-family: var(--font-display);
  margin: 0;
  color: #1a1a1a;
}

.pill--small {
  padding: 4px 12px;
  font-size: 11px;
  border-color: var(--color-gold);
  color: var(--color-gold);
  margin: 0;
}

.contact__about p {
  color: #555;
  font-size: 14px;
}

.contact__response {
  color: #333 !important;
  font-weight: 600;
}

/* ---------------------------- FOOTER -------------------------------------- */

.footer {
  background: #111111;
  padding: 48px 0;
}

.footer__container {
  padding: 0 24px;
}

.footer__outline-box {
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  padding: 48px 48px 24px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__logo {
  height: 120px;
  width: auto;
  margin-bottom: 24px;
}

.footer__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-align: center;
  margin: 0;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.footer__divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 50px;
}

.footer__divider span {
  flex: 1;
  height: 1px;
  background: var(--color-gold);
}

.footer__diamond {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.footer__col ul a {
  color: #cfcfcf;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__col ul a::before {
  content: ">";
  color: var(--color-gold);
  font-weight: 900;
  margin-right: 12px;
  font-size: 14px;
}

.footer__col ul a:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  flex-shrink: 0;
}

.footer__contact-icon svg {
  width: 16px;
  height: 16px;
}

.footer__contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__contact-text strong {
  color: #fff;
  font-size: 14px;
}

.footer__contact-text span,
.footer__contact-text a {
  color: #999;
  font-size: 13px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.footer__contact-text a:hover {
  color: var(--color-gold);
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(205, 165, 85, 0.4);
  text-align: center;
}

.footer__copyright {
  color: #888;
  font-size: 13px;
  margin: 0;
}

.footer__col ul a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

/* ---------------------------- INTERACTIONS / ANIMATIONS ------------------
   Scroll-reveal (Motion One when available, CSS fallback otherwise — see
   js/main.js) plus hover/focus micro-interactions used across the page.
   ---------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Buttons */
.btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn--gold:hover {
  background: #ddc07c;
  box-shadow: 0 10px 24px rgba(205, 165, 85, 0.35);
  transform: translateY(-2px);
}

.btn--outline-gold:hover {
  background: var(--color-gold);
  color: #1a1a1a;
}

.btn.is-pressed {
  transform: scale(0.96);
}

/* Hero */
.hero__play-icon {
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hero__play:hover .hero__play-icon {
  transform: scale(1.12);
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #1a1a1a;
}

.hero__media-photo {
  transition: transform 0.4s ease;
}

.hero__media:hover .hero__media-photo {
  transform: scale(1.02);
}

/* About */
.video-frame__play {
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-frame:hover .video-frame__play {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.5);
}

.about__split-panel {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__split-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

/* Built for serious resistance */
.built__list li {
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.built__list li:hover {
  background: rgba(0, 0, 0, 0.03);
  padding-left: 8px;
}

.link-underline {
  display: inline-block;
  transition: letter-spacing 0.25s ease, color 0.25s ease;
}

.link-underline:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
  letter-spacing: 1.5px;
}

/* Pricing cards */
.price-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.price-card__photo {
  transition: transform 0.5s ease;
}

.price-card:hover .price-card__photo {
  transform: scale(1.06);
}

/* Easy on all joints */
.joints__features li {
  transition: transform 0.3s ease;
}

.joints__features li:hover {
  transform: translateX(6px);
}

.joints__feature-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

.joints__features li:hover .joints__feature-icon {
  transform: scale(1.15);
  color: var(--color-gold);
}

.joints__thumbnails img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.joints__thumbnails img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Testimonials */
.testimonials__avatar {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonials__avatar:hover {
  transform: scale(1.06);
}

/* Contact */
.contact__info-row {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact__info-row:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.contact__form input,
.contact__form textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(205, 165, 85, 0.15);
}

/* ---------------------------- RESPONSIVE --------------------------------- */

/* Tablet / small-laptop range: the ≤900px block below doesn't reach here, but
   the full-size rotated photo stack (240px images offset ±160px) still runs
   past the section edge and gets clipped. Scale it down proportionally. */
@media (max-width: 1250px) and (min-width: 901px) {
  .anywhere__img {
    width: 180px;
    height: 260px;
  }

  .anywhere__img--left {
    transform: translateX(-110px) translateY(24px) rotate(-12deg);
  }

  .anywhere__img--right {
    transform: translateX(110px) translateY(24px) rotate(12deg);
  }

  .anywhere__gallery {
    height: 400px;
  }
}

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  /* FIXED: the stats row is a 5-item flex line (3 stats + 2 dividers) with a
     32px gap — that measures ~420px against ~345px of available width on a
     393px phone, so it ran past the hero and got clipped by
     .hero { overflow: hidden }. Let it wrap and tighten the gap. */
  .hero__stats-row {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .hero__stat-divider {
    display: none;
  }

  /* The 01/02 callout tags were pinned outside the photo box (right: -6% /
     left: -10%), which put them past the viewport edge on a phone. */
  .hero__media-tag--top {
    right: 0;
  }

  .hero__media-tag--bottom {
    left: 0;
  }

  .hero__media-photo {
    width: 100%;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #141414;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .navbar__menu.is-open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    padding: 16px 20px;
    display: contents;
  }

  .navbar__menu li {
    width: 100%;
    padding: 8px 0;
  }

  /* FIXED: play button escaping the video thumbnail on mobile.
     .about__top keeps `align-items: center` from the desktop rule, but in a
     COLUMN flex container align-items controls the horizontal axis — so the
     children stopped stretching and shrank to their content width. The
     thumbnail is position:absolute (zero intrinsic width), leaving the 56px
     play button as .video-frame's only in-flow content, so the frame
     collapsed to ~56px wide / ~31px tall (aspect-ratio 16/9) and the button
     overflowed it. Stretch the children back to full width. */
  .about__top {
    flex-direction: column;
    align-items: stretch;
  }

  /* flex-basis (420px/480px) sizes the MAIN axis — which is now vertical —
     so it would force fixed heights. Reset to content-driven. */
  .about__intro,
  .about__video-placeholder {
    flex: 0 0 auto;
    width: 100%;
  }

  .about__split,
  .built__grid,
  .contact__panel,
  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* FIXED: "Wherever You Do The Work" was overflowing the mobile viewport —
     .anywhere__gallery had a fixed 600px width (grid-template-columns did
     nothing since it's a flex container, not grid) and .anywhere__title had
     white-space: nowrap, together forcing the section far wider than the
     screen. Stack to a column, let the headline wrap, and shrink the
     rotated photo stack to fit. */
  .anywhere__container {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .anywhere__title {
    white-space: normal;
    /* Sized so "WHEREVER YOU" still fits on one line at 375–414px wide,
       preserving the intended two-line layout instead of wrapping raggedly. */
    font-size: clamp(26px, 8.5vw, 44px);
    letter-spacing: 0;
    word-break: break-word;
  }

  .anywhere__gallery {
    width: 100%;
    max-width: 320px;
    height: 300px;
    margin: 0 auto;
  }

  .anywhere__img {
    width: 140px;
    height: 200px;
  }

  .anywhere__img--left {
    transform: translateX(-65px) translateY(20px) rotate(-10deg);
  }

  .anywhere__img--center {
    transform: translateX(0) translateY(-10px) rotate(0deg);
  }

  .anywhere__img--right {
    transform: translateX(65px) translateY(20px) rotate(10deg);
  }

  /* minmax(0, 1fr) not 1fr: a plain `1fr` track is `minmax(auto, 1fr)`, whose
     `auto` minimum refuses to shrink below the content's min-content width.
     One over-wide child (the avatar row) therefore blew the whole column past
     the viewport and dragged the testimonial card out with it. */
  .testimonials__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* FIXED: three 200px-wide avatar cards in a row also overflowed mobile —
     shrink them so all three fit comfortably. */
  .testimonials__avatars {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .testimonials__avatar {
    width: 90px;
    height: 110px;
    border-radius: 20px;
  }

  .testimonials__avatar--top,
  .testimonials__avatar--bottom {
    height: 90px;
  }

  .contact__form-row {
    grid-template-columns: 1fr;
  }

  .contact__about {
    grid-column: 1 / 2;
  }

  /* FIXED: the 135px top/bottom section padding (plus section-specific
     padding/margins on top of that) made Testimonials and Contact feel like
     mostly empty space on a short mobile screen. Tighten across the board. */
  .section {
    padding: 64px 0;
  }

  .section--anywhere {
    padding: 64px 0;
  }

  .section--testimonials {
    padding: 64px 0;
  }

  .testimonials__header {
    margin-bottom: 32px;
  }

  .testimonial-card {
    padding: 32px 24px;
    min-height: auto;
  }

  .testimonial-card__bg-quote {
    font-size: 160px;
    right: 16px;
  }

  .contact__panel {
    padding: 24px;
  }
}
/* Contact form flash messages (set by contact-submit.php). */
.contact__flash {
  max-width: 620px;
  margin: 0 auto 24px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact__flash--ok {
  background: #eaf7ee;
  border: 1px solid #bfe3ca;
  color: #24703c;
}

.contact__flash--err {
  background: #fdecec;
  border: 1px solid #f3c4c4;
  color: #a32c2c;
}

/* ==========================================================================
   SLIDERS — hero (3 slides) and testimonials (3 quotes).
   Slides are stacked in one grid cell and cross-faded, so the container is
   sized by the tallest slide and nothing jumps as they rotate.
   ========================================================================== */

/* ---------------------------- HERO SLIDER --------------------------------- */

.hero__slides {
  display: grid;
}

.hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero__media-slides {
  display: grid;
  width: 100%;
  justify-items: center;
}

.hero__media-slides .hero__media-photo {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
}

.hero__media-slides .hero__media-photo.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero__dots {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 3;
}

.hero__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background-color 0.3s ease, width 0.3s ease;
}

.hero__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero__dot.is-active {
  width: 26px;
  border-radius: 100px;
  background: var(--color-gold);
}

/* ---------------------------- TESTIMONIALS SLIDER ------------------------- */

.testimonial-card__content {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
  pointer-events: none;
}

.testimonial-card__content.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* The card stacks its slides in a single grid cell (the bg quote and dots sit
   in their own layers). */
.testimonial-card {
  display: grid;
}

.testimonial-card__bg-quote {
  grid-area: 1 / 1;
}

.testimonial-card__dots {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: start;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.testimonial-card__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d8d3c8;
  cursor: pointer;
  transition: background-color 0.3s ease, width 0.3s ease;
}

.testimonial-card__dot:hover {
  background: #b9b2a4;
}

.testimonial-card__dot.is-active {
  width: 24px;
  border-radius: 100px;
  background: var(--color-gold);
}

/* Inactive avatars dim so the current speaker is obvious. */
.testimonials__avatar {
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.testimonials__avatar.is-active {
  opacity: 1;
  border-color: var(--color-gold);
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__media-slides .hero__media-photo,
  .testimonial-card__content {
    transition: none;
  }
}
