/* Production landing overrides. Keeps base styles scoped to the homepage. */

body.production-landing {
  --font-display: 'Share Tech Mono', 'Work Sans', monospace;
}

body.production-landing section[id] {
  scroll-margin-top: 128px;
}

body.production-landing #hero-mobile h1,
body.production-landing #hero-desktop h1 {
  font-family: 'Pixelify Sans', 'Hacker Noon V2', 'Share Tech Mono', monospace;
  font-weight: 400;
  line-height: 0.96;
}

body.production-landing #hero-mobile h1 {
  font-size: 37px;
}

body.production-landing #hero-mobile p {
  max-width: 35rem;
}

body.production-landing #hero-desktop h1 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

body.production-landing #hero-desktop h6 {
  max-width: 820px;
}

body.production-landing #hero-desktop .hero-primary-cta {
  margin-top: clamp(56px, 9vh, 112px) !important;
}

body.current-landing #hero-desktop .hero-primary-cta > p.text-paragraph {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.18;
  text-align: center;
}

body.current-landing #hero-desktop .hero-primary-cta > p.micro {
  max-width: 28rem;
  margin-top: 8px;
  color: var(--text-paragraph);
  font-family: var(--font-paragraph);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.35;
  text-align: center;
}

body.production-landing #hero-mobile .cta-drag {
  min-height: 78px;
  height: auto;
  padding: 8px 72px 8px 72px;
  gap: 12px;
}

body.production-landing #hero-mobile .cta-drag #label {
  flex: 1;
  min-width: 0;
  line-height: 1.2;
}

body.current-landing #hero-mobile .cta-drag #label {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(13px, 4vw, 16px);
  line-height: 1.18;
}

body.production-landing #hero-mobile .cta-drag > img {
  position: absolute;
  right: 28px;
  width: 28px;
  height: 28px;
}

body.production-landing #hero-mobile .cta-drag .spacer {
  display: none;
}

body.production-landing .glow-up {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  text-fill-color: currentColor !important;
  transition: none !important;
  text-shadow: none;
  will-change: auto;
}

body.production-landing .glow-up.blanco {
  color: var(--text-heading);
}

body.production-landing p.text-paragraph.glow-up.blanco,
body.production-landing p.small.glow-up.blanco,
body.production-landing p.micro.glow-up.blanco {
  color: var(--text-paragraph);
}

body.production-landing .glow-up.active {
  animation: landing-glow-purple 0.9s ease-out 1;
}

body.production-landing .glow-up.blanco.active {
  animation-name: landing-glow-white;
}

@keyframes landing-glow-purple {
  0% {
    text-shadow: none;
    filter: brightness(1);
  }

  25% {
    text-shadow:
      0 0 10px color-mix(in srgb, var(--color-secondary) 95%, transparent),
      0 0 22px color-mix(in srgb, var(--color-secondary) 72%, transparent),
      0 0 34px color-mix(in srgb, var(--color-primary) 55%, transparent);
    filter: brightness(1.14);
  }

  60% {
    text-shadow:
      0 0 8px color-mix(in srgb, var(--color-secondary) 82%, transparent),
      0 0 16px color-mix(in srgb, var(--color-primary) 38%, transparent);
    filter: brightness(1.05);
  }

  100% {
    text-shadow: none;
    filter: brightness(1);
  }
}

@keyframes landing-glow-white {
  0% {
    text-shadow: none;
    filter: brightness(1);
  }

  25% {
    text-shadow:
      0 0 12px color-mix(in srgb, white 82%, transparent),
      0 0 24px color-mix(in srgb, white 45%, transparent),
      0 0 34px color-mix(in srgb, var(--color-primary) 52%, transparent);
    filter: brightness(1.1);
  }

  60% {
    text-shadow:
      0 0 8px color-mix(in srgb, white 65%, transparent),
      0 0 16px color-mix(in srgb, var(--color-primary) 35%, transparent);
    filter: brightness(1.04);
  }

  100% {
    text-shadow: none;
    filter: brightness(1);
  }
}

body.production-landing #pain-points .row > [class*="col-"] {
  display: flex;
}

body.production-landing #pain-points .row > .section-headings {
  display: block;
}

body.production-landing #pain-points .pain-card {
  width: 100%;
  min-height: 140px;
  height: 100%;
  padding: 18px !important;
  justify-content: center;
  align-items: center;
}

body.production-landing #pain-points .pain-icon {
  display: inline-flex;
  width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
}

body.production-landing #pain-points .pain-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.production-landing #pain-points .pain-card h6 {
  display: flex;
  align-items: center;
  min-height: 2.9em;
  max-width: 15rem;
  margin-bottom: 0;
}

body.current-landing #pain-points .pain-card p.small {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
}

body.production-landing #strengths .pilar-point:nth-child(1),
body.production-landing #strengths .pilar-point:nth-child(2) {
  border-color: var(--color-secondary);
}

body.production-landing #strengths .pilar-point:nth-child(1) h5,
body.production-landing #strengths .pilar-point:nth-child(2) h5 {
  padding-right: 56px;
}

body.current-landing #services .rabbit {
  border: 1px solid var(--color-secondary);
  border-radius: 8px;
  background-color: var(--background);
}

body.current-landing #services .rabbit.d-block.d-md-none {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: 50% 12%;
}

@media (min-width: 768px) {
  body.current-landing #strengths .row:has(.pilar-image) {
    align-items: stretch;
  }

  body.current-landing #strengths .pilar-image {
    height: 100%;
    min-height: 0;
  }

  body.current-landing #strengths .pilar-image img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: none;
  }
}

@media (min-width: 992px) {
  body.current-landing #services .row:has(.services-wrapper) {
    align-items: stretch;
  }

  body.current-landing #services .row:has(.services-wrapper) > .col-lg-4 {
    display: flex;
    align-items: stretch;
  }

  body.current-landing #services .rabbit.d-md-block {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    object-fit: contain;
  }
}

body.production-landing .section-headings h2.glow-up {
  max-width: 1100px;
}

body.production-landing .section-headings h2 {
  width: 100%;
  text-align: left;
}

body.production-landing .section-headings .color-disabled {
  flex-shrink: 0;
}

body.production-landing .section-headings > .d-flex.flex-row {
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 12px !important;
}

body.production-landing .section-headings h4 {
  margin-bottom: 0;
}

body.production-landing .expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

body.production-landing .expertise-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--color-secondary);
  border-radius: 16px;
  background-color: color-mix(in srgb, var(--background) 86%, transparent);
  box-shadow: 0 18px 42px -28px var(--color-secondary);
}

body.production-landing .expertise-icon {
  width: 180px;
  height: 180px;
  align-self: center;
  object-fit: cover;
  border: 1px solid var(--color-secondary-dark);
  border-radius: 8px;
  image-rendering: pixelated;
  box-shadow: 0 15px 36px -22px var(--color-secondary);
}

body.production-landing .expertise-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}

body.production-landing .expertise-copy h3 {
  color: var(--color-secondary);
  margin-bottom: 0;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1;
}

body.current-landing .expertise-copy h3.glow-up.blanco {
  color: var(--color-secondary) !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: var(--color-secondary) !important;
  text-fill-color: var(--color-secondary) !important;
}

body.production-landing .expertise-copy p {
  margin-bottom: 0;
}

body.production-landing .expertise-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  margin: auto 0 0;
  list-style: none;
}

body.production-landing .expertise-list li {
  position: relative;
  padding-left: 18px;
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
}

body.production-landing .expertise-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  box-shadow: 0 0 10px var(--color-secondary);
}

@media (min-width: 768px) {
  body.production-landing #hero-desktop h1 {
    font-size: 64px;
  }
}

@media (min-width: 1200px) {
  body.production-landing #hero-desktop h1 {
    font-size: 68px;
  }
}

@media (max-width: 1199.98px) {
  body.production-landing .section-headings h2 {
    width: 100%;
    text-align: left;
    font-size: 38px;
    line-height: 1.05;
  }

  body.production-landing .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.production-landing .section-headings h2 {
    font-size: 29px;
  }

  body.production-landing .expertise-grid {
    grid-template-columns: 1fr;
  }

  body.production-landing .expertise-card {
    padding: 16px;
  }

  body.production-landing #pain-points .pain-card {
    min-height: 160px;
  }
}
