/* She Who Becomes · page styles for the three swb pages (load after site.css)
   the spine: one thin hand line that swb.js draws down the page with scroll.
   sections (.stop) sit along it; on the landing they step inward toward the coil above "two ways to enter";
   on the journey page the line makes twelve turns.
   without JS (or before swb.js runs) each .stop shows a static hairline and the coil zone shows the drawn coil mark. */

.swb{--rail:0px;--inset:0px;--line:var(--swb-dusk)}
body.swb{position:relative}

/* ---------- big single sentences (her own standalone lines, never reworded) ---------- */
/* refs (jenani): a statement is texture, 6-8vw, tight leading, air around it */
.say{font:400 clamp(2.4rem,.9rem + 5.4vw,7rem)/1.01 var(--display);letter-spacing:-.02em;text-wrap:balance;max-width:16ch}
.say em{font-style:italic}
.say--r{margin-left:auto;text-align:right}
.say--wide{max-width:20ch}
.swb-sub{font:italic 400 var(--fs-lede)/1.4 var(--serif);color:var(--accent);max-width:30ch}
.swb-h1{font:400 clamp(2.9rem,1.3rem + 5.6vw,7rem)/.98 var(--display);letter-spacing:-.014em;text-wrap:balance}

/* a short run of standalone lines, read one by one */
.lines{display:grid;gap:clamp(.9rem,.5rem + 1.4vw,1.75rem);border-top:1px solid var(--rule);padding-top:clamp(1.5rem,1rem + 2vw,3rem)}
.lines p{font:400 clamp(1.6rem,1.1rem + 1.9vw,2.9rem)/1.12 var(--display);letter-spacing:-.005em;text-wrap:balance;max-width:24ch}
.lines p:nth-child(even){padding-left:clamp(0rem,6vw,7rem)}

/* ---------- the stops along the spine ---------- */
.stop{position:relative}
@media(min-width:900px){
  .swb{--rail:clamp(4.5rem,7.5vw,8rem);--inset:clamp(0rem,2.6vw,3rem)}
  .stop{margin-inline:calc(var(--step,0) * var(--inset))}
  .stop[data-side="l"]{padding-left:var(--rail)}
  .stop[data-side="r"]{padding-right:var(--rail)}
}
/* static stand-in for the line (no JS, or before it is built) */
.stop::before{content:"";position:absolute;top:.4rem;bottom:.4rem;left:calc(var(--gutter) * -.5);width:1px;background:var(--line);opacity:.5}
@media(min-width:900px){
  .stop[data-side="l"]::before{left:calc(var(--rail) / 2)}
  .stop[data-side="r"]::before{left:auto;right:calc(var(--rail) / 2)}
}
.spine-on .stop::before{display:none}

/* the drawn line itself (built by swb.js) */
.spine{position:absolute;top:0;left:0;width:100%;height:0;overflow:hidden;pointer-events:none;z-index:-1}
.spine svg{display:block;overflow:visible}
.spine__line{fill:none;stroke:var(--line);stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.spine__tip{fill:var(--line);opacity:0;transition:opacity .4s var(--ease)}
.spine__tip.on{opacity:.9}

/* where the line winds into the coil (landing, above the two ways) */
.coilzone{display:grid;place-items:center;height:clamp(13rem,9rem + 16vw,22rem);margin-bottom:var(--sp-5)}
.coilzone .coil{width:clamp(9rem,6.5rem + 11.5vw,15.5rem);height:auto;aspect-ratio:46/56;stroke-width:.22;transform:rotate(180deg)}
.spine-on .coilzone .coil{visibility:hidden}

/* ---------- landing hero: one big sentence over one big image ---------- */
.swb-hero{display:grid;gap:clamp(1.5rem,1rem + 2vw,2.75rem);padding-top:clamp(2.5rem,1rem + 6vw,6rem)}
.swb-hero__kicker{display:grid;gap:var(--sp-2)}
.swb-hero__title{font-size:clamp(3rem,1.2rem + 6.4vw,8rem);line-height:.93;letter-spacing:-.022em;max-width:15.5ch}
.swb .links{column-gap:var(--sp-2)}
.swb-hero__fig img{aspect-ratio:4/5}
@media(min-width:900px){
  .swb-hero{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(1rem,2.4vw,2.5rem);row-gap:0}
  .swb-hero__kicker{grid-column:1/7;margin-bottom:var(--sp-5)}
  .swb-hero__title{grid-column:1/12;grid-row:2;margin-bottom:var(--sp-6)}
  .swb-hero__text{grid-column:1/6;grid-row:3;align-self:end;padding-bottom:var(--sp-2)}
  .swb-hero__fig{grid-column:6/13;grid-row:3}
}
/* prose in a grid cell keeps its own rhythm instead of stretching to the row */
.swb .grid>.prose{align-content:start}
/* grid helpers the shared set lacks */
@media(min-width:900px){.c-1-12{grid-column:1/13}.c-1-4{grid-column:1/5}}
.swb-hero .links{margin-top:var(--sp-2)}

/* offer-page hero: title over a big image */
.offer-hero{display:grid;gap:var(--sp-4);padding-top:clamp(1.5rem,1rem + 3vw,4rem)}
.offer-hero__head{display:grid;gap:var(--sp-3)}
.offer-hero__fig{margin-top:var(--sp-3)}
@media(min-width:900px){
  .offer-hero{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(1rem,2.4vw,2.5rem);align-items:end}
  .offer-hero__head{grid-column:1/8;padding-bottom:var(--sp-4)}
  .offer-hero__fig{grid-column:8/13;margin-top:0}
}
.offer-hero--wide .offer-hero__head{grid-column:1/13}
.offer-hero--wide .offer-hero__fig{grid-column:1/13;margin-top:var(--sp-4)}

/* figures framed by air */
.swb .fig figcaption{color:var(--ink-2)}
.drift{margin-top:clamp(0rem,6vw,6rem)}

/* ---------- two ways in: a little more room than the shared component ---------- */
.swb .ways{border-top:1px solid var(--fg);padding-top:clamp(2rem,1.5rem + 2vw,3.5rem)}
.way__fig{margin-bottom:var(--sp-2)}
.way__fig img{aspect-ratio:4/3;object-position:50% 60%}
@media(min-width:820px){.way__fig img{aspect-ratio:7/8}}
.swb .way__title{font-size:clamp(1.85rem,1.4rem + 1.7vw,3rem)}

/* ---------- closing note with its own small coil ---------- */
.swb-close{display:grid;gap:var(--sp-4);justify-items:start}
.swb-close .coil{width:2.75rem;height:auto;aspect-ratio:46/56}

/* the details block on swb pages sits at the same width as the prose */
.swb .details .btn{min-width:14rem}
.announce p{max-width:none}
.swb .coil--lg{stroke-width:.5}

/* hero entrance (refs, veritas): the title rises, the photo opens from the bottom edge; once, on load, JS-gated */
@media(prefers-reduced-motion:no-preference){
  .js .swb-hero__title,.js .offer-hero__head{animation:swb-rise .9s cubic-bezier(.22,1,.36,1) .1s both}
  .js .swb-hero__fig img,.js .offer-hero__fig img{animation:swb-open 1.1s cubic-bezier(.22,1,.36,1) .1s both}
}
@keyframes swb-rise{from{opacity:0;transform:translateY(.45em)}}
@keyframes swb-open{from{opacity:0;clip-path:inset(100% 0 0 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
