/* =====================================================================
   Contact page — hero + form + Auckland map + global-career flags.
   Brand: black #111 / white / yellow #FFD80C. Yellow only on dark (legibility).
   Loaded via $extraStyles (see includes/meta.php).
   ===================================================================== */

.ct-lead {
  max-width: 640px;
  margin-top: 30px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--secondary);
}

/* ---- layout ---------------------------------------------------------- */
.ct-area { padding-top: 90px; }
.ct-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: start;
}
@media (max-width: 1100px) { .ct-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- form ------------------------------------------------------------ */
.ct-form-col { min-width: 0; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 575px) { .ct-row { grid-template-columns: 1fr; } }

.ct-field { margin-top: 22px; display: flex; flex-direction: column; }
.ct-row .ct-field { margin-top: 0; }
.ct-field label {
  font-family: var(--font_bdogrotesk);
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--primary);
  margin-bottom: 10px;
}
.ct-opt { color: var(--secondary); font-size: 13px; }

.ct-field input,
.ct-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.20);
  border-radius: 12px;
  padding: 15px 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ct-field textarea { resize: vertical; min-height: 150px; }
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: rgba(17, 17, 17, 0.4); }
.ct-field input:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(255, 216, 12, 0.45);   /* yellow focus ring (not text) */
}

/* honeypot — visually removed, still in the DOM for bots */
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-submit {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font_bdogrotesk);
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: #111111;
  border: 1px solid #111111;
  border-radius: 100px;
  padding: 16px 30px;
  cursor: pointer;
  will-change: transform;       /* GSAP magnetic pull drives transform (see main.js) */
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ct-submit i { transition: transform 0.3s ease; }
.ct-submit:hover {
  background: #FFD80C;          /* yellow fill + black text = legible */
  color: #111111;
  border-color: #FFD80C;
}
.ct-submit:hover i { transform: translateX(4px); }
.ct-submit:disabled { opacity: 0.55; cursor: progress; }
.ct-submit:disabled:hover { background: #111111; color: #ffffff; border-color: #111111; }
.ct-submit:disabled:hover i { transform: none; }

/* ---- flash messages -------------------------------------------------- */
.ct-flash {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 30px;
}
.ct-flash p { margin: 4px 0 0; font-size: 15px; line-height: 1.55; }
.ct-flash__mark {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 700;
}
.ct-flash--ok  { background: #111111; color: #ffffff; }
.ct-flash--ok .ct-flash__mark { background: #FFD80C; color: #111111; }
.ct-flash--err { background: #fbeaea; color: #7a1f1f; border: 1px solid #e7c3c3; }
.ct-flash--err .ct-flash__mark { background: #7a1f1f; color: #ffffff; }

/* ---- info panel + map ------------------------------------------------ */
.ct-panel {
  background: #111111;
  color: #ffffff;
  border-radius: 22px;
  padding: 40px 38px;
}
.ct-panel__eyebrow {
  font-family: var(--font_bdogrotesk);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #FFD80C;               /* yellow on dark — fine */
}
.ct-panel__city {
  font-family: var(--font_bdogrotesk);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 16px 0 28px;
}
.ct-contacts { list-style: none; margin: 0 0 30px; padding: 0; }
.ct-contacts li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
}
.ct-contacts li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.ct-contacts a { color: #ffffff; text-decoration: none; }
.ct-contacts a:hover { color: #FFD80C; }
.ct-ic {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 216, 12, 0.14);
  color: #FFD80C;
  font-size: 15px;
}

.ct-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0a0a;
}
.ct-map iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(0.25) contrast(1.05); }
.ct-map__link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font_bdogrotesk);
  font-size: 14px;
  color: #FFD80C;               /* on the dark panel — fine */
  text-decoration: none;
}
.ct-map__link:hover { text-decoration: underline; }

/* ---- global-career flags --------------------------------------------- */
.ct-journey { margin-top: 110px; }
.ct-journey__head { max-width: 720px; margin-bottom: 44px; }
.ct-journey__title {
  font-family: var(--font_bdogrotesk);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--primary);
  margin: 18px 0 18px;
}
.ct-journey__text { font-size: 18px; line-height: 1.6; color: var(--secondary); }

.ct-flags {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 14px;
}
.ct-flag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 100px;
  background: #ffffff;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ct-flag:hover {
  transform: translateY(-3px);
  border-color: #111111;
  box-shadow: 0 18px 38px -24px rgba(17, 17, 17, 0.5);
}
.ct-flag__emoji { font-size: 26px; line-height: 1; }
.ct-flag__name {
  font-family: var(--font_bdogrotesk);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--primary);
}
.ct-flag.is-home { background: #111111; border-color: #111111; }
.ct-flag.is-home .ct-flag__name { color: #ffffff; }
.ct-flag__tag {
  font-family: var(--font_bdogrotesk);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111111;
  background: #FFD80C;          /* yellow chip + black text = legible */
  padding: 4px 10px;
  border-radius: 100px;
}
