:root{
  --bg:#f1dcc8; --band:#e6e3c5; --card:#f7e8d9; --ink:#2a2918; --muted:#5e5a3e; --line:#d6bfa2;
  --font:'Bricolage Grotesque','Helvetica Neue',Arial,sans-serif;
  --gutter:clamp(1.25rem,5vw,3rem);
  --space:clamp(2.5rem,6vw,5rem);
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth;scroll-padding-top:calc(env(safe-area-inset-top,0px) + 5rem)}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font:400 1.0625rem/1.65 var(--font)}
/* keeps the status-bar area solid on phones when the header sticks */
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--bg);z-index:30}
a{color:inherit}
img{max-width:100%;height:auto}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.container{width:100%;max-width:1200px;margin-inline:auto;padding-inline:var(--gutter)}
h1,h2,h3{margin:0}
p{margin:0 0 1rem}
.muted{color:var(--muted)}

/* buttons */
.btn{display:inline-block;background:var(--ink);color:var(--bg);font-weight:700;text-decoration:none;padding:.85rem 1.5rem;border-radius:999px;transition:transform .15s,opacity .15s}
.btn:hover{transform:translateY(-2px);opacity:.9}
.btn-sm{padding:.55rem 1.1rem;font-size:.95rem}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.btn-light{background:var(--bg);color:var(--ink)}

/* sticky header */
.site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;background:var(--bg);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:space-between;padding-block:.9rem}
.mark{font-weight:800;text-decoration:none;font-size:1.1rem}
.site-header nav{display:flex;align-items:center;gap:1.75rem}
.site-header nav a:not(.btn){text-decoration:none;color:var(--muted);font-size:.95rem}
.site-header nav a:not(.btn):hover{color:var(--ink)}

/* hero */
.hero{background:url("hero-network.svg") right center / cover no-repeat;padding-block:clamp(3rem,8vw,6rem);min-height:60svh;display:flex;align-items:center}
.hero-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:clamp(2rem,5vw,4rem);align-items:center}
h1{font-weight:800;font-size:clamp(2.3rem,5.5vw,4.75rem);line-height:1.03;letter-spacing:-.035em;margin-bottom:1.5rem}
.lede{font-size:clamp(1.1rem,1.8vw,1.35rem);color:var(--muted);max-width:38rem;margin-bottom:2rem}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem}
.hero-book{margin:0;justify-self:center;text-align:center}
.hero-book img{width:min(100%,260px);border-radius:8px;box-shadow:0 24px 40px -20px rgba(42,41,24,.55);transform:rotate(2deg)}
.hero-book figcaption{margin-top:1.1rem;font-size:.95rem;color:var(--muted)}
.hero-book strong{color:var(--ink)}

/* sections */
.section{padding-block:var(--space)}
.section.tight{padding-block:0 var(--space)}
h2{font-weight:800;font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-.02em;line-height:1.15;margin-bottom:1.5rem}
h3{font-size:1.15rem;margin-bottom:.4rem}
.section-intro{max-width:40rem;margin-top:-.75rem;margin-bottom:1.5rem}

/* results */
.section-head{display:grid;grid-template-columns:1fr 1fr;gap:1rem 3rem;align-items:start;margin-bottom:2rem}
.section-head h2,.section-head p{margin:0}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem}
.stat-card{background:var(--band);border-radius:16px;padding:1.5rem}
.stat-top{height:3.5rem;display:flex;align-items:center}
.stat-card strong{font-size:clamp(2.4rem,4.5vw,3.25rem);line-height:1;font-weight:800;letter-spacing:-.03em}
.stat-card span{display:block;margin-top:.5rem;color:var(--muted);font-size:.95rem}
.nyt-logo{height:2rem;width:auto}
.quote-card{margin:0;display:flex;align-items:center;gap:1.5rem;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.5rem 2rem}
.avatar{width:72px;height:72px;flex:none;border-radius:50%;object-fit:cover;object-position:center 20%}
blockquote{margin:0;font-size:clamp(1.1rem,2vw,1.4rem);line-height:1.4}
blockquote cite{display:block;margin-top:.5rem;font-size:.9rem;font-style:normal;color:var(--muted)}

/* card grids */
.cards{list-style:none;margin:0;padding:0;display:grid;gap:1rem}
.cols-2{grid-template-columns:repeat(2,1fr)}
.cols-3{grid-template-columns:repeat(3,1fr);counter-reset:step}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.5rem}
.card p{margin:0;color:var(--muted)}
.cols-3 .card{counter-increment:step}
.cols-3 .card::before{content:counter(step);display:grid;place-items:center;width:2rem;height:2rem;margin-bottom:1rem;border-radius:50%;background:var(--ink);color:var(--bg);font-weight:800;font-size:.95rem}

.footnote{margin:1rem 0 0;font-size:.85rem;color:var(--muted)}

/* closing call to action */
.cta{background:var(--ink);color:var(--bg);padding-block:var(--space);text-align:center}
.cta h2{margin-bottom:1rem}
.cta p{max-width:34rem;margin:0 auto 2rem;opacity:.85}

/* footer */
.site-footer{background:var(--ink);color:var(--bg);border-top:1px solid rgba(241,220,200,.2);padding-block:1.5rem;font-size:.9rem;opacity:.95}

@media (max-width:820px){
  .hero-grid,.section-head{grid-template-columns:1fr}
  .hero-book{justify-self:start;text-align:left}
  .hero-book img{width:160px}
  .stats,.cols-3{grid-template-columns:1fr}
  .site-header nav a:not(.btn){display:none}
}
@media (max-width:620px){
  .cols-2{grid-template-columns:1fr}
  .quote-card{flex-direction:column;align-items:flex-start}
}
