/* ============================================================
   Gessura — /contact/  (page-contact.php), v5 «Monochrome premium»
   A full-bleed opening scene, then a boxless worksheet: fields as
   rows on hairlines, no card.
   Tokens from system.css only; skeleton rules live in pages.css.
   ============================================================ */

/* -- 1 · opening scene (built like /process/'s .g3-ps-hero) ---- */

.g3-ct-hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--coal);
}
.g3-ct-hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.g3-ct-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
/* scrim: the sphere's dark core carries the type; edges settle */
.g3-ct-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 52% at 50% 50%, rgba(10, 10, 12, .5), rgba(10, 10, 12, .18) 62%, transparent 84%),
    linear-gradient(180deg, rgba(10, 10, 12, .55) 0%, transparent 26%, transparent 64%, rgba(10, 10, 12, .92) 100%);
}
.g3-ct-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
  padding: clamp(120px, 16vh, 180px) 24px clamp(90px, 12vh, 140px);
}
.g3-ct-hero-title {
  font-size: clamp(40px, 6vw, 100px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.015em;
  max-width: 14ch;
}
.g3-ct-hero-promise {
  margin: 0;
  max-width: 56ch;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.9;
  color: var(--bone-soft);
}
/* the caret cue into the form: mint, the one hot pixel on the scene */
.g3-ct-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(22px, 4.5vh, 44px);
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ember);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}
.g3-ct-cue span { animation: g3-ct-bob 2.4s var(--ease) infinite; }
@keyframes g3-ct-bob {
  0%, 100% { transform: translateY(0); opacity: .8; }
  50%      { transform: translateY(8px); opacity: 1; }
}

@media (max-width: 700px) {
  .g3-ct-hero { min-height: 82svh; }
  .g3-ct-hero-title { font-size: clamp(36px, 10vw, 54px); }
  .g3-ct-hero-promise { line-height: 1.75; }
}

/* -- split: form | quiet aside -------------------------------- */

/* the footer brings its own var(--pad) of air above it, so the
   worksheet closes short instead of stacking a second full pad */
.g3-contact-body { padding-block: clamp(56px, 6vw, 100px) clamp(16px, 2vw, 32px); scroll-margin-top: 80px; }

.g3-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(48px, 7vw, 130px);
  align-items: start;
}

/* -- the form: boxless rows on hairlines ---------------------- */

.g3-cform { display: grid; gap: clamp(28px, 3.4vw, 44px); }

.g3-cform-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.4vw, 44px);
}

.g3-cform-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.g3-cform-opt {
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: lowercase;
  /* no extra opacity: faint already sits at the AA floor */
}

.g3-cform-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-2);
  border-radius: 0;
  padding: 12px 0 14px;
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--bone);
  transition: border-color var(--t-quick) var(--ease);
}
.g3-cform-input:hover { border-color: rgba(255, 255, 255, .32); }
.g3-cform-input:focus,
.g3-cform-input:focus-visible {
  outline: none;
  border-color: var(--ember);
}

.g3-cform-area {
  resize: vertical;
  min-height: 150px;
  line-height: 1.65;
}

/* consent: a ruled row of its own */
.g3-cform-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-top: 1px solid var(--hairline);
  padding-top: clamp(20px, 2.4vw, 28px);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.65;
  color: var(--bone-soft);
}
.g3-cform-consent span { max-width: 56ch; }
.g3-cform-check {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 3px 0 0;
  accent-color: var(--ember);
}

.g3-cform-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.g3-cform-note {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

/* -- bounce alert: a ruled line, not a box --------------------- */

.g3-contact-alert {
  margin: 0 0 clamp(28px, 3.4vw, 44px);
  padding: 16px 0 18px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone-soft);
  max-width: 60ch;
}
.g3-contact-alert b { font-weight: 500; color: var(--danger); }

/* -- sent state ------------------------------------------------ */

.g3-contact-sent {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.g3-contact-sent-title {
  font-weight: 200;
  font-size: clamp(56px, 8vw, 120px);
  line-height: .95;
  letter-spacing: -.02em;
}
.g3-contact-sent-line {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--bone-soft);
  max-width: 44ch;
}
.g3-contact-sent .g3-btn { margin-top: 8px; }

/* -- the aside: quiet ruled notes ------------------------------ */

.g3-contact-aside .g3-stamp { display: block; margin-bottom: 22px; }

.g3-contact-hints { margin: 0; display: grid; }
.g3-contact-hint {
  padding-block: 16px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 5px;
}
.g3-contact-hint:last-child { border-bottom: 1px solid var(--hairline); }
.g3-contact-hint dt {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--bone);
}
.g3-contact-hint dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--bone-faint);
  max-width: 46ch;
}

.g3-contact-refs,
.g3-contact-direct {
  margin: 26px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--bone-faint);
  max-width: 46ch;
}
.g3-contact-refs a,
.g3-contact-direct a {
  color: var(--bone-soft);
  text-decoration: underline;
  text-decoration-color: var(--hairline-2);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
}
.g3-contact-refs a:hover,
.g3-contact-direct a:hover { color: var(--bone); text-decoration-color: var(--ember); }

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

@media (max-width: 960px) {
  .g3-contact-grid { grid-template-columns: 1fr; gap: clamp(56px, 8vw, 80px); }
  .g3-contact-aside { max-width: 620px; }
}
@media (max-width: 560px) {
  .g3-cform-pair { grid-template-columns: 1fr; }
}
