/* Article reading page. Separate from v3.css on purpose: the homepage is a
   scroll-jacked card stack with GSAP, an essay is a column of text. They
   share tokens and nothing else, so a change here cannot break the stack. */

:root{
  --bezel:#08090a;
  --paper:#fff;
  --ink:#15171a;
  --ink-2:#4a5057;
  --ink-3:#8b9199;
  --rule:#e4e6e8;
  --accent:#9e2b2b;
  --serif:'Cormorant Garamond',Garamond,'Times New Roman',serif;
  --sans:'Work Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,sans-serif;
  --mono:ui-monospace,SFMono-Regular,'SF Mono',Menlo,Consolas,monospace;
  --radius:clamp(20px,2.6vw,34px);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bezel);color:var(--ink);
  font-family:var(--sans);font-size:18px;line-height:1.62;
  -webkit-font-smoothing:antialiased}

/* ---- chrome ---- */
.bar{position:sticky;top:0;z-index:10;display:flex;align-items:center;
  justify-content:space-between;gap:20px;
  padding:16px clamp(18px,5vw,56px);background:var(--bezel)}
.bar a{color:#f2f4f6;text-decoration:none;font-size:13px;letter-spacing:.02em}
.bar a:hover{color:#fff}
.bar__mark{font-family:var(--serif);font-size:22px;font-weight:700;letter-spacing:-.01em}
.bar__back{opacity:.7}
.bar__back:hover{opacity:1}

/* ---- the sheet ---- */
.sheet{max-width:1160px;margin:0 auto clamp(24px,5vh,64px);
  background:var(--paper);border-radius:var(--radius);
  padding:clamp(34px,7vw,104px) clamp(20px,6vw,88px) clamp(48px,8vw,110px)}

/* ---- masthead ---- */
.kicker{margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.22em;
  color:var(--accent)}
.title{margin:14px 0 0;max-width:17ch;
  font-family:var(--serif);font-weight:300;
  font-size:clamp(38px,6.4vw,88px);line-height:1.02;letter-spacing:.004em}
.dek{margin:22px 0 0;max-width:46ch;
  font-size:clamp(19px,2.1vw,25px);line-height:1.42;font-weight:400;
  letter-spacing:-.008em;color:var(--ink-2)}
.byline{margin:30px 0 0;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;
  font-family:var(--mono);font-size:11px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--ink-3)}
.byline b{font-weight:400;color:var(--ink-2)}

/* ---- hero ---- */
.hero{margin:clamp(30px,5vw,58px) 0 0;border-radius:calc(var(--radius) * .6);
  overflow:hidden;background:#e9eaec;aspect-ratio:4/5;max-height:74vh}
.hero img{display:block;width:100%;height:100%;object-fit:cover}
.hero__cap{margin:10px 0 0;font-size:12px;color:var(--ink-3);letter-spacing:.01em}

/* ---- body column ----
   The sheet is wide so the masthead and image can breathe; the prose is
   pinned to a measure that is actually readable. */
.prose{max-width:64ch;margin:clamp(34px,6vw,64px) 0 0}
.prose p{margin:0 0 1.3em}
.prose p:last-child{margin-bottom:0}
/* The old headline, demoted to opening line. It is the hook, so it carries
   a little more weight than body copy without competing with the h1. */
.prose .lede{font-size:clamp(20px,2.1vw,24px);line-height:1.4;
  letter-spacing:-.008em;color:var(--ink);margin-bottom:1.5em}
.prose h2{margin:2.1em 0 .7em;font-family:var(--serif);font-weight:400;
  font-size:clamp(26px,3.2vw,40px);line-height:1.12;letter-spacing:.004em}
.prose strong{font-weight:600}
.prose em{font-style:italic}
.prose a{color:var(--accent);text-underline-offset:3px}

/* A line the writer wants to land alone. */
.beat{margin:1.6em 0;font-family:var(--serif);font-weight:400;
  font-size:clamp(23px,2.6vw,32px);line-height:1.24;letter-spacing:.004em}

/* ---- pull quote ---- */
.pull{margin:clamp(38px,6vw,68px) 0;padding:0 0 0 clamp(18px,2.6vw,34px);
  border-left:2px solid var(--accent);max-width:30ch}
.pull p{margin:0;font-family:var(--serif);font-weight:300;
  font-size:clamp(28px,3.8vw,46px);line-height:1.14;letter-spacing:.004em;
  color:var(--ink)}

/* ---- end matter ---- */
.end{max-width:64ch;margin:clamp(44px,7vw,80px) 0 0;
  padding-top:clamp(26px,4vw,40px);border-top:1px solid var(--rule)}
.end__cta{margin:0;font-size:17px;line-height:1.55;color:var(--ink-2);max-width:52ch}
.sub{margin:22px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.sub__in{flex:1 1 240px;min-width:0;padding:14px 16px;
  font:inherit;font-size:15px;color:var(--ink);
  background:#f4f5f6;border:1px solid var(--rule);border-radius:10px}
.sub__in:focus{outline:2px solid var(--accent);outline-offset:1px;background:#fff}
.sub__go{padding:14px 22px;font:inherit;font-size:14px;font-weight:500;
  letter-spacing:.02em;color:#fff;background:var(--ink);
  border:0;border-radius:10px;cursor:pointer}
.sub__go:hover{background:var(--accent)}
.note{margin:26px 0 0;font-size:13px;line-height:1.5;color:var(--ink-3);max-width:56ch}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

.foot{max-width:1160px;margin:0 auto;padding:0 clamp(20px,6vw,88px) 44px;
  display:flex;flex-wrap:wrap;gap:10px 22px;
  font-size:13px;color:#8b9199}
.foot a{color:#aab4bd;text-decoration:none}
.foot a:hover{color:#fff}

@media (prefers-reduced-motion:no-preference){
  .sheet{animation:rise .5s cubic-bezier(.22,.61,.36,1) both}
  @keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
}
