/* samkaufmanofficial.com — graphite + chalk-line */
@font-face{font-family:"Archivo";src:url(/fonts/archivo-var.woff2) format("woff2-variations");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:"Source Serif";src:url(/fonts/source-serif-var.woff2) format("woff2-variations");font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif";src:url(/fonts/source-serif-var-italic.woff2) format("woff2-variations");font-weight:200 900;font-style:italic;font-display:swap}

:root{
  --slab:#16191c;        /* page */
  --slab-2:#1f2327;      /* raised */
  --rule:#30363c;        /* lines */
  --concrete:#bdb8af;    /* body text */
  --chalk:#efece6;       /* headings */
  --line:#5aa9f0;        /* chalk-line blue: links + the line */
  --line-dim:#3b6f9e;
  --sans:"Archivo",system-ui,sans-serif;
  --serif:"Source Serif",Georgia,serif;
  --wrap:1180px;
  --measure:66ch;
}
*{box-sizing:border-box}
html{background:var(--slab);color:var(--concrete);-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--serif);font-size:1.125rem;line-height:1.65;font-optical-sizing:auto}
img{max-width:100%;height:auto;display:block}
a{color:var(--line);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--chalk)}
:focus-visible{outline:2px solid var(--line);outline-offset:3px;border-radius:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--line);color:var(--slab);padding:.5rem 1rem;font-family:var(--sans)}
.skip:focus{left:1rem;top:1rem;z-index:10}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1.5rem}

/* type */
h1,h2,h3,.display{font-family:var(--sans);color:var(--chalk);line-height:1.05;margin:0 0 .5em;font-weight:780;font-stretch:118%;letter-spacing:-.01em}
h1{font-size:clamp(2.4rem,6vw,4.6rem)}
h2{font-size:clamp(1.7rem,3.2vw,2.4rem)}
h3{font-size:1.3rem;font-stretch:108%;line-height:1.2}
p{margin:0 0 1.1em}
.lede{font-size:1.3rem;line-height:1.55;color:var(--chalk);max-width:40ch}
.sans{font-family:var(--sans)}
.small{font-family:var(--sans);font-size:.875rem;color:#8f8a82;font-stretch:100%}

/* header */
.site-head{border-bottom:1px solid var(--rule)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:72px;flex-wrap:wrap}
.brand{font-family:var(--sans);font-weight:800;font-stretch:125%;color:var(--chalk);text-decoration:none;font-size:1.15rem;letter-spacing:-.01em}
.nav{display:flex;gap:1.4rem;flex-wrap:wrap;font-family:var(--sans);font-size:.95rem;font-stretch:100%}
.nav a{color:var(--concrete);text-decoration:none;padding:.25rem 0}
.nav a:hover,.nav a[aria-current=page]{color:var(--chalk);box-shadow:inset 0 -2px 0 var(--line)}

/* chalk line: the one signature element */
.chalk{display:block;width:100%;height:18px;margin:1.6rem 0 2rem;overflow:visible}
.chalk path{fill:none;stroke:var(--line);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:1400;stroke-dashoffset:0}
.chalk .dust{stroke:var(--line);opacity:.25;stroke-width:6}
@media (prefers-reduced-motion:no-preference){
  .hero .chalk path{stroke-dashoffset:1400;animation:snap 1.1s cubic-bezier(.7,0,.2,1) .35s forwards}
}
@keyframes snap{to{stroke-dashoffset:0}}

/* hero */
.hero{padding:4.5rem 0 4rem;border-bottom:1px solid var(--rule)}
.hero .wrap{display:grid;grid-template-columns:1.25fr .75fr;gap:3.5rem;align-items:end}
.hero h1{font-size:clamp(2.8rem,7.2vw,6.2rem);font-stretch:125%;font-weight:820;line-height:.95;max-width:11ch}
.hero figure{margin:0}
.hero figure img{border-radius:3px;aspect-ratio:4/5;object-fit:cover;object-position:50% 30%;width:100%}
.hero figcaption{margin-top:.6rem}
.cta-row{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.8rem}
.btn{font-family:var(--sans);font-weight:650;font-stretch:105%;display:inline-block;padding:.85rem 1.3rem;border:1.5px solid var(--line);color:var(--chalk);text-decoration:none;border-radius:3px;font-size:1rem}
.btn.primary{background:var(--line);color:#0d1620}
.btn:hover{background:var(--chalk);border-color:var(--chalk);color:var(--slab)}

/* scoreboard: three KPIs as a ruled ledger */
.ledger{padding:4rem 0;border-bottom:1px solid var(--rule)}
.ledger-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:2px solid var(--chalk);margin-top:2rem}
.ledger-grid > div{padding:1.4rem 1.6rem 0 0;border-right:1px solid var(--rule)}
.ledger-grid > div + div{padding-left:1.6rem}
.ledger-grid > div:last-child{border-right:0}
.ledger-grid h3{font-size:1.6rem;font-stretch:122%;margin-bottom:.4em}
.ledger-grid p{font-size:1.02rem;margin:0}
.ledger-grid.two{grid-template-columns:1fr 1fr}
.ledger-grid.two p{max-width:46ch}

/* sections */
.section{padding:4.5rem 0;border-bottom:1px solid var(--rule)}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}
.section-head p{margin:0;max-width:52ch}
.split{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:start}

/* tenets: quotes pulled from Sam's own posts */
.tenets{list-style:none;margin:0;padding:0;display:grid;gap:0}
.tenets li{padding:1.5rem 0;border-top:1px solid var(--rule);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:2rem}
.tenets li:last-child{border-bottom:1px solid var(--rule)}
.tenets strong{font-family:var(--sans);color:var(--chalk);font-size:1.25rem;font-stretch:112%;font-weight:720;line-height:1.2}
.tenets p{margin:0}

/* article lists */
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem}
.pillar h3 a{color:var(--chalk);text-decoration:none}
.pillar h3 a:hover{color:var(--line)}
.pillar .kicker{font-family:var(--sans);font-size:.9rem;color:var(--line);font-stretch:100%;margin-bottom:.5rem;display:block}
.post-list{list-style:none;padding:0;margin:0}
.post-list li{border-top:1px solid var(--rule);padding:1.6rem 0}
.post-list li:last-child{border-bottom:1px solid var(--rule)}
.post-list h3{margin-bottom:.35em}
.post-list h3 a{color:var(--chalk);text-decoration:none}
.post-list h3 a:hover{color:var(--line)}
.post-list p{margin:0;max-width:var(--measure)}

/* plain link lists (press, podcast) */
.links{list-style:none;padding:0;margin:0;columns:2;column-gap:3rem}
.links li{break-inside:avoid;padding:.9rem 0;border-top:1px solid var(--rule)}
.links .src{display:block;font-family:var(--sans);font-size:.85rem;color:#8f8a82;font-stretch:100%}
.links a{color:var(--chalk);text-decoration:none;font-family:var(--sans);font-weight:600;font-stretch:104%}
.links a:hover{color:var(--line)}

/* page header + prose */
.page-head{padding:4rem 0 2.5rem}
.page-head .chalk{margin:1.4rem 0 0;max-width:420px}
.prose{max-width:var(--measure)}
.prose h2{font-size:1.8rem;margin-top:2.2em}
.prose h3{margin-top:1.8em}
.prose blockquote{margin:2rem 0;padding:0 0 0 1.4rem;border-left:3px solid var(--line);color:var(--chalk);font-size:1.3rem;line-height:1.45;font-style:italic}
.prose ul,.prose ol{padding-left:1.3rem}
.prose li{margin-bottom:.5em}
.prose strong{color:var(--chalk)}
.byline{font-family:var(--sans);font-size:.95rem;color:#8f8a82;font-stretch:100%;display:flex;gap:.9rem;align-items:center;margin-top:1.2rem}
.byline img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 20%}
.article-foot{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--rule);display:grid;grid-template-columns:72px 1fr;gap:1.2rem;align-items:start}
.article-foot img{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:50% 20%}
.photo{margin:0}
.photo img{border-radius:3px}
.photo figcaption{margin-top:.6rem}

/* footer */
.site-foot{padding:3.5rem 0 3rem;font-family:var(--sans);font-size:.95rem;font-stretch:100%}
.site-foot .wrap{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}
.site-foot h2{font-size:1rem;font-stretch:110%;margin-bottom:.8rem}
.site-foot ul{list-style:none;padding:0;margin:0}
.site-foot li{margin:.35rem 0}
.site-foot a{color:var(--concrete);text-decoration:none}
.site-foot a:hover{color:var(--line)}
.site-foot .tag{font-family:var(--serif);font-size:1.05rem;max-width:34ch}

@media (max-width:900px){
  .hero .wrap,.split{grid-template-columns:1fr;gap:2.2rem}
  .hero figure{max-width:420px}
  .ledger-grid,.ledger-grid.two,.pillars{grid-template-columns:1fr}
  .ledger-grid > div,.ledger-grid > div + div{padding:1.2rem 0;border-right:0;border-bottom:1px solid var(--rule)}
  .tenets li{grid-template-columns:1fr;gap:.5rem}
  .links{columns:1}
  .site-foot .wrap{grid-template-columns:1fr}
}

/* refinements */
.article-title{font-size:clamp(2.1rem,4.4vw,3.5rem);max-width:22ch;line-height:1.02}
@media (max-width:900px){
  .site-head .wrap{min-height:0;padding-top:.9rem;padding-bottom:.4rem}
  .nav{flex-wrap:nowrap;overflow-x:auto;width:100%;gap:1.1rem;padding-bottom:.4rem;scrollbar-width:none;font-size:.9rem}
  .nav a{white-space:nowrap}
  .nav::-webkit-scrollbar{display:none}
}
