/*
 * Contact Page — .ct scoped styles
 * Source: Blueprint Memphis contact.dc.html / assets/contact.css
 * Form fields inherit the Beto Gravity Forms token sheet (assets/css/gravity-forms.css);
 * this file only styles the page layout, hero, cards, and map.
 *
 * Fonts: --ct-sans / --ct-mono fall back to system stacks. No Google Fonts CDN.
 */

.ct {
  --ct-paper: #FFFFFF;
  --ct-canvas: var(--nu-canvas, #F6F5F1);
  --ct-mist: #ECEBE5;
  --ct-line: #E2E0D9;
  --ct-ink: #17171B;
  --ct-muted: #6B6B72;
  --ct-muted-2: #8C8C92;
  --ct-border-hover: #C8C8C7;
  --ct-sans: 'Hanken Grotesk', system-ui, sans-serif;
  --ct-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ct-radius: 12px;
  --ct-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  font-family: var(--ct-sans);
  color: var(--ct-ink);
  background: var(--ct-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ct .ct-wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--nu-gutter, clamp(1.25rem, 4vw, 3rem));
}

/* ===== Hero band ===== */
.ct .ct-hero {
  background: var(--ct-ink);
}

.ct .ct-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ct-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-block: 1.5rem 0;
}

.ct .ct-crumb a {
  color: #fff;
  text-decoration: none;
}

.ct .ct-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct .ct-crumb .sep {
  color: rgba(255, 255, 255, 0.35);
}

.ct .ct-hero-inner {
  max-width: 60ch;
  padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.25rem, 4vw, 3.25rem);
}

.ct .ct-eyb {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ct-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.ct .ct-eyb .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.ct .ct-eyb .muted {
  color: rgba(255, 255, 255, 0.6);
}

.ct .ct-hero-title .elementor-heading-title {
  color: #F6F4EE;
  font-family: var(--ct-sans);
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.ct .ct-hero-title {
  margin-top: 1rem;
}

.ct .ct-hero-deck {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  margin-top: 1.15rem;
}

.ct .ct-hero-deck p {
  margin: 0;
  text-wrap: pretty;
}

/* ===== Body grid ===== */
.ct .ct-body {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 5.5rem);
}

.ct .ct-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

@media (max-width: 900px) {
  .ct .ct-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ===== Form card ===== */
.ct .ct-form-card {
  background: var(--ct-paper);
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-width: 0;
}

.ct .ct-form-title .elementor-heading-title {
  font-family: var(--ct-sans);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ct-ink);
  text-wrap: balance;
}

.ct .ct-form-sub {
  color: var(--ct-muted);
  font-size: 0.98rem;
  margin-top: 0.5rem;
  margin-bottom: 1.9rem;
}

.ct .ct-form-sub p {
  margin: 0;
}

/* Submit row: microcopy note next to the button */
.ct .gform_footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ct .gform_footer::after {
  content: "Your details stay private.";
  font-family: var(--ct-mono);
  font-size: 0.68rem;
  color: var(--ct-muted);
  letter-spacing: 0.02em;
}

/* Confirmation message styled as the success panel */
.ct .gform_confirmation_message {
  text-align: center;
  padding-block: clamp(1rem, 3vw, 2.5rem);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ct-muted);
}

.ct .gform_confirmation_message::before {
  content: "\2713";
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--ct-ink);
  color: #fff;
  font-size: 1.9rem;
  margin: 0 auto 1.75rem;
}

/* ===== Sidebar ===== */
.ct .ct-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.ct .ct-info-card {
  background: var(--ct-paper);
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius);
  padding: 1.35rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.15s, transform 0.2s var(--ct-ease-out);
}

.ct .ct-info-card:hover {
  border-color: var(--ct-border-hover);
}

.ct .ct-info-card .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--ct-mist);
  display: grid;
  place-items: center;
  color: var(--ct-ink);
  font-size: 1rem;
}

.ct .ct-info-card .k {
  font-family: var(--ct-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ct-muted-2);
}

.ct .ct-info-card .v {
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 0.3rem;
  line-height: 1.3;
  color: var(--ct-ink);
}

.ct .ct-info-card .v a {
  color: inherit;
  text-decoration: none;
}

.ct .ct-info-card .v a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct .ct-info-card .sub,
.ct .ct-info-card .ct-info-sub {
  font-size: 0.86rem;
  color: var(--ct-muted);
  margin-top: 0.3rem;
  line-height: 1.45;
}

.ct .ct-info-card .ct-info-sub p {
  margin: 0;
}

/* Elementor-native info cards (icon + heading + text widgets). */
.ct .ct-info-card .ct-info-k .elementor-heading-title {
  font-family: var(--ct-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ct-muted-2);
  line-height: 1.3;
}

.ct .ct-info-card .ct-info-v {
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 0.3rem;
  line-height: 1.3;
  color: var(--ct-ink);
}

.ct .ct-info-card .ct-info-v p {
  margin: 0;
}

.ct .ct-info-card .ct-info-v a {
  color: inherit;
  text-decoration: none;
}

.ct .ct-info-card .ct-info-v a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct .ct-info-card .ic .elementor-widget-icon {
  margin: 0;
}

.ct .ct-info-card .ic .elementor-icon {
  font-size: 1rem;
}

/* Hours card */
.ct .ct-hours-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #3a3a42 0%, #26262b 42%, #1a1a1e 100%);
  color: #fff;
  border-radius: var(--ct-radius);
  padding: 1.5rem 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ct .ct-hours-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 9px);
  pointer-events: none;
}

.ct .ct-hours-card::after {
  content: "";
  position: absolute;
  left: -20%;
  top: -40%;
  width: 80%;
  height: 180%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 30%, transparent 60%);
  transform: rotate(8deg);
  pointer-events: none;
}

.ct .ct-hours-card > * {
  position: relative;
  z-index: 1;
}

.ct .ct-hours-card .k,
.ct .ct-hours-card .ct-hours-k .elementor-heading-title {
  font-family: var(--ct-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

.ct .ct-hours-card h3,
.ct .ct-hours-card .ct-hours-title .elementor-heading-title {
  color: #fff;
  font-family: var(--ct-sans);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0.55rem 0 0;
}

.ct .ct-hours-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ct .ct-hours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.ct .ct-hours-row .d,
.ct .ct-hours-row .ct-hours-d {
  color: rgba(255, 255, 255, 0.85);
}

.ct .ct-hours-row .ct-hours-d p {
  margin: 0;
}

.ct .ct-hours-row .t,
.ct .ct-hours-row .ct-hours-t {
  font-family: var(--ct-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

.ct .ct-hours-row .ct-hours-t p {
  margin: 0;
}

.ct .ct-hours-row.is-closed .t {
  color: rgba(255, 255, 255, 0.4);
}

.ct .ct-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.ct .ct-social a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.15s;
}

.ct .ct-social a:hover {
  background: #fff;
  color: var(--ct-ink);
  border-color: #fff;
}

/* Elementor Social Icons widget in the hours card. */
.ct .ct-hours-card .elementor-widget-social-icons.ct-social {
  margin-top: 1.25rem;
}

.ct .ct-hours-card .elementor-widget-social-icons.ct-social .elementor-social-icons {
  gap: 0.5rem;
}

.ct .ct-hours-card .elementor-widget-social-icons.ct-social .elementor-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  transition: all 0.15s;
}

.ct .ct-hours-card .elementor-widget-social-icons.ct-social .elementor-social-icon:hover {
  background: #fff;
  border-color: #fff;
}

.ct .ct-hours-card .elementor-widget-social-icons.ct-social .elementor-social-icon:hover i {
  color: var(--ct-ink);
}

/* Map widget */
.ct .ct-map-widget {
  background: var(--ct-paper);
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius);
  overflow: hidden;
}

.ct .ct-map-widget .lmap {
  height: 210px;
  width: 100%;
  background: #e9e8e3;
}

.ct .ct-map-widget .lmap .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.7);
}

.ct .ct-map-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--ct-paper);
  border-top: 1px solid var(--ct-line);
}

.ct .ct-map-foot .addr {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ct-ink);
}

.ct .ct-map-foot .addr span {
  display: block;
  font-family: var(--ct-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ct-muted-2);
  margin-top: 0.2rem;
}

.ct .ct-map-foot a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ct-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ct-ink);
  text-decoration: none;
}

.ct .ct-map-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct .ct-map-foot .ct-map-addr {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ct-ink);
}

.ct .ct-map-foot .ct-map-addr p {
  margin: 0;
}

.ct .ct-map-foot .ct-map-btn .elementor-button {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ct-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ct-ink);
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.ct .ct-map-foot .ct-map-btn .elementor-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
  color: var(--ct-ink);
}

/* Map canvas: Elementor container with id="contact-map" via Custom Attributes. */
.ct .ct-map-widget .lmap.e-con {
  display: block;
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  .ct .ct-wrap {
    padding-inline: var(--nu-gutter, clamp(1.25rem, 4vw, 3rem));
  }

  .ct .ct-hero-deck {
    font-size: 1.08rem;
  }

  .ct .ct-form-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ---- Motion audit (2026-07-13): base-state transitions so no interaction snaps.
   Tint tier 0.2s / travel tier 0.45s, house curve. See AGENTS.md motion rules. ---- */
.ct .ct-social a,
.ct .ct-hours-card .elementor-widget-social-icons.ct-social .elementor-social-icon { transition: all 0.2s cubic-bezier(0.33, 1, 0.68, 1); }
.ct .ct-hours-card .elementor-widget-social-icons.ct-social .elementor-social-icon i { transition: color 0.2s cubic-bezier(0.33, 1, 0.68, 1); }
.ct .ct-map-foot .ct-map-btn .elementor-button { transition: background 0.2s cubic-bezier(0.33, 1, 0.68, 1), color 0.2s cubic-bezier(0.33, 1, 0.68, 1), text-underline-offset 0.2s cubic-bezier(0.33, 1, 0.68, 1); }
