/* northline.css — page-specific CSS for the Northline Physio showcase (Ravia).
   Loaded after tokens.css, ravia.css, palette.css and type.css. Uses only the design tokens. */

:root {
  --nl-tint: #EEF7FD;          /* the palette's blue at a whisper: band tint, chips */
  --nl-line: rgba(8,34,49,.12);
}

/* small type helpers */
.nl-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nl-chip--blue { background: var(--nl-tint); }

/* ---------- hero (hero-c) ---------- */
.nl-hero { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, var(--nl-tint) 100%); }
.nl-hero .v-hero-c { padding-top: 32px; padding-bottom: 112px; align-items: stretch; }
.nl-hero .v-hero-c__copy { justify-content: center; max-width: 620px; }
.nl-hero .t-h1 { max-width: 620px; }
.nl-hero__lead { max-width: 520px; }
.nl-hero .v-hero-c__photo { height: 720px; margin: 0; }
.nl-hero .v-hero-c__photo img { object-position: 46% 50%; }
.nl-g { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-weight: 600; font-size: 20px; color: var(--accent); }

/* ---------- conditions [new] ---------- */
.nl-treat { background: var(--nl-tint); padding: calc(var(--section) * .55) 0 var(--section); }
.nl-treat .s-split { margin-bottom: var(--head-gap); }
.nl-treat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nl-cond { min-height: 460px; padding: 32px; border-radius: var(--r-card); background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; transition: transform var(--dur) var(--ease); }
.nl-cond:hover { transform: translateY(-4px); }
.nl-cond__ic { width: 112px; height: 112px; margin-left: -10px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.nl-cond__body { display: grid; gap: 14px; justify-items: start; }
.nl-cond__body p { color: var(--body); }
.nl-cond .nl-chip { background: var(--nl-tint); }

/* ---------- rehab plans (program-a) ---------- */
.nl-plans .prog { background: var(--deep); }
.nl-plans .prog::after { background: linear-gradient(127deg, rgba(8,34,49,.74) 30%, rgba(8,34,49,0) 72%); }
.nl-plans .prog__copy { max-width: 560px; }

/* ---------- visit plan [new] ---------- */
.nl-visits { padding: 0 0 var(--section); }
.nl-visits__in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 96px; align-items: stretch; }
.nl-visits__photo { position: relative; min-height: 760px; border-radius: var(--r-md); overflow: hidden; margin: 0; }
.nl-visits__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.nl-progress { position: absolute; right: 24px; bottom: 24px; width: min(320px, calc(100% - 48px)); padding: 20px; border-radius: var(--r-card); background: var(--glass); backdrop-filter: blur(var(--blur-glass)); -webkit-backdrop-filter: blur(var(--blur-glass)); display: grid; gap: 12px; }
.nl-progress__label { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--body); }
.nl-progress ul { display: grid; gap: 8px; }
.nl-progress li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--paper); color: var(--body); }
.nl-progress li b { color: var(--ink); font-weight: 600; }
.nl-visits__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 48px; padding: 24px 0; }
.nl-steps { position: relative; display: grid; gap: 40px; }
.nl-steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(180deg, var(--nl-line) 70%, transparent); }
.nl-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; align-items: start; }
.nl-step__n { width: 48px; height: 48px; border-radius: 50%; background: var(--mist); color: var(--ink); display: grid; place-items: center; font-weight: 600; font-size: 18px; }
.nl-step.is-on .nl-step__n { background: var(--accent); color: var(--on-accent); }
.nl-step > div { display: grid; gap: 10px; max-width: 480px; }
.nl-step p { color: var(--body); }

/* ---------- patient stories [new] ---------- */
.nl-stories { background: var(--mist); padding: var(--section) 0; }
.nl-stories .s-head { margin-bottom: var(--head-gap); }
.nl-nums { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--nl-line); border-bottom: 1px solid var(--nl-line); margin-bottom: 24px; }
.nl-nums li { padding: 32px 32px 32px 0; display: grid; gap: 10px; }
.nl-nums li + li { padding-left: 32px; border-left: 1px solid var(--nl-line); }
.nl-nums .t-num { color: var(--accent); }
.nl-nums li p:not(.t-num) { color: var(--body); max-width: 300px; }
.nl-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nl-quote { margin: 0; padding: 40px; border-radius: var(--r-card); background: var(--card); display: flex; flex-direction: column; gap: 32px; justify-content: space-between; }
.nl-quote .t-quote { color: var(--ink); }
.nl-quote__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.nl-quote__name { font-size: 18px; font-weight: 600; color: var(--body); }

/* ---------- physios (team-b) ---------- */
.nl-team { padding-top: var(--section); }

/* ---------- fees and insurance [new] ---------- */
.nl-fees { padding: 0 0 calc(var(--section) * .4); }
.nl-fees .s-split { margin-bottom: var(--head-gap); }
.nl-fees__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nl-feecard { padding: 40px; border-radius: var(--r-card); background: var(--mist); display: flex; flex-direction: column; gap: 24px; }
.nl-feecard--ins { background: var(--nl-tint); }
.nl-feecard__h { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.nl-fee-list { display: grid; }
.nl-fee-list li { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.nl-fee-list li > div { display: grid; gap: 4px; }
.nl-fee-list b { font-size: 20px; font-weight: 600; color: var(--ink); }
.nl-fee-list span { color: var(--body); }
.nl-fee { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1; letter-spacing: -0.015em; color: var(--ink); font-weight: 500; }
.nl-ins { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-ins li { padding: 12px 18px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-weight: 600; }
.nl-ins__note { color: var(--body); max-width: 440px; padding-top: 20px; border-top: 1px solid var(--nl-line); }

/* ---------- booking (cta-b) ---------- */
.nl-book { padding-top: 0; }
.nl-book .v-cta-b__photo { margin: 0; min-height: 720px; }
.nl-book .v-cta-b__photo img { object-position: 55% 50%; }
.nl-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nl-hours li { display: grid; gap: 2px; padding: 14px 20px; border-radius: var(--r-sm); background: var(--paper); }
.nl-hours b { color: var(--ink); font-weight: 600; }
.nl-hours span { color: var(--body); }

/* ---------- weights: Source Sans 3 runs at 400 / 600 only ---------- */
body, .lead, .qa p, .v-field input, .v-field select, .v-field textarea, .nav a, .logo, .eyebrow { font-weight: 400; }
.btn, .badge, .offer b, .v-hero-c__pill, .v-review__txt, .v-tags li, .v-foot-b__h, b, strong { font-weight: 600; }
.nl-step .t-h5, .v-tcard-b .t-h5 { text-wrap: balance; }
.qa p { max-width: 34em; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nl-treat__grid { grid-template-columns: 1fr 1fr; }
  .nl-cond { min-height: 360px; }
  .nl-visits__in { gap: 24px 56px; }
}
@media (max-width: 1024px) {
  .nl-hero .v-hero-c__photo { height: 620px; }
  .nl-visits__in, .nl-fees__grid, .nl-quotes { grid-template-columns: 1fr; }
  .nl-visits__photo { min-height: 560px; }
  .nl-nums { grid-template-columns: 1fr; }
  .nl-nums li, .nl-nums li + li { padding: 24px 0; border-left: 0; }
  .nl-nums li + li { border-top: 1px solid var(--nl-line); }
  .nl-book .v-cta-b__photo { min-height: 420px; }
}
@media (max-width: 720px) {
  .nl-hero .v-hero-c__photo { height: 460px; }
  .nl-treat__grid { grid-template-columns: 1fr; gap: 16px; }
  .nl-cond { min-height: 0; padding: 28px 24px; gap: 28px; }
  .nl-cond__ic { width: 72px; height: 72px; }
  .nl-visits__photo { min-height: 440px; border-radius: var(--r-card); }
  .nl-progress { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 16px; }
  .nl-visits__copy { gap: 36px; padding: 0; }
  .nl-steps { gap: 28px; }
  .nl-step { grid-template-columns: 40px 1fr; gap: 16px; }
  .nl-step__n { width: 40px; height: 40px; }
  .nl-steps::before { left: 19px; }
  .nl-quote { padding: 28px 20px; }
  .nl-quote__foot { flex-direction: column; align-items: flex-start; }
  .nl-feecard { padding: 28px 20px; }
  .nl-fee-list b { font-size: 18px; }
  .nl-hours { grid-template-columns: 1fr; }
  .nl-book .v-cta-b__photo { min-height: 300px; }
}
