/* ============ Contact page ============ */

.ct-hero {
  padding: 140px 0 60px;
  position: relative;
}
.ct-hero-crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ct-hero-crumb a { color: var(--fg-muted); }
.ct-hero-crumb a:hover { color: var(--fg); }
.ct-hero-crumb .sep { opacity: 0.4; }

.ct-hero-head {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.ct-hero-head em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.ct-hero-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 62ch;
  margin: 0 0 40px;
}

/* ============ Main grid: form + sidebar ============ */
.ct-main {
  padding: 40px 0 120px;
}
.ct-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

/* ============ Form ============ */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ct-field { display: flex; flex-direction: column; gap: 8px; }
.ct-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.ct-field label .req {
  color: var(--accent);
  margin-left: 4px;
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: var(--font-sans);
  font-size: 15.5px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  transition: border-color .2s, background .2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--fg);
  background: color-mix(in oklab, var(--fg) 3%, transparent);
}
.ct-field textarea {
  min-height: 160px;
  resize: vertical;
  font-family: var(--font-sans);
  line-height: 1.55;
}
.ct-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808088' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 44px;
}
.ct-field-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  margin-top: -2px;
}
.ct-field-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: -4px;
}

.ct-form-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.ct-form-submit .btn {
  font-size: 14px;
  padding: 16px 28px;
}
.ct-form-submit .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ct-form-privacy {
  font-size: 12px;
  color: var(--fg-muted);
  max-width: 38ch;
  line-height: 1.4;
}

/* Success + error banners */
.ct-form-alert {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.ct-form-alert-success {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  color: var(--fg);
}
.ct-form-alert-error {
  background: color-mix(in oklab, #ef4444 12%, transparent);
  border: 1px solid color-mix(in oklab, #ef4444 40%, transparent);
  color: var(--fg);
}

/* Honeypot — hidden from users */
.ct-honeypot {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============ Sidebar ============ */
.ct-side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ct-side-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in oklab, var(--fg) 2%, transparent);
}
.ct-side-card .eyebrow {
  margin-bottom: 14px;
  display: inline-block;
}
.ct-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ct-side-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.ct-side-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--fg);
  flex-shrink: 0;
}
.ct-side-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 2px;
  line-height: 1.3;
}
.ct-side-value {
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg);
}
.ct-side-value a {
  color: var(--fg);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 70%, var(--fg));
  padding-bottom: 1px;
  transition: color .2s;
}
.ct-side-value a:hover { color: var(--accent); }

.ct-side-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.ct-side-social {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--fg-soft);
  transition: color .2s, border-color .2s, background .2s;
}
.ct-side-social:hover {
  color: var(--fg);
  border-color: var(--fg);
  background: color-mix(in oklab, var(--fg) 4%, transparent);
}

.ct-side-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-side-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--fg-soft);
  padding: 4px 0;
}
.ct-side-hours-row b { color: var(--fg); font-weight: 500; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; gap: 32px; }
  .ct-side { position: static; }
}
@media (max-width: 600px) {
  .ct-hero { padding: 96px 0 32px; }
  .ct-hero-head { font-size: clamp(40px, 12vw, 64px); }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-field-sub-grid { grid-template-columns: 1fr; }
  .ct-side-card { padding: 22px; }
}

/* ============= MOBILE FIXES (≤760px) ============= */
@media (max-width: 760px) {
  .ct-grid,
  .ct-form-row,
  .ct-field-sub-grid { grid-template-columns: 1fr !important; gap: 16px; }
}

/* ============ Map section ============ */
.ct-map {
  padding: 80px 0 96px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.ct-map-head { max-width: 720px; margin-bottom: 32px; }
.ct-map-h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 8px 0 12px;
  line-height: 1.05;
}
.ct-map-h2 em { font-style: italic; color: var(--accent); }
.ct-map-sub {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.ct-map-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  aspect-ratio: 16 / 9;
}
.ct-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 760px) {
  .ct-map { padding: 56px 0 64px; }
  .ct-map-frame { aspect-ratio: 4 / 3; border-radius: 14px; }
}
