/* ==========================================================================
   Advanced Health Chiropractic - your first visit (/what-to-expect/)
   Loaded after site.css and service.css. Plan: first-visit-plan.md.
   The hero is the homepage's .hero as built (practice pages open full bleed);
   the body reuses the service template. This file adds only the hero's framing
   for its photo, the includes line, the path on cream
   and the "coming with" rows. Nothing here adds a new motion.
   ========================================================================== */

/* ---------- 1. hero ------------------------------------------------------
   Katie at the screen, right of centre; the monitor and the plain wall fill
   the left and the foot, where the copy sits. A portrait frame shows well
   under the photo's width, so it centres on Katie and keeps her face above
   the copy. */
.hero--fv .hero__bg img{height:100%;object-position:66% 30%}  /* service.css sets img[height]{height:auto}; the hero photo has to fill */
@media (orientation:landscape){ .hero--fv .hero__bg img{object-position:50% 40%} }
/* the frame is bright white, so the wash from the left and the foot runs a
   little heavier than the team page's, to hold the white type at 4.5:1 */
@media (orientation:landscape){
  .hero--fv .hero__scrim{background:
    linear-gradient(to right,rgba(38,41,31,.76) 0%,rgba(38,41,31,.56) 32%,rgba(38,41,31,.16) 56%,transparent 70%),
    linear-gradient(to top,rgba(38,41,31,.86) 0%,rgba(38,41,31,.56) 28%,transparent 58%),
    linear-gradient(to bottom,rgba(38,41,31,.6) 0%,transparent 30%)}
}
@media (orientation:portrait){
  .hero--fv .hero__scrim{background:
    linear-gradient(to top,rgba(38,41,31,.9) 0%,rgba(38,41,31,.74) 30%,rgba(38,41,31,.4) 52%,transparent 68%),
    linear-gradient(to bottom,rgba(38,41,31,.6) 0%,transparent 22%)}
}
/* what the $105 buys, under the stars line in the same quiet style */
.hero p.hero__inc{max-width:60ch;margin:var(--s2) 0 0;font-size:14px;line-height:20px;letter-spacing:-.005em;opacity:.86}


/* ---------- 3 and 5. the two visits ---------------------------------------
   Each visit gets its own shape so the page isn't list after list: the first
   is told as a short story in the practice's words, the second as a 2x2 of
   what the conversation covers. One text colour per block. */
.fv-prose{margin-top:var(--s5);max-width:56ch}
.fv-prose p{font-size:17px;line-height:27px}
.fv-prose p+p{margin-top:var(--s4)}
.fv-prose .dot-link{margin-top:var(--s5)}
/* why there's no adjustment: a pull line under the heavy ink rule */
.fv-why{margin-top:var(--s7);padding-top:var(--s5);border-top:3px solid var(--ink);max-width:56ch}
.fv-pull{font-weight:300;font-size:24px;line-height:31px;letter-spacing:-.02em}
@media (min-width:768px){ .fv-pull{font-size:28px;line-height:35px} }
.fv-why p+p{margin-top:var(--s4);font-size:17px;line-height:27px}
.duo{display:grid;gap:var(--s6) var(--s5);margin-top:var(--s6)}
@media (min-width:600px){ .duo{grid-template-columns:1fr 1fr} }
.duo>div{padding-top:var(--s4);border-top:1px solid var(--line-strong)}
.duo p{margin-top:var(--s2)}

/* ---------- 4. scans: three columns on the ink band ----------------------- */
.trio{display:grid;gap:var(--s5);margin-top:var(--s6)}
@media (min-width:768px){ .trio{grid-template-columns:repeat(3,1fr)} }
.trio>div{padding-top:var(--s4);border-top:1px solid rgba(247,246,240,.34)}
.trio h3{font-size:18px;line-height:24px}
.trio p{margin-top:var(--s2);color:rgba(247,246,240,.78)}

/* ---------- 6. long term -------------------------------------------------
   One block in two columns from 1024px: the intro and the two what-ifs on the
   left, the four phases on the right as hairline rows (title beside text from
   768px). Phones read intro, phases, then the what-ifs. All one rule weight. */
.ot{display:grid;margin-top:var(--s5);row-gap:var(--s7)}
.ot__intro{max-width:52ch}
.phases{display:grid;border-top:1px solid var(--line-strong)}
.phases li{padding-block:var(--s4);border-bottom:1px solid var(--line-strong)}
.phases p{margin-top:var(--s2);max-width:46ch}
@media (min-width:768px){
  .phases li>div{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);column-gap:var(--s5);align-items:baseline}
  .phases p{margin-top:0}
}
.ot__ifs{display:grid;gap:var(--s5)}
.ot__ifs>div{padding-top:var(--s4);border-top:1px solid var(--line-strong)}
.ot__ifs p{margin-top:var(--s2);max-width:46ch}
@media (min-width:768px) and (max-width:1023px){ .ot__ifs{grid-template-columns:1fr 1fr;gap:var(--s6)} }
@media (min-width:1024px){
  .ot{grid-template-columns:5fr 7fr;grid-template-areas:"intro phases" "ifs phases";column-gap:var(--s8);row-gap:var(--s6);
    align-items:start}
  .ot__intro{grid-area:intro}
  .ot__phases{grid-area:phases;border-top:0}
  .ot__phases li:first-child{padding-top:0}
  .ot__ifs{grid-area:ifs}
}

/* ---------- 7. coming with a baby, a bump or the kids ---------------------
   Four rows, each with its service's 6px category field on top (data-cat),
   so colour does its navigational job here as on the cards. */
.coming{display:grid;gap:var(--s6);margin-top:var(--s7)}
@media (min-width:600px){ .coming{grid-template-columns:1fr 1fr;gap:var(--s6) var(--s5)} }
@media (min-width:1024px){ .coming{grid-template-columns:repeat(4,1fr)} }
.coming li{display:flex;flex-direction:column}
.coming h3{margin-top:var(--s4)}
.coming p{margin-top:var(--s2);flex:1}
.coming .dot-link{margin-top:var(--s4)}
.coming__close{margin-top:var(--s7);max-width:64ch}

/* ---------- 8. before you come -------------------------------------------
   Label and value rows inside the ink spotlight, in the .spot__steps colours:
   the label in full white, the detail in the band's muted white. */
.facts{margin-top:var(--s6);border-top:1px solid rgba(247,246,240,.34)}
.facts>div{display:grid;gap:var(--s1);padding-block:var(--s4);border-bottom:1px solid rgba(247,246,240,.34)}
@media (min-width:600px){ .facts>div{grid-template-columns:150px 1fr;gap:var(--s5)} }
.facts dt{font-size:16px;line-height:24px;color:var(--ink-inverse)}
.facts dd{margin:0;max-width:52ch;font-size:15px;line-height:23px;color:rgba(247,246,240,.78)}
.facts dd .dot-link{margin-top:var(--s2)}


/* ---------- 4b. on-site X-rays ----------------------------------------------
   Text only (no X-ray photo yet): the heading on the left, the practice's
   three lines on the right, the same measure as the long-term section. */
.xray{display:grid;gap:var(--s5)}
@media (min-width:1024px){ .xray{grid-template-columns:5fr 7fr;gap:var(--s8);align-items:start} }
.xray__text{max-width:60ch}
.xray__text p+p{margin-top:var(--s4)}
@media (min-width:1024px){ .xray__text{padding-top:var(--s5)} }
