/* ============================================================
   805 PT — FRONT-RUNNER (chosen direction)
   Concept 1's layout & structure  +  Concept 2's full palette,
   fonts, and darker hero/nav treatment.
   Loads AFTER styles.css and only adds the .site--front theme
   plus the dark hero treatment for the portrait layout.
   ============================================================ */

/* Slim "chosen direction" ribbon above the live homepage preview */
.fr-ribbon {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: #0b1014; color: #fff;
  font-size: .82rem; font-weight: 600; letter-spacing: .03em;
  padding: .55rem 1rem; text-align: center;
}
.fr-ribbon b { color: #5eead4; font-weight: 800; }
.fr-ribbon .fr-dot { color: #5eead4; }

/* ---- Concept 2's COMPLETE palette (the slate scheme), applied as .site--front ---- */
.site--front {
  --bg: #ffffff;
  --surface: #f3f6f8;
  --surface-2: #e6edf1;
  --fg: #0f1c26;
  --muted: #51626f;
  --border: #e1e8ed;
  --accent: #0d9488;
  --accent-strong: #0f766e;
  --accent-soft: #d6f0ec;
  --accent-ink: #ffffff;
  --accent-bright: #5eead4;
  --accent-shadow: rgba(13, 148, 136, .5);
  --star: #f6b73c;
  /* Concept 2 used Inter for headings + body — same family, kept explicit */
  --font-head: "Inter", system-ui, sans-serif;
}

/* ---- Concept 2's dark header bar, merging into the dark hero ---- */
.site--front .site-nav--onhero {
  background: #0b1014;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site--front .site-nav--onhero .brand,
.site--front .site-nav--onhero .site-nav__links a { color: #fff; }
.site--front .site-nav--onhero .site-nav__links a:hover { color: var(--accent-bright); }
.site--front .site-nav--onhero .brand__mark { background: rgba(255, 255, 255, .16); color: #fff; }
.site--front .site-nav--onhero .brand__suffix { color: rgba(255, 255, 255, .72); }
/* Real logo image (replaces the placeholder mark + text wordmark) */
.brand__logo { display: block; width: auto; height: auto; max-width: 100%; }
/* Header: the FULL white logo, scaled to fit the bar — nothing clipped (pelican + "805" + wordmark all visible). */
.site-nav .brand__logo { height: 74px; max-height: none; width: auto; }
.site-footer .brand__logo { max-height: 100px; }
/* Mobile menu on the dark header */
.site--front .site-nav--onhero .nav-toggle { color: #fff; }
.site--front .site-nav--onhero .nav-toggle:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 859.98px) {
  .site--front .site-nav--onhero .site-nav__links.is-open { background: #0b1014; border-bottom-color: rgba(255, 255, 255, .12); }
  .site--front .site-nav--onhero .site-nav__links.is-open a:not(.btn) { color: #fff; border-bottom-color: rgba(255, 255, 255, .12); }
  .site--front .site-nav--onhero .site-nav__links.is-open a:not(.btn):hover { color: var(--accent-bright); }
}

/* ---- Concept 1's PORTRAIT hero, given Concept 2's DARK treatment ---- */
.site--front .hero--portrait {
  background: linear-gradient(165deg, #0b1a24 0%, #102633 100%);
  color: #fff;
}
.site--front .hero--portrait .eyebrow { color: var(--accent-bright); }
.site--front .hero--portrait h1 { color: #fff; }
.site--front .hero--portrait .hero__sub { color: rgba(255, 255, 255, .85); }
.site--front .hero--portrait .trust li { color: #fff; }
.site--front .hero--portrait .trust .ic--check { color: var(--accent-bright); }
.site--front .hero--portrait .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.site--front .hero--portrait .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
/* Practitioner credential block — name prominent, credentials in a refined accent treatment, thin accent rule */
.site--front .hero--portrait .hero__by { margin: 1.6rem 0 1.9rem; padding-left: 1rem; border-left: 3px solid var(--accent-bright); }
.site--front .hero--portrait .hero__by__pre { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.site--front .hero--portrait .hero__by__name { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.15; margin-top: .12rem; }
.site--front .hero--portrait .hero__by__creds { display: block; margin-top: .3rem; font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-bright); }
@media (max-width: 600px) { .site--front .hero--portrait .hero__by__name { font-size: 1.4rem; } }
/* Services page — soft cash-pay pricing reassurance under the rates head */
.rates-note { display: inline-flex; align-items: flex-start; gap: .5rem; margin: .9rem 0 0; color: var(--accent); font-weight: 600; font-size: .98rem; }
.rates-note .ic { width: 18px; height: 18px; color: var(--accent); flex: none; }
/* Contact form — chip helper + soft-cap hint */
.reqform__hint { margin: .55rem 0 0; font-size: .85rem; color: var(--muted); }
.reqform__hint--cap { color: var(--accent); font-weight: 600; }

/* dark photo placeholder so the portrait spot sits naturally on the dark hero */
.site--front .hero--portrait .photo {
  background-color: #1c2c38;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 10px, transparent 10px 20px);
  border-color: #34464f;
  color: #aab8c1;
}

/* ===================== MULTI-PAGE-ADDITIONS ===================== */
.site--front .pagehead { background: linear-gradient(165deg, #0b1a24 0%, #102633 100%); color: #fff; padding: clamp(1.6rem, 3.5vw, 2.5rem) 0 clamp(1.4rem, 3vw, 2rem); }
.site--front .pagehead .eyebrow { color: var(--accent-bright); }
.site--front .pagehead h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: .2rem 0 .6rem; }
.site--front .pagehead__lede { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 62ch; margin: 0; }
/* Pagehead brand logo (inner pages): big white lockup on the right of the dark banner; hidden on phones. */
.pagehead__logo { display: none; }
@media (min-width: 760px) {
  .pagehead__inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
  .pagehead__text { flex: 1 1 auto; min-width: 0; }
  .pagehead__logo { display: block; flex: none; height: clamp(72px, 9vw, 108px); width: auto; max-width: 40%; }
}
/* Inner-page feature hero (About/Services/Programs/Contact/Privacy/404): larger centered brand lockup on the right,
   heading text left. min-height keeps every hero a consistent banner height (= the logo); align-items:center
   vertically centers the content so the logo never floats at the top of a taller (long-heading) banner. */
@media (min-width: 760px) {
  .pagehead--feature .pagehead__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2.5rem; min-height: clamp(130px, 15vw, 180px); }
  .pagehead--feature .pagehead__logo { justify-self: center; height: clamp(130px, 15vw, 180px); max-width: 100%; }
}
.site--front .site-nav--onhero .site-nav__links a[aria-current="page"] { color: var(--accent-bright); }
.two-col { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
.two-col .photo--tall { max-width: 380px; margin: 0 auto; width: 100%; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.2fr .8fr; gap: 3rem; } .two-col .photo--tall { max-width: none; } }
.prog-price { margin: .6rem 0 0; font-weight: 800; font-size: .92rem; color: var(--fg); }
.prog-price span { color: var(--muted); font-weight: 600; }
/* Youth program card lists (Arm Care 5 Pillars / Movement Lab themes) + session meta line */
.membership-card .prog-meta { margin: 0; font-size: .82rem; font-weight: 600; color: var(--muted); }
.membership-card .prog-list-label { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.membership-card .prog-list { margin: 0; padding-left: 1.25rem; font-size: .9rem; color: var(--muted); }
.membership-card .prog-list li { margin: .12rem 0 0; }
.membership-card .prog-list li:first-child { margin-top: 0; }
.membership-card .prog-img { display: block; width: 100%; max-width: 320px; height: auto; margin: .4rem auto .2rem; border-radius: 12px; }
.callout { display: flex; gap: .9rem; align-items: flex-start; background: var(--accent-soft); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.3rem; margin-top: 1.5rem; }
.callout .ic { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: .1rem; }
.callout p { margin: 0; color: var(--fg); }
.contact-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem; text-align: center; }
.contact-card .ic { width: 26px; height: 26px; color: var(--accent); margin: 0 auto .55rem; }
.contact-card h3 { margin: 0 0 .25rem; font-size: 1rem; }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 700; word-break: break-word; }

/* ===================== REAL IMAGES (replace PHOTO HERE placeholders) ===================== */
/* When a .photo holds a real <img>, drop the dashed placeholder frame/hatch and let the
   image cover the fixed-aspect box (crop, never distort). Container keeps its aspect ratio. */
.photo--img { padding: 0; }
.photo--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--img,
.site--front .hero--portrait .photo--img { border: 0; background: none; }
/* Wide banner photos: show the FULL image at its natural ratio — no crop, no dead-space. */
.photo--wide.photo--img { display: block; aspect-ratio: auto; min-height: 0; overflow: hidden; }
.photo--wide.photo--img > img { position: static; width: 100%; height: auto; object-fit: initial; }
/* Contact banner: a shorter, proportioned hero on larger screens (cover-crop, subjects kept up top);
   stays full / natural on phones so it's never a thin sliver. */
@media (min-width: 700px) {
  .photo--wide.photo--banner.photo--img { aspect-ratio: 21 / 9; }
  .photo--wide.photo--banner.photo--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
}
/* Tall portrait heroes: a shorter, balanced square box; cover-crop biased to the lower frame
   so the clinic background is trimmed from the top and the people stay in view (no dead-space). */
.photo--tall.photo--img { aspect-ratio: 1 / 1; }
.photo--tall.photo--img > img { object-position: 50% 65%; }

/* photo banner used inside the In-Clinic / Mobile service cards */
.photo--card { aspect-ratio: 3 / 2; }
.service-card .photo--card { width: 100%; }

/* ===================== MOBILE / AT-HOME EMPHASIS ===================== */
/* At-home banner under the hero */
.athome-banner { background: var(--surface); color: var(--fg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.athome-banner__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.1rem; padding: .85rem 1.25rem; text-align: center; }
.athome-banner p { margin: 0; font-weight: 500; display: inline-flex; align-items: center; gap: .5rem; }
.athome-banner p .ic { width: 18px; height: 18px; flex: none; color: var(--accent); }
.athome-banner__link { color: var(--accent); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; white-space: normal; text-align: center; }
.athome-banner__link svg { width: 16px; height: 16px; }
.athome-banner__link:hover { text-decoration: underline; }

/* Full-logo brand band (homepage body) — room for the stacked lockup */
/* Full-logo brand band (homepage body) */
.logo-band { padding: 2.75rem 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.logo-band__logo { height: 130px; width: auto; max-width: 100%; display: inline-block; }
.logo-band__tag { margin: 1rem 0 0; color: var(--muted); font-style: italic; }

/* Featured (Mobile) service card + badge — ensure present regardless of base sheet */
.service-card--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.service-card .badge--feature { position: absolute; top: .9rem; right: .9rem; z-index: 2; margin: 0; background: var(--accent); color: var(--accent-ink); }
.service-card__tag { margin: 0; font-weight: 800; font-size: .92rem; color: var(--accent); }
