/* ============================================================
   sections.css — story, how-it-works, matched, pods, closer
   Warm & friendly: soft cards, rounded corners, no hard shadows
   ============================================================ */

/* ---------- Role marquee strip ---------- */
.rolemarquee { border-block: 1px solid var(--line-soft); padding: 17px 0; background: color-mix(in oklab, var(--paper), transparent 30%); }
.rolemarquee__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--label); font-size: 14px; font-weight: 700; letter-spacing: .01em; color: var(--ink); }
.rolemarquee__sep { color: var(--sage); margin-left: 4px; }

/* ---------- Isolation problem ---------- */
.problem__grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (max-width: 920px) { .problem__grid { grid-template-columns: 1fr; gap: 44px; } }
.painlist { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; max-width: 480px; }
.painlist li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink); font-weight: 460; }
.painlist li:last-child { border-bottom: 1px solid var(--line); }
.painlist__x { color: var(--clay); font-weight: 800; flex: 0 0 auto; font-size: 15px; }

.solo { padding: 28px; }
.solo__label { font-family: var(--label); font-size: 13px; letter-spacing: .02em; color: var(--ink-soft); font-weight: 700; margin-bottom: 22px; }
.solo__hub { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding-bottom: 24px; border-bottom: 1px dashed var(--line-firm); margin-bottom: 22px; }
.solo__you { font-family: var(--label); font-size: 13px; color: var(--sage-deep); font-weight: 700; }
.solo__gapgrid { display: flex; flex-wrap: wrap; gap: 9px; }
.solo__foot { display: flex; gap: 24px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--label); font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.solo__stat b { font-family: var(--display); font-size: 24px; color: var(--ink); margin-right: 6px; }
.solo__stat.amber b { color: var(--amber-deep); }

/* ---------- Collaboration shift ---------- */
.shift__inner { padding: clamp(30px, 4vw, 56px); background: var(--sage-tint); border-color: transparent; box-shadow: var(--shadow-soft); }
.shift__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (max-width: 920px) { .shift__grid { grid-template-columns: 1fr; gap: 36px; } }
.shift__cta { margin-top: 30px; }
.shiftflow { display: flex; flex-direction: column; gap: 11px; }
.shiftflow__step { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 22px; display: flex; flex-direction: column; gap: 3px; box-shadow: var(--shadow-sm); }
.shiftflow__step.on { background: var(--sage); border-color: transparent; box-shadow: var(--shadow-soft); }
.shiftflow__step.on .shiftflow__k, .shiftflow__step.on .shiftflow__v { color: #fff; }
.shiftflow__step.hot { background: var(--amber); border-color: transparent; box-shadow: var(--shadow-soft); }
.shiftflow__step.hot .shiftflow__k, .shiftflow__step.hot .shiftflow__v { color: var(--on-amber); }
.shiftflow__k { font-family: var(--label); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.shiftflow__v { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.shiftflow__arr { align-self: center; color: var(--sage-deep); font-size: 19px; }

/* ---------- How it works ---------- */
.how { background: var(--ink); color: var(--paper-2); border-radius: clamp(28px,5vw,56px); margin-inline: clamp(0px, 2vw, 24px); }
.how .eyebrow { color: rgba(253,247,236,.72); }
.how h2, .how h3 { color: var(--paper-2); }
.how__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.how__steps { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
@media (max-width: 920px) { .how__steps { grid-template-columns: 1fr; gap: 32px; } }
.steplist { display: flex; flex-direction: column; gap: 4px; }
.steprow { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 22px; border-radius: var(--r-md); cursor: pointer; transition: background .25s; border: 1px solid transparent; }
.steprow:hover { background: rgba(253,247,236,.06); }
.steprow.active { background: rgba(253,247,236,.08); border-color: rgba(253,247,236,.16); }
.steprow__n { font-family: var(--label); font-size: 14px; font-weight: 800; color: var(--honey); width: 30px; }
.steprow.active .steprow__n { color: var(--honey); }
.steprow__t { font-family: var(--display); font-size: clamp(19px,2vw,24px); font-weight: 700; letter-spacing:-.01em; color: rgba(253,247,236,.55); transition: color .25s; }
.steprow.active .steprow__t { color: var(--paper-2); }
.steprow__d { grid-column: 2; font-size: 15px; color: rgba(253,247,236,.66); margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s, margin .3s; }
.steprow.active .steprow__d { max-height: 120px; opacity: 1; margin-top: 10px; }
.steprow__bar { grid-column: 1 / -1; height: 3px; background: rgba(253,247,236,.14); margin-top: 16px; border-radius: 3px; overflow: hidden; display: none; }
.steprow.active .steprow__bar { display: block; }
.steprow__bar i { display: block; height: 100%; background: var(--honey); width: 0; border-radius: 3px; }
.steprow.active .steprow__bar i { animation: stepfill 5s linear; }
@keyframes stepfill { from { width: 0; } to { width: 100%; } }

.howviz { position: sticky; top: 90px; border: 1px solid rgba(253,247,236,.18); border-radius: var(--r-card); background: rgba(253,247,236,.05); padding: 30px; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.howviz__label { position: absolute; top: 18px; left: 22px; font-family: var(--label); font-size: 12.5px; letter-spacing: .02em; color: rgba(253,247,236,.5); font-weight: 600; }

/* viz: profile */
.vprofile { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 13px; }
.vfield { display: flex; flex-direction: column; gap: 8px; }
.vfield__k { font-family: var(--label); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(253,247,236,.55); font-weight: 700; }
.vfield__bar { height: 10px; border-radius: 6px; background: rgba(253,247,236,.14); overflow: hidden; }
.vfield__bar i { display: block; height: 100%; background: var(--sage); border-radius: 6px; transition: width 1s var(--ease); }
.vchips { display: flex; flex-wrap: wrap; gap: 7px; }
.vchip { font-family: var(--label); font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: var(--r-pill); border: 1.5px solid rgba(253,247,236,.28); color: var(--paper-2); }
.vchip.on { background: var(--sage); border-color: transparent; }

/* viz: clusters */
.vcluster { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 360px; }
.vmatchwrap { display:flex; flex-direction:column; align-items:center; gap:18px; }
.vmatch__row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.vproject { width: 100%; max-width: 340px; border: 1px solid rgba(253,247,236,.2); border-radius: var(--r-card); padding: 22px; background: rgba(253,247,236,.05); }
.vproject__tag { display: inline-block; font-family: var(--label); font-size: 11.5px; letter-spacing:.04em; text-transform: uppercase; color: var(--on-amber); background: var(--amber); padding: 5px 11px; border-radius: var(--r-pill); font-weight: 700; margin-bottom: 14px; }
.vproject__t { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--paper-2); margin-bottom: 6px; letter-spacing: -.01em; }
.vproject__d { font-size: 13.5px; color: rgba(253,247,236,.66); margin-bottom: 16px; }
.vproject__need { display: flex; gap: 7px; flex-wrap: wrap; }

/* ---------- What gets matched ---------- */
.matched__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) { .matched__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .matched__grid { grid-template-columns: 1fr; } }
.matchcard { position: relative; padding: 28px 24px 30px; border-radius: var(--r-card); background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.matchcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.matchcard__g { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 20px; background: var(--sage-tint); }
.matchcard:hover .matchcard__g { background: var(--amber-tint); }
.matchcard__k { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.matchcard__d { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.matchcard__n { position: absolute; top: 22px; right: 22px; font-family: var(--label); font-size: 12px; color: var(--ink-faint); font-weight: 700; }
.matchcard__num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; font-family: var(--label); font-weight: 700; font-size: 14px; letter-spacing: .02em; margin-bottom: 18px; transition: transform .25s var(--ease); }
.matchcard:hover .matchcard__num { transform: scale(1.06); }

/* ---------- Role builder (interactive) ---------- */
.builder { background: color-mix(in oklab, var(--paper), transparent 25%); border-block: 1px solid var(--line-soft); }
.builder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,28px); align-items: stretch; margin-top: 46px; }
@media (max-width: 940px) { .builder__grid { grid-template-columns: 1fr; } }
.builderpane { padding: 30px; }
.builderpane__h { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom: 22px; }
.builderpane__title { font-family: var(--label); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.builderpane__hint { font-family: var(--label); font-size: 13px; color: var(--ink-faint); font-weight: 600; }
.pickgrid { display: flex; flex-wrap: wrap; gap: 10px; }
.builder__out { background: var(--ink); color: var(--paper-2); border-color: transparent; display: flex; flex-direction: column; }
.builder__out .builderpane__title { color: rgba(253,247,236,.62); }
.builder__out .builderpane__hint { color: rgba(253,247,236,.45); }
.outblock { margin-bottom: 22px; }
.outblock__k { font-family: var(--label); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(253,247,236,.55); margin-bottom: 12px; display:flex; align-items:center; gap:8px; font-weight: 700; }
.outblock__k .pill { background: var(--amber); color: var(--on-amber); border-radius: var(--r-pill); padding: 2px 9px; font-size: 11px; font-weight: 800; }
.outblock__k .pill.sage { background: var(--sage); color:#fff; }
.outrow { display: flex; flex-wrap: wrap; gap: 9px; min-height: 38px; }
.builder__meter { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(253,247,236,.16); }
.meterbar { height: 12px; border-radius: 7px; background: rgba(253,247,236,.16); overflow: hidden; margin-top: 10px; }
.meterbar i { display: block; height: 100%; background: var(--sage); border-radius: 7px; transition: width .5s var(--ease); }
.meterhead { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--label); font-size: 13.5px; color: rgba(253,247,236,.72); font-weight: 600; }
.meterhead b { font-family: var(--display); font-size: 28px; color: var(--paper-2); }
.builder__empty { font-family: var(--label); font-size: 13px; color: rgba(253,247,236,.45); }

/* ---------- Built for pods ---------- */
.pods__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 46px; }
@media (max-width: 760px) { .pods__grid { grid-template-columns: 1fr; } }
.podcard { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 26px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.podcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.podcard__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-tint); }
.podcard__short { font-family: var(--label); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; margin-bottom: 4px; }
.podcard__title { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 7px; }
.podcard__blurb { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Project + team matching ---------- */
.match2 { background: var(--ink); color: var(--paper-2); border-radius: clamp(28px,5vw,56px); margin-inline: clamp(0px, 2vw, 24px); }
.match2 h2, .match2 h3 { color: var(--paper-2); }
.match2 .eyebrow { color: rgba(253,247,236,.72); }
.matchboard { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px,3vw,40px); align-items: center; margin-top: 48px; }
@media (max-width: 820px) { .matchboard { grid-template-columns: 1fr; gap: 20px; } }
.mbcol { display: flex; flex-direction: column; gap: 16px; }
.mbcard { border: 1px solid rgba(253,247,236,.18); border-radius: var(--r-card); padding: 22px; background: rgba(253,247,236,.05); }
.mbcard__k { font-family: var(--label); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--honey); margin-bottom: 11px; font-weight:700; }
.mbcard__t { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--paper-2); margin-bottom: 14px; letter-spacing:-.01em; }
.mbcard__roles { display: flex; flex-wrap: wrap; gap: 7px; }
.mbmid { display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(253,247,236,.5); }
.mbmid__line { width: 2px; height: 40px; background: rgba(253,247,236,.22); border-radius: 2px; }
@media (max-width: 820px){ .mbmid__line{ width:40px; height:2px; } }
.mbmid__node { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--sage); display: grid; place-items: center; font-family: var(--label); font-size: 11px; font-weight: 700; color: #fff; text-align: center; line-height: 1.1; background: var(--sage); box-shadow: var(--shadow-soft); }

/* ---------- Who it's for ---------- */
.who__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px,5vw,72px); align-items: start; }
@media (max-width: 900px) { .who__grid { grid-template-columns: 1fr; gap: 36px; } }
.wholist { display: flex; flex-direction: column; }
.whorow { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 20px 6px; border-top: 1px solid var(--line); transition: background .2s, padding .2s; border-radius: var(--r-md); }
.whorow:last-child { border-bottom: 1px solid var(--line); }
.whorow:hover { background: var(--paper-2); padding-inline: 18px; }
.whorow__n { font-family: var(--label); font-size: 13px; color: var(--ink-faint); font-weight: 700; }
.whorow__t { font-family: var(--display); font-size: clamp(20px,2.4vw,28px); font-weight: 700; letter-spacing: -.01em; transition: color .2s; }
.whorow__tag { font-family: var(--label); font-size: 12.5px; color: var(--sage-deep); font-weight: 600; }
.whorow:hover .whorow__t { color: var(--amber-deep); }

/* ---------- Why different ---------- */
.why__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 46px; }
@media (max-width: 760px){ .why__grid{ grid-template-columns:1fr; } }
.whycard { padding: 30px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); box-shadow: var(--shadow-sm); }
.whycard.is { background: var(--sage-tint); border-color: transparent; box-shadow: var(--shadow-soft); }
.whycard.not { background: var(--paper-2); }
.whycard__lbl { font-family: var(--label); font-size: 12px; letter-spacing:.04em; text-transform: uppercase; font-weight:700; margin-bottom: 14px; display:inline-block; }
.whycard.not .whycard__lbl { color: var(--ink-faint); }
.whycard.is .whycard__lbl { color: var(--sage-deep); }
.whycard__t { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.whycard.not .whycard__t { color: var(--ink-soft); }
.whycard__d { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Final CTA ---------- */
.finalcta { background: var(--amber); border-radius: clamp(28px,5vw,56px); margin: 0 clamp(0px, 2vw, 24px) clamp(20px,3vw,32px); overflow: hidden; }
.finalcta__in { padding-block: clamp(64px,9vw,118px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.finalcta h2 { color: var(--on-amber); }
.finalcta .eyebrow { color: color-mix(in oklab, var(--navy), transparent 22%); }
.finalcta .eyebrow .dot { background: var(--navy); }
.finalcta__sub { max-width: 540px; color: rgba(255,255,255,.92); font-size: clamp(17px,1.6vw,20px); }
.finalcta__btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.finalcta .btn-primary { background: var(--ink); box-shadow: var(--shadow-lift); }
.finalcta .btn-ghost { background: color-mix(in oklab, var(--navy), transparent 86%); color: var(--navy); border-color: color-mix(in oklab, var(--navy), transparent 55%); box-shadow: none; }
.finalcta .btn-ghost:hover { background: color-mix(in oklab, var(--navy), transparent 78%); border-color: var(--navy); }
.finalcta__note { font-family: var(--label); font-size: 13px; color: color-mix(in oklab, var(--navy), transparent 28%); font-weight: 600; }

/* ---------- Footer ---------- */
.foot { background: transparent; color: var(--ink-soft); }
.foot__in { padding-block: 46px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand { color: var(--ink); }
.foot__links { display: flex; gap: 26px; font-family: var(--label); font-size: 14px; font-weight: 600; }
.foot__links a:hover { color: var(--ink); }
