/* ============================================================
   Gessura — /prompts/ v5 «Monochrome premium»
   The prompt guide: one full-bleed opening scene, then boxless
   hairline rows — anatomy, worked examples, do/don't — and a
   centred closing CTA. Tokens from system.css only.
   ============================================================ */

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

.g3-pr-hero {
  position: relative;
  min-height: min(92vh, 980px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--coal);
}

.g3-pr-hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.g3-pr-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.g3-pr-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, .82) 0%, rgba(10, 10, 12, .42) 42%, rgba(10, 10, 12, .1) 78%),
    linear-gradient(180deg, rgba(10, 10, 12, .45) 0%, transparent 28%, transparent 58%, rgba(10, 10, 12, .85) 100%);
}

.g3-pr-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  justify-items: start;
  padding: clamp(80px, 11vh, 140px) clamp(24px, 6vw, 110px) clamp(52px, 7vh, 96px);
  max-width: 1240px;
}

/* the prompt itself, set as display type — a typed line, mint caret */
.g3-pr-hero-line {
  font-size: clamp(28px, 3.9vw, 66px);
  font-weight: 200;
  line-height: 1.16;
  letter-spacing: -.012em;
  max-width: 26ch;
  text-wrap: balance;
}
.g3-pr-caret {
  display: inline-block;
  width: 2px;
  height: .85em;
  background: var(--ember);
  margin-left: 10px;
  translate: 0 .1em;
  animation: g3-pr-caret 1.1s steps(1) infinite;
}
@keyframes g3-pr-caret { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .g3-pr-caret { animation: none; }
}

.g3-pr-hero-sub {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--bone-soft);
  max-width: 52ch;
}

.g3-pr-hero-ctas {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.g3-pr-note {
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

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

.g3-pr-head {
  display: grid;
  gap: 18px;
  justify-items: start;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.g3-pr-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--bone-soft);
  max-width: 56ch;
}

/* index numeral shared by the row idioms */
.g3-pr-idx {
  font-weight: 200;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--bone-faint);
  font-variant-numeric: tabular-nums;
}

/* -- 2 · anatomy rows ------------------------------------------ */

.g3-pr-parts { border-top: 1px solid var(--hairline); }
.g3-pr-part {
  display: grid;
  grid-template-columns: clamp(48px, 5vw, 90px) 1fr minmax(240px, 380px);
  gap: clamp(18px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(24px, 3vw, 42px) 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left var(--t-base) var(--ease);
}
.g3-pr-part:hover { padding-left: 16px; }

.g3-pr-part-main { display: grid; gap: 8px; }
.g3-pr-part-name {
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.g3-pr-part-line {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone-soft);
  max-width: 46ch;
}

.g3-pr-frag {
  margin: 0;
  justify-self: end;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--bone-soft);
}

/* -- 3 · worked example rows ----------------------------------- */

.g3-pr-rows { border-top: 1px solid var(--hairline); }
.g3-pr-row {
  display: grid;
  grid-template-columns: clamp(48px, 5vw, 90px) 1fr auto auto;
  gap: clamp(18px, 3vw, 44px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left var(--t-base) var(--ease);
}
.g3-pr-row:hover { padding-left: 16px; }

.g3-pr-text {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 26px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--bone);
  max-width: 52ch;
}

.g3-pr-kind {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone-faint);
  white-space: nowrap;
}

.g3-pr-go {
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone-soft);
  white-space: nowrap;
  transition: color var(--t-quick) var(--ease);
}
.g3-pr-go em {
  font-style: normal;
  display: inline-block;
  margin-left: 4px;
  transition: translate var(--t-base) var(--ease), color var(--t-quick) var(--ease);
}
.g3-pr-go:hover { color: var(--bone); }
.g3-pr-go:hover em { color: var(--ember); translate: 5px 0; }

/* -- 4 · do & don't rows --------------------------------------- */

.g3-pr-rules { border-top: 1px solid var(--hairline); }
.g3-pr-rule {
  display: grid;
  grid-template-columns: clamp(64px, 6vw, 110px) 1fr minmax(240px, 420px);
  gap: clamp(18px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-bottom: 1px solid var(--hairline);
}

.g3-pr-rule-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone);
}
.g3-pr-rule.is-dont .g3-pr-rule-tag { color: var(--bone-faint); }

.g3-pr-rule-name {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 300;
  line-height: 1.3;
}
.g3-pr-rule.is-dont .g3-pr-rule-name { color: var(--bone-soft); }

.g3-pr-rule-note {
  margin: 0;
  justify-self: end;
  text-align: right;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--bone-faint);
  max-width: 40ch;
}

/* -- 5 · closing CTA ------------------------------------------- */

.g3-pr-cta-inner {
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}
.g3-pr-cta-title {
  font-size: clamp(36px, 4.8vw, 84px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.012em;
}

/* -- responsive ------------------------------------------------ */

@media (max-width: 900px) {
  .g3-pr-part,
  .g3-pr-rule {
    grid-template-columns: clamp(40px, 6vw, 64px) 1fr;
  }
  .g3-pr-frag,
  .g3-pr-rule-note {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
  .g3-pr-row { grid-template-columns: clamp(40px, 6vw, 64px) 1fr; row-gap: 10px; }
  .g3-pr-kind { grid-column: 2; }
  .g3-pr-go { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  .g3-pr-hero { min-height: 86svh; }
  .g3-pr-hero-media::after {
    background:
      linear-gradient(180deg, rgba(10, 10, 12, .5) 0%, rgba(10, 10, 12, .32) 40%, rgba(10, 10, 12, .9) 100%);
  }
  .g3-pr-hero-line { font-size: clamp(24px, 6.8vw, 34px); }
}
