/* suffsyed.com — "the atlas". System serif (Iowan Old Style / Baskerville), system mono, one vermillion. */
:root{
  --paper:#fffefb; --ink:#121212; --ink-2:#282724; --muted:#65635f; --faint:#a3a19c;
  --red:#d62f12; --blue:#2f63ff;
  --rule:#d4d1ca; --rule-2:#e6e4de; --wash:#f7f6f2; --sheet:#ffffff;
  --serif:"Iowan Old Style","Palatino Linotype",Baskerville,"Times New Roman",serif;
  --mono:"SF Mono",SFMono-Regular,ui-monospace,Menlo,Consolas,"Liberation Mono",monospace;
  --sans:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --g:24px; --measure:680px;
}
*{box-sizing:border-box}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-kerning:normal;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--serif);font-size:15px;line-height:20px;letter-spacing:-.02em;font-feature-settings:"kern","liga","onum"}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:1px solid var(--red);outline-offset:3px}
img{display:block;max-width:100%}
h1,h2,h3,h4{margin:0;font-weight:400;text-wrap:balance}
p{margin:0;text-wrap:pretty}
ul,ol{margin:0;padding:0;list-style:none}
.mono{font-family:var(--mono);font-size:10px;line-height:12px;letter-spacing:.07em;text-transform:uppercase;font-feature-settings:"tnum","lnum"}
.num{font-feature-settings:"tnum","lnum";font-variant-numeric:tabular-nums lining-nums}
.red{color:var(--red)}
.muted{color:var(--muted)}
.arrow::after{content:"\00a0→"}
.back::before{content:"←\00a0"}

/* masthead */
.mast{display:flex;align-items:center;gap:20px;height:52px;padding:0 var(--g);border-bottom:1px solid var(--ink)}
.mast .mark{width:26px;height:26px;border:1px solid var(--ink);border-radius:2px;display:grid;place-items:center;font-size:15px;line-height:1;font-style:italic;flex:none}
.mast .name{font-size:13px;letter-spacing:-.01em;margin-right:auto;white-space:nowrap}
.mast nav{display:flex;gap:18px}
.mast nav a{position:relative;padding:4px 0;color:var(--ink-2)}
.mast nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.mast nav a:hover::after,.mast nav a[aria-current]::after{transform:scaleX(1)}
.mast .pill{border:1px solid var(--ink);border-radius:999px;padding:6px 11px 5px;transition:background .15s,color .15s;flex:none}
.mast .pill:hover{background:var(--ink);color:var(--paper)}

/* title block */
.title{padding:36px var(--g) 28px}
.title h1{font-size:64px;line-height:56px;letter-spacing:-.04em;text-transform:uppercase}
.title h1.hang{margin-left:-.26em}
.title h1 .p{color:var(--red)}
.title .dek{max-width:52ch;margin-top:14px;font-size:15px;line-height:20px;color:var(--ink-2)}
.title .dek.big{font-size:22px;line-height:28px;max-width:38ch;letter-spacing:-.025em;color:var(--ink)}

/* bands & cells */
.band{border-top:1px solid var(--ink);border-bottom:1px solid var(--rule);display:grid}
.band.soft{border-top-color:var(--rule)}
.band.hero{grid-template-columns:300px 1fr 300px}
.band.two{grid-template-columns:1fr 1fr}
.band.three{grid-template-columns:1fr 1fr 1fr}
.cell{padding:14px var(--g) 18px;min-width:0}
.cell + .cell{border-left:1px solid var(--rule)}
.cell-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}
.cell-head .more{color:var(--muted)}
.cell-head .more:hover{color:var(--red)}
.cell .prose{font-size:15px;line-height:20px;color:var(--ink-2);max-width:48ch}
.cell .prose + .prose{margin-top:10px}

.list li{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:baseline;height:40px;border-bottom:1px solid var(--rule-2)}
.list li:last-child{border-bottom:0}
.list .i{font-family:var(--mono);font-size:10px;color:var(--red);font-feature-settings:"tnum"}
.list .t{font-size:15px;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.list .c{font-family:var(--sans);font-size:9px;color:var(--muted);font-variant-numeric:tabular-nums}
.list a{display:contents}
.list a:hover .t{color:var(--red)}
.list.plain li{grid-template-columns:1fr auto}

.feat{display:grid;grid-template-columns:1fr 340px;gap:28px;align-items:start}
.feat .k{display:flex;gap:10px;align-items:baseline;margin-bottom:14px}
.feat h2{font-size:30px;line-height:32px;letter-spacing:-.025em;max-width:16ch}
.feat .dek{margin-top:12px;font-size:13px;line-height:17px;color:var(--ink-2);max-width:42ch;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.feat .go{display:inline-block;margin-top:16px}
.feat .go:hover,.go:hover{color:var(--red)}
.sheets-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

.ranked li{grid-template-columns:22px 1fr 44px;height:auto;padding:9px 0 10px}
.ranked .t{white-space:normal;font-size:13px;line-height:16px}
.ranked .d{display:block;font-family:var(--mono);font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:3px}
.ranked .c{color:var(--red);text-align:right;font-family:var(--mono);font-size:10px}

/* corpus strip */
.band.corpus{grid-template-columns:1fr 280px;border-top:0}
.spark{display:flex;align-items:flex-end;gap:3px;height:44px;margin-top:10px}
.spark a{flex:1;background:var(--ink);min-height:2px;transition:background .12s}
.spark a:hover{background:var(--red)}
.spark-label{height:12px;margin-top:8px;color:var(--muted);letter-spacing:.06em}
.stat{display:flex;gap:10px;align-items:baseline}
.stat .big{font-size:44px;line-height:44px;letter-spacing:-.04em;font-feature-settings:"tnum","lnum"}
.stat .cap{font-family:var(--mono);font-size:9px;line-height:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);max-width:80px}

/* start-here card */
.start{margin:24px var(--g) 0;border:1px solid var(--rule);border-radius:3px;display:grid;grid-template-columns:200px 1fr auto;align-items:center}
.start > div{padding:22px 24px}
.start > div + div{border-left:1px solid var(--rule)}
.start .star{color:var(--red);font-size:22px;line-height:1;margin-bottom:12px}
.start h3{font-size:24px;line-height:26px;letter-spacing:-.025em}
.start .dek{margin-top:8px;font-size:13px;line-height:17px;color:var(--ink-2);max-width:70ch;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.start .go{white-space:nowrap}

/* sections */
.sec{padding:48px var(--g) 0}
.sec-head{display:flex;gap:12px;align-items:baseline;padding-bottom:9px;border-bottom:1px solid var(--ink)}
.sec-head .n{color:var(--red)}
.sec-lead{display:grid;grid-template-columns:1fr 1fr;gap:var(--g);padding:22px 0 20px;align-items:end}
.sec-lead h2{font-size:32px;line-height:34px;letter-spacing:-.03em;max-width:18ch}
.sec-lead p{font-size:13px;line-height:17px;color:var(--ink-2);max-width:48ch}

/* the index */
.idx{border-top:1px solid var(--rule)}
.idx li{border-bottom:1px solid var(--rule-2)}
.idx a{display:grid;grid-template-columns:34px 1fr 86px 64px;gap:16px;align-items:baseline;padding:11px 0 12px;transition:background .12s}
.idx a:hover{background:var(--wash);margin:0 calc(-1 * var(--g));padding-left:var(--g);padding-right:var(--g)}
.idx .i{font-family:var(--mono);font-size:10px;color:var(--red);font-feature-settings:"tnum"}
.idx .t{font-size:17px;line-height:22px;letter-spacing:-.02em}
.idx a:hover .t{color:var(--red)}
.idx .d,.idx .w{font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);text-align:right;font-feature-settings:"tnum"}
.idx .w{color:var(--ink-2)}

/* numbered entries (values, FAQs) */
.entries{border-top:1px solid var(--rule)}
.entries li{display:grid;grid-template-columns:34px 1fr;gap:16px;padding:22px 0 24px;border-bottom:1px solid var(--rule-2)}
.entries .i{font-family:var(--mono);font-size:10px;color:var(--red);padding-top:8px;font-feature-settings:"tnum"}
.entries h3{font-size:24px;line-height:28px;letter-spacing:-.025em;max-width:24ch}
.entries p{margin-top:10px;font-size:15px;line-height:21px;color:var(--ink-2);max-width:62ch}
.entries p + p{margin-top:8px}

/* sheets */
.sheet-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;padding:20px 0 8px}
.sheet{container-type:inline-size;display:block;aspect-ratio:140/218;background:var(--sheet);border:1px solid var(--rule);border-radius:5px;overflow:hidden;color:var(--ink);transition:transform .25s cubic-bezier(.2,.8,.2,1),border-color .2s}
.sheet:hover{transform:translateY(-3px);border-color:var(--ink)}
.sheet .pg{padding:6cqw;height:100%;overflow:hidden}
.sheet .st{display:flex;justify-content:space-between;font-family:var(--mono);font-size:3.2cqw;letter-spacing:.06em;text-transform:uppercase;color:var(--red);line-height:1}
.sheet h4{margin-top:5cqw;font-size:5.6cqw;line-height:1.08;letter-spacing:-.02em;text-transform:uppercase;text-wrap:balance;max-height:3.3em;overflow:hidden}
.sheet .fig{margin-top:5cqw;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--rule-2)}
.sheet .fig img{width:100%;height:100%;object-fit:cover}
.sheet .body{margin-top:5cqw;font-size:3.5cqw;line-height:1.32;letter-spacing:0;text-align:justify;hyphens:auto;color:var(--ink-2);overflow:hidden}
.sheet .body::first-letter{font-size:1.8em;line-height:.8;float:left;margin:.05em .12em 0 0}
.fig-cap{margin-top:8px}
.fig-cap .n{color:var(--red);display:block;margin-bottom:4px}
.fig-cap .t{font-size:12px;line-height:15px;color:var(--ink-2)}

/* plates (photo gallery) */
.plates{columns:3;column-gap:var(--g);padding-top:20px}
.plate{break-inside:avoid;margin:0 0 var(--g)}
.plate img{width:100%;height:auto;border:1px solid var(--rule-2)}

/* ---------- essay ---------- */
.progress{position:fixed;top:0;left:0;height:1px;width:0;background:var(--red);z-index:10}
.essay-head{padding:26px var(--g) 30px;border-bottom:1px solid var(--rule)}
.essay-head .strip{display:flex;justify-content:space-between;gap:16px;color:var(--muted);flex-wrap:wrap}
.essay-head .strip .n{color:var(--red)}
.essay-head .strip .sep{margin:0 6px;color:var(--faint)}
.essay-head h1{margin-top:26px;font-size:44px;line-height:46px;letter-spacing:-.03em;max-width:22ch}
.essay-head .dek{margin-top:16px;font-size:18px;line-height:25px;color:var(--ink-2);max-width:56ch;letter-spacing:-.02em}
.essay{padding:0 var(--g) 8px;counter-reset:fig}
.essay .hero-fig{margin:28px 0 0;max-width:1040px}
.essay .hero-fig img{width:100%;height:auto;border:1px solid var(--rule-2)}
.essay figcaption{margin-top:8px;font-family:var(--mono);font-size:10px;line-height:14px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.essay figcaption::before{counter-increment:fig;content:"Fig. " counter(fig,decimal-leading-zero) "\00a0\00a0";color:var(--red)}
.essay .body{max-width:var(--measure);padding:36px 0 0;font-size:18px;line-height:28px;letter-spacing:-.015em;color:var(--ink)}
.essay .body p{margin:0 0 20px}
.essay .body h2,.essay .body h3,.essay .body h4{margin:40px 0 14px;letter-spacing:-.025em;text-wrap:balance}
.essay .body h2{font-size:28px;line-height:32px}
.essay .body h3{font-size:22px;line-height:27px}
.essay .body h4{font-size:18px;line-height:24px;font-style:italic}
.essay .body figure{margin:32px 0}
.essay .body figure img{width:100%;height:auto;border:1px solid var(--rule-2)}
.essay .body blockquote{margin:28px 0;padding:2px 0 2px 20px;border-left:1px solid var(--red);color:var(--ink-2);font-style:italic}
.essay .body ul,.essay .body ol{margin:0 0 20px 22px;list-style:disc}
.essay .body ol{list-style:decimal}
.essay .body li{margin-bottom:6px}
.essay .body a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--rule)}
.essay .body a:hover{text-decoration-color:var(--red);color:var(--red)}
.essay .body strong{font-weight:600}
.essay .body hr{border:0;border-top:1px solid var(--rule);margin:36px 0}
.essay .end{margin-top:44px;padding-top:14px;border-top:1px solid var(--ink);display:flex;justify-content:space-between;color:var(--muted)}

.band.nav .cell{padding:16px var(--g) 20px}
.band.nav .lbl{color:var(--muted);margin-bottom:8px;display:block}
.band.nav .t{font-size:20px;line-height:24px;letter-spacing:-.025em;max-width:26ch;display:block}
.band.nav a:hover .t{color:var(--red)}
.band.nav .cell.next{text-align:right}
.band.nav .cell.next .t{margin-left:auto}

/* footer */
.foot{margin-top:56px;border-top:1px solid var(--ink);padding:16px var(--g) 40px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);gap:16px;flex-wrap:wrap}
.foot .social{display:flex;gap:16px}
.foot a:hover{color:var(--red)}

@media (max-width:1100px){
  .band.hero{grid-template-columns:1fr 1fr}
  .band.hero .cell:nth-child(2){grid-column:1 / -1;grid-row:1;border-left:0;border-bottom:1px solid var(--rule)}
  .sheet-grid{grid-template-columns:repeat(4,1fr)}
  .band.three{grid-template-columns:1fr}
  .band.three .cell + .cell{border-left:0;border-top:1px solid var(--rule)}
}
@media (max-width:720px){
  :root{--g:16px}
  .mast nav{display:none}
  .title h1{font-size:44px;line-height:40px}
  .title .dek.big{font-size:19px;line-height:25px}
  .band.hero,.band.corpus,.band.two,.start,.sec-lead,.feat{grid-template-columns:1fr}
  .cell + .cell,.start > div + div{border-left:0;border-top:1px solid var(--rule)}
  .band.nav .cell.next{text-align:left}
  .sheets-3{grid-template-columns:repeat(3,1fr)}
  .idx a{grid-template-columns:28px 1fr;row-gap:4px}
  .idx .d,.idx .w{grid-column:2;text-align:left}
  .idx .w{display:none}
  .sheet-grid{grid-template-columns:repeat(2,1fr)}
  .plates{columns:1}
  .essay-head h1{font-size:32px;line-height:35px}
  .essay .body{font-size:17px;line-height:26px}
  .essay .end{flex-direction:column;gap:6px}
}
