:root{
  --paper:#f4f1ea;
  --ink:#1c1b19;
  --muted:#6b6459;
  --line:#d8d2c4;
  --accent:#1f4d4a;
  --inverse:#1c1b19;
  --inverse-ink:#f4f1ea;
  --font-display:'Fraunces',Georgia,serif;
  --font-text:'Public Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --measure:68ch;
}

*{box-sizing:border-box;min-width:0}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
}
body.ed{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:400 17px/1.65 var(--font-text);
  font-variant-numeric:lining-nums;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;line-height:1.05;letter-spacing:-.01em;margin:0;color:var(--ink)}

.ed-skip{position:absolute;left:-9999px;top:0;background:var(--accent);color:var(--inverse-ink);padding:12px 18px;font:600 13px var(--font-text);z-index:99}
.ed-skip:focus{left:12px;top:12px}

/* ---------- masthead ---------- */
.ed-header{background:var(--paper);border-bottom:2px solid var(--ink)}
.ed-header .ed-wordmark{display:inline-block;font-family:var(--font-display);font-weight:700;font-size:clamp(30px,6vw,56px);letter-spacing:-.03em;color:var(--ink);padding:22px 20px 10px;text-decoration:none}
.ed-header nav{border-top:1px solid var(--line);overflow-x:auto;-webkit-overflow-scrolling:touch}
.ed-header nav ul{display:flex;list-style:none;margin:0;padding:0 20px;gap:0;white-space:nowrap}
.ed-header nav a{display:block;padding:14px 16px;font:600 12px/1 var(--font-text);letter-spacing:.08em;text-transform:uppercase;text-decoration:none;color:var(--ink);border-right:1px solid var(--line)}
.ed-header nav a:hover{background:var(--ink);color:var(--paper)}

/* ---------- footer ---------- */
.ed-footer{background:var(--inverse);color:var(--inverse-ink);padding:56px 20px 28px}
.ed-footer .ed-wordmark{font-family:var(--font-display);font-weight:700;font-size:clamp(24px,4vw,34px);color:var(--inverse-ink);text-decoration:none;display:inline-block;margin-bottom:28px}
.ed-footer-grid{display:grid;grid-template-columns:1fr;gap:28px;max-width:1280px;margin:0 auto}
.ed-footer h3{font:600 11px/1 var(--font-display);letter-spacing:.18em;text-transform:uppercase;color:#a79f8c;margin:0 0 14px}
.ed-footer ul{list-style:none;margin:0;padding:0}
.ed-footer li{margin:0 0 9px}
.ed-footer a{text-decoration:none;color:var(--inverse-ink);font-size:14.5px}
.ed-footer a:hover{text-decoration:underline}
.ed-small{margin:40px auto 0;max-width:1280px;padding-top:20px;border-top:1px solid #3a3835;font-size:12.5px;color:#a79f8c}

@media (min-width:768px){
  .ed-footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}
}

/* ---------- home layout ---------- */
.ed-main{max-width:1280px;margin:0 auto;padding:0 20px}

.ed-intro{padding:28px 0 22px;border-bottom:1px solid var(--line)}
.ed-h1{font-size:clamp(20px,2.4vw,26px);max-width:34ch;letter-spacing:-.01em}
.ed-dek{margin:10px 0 0;color:var(--muted);font-size:15px;max-width:60ch}

.ed-cover{padding:34px 0 10px}
.ed-cover-link{display:block;text-decoration:none;color:inherit}
.ed-cover-media{margin:0 0 26px;aspect-ratio:16/10;overflow:hidden;background:var(--line)}
.ed-cover-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
@media (prefers-reduced-motion:no-preference){
  .ed-cover-link:hover .ed-cover-media img{transform:scale(1.03)}
}
.ed-cover-title{font-size:clamp(34px,7vw,72px);line-height:.98;letter-spacing:-.03em;max-width:20ch}
.ed-standfirst{margin:20px 0 0;font-size:19px;line-height:1.55;color:var(--muted);max-width:56ch}
.ed-meta{display:flex;gap:6px;margin:22px 0 0;font:600 11.5px/1 var(--font-text);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ed-dot{color:var(--line)}

@media (min-width:768px){
  .ed-cover--stacked .ed-cover-media{aspect-ratio:16/8}
}
@media (min-width:1280px){
  .ed-cover-media{aspect-ratio:21/9}
  .ed-cover-title{font-size:clamp(56px,6vw,92px)}
}

.ed-band{padding:54px 0}
.ed-band-title{font:600 12px/1 var(--font-display);letter-spacing:.22em;text-transform:uppercase;color:var(--accent);margin:0 0 30px;padding-bottom:16px;border-bottom:2px solid var(--ink)}

.ed-grid{display:grid;grid-template-columns:1fr;gap:34px}
.ed-card-link{display:block;text-decoration:none;color:inherit}
.ed-card-media{margin:0 0 14px;aspect-ratio:4/3;overflow:hidden;background:var(--line)}
.ed-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
@media (prefers-reduced-motion:no-preference){
  .ed-card-link:hover .ed-card-media img{transform:scale(1.03)}
}
.ed-kicker{font:600 11px/1 var(--font-text);letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin:0 0 8px}
.ed-card-title{font-size:21px;line-height:1.18;letter-spacing:-.015em}
.ed-card-dek{margin:10px 0 0;color:var(--muted);font-size:14.5px;line-height:1.55}

@media (min-width:768px){
  .ed-grid{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:1280px){
  .ed-features--ledger .ed-grid{grid-template-columns:repeat(6,1fr)}
  .ed-card--1{grid-column:span 3}
  .ed-card--1 .ed-card-media{aspect-ratio:3/2}
  .ed-card--1 .ed-card-title{font-size:28px}
  .ed-card--2{grid-column:span 3}
  .ed-card--2 .ed-card-media{aspect-ratio:3/2}
  .ed-card--3,.ed-card--4,.ed-card--5,.ed-card--6{grid-column:span 2}
}

.ed-rails{background:var(--paper)}
.ed-rail-grid{display:grid;grid-template-columns:1fr;gap:44px}
@media (min-width:768px){
  .ed-rails--columns .ed-rail-grid{grid-template-columns:repeat(2,1fr)}
}
.ed-rail-title{font-size:20px;line-height:1.3;max-width:34ch;margin:0 0 20px}
.ed-rail-title a{text-decoration:none}
.ed-rail-title a:hover{color:var(--accent)}
.ed-rail-items{display:flex;flex-direction:column;gap:16px;padding:18px 0;border-top:1px solid var(--line)}
.ed-rail-item{display:block;text-decoration:none;color:var(--ink);padding-bottom:16px;border-bottom:1px solid var(--line)}
.ed-rail-item strong{display:block;font:600 16px/1.35 var(--font-text);letter-spacing:-.005em}
.ed-rail-item:hover strong{color:var(--accent)}
.ed-rail-more{display:inline-block;margin-top:16px;font:600 11.5px/1 var(--font-text);letter-spacing:.1em;text-transform:uppercase;color:var(--accent);text-decoration:none}
.ed-rail-more:hover{text-decoration:underline}

.ed-newsletter{background:var(--inverse);color:var(--inverse-ink);padding:60px 20px;text-align:left}
.ed-newsletter h2{color:var(--inverse-ink)}
.ed-newsletter p{color:#c8c2b4;max-width:52ch}
.ed-newsletter form{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.ed-newsletter input[type=email]{flex:1 1 240px;padding:14px 16px;border:2px solid #4a4843;background:transparent;color:var(--inverse-ink);font:400 15px var(--font-text)}
.ed-newsletter button{padding:14px 26px;background:var(--inverse-ink);color:var(--ink);border:none;font:600 12px var(--font-text);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:background .2s}
.ed-newsletter button:hover{background:var(--accent);color:#fff}

.ed-index{padding:54px 0 70px}
.ed-index-list{display:grid;grid-template-columns:1fr;gap:10px;column-gap:40px;list-style:none;margin:0;padding:0}
.ed-index-list a{display:block;padding:10px 0;border-bottom:1px solid var(--line);text-decoration:none;font-size:15px}
.ed-index-list a:hover{color:var(--accent)}
@media (min-width:768px){
  .ed-index-list{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:1280px){
  .ed-index-list{grid-template-columns:repeat(3,1fr)}
}

/* ---------- article pages: override inline stylesheet ---------- */
body.ed header.site{background:var(--paper);border-bottom:2px solid var(--ink)}
body.ed .mark,body.ed .mark .struck,body.ed .mark .live{font-family:var(--font-display);color:var(--ink);text-decoration:none}
body.ed .mark .struck{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--accent)}
body.ed nav.snav a{font-family:var(--font-text);color:var(--ink)}
body.ed nav.snav a[aria-current]{background:var(--accent);color:#fff}
body.ed nav.snav a:hover{background:var(--ink);color:var(--paper)}

body.ed .cab h1,body.ed .prose h2,body.ed .prose h3,body.ed .front h1{font-family:var(--font-display)}
body.ed .eyebrow{color:var(--accent);font-family:var(--font-text)}
body.ed .cab{border-bottom:2px solid var(--ink)}
body.ed .cab h1{font-size:clamp(34px,6vw,64px);max-width:22ch;letter-spacing:-.03em}
body.ed .cab .deck{font:400 19px/1.6 var(--font-text);color:var(--muted);max-width:var(--measure)}
body.ed .cab .meta span{font-family:var(--font-text);color:var(--muted)}

body.ed .grid{display:grid;grid-template-columns:1fr;max-width:1000px;margin:0 auto;padding:0 20px;gap:0}
body.ed .rail{border-right:none;border-top:2px solid var(--ink);padding:32px 0;position:static;max-height:none}
body.ed .body{padding:32px 0 0}
@media (min-width:1024px){
  body.ed .grid{grid-template-columns:240px 1fr;gap:0}
  body.ed .rail{border-right:2px solid var(--ink);border-top:none;padding:44px 30px 44px 0;position:sticky;top:0;max-height:100vh;overflow-y:auto}
  body.ed .body{padding:44px 0 0 40px}
}

body.ed .index span.rot,body.ed .railnote strong{font-family:var(--font-display);color:var(--muted)}
body.ed .index a{color:var(--ink);font-family:var(--font-text)}
body.ed .index a:before{color:var(--accent)}
body.ed .index a:hover{color:var(--accent)}

body.ed .prose{font-family:var(--font-text);font-size:18px;line-height:1.75;color:var(--ink);max-width:var(--measure)}
body.ed .prose h2{font-size:clamp(25px,3.6vw,34px);border-top:2px solid var(--ink);margin:2.1em 0 .5em}
body.ed .prose h2:before{color:var(--accent)}
body.ed .prose > p:first-of-type::first-letter{
  font-family:var(--font-display);font-weight:700;font-size:4.4em;line-height:.8;
  float:left;padding:.04em .08em 0 0;color:var(--accent);
}
body.ed .prose a{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
body.ed .prose a:hover{color:var(--ink)}
body.ed .prose ul,body.ed .prose ol{padding-left:1.2em}
body.ed .prose li::marker{color:var(--accent)}
body.ed .prose blockquote{border-left:4px solid var(--accent);font-family:var(--font-display);color:var(--ink);font-size:clamp(22px,3vw,28px);max-width:26ch}

body.ed .answer{border:2px solid var(--ink);background:#fff}
body.ed .answer span{color:var(--accent);font-family:var(--font-text)}

body.ed .ruling,body.ed .assumes{border-color:var(--ink)}
body.ed .assumes{border-color:var(--accent);background:#eef3f2}
body.ed .assumes .rot,body.ed .assumes .fig{color:var(--accent)}
body.ed .assumes li:before{color:var(--accent)}

body.ed table.d{font-family:var(--font-text)}
body.ed table.d thead th{border-bottom:2px solid var(--ink);color:var(--muted)}
body.ed table.d td,table.d th{border-bottom:1px solid var(--line)}
body.ed .tbl .rot{color:var(--accent)}

body.ed figure.plate img{border:2px solid var(--ink)}
body.ed figure.plate figcaption{color:var(--muted);font-family:var(--font-text)}

/* ---------- ed-hero and ed-more ---------- */
.ed-hero{margin:0 0 32px;aspect-ratio:21/9;overflow:hidden;background:var(--line)}
.ed-hero img{width:100%;height:100%;object-fit:cover}
@media (min-width:1024px){
  .ed-hero{aspect-ratio:3/1}
}

.ed-more{padding:60px 0 80px;max-width:1280px;margin:0 auto}
.ed-more h2{font:600 12px/1 var(--font-display);letter-spacing:.2em;text-transform:uppercase;color:var(--accent);border-bottom:2px solid var(--ink);padding-bottom:16px;margin:0 0 30px}
.ed-more-grid{display:grid;grid-template-columns:1fr;gap:30px}
.ed-more-card{text-decoration:none;color:var(--ink);display:block}
.ed-more-media{aspect-ratio:4/3;overflow:hidden;background:var(--line);margin:0 0 12px}
.ed-more-media img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
@media (prefers-reduced-motion:no-preference){
  .ed-more-card:hover .ed-more-media img{transform:scale(1.03)}
}
.ed-more-card h3{font-size:18px;line-height:1.3}
@media (min-width:768px){
  .ed-more-grid{grid-template-columns:repeat(3,1fr)}
}

/* ---------- small screens safety ---------- */
@media (max-width:389px){
  .ed-header .ed-wordmark{font-size:26px;padding:18px 16px 8px}
  .ed-cover-title{font-size:30px}
}

/* hub-safety v2 */
/* Held by the Hub under every title's own design */
.ed-header nav{overflow-x:auto;scrollbar-width:none}
.ed-header nav::-webkit-scrollbar{display:none}
.ed-header nav ul,.ed-header nav ol{flex-wrap:nowrap}
.ed-header nav li,.ed-header nav a{flex:0 0 auto;min-width:max-content;white-space:nowrap}
img{max-width:100%}
/* The cover owns the first screen: the H1 above it is the title's strapline, set modestly (20 November 2026) */
.ed-intro{padding-top:clamp(1rem,2.5vw,2rem)!important;padding-bottom:clamp(.75rem,2vw,1.5rem)!important;margin-bottom:0!important}
.ed-intro .ed-h1{font-size:clamp(1.3rem,2.3vw,1.9rem)!important;line-height:1.2!important;max-width:min(44ch,100%);min-width:0;margin-bottom:.35em!important}
/* No page is wider than a phone (2 December 2026). Each rule is :where() so any rule of the title's own wins over it:
   a column holds its content instead of growing to its widest line, pictures and frames never pass their box, a long
   word or address wraps, and a table or code block scrolls inside its own box on a small screen. Links and list items
   keep their size, so a row that scrolls sideways (a masthead) still scrolls instead of squeezing. */
:where(aside,nav,main,fieldset),:where(:not(header,footer):has(> aside,> nav)) > :where(div,section,article,aside,nav,main){min-width:0}
:where(img,video,canvas,iframe,embed,object){max-width:100%}
:where(img,video){height:auto}
:where(body){overflow-wrap:break-word}
:where(pre){max-width:100%;overflow-x:auto}
@media (max-width:640px){
:where(div,figure,section,aside):has(> table:only-child){display:block!important;width:auto!important;height:auto!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important}
:where(table:not(:only-child)){display:block!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important}
:where(.ed-main){overflow-x:clip}
}
.ed-intro .ed-dek{font-size:clamp(.95rem,1.2vw,1.05rem)!important;max-width:60ch}
/* The newsletter, easy to find: the masthead's Subscribe link and the sign-up at the foot of an article */
.ed-header .ed-subscribe{font-weight:700!important;text-decoration:underline!important;text-underline-offset:.3em}
.ed-signup{margin:clamp(2rem,5vw,4rem) auto!important;max-width:min(100% - 2rem,72rem);padding:clamp(1.5rem,4vw,3rem)!important;box-sizing:border-box}
.ed-signup .ed-form-row{display:flex;flex-wrap:wrap;gap:.5rem}
.ed-signup input[type=email]{flex:1 1 14rem;min-width:0}
.ed-skip{position:absolute;left:-9999px}
.ed-skip:focus{left:1rem;top:1rem;z-index:100}
