/* ============================================================
   ICZ services.html page-scoped layer
   Extends the shared shell; never forks it. Gated under
   body.page-services. Inherits all tokens, bands, cards,
   buttons, reveals and the working-slice (members + flow)
   styles from styles.css.
   ============================================================ */

/* ---------- HERO VARIANT (secondary; split composition, distinct from the home centered hero) ---------- */
.page-services .hero--svc {
  padding-top: clamp(7rem, 6rem + 8vw, 11rem);
  padding-bottom: var(--band-y);
}
.page-services .hero--svc .hero__inner {
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
.page-services .hero--svc .hero__copy { max-width: 38rem; }
.page-services .hero--svc h1 {
  /* secondary hero: a notch smaller than the home display, so it reads as an inner page */
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 4.4rem);
  letter-spacing: -0.03em; line-height: 1.0; margin-bottom: 1.3rem;
}
.page-services .hero--svc .hero__lead { margin-bottom: 1.8rem; }

/* framed media tile (right side); the variant carries a real photo, the home hero does not */
.page-services .hero__media {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--surface-2);
  box-shadow: 0 30px 60px -40px rgba(10,22,34,.45);
}
.page-services .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-services .hero__media-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(10,22,34,.78); color: #fff;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  padding: .5rem .85rem; border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

/* quick jump rail under the hero */
.page-services .svc-jump {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem;
}
.page-services .svc-jump a {
  font-size: .9rem; font-weight: 600; color: var(--ink);
  padding: .55rem 1.05rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.page-services .svc-jump a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- SERVICE DETAIL BLOCKS (expanded svc-card grammar, anchored) ---------- */
.page-services .svc-detail { background: var(--canvas); padding-block: var(--band-y); }
.page-services .svc-detail--alt { background: var(--surface-2); }
.page-services .svc-detail__head {
  display: grid; grid-template-columns: 1fr; gap: 1.1rem;
  max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page-services .svc-detail__num {
  font-size: 1.05rem; font-weight: 700; color: var(--canvas-royal);
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.page-services .svc-detail__head h2 { font-size: var(--fs-h2); }
.page-services .svc-detail__head p { color: var(--ink-soft); font-size: var(--fs-lead); }

/* sub-item card grid (the pools, the bureaus, the advocacy strands) */
.page-services .svc-items { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.page-services .svc-item {
  position: relative; background: var(--surface); border-radius: var(--r-card);
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.page-services .svc-detail--alt .svc-item { background: var(--surface); }
.page-services .svc-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(10,22,34,.35); }
.page-services .svc-item__mark { width: 40px; height: 40px; color: var(--accent); margin-bottom: .3rem; }
.page-services .svc-item__mark svg { width: 100%; height: 100%; }
.page-services .svc-item h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
.page-services .svc-item p { color: var(--ink-soft); font-size: .95rem; }
.page-services .svc-item__tag {
  align-self: flex-start; margin-top: .2rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-deep); background: rgba(24,144,200,.10);
  padding: .3rem .7rem; border-radius: var(--r-pill);
}

/* a wide "voice in the room" advocacy feature row with the boardroom image */
.page-services .svc-feature {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center; margin-top: clamp(2rem, 4vw, 3rem);
}
.page-services .svc-feature__media {
  border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10;
  background: var(--surface-2);
}
.page-services .svc-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.page-services .svc-feature__body h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: .8rem; }
.page-services .svc-feature__body p { color: var(--ink-soft); margin-bottom: .8rem; }
.page-services .svc-feature__list { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
.page-services .svc-feature__list li {
  display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-size: .96rem;
}
.page-services .svc-feature__list li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: .15rem; }

/* the bureaus run on the near-black band as a 3-up institutional row */
.page-services .bureaus { background: var(--canvas-ink); color: #fff; padding-block: var(--band-y); }
.page-services .bureaus__head { max-width: 50rem; margin-bottom: clamp(2rem,4vw,3rem); }
.page-services .bureaus__head .eyebrow { color: var(--accent-bright); margin-bottom: .9rem; }
.page-services .bureaus__head h2 { font-size: var(--fs-h2); }
.page-services .bureaus__head p { color: rgba(255,255,255,.72); margin-top: 1rem; font-size: var(--fs-lead); }
.page-services .bureaus__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.page-services .bureau {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  border-radius: var(--r-card); padding: 1.6rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.page-services .bureau__abbr {
  font-size: 1.5rem; font-weight: 700; color: var(--accent-bright);
  letter-spacing: -0.01em;
}
.page-services .bureau h3 { font-size: 1.1rem; font-weight: 600; }
.page-services .bureau p { color: rgba(255,255,255,.72); font-size: .93rem; }

/* responsive grids */
@media (min-width: 600px) {
  .page-services .svc-items { grid-template-columns: repeat(2, 1fr); }
  .page-services .bureaus__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 861px) {
  .page-services .hero--svc .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .page-services .svc-feature { grid-template-columns: 1fr 1fr; }
  .page-services .svc-feature--media-right .svc-feature__media { order: 2; }
}
@media (min-width: 1100px) {
  .page-services .svc-items { grid-template-columns: repeat(3, 1fr); }
}
