/* ============================================================
   APPROCCIO — page-specific styles
   ============================================================ */

.page-head { padding-top: clamp(150px, 17vh, 240px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-head .shead { margin-bottom: 0; }
.page-head .shead-title { max-width: 18ch; }
.page-head .shead-title .sub-line { display: block; font-size: clamp(28px, 3.6vw, 56px); color: var(--muted); margin-top: .2em; font-weight: 300; }

/* extended method blocks */
.method-x { max-width: 1120px; margin: 0 auto; border-top: 1px solid var(--line); }
.mx-block { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.mx-phase .mx-step { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mx-phase h2 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; margin: 14px 0 0; letter-spacing: -.02em; }
.mx-phase .mx-chip { display: inline-block; margin-top: 18px; width: 56px; height: 6px; border-radius: 999px; }
.mx--explore .mx-step, .mx--explore h3 { color: var(--violet-fg); }
.mx--explore .mx-chip { background: var(--violet); }
.mx--transform .mx-step, .mx--transform h3 { color: var(--teal-fg); }
.mx--transform .mx-chip { background: var(--teal); }
.mx--innovate .mx-step, .mx--innovate h3 { color: var(--green-fg); }
.mx--innovate .mx-chip { background: var(--green); }
.mx-body p { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink); font-weight: 300; line-height: 1.5; max-width: 60ch; }
.mx-output { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; max-width: 60ch; }
.mx-output .ol { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mx-output .ov { font-size: clamp(18px, 1.8vw, 24px); font-weight: 400; line-height: 1.3; }
@media (max-width: 760px) { .mx-block { grid-template-columns: 1fr; gap: 18px; } }

/* ============================================================
   FULL FUNNEL — pinned scroll stage (bold, one phase at a time)
   ============================================================ */
.funnel-intro { text-align: center; max-width: 820px; margin: 0 auto; }
.funnel-intro .lead { margin: 24px auto 0; }

.fnl-stage { position: relative; min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; gap: clamp(20px, 3vw, 36px); padding: clamp(96px, 12vh, 150px) var(--gutter) clamp(70px, 9vh, 110px); overflow: hidden; }
.fnl-stage .blob { opacity: .4; }

/* top: phase counter + name, crossfading */
.fnl-head { position: relative; z-index: 2; text-align: center; min-height: clamp(120px, 18vh, 200px); }
.fnl-count { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 300; letter-spacing: -.02em; }
.fnl-count .cur { font-size: clamp(40px, 6vw, 88px); line-height: 1; transition: color .4s; }
.fnl-count .tot { font-size: clamp(20px, 2.4vw, 32px); color: var(--muted); }
.fnl-phase-name { font-size: clamp(34px, 6vw, 86px); font-weight: 300; letter-spacing: -.03em; line-height: 1; margin-top: 12px; }
.fnl-phase-meta { margin-top: 14px; font-size: clamp(13px, 1.2vw, 16px); font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.fnl-phase-meta b { font-weight: 600; }

/* middle: converging pills */
.fnl-pills-wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.fnl-group { position: absolute; inset: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-content: center; max-width: 880px; margin: 0 auto; padding: 0 60px; }
.fnl-group .pill { font-size: clamp(14px, 1.4vw, 18px); padding: 11px 20px; box-shadow: 0 6px 18px rgba(14,14,18,.05); border: 1px solid transparent; }
/* pills colored by funnel phase */
.fnl-group[data-g="0"] .pill { background: var(--violet-bg); color: var(--violet-fg); }
.fnl-group[data-g="1"] .pill { background: var(--teal-bg); color: var(--teal-fg); }
.fnl-group[data-g="2"] .pill { background: var(--green-bg); color: var(--green-fg); }
.fnl-group[data-g="3"] .pill { background: var(--dark); color: #fff; }

/* bottom: funnel silhouette as progress */
.fnl-shape { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 7px; align-items: center; width: 100%; max-width: 560px; margin: 0 auto; }
.fnl-band { border-radius: 12px; padding: 12px 22px; display: flex; align-items: center; justify-content: center; gap: 14px; border: 1.5px solid var(--line); background: var(--paper); transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s, background .45s, border-color .45s, opacity .45s; opacity: .5; }
.fnl-band[data-i="0"] { width: 100%; }
.fnl-band[data-i="1"] { width: 82%; }
.fnl-band[data-i="2"] { width: 64%; }
.fnl-band[data-i="3"] { width: 46%; }
.fnl-band .fb-step { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.fnl-band .fb-name { font-size: clamp(14px, 1.5vw, 19px); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.fnl-band.active { opacity: 1; transform: scale(1.06); box-shadow: 0 16px 40px rgba(14,14,18,.13); }
.fnl-band.done { opacity: .85; }

.fnl-legend { display: none; }

@media (max-width: 760px) {
  /* stacked, non-pinned funnel on mobile */
  .fnl-stage--stacked { display: block; min-height: 0; padding: clamp(40px, 8vw, 64px) var(--gutter); overflow: visible; }
  .fnl-stage--stacked .fnl-stream-label { display: none; }
  .fnl-stage--stacked .fnl-group { position: relative; inset: auto; max-width: 640px; margin: 0 auto clamp(36px, 9vw, 52px); padding: 0; justify-content: flex-start; }
  .fnl-mhead { display: flex; align-items: baseline; gap: 12px; max-width: 640px; margin: 0 auto 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .fnl-mhead .fm-num { font-size: 22px; font-weight: 300; color: var(--c); }
  .fnl-mhead .fm-name { font-size: clamp(22px, 6vw, 30px); font-weight: 400; letter-spacing: -.02em; }
  .fnl-mhead .fm-meta { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
  .fnl-stage--stacked .fnl-group .pill { font-size: 14px; padding: 9px 15px; }
}