@font-face { font-family: Roobert; src: url(roobert-regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Roobert; src: url(roobert-semibold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Roobert; src: url(roobert-bold.woff2) format('woff2'); font-weight: 700 800; font-display: swap; }
:root { --ink: #151518; --ink-2: #48425f; --green: #496200; --lime: #d4f564; --cream: #f5ebdd; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--cream); }
body { background: var(--cream); color: var(--ink); font-family: Roobert, system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.space { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 40px 20px; text-align: center; color: var(--ink-2); font-size: 16px; background: #efe4d3; }
.space a { color: var(--green); font-weight: 600; }

/* plain list: no script, reduced motion, or a screen too small for the pinned version */
#pains { position: relative; background: radial-gradient(120% 90% at 30% 70%, #f8efe2 0%, var(--cream) 55%, #efe2cf 100%); }
.stage { position: relative; max-width: 1180px; margin: 0 auto; padding: 72px 20px 80px; }
.intro h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.intro h2 em { font-style: normal; color: var(--green); }
.intro__sub { margin-top: 10px; font-size: clamp(15px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.35; }
.cases { list-style: none; margin-top: 40px; display: grid; gap: 40px; max-width: 760px; }
.case__problem { font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.case__founder { margin-top: 10px; font-size: clamp(15px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.4; }
.case__founder::before { content: '\201C'; } .case__founder::after { content: '\201D'; }
.case__fix { margin-top: 10px; font-size: clamp(21px, 2.2vw, 32px); font-weight: 700; color: var(--green); letter-spacing: -.02em; line-height: 1.15; max-width: 640px; }
.still-pirate { display: block; width: min(70vw, 360px); height: auto; margin: 40px auto 0; }
@media (min-width: 900px) {
  .stage { display: grid; grid-template-columns: 1fr 360px; column-gap: 48px; }
  .intro, .cases { grid-column: 1; }
  .still-pirate { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 40px; width: 100%; margin: 0; }
}

/* the pinned, scroll-scrubbed version (html.scrub, set by slash.js) */
html.scrub .stage { position: sticky; top: 0; max-width: none; margin: 0; padding: 0; height: 100vh; overflow: hidden; display: block; }
html.scrub .intro { position: absolute; z-index: 5; }
html.scrub .cases { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
html.scrub .still-pirate { display: none; }
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx .abs { position: absolute; }
.fx .pir { z-index: 1; }
.fx .pose { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.fx .shadow { z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(60,40,20,.26), rgba(60,40,20,0)); }
.fx .grp { z-index: 3; }
.fx .problem { font-weight: 800; letter-spacing: -.045em; line-height: .96; color: var(--ink); }
.fx .spent { color: transparent; -webkit-text-stroke: 2px rgba(21,21,24,.42); }
.fx .founder { color: var(--ink-2); line-height: 1.4; }
.fx .founder::before { content: '\201C'; } .fx .founder::after { content: '\201D'; }
.fx .fix { color: var(--green); font-weight: 700; letter-spacing: -.02em; line-height: 1.14; }
.fx .mark { height: 5px; border-radius: 3px; background: var(--lime); transform-origin: 0 50%; }
.fx svg.blade { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 4; }
.fx .dots { z-index: 5; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.fx .dots i { display: block; width: 9px; height: 9px; border-radius: 5px; background: #d9ccb8; overflow: hidden; position: relative; }
.fx .dots i.on { width: 34px; background: #cfc2a8; }
.fx .dots i.done { background: var(--green); }
.fx .dots i b { position: absolute; inset: 0; background: var(--green); transform-origin: 0 50%; }
@media (max-width: 767px) {
  .fx .spent { -webkit-text-stroke: 1.3px rgba(21,21,24,.45); }
  .fx .dots { gap: 8px; }
  .fx .dots i { width: 7px; height: 7px; }
  .fx .dots i.on { width: 24px; }
}
