/* Review refinements */
.title-line,
.copy-line {
  display: block;
}

.hero h1 {
  font-size: clamp(3.5rem, 5vw, 4.8rem);
}

.hero-frame {
  background: #e5e5e5;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.button,
.nav-cta {
  position: relative;
  justify-content: center;
  text-align: center;
}

.button span,
.nav-cta span {
  position: absolute;
  right: 1.25rem;
}

.hero-actions .button {
  min-width: 240px;
}

.cta .button {
  min-width: min(100%, 390px);
}

.roles-intro {
  padding-right: 0;
}

.roles-intro h2 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
}

.feature-row p {
  max-width: 860px;
}

.case-image {
  background: #fff;
}

.case-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.tech-intro {
  grid-template-columns: 1fr 1.2fr;
  column-gap: 2rem;
}

.tech-intro h2 {
  font-size: clamp(2.4rem, 3.25vw, 2.9rem);
}

.tech-intro > p:last-child {
  font-size: 1rem;
}

/* Keep forced line-break spans in technology copy consistent with body text. */
.tech-facts p .copy-line {
  color: #555a68;
  font: inherit;
  letter-spacing: normal;
}

.fit h2 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
}

.cta h2 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

[id] {
  scroll-margin-top: 2rem;
}

.section-jump {
  position: fixed;
  z-index: 45;
  right: 1.5rem;
  top: 50%;
  width: 56px;
  padding: 5px;
  transform: translateY(-50%);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(45, 39, 8, .10);
  backdrop-filter: blur(12px);
  transition: width .25s ease, box-shadow .25s ease;
}

.section-jump:hover,
.section-jump:focus-within {
  width: 236px;
  box-shadow: 0 18px 38px rgba(45, 39, 8, .14);
}

.section-jump-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.section-jump a {
  display: grid;
  grid-template-columns: 32px 170px;
  align-items: center;
  min-height: 42px;
  padding: 0 7px;
  color: #777568;
  font: 700 .68rem/1.25 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.section-jump a b {
  opacity: 0;
  color: inherit;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: .07em;
  transition: opacity .18s;
}

.section-jump:hover a b,
.section-jump:focus-within a b {
  opacity: 1;
}

.section-jump a:hover,
.section-jump a:focus-visible,
.section-jump a.active {
  color: #fff;
  background: var(--ink);
  outline: none;
}

.section-jump a.active span {
  color: #79a1ff;
}

@media (min-width: 961px) {
  .title-line,
  .feature-row .copy-line,
  .tech-intro .copy-line,
  .tech-facts .copy-line {
    white-space: nowrap;
  }

  .case-copy .copy-line {
    white-space: normal;
  }
}

@media (max-width: 1100px) {
  .section-jump {
    display: none;
  }
}

@media (max-width: 960px) {
  .tech-intro {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 3.25rem);
  }

  .title-line,
  .copy-line {
    white-space: normal;
  }

  .button {
    width: 100%;
  }
}
