/* Shared Tech landing component. Page composition only; colors and type use
   design-system.css tokens. */
.tech-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 76svh, 820px);
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--ds-line-soft);
  background: var(--ds-bg);
  color: var(--ds-text);
}

.tech-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--ds-surface);
}

.tech-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 7, .88) 0%, rgba(5, 6, 7, .54) 52%, rgba(5, 6, 7, .24) 100%);
}

.tech-hero__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--tech-photo-position, center);
  filter: saturate(.8);
}

.page-motor .tech-hero { --tech-photo-position: center 48%; }
.page-structure .tech-hero { --tech-photo-position: center 47%; }
.page-ejection .tech-hero { --tech-photo-position: center 58%; }

.tech-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: var(--ds-width);
  min-width: 0;
  margin-inline: auto;
  padding: 96px var(--ds-gutter);
  text-align: left;
}

.tech-hero__label {
  margin: 0 0 20px;
  color: var(--ds-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .09em;
}

.tech-hero__title {
  max-width: 100%;
  margin: 0;
  color: var(--ds-text);
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  text-shadow: none;
}

.tech-hero__description {
  max-width: 590px;
  min-height: 3.7em;
  margin: 32px 0 0;
  color: var(--ds-body);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: -.02em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.tech-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tech-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(240, 239, 234, .28);
  border-radius: 3px;
  background: rgba(11, 13, 13, .3);
  color: var(--ds-text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--ds-duration), border-color var(--ds-duration);
}

.tech-hero__button:hover {
  background: var(--ds-surface);
  border-color: var(--ds-muted);
}

.tech-hero__button--primary {
  border-color: var(--ds-text);
  background: var(--ds-text);
  color: var(--ds-bg);
}

.tech-hero__button--primary:hover {
  border-color: #fff;
  background: #fff;
}

/* Mission keeps the same content edge as the other detail sections. */
.page-ejection::before { display: none; }
.page-ejection .mission-details {
  width: 100%;
  max-width: var(--ds-width);
  margin-inline: auto;
  padding: var(--ds-section) var(--ds-gutter);
}
.page-ejection .mission-details .focus-list { width: 100%; margin: 0; }

@media (max-width: 900px) {
  .tech-hero { min-height: 540px; }
  .tech-hero__copy { padding-block: 80px; }
  .tech-hero__title { font-size: clamp(38px, 7vw, 64px); }
  .tech-hero__description { max-width: 590px; }
}

@media (max-width: 560px) {
  .tech-hero { min-height: 500px; }
  .tech-hero__media::after {
    background: linear-gradient(90deg, rgba(5, 6, 7, .84), rgba(5, 6, 7, .48));
  }
  .tech-hero__label { margin-bottom: 20px; font-size: 10px; }
  .tech-hero__title { font-size: clamp(32px, 8.4vw, 46px); }
  .tech-hero__description { min-height: 5.55em; margin-top: 24px; font-size: 15px; }
  .tech-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 360px;
    margin-top: 28px;
  }
  .tech-hero__button { width: 100%; padding-inline: 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .tech-hero__button { transition: none; }
}
