/* PWW Tribe: membership community */
:root{--indigo:#2F3B66;--mist:#EEF1F7;--ink:#1E2540;--ink-soft:#5A6180;--surface:#FFFFFF;--surface-2:#EEF1F7;--line:#DADFEA;--accent:#2F3B66;--display:'Familjen Grotesk',sans-serif;--radius:8px}

.tr-hero{padding:clamp(48px,7vw,88px) 0;background:var(--mist)}
.tr-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(24px,4vw,56px);align-items:center}
.tr-hero h1{font-size:clamp(40px,5.6vw,74px);letter-spacing:-.03em;line-height:1.02}
.tr-hero .lede{font-size:19px;color:var(--ink-soft);margin-top:20px;max-width:44ch}
.tr-hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.map{background:#fff;border-radius:20px;padding:18px;border:1px solid var(--line)}
.map svg{width:100%;height:auto}
.map .node{cursor:pointer}
.map .node circle{fill:#fff;stroke:var(--indigo);stroke-width:2;transition:fill .2s}
.map .node text{font:600 13px 'Instrument Sans',sans-serif;fill:var(--ink)}
.map svg.narrow .node text{font-size:15px}.map svg.narrow .dest text{font-size:14px}
.map .node.on circle,.map .node:hover circle{fill:var(--indigo)}
.map .node:focus{outline:none}
.map .node:focus-visible circle{stroke:var(--copper);stroke-width:4}
.map .dest rect{fill:var(--c)}
.map .dest text{font:700 13px 'Instrument Sans',sans-serif;fill:#fff}
.map .edge{stroke:#C9D0E2;stroke-width:1.5;transition:stroke .2s,stroke-width .2s}
.map .edge.on{stroke:var(--indigo);stroke-width:3}
.map-out{min-height:52px;margin:10px 6px 4px;font-size:15.5px;color:var(--ink-soft)}
.map-out b{color:var(--ink)}
@media (max-width:900px){.tr-grid{grid-template-columns:1fr}}

.give{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.give>div{padding:clamp(22px,3vw,36px)}
.give>div:first-child{background:var(--indigo);color:#fff}
.give h3{font-size:24px}
.give ul{list-style:none;padding:0;margin:16px 0 0}
.give li{padding:12px 0;border-top:1px solid rgba(127,140,180,.3);font-size:16px}
.give>div:first-child li{color:#DCE1F0}
@media (max-width:760px){.give{grid-template-columns:1fr}}

.path{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;counter-reset:p}
.path li{counter-increment:p;background:var(--mist);border-radius:12px;padding:20px}
.path li::before{content:counter(p);font-family:var(--display);font-weight:700;font-size:32px;color:var(--indigo);display:block;line-height:1}
.path h3{font-size:19px;margin-top:10px}
.path p{font-size:15px;color:var(--ink-soft);margin-top:6px}
@media (max-width:900px){.path{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.path{grid-template-columns:1fr}}

.founding{border-top:1px solid var(--line)}
.founding .box{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,56px)}
.founding h2{font-size:clamp(28px,3.2vw,42px);letter-spacing:-.02em}
.founding p{color:var(--ink-soft);margin-top:12px;font-size:17px}
@media (max-width:760px){.founding .box{grid-template-columns:1fr}}

.apply{background:var(--mist)}
.apply-card{max-width:760px;margin:0 auto;background:#fff;border-radius:20px;padding:clamp(22px,4vw,40px);border:1px solid var(--line)}
.stepper{display:flex;gap:6px;margin-bottom:24px}
.stepper span{flex:1;height:6px;border-radius:3px;background:var(--line)}
.stepper span.on{background:var(--indigo)}
.step-label{font-size:14px;color:var(--ink-soft);margin-bottom:6px}
.apply fieldset.step{border:0;padding:0;margin:0}
.apply fieldset.step[hidden]{display:none}
.apply legend{font-family:var(--display);font-size:26px;font-weight:700;margin-bottom:18px}
.step-nav{display:flex;justify-content:space-between;gap:12px;margin-top:8px}

.h2{font-size:clamp(30px,3.6vw,46px);letter-spacing:-.025em}
.sub{color:var(--ink-soft);font-size:18px;margin-top:12px;max-width:60ch}
.m-hero{background:var(--indigo);color:#fff;padding:clamp(56px,8vw,104px) 0;position:relative;overflow:hidden}
.m-hero h1{font-size:clamp(44px,6.4vw,92px);letter-spacing:-.04em;line-height:.98;max-width:13ch;color:#fff}
.m-hero .lede{color:#D3D9EE;font-size:19px;max-width:52ch;margin-top:22px}
.m-hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.m-hero .btn{background:#fff;color:var(--indigo)}
.m-hero .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.m-hero svg.rings{position:absolute;right:-80px;top:50%;transform:translateY(-50%);width:560px;opacity:.5}
@media (max-width:860px){.m-hero svg.rings{display:none}}
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}
.pillars article{background:var(--mist);border-radius:16px;padding:22px}
.pillars h3{font-size:21px}
.pillars p{color:var(--ink-soft);font-size:15.5px;margin-top:8px}
@media (max-width:900px){.pillars{grid-template-columns:1fr 1fr}}
@media (max-width:540px){.pillars{grid-template-columns:1fr}}
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}
.tiers article{border:1.5px solid var(--line);border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:10px;background:#fff}
.tiers article.main{border-color:var(--indigo);box-shadow:0 0 0 4px #DDE2F2}
.tiers h3{font-size:26px}
.tiers .price{font-family:var(--display);font-size:22px;font-weight:700}
.tiers ul{margin:0;padding:0;list-style:none}
.tiers li{padding:8px 0;border-top:1px solid var(--line);font-size:15.5px}
.tiers .btn{margin-top:auto}
@media (max-width:860px){.tiers{grid-template-columns:1fr}}
.teachers{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:26px}
.teachers div{border:1px dashed #D7B79F;border-radius:14px;padding:18px;font-size:14.5px;color:var(--ink-soft);background:#fff}
.teachers i{display:block;width:56px;height:56px;border-radius:50%;background:var(--mist);margin-bottom:10px}
@media (max-width:860px){.teachers{grid-template-columns:1fr 1fr}}
.pg-hero{background:var(--mist);padding:clamp(36px,5vw,64px) 0}
.pg-hero h1{font-size:clamp(40px,5.4vw,72px);letter-spacing:-.03em;line-height:1}
.pg-hero .lede{font-size:19px;color:var(--ink-soft);max-width:56ch;margin-top:16px}
.pg-hero .crumbs{padding-top:0;margin-bottom:14px}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 24px}
.filters button{all:unset;cursor:pointer;padding:9px 15px;border-radius:999px;border:1.5px solid var(--indigo);font-weight:600;font-size:14.5px}
.filters button[aria-pressed="true"]{background:var(--indigo);color:#fff}
.filters button:focus-visible{outline:3px solid var(--copper);outline-offset:2px}
.progs{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.prog{border-radius:18px;overflow:hidden;border:1.5px solid var(--line);background:#fff;display:flex;flex-direction:column}
.prog .art{height:120px;background:var(--bg)}
.prog .body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1}
.prog .area{font-size:13px;font-weight:600;color:var(--indigo)}
.prog h3{font-size:21px}
.prog p{color:var(--ink-soft);font-size:15px}
.prog .meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:8px}
.prog .meta span{font-size:13px;background:var(--mist);padding:4px 9px;border-radius:999px}
@media (max-width:900px){.progs{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.progs{grid-template-columns:1fr}}
.cal{border-top:1.5px solid var(--indigo)}
.cal-row{display:grid;grid-template-columns:110px 1fr auto;gap:22px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}
.cal-row .d{font-family:var(--display);font-weight:700;line-height:1}
.cal-row .d b{display:block;font-size:40px;color:var(--indigo)}
.cal-row .d span{font-size:14px;color:var(--ink-soft)}
.cal-row h3{font-size:21px}
.cal-row .meta{color:var(--ink-soft);font-size:15px;margin-top:4px}
.cal-row .kind{display:inline-block;font-size:12.5px;font-weight:600;padding:3px 9px;border-radius:999px;background:var(--mist);margin-bottom:6px}
@media (max-width:700px){.cal-row{grid-template-columns:70px 1fr}.cal-row .btn{grid-column:1/-1}}
.formats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}
.formats article{background:var(--mist);border-radius:16px;padding:22px}
.formats h3{font-size:21px}
.formats p{color:var(--ink-soft);margin-top:8px;font-size:15.5px}
@media (max-width:860px){.formats{grid-template-columns:1fr}}

/* Tribe as a platform for groups */
.t-hero{background:var(--indigo);color:#fff;padding:clamp(48px,7vw,96px) 0}
.t-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,64px);align-items:center}
.t-hero h1{font-size:clamp(40px,5.4vw,76px);letter-spacing:-.035em;line-height:1;color:#fff}
.t-hero .lede{color:#D3D9EE;font-size:18.5px;margin-top:20px;max-width:50ch}
.t-hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.t-hero .btn{background:#fff;color:var(--indigo)}
.t-hero .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.gspace{background:#fff;color:var(--ink);border-radius:18px;padding:18px;box-shadow:0 30px 60px -30px rgba(0,0,0,.5)}
.gs-top{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.gs-top>div{flex:1}.gs-top small{display:block;color:var(--ink-soft);font-size:13px}
.gs-avatar{width:42px;height:42px;border-radius:12px;background:var(--mist);display:grid;place-items:center;font-weight:700;color:var(--indigo)}
.gs-tabs{display:flex;gap:4px;margin:12px 0;overflow-x:auto}
.gs-tabs button{all:unset;cursor:pointer;padding:8px 12px;border-radius:999px;font-size:14px;font-weight:600;color:var(--ink-soft);white-space:nowrap}
.gs-tabs button[aria-selected="true"]{background:var(--indigo);color:#fff}
.gs-tabs button:focus-visible{outline:3px solid var(--copper)}
.gs-panel{min-height:190px}
.post{padding:12px 14px;border-radius:12px;background:var(--mist);margin-bottom:8px}
.post b{font-size:13px;color:var(--indigo)}.post p{margin:4px 0;font-size:15px}.post small{font-size:12.5px;color:var(--ink-soft)}
.files{list-style:none;margin:0;padding:0}
.files li{display:flex;justify-content:space-between;gap:12px;padding:12px 4px;border-bottom:1px solid var(--line);font-size:15px}
.files small{color:var(--ink-soft);white-space:nowrap}
@media (max-width:900px){.t-hero-grid{grid-template-columns:1fr}}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.three a{display:flex;flex-direction:column;gap:10px;padding:26px;border-radius:18px;border:1.5px solid var(--line);text-decoration:none;color:inherit;background:#fff}
.three a:hover{border-color:var(--indigo)}
.three h3{font-size:26px}.three p{color:var(--ink-soft)}.three span{margin-top:auto;font-weight:600;color:var(--indigo)}
@media (max-width:860px){.three{grid-template-columns:1fr}}
.who-grid,.features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px}
.features{grid-template-columns:repeat(4,1fr)}
.who-grid article,.features article{background:#fff;border-radius:16px;padding:22px;border:1px solid var(--line)}
.who-grid h3,.features h3{font-size:19px}.who-grid p,.features p{color:var(--ink-soft);font-size:15px;margin-top:8px}
@media (max-width:900px){.who-grid,.features{grid-template-columns:1fr 1fr}}
@media (max-width:540px){.who-grid,.features{grid-template-columns:1fr}}
.pww-own{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:48px}
.access{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.access article{background:#fff;border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:8px}
.access h3{font-size:22px}.access p{color:var(--ink-soft);font-size:15px}.access small{margin-top:auto;font-size:13px;color:var(--indigo);font-weight:600}
@media (max-width:900px){.access{grid-template-columns:1fr 1fr}}
@media (max-width:540px){.access{grid-template-columns:1fr}}
.empty-dir{border:2px dashed var(--line);border-radius:18px;padding:clamp(24px,4vw,40px);display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-top:24px}
.empty-dir p{color:var(--ink-soft);max-width:60ch;margin:0}
.nb-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.nb-cat{all:unset;cursor:pointer;border:1.5px solid var(--line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:4px;background:#fff}
.nb-cat b{font-size:17px}.nb-cat span{font-size:14px;color:var(--ink-soft)}
.nb-cat.on,.nb-cat:hover{border-color:var(--indigo)}.nb-cat.on{box-shadow:0 0 0 3px #DDE2F2}
.nb-cat:focus-visible{outline:3px solid var(--copper)}
.t-hero-grid>*{min-width:0}
