/* Big Muscle theme layered over the existing LightStep case-study styles */
.bigmuscle-page {
  --c-dark: #0d0d0d;
  --c-forest: #171717;
  --c-sage: #303030;
  --c-peach: #e60000;
  --c-rust: #8b0000;
  --c-brown: #080808;
  --c-cream: #ffffff;

  --app-primary: #e60000;
  --app-dark: #0d0d0d;
  --app-secondary: #a80000;
  --app-neutral: #111111;
  --app-white: #ffffff;
}

.bigmuscle-page .hero h1 {
  font-size: clamp(64px, 14vw, 240px);
}

.bigmuscle-page .hero-sub .desc {
  max-width: 520px;
}

.bigmuscle-page .hero-actions,
.bigmuscle-page .outcome-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.bigmuscle-page .hero-actions {
  position: relative;
  z-index: 3;
  margin: 28px auto 0;
}

.hero-project-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--c-peach);
  border-radius: 50px;
  color: var(--c-cream);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .3s, color .3s, transform .3s;
}

.hero-project-link:hover,
.hero-project-link:focus-visible {
  background: var(--c-peach);
  color: #fff;
  transform: translateY(-3px);
}

.hero-project-link.secondary {
  border-color: rgba(255, 255, 255, .3);
}

.hero-project-link.secondary:hover,
.hero-project-link.secondary:focus-visible {
  border-color: var(--c-peach);
}

/* Theme the warm accents used by the shared project stylesheet */
.bigmuscle-page .stat-card {
  background: rgba(230, 0, 0, .07);
  border-color: rgba(230, 0, 0, .24);
}

.bigmuscle-page .stat-card:hover {
  background: rgba(230, 0, 0, .14);
}

.bigmuscle-page .survey-block h4 {
  border-bottom-color: rgba(230, 0, 0, .25);
}

.bigmuscle-page .gallery-frame {
  background: linear-gradient(135deg, rgba(230, 0, 0, .08), rgba(20, 20, 20, .5));
  border-color: rgba(230, 0, 0, .2);
}

.bigmuscle-page .gallery-frame::before {
  background: radial-gradient(circle at 30% 30%, rgba(230, 0, 0, .14), transparent 70%);
}

.bigmuscle-page .gallery-frame:hover {
  border-color: rgba(230, 0, 0, .5);
}

.bigmuscle-page .contact-form input,
.bigmuscle-page .contact-form textarea,
.bigmuscle-page .social-links a {
  background: rgba(230, 0, 0, .04);
  border-color: rgba(230, 0, 0, .2);
}

.bigmuscle-page .contact-form input:focus,
.bigmuscle-page .contact-form textarea:focus {
  background: rgba(230, 0, 0, .08);
  border-color: var(--c-peach);
}

/* About section */
.bm-wordmark {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(260px, 72%);
  aspect-ratio: 1;
  background: #0d0d0d;
  border: 1px solid rgba(230, 0, 0, .6);
  border-radius: 22px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .5);
  transform: rotate(-4deg);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 4px;
  line-height: .9;
}

.bm-wordmark span {
  font-size: clamp(44px, 6vw, 72px);
}

.bm-wordmark strong {
  color: var(--c-peach);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
}

.bm-wordmark small {
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 4px;
  opacity: .7;
}

.bm-wordmark img {
border: 1px solid rgba(230, 0, 0, .6);
   border-radius: 22px;
}

.project-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.project-facts div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, .03);
  border-left: 2px solid var(--c-peach);
}

.project-facts span {
  display: block;
  margin-bottom: 5px;
  color: var(--c-peach);
  font-size: 9px;
  letter-spacing: 2px;
}

.project-facts strong {
  font-size: 12px;
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.feature-card {
  padding: 18px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(230, 0, 0, .18);
  border-radius: 12px;
  transition: transform .3s, border-color .3s, background .3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(230, 0, 0, .06);
  border-color: rgba(230, 0, 0, .45);
}

.feature-icon {
  display: block;
  margin-bottom: 12px;
  color: var(--c-peach);
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
}

.feature-card p {
  font-size: 12px;
  line-height: 1.7;
  opacity: .75;
}

/* UX strategy */
#strategy .stat-cards {
  grid-template-columns: repeat(4, 1fr);
}

.shipping-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shipping-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .03);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 12px;
}

.shipping-row strong {
  flex: 0 0 auto;
  color: var(--c-peach);
}

.shipping-note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.7;
  opacity: .7;
}

/* Customer journey */
.journey-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.journey-step {
  position: relative;
  min-height: 220px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(230, 0, 0, .25);
  border-radius: 16px;
}

.journey-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -17px;
  color: var(--c-peach);
  font-size: 20px;
}

.journey-number {
  display: block;
  color: var(--c-peach);
  font-family: "Bebas Neue", sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
}

.journey-icon {
  display: block;
  margin: 18px 0 12px;
  font-size: 25px;
}

.journey-step h3 {
  margin-bottom: 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
}

.journey-step p {
  font-size: 12px;
  line-height: 1.7;
  opacity: .72;
}

/* Screenshot placeholders */
.screenshot-placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  padding: 24px;
  overflow: hidden;
  border: 1px dashed rgba(230, 0, 0, .55);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 45%, rgba(230, 0, 0, .12), transparent 48%),
    linear-gradient(145deg, #171717, #0d0d0d);
  text-align: center;
}

.placeholder-number {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--c-peach);
  font-size: 9px;
  letter-spacing: 3px;
}

.placeholder-mark {
  color: var(--c-peach);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1;
}

.screenshot-placeholder strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 1px;
}

.screenshot-placeholder code {
  color: rgba(255, 255, 255, .55);
  font-family: "Inter", sans-serif;
  font-size: 10px;
}

/* Admin section */
.admin-section {
  background: var(--c-forest);
}

.admin-inner,
.tech-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.admin-section h2,
.tech-section h2 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(48px, 7vw, 90px);
  line-height: .95;
}

.admin-section h2 em,
.tech-section h2 em {
  color: var(--c-peach);
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

.admin-intro,
.tech-intro {
  max-width: 680px;
  margin-bottom: 42px;
  font-size: 15px;
  line-height: 1.8;
  opacity: .78;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-card {
  padding: 28px;
  border: 1px solid rgba(230, 0, 0, .25);
  border-radius: 16px;
  background: rgba(0, 0, 0, .22);
}

.admin-number {
  color: var(--c-peach);
  font-family: "Bebas Neue", sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
}

.admin-card h3 {
  margin: 16px 0 10px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
}

.admin-card p {
  max-width: 560px;
  font-size: 13px;
  line-height: 1.8;
  opacity: .75;
}

.admin-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 3px solid var(--c-peach);
  background: rgba(230, 0, 0, .07);
  font-size: 13px;
  line-height: 1.7;
}

/* Technical stack */
.tech-section {
  background: #101010;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tech-card {
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(230, 0, 0, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.tech-layer {
  color: var(--c-peach);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.tech-card h3 {
  margin: 14px 0 10px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 25px;
  letter-spacing: 1px;
}

.tech-card p {
  font-size: 12px;
  line-height: 1.7;
  opacity: .7;
}

.tech-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tech-highlights span {
  padding: 10px 14px;
  border: 1px solid rgba(230, 0, 0, .28);
  border-radius: 50px;
  color: rgba(255, 255, 255, .8);
  font-size: 10px;
  letter-spacing: 1px;
}

/* Result section */
.outcome .section-label,
.outcome .section-label::before {
  color: var(--c-brown);
  background: var(--c-brown);
}

.outcome .outcome-actions {
  margin-top: 32px;
}

.outcome .outcome-btn {
  border-color: var(--c-brown);
  color: var(--c-brown);
}

.outcome .outcome-btn:hover,
.outcome .outcome-btn:focus-visible {
  background: var(--c-brown);
  color: #fff;
}

.outcome .outcome-btn.secondary {
  background: transparent;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(13, 13, 13, .6);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .bigmuscle-page nav {
    padding: 16px 24px;
    mix-blend-mode: normal;
  }

  .bigmuscle-page .nav-toggle {
    display: flex;
    position: relative;
    z-index: 102;
  }

  .bigmuscle-page nav ul {
    display: none;
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    z-index: 101;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(230, 0, 0, .3);
    border-radius: 16px;
    background: rgba(13, 13, 13, .97);
  }

  .bigmuscle-page nav ul.open {
    display: flex;
  }

  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-step:not(:last-child)::after {
    display: none;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bigmuscle-page .hero {
    padding: 110px 24px 70px;
  }

  .bigmuscle-page .hero-meta {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
  }

  .bigmuscle-page .hero-sub {
    flex-direction: column;
    gap: 24px;
  }

  .bigmuscle-page .hero-tags {
    text-align: left;
  }

  .bigmuscle-page .hero-actions {
    justify-content: flex-start;
  }

  .project-facts,
  .feature-grid,
  .admin-grid,
  .tech-grid,
  .journey-grid,
  #strategy .stat-cards {
    grid-template-columns: 1fr;
  }

  .shipping-row {
    font-size: 11px;
  }

  .screenshot-placeholder {
    min-height: 220px;
  }
}