/* ============================================================
   LeanEdge Resources — pages.css
   Shared styles for Services (×4) + Contact pages.
   Builds on tokens.css + site.css + home.css. Same system —
   adds page-hero, signs checklist, deliverables list, dark
   outcomes, testimonial cards (reuse .tst-*), FAQ accordion,
   explore-other cards, contact page layout.
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; gap: 9px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--le-muted); margin-bottom: 20px; }
.breadcrumb a { transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--le-red); }
.breadcrumb .sep { color: var(--le-line); }
.breadcrumb .cur { color: var(--le-ink); }

/* ---------- Page hero (light, split) ---------- */
.page-hero { background: var(--le-light); padding-top: 112px; border-bottom: 1px solid var(--le-line); position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 5vw, 76px); }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; color: var(--le-ink); font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 18px; text-wrap: balance; }
.page-hero .lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--le-body); max-width: 50ch; margin-bottom: 30px; }
.page-hero-media .framed .shot { aspect-ratio: 4/3; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 40px; } .page-hero-media { max-width: 560px; } }

/* Dark full-bleed page hero (service pages) */
.page-hero--dark { background: var(--le-navy-900); min-height: 76svh; display: flex; align-items: center; overflow: hidden; }
.page-hero--dark .page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--dark .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.page-hero-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(15,23,42,.96) 20%, rgba(15,23,42,.8) 46%, rgba(15,23,42,.4) 74%, rgba(15,23,42,.62) 100%); }
.page-hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(56px, 8vw, 104px); }
.page-hero-inner .reveal { max-width: 760px; }
/* Hero is above the fold — never gate it behind scroll-reveal */
.page-hero .reveal { opacity: 1; transform: none; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: var(--le-on-dark); }
.page-hero--dark .eyebrow { color: var(--le-slate-soft); }
.breadcrumb--dark { color: var(--le-on-dark-mut); }
.breadcrumb--dark .sep { color: rgba(255,255,255,.3); }
.breadcrumb--dark .cur { color: #fff; }

/* Per-section CTA row */
.section-cta { margin-top: clamp(28px, 3vw, 40px); display: flex; gap: 16px; flex-wrap: wrap; }

/* Contact page — dark banner with in-banner form */
.contact-hero { min-height: auto; }
.contact-hero .page-hero-inner { padding-block: clamp(40px, 5vw, 72px); }
.contact-hero .contact-grid { align-items: center; }
.contact-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.025em; color: #fff; margin-bottom: 16px; }
.contact-hero .lead { color: var(--le-on-dark); max-width: 46ch; margin-bottom: 24px; }

/* Service Overview — two-column with Key capabilities chips */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.overview-lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.32; letter-spacing: -0.015em; color: var(--le-ink); }
.keycaps-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--le-red); margin-bottom: 16px; }
.keycaps { display: flex; flex-wrap: wrap; gap: 10px; }
.keycap { font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; color: var(--le-ink); background: var(--le-light); border: 1px solid var(--le-line); padding: 9px 14px; }
@media (max-width: 860px) { .overview-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Signs this is for you ---------- */
.signs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sign-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--le-line); padding: 20px 22px; }
.sign-item .sgn { width: 26px; height: 26px; flex: none; display: grid; place-items: center; background: var(--le-red); color: #fff; }
.sign-item .sgn svg { width: 16px; height: 16px; }
.sign-item span { font-size: 15.5px; line-height: 1.55; color: var(--le-ink); }
@media (max-width: 680px) { .signs-grid { grid-template-columns: 1fr; } }

/* ---------- What we deliver (indexed list) ---------- */
.deliver-list { display: grid; gap: 0; border-top: 1px solid var(--le-line); }
.deliver-item { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 44px); padding: clamp(22px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--le-line); }
.deliver-idx { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--le-red); padding-top: 5px; }
.deliver-c h4 { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); color: var(--le-ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.deliver-c p { font-size: 15.5px; line-height: 1.65; color: var(--le-body); max-width: 76ch; }

/* ---------- Typical outcomes — dark band override ---------- */
.section--dark .outcomes-grid { border-top-color: rgba(255,255,255,.14); border-left-color: rgba(255,255,255,.14); }
.outcomes-grid--3 { grid-template-columns: repeat(3, 1fr); }
.section--dark .outcome { border-bottom-color: rgba(255,255,255,.14); border-right-color: rgba(255,255,255,.14); }
.section--dark .outcome-ico { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: var(--le-slate-soft); }
.section--dark .outcome h3 { color: #fff; text-transform: none; }
.section--dark .outcome p { color: var(--le-on-dark-mut); }
.section--dark .outcome-pillar { color: var(--le-slate-soft); }
@media (max-width: 900px) { .outcomes-grid--3 { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--le-line); max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--le-line); }
.faq-q { width: 100%; background: none; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(18px, 2vw, 24px) 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -0.01em; color: var(--le-ink); cursor: pointer; }
.faq-ind { width: 24px; height: 24px; flex: none; position: relative; }
.faq-ind::before, .faq-ind::after { content: ""; position: absolute; background: var(--le-red); transition: transform .3s var(--ease); }
.faq-ind::before { left: 50%; top: 3px; width: 2px; height: 18px; transform: translateX(-50%); }
.faq-ind::after { top: 50%; left: 3px; height: 2px; width: 18px; transform: translateY(-50%); }
.faq-item.is-open .faq-ind::before { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; font-size: 16px; line-height: 1.66; color: var(--le-body); max-width: 74ch; }
.faq-item.is-open .faq-a { max-height: 520px; }
.faq-draft { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--le-slate); }

/* ---------- Explore other practice areas ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 24px); }
.explore-card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--le-line); padding: 28px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.explore-card:hover { border-color: var(--le-navy); transform: translateY(-3px); }
.explore-idx { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--le-red); }
.explore-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--le-ink); letter-spacing: -0.01em; line-height: 1.2; }
.explore-card .link-arrow { margin-top: auto; }
@media (max-width: 760px) { .explore-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* ---------- CTA band (navy) ---------- */
.cta-band { background: var(--le-navy); color: #fff; padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.02em; color: #fff; max-width: 22ch; }
.cta-band p { font-size: 15px; color: var(--le-on-dark-mut); margin-top: 8px; max-width: 48ch; }

/* ---------- Contact page ---------- */
.cp-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.cp-details { display: grid; gap: 14px; }
.cp-item { display: flex; gap: 15px; align-items: center; background: #fff; border: 1px solid var(--le-line); padding: 17px 19px; }
.cp-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.22); color: var(--le-red); }
.cp-ico svg { width: 20px; height: 20px; }
.cp-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cp-label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--le-muted); }
.cp-value { font-family: var(--font-mono); font-size: 14px; color: var(--le-ink); overflow: hidden; text-overflow: ellipsis; }
.cp-card { background: #fff; border: 1px solid var(--le-line); box-shadow: var(--shadow-lg); padding: clamp(24px, 3vw, 38px); position: relative; }
.cp-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--le-red); }
.cp-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.015em; color: var(--le-ink); margin-bottom: 4px; }
.cp-card .cp-sub { font-size: 14.5px; color: var(--le-muted); margin-bottom: 22px; }
.cp-card .news-form { display: grid; gap: 12px; }
.cp-card .news-small { color: var(--le-muted); }
.cp-card .news-small svg { color: var(--le-slate); }
.cp-card .news-success { border: 1px solid rgba(31,138,91,.35); border-left: 3px solid #1F8A5B; background: rgba(31,138,91,.08); color: var(--le-ink); }
.cp-card .news-success svg { color: #1F8A5B; }
@media (max-width: 900px) { .cp-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Director strip on contact reuses .bio-card / .creds (home.css) */
.director-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .director-grid { grid-template-columns: 1fr; gap: 36px; } .director-media { max-width: 360px; } }
.director-media .framed .shot { aspect-ratio: 3/4; }
