/* In-network partners (Tyler, 2026-10-05): every brand and clinic in the Gabriel Network, open now and coming soon.
   V3 recipe: a dark page hero with one visual (the network, drawn in code), a light list of partner rows with their own
   logos, the three payment steps after V3's standard divider, and a dark close. */

/* ---- Hero ---- */
.ip-hero .ph-copy .h1{max-width:12em}
.ip-counts{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.ip-counts a{display:inline-flex;align-items:baseline;gap:8px;min-height:44px;padding:10px 16px;border-radius:999px;border:1px solid rgba(240,243,241,.16);font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--silver);text-decoration:none;transition:border-color .2s var(--ease-out),color .2s var(--ease-out)}
.ip-counts a:hover{border-color:rgba(240,243,241,.4);color:var(--pearl)}
.ip-counts b{font-family:var(--sans,inherit);font-weight:400;font-size:17px;letter-spacing:-.01em;text-transform:none;color:var(--jade)}

/* The network: Gabriel at the centre, eight kinds of care, every partner on the outer ring */
.ip-net{justify-self:end;width:100%;max-width:540px}
.ipn{display:block;width:100%;height:auto;overflow:visible}
.ipn .ring{fill:none;stroke:rgba(240,243,241,.07);stroke-width:1}
.ipn .orbit{fill:none;stroke:rgba(240,243,241,.22);stroke-width:1.2;stroke-dasharray:1.5 7;stroke-linecap:round;transform-box:view-box;transform-origin:0 0;animation:ipnTurn 120s linear infinite}  /* view-box origin = the centre (viewBox -300 -300 600 600) */
.ipn .l{fill:none;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0}
.ipn .s{stroke:rgba(240,243,241,.2);stroke-width:1.1}
.ipn .t{stroke:rgba(240,243,241,.11);stroke-width:1}
.ipn .n{fill:var(--abyss);stroke:rgba(240,243,241,.55);stroke-width:1.2}
.ipn .n.on{fill:var(--jade);stroke:var(--jade)}
.ipn .p{fill:var(--abyss);stroke:rgba(240,243,241,.45);stroke-width:1}
.ipn .p.on{fill:var(--jade);stroke:var(--jade)}
.ipn .m{fill:rgba(240,243,241,.85)}
.ipn .m.on{fill:var(--jade)}
.ipn .core-ring{fill:none;stroke:rgba(127,176,151,.35);stroke-width:1}
.ip-legend{display:flex;justify-content:center;gap:22px;margin-top:14px;font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--silver)}
.ip-legend span{display:inline-flex;align-items:center;gap:8px}
.ip-legend span::before{content:"";width:8px;height:8px;border-radius:50%;border:1px solid rgba(240,243,241,.55);background:var(--abyss)}
.ip-legend .on::before{border-color:var(--jade);background:var(--jade)}
/* Draw-in, once: spokes, then the kinds of care, then partners. page.js adds .anim, then .go when the hero is ready. */
.ipn.anim .l{stroke-dashoffset:1}
.ipn.anim .n,.ipn.anim .p{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.4)}
.ipn.anim .core,.ipn.anim .core-ring{opacity:0}
.ipn.anim.go .l{animation:ipnDraw .9s var(--ease-out) var(--d) forwards}
.ipn.anim.go .n,.ipn.anim.go .p{animation:ipnPop .5s var(--ease-out) var(--d) forwards}
.ipn.anim.go .core,.ipn.anim.go .core-ring{animation:ipnFade .8s var(--ease-out) .05s forwards}
.ipn.still .orbit{animation:none}
.ipn.still .ms{display:none}
.ipn.paused .orbit{animation-play-state:paused}
@keyframes ipnDraw{to{stroke-dashoffset:0}}
@keyframes ipnPop{to{opacity:1;transform:scale(1)}}
@keyframes ipnFade{to{opacity:1}}
@keyframes ipnTurn{to{transform:rotate(360deg)}}

/* ---- The list ---- */
.ip-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;margin-bottom:clamp(36px,4.5vw,56px)}
.ip-filter{display:flex;flex-wrap:wrap;gap:8px}
.ip-filter button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(37,42,43,.16);background:transparent;font:inherit;font-size:var(--fs-15);line-height:1.2;color:var(--ink);cursor:pointer;transition:background-color .2s var(--ease-out),border-color .2s var(--ease-out),color .2s var(--ease-out)}
.ip-filter button span{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.06em;color:var(--ash)}
.ip-filter button:hover{border-color:rgba(37,42,43,.4)}
.ip-filter button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--pearl)}
.ip-filter button[aria-pressed=true] span{color:var(--silver)}
.ip-count{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--ash)}
.ip-group + .ip-group{margin-top:clamp(56px,7vw,96px)}
.ip-group[hidden]{display:none}
.ip-group{scroll-margin-top:92px}
.ip-k{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.12em;line-height:1.4;text-transform:uppercase;color:var(--emerald)}
.ip-sub{margin-top:8px;font-size:var(--fs-15);line-height:1.5;color:var(--ash)}
.ip-rows{margin-top:18px;border-bottom:1px solid var(--rule)}

/* One partner per row: logo, what it is, the status and the way in */
.ip-row{display:grid;grid-template-columns:200px minmax(0,1fr) 220px;column-gap:clamp(24px,3.2vw,48px);align-items:center;padding:clamp(22px,2.4vw,30px) 0;border-top:1px solid var(--rule)}
.ip-row[hidden]{display:none}
.ip-logo{display:grid;place-items:center;height:104px;padding:16px 20px;border-radius:14px;border:1px solid rgba(200,206,206,.8);background:#fff}
.ip-logo img{display:block;width:144px;height:38px;object-fit:contain}  /* every logo fits the same box, small files scale up */
.ip-logo.tall img{width:120px;height:62px}
.ip-logo.wide img{width:150px;height:22px}
.ip-logo.inv img{filter:brightness(0)}
.ip-logo.small img{width:116px}  /* bold wordmarks (Answers, barre3) read larger at the same width */
.ip-lk{display:inline-flex;align-items:center;gap:10px;font-weight:500;font-size:21px;letter-spacing:-.015em;color:#1d1f20}
.ip-lk img{width:34px;height:34px}
.ip-type{font-weight:600;font-size:20px;letter-spacing:.2em;color:#2c5c73}
.ip-main{display:flex;flex-direction:column;gap:6px;min-width:0}
.ip-cat{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.12em;line-height:1.4;text-transform:uppercase;color:var(--emerald)}
.ip-name{font-size:clamp(24px,2.1vw,30px);font-weight:400;letter-spacing:-.025em;line-height:1.12;color:var(--ink)}
.ip-rel{font-size:.62em;letter-spacing:-.005em;color:var(--ash)}  /* related-company disclosure, read with the name */
.ip-d{max-width:38em;font-size:var(--fs-15);line-height:1.5;color:var(--ash)}
.ip-b{max-width:38em;margin-top:4px;font-size:var(--fs-15);line-height:1.5;color:var(--ink)}
.ip-side{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.ip-status{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--ash)}
.ip-status::before{content:"";width:8px;height:8px;border-radius:50%;border:1px solid rgba(37,42,43,.35)}
.ip-status.on{color:var(--emerald)}
.ip-status.on::before{border-color:var(--emerald);background:var(--emerald)}
.ip-acts{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.ip-cta{white-space:nowrap;min-width:156px;justify-content:center}
.ip-site{display:inline-flex;align-items:center;gap:6px;min-height:32px;font-size:var(--fs-13);line-height:1.3;color:var(--ash);text-decoration:none;transition:color .2s var(--ease-out)}
.ip-site:hover{color:var(--ink)}
.ip-site span{transition:transform .2s var(--ease-out)}
.ip-site:hover span{transform:translate(2px,-2px)}

/* ---- How it works: light like the list, after V3's standard divider, so the page runs dark, light, dark ---- */
.ip-list{padding-bottom:clamp(64px,7vw,104px)}
.ip-how{padding-top:clamp(64px,7vw,104px)}  /* the V3 divider between light sections sits between them */
.ip-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:clamp(32px,4vw,48px);list-style:none;padding:0}
.ip-steps li{display:flex;flex-direction:column;gap:14px;padding:clamp(20px,2vw,26px) 16px 0 0;border-top:1px solid var(--rule)}
.ip-n{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.12em;color:var(--emerald)}
.ip-steps p{font-size:clamp(18px,1.5vw,21px);line-height:1.4;letter-spacing:-.01em;color:var(--ink)}
.ip-fine{margin-top:clamp(24px,3vw,36px);max-width:62em;font-size:var(--fs-13);line-height:1.55;color:var(--ash)}

/* ---- Close ---- */
.ip-close-in{align-items:flex-start;gap:20px}
.ip-close .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.ip-pro{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px;margin-top:12px;font-size:var(--fs-15);line-height:1.5;color:var(--silver)}
.ip-pro .arrow-link{color:var(--pearl);font-weight:500}

@media (max-width:1099px){
  .ip-row{grid-template-columns:168px minmax(0,1fr);row-gap:16px}
  .ip-side{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;width:100%}
  .ip-acts{flex-direction:row;align-items:center;gap:16px}
  .ip-logo{height:92px}
}
@media (max-width:960px){
  .ip-net{justify-self:center;max-width:460px;margin-top:8px}
}
@media (max-width:760px){
  .ip-row{grid-template-columns:minmax(0,1fr);row-gap:14px;padding:24px 0}
  .ip-logo{justify-self:start;width:160px;height:84px;padding:12px 16px}
  .ip-logo img{width:120px;height:32px}
  .ip-logo.tall img{width:104px;height:54px}
  .ip-logo.wide img{width:124px;height:19px}
  .ip-logo.small img{width:98px}
  .ip-lk img{width:30px;height:30px}
  .ip-side{grid-column:1;flex-direction:column;align-items:stretch;gap:12px}
  .ip-acts{flex-direction:column;align-items:stretch;gap:6px}
  .ip-cta{width:100%}
  .ip-site{align-self:flex-start}
  .ip-filter{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);scrollbar-width:none}
  .ip-filter::-webkit-scrollbar{display:none}
  .ip-filter button{flex:none}
  .ip-steps{grid-template-columns:minmax(0,1fr);gap:0}
  .ip-steps li{padding:20px 0}
  .ip-close .actions{flex-direction:column;align-items:stretch;width:100%}
  .ip-close .actions .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .ipn .orbit{animation:none}
}
