/* Maestro — operations.html page layout only.
   Shared components live in css/styles.css — nothing here overrides them. */

/* ---------- 01 · hero (gantry photo band) ---------- */
.ops-hero {
  position: relative;
  min-height: clamp(560px, 92vh, 920px);
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
}
.ops-hero-media { position: absolute; inset: 0; }
.ops-hero-media picture { height: 100%; }
.ops-hero .scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* top band keeps the transparent nav + kicker on ink over the bright sky;
     the 201deg gradient keeps the original bottom-left darkening */
  background:
    linear-gradient(180deg, rgba(11, 21, 38, 0.55) 0%, rgba(11, 21, 38, 0) 22%),
    linear-gradient(201deg, rgba(11, 21, 38, 0.12) 32%, rgba(11, 21, 38, 0.78) 100%);
}
.ops-hero-content {
  position: relative; z-index: 2; width: 100%;
  padding-top: clamp(140px, 22vh, 240px);
  padding-bottom: clamp(96px, 14vh, 160px);
}
.ops-kicker {
  display: inline-flex; align-items: center; gap: 1rem;
  color: var(--text-on-dark); /* soft variant sat at ~2:1 over the pale sky */
}
.ops-kicker::before { content: ""; width: 28px; height: 1px; background: var(--red); flex: none; }
.ops-hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.7rem, 7.4vw, 6.9rem);
}
.ops-hero-sub { margin-top: 1.8rem; max-width: 54ch; font-weight: 400; }

/* ---------- shared page grid rhythm ---------- */
.chain-grid, .depot-grid, .fleet-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.chain-grid h2, .depot-grid h2, .fleet-grid h2 {
  grid-column: 1 / 7;
  font-size: var(--fs-h2);
  max-width: 14ch;
}
.chain-copy, .depot-grid > p, .fleet-copy { grid-column: 8 / 13; }
.chain-copy p, .fleet-copy p, .depot-grid > p, .clients-copy p { max-width: 58ch; }

/* ---------- 02 · value chain ---------- */
.chain-partners {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.partners-label { color: var(--text-soft); margin-bottom: 0.9rem; }

/* ---------- 03 · depot ---------- */
.depot-photo {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  height: clamp(380px, 68vh, 780px);
}
.depot-photo picture { height: 100%; }
.depot-coords {
  margin-top: 1.5rem;
  color: var(--text-on-dark-soft);
}

/* ---------- 04 · spec table ---------- */
.spec-intro {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.spec-intro h2 { grid-column: 1 / 7; font-size: var(--fs-h2); }
.spec-intro .lede { grid-column: 8 / 13; color: var(--text-soft); }

.spec-table { border-top: 1px solid var(--rule); }
.spec-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) 1.3fr 1.8fr 1.6fr;
  gap: clamp(1rem, 2.5vw, 2.75rem);
  align-items: baseline;
  padding-block: clamp(1.4rem, 2.8vw, 2.3rem);
  border-bottom: 1px solid var(--rule);
}
.spec-row--head {
  padding-block: 0.85rem;
  font-family: var(--font-mono); font-size: var(--fs-mono-sm);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft);
}
.spec-row .ref { color: var(--red); }
.spec-row .item { color: var(--text-soft); }
.spec-row .value {
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.spec-row .value .unit {
  font-family: var(--font-mono); font-size: 0.42em; font-weight: 400;
  font-stretch: 100%; letter-spacing: 0.06em; margin-left: 0.1em;
}
.spec-row .value--text { font-size: clamp(1.3rem, 2.4vw, 2rem); white-space: normal; }
.spec-row .note { color: var(--text-soft); font-size: 0.95rem; max-width: 38ch; }

/* ---------- 05 · fleet ---------- */
.fleet-unit { text-transform: none; white-space: nowrap; }
.fleet-tag {
  display: inline-block;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 10px 16px;
  border: 1px solid var(--rule);
  color: var(--text-soft);
}

/* ---------- 06 · clients ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3.5vw, 4rem);
  align-items: center;
}
.clients-photo { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.clients-photo picture { height: 100%; }
.clients-copy { grid-column: 8 / 13; }
.clients-copy h2 { font-size: var(--fs-h2); max-width: 12ch; }
.clients-copy p { margin-top: 1.5rem; }

/* ---------- 07 · CTA band ---------- */
.ops-cta-sub {
  margin-top: 1.75rem;
  max-width: 52ch;
  color: var(--text-on-dark-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.ops-cta-mail { margin-top: 1.9rem; }
.ops-cta-mail a { color: var(--text-on-dark-soft); border-bottom: 1px solid var(--rule-dark); padding-bottom: 3px; }
.ops-cta-mail a:hover { color: var(--white); border-bottom-color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .chain-grid, .depot-grid, .fleet-grid, .spec-intro, .clients-grid { grid-template-columns: 1fr; }
  .chain-grid h2, .depot-grid h2, .fleet-grid h2, .spec-intro h2,
  .chain-copy, .depot-grid > p, .fleet-copy, .spec-intro .lede,
  .clients-photo, .clients-copy { grid-column: auto; }
  .clients-copy h2 { margin-top: 0.5rem; }
}
@media (max-width: 700px) {
  .ops-hero { min-height: clamp(520px, 86vh, 760px); }
  .spec-row--head { display: none; }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding-block: 1.4rem;
  }
  .spec-row .value { white-space: normal; }
  .spec-row .note { max-width: 58ch; }
  .depot-photo { height: clamp(280px, 52vw, 420px); }
}
