/* =========================================================================
   Precise Chiropractic — concept "Measured", hero v2
   The pattern the practice already runs (full-bleed team photograph with a
   translucent panel over it), executed so that:
     · nothing is ever laid over a face. The panel is a bottom band that can
       only reach the lowest third of the frame — coats and legs, never heads.
     · the ways in and the credentials sit on a solid ink strip BELOW the
       photograph, so the photo area carries one element, not a whole stack.
     · the three ways in read as real actions, not three identical tiles, and
       the new patient special carries a flag as well as the button.
   Prefix pc-h2- so it cannot collide with the shipped hero.
   ========================================================================= */

.pc-h2{ position:relative; }

/* ---------- the photograph -------------------------------------------- */
.pc-h2__stage{
  position:relative; overflow:hidden;
  min-height:clamp(620px, 72vh, 760px);
  display:flex; flex-direction:column; justify-content:flex-end;
}
.pc-h2__photo{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover; object-position:50% 12%;
}
.pc-h2__scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to bottom,
    rgba(20,10,26,.34) 0%, rgba(20,10,26,.04) 22%,
    rgba(20,10,26,.10) 46%, rgba(20,10,26,.62) 78%, rgba(20,10,26,.86) 100%);
}

/* ---------- the copy band, pinned to the bottom of the frame ---------- */
.pc-h2__band{
  position:relative; z-index:2;
  padding-block:clamp(1.5rem, 3vw, 2.25rem) clamp(1.75rem, 3.5vw, 2.5rem);
  display:grid; gap:clamp(1.25rem, 3vw, 2.5rem);
  align-items:end;
}
.pc-h2__kicker{
  font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:#E7D8F2; margin:0 0 .9rem;
  display:flex; align-items:center; flex-wrap:wrap; gap:.65rem;
}
.pc-h2__kicker-b::before{ content:"\00B7"; margin-right:.65rem; }
.pc-h2__kicker::before{
  content:""; width:26px; height:0; flex:none; border-top:2px solid var(--pc-blade-2);
}
.pc-h2__band h1{
  color:#fff; text-wrap:balance; letter-spacing:-.02em;
  font-size:clamp(2.1rem, 1.4rem + 2vw, 3rem); line-height:1.06;
  text-shadow:0 2px 28px rgba(0,0,0,.55);
  max-width:30rem;
}
.pc-h2__aside{ display:flex; flex-direction:column; gap:clamp(.9rem, 1.6vw, 1.25rem); }
.pc-h2__lede{
  font-family:var(--pc-display); font-weight:400;
  font-size:clamp(1.1rem, 1rem + .55vw, 1.45rem); line-height:1.25;
  color:#F3EAF9; text-shadow:0 1px 16px rgba(0,0,0,.5);
  margin:0; max-width:32ch;
}
.pc-h2__cta{ display:flex; flex-wrap:wrap; gap:.85rem; }
.pc-h2__btn-onphoto{
  background:rgba(255,255,255,.14); color:#fff;
  border-color:rgba(255,255,255,.55); backdrop-filter:blur(4px);
}
.pc-h2__btn-onphoto:hover{ background:rgba(255,255,255,.26); border-color:#fff; }

/* ---------- ink strip below the photograph ---------------------------- */
.pc-h2__below{ background:var(--pc-plum); color:#F3EAF9; }
.pc-h2__belowin{
  padding-block:clamp(1.25rem, 2.5vw, 1.75rem);
  display:grid; gap:clamp(1rem, 2vw, 1.35rem);
}

/* the three ways in */
.pc-h2__actions{ display:grid; gap:.7rem; grid-template-columns:1fr; }
.pc-h2__action{
  position:relative; display:flex; align-items:center; gap:1rem;
  padding:1.05rem 1.15rem; text-decoration:none; color:var(--pc-plum);
  background:#fff; border:1px solid rgba(255,255,255,.7); border-radius:var(--pc-r-lg);
  box-shadow:0 1px 2px rgba(20,10,26,.06), 0 10px 30px rgba(20,10,26,.22);
  transition:transform .2s var(--pc-ease), box-shadow .2s var(--pc-ease), background .2s var(--pc-ease);
}
.pc-h2__action:hover{ transform:translateY(-2px); box-shadow:var(--pc-shadow-lg); }
.pc-h2__action-icon{
  flex:none; width:44px; height:44px; border-radius:12px;
  display:grid; place-items:center; font-size:1.2rem;
  background:var(--pc-paper-2); color:var(--pc-ink);
}
.pc-h2__action-txt{ display:flex; flex-direction:column; gap:.15rem; min-width:0; }
.pc-h2__action-label{ font-family:var(--pc-display); font-weight:600; font-size:1.05rem; line-height:1.15; }
.pc-h2__action-sub{ font-size:.82rem; color:var(--pc-plum-soft); line-height:1.3; }
.pc-h2__action-arrow{
  margin-left:auto; flex:none; color:var(--pc-blade-3); font-size:.9rem;
  transition:transform .2s var(--pc-ease);
}
.pc-h2__action:hover .pc-h2__action-arrow{ transform:translateX(3px); }

/* the special: violet card, amber flag straddling its top edge */
.pc-h2__action--special{
  background:var(--pc-ink); border-color:var(--pc-ink); color:#fff; padding-right:1.25rem;
}
.pc-h2__action--special:hover{ background:var(--pc-ink-deep); }
.pc-h2__action--special .pc-h2__action-icon{ background:rgba(255,255,255,.16); color:#fff; }
.pc-h2__action--special .pc-h2__action-sub{ color:#E2D2EE; }
.pc-h2__ribbon{
  position:absolute; top:-.6rem; right:1rem;
  background:var(--pc-amber); color:#2A1B33;
  font-size:.64rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  padding:.3rem .7rem; border-radius:999px; line-height:1; white-space:nowrap;
  box-shadow:0 2px 8px rgba(20,10,26,.35);
}

/* credentials — a deterministic grid, never a wrapping flex row */
.pc-h2__credits{
  display:grid; grid-template-columns:1fr; gap:.55rem;
  font-size:.86rem; line-height:1.35; color:#E7D8F2;
}
.pc-h2__credit{ display:flex; align-items:center; gap:.55rem; }
.pc-h2__credit i{ color:var(--pc-blade-2); font-size:.95rem; flex:none; }
.pc-h2__credit b{ font-weight:700; color:#fff; }
.pc-h2__credit--tel a{
  color:#fff; text-decoration:none; font-weight:700; font-size:1rem;
  border-bottom:1px solid rgba(255,255,255,.4);
}
.pc-h2__credit--tel a:hover{ border-bottom-color:#fff; }
.pc-h2__open{ color:#fff; font-weight:600; }

@media (min-width:620px){
  .pc-h2__credits{ grid-template-columns:repeat(2,auto); justify-content:start; column-gap:2.25rem; }
}

@media (min-width:1000px){
  .pc-h2__band{ grid-template-columns:minmax(0,1fr) minmax(0,22rem); }
  .pc-h2__aside{ align-items:flex-start; }
  .pc-h2__actions{ grid-template-columns:repeat(3,1fr); gap:1rem; }
  .pc-h2__action{ padding:1.15rem 1.25rem; }
  .pc-h2__credits{
    grid-template-columns:repeat(4,auto); justify-content:space-between;
    column-gap:1.5rem; white-space:nowrap;
  }
  .pc-h2__credit{ white-space:nowrap; }
}

/* Below 1000px the photograph becomes its own block and the copy drops onto
   solid ink beneath it — faces before words. */
@media (max-width:999px){
  .pc-h2__stage{ min-height:0; }
  .pc-h2__photo{
    position:static; z-index:auto;
    height:clamp(240px, 54vw, 380px); object-position:center 20%;
  }
  .pc-h2__scrim{ display:none; }
  .pc-h2__band{ background:var(--pc-plum); }
  .pc-h2__band h1{ text-shadow:none; }
  .pc-h2__lede{ text-shadow:none; }
  .pc-h2__below{ padding-top:0; }
  .pc-h2__belowin{ padding-top:0; }
  /* the CTA button above already carries the number */
  .pc-h2__credit--tel{ display:none; }
  /* Client note 2026-09-04: on a phone the second half of the kicker reads better
     stacked under the practice name than run on after a middot. */
  .pc-h2__kicker{ row-gap:.3rem; }
  .pc-h2__kicker-b{ flex-basis:100%; padding-left:calc(26px + .65rem); }
  .pc-h2__kicker-b::before{ content:none; }
}
