:root{
  --bg:#F8F8F0;
  --bg2:#E6E6E6;
  --panel:#F8F8F0;
  --line:rgba(60,60,60,0.16);
  --line-strong:rgba(60,60,60,0.28);
  --text:#3C3C3C;
  --muted:#777777;
  --soft:#5C5C5C;
  --accent:#3C3C3C;
  --accent2:#AFAFAF;
  --radius:24px;
  --shadow:0 18px 50px rgba(60,60,60,.10);
  --content:1200px;
  --ease:420ms cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",system-ui,sans-serif;
  color:var(--text);
  background:
    linear-gradient(180deg, #F8F8F0 0%, #E6E6E6 50%, #F8F8F0 100%);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{display:block;width:100%;height:100%;object-fit:cover}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(1.5rem,2vw,1.9rem);font-weight:800}
h2{font-size:clamp(2.15rem,4.4vw,4.8rem);line-height:.97;letter-spacing:-.05em;max-width:28ch}
h3{font-size:1.25rem}
a{text-decoration:none;color:inherit}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 24px;
  background:rgba(248,248,240,.88);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(60,60,60,.08);
}
.actions{display:flex;gap:12px;align-items:center}
.primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:12px 18px;
  font-weight:800;
  font-size:.95rem;
  transition:transform .18s ease, opacity .18s ease;
  background:#3C3C3C;
  color:#F8F8F0;
  border:1px solid #3C3C3C;
}
.primary:hover{transform:translateY(-1px)}
.primary.disabled{opacity:.55;cursor:not-allowed}

.progress-wrap{
  position:fixed;
  right:20px;
  top:120px;
  z-index:15;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.progress-line{
  width:4px;
  height:180px;
  background:rgba(60,60,60,.12);
  border-radius:999px;
  overflow:hidden;
}
.progress-line span{
  display:block;
  width:100%;
  height:12%;
  border-radius:inherit;
  background:linear-gradient(180deg,#3C3C3C,#AFAFAF);
  transition:height var(--ease);
}
.progress-count{
  display:flex;
  gap:4px;
  color:var(--soft);
  font-weight:800;
}

.panel{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:32px 24px 64px;
}
.inner{
  width:min(100%,var(--content));
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:36px;
  align-items:center;
}
.hero-inner,.end-inner{
  grid-template-columns:1fr;
  max-width:980px;
}
.copy{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.section-kicker{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#5F5F5F;
  font-weight:800;
}
.meta,.lede,.copy p,.download-card p{
  color:var(--soft);
  line-height:1.58;
  font-size:clamp(1rem,1.15vw,1.08rem);
  max-width:68ch;
}
.callouts{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}
.callouts span{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line-strong);
  background:#E6E6E6;
  color:#3C3C3C;
  font-size:.9rem;
  font-weight:600;
}

.media-grid{
  min-height:430px;
  display:grid;
  gap:14px;
}
.grid-a{grid-template-columns:1.15fr 1fr;grid-template-rows:1fr 1fr}
.grid-a .tall{grid-row:1 / span 2}
.grid-a .wide{grid-column:2}
.grid-b{grid-template-columns:1fr 1fr 1.05fr;grid-template-rows:.92fr 1.08fr}
.grid-b .wide{grid-column:1 / span 2}
.grid-b .tall{grid-column:3;grid-row:1 / span 2}
.grid-c{grid-template-columns:.95fr 1.15fr;grid-template-rows:.8fr 1fr .8fr}
.grid-c .wide{grid-column:2;grid-row:1 / span 2}
.grid-c .tall{grid-column:2;grid-row:3}

.media{
  min-height:120px;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:#E6E6E6;
  box-shadow:var(--shadow);
}

.chapter .copy,.chapter .media-grid,.hero .inner,.end .inner{
  opacity:.48;
  transform:translateY(18px);
  transition:opacity var(--ease), transform var(--ease);
}
.chapter.active .copy,.chapter.active .media-grid,.hero.active .inner,.end.active .inner{
  opacity:1;
  transform:translateY(0);
}

.download-card{
  margin-top:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px;
  border:1px solid var(--line-strong);
  border-radius:24px;
  background:#E6E6E6;
  box-shadow:var(--shadow);
}

@media (max-width:1024px){
  .inner{grid-template-columns:1fr}
  .media-grid{min-height:360px}
}
@media (max-width:720px){
  .topbar{
    padding:14px 16px;
  }
  .panel{padding:24px 16px 48px}
  .progress-wrap{display:none}
  .download-card{flex-direction:column;align-items:flex-start}
  .media-grid{min-height:300px;gap:10px}
}
