/* ===========================================================
   Verged · Contact page (verged.ai/contact)
   Title Banner (slim dark) + two-column form section.
   Tokens from colors_and_type.css · nav/footer from
   site-marketing.css · buttons/forms base from site.css.
   =========================================================== */

/* ---------- PART 1 · Title Banner (slim, dark) ---------- */
.v-banner {
  position: relative;
  overflow: hidden;
  background: var(--verge-navy);
  color: #FAFAFA;
}
.v-banner__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
  z-index: 0;
}
/* Navy #15273F / Ink #0A1320 overlay for high-contrast white text */
.v-banner__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(21,39,63,0.80) 0%, rgba(10,19,32,0.88) 100%);
}
.v-banner__inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 150px 32px 58px;   /* ~90px header overlap + a slim ~220px band */
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.v-banner__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--verge-orange);
}
.v-banner__eyebrow::before,
.v-banner__eyebrow::after {
  content: ""; width: 26px; height: 2px;
  background: var(--verge-orange); border-radius: 2px;
}
.v-banner__title {
  font-family: 'Plus Jakarta Sans', var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08; letter-spacing: -0.022em;
  color: #FAFAFA; margin: 18px 0 0;
}
.v-banner__title em {
  font-style: italic; font-weight: 800;
  color: var(--verge-orange);
}

/* ---------- PART 2 · Founder tile (light) + Form section (stone) ---------- */
.v-contactpage--light { padding: 120px 0 0; background: #FAFAFA; }
.v-contactpage { padding: 120px 0; background: var(--verge-stone-2); }
.v-contactpage__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;   /* ~40% / ~60% */
  gap: 84px; align-items: start;
  max-width: 1200px; margin: 0 auto;
}

/* Left column */
.v-cp__intro {
  font-family: 'Inter', var(--font-body);
  font-weight: 400; font-size: 19px; line-height: 28px;
  color: var(--verge-ink); margin: 0 0 40px;
}
.v-cp__intro + .v-cp__intro { margin-top: -16px; }
.v-cp__intro strong {
  font-weight: 700;          /* bold emphasis lead-in, set in Ink — never orange */
  color: var(--verge-ink);
}
.v-cp__alt {
  font-family: 'Inter', var(--font-body);
  font-weight: 400; font-size: 16px; line-height: 25px;
  color: var(--verge-ink); margin: 0; max-width: 40ch;
}

/* DS text link — ink text · 1px underline @45% ink · orange arrow */
.v-link {
  color: var(--verge-ink); text-decoration: none;
  background-image: linear-gradient(var(--ul-c), var(--ul-c));
  background-repeat: no-repeat; background-position: 0 100%;
  background-size: 100% 1px; --ul-c: rgba(10,19,32,0.45);
  padding-bottom: 2px;
  transition: background-size .15s var(--ease), --ul-c .15s var(--ease);
  white-space: nowrap;
}
.v-link:hover { background-size: 100% 2px; --ul-c: rgba(10,19,32,0.7); }
.v-link__arr { color: var(--verge-orange); display: inline-block; transition: transform .2s var(--ease); }
.v-link:hover .v-link__arr { transform: translateX(4px); }

/* ---------- HubSpot form embed ----------
   HubSpot grows this wrapper via postMessage as the form changes
   (email-only → full form). That works on the real site; the preview
   sandbox blocks the traffic, so HubSpot ends up reporting height:0
   and cross-origin content can't be measured here. The floor below is
   therefore a preview-only stand-in sized for the INITIAL email-only
   state. Never a cap — downstream HubSpot's resize drives the true
   height and this whole block can be dropped. */
.hs-form-frame { min-height: 200px; }
.hs-form-frame iframe { visibility: visible !important; }

/* ---------- Founder tile (sits above the form row) ---------- */
.v-founder {
  display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center;
  margin: 0 0 64px;
}
.v-founder__photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.v-founder__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--verge-orange); margin: 0 0 18px;
}
.v-founder__eyebrow::before,
.v-founder__eyebrow::after { content: ""; width: 24px; height: 1px; background: var(--verge-orange); opacity: 0.85; }
.v-founder__name {
  font-family: 'Plus Jakarta Sans', var(--font-display);
  font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--verge-ink); margin: 0 0 8px;
}
.v-founder__role {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted); margin: 0 0 20px;
}
.v-founder__body {
  font-family: 'Inter', var(--font-body);
  font-weight: 400; font-size: 17px; line-height: 1.6;
  color: var(--verge-ink); margin: 0 0 28px; max-width: 56ch;
}
@media (max-width: 800px) {
  .v-founder { grid-template-columns: 1fr; gap: 28px; }
  .v-founder__photo { max-width: 320px; }
}

/* Right column — contact form */
.cform { display: block; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cform__field { margin: 0 0 22px; }
.cform__field label {
  display: block;
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  color: var(--verge-ink); margin-bottom: 8px;
}
.cform__field label .req { color: var(--verge-orange); margin-left: 3px; }
.cform__field input,
.cform__field textarea {
  width: 100%; box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid var(--verge-stone); border-radius: 4px;
  background: #fff;
  font-family: 'Inter', var(--font-body); font-size: 16px; line-height: 1.4;
  color: var(--verge-ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.v-cp__alt { margin-top: 48px; }
.cform__field input::placeholder,
.cform__field textarea::placeholder { color: var(--verge-fog); }
.cform__field input:hover,
.cform__field textarea:hover { border-color: #cfd4d9; }
.cform__field input:focus,
.cform__field textarea:focus {
  outline: 0; border-color: var(--verge-orange);
  box-shadow: 0 0 0 3px rgba(236,91,41,0.12);
}
.cform__field textarea { resize: vertical; min-height: 116px; }

/* DSGVO consent */
.cform__consent {
  display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start;
  margin: 4px 0 28px;
  font-family: 'Inter', var(--font-body);
  font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--verge-ink);
}
.cform__consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #C44516; flex: 0 0 auto; }
.cform__consent a { color: var(--verge-ink); text-decoration: underline; text-decoration-color: rgba(10,19,32,0.45); text-underline-offset: 2px; }
.cform__consent a:hover { text-decoration-color: rgba(10,19,32,0.75); }

.cform__submit { text-transform: uppercase; letter-spacing: 0.08em; }

/* Success state — calm confirmation replacing the form */
.cform__success {
  background: #fff; border: 1px solid var(--verge-stone);
  border-left: 3px solid var(--verge-orange);
  padding: 40px 44px;
}
.cform__success h3 {
  font-family: 'Plus Jakarta Sans', var(--font-display);
  font-weight: 800; font-size: 24px; letter-spacing: -0.018em;
  color: var(--verge-ink); margin: 0 0 12px;
}
.cform__success p {
  font-family: 'Inter', var(--font-body);
  font-size: 16px; line-height: 1.65; color: var(--fg-2); margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .v-contactpage--light { padding: 64px 0 0; }
  .v-contactpage { padding: 64px 0; }
  .v-contactpage__grid { grid-template-columns: 1fr; gap: 48px; }
  .v-banner__inner { padding: 128px 24px 48px; }
}
@media (max-width: 600px) {
  .cform__row { grid-template-columns: 1fr; gap: 0; }
}
