/* Soshi Stories: Shopify blog layout (featured + pitch card, Latest strip, guide rows, newsletter, founder stories;
   articles with a CTA band, centered title, hero, sticky "On this page" and a reading bar) in Soshi's type */
.st{padding-top:4.5rem;color:#18181b}
.st-wrap{max-width:1440px;margin:0 auto;padding:0 var(--m)}
.st a{text-decoration:none;color:inherit}
.st-k{font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#18181b}
.st-d{margin-top:.75rem;font-size:.9rem;color:#71717a}
.st-dek{margin-top:1rem;font-size:1.05rem;line-height:1.55;color:#52525b}
.st h1,.st h2,.st h3{font-weight:330;letter-spacing:-.02em}
.st h3{margin-top:.5rem;font-size:1.3rem;line-height:1.25}

/* topic strip under the header (no dropdown) */
.st-sub{position:sticky;top:4.5rem;z-index:20;background:#fff;border-bottom:1px solid #e4e4e7}
.st-sub__in{max-width:1440px;margin:0 auto;padding:0 var(--m);display:flex;align-items:center;gap:2rem;height:3.4rem}
.st-sub__k{font-weight:650;font-size:1rem;letter-spacing:-.01em;flex:none}
.st-sub__t{display:flex;gap:1.6rem;overflow-x:auto;scrollbar-width:none}
.st-sub__t a{font-size:.92rem;color:#52525b;white-space:nowrap;padding:.3rem 0;border-bottom:2px solid transparent}
.st-sub__t a:hover,.st-sub__t a.on{color:#18181b;border-color:#18181b}

/* index: featured + side */
.st-top{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;padding-top:3.5rem;padding-bottom:4.5rem}
.st-feat__img,.st-card__img,.st-row__img,.st-hero{overflow:hidden;border-radius:.5rem;background:#f4f4f5}
.st-feat__img{aspect-ratio:16/9}
.st-feat__img img,.st-card__img img,.st-row__img img,.st-hero img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.st-feat:hover img,.st-card:hover img,.st-row:hover img{transform:scale(1.03)}
.st-feat h1{margin-top:1.6rem;font-size:clamp(2rem,3vw,2.6rem);line-height:1.12}
.st-feat:hover h1,.st-card:hover h3,.st-row:hover h3,.st-lt:hover h3{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.st-side{display:flex;flex-direction:column}
.st-pitch{background:#000;color:#fff;border-radius:.5rem;padding:3rem 2.5rem;text-align:center;display:flex;flex-direction:column;align-items:center}
.st-pitch h2{font-size:clamp(1.6rem,2.2vw,2.1rem);line-height:1.15;max-width:15em}
.st-pitch p{margin-top:1rem;color:#d4d4d8;font-size:.98rem;max-width:30em}
.st-pitch small{margin-top:1rem;color:#a1a1aa;font-size:.82rem}
.st-btn{display:inline-flex;align-items:center;gap:.5rem;border-radius:999px;padding:.75rem 1.35rem;font-size:.95rem;font-weight:550;transition:background .2s,transform .2s}
.st-btn:hover{transform:translateY(-1px)}
.st .st-btn--lt{margin-top:1.6rem;background:#fff;color:#000}.st .st-btn--lt:hover{background:#e4e4e7}
.st .st-btn--dk{background:#000;color:#fff}.st .st-btn--dk:hover{background:#27272a}
.st .st-btn--ln{border:1.5px solid #18181b;color:#18181b}.st .st-btn--ln:hover{background:#18181b;color:#fff}
.st-row{display:grid;grid-template-columns:1fr 9.5rem;gap:1.5rem;align-items:start;padding:1.6rem 0;border-top:1px solid #e4e4e7}
.st-side .st-row:first-of-type{margin-top:1.8rem}
.st-row__img{aspect-ratio:1}
.st-row--t{grid-template-columns:1fr}

/* Latest strip */
.st-latest{padding:3.5rem 0 4rem;border-top:1px solid #e4e4e7}
.st-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:2rem}
.st-h h2{font-size:clamp(2rem,3vw,2.6rem)}
.st-lts{display:grid;grid-template-columns:repeat(4,1fr);gap:1.75rem}
.st-lt{border-top:1px solid #d4d4d8;padding-top:1.4rem}
.st-lt h3{font-size:1.15rem}

/* guides + ideas */
.st-sec{padding-top:5rem;padding-bottom:1rem;scroll-margin-top:8rem}
.st-split{display:grid;grid-template-columns:1.25fr 1fr;gap:0}
.st-rows{padding-right:2.5rem}
.st-rows .st-row h3{font-size:1.55rem}
.st-col{padding-left:2.5rem;border-left:1px solid #e4e4e7;scroll-margin-top:8rem}
.st-colh{font-size:1.6rem!important;margin:0 0 .5rem!important}
.st-col .st-row{padding:1.3rem 0}

/* newsletter */
.st-news{margin-top:5rem;text-align:center;padding:4.5rem 0;border-top:1px solid #e4e4e7;border-bottom:1px solid #e4e4e7}
.st-news h2{font-size:clamp(2rem,3vw,2.6rem)}
.st-news p{margin-top:.6rem;color:#52525b}
.st-news__f{display:flex;max-width:46rem;margin:2rem auto 0;border:1px solid #a1a1aa;border-radius:999px;padding:.3rem}
.st-news__f input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:1rem;padding:0 1.2rem}
.st-news__f button{border:0;border-radius:999px;background:#000;color:#fff;font:inherit;font-weight:550;font-size:.95rem;padding:.8rem 1.6rem;cursor:pointer}
.st-news small{display:block;margin-top:1rem;color:#71717a;font-size:.85rem}

/* founder cards */
.st-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.st-card__img{aspect-ratio:4/3;margin-bottom:1.2rem}
.st-card__img img{object-position:50% 22%}
.st-sec:last-of-type{padding-bottom:6rem}

/* article */
.st-prog{position:fixed;left:0;right:0;top:4.5rem;height:3px;background:#18181b;transform:scaleX(0);transform-origin:0 50%;z-index:60}
.st-cta{background:#f4f4f2;overflow:hidden}
.st-cta__in{max-width:1440px;margin:0 auto;padding:2.6rem var(--m);display:grid;grid-template-columns:9rem 1fr 9rem;gap:2.5rem;align-items:center;text-align:center}
.st-cta h2{font-size:clamp(1.4rem,2vw,1.8rem);text-transform:uppercase;letter-spacing:-.01em;font-weight:500}
.st-cta p{margin-top:.5rem;color:#52525b;font-size:.95rem}
.st-cta__b{display:flex;gap:.8rem;justify-content:center;margin-top:1.2rem;flex-wrap:wrap}
.st-cta__a,.st-cta__b2{width:9rem;aspect-ratio:1;object-fit:cover;border-radius:.6rem}
.st-cta__a{transform:rotate(-4deg)}.st-cta__b2{transform:rotate(4deg)}
.st-ah{max-width:52rem;margin:0 auto;padding:3.5rem var(--m) 2.5rem;text-align:center}
.st-crumb{display:flex;justify-content:center;gap:.6rem;font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.st-crumb a:hover{text-decoration:underline}
.st-ah h1{margin-top:1.2rem;font-size:clamp(2.2rem,4vw,3.4rem);line-height:1.1}
.st-by{display:inline-flex;align-items:center;gap:.75rem;margin-top:1.6rem;text-align:left}
.st-by img{width:2.6rem;height:2.6rem;border-radius:50%;background:#f4f4f5;object-fit:contain;padding:.25rem}
.st-by span{font-size:.9rem;font-weight:550}.st-by small{display:block;font-weight:400;color:#71717a;font-size:.82rem}
.st-hero{max-width:calc(1440px - 2*var(--m));margin:0 auto;aspect-ratio:21/9;border-radius:.5rem;width:calc(100% - 2*var(--m))}
.st-art{max-width:1440px;margin:0 auto;padding:3.5rem var(--m) 5rem;display:grid;grid-template-columns:18rem minmax(0,44rem);gap:4rem;justify-content:center}
.st-toc{position:sticky;top:10rem;align-self:start}
.st-toc b{font-weight:500;font-size:1.1rem}
.st-toc nav{margin-top:1.2rem;display:grid;border-left:1px solid #e4e4e7}
.st-toc a{padding:.5rem 0 .5rem 1rem;font-size:.92rem;color:#52525b;margin-left:-1px;border-left:2px solid transparent}
.st-toc a:hover{color:#18181b}
.st-toc a.on{color:#18181b;font-weight:600;border-color:#18181b}
.st-body h2{margin-top:2.6rem;font-size:1.75rem;line-height:1.2;scroll-margin-top:9rem}
.st-body h2:first-child{margin-top:0}
.st-body p,.st-body li{font-size:1.08rem;line-height:1.7;color:#3f3f46}
.st-body p{margin-top:1rem}
.st-body ul,.st-body ol{margin-top:1rem;padding-left:1.3rem}
.st-body li{margin-top:.45rem}
.st-body blockquote{margin:2rem 0;padding-left:1.4rem;border-left:3px solid #18181b}
.st-body blockquote p{font-size:1.45rem;line-height:1.4;color:#18181b;font-weight:330;letter-spacing:-.01em}
.st-body cite{display:block;margin-top:.7rem;font-style:normal;font-size:.9rem;color:#71717a}
.st-tip{margin-top:1.4rem!important;background:#f4f4f2;border-radius:.5rem;padding:1rem 1.2rem}
.st-tip b{display:block;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;margin-bottom:.3rem;color:#18181b}
.st-end{margin-top:3.5rem;padding-top:2rem;border-top:1px solid #e4e4e7;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.st-end p{margin:0!important;font-size:1.3rem!important;color:#18181b!important}
.st-rel{background:#fff;padding:4rem 0 5rem}
.st-rel h2{font-size:clamp(1.8rem,2.6vw,2.3rem);margin-bottom:2rem}

@media (max-width:1023px){
  .st-top{grid-template-columns:1fr;gap:2.5rem}
  .st-lts{grid-template-columns:1fr 1fr}
  .st-split{grid-template-columns:1fr}.st-rows{padding-right:0}.st-col{padding-left:0;border-left:0;margin-top:3rem}
  .st-art{grid-template-columns:minmax(0,44rem)}.st-toc{display:none}
  .st-cta__in{grid-template-columns:1fr}.st-cta__a,.st-cta__b2{display:none}
}
@media (max-width:640px){
  .st-lts,.st-cards{grid-template-columns:1fr}
  .st-row{grid-template-columns:1fr 6.5rem}.st-rows .st-row h3{font-size:1.25rem}
  .st-hero{aspect-ratio:4/3}
  .st-pitch{padding:2.2rem 1.4rem}
  .st-end{flex-direction:column;align-items:flex-start}
}

/* white header like Shopify's blog (stays white with the menus open) */
body.pg-st .hd,body.pg-st .hd.solid,body.pg-st .hd.menu,body.pg-st .hd.menu.solid{background:#fff!important;color:#18181b;box-shadow:inset 0 -1px 0 #e4e4e7}
body.pg-st .hd .hd__logo--l,body.pg-st .hd.menu .hd__logo--l{display:none}
body.pg-st .hd .hd__logo--d,body.pg-st .hd.menu .hd__logo--d{display:block}
body.pg-st .hd .pill,body.pg-st .hd.menu .pill{background:#000;color:#fff}
body.pg-st .mm,body.pg-st .mp{background:#fff;color:#18181b;border-bottom:1px solid #e4e4e7;box-shadow:0 18px 30px -20px rgba(0,0,0,.18)}
body.pg-st .mm__side,body.pg-st .mp__side{background:#fafafa}
body.pg-st .mm__card span,body.pg-st .mm__mini span,body.pg-st .mp__new span{color:#71717a}
body.pg-st .mp__k,body.pg-st .mm__side p.k{color:#71717a}
body.pg-st .mp__col a,body.pg-st .mp__tl a{color:#18181b}
body.pg-st .mp__col a:hover{color:#71717a}
body.pg-st .hd.menu nav a:not(.on){opacity:.55}
body.pg-st .mp__feat,body.pg-st .mp__feat b,body.pg-st .mm__card b{color:#18181b}
body.pg-st .mp__feat span{color:#71717a}
body.pg-st .hd nav,body.pg-st .mm,body.pg-st .mp{display:none}
.st-hero img{object-position:50% 22%}
