/* Saadfolio original art-book edition | bespoke next-founder leaf.
   Scoped completely under #sf-next-founder-chapter so the static export's
   preloader, original React experience and Tailwind styles remain untouched. */
#sf-next-founder-chapter, #sf-next-founder-chapter * { box-sizing:border-box; }
#sf-next-founder-chapter {
  --sf-paper:#faf8f5;
  --sf-ink:#121212;
  --sf-cobalt:#0057ff;
  --sf-acid:#ccff00;
  --sf-sky:#d8eaff;
  position:relative;
  isolation:isolate;
  display:block;
  margin:clamp(28px,5vw,60px) 0 clamp(35px,5vw,62px);
  width:100%;
  color:var(--sf-ink);
  background:var(--sf-paper);
  font-family:var(--font-plus-jakarta-sans,"Plus Jakarta Sans",Arial,sans-serif);
  border:2px solid var(--sf-ink);
  border-radius:24px;
  box-shadow:7px 7px 0 var(--sf-ink);
  overflow:visible;
}
#sf-next-founder-chapter .sfNextBinding {
  position:absolute;
  top:-12px;
  left:clamp(20px,5vw,65px);
  z-index:3;
  width:100px;
  height:24px;
  background:rgba(255,245,202,.94);
  border:1px solid rgba(25,25,25,.2);
  box-shadow:1px 1px 2px #16161618;
  transform:rotate(-5deg);
  clip-path:polygon(0 12%,6% 0,14% 12%,22% 0,30% 12%,38% 0,46% 12%,54% 0,62% 12%,70% 0,78% 12%,86% 0,94% 12%,100% 0,100% 88%,94% 100%,86% 88%,78% 100%,70% 88%,62% 100%,54% 88%,46% 100%,38% 88%,30% 100%,22% 88%,14% 100%,6% 88%,0 100%);
}
#sf-next-founder-chapter .sfNextTop {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px 24px;
  padding:17px clamp(21px,4.5vw,47px);
  border-bottom:2px solid var(--sf-ink);
  background:#fffdf8;
  border-radius:22px 22px 0 0;
  font-family:var(--font-jetbrains-mono,"JetBrains Mono",monospace);
  font-weight:800;
  font-size:10px;
  letter-spacing:.105em;
  line-height:1.5;
}
#sf-next-founder-chapter .sfNextTop strong{
  display:flex;align-items:center;gap:10px;white-space:nowrap;
}
#sf-next-founder-chapter .sfNextTop strong::before {
  content:"";width:10px;height:10px;border:1px solid #111;
  border-radius:50%;background:var(--sf-acid);
}
#sf-next-founder-chapter .sfNextIssue {color:#383838;}
#sf-next-founder-chapter .sfNextSpread {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(245px,.95fr);
  gap:clamp(25px,4vw,45px);
  padding:clamp(23px,4vw,46px);
  background-image:radial-gradient(#0000000d .8px,transparent .8px);
  background-size:24px 24px;
}
#sf-next-founder-chapter .sfNextStory{
  display:flex;
  flex-direction:column;
  min-width:0;
  align-items:flex-start;
  justify-content:center;
}
#sf-next-founder-chapter .sfNextEyebrow {
  display:flex;align-items:center;gap:13px;
  margin:0 0 14px;
  font:800 10px/1.4 var(--font-jetbrains-mono,"JetBrains Mono",monospace);
  letter-spacing:.12em;text-transform:uppercase;
}
#sf-next-founder-chapter .sfNextEyebrow b{
  display:inline-flex;align-items:center;justify-content:center;
  width:41px;height:31px;transform:rotate(-7deg);
  background:var(--sf-acid);border:1.5px solid #121212;border-radius:6px;
  font-size:12px;letter-spacing:0;
}
#sf-next-founder-chapter .sfNextTitle {
  margin:0!important;padding:0!important;
  color:var(--sf-ink)!important;
  font:900 clamp(42px,5.25vw,75px)/.98 var(--font-plus-jakarta-sans,Arial,sans-serif)!important;
  letter-spacing:-.085em!important;
}
#sf-next-founder-chapter .sfNextTitle em {
  display:inline;
  color:var(--sf-cobalt)!important;
  font:400 1.07em/.9 var(--font-playfair-display,Georgia,serif)!important;
  font-style:italic!important;
  letter-spacing:-.06em!important;
}
#sf-next-founder-chapter .sfNextRule {
  width:clamp(85px,30%,162px);
  height:5px;background:var(--sf-acid);
  border:1px solid #111;transform:rotate(-2deg);
  margin:19px 0 23px;
}
#sf-next-founder-chapter .sfNextName {
  margin:0 0 9px!important;
  padding:0!important;
  font:850 clamp(25px,2.7vw,39px)/1.08 var(--font-plus-jakarta-sans,Arial,sans-serif)!important;
  letter-spacing:-.055em!important;
  color:var(--sf-ink)!important;
}
#sf-next-founder-chapter .sfNextDescription {
  max-width:340px;
  margin:0 0 23px;
  color:#3d3d3d;
  font:500 clamp(13px,1.05vw,16px)/1.62 var(--font-plus-jakarta-sans,Arial,sans-serif);
}
#sf-next-founder-chapter .sfNextPrimary {
  display:inline-flex;align-items:center;justify-content:space-between;
  gap:19px;min-height:53px;
  max-width:100%;padding:14px 18px;
  color:#fff!important;background:var(--sf-cobalt);
  border:2px solid var(--sf-ink);border-radius:9px;
  box-shadow:4px 4px 0 var(--sf-ink);
  text-decoration:none!important;
  font:850 clamp(11px,1vw,13px)/1.35 var(--font-plus-jakarta-sans,Arial,sans-serif);
  transition:transform .2s,box-shadow .2s;
}
#sf-next-founder-chapter .sfNextPrimary:hover,
#sf-next-founder-chapter .sfNextPrimary:focus-visible{
  transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--sf-ink);
}
#sf-next-founder-chapter .sfNextPrimary span:last-child {
  font-size:21px;font-weight:400;line-height:1;
}
#sf-next-founder-chapter .sfNextVisual {
  position:relative;
  display:block;align-self:stretch;min-width:0;
  padding:12px;
  border:2px solid #171717;border-radius:18px;
  background:var(--sf-sky);
  box-shadow:6px 6px 0 var(--sf-ink);
  text-decoration:none!important;color:var(--sf-ink)!important;
  transform:rotate(1.1deg);
  transition:transform .25s;
}
#sf-next-founder-chapter .sfNextVisual:hover {
  transform:rotate(0deg) translateY(-4px);
}
#sf-next-founder-chapter .sfNextPhoto {
  display:block;
  width:100%!important;
  height:clamp(245px,25vw,315px)!important;
  min-height:0!important;max-height:none!important;
  object-fit:cover!important;
  object-position:center 38%!important;
  border:1px solid #141414;border-radius:10px;
  background:#b9cfe1;
}
#sf-next-founder-chapter .sfNextPhotoLabel {
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin:12px 5px 4px;
  font:850 10px/1.35 var(--font-jetbrains-mono,"JetBrains Mono",monospace);
  letter-spacing:.08em;text-transform:uppercase;
}
#sf-next-founder-chapter .sfNextPhotoLabel b {
  font-size:20px;color:var(--sf-cobalt);
}
#sf-next-founder-chapter .sfNextStamp {
  position:absolute;z-index:2;
  top:-18px;right:-16px;
  display:grid;place-items:center;
  width:67px;height:67px;
  background:var(--sf-acid);
  color:#111;border:2px dashed #111;border-radius:50%;
  font:900 11px/1.2 var(--font-jetbrains-mono,monospace);
  text-align:center;letter-spacing:.04em;
  transform:rotate(13deg);
  pointer-events:none;
}
#sf-next-founder-chapter .sfNextBottom {
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px 20px;
  padding:17px clamp(21px,4.5vw,47px);
  border-top:2px solid #121212;
  border-radius:0 0 22px 22px;
  background:#f4f0e9;
  font:750 11px/1.5 var(--font-jetbrains-mono,monospace);
  letter-spacing:.015em;
}
#sf-next-founder-chapter .sfNextBottom a {
  text-decoration:none!important;color:#121212!important;
}
#sf-next-founder-chapter .sfNextBottom a:hover {
  text-decoration:underline!important;text-underline-offset:4px;
  color:var(--sf-cobalt)!important;
}
#sf-next-founder-chapter a:focus-visible{
  outline:3px solid var(--sf-cobalt);outline-offset:4px;
}
@media(max-width:720px){
  #sf-next-founder-chapter {
    margin:25px 0 40px;border-radius:18px;box-shadow:5px 5px 0 #121212;
  }
  #sf-next-founder-chapter .sfNextTop {
    flex-wrap:wrap;padding:13px 18px;gap:3px 12px;
    font-size:9px;border-radius:16px 16px 0 0;
  }
  #sf-next-founder-chapter .sfNextSpread {
    grid-template-columns:1fr;gap:27px;
    padding:26px 21px 29px;
  }
  #sf-next-founder-chapter .sfNextTitle{font-size:clamp(43px,12vw,65px)!important;}
  #sf-next-founder-chapter .sfNextName{font-size:clamp(27px,7vw,36px)!important;}
  #sf-next-founder-chapter .sfNextPrimary {
    width:100%;justify-content:space-between;min-height:54px;
  }
  #sf-next-founder-chapter .sfNextDescription{max-width:none;font-size:14px;}
  #sf-next-founder-chapter .sfNextVisual {
    width:calc(100% - 8px);max-width:460px;
    margin:0 auto;transform:rotate(-.5deg);
  }
  #sf-next-founder-chapter .sfNextPhoto{
    height:clamp(210px,70vw,320px)!important;
  }
  #sf-next-founder-chapter .sfNextStamp{
    width:56px;height:56px;top:-13px;right:-13px;font-size:9px;
  }
  #sf-next-founder-chapter .sfNextBottom{
    padding:14px 18px;font-size:10px;border-radius:0 0 16px 16px;
  }
}
@media(prefers-reduced-motion:reduce){
  #sf-next-founder-chapter .sfNextPrimary,
  #sf-next-founder-chapter .sfNextVisual{transition:none}
}
