/* ==========================================================================
   TRBEXA — generated imagery integration
   ========================================================================== */

/* ---------- 36% ------------------------------------------------ */
/* detail strip: three macro plates */
.detstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
}
.det { display: flex; flex-direction: column; }
.det__img {
  aspect-ratio: 4 / 3.1;
  filter: saturate(.9) contrast(1.06) brightness(.96);
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.det__body { padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.det__n {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-ink);
}
.det h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.det__lead { font-size: 15px; line-height: 1.45; color: var(--ink); font-weight: 400; max-width: 30ch; }
.det p { font-size: 14px; line-height: 1.6; color: var(--dim); max-width: 34ch; }
.det h3 { margin-bottom: 2px; }
.det dl {
  margin: 12px 0 0;
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.det dl div { display: flex; justify-content: space-between; gap: 12px; }
.det dt { font-size: 12.5px; color: var(--mute); }
.det dd { margin: 0; font-family: var(--f-mono); font-size: 12px; color: var(--ink); white-space: nowrap; }

/* ---------- page hero with media ---------- */
.phero--media { padding-bottom: clamp(40px, 6vw, 90px); }
.phero--media .wrap { position: relative; z-index: 2; }
.phero__media {
  position: absolute;
  z-index: 0;
  right: -2%;
  bottom: 58px;
  width: min(700px, 50%);
  pointer-events: none;
}
.phero__media img { width: 100%; height: auto; }
.phero__cap {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(18px, 2.4vw, 30px);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: right;
  max-width: 30ch;
  line-height: 1.6;
}

/* ---------- banded background plate ---------- */
.band-plate { position: relative; isolation: isolate; overflow: clip; }
.band-plate__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center 40%;
  opacity: .55;
}
.band-plate__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8, 8, 10, .96) 0%, rgba(8, 8, 10, .82) 42%, rgba(8, 8, 10, .42) 72%, rgba(8, 8, 10, .6) 100%),
    linear-gradient(to bottom, rgba(8, 8, 10, .96) 0%, rgba(8, 8, 10, .45) 26%, transparent 58%, rgba(8, 8, 10, .9) 100%);
}

/* ---------- inline figure inside split ---------- */
.split__figure { margin-top: 30px; }
.split__figure img { width: 100%; height: auto; display: block; }
.split__cap {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.6;
}

/* ---------- conversion figure ---------- */
.conv-figure { position: relative; margin-top: clamp(30px, 4vw, 54px); }
.conv-figure__img {
  aspect-ratio: 16 / 7.2;
  background-size: cover;
  background-position: center 45%;
  background-color: var(--paper);
  background-blend-mode: multiply;
}

@media (max-width: 980px) {
  .detstrip { grid-template-columns: 1fr; }
  .det__img { aspect-ratio: 16 / 9; }
  .phero__media { position: static; width: 100%; margin-top: 22px; }
  .phero__cap { position: static; text-align: left; margin-top: 10px; padding-inline: var(--gutter); }
  .phero--media { padding-bottom: clamp(20px, 3vw, 34px); }
}

/* ---------- brand narrative band ---------- */
.brandsec {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(80svh, 760px);
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 8vw, 118px);
}
.brandsec__bg {
  position: absolute;
  inset: -8% -14%;
  z-index: -2;
  background-size: cover;
  background-position: 32% 46%;
  will-change: transform;
}
.brandsec__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8, 8, 10, .96) 0%, rgba(8, 8, 10, .88) 32%, rgba(8, 8, 10, .38) 64%, rgba(8, 8, 10, .2) 100%),
    linear-gradient(to top, rgba(8, 8, 10, .96) 1%, rgba(8, 8, 10, .45) 30%, transparent 62%),
    linear-gradient(to bottom, rgba(8, 8, 10, .8) 0%, transparent 26%);
}
.brandsec__inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 90px);
  align-items: end;
}
.brandsec h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 98px);
  line-height: .9;
  letter-spacing: -.012em;
  text-transform: uppercase;
  max-width: 13ch;
}
.brandsec__lead p {
  margin-top: 24px;
  max-width: 42ch;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--dim);
}
.brandsec__reasons { display: flex; flex-direction: column; }
.reason { display: grid; gap: 7px; padding: 18px 0; border-top: 1px solid rgba(244, 242, 238, .22); }
.reason:last-child { border-bottom: 1px solid rgba(244, 242, 238, .22); }
.reason b {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 23px);
  text-transform: uppercase;
  letter-spacing: .015em;
}
.reason span { font-size: 14.5px; line-height: 1.6; color: var(--dim); max-width: 44ch; }
.brandsec__cap {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(16px, 2vw, 26px);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- systems over energy field ---------- */
.systems { position: relative; isolation: isolate; overflow: clip; }
.systems__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center 30%;
  opacity: .72;
}
.systems__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8, 8, 10, .96) 0%, rgba(8, 8, 10, .5) 44%, rgba(8, 8, 10, .26) 74%, rgba(8, 8, 10, .62) 100%),
    linear-gradient(to bottom, rgba(8, 8, 10, .92) 0%, rgba(8, 8, 10, .3) 24%, rgba(8, 8, 10, .3) 66%, rgba(8, 8, 10, .96) 100%);
}
.systems .system { background: rgba(8, 8, 10, .74); }

@media (max-width: 980px) {
  .brandsec__inner { grid-template-columns: 1fr; align-items: start; gap: 34px; }
  .brandsec { min-height: 0; align-items: flex-start; }
  .brandsec__bg { inset: 0; background-position: 72% 34%; }
  .brandsec__bg::after {
    background:
      linear-gradient(to bottom, rgba(8, 8, 10, .55) 0%, rgba(8, 8, 10, .82) 38%, rgba(8, 8, 10, .95) 78%, rgba(8, 8, 10, .99) 100%);
  }
  .brandsec__cap { position: absolute; left: var(--gutter); right: auto; bottom: 14px; }
  .brandsec { padding-bottom: clamp(52px, 9vw, 84px); }
}
