/*
 * ANTI-FØRMULA STUDIO
 * Contact page styles
 */

/* ── HERO ─────────────────────────────────────────────────────── */
.ct-hero {
  background: var(--c-black);
  color: var(--c-white);
  padding-top: calc(var(--header-h, 92px) + 64px);
  padding-bottom: 80px;
  border-bottom: 1px solid var(--c-dark-rule);
}
.ct-hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
}
.ct-hero-eyebrow-line {
  width: 32px; height: 1px; background: rgba(255,255,255,.2);
}
.ct-hero-hl { max-width: 640px; margin-bottom: 28px; }
/* ct-hero-sub removed — headline stands alone */

/* ── MAIN CONTENT GRID ────────────────────────────────────────── */
.ct-body {
  padding: 80px 0;
  background: var(--c-black);
}
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── LEFT COLUMN — context ────────────────────────────────────── */
.ct-context {}

.ct-path-toggle {
  display: flex;
  gap: 2px;
  background: var(--c-light);
  margin-bottom: 48px;
}
.ct-path-btn {
  flex: 1; padding: 12px 16px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 1px;
  text-align: center; cursor: pointer;
  background: var(--c-white); color: var(--c-mid);
  border: none; transition: background .15s, color .15s;
}
.ct-path-btn.active {
  background: var(--c-black); color: var(--c-white);
}

/* What happens next */
.ct-next {}
.ct-next-label {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-mid);
  margin-bottom: 20px; display: block;
  padding-bottom: 12px; border-bottom: 1px solid var(--c-light);
}
.ct-steps {
  display: flex; flex-direction: column; gap: 0;
}
.ct-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-light);
}
.ct-step-num {
  font-family: var(--f-mono); font-size: 9px;
  color: var(--c-white); flex-shrink: 0;
  padding-top: 2px; min-width: 20px;
}
.ct-step-body {}
.ct-step-title {
  font-family: var(--f-sans); font-size: 14px; font-weight: 500;
  color: var(--c-black); margin-bottom: 4px;
}
.ct-step-desc {
  font-family: var(--f-sans); font-size: 13px; line-height: 1.65;
  color: #36332F;
}

/* Intake call path */
.ct-call-path { display: none; }
.ct-call-path.visible { display: block; }
.ct-brief-path { display: block; }
.ct-brief-path.hidden { display: none; }

.ct-call-box {
  padding: 32px;
  background: var(--c-warm);
  border-left: 3px solid var(--c-orange);
  margin-bottom: 32px;
}
.ct-call-box-label {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-white);
  margin-bottom: 12px; display: block;
}
.ct-call-box p {
  font-family: var(--f-sans); font-size: 14px; line-height: 1.7;
  color: #2E2B29; margin-bottom: 16px;
}
.ct-call-box p:last-child { margin-bottom: 0; }

/* Direct contact */
.ct-direct {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-light);
}
.ct-direct-label {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-mid);
  margin-bottom: 12px; display: block;
}
.ct-direct-email {
  font-family: var(--f-serif); font-size: 18px; font-weight: 300;
  color: var(--c-black);
  border-bottom: 1px solid var(--c-light);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.ct-direct-email:hover {
  color: var(--c-white);
  border-color: var(--c-white);
}
.ct-direct-note {
  font-family: var(--f-sans); font-size: 13px;
  color: var(--c-mid); margin-top: 8px; display: block;
}

/* ── RIGHT COLUMN — form ──────────────────────────────────────── */
.ct-form-wrap {}

.ct-form-label-block {
  margin-bottom: 32px;
}
.ct-form-heading {
  font-family: var(--f-serif); font-size: 24px; font-weight: 300;
  color: var(--c-black); margin-bottom: 8px;
}
.ct-form-sub {
  font-family: var(--f-sans); font-size: 13px; color: var(--c-mid);
  line-height: 1.6;
}

/* Form elements */
.ct-form { display: flex; flex-direction: column; gap: 0; }

.ct-field {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-light);
}
.ct-field:first-of-type { border-top: 1px solid var(--c-light); }

.ct-field-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ct-field-row .ct-field {
  border-right: none;
}
.ct-field-row .ct-field:first-child {
  border-right: 1px solid var(--c-light);
  padding-right: 24px;
}
.ct-field-row .ct-field:last-child {
  padding-left: 24px;
  border-top: 1px solid var(--c-light);
}

.ct-label {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-mid);
}
.ct-label span { color: var(--c-white); }

.ct-input,
.ct-select,
.ct-textarea {
  font-family: var(--f-sans); font-size: 15px;
  color: var(--c-black); background: transparent; border: none;
  outline: none; width: 100%; resize: none;
  padding: 0; line-height: 1.5;
  -webkit-appearance: none;
}
.ct-input::placeholder,
.ct-textarea::placeholder { color: var(--c-light); }
.ct-select { cursor: pointer; }
.ct-select option { background: var(--c-white); color: var(--c-black); }
.ct-textarea { min-height: 80px; }

/* Focus state — orange underline on the field */
.ct-field:focus-within {
  border-bottom-color: var(--c-white);
}
.ct-field:focus-within .ct-label {
  color: var(--c-white);
}

/* Submit */
.ct-submit-wrap {
  margin-top: 32px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.ct-submit-note {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.06em;
  color: var(--c-mid); max-width: 240px; line-height: 1.6;
}
.ct-submit-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-black); color: var(--c-white);
  padding: 14px 28px; border: none; cursor: pointer;
  font-family: var(--f-sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  transition: background .15s;
  flex-shrink: 0;
}
.ct-submit-btn:hover { background: #2A2826; }
.ct-submit-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Success state */
.ct-success {
  display: none;
  padding: 40px;
  background: var(--c-warm);
  border-left: 3px solid var(--c-orange);
}
.ct-success.visible { display: block; }
.ct-success-hl {
  font-family: var(--f-serif); font-size: 24px; font-weight: 300;
  color: var(--c-black); margin-bottom: 12px;
}
.ct-success p {
  font-family: var(--f-sans); font-size: 14px; line-height: 1.7;
  color: #2E2B29;
}

/* Call form */
.ct-call-form { display: none; }
.ct-call-form.visible { display: flex; flex-direction: column; gap: 0; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ct-hero { padding-top: calc(var(--header-h, 92px) + 40px); padding-bottom: 56px; }
  .ct-body { padding: 56px 0; }
  .ct-grid { grid-template-columns: 1fr; gap: 56px; }
  .ct-field-row { grid-template-columns: 1fr; }
  .ct-field-row .ct-field:first-child { border-right: none; padding-right: 0; }
  .ct-field-row .ct-field:last-child { padding-left: 0; }
  .ct-submit-wrap { flex-direction: column; align-items: flex-start; }
}


/* ── MOOD CARD ────────────────────────────────────────────────── */
.ct-card {
  background: var(--c-black);  /* Specimen Black — brief mode */
  transition: background 0.9s ease;
  padding: 56px 0 80px;
  position: relative;
}

/* Call mode — cool blue */
.ct-card[data-mode="call"] {
  background: #0D1218;
}

/* Mood accent line at top */
.ct-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-black);
  transition: background 0.9s ease;
}
.ct-card[data-mode="call"]::before {
  background: #1B3F6B;
}

/* ── MODE BAR ─────────────────────────────────────────────────── */
.ct-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.ct-mode-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 2px; color: var(--c-dark-mid);
}
.ct-mode-pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-black);
  animation: ct-pip 2s ease-in-out infinite;
  transition: background 0.6s ease;
  flex-shrink: 0;
}
@keyframes ct-pip {
  0%,100%{ opacity:1; transform:scale(1); }
  50%    { opacity:.4; transform:scale(.65); }
}

/* Path toggle — on dark card */
.ct-path-toggle {
  display: flex; gap: 2px;
  background: rgba(255,255,255,.06);
  margin-bottom: 0;
  border: 1px solid rgba(255,255,255,.08);
}
.ct-path-btn {
  flex: 1; padding: 10px 16px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 1px;
  text-align: center; cursor: pointer;
  background: transparent; color: var(--c-dark-mid);
  border: none; transition: background .15s, color .15s;
  white-space: nowrap;
}
.ct-path-btn.active {
  background: var(--c-white); color: var(--c-black);
}

/* ── ADAPT TEXT COLOURS FOR DARK CARD ────────────────────────── */
/* Steps */
.ct-next-label { color: var(--c-dark-mid) !important; border-bottom-color: rgba(255,255,255,.08) !important; }
.ct-step { border-bottom-color: rgba(255,255,255,.06) !important; }
.ct-step-title { color: var(--c-white) !important; }
.ct-step-desc { color: var(--c-dark-body) !important; }

/* Call box */
.ct-call-box {
  background: rgba(255,255,255,.04);
  border-left-color: rgba(27,63,107,.6);
}
.ct-call-box-label { color: #5B8FC9 !important; }
.ct-call-box p { color: var(--c-dark-body) !important; }

/* Direct contact */
.ct-direct { border-top-color: rgba(255,255,255,.08) !important; }
.ct-direct-label { color: var(--c-dark-mid) !important; }
.ct-direct-email { color: var(--c-white) !important; border-bottom-color: rgba(255,255,255,.15) !important; }
.ct-direct-email:hover { color: var(--c-white) !important; border-color: var(--c-white) !important; }
.ct-direct-note { color: var(--c-dark-mid) !important; }

/* Form card */
.ct-form-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  padding: 40px;
}
.ct-card[data-mode="call"] .ct-form-wrap {
  border-color: rgba(27,63,107,.3);
  background: rgba(27,63,107,.08);
}
.ct-form-heading { color: var(--c-white) !important; }
.ct-form-sub { color: var(--c-dark-mid) !important; }

/* Fields on dark */
.ct-field {
  border-bottom: none !important;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1) !important;
  padding: 16px 20px !important;
  border-radius: 0;
  margin-bottom: 8px;
}
.ct-field:first-of-type { border-top: 1px solid rgba(255,255,255,.1) !important; }
.ct-field-row { gap: 8px; }
.ct-field-row .ct-field:first-child {
  border-right: 1px solid rgba(255,255,255,.1) !important;
  padding-right: 20px !important;
}
.ct-field-row .ct-field:last-child {
  border-top: 1px solid rgba(255,255,255,.1) !important;
  padding-left: 20px !important;
}
.ct-field:focus-within {
  border-color: var(--c-white) !important;
  background: rgba(232,80,10,.06);
}
.ct-card[data-mode="call"] .ct-field:focus-within {
  border-color: #5B8FC9 !important;
  background: rgba(27,63,107,.1);
}
.ct-input, .ct-select, .ct-textarea {
  color: var(--c-white) !important;
}
.ct-input::placeholder, .ct-textarea::placeholder { color: rgba(255,255,255,.15) !important; }
.ct-select option { background: #1A1614; color: var(--c-white); }

/* Submit */
.ct-submit-note { color: var(--c-dark-mid) !important; }
.ct-submit-btn {
  background: var(--c-black) !important;
  color: var(--c-white) !important;
}
.ct-submit-btn:hover { background: #2A2826 !important; }
.ct-card[data-mode="call"] .ct-submit-btn {
  background: #1B3F6B !important;
}
.ct-card[data-mode="call"] .ct-submit-btn:hover {
  background: #2a5a9e !important;
}

/* Success */
.ct-success {
  background: rgba(255,255,255,.04) !important;
  border-left-color: var(--c-white) !important;
}
.ct-success-hl { color: var(--c-white) !important; }
.ct-success p { color: var(--c-dark-body) !important; }

@media (max-width: 900px) {
  .ct-mode-bar { flex-direction: column; align-items: flex-start; }
  .ct-form-wrap { padding: 28px 20px; }
  .ct-card { padding: 40px 0 64px; }
}
