/* Contact page — built on the homepage system (home.css: nav, hero, pill, btn, footer, reveal).
   Hero photo, then a white sheet with the team's details and the inquiry form. */

/* ---------- Brand tokens: same as careers.css — ONLY colours from Brand Guideline V1.0 (Apr 2025).
   Warm Violet #320F99 · Blue Print #332D84 · Slate Grey #2D2D2D · Neutral Dark #444444 · Neutral #666666
   Neutral lighter #CCCCCC · Background #F3F3F3 · White · Ronchi #EEB650 · purple tints ---------- */
:root {
  --purple:    #320F99;
  --purple-2:  #332D84;
  --purple-dk: #332D84;
  --lilac:     #F3F3F3;
  --grey:      #F3F3F3;
  --ink:       #2D2D2D;
  --ink-2:     #444444;
  --muted:     #666666;
  --line:      #CCCCCC;
  --purple-mid: #9C8DD9;   /* soft purple: the former light-green accent slots (tech pictogram shade) */
  --gold:      #EEB650;
}
/* typography weights per guideline: Bold headlines, Semi Bold subheads/UI */
h1, h2 { font-weight: 700; }
h3, .btn, .pill, .nav-pill a { font-weight: 600; }

/* ---------- 1 · HEADER: brand banner ---------- */
.ct-banner { position: relative; overflow: hidden; isolation: isolate; background: var(--purple); color: #fff;
  min-height: clamp(230px, 19vw, 300px); display: grid; place-items: center; padding: 92px var(--gutter) 60px; }
/* the large brand rings in a lighter violet, as in the banner artwork */
.ct-ring { position: absolute; z-index: -1; aspect-ratio: 57 / 60; height: auto; color: #fff; opacity: .07; pointer-events: none; }
.ct-ring-1 { width: max(560px, 44vw); left: 50%; top: 50%; transform: translate(-58%, -40%) rotate(-8deg); }
.ct-ring-2 { width: max(900px, 74vw); right: -46%; top: -30%; transform: rotate(14deg); opacity: .06; }

/* ---------- 2 · CONTACT ---------- */
.ct-intro h1 { margin: 18px 0 0; font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.06; max-width: 16ch; text-wrap: balance; }
.ct-lead { margin: 16px 0 0; max-width: 52ch; color: var(--ink-2); font-size: clamp(1.02rem, 1.2vw, 1.2rem); line-height: 1.55; text-wrap: pretty; }
.ct-sec { position: relative; z-index: 1; margin-top: -32px; border-radius: 28px 28px 0 0; background: #fff; overflow: clip;
  padding: clamp(40px, 4vw, 64px) 0 clamp(72px, 8vw, 128px); box-shadow: 0 -24px 48px -32px rgba(17,17,17,.45); }
/* desktop: intro on the left, the form on the right; phones: intro → form */
.ct-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "intro form"; column-gap: clamp(40px, 6vw, 96px); row-gap: clamp(36px, 4vw, 56px); align-items: start; }
.ct-intro { grid-area: intro; }
/* one block per inquiry route: Cocoa booster (sales) first, the other solutions (hello) below */
.ct-topics { margin-top: clamp(28px, 3vw, 40px); display: grid; gap: clamp(22px, 2.4vw, 30px); max-width: 52ch; }
.ct-topic { padding-top: clamp(20px, 2.2vw, 26px); border-top: 1px solid rgba(14,11,26,.12); display: grid; gap: 8px; }
.ct-topic h2 { margin: 0; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.2; }
.ct-topic p { margin: 0; color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }
.ct-mail { width: fit-content; margin-top: 4px; color: var(--purple); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(50,15,153,.35); }
.ct-mail:hover { text-decoration-color: var(--purple); }
.ct-form { grid-area: form; }

/* form card */
.ct-form { background: var(--grey); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; }
.ct-form-title { font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.2; margin: 0 0 4px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-field { display: grid; gap: 7px; min-width: 0; }
.ct-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease; }
.ct-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--muted); }
.ct-field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23320F99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; }
.ct-field input:hover, .ct-field select:hover, .ct-field textarea:hover { border-color: var(--purple-2); }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(50,15,153,.18); }
.ct-submit { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.ct-submit:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ct-note { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.ct-note a { color: var(--purple); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.ct-note:empty { display: none; }
.ct-tick { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.ct-tick input { width: 18px; height: 18px; accent-color: var(--purple); }
.ct-tick a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.ct-submit[disabled] { opacity: .6; cursor: progress; }
/* spam trap: off-screen, only bots fill it */
.ct-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form"; }
}
@media (max-width: 640px) {
  .ct-sec { margin-top: -24px; border-radius: 24px 24px 0 0; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-submit { justify-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ct-field input, .ct-field select, .ct-field textarea { transition: none; } }
