@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&family=Quicksand:wght@400;500;600;700&display=swap');

.fr-case-study,
.fr-case-study * {
  box-sizing: border-box;
}

.fr-case-study {
  background: #fff;
  color: #343e44;
  font-family: 'Quicksand', Arial, sans-serif;
  line-height: 1.65;
}

.fr-case-study h1,
.fr-case-study h2,
.fr-case-study h3,
.fr-case-study strong,
.fr-case-study .fr-eyebrow,
.fr-case-study .fr-section-label,
.fr-case-study .fr-button {
  font-family: 'Rubik', Arial, sans-serif;
}

.fr-case-study h1,
.fr-case-study h2,
.fr-case-study h3,
.fr-case-study p,
.fr-case-study ul,
.fr-case-study blockquote {
  margin: 0;
}

.fr-case-study a {
  text-decoration: none;
}

.fr-container {
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 28px;
  width: 100%;
}

.fr-hero {
  align-items: center;
  display: flex;
  min-height: 620px;
  overflow: hidden;
  padding: 96px 0 72px;
  position: relative;
}

.fr-hero-image,
.fr-hero-overlay {
  inset: 0;
  position: absolute;
}

.fr-hero-image {
  background-image: url('/assets/images/fitness-republic-case-study-hero.webp');
  background-position: center 38%;
  background-repeat: no-repeat;
  background-size: cover;
}

.fr-hero-overlay {
  background: linear-gradient(90deg, rgba(15, 22, 44, .96) 0%, rgba(15, 38, 67, .88) 44%, rgba(15, 52, 96, .34) 74%, rgba(15, 52, 96, .12) 100%);
}

.fr-hero-content {
  color: #fff;
  position: relative;
  z-index: 1;
}

.fr-eyebrow,
.fr-section-label {
  color: #0077b6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.fr-eyebrow {
  color: #8ee9ff;
  margin-bottom: 18px !important;
}

.fr-hero h1 {
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
  max-width: 830px;
}

.fr-hero h1 span {
  color: #49fca8;
  display: block;
}

.fr-hero-copy {
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
  line-height: 1.7;
  margin: 24px 0 30px !important;
  max-width: 710px;
}

.fr-button {
  align-items: center;
  border: 2px solid transparent;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 13px 28px;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.fr-button:hover,
.fr-button:focus-visible {
  transform: translateY(-2px);
}

.fr-button:focus-visible {
  outline: 3px solid #4fc3f7;
  outline-offset: 3px;
}

.fr-button-primary {
  background: #49fca8;
  color: #10223a;
}

.fr-button-secondary {
  border-color: rgba(255, 255, 255, .68);
  color: #fff;
}

.fr-button-secondary:hover,
.fr-button-secondary:focus-visible {
  background: #fff;
  color: #10223a;
}

.fr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fr-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  list-style: none;
  margin-top: 34px !important;
  padding: 0;
}

.fr-hero-facts li {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 700;
  position: relative;
}

.fr-hero-facts li:not(:last-child)::after {
  color: #49fca8;
  content: '•';
  position: absolute;
  right: -17px;
}

.fr-results-bar {
  background: #f4f7f9;
  border-bottom: 1px solid #dfe6ea;
  padding: 24px 0;
}

.fr-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fr-result {
  align-items: center;
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 10px 28px;
}

.fr-result + .fr-result {
  border-left: 1px solid #cfd9df;
}

.fr-result strong {
  color: #0f3460;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.fr-result span {
  color: #5b6670;
  font-size: 13px;
  line-height: 1.5;
}

.fr-video-section,
.fr-equipment-section,
.fr-story-section,
.fr-solution-section,
.fr-outcomes-section {
  padding: 84px 0;
}

.fr-video-section {
  background: #fff;
}

.fr-section-heading {
  max-width: 780px;
}

.fr-section-heading-centered {
  margin: 0 auto 34px;
  text-align: center;
}

.fr-section-heading h2,
.fr-story-intro h2,
.fr-outcomes-copy h2,
.fr-cta-section h2 {
  color: #1a1a2e;
  font-size: clamp(31px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 10px 0 16px;
}

.fr-section-heading > p:last-child,
.fr-story-intro > p,
.fr-outcomes-copy > p,
.fr-cta-section p {
  color: #68727c;
  font-size: 17px;
}

.fr-video-wrap {
  background: #111827;
  box-shadow: 0 24px 58px rgba(26, 26, 46, .18);
  overflow: hidden;
}

.fr-video-wrap video {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  width: 100%;
}

.fr-equipment-section {
  background: #f7f9fa;
  border-top: 1px solid #e2e8ec;
}

.fr-equipment-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fr-equipment-card {
  background: #fff;
  border: 1px solid #dfe7eb;
  border-top: 4px solid #00b8e6;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px 24px;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fr-equipment-card:hover,
.fr-equipment-card:focus-visible {
  border-color: #00a0c6;
  box-shadow: 0 14px 32px rgba(15, 52, 96, .1);
  outline: none;
  transform: translateY(-3px);
}

.fr-equipment-category {
  color: #0077b6;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.fr-equipment-card h3 {
  color: #1a1a2e;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 15px 0 10px;
}

.fr-equipment-card p {
  color: #68727c;
  font-size: 15px;
  line-height: 1.65;
}

.fr-equipment-link {
  color: #0f3460;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-top: auto;
  padding-top: 24px;
}

.fr-video-caption {
  color: #78838c;
  font-size: 12px;
  margin: 14px auto 0 !important;
  max-width: 900px;
  text-align: center;
}

.fr-story-section {
  background: #f7f9fa;
}

.fr-story-grid,
.fr-outcomes-grid,
.fr-cta-grid {
  align-items: start;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.fr-story-intro > p + p,
.fr-outcomes-copy > p + p {
  margin-top: 16px !important;
}

.fr-story-list {
  border-top: 1px solid #dbe3e8;
}

.fr-story-list article {
  align-items: flex-start;
  border-bottom: 1px solid #dbe3e8;
  display: grid;
  gap: 22px;
  grid-template-columns: 42px 1fr;
  padding: 25px 0;
}

.fr-story-list article > span,
.fr-capability-number {
  color: #00a0c6;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.fr-story-list h3,
.fr-capability-grid h3 {
  color: #1a1a2e;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 7px;
}

.fr-story-list p,
.fr-capability-grid article > p:last-child {
  color: #6b7580;
  font-size: 15px;
}

.fr-solution-section {
  background: #fff;
}

.fr-capability-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

.fr-capability-grid article {
  border: 1px solid #dfe7eb;
  border-radius: 8px;
  border-top: 4px solid #00b8e6;
  padding: 24px;
}

.fr-capability-number {
  margin-bottom: 16px !important;
}

.fr-quote-section {
  background: #16213e;
  color: #fff;
  padding: 76px 0;
  text-align: center;
}

.fr-quote-section blockquote {
  margin: 0 auto;
  max-width: 980px;
}

.fr-quote-section blockquote > p {
  font-family: 'Rubik', Arial, sans-serif;
  font-size: clamp(31px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.2;
}

.fr-quote-section footer {
  color: #49fca8;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin-top: 24px;
}

.fr-quote-section footer span {
  color: rgba(255, 255, 255, .65);
  display: block;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.fr-outcomes-section {
  background: #f7f9fa;
}

.fr-outcomes-points {
  border-top: 1px solid #dbe3e8;
}

.fr-outcomes-points > div {
  border-bottom: 1px solid #dbe3e8;
  display: grid;
  gap: 12px;
  grid-template-columns: 142px 1fr;
  padding: 24px 0;
}

.fr-outcomes-points strong {
  color: #0f3460;
  font-size: 17px;
}

.fr-outcomes-points span {
  color: #69747d;
  font-size: 15px;
}

.fr-cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 58%, #0077b6 100%);
  color: #fff;
  padding: 78px 0;
}

.fr-cta-grid {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.fr-cta-section .fr-section-label {
  color: #8ee9ff;
}

.fr-cta-section h2 {
  color: #fff;
  max-width: 740px;
}

.fr-cta-section p {
  color: rgba(255, 255, 255, .76);
  max-width: 760px;
}

.fr-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 210px;
}

@media (max-width: 980px) {
  .fr-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .fr-story-grid,
  .fr-outcomes-grid {
    gap: 46px;
    grid-template-columns: 1fr;
  }

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

  .fr-cta-actions {
    flex-direction: row;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .fr-container {
    padding: 0 18px;
  }

  .fr-hero {
    min-height: 560px;
    padding: 82px 0 54px;
  }

  .fr-hero-image {
    background-position: 60% center;
  }

  .fr-hero-overlay {
    background: linear-gradient(180deg, rgba(15, 22, 44, .65) 0%, rgba(15, 31, 54, .92) 46%, rgba(15, 38, 67, .98) 100%);
  }

  .fr-hero-copy {
    font-size: 16px;
  }

  .fr-hero-facts {
    display: grid;
    gap: 7px;
  }

  .fr-hero-facts li::after {
    display: none;
  }

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

  .fr-result {
    grid-template-columns: 102px 1fr;
    padding: 18px 0;
  }

  .fr-result + .fr-result {
    border-left: 0;
    border-top: 1px solid #cfd9df;
  }

  .fr-result strong {
    font-size: 25px;
  }

  .fr-video-section,
  .fr-equipment-section,
  .fr-story-section,
  .fr-solution-section,
  .fr-outcomes-section {
    padding: 60px 0;
  }

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

  .fr-equipment-card {
    min-height: 0;
  }

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

  .fr-outcomes-points > div {
    grid-template-columns: 1fr;
  }

  .fr-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fr-button {
    width: 100%;
  }

  .fr-hero-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fr-case-study *,
  .fr-case-study *::before,
  .fr-case-study *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
