/* Contact page: dark, editorial. Loaded after styles.css. */
.contact-page {
  --ct-bg: #0d0c0b;
  --ct-text: #f0ece4;
  --ct-muted: #a7a196;
  --ct-line: #3a3733;
  --ct-err: #ff9d8a;
  --ct-font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--ct-bg);
  color: var(--ct-text);
  font-family: var(--ct-font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.contact-page :focus-visible { outline: 2px solid var(--ct-text); outline-offset: 4px; border-radius: 2px; }
.contact-page a { color: var(--ct-text); text-underline-offset: 4px; }
.contact-page .skip-link { background: var(--ct-text); color: var(--ct-bg); }

.ct-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 56px);
}
.ct-wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; font-weight: 400; letter-spacing: -0.02em; font-size: 1.1rem; }
.ct-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--ct-text); }
.ct-back { color: var(--ct-muted) !important; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.ct-back:hover { color: var(--ct-text) !important; }

.ct-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  padding: clamp(24px, 5vw, 72px) clamp(20px, 4vw, 56px) clamp(56px, 8vw, 120px);
  max-width: 1600px; width: 100%; margin-inline: auto;
}

.ct-intro h1 {
  margin: 0;
  font-family: var(--ct-font);
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ct-text);
}
.ct-lede { margin: 36px 0 0; max-width: 34em; color: var(--ct-muted); font-size: 1.125rem; line-height: 1.6; font-weight: 300; }
.ct-rule { border: 0; border-top: 1px solid var(--ct-line); margin: 44px 0 32px; }
.ct-details { margin: 0; display: grid; gap: 28px; }
.ct-details dt, .ct-field label {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ct-muted); font-weight: 500;
}
.ct-details dd { margin: 8px 0 0; font-size: 1.25rem; font-weight: 300; }
.ct-details a { text-decoration-color: var(--ct-line); }
.ct-details a:hover { text-decoration-color: var(--ct-text); }

.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; align-content: start; padding-top: 12px; }
.ct-full { grid-column: 1 / -1; }
.ct-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ct-opt { text-transform: none; letter-spacing: 0; }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; font: inherit; font-size: 1.375rem; font-weight: 300; color: var(--ct-text);
  background: transparent; border: 0; border-bottom: 1px solid var(--ct-line); border-radius: 0;
  padding: 8px 0 14px; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.ct-field textarea { resize: vertical; min-height: 120px; line-height: 1.4; }
.ct-field ::placeholder { color: #8d877c; opacity: 1; }
.ct-field input:hover, .ct-field select:hover, .ct-field textarea:hover { border-bottom-color: #6b665d; }
.ct-field input:focus-visible, .ct-field select:focus-visible, .ct-field textarea:focus-visible {
  outline: none; border-bottom-color: var(--ct-text); box-shadow: 0 1px 0 0 var(--ct-text);
}
.ct-field [aria-invalid="true"] { border-bottom-color: var(--ct-err); }
.ct-field select {
  cursor: pointer; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23a7a196' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
  color-scheme: dark;
}
.ct-field select:invalid { color: #8d877c; }
.ct-field select option { background: #1a1816; color: var(--ct-text); }
.ct-error { margin: 0; color: var(--ct-err); font-size: 0.875rem; }

.ct-status { margin: 0; color: var(--ct-text); font-size: 1rem; padding: 14px 0; border-top: 1px solid var(--ct-err); }
.ct-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
.ct-submit {
  font: inherit; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ct-text); color: var(--ct-bg); border: 0; border-radius: 999px;
  padding: 20px 36px; cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.ct-submit:hover { background: #fff; }
.ct-submit:active { transform: scale(0.98); }
.ct-submit:disabled { opacity: 0.6; cursor: progress; }
.ct-submit:focus-visible { outline: 2px solid var(--ct-text); outline-offset: 4px; }
.ct-hint { margin: 0; color: var(--ct-muted); font-size: 0.875rem; }

.ct-footer {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 56px) 32px; border-top: 1px solid var(--ct-line);
  color: var(--ct-muted); font-size: 0.875rem;
}
.ct-footer p { margin: 0; }
.ct-footer a { color: var(--ct-muted); }
.ct-footer a:hover { color: var(--ct-text); }

@media (max-width: 960px) {
  .ct-main { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ct-form { grid-template-columns: 1fr; gap: 30px; }
  .ct-field input, .ct-field select, .ct-field textarea { font-size: 1.25rem; }
  .ct-submit { width: 100%; }
  .ct-intro h1 { font-size: clamp(3rem, 15vw, 3.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .ct-field input, .ct-field select, .ct-field textarea, .ct-submit { transition: none; }
}
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-footer a { text-decoration-color: var(--ct-line); }

.ct-nav { display: flex; align-items: center; gap: 20px; } .ct-back { white-space: nowrap; }
.ct-call { white-space: nowrap; color: var(--ct-text) !important; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 1px solid currentColor; border-radius: 999px; padding: 10px 16px; }

/* SMS consent checkbox (styled in styles.css): readable on the dark contact page */
.ct-form .sms-consent { color: var(--ct-muted); }
.ct-form .sms-consent input { accent-color: var(--ct-text); }
