/* ============================================================
   Gessura — /materials/ v5 «Monochrome premium»
   Two full-bleed scenes bracket three runs of boxless hairline
   rows. Tokens and primitives come from system.css; the idioms
   are the front page's (home.css), page-scoped here as .g3-mtx-*.
   ============================================================ */

/* -- 1 · opening scene --------------------------------------- */

.g3-mtx-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.g3-mtx-hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.g3-mtx-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
/* scrim: open centre-right, weighted to the copy and the fold */
.g3-mtx-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 40% at 80% 32%, rgba(10, 10, 12, .5), transparent 72%),
    linear-gradient(90deg, rgba(10, 10, 12, .78) 0%, rgba(10, 10, 12, .4) 40%, rgba(10, 10, 12, .1) 75%),
    linear-gradient(180deg, rgba(10, 10, 12, .5) 0%, transparent 26%, transparent 60%, rgba(10, 10, 12, .86) 100%);
}

/* baseline poster composition, borrowed from the approved floor 01:
   stamp top-left, caption lede top-right, the giant title on the fold */
.g3-mtx-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  grid-template-areas:
    'stamp lede'
    'title title'
    'specs specs';
  row-gap: clamp(28px, 6vh, 72px);
  align-items: end;
  padding: 140px clamp(24px, 6vw, 110px) clamp(56px, 7vh, 96px);
}
.g3-mtx-hero-inner .g3-stamp { grid-area: stamp; align-self: start; }

.g3-mtx-hero-lede {
  grid-area: lede;
  align-self: start;
  justify-self: end;
  text-align: right;
  margin: 0;
  max-width: 38ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--bone-soft);
}

.g3-mtx-hero-title {
  grid-area: title;
  font-weight: 300;
  font-size: clamp(44px, 7.4vw, 128px);
  line-height: 1.02;
  letter-spacing: -.015em;
}

.g3-mtx-hero-specs {
  grid-area: specs;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.g3-mtx-hero-specs span {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bone-soft);
  padding: 8px 22px 8px 0;
  margin-right: 22px;
  border-right: 1px solid var(--hairline-2);
}
.g3-mtx-hero-specs span:last-child { border-right: 0; margin-right: 0; }

@media (max-width: 900px) {
  .g3-mtx-hero { min-height: 100svh; }
  .g3-mtx-hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'stamp' 'lede' 'title' 'specs';
    padding-top: 120px;
  }
  .g3-mtx-hero-lede { justify-self: start; text-align: left; }
  .g3-mtx-hero-media::after {
    background:
      linear-gradient(180deg, rgba(10, 10, 12, .55) 0%, rgba(10, 10, 12, .3) 40%, rgba(10, 10, 12, .9) 100%);
  }
}
@media (max-width: 700px) {
  .g3-mtx-hero-title { font-size: clamp(38px, 11vw, 54px); }
  .g3-mtx-hero-specs { flex-direction: column; }
  .g3-mtx-hero-specs span { border-right: 0; padding: 6px 0; margin-right: 0; }
}

/* -- shared section head -------------------------------------- */

.g3-mtx-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.g3-mtx-lede {
  margin: 0;
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--bone-soft);
}
.g3-mtx-note { margin-top: 26px; color: var(--bone-faint); }

/* -- 2 · the format ledger ------------------------------------ */

.g3-mtx-rows { border-top: 1px solid var(--hairline); }
.g3-mtx-row {
  display: grid;
  grid-template-columns: minmax(180px, 340px) 1fr minmax(150px, auto);
  gap: clamp(20px, 3.5vw, 56px);
  align-items: center;
  padding: clamp(26px, 3.2vw, 46px) 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left var(--t-base) var(--ease);
}
.g3-mtx-row:hover { padding-left: 16px; }

.g3-mtx-row-name { display: grid; gap: 6px; }
.g3-mtx-row-fmt {
  font-weight: 200;
  font-size: clamp(40px, 4.8vw, 84px);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--bone);
}
.g3-mtx-row-sub {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

.g3-mtx-row-copy { display: grid; gap: 8px; max-width: 56ch; }
.g3-mtx-row-for {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.g3-mtx-row-role {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone-soft);
}

.g3-mtx-row-size {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}
.g3-mtx-row-count { color: var(--bone-faint); }

@media (max-width: 900px) {
  .g3-mtx-row { grid-template-columns: minmax(140px, 220px) 1fr; }
  .g3-mtx-row-size { grid-column: 2; justify-items: start; text-align: left; }
}
@media (max-width: 640px) {
  .g3-mtx-row { grid-template-columns: 1fr; gap: 14px; }
  .g3-mtx-row:hover { padding-left: 0; }
  .g3-mtx-row-fmt { font-size: clamp(40px, 13vw, 56px); }
  .g3-mtx-row-size { grid-column: auto; }
}

/* -- 3 · the five maps, numbered ------------------------------ */

.g3-mtx-maprows { border-top: 1px solid var(--hairline); }
.g3-mtx-maprow {
  display: grid;
  grid-template-columns: 56px minmax(160px, 300px) 1fr;
  gap: clamp(18px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(20px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left var(--t-base) var(--ease);
}
.g3-mtx-maprow:hover { padding-left: 16px; }
.g3-mtx-maprow-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--bone-faint);
  font-variant-numeric: tabular-nums;
}
.g3-mtx-maprow-name {
  font-weight: 300;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.15;
  color: var(--bone);
}
.g3-mtx-maprow-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone-soft);
  max-width: 58ch;
}

@media (max-width: 760px) {
  .g3-mtx-maprow {
    grid-template-columns: 44px 1fr;
    row-gap: 8px;
  }
  .g3-mtx-maprow:hover { padding-left: 0; }
  .g3-mtx-maprow-text { grid-column: 2; }
}

/* -- 4 · geometry: label, dashed leader, thin giant value ------ */

.g3-mtx-georows { border-top: 1px solid var(--hairline); }
.g3-mtx-georow {
  display: flex;
  align-items: baseline;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(26px, 3.4vw, 48px) 0;
  border-bottom: 1px solid var(--hairline);
}
.g3-mtx-georow-copy { flex-shrink: 0; max-width: 44ch; display: grid; gap: 6px; }
.g3-mtx-georow-name {
  font-weight: 300;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
  color: var(--bone);
}
.g3-mtx-georow-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--bone-soft);
}
.g3-mtx-georow-line {
  flex: 1;
  border-bottom: 1px dashed var(--hairline);
  translate: 0 -6px;
}
.g3-mtx-georow-val {
  font-weight: 200;
  font-size: clamp(34px, 4.4vw, 80px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.g3-mtx-georow-val em {
  font-style: normal;
  font-size: .42em;
  letter-spacing: 0;
  color: var(--bone-faint);
}

@media (max-width: 860px) {
  .g3-mtx-georow { flex-direction: column; gap: 12px; align-items: flex-start; }
  .g3-mtx-georow-line { display: none; }
  .g3-mtx-georow-val { font-size: clamp(32px, 9.5vw, 48px); white-space: normal; }
}

/* -- 5 · licence ---------------------------------------------- */

.g3-mtx-lic .g3-read { display: grid; gap: 20px; justify-items: start; }
.g3-mtx-lic-text {
  margin: 0;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.6;
  color: var(--bone-soft);
}
.g3-mtx-lic-text .g3-link { color: var(--bone); }

/* -- 6 · closing scene ---------------------------------------- */

.g3-mtx-cta {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.g3-mtx-cta-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.g3-mtx-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.g3-mtx-cta-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 50%, rgba(10, 10, 12, .68), rgba(10, 10, 12, .3) 65%, transparent 85%),
    linear-gradient(180deg, rgba(10, 10, 12, .9) 0%, transparent 26%, transparent 70%, rgba(10, 10, 12, .9) 100%);
}
.g3-mtx-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
  padding: clamp(90px, 12vh, 150px) 24px;
}
.g3-mtx-cta-title {
  font-weight: 300;
  font-size: clamp(38px, 5.2vw, 88px);
  line-height: 1.08;
}
.g3-mtx-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.g3-mtx-cta-note {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
