/* ---- page: contact ----
   Page-specific styles for contact.html. Loaded AFTER main.css.
   Reuses shared components (.field, .band-sage, .divided-cols, .step-num,
   .botanical, .section-head, .rule, .leaf-divider). Only adds what the
   contact layout needs beyond the shared system. */

/* centered hero */
.contact-hero { text-align: center; padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 60px); }
.contact-hero .eyebrow { display: block; margin-bottom: 18px; }
.contact-hero h1 { max-width: 24ch; margin-inline: auto; }
.contact-hero .hero-sub {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--body); margin-top: 20px; max-width: 42ch; margin-inline: auto;
}
.contact-hero .hero-actions {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 18px 26px; margin-top: 32px;
}
.contact-hero .hero-actions .text-link { font-size: 1.02rem; }

/* full-bleed photo band (straight edges) */
.photo-band { width: 100%; }
.photo-band img { width: 100%; height: clamp(240px, 34vw, 440px); object-fit: cover; }

/* centered statement with leaf divider */
.statement { text-align: center; }
.statement h2 { max-width: 18ch; margin-inline: auto; }
.statement p { max-width: 56ch; margin: 26px auto 0; }

/* main split: info column + intake form */
.connect-split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.connect-split .connect-info { position: relative; }
/* faint vertical divider between the two columns (desktop only) */
@media (min-width: 861px) {
  .connect-split .connect-info::after {
    content: ""; position: absolute; top: 6px; bottom: 6px; right: calc(clamp(36px, 6vw, 84px) / -2);
    width: 1px; background: var(--line);
  }
}
.connect-info h2 { margin-bottom: 4px; }
.connect-info .rule { margin: 18px 0 30px; }        /* left aligned */
.connect-info .confidential { margin-top: 30px; font-family: var(--serif); font-style: italic; color: var(--sage-deep); font-size: 1.02rem; }

/* icon info rows (Booking / Questions / We'll be in touch / Location ...) */
.info-row { display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start; }
.info-row + .info-row { margin-top: 26px; }
.info-row .info-ico { width: 30px; height: 30px; margin-top: 3px; }
.info-row .info-ico svg { width: 100%; height: 100%; fill: none; stroke: var(--sage-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.info-row h3 { font-size: 1.22rem; color: var(--ink); margin-bottom: 5px; }
.info-row p { font-size: .95rem; line-height: 1.6; }
.info-row a { color: var(--sage-deep); }
.info-row a:hover { color: var(--ink); }

/* intake form card */
.intake-card {
  scroll-margin-top: 96px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
}
.intake-card .field:last-of-type { margin-bottom: 22px; }
/* sentence-case labels per rendering (scoped page override of shared uppercase) */
.intake-card .field label { text-transform: none; font-size: .95rem; letter-spacing: 0; color: var(--ink); font-weight: 500; }
.intake-card .field input,
.intake-card .field select,
.intake-card .field textarea { background: #fff; }
.intake-card .btn { width: 100%; padding: 16px 30px; font-size: 1rem; }
.intake-card .form-status { display: block; margin-top: 14px; font-size: .9rem; color: var(--sage-deep); }

/* "What happens next?" sage band steps */
.next-band .section-head h2, .next-band .section-head .eyebrow { color: var(--ivory); }
.next-steps { margin-top: clamp(32px, 4vw, 52px); }
.next-step { display: grid; grid-template-columns: 52px 1fr; gap: 0 18px; align-items: start; }
.next-step .step-num { grid-column: 1; grid-row: 1 / span 2; margin: 0; flex: none; }
/* optically center the title against the 52px numeral circle */
.next-step h3 { grid-column: 2; grid-row: 1; padding-top: 13px; color: var(--ivory); font-size: 1.3rem; margin-bottom: 8px; line-height: 1.2; }
.next-step p { grid-column: 2; grid-row: 2; color: rgba(251,248,241,.9); font-size: .95rem; line-height: 1.6; }
/* Step 2's title runs to two lines while steps 1 and 3 fit on one, which used
   to push step 2's body copy ~25px below its siblings. Subgrid pins title and
   body to shared rows across all three steps, at any title length. */
@media (min-width: 861px) {
  .next-steps.divided-cols.cols-3 { grid-template-rows: repeat(2, auto); }
  .next-step { grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
}

/* details: owning section head, then the photo + info rows split */
.details { padding-top: var(--section-y); }
.details .section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.details-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
/* a real px floor, NOT min-height:100%: in the stacked mobile layout 100% of
   an auto-height parent is 0 and the map collapses to invisible */
.details-split .details-photo { min-height: clamp(320px, 45vw, 460px); }
.details-split .details-photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.details-split .details-info {
  background: var(--linen);
  padding: clamp(40px, 5vw, 76px) clamp(24px, 4vw, 60px);
  display: flex; flex-direction: column; justify-content: center;
}
.details-split .details-info .info-row + .info-row {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line);
}

/* closing CTA */
.schedule-cta { text-align: center; background: var(--linen-2); }
.schedule-cta h2 { margin-bottom: 8px; }
.schedule-cta .btn { margin-top: 24px; }

/* responsive */
@media (max-width: 860px) {
  .connect-split { grid-template-columns: 1fr; gap: 44px; }
  .details-split { grid-template-columns: 1fr; }
  .details-split .details-photo img { min-height: 260px; }
  /* one spacing system when stacked: hairline + equal padding, no extra gap,
     flush first/last so the band's top and bottom read symmetric */
  .next-steps.divided-cols.cols-3 { grid-template-columns: 1fr; gap: 0; }
  .next-steps.divided-cols > * {
    border-left: 0 !important; padding-inline: 0;
    border-top: 1px solid rgba(255, 255, 255, .24); padding-block: 24px;
  }
  .next-steps.divided-cols > *:first-child { border-top: 0; padding-top: 0; }
  .next-steps.divided-cols > *:last-child { padding-bottom: 0; }
}

/* Emergency guidance under the confidentiality line. Muted on purpose: present
   and findable, not alarming. --body on --linen is 6.66:1. */
.connect-info .crisis-note {
  margin-top: 14px;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--body);
}
/* 988 and 911 are tel: links here. The global reset strips underlines, which on
   a crisis line left them looking like plain text with no affordance. */
.connect-info .crisis-note a {
  color: var(--sage-deep);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.connect-info .crisis-note a:hover { color: var(--ink); border-color: var(--ink); }
