/* =========================================================
   Contact Page
   Page-specific styles (loads only on /contact)
   Matches site rhythm + tokens
   ========================================================= */
:root{
  --contact-bg-image: url("/assets/images/quiet-venue.webp");
}

/* Section rhythm matches About */
.contact{
  padding: 4.5rem 0 5rem;
  border-top: 0;
  background: transparent; /* ensures we inherit body black */
}

/* Mobile rhythm */
@media (max-width: 991.98px){
  .contact{
    padding: 3.25rem 0 3.75rem;
  }
}

/* -----------------------------------------
   Left column: kicker + headline
   ----------------------------------------- */

/* Kicker (teal) */
.contact .kicker{
  margin: 0 0 .85rem;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-teal);
}

/* Headline: SEND A MESSAGE (all caps) */
.contact .headline{
  margin: 0 0 var(--space-lg);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  line-height: 1.04;
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
}

.contact .headline .send{ font-weight: 900; }
.contact .headline .message{ font-weight: 700; }


/* Keep lede consistent with base */
.contact .lede{
  margin: 0 0 var(--space-lg);
  max-width: 64ch;
}
/* -----------------------------
   Form card + controls
   ----------------------------- */

.contact-form{
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-form .row.g-4{
  --bs-gutter-y: .9rem;
}

/* Hide labels visually but keep for accessibility */
.contact-form .form-label{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Compact inputs, black background */
.contact-form .form-control,
.contact-form .form-select{
  height: 42px;
  padding: .65rem .85rem;
  font-size: var(--text-base);
  border-radius: 12px;

  background: var(--color-bg);
  color: var(--color-text-primary);
  border: 1px solid rgba(255,255,255,0.14);
}

/* Placeholder visibility fix */
.contact-form .form-control::placeholder{
  color: var(--color-text-muted);
  opacity: 1;
}

.contact-form textarea.form-control{
  height: auto;
  min-height: 150px;
  padding: .75rem .85rem;
  line-height: var(--leading-normal);
}

/* Focus: subtle teal */
.contact-form .form-control:focus,
.contact-form .form-select:focus{
  border-color: rgba(79, 209, 197, 0.70);
  box-shadow: 0 0 0 .18rem rgba(79, 209, 197, 0.12);
  outline: none;
}

/* Button: match existing button styles — only enforce sizing */
.contact-form .btn{
  width: 100%;
  display: block;
}

/* -----------------------------------------
   Kicker + headline (used on right column)
   ----------------------------------------- */
/* Ensure kicker + headline are left-aligned */
.contact-intro{
  text-align: left;
  align-self: stretch; /* prevents grid/flex centering */
}



.contact .kicker{
  margin: 0 0 .85rem;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-teal);
  text-align: left;
}

.contact .headline{
  margin: 0 0 var(--space-lg);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  line-height: 1.04;
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  text-align: left;
}

/* Stronger separation between SEND and A MESSAGE */
.contact .headline .send{
  font-weight: 1000;          /* heaviest */
  letter-spacing: -0.01em;
}

.contact .headline .message{
  font-weight: 100;          /* clearly lighter */
  opacity: 0.5;
  color: var(--color-text-subtle);             /* slight softness */
}

/* -----------------------------------------
   Right column: image behind + centered smaller card
   ----------------------------------------- */

/* Put this class on the right column wrapper if you want equal top/bottom rhythm:
   <div class="col-lg-6 contact-right"> ... </div>
   If you don’t add it, the rules below still improve spacing via take-action.
*/
.contact-right{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: var(--space-lg); /* equalizes bottom vs top */
}

/* Background container */
.take-action{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;

  /* lets image show around card */
  min-height: 520px;
  display: grid;
  place-items: center;

  /* ensures some breathing room so card doesn’t touch edges */
  padding: var(--space-lg);
}

/* Subdued background image */
.take-action::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--contact-bg-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: saturate(0.85) contrast(0.95);
}

/* White card: narrower + centered + more inset */
.take-action .action-card{
  position: relative;

  /* narrower than before so the image is visible */
  width: min(420px, 86%);

  background: #fff;
  color: #000;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);

  /* reduce top padding, keep bottom equal */
  padding: 1.05rem 1.15rem;
  padding-left: 1.35rem; /* slightly more left padding */
}

/* If h2 exists inside card, tighten top spacing */
.take-action .action-card h3{
  margin: 0 0 .85rem 0;
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  color: #000;
}

/* -----------------------------------------
   Steps: white circle + accent border
   ----------------------------------------- */

.action-steps{
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
}

.action-steps li{
  counter-increment: step;
  position: relative;
  padding-left: 3.05rem;
}

/* Number circle */
.action-steps li::before{
  content: counter(step);
  position: absolute;
  left: 0;
  top: .12rem;

  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: #fff;
  border: 1px solid var(--color-accent-ink);
  color: #000;              /* requested: number black */
  font-weight: 850;         /* slightly less than 900 */
  font-size: .95rem;
}

/* Step title + text contrast */
.action-steps .step-title{
  margin: 0 0 .12rem 0;
  font-weight: 900;         /* strong bold */
  color: #000;
  font-size: var(--text-md);
  letter-spacing: -0.01em;
}

.action-steps .step-text{
  margin: 0;
  font-weight: 650;         /* slightly bold (lighter than title) */
  color: rgba(0,0,0,0.70);  /* lighter shade for contrast */
  font-size: var(--text-sm);
  line-height: 1.35;
}

/* -----------------------------------------
   Mobile form sizing
   ----------------------------------------- */
@media (max-width: 991.98px){
  .contact-form{
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  .contact-form .form-control,
  .contact-form .form-select{
    height: 44px;            /* iOS friendly (>=44px tap target) */
  }

  .contact-form textarea.form-control{
    min-height: 120px;       /* reduce perceived heaviness */
  }
}
