:root{
  --ground:#FAF5EC;
  --paper:#FFFDF7;
  --ink:#2A2118;
  --ink-soft:#5C4D3B;
  --accent:#9E3E27;
  --accent-deep:#7E2F1C;
  --line:#E4D6BF;
  --chip:#F2E7D3;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);font-family:'Karla',system-ui,sans-serif;font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
h1,h2,h3{font-family:'Fraunces',Georgia,serif;line-height:1.22;margin:0;font-weight:600}
.container{max-width:1180px;margin:0 auto;padding:0 24px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:0;background:var(--accent);color:var(--ground);padding:10px 16px;border-radius:0 0 8px 0;z-index:50}
.skip:focus{left:0}

/* Masthead */
.masthead{border-bottom:1px solid var(--line)}
.masthead-inner{display:flex;align-items:center;justify-content:space-between;gap:18px 32px;padding-top:18px;padding-bottom:18px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:14px;color:var(--ink)}
.brand:hover{text-decoration:none}
.mark{width:44px;height:44px;flex:none}
.brand-text{display:flex;flex-direction:column}
.brand-name{font-family:'Fraunces',Georgia,serif;font-weight:700;font-size:1.65rem;letter-spacing:-.01em;line-height:1}
.brand-tag{font-size:.74rem;text-transform:uppercase;letter-spacing:.16em;color:var(--ink-soft);margin-top:5px}
.site-nav{display:flex;gap:8px 24px;flex-wrap:wrap}
.site-nav a{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--ink-soft);padding:6px 0;border-bottom:2px solid transparent}
.site-nav a:hover{color:var(--accent);border-bottom-color:var(--accent);text-decoration:none}

/* Ads */
.ad{margin:38px auto;display:flex;justify-content:center}
.ad-unit{display:none;align-items:center;justify-content:center;background:#F3E9D6;border:1px dashed #C8B393;border-radius:6px;color:#8A7358;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-align:center;padding:0 6px}
.ad-band{margin-top:34px;margin-bottom:34px}
.ad-728x90{width:728px;height:90px}
.ad-468x60{width:468px;height:60px}
.ad-320x50{width:320px;height:50px}
.ad-300x250{width:300px;height:250px}
.ad-300x600{width:300px;height:600px}
.ad-160x600{width:160px;height:600px}
@media (min-width:368px){.ad-320x50{display:flex}}
@media (min-width:516px){.ad-320x50{display:none}.ad-468x60{display:flex}}
@media (min-width:776px){.ad-468x60{display:none}.ad-728x90{display:flex}}
@media (min-width:348px){.ad-300x250{display:flex}}
@media (min-width:1100px){.ad-300x600{display:flex}}
@media (min-width:1080px){.ad-160x600{display:flex}}

/* Home hero */
.hero{padding:44px 0 4px}
.hero-grid{display:grid;gap:34px}
@media (min-width:920px){.hero-grid{grid-template-columns:1.15fr .85fr;align-items:center}}
.hero-media img{border-radius:12px;border:1px solid var(--line);width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.eyebrow{font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.18em;color:var(--accent)}
.hero-title{font-size:clamp(1.7rem,3.2vw,2.45rem);margin:12px 0 14px}
.hero-title a{color:var(--ink)}
.hero-title a:hover{color:var(--accent);text-decoration:none}
.hero .dek{font-size:1.07rem;color:var(--ink-soft);margin:0 0 20px}
.btn{display:inline-block;background:var(--accent);color:var(--ground);padding:11px 20px;border-radius:8px;font-weight:700;font-size:.9rem}
.btn:hover{background:var(--accent-deep);text-decoration:none;color:var(--ground)}

/* Sections and cards */
.section{padding:38px 0 4px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;border-bottom:2px solid var(--ink);padding-bottom:10px;margin-bottom:26px}
.section-head h2{font-size:1.4rem}
.card-grid{display:grid;gap:30px;grid-template-columns:repeat(auto-fill,minmax(290px,1fr))}
.card{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:box-shadow .15s ease,transform .15s ease}
.card:hover{box-shadow:0 8px 22px rgba(42,33,24,.1);transform:translateY(-2px)}
.card-link{display:flex;flex-direction:column;height:100%;color:inherit}
.card-link:hover{text-decoration:none}
.card-media{aspect-ratio:3/2;overflow:hidden;background:var(--chip)}
.card-media img{width:100%;height:100%;object-fit:cover}
.card-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:9px}
.card h3{font-size:1.16rem}
.card .dek{margin:0;color:var(--ink-soft);font-size:.92rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* Topic chips */
.topics{padding:40px 0 8px}
.chiprow{display:flex;flex-wrap:wrap;gap:10px}
.chip{display:inline-block;background:var(--chip);border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:.84rem;color:var(--ink-soft)}
.chip:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}

/* Breadcrumb + article head */
.crumbs{padding:26px 0 0;font-size:.86rem;color:var(--ink-soft)}
.crumbs .sep{margin:0 8px;color:var(--line)}
.piece-head{padding:14px 0 4px;max-width:860px}
.piece-head h1{font-size:clamp(1.8rem,3.4vw,2.55rem);margin:12px 0 16px}
.piece-head .dek{font-size:1.12rem;color:var(--ink-soft);margin:0 0 18px;max-width:780px}

/* Article layout */
.piece-layout{display:grid;gap:44px;padding:10px 0 34px}
@media (min-width:1100px){.piece-layout{grid-template-columns:minmax(0,1fr) 320px}}
.piece-main{max-width:760px;min-width:0}
figure{margin:0}
figure img{width:auto;max-width:100%;height:auto;border-radius:10px;border:1px solid var(--line)}
figcaption{display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:space-between;font-size:.8rem;color:var(--ink-soft);padding:8px 2px 0}
figcaption .credit{font-style:italic}
.piece-hero{margin:8px 0 36px}
.unit{margin:0 0 40px}
.unit h2{font-size:1.42rem;margin-bottom:12px}
.unit h2::before{content:"";display:block;width:44px;height:4px;background:var(--accent);border-radius:2px;margin-bottom:12px}
.unit p{margin:0 0 14px}
.facts{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:14px 0 0}
.facts li{background:var(--chip);border:1px solid var(--line);border-radius:6px;padding:4px 10px;font-size:.79rem;color:var(--ink-soft)}
.inline-fig{margin:28px 0 6px}
.piece-rail,.topic-rail{display:none}
@media (min-width:1100px){.piece-rail{display:block}}
@media (min-width:1080px){.topic-rail{display:block}}
.rail-sticky{position:sticky;top:24px}
.rail-sticky .ad{margin:0}
.source-box{background:var(--paper);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:10px;padding:20px 24px;margin:44px 0 8px}
.source-box h2{font-size:1.08rem;margin-bottom:8px}
.source-box p{margin:0;font-size:.92rem;color:var(--ink-soft);overflow-wrap:anywhere}

/* Keep reading */
.continue{border-top:1px solid var(--line);padding:38px 0 54px}
.continue h2{font-size:1.4rem;margin-bottom:24px}

/* Topic pages */
.topic-head{padding:36px 0 4px;max-width:860px}
.topic-head h1{font-size:clamp(1.7rem,3vw,2.3rem);margin:10px 0 8px}
.topic-head .dek{color:var(--ink-soft);margin:0}
.topic-layout{display:grid;gap:44px;padding:12px 0 40px}
@media (min-width:1080px){.topic-layout{grid-template-columns:minmax(0,1fr) 200px}}
.topic-list{display:grid;gap:24px}
.row-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden;color:inherit;transition:box-shadow .15s ease,transform .15s ease}
.row-card:hover{box-shadow:0 8px 22px rgba(42,33,24,.1);transform:translateY(-2px);text-decoration:none}
.row-media{overflow:hidden;background:var(--chip)}
.row-media img{width:100%;height:100%;object-fit:cover}
.row-body{padding:16px 20px 18px}
.row-body h2{font-size:1.14rem;margin-bottom:7px}
.row-body .dek{margin:0;color:var(--ink-soft);font-size:.92rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:560px){.row-card{grid-template-columns:1fr}.row-media{aspect-ratio:3/2}}
.other-topics{margin-top:44px;border-top:1px solid var(--line);padding-top:28px}
.other-title{font-size:1.15rem;margin-bottom:16px}

/* Footer */
.site-footer{margin-top:56px;background:#241B12;color:#EFE4D2;padding:46px 0 30px}
.footer-grid{display:flex;flex-wrap:wrap;gap:32px 56px;align-items:flex-start;justify-content:space-between}
.site-footer .brand{color:#FAF5EC}
.site-footer .brand-name{color:#FAF5EC}
.site-footer .brand-tag{color:#B7A58C}
.footer-nav{display:flex;flex-direction:column;gap:9px}
.footer-nav a{color:#EFE4D2;font-size:.92rem}
.footer-nav a:hover{color:#fff;text-decoration:underline}
.footer-note{margin:0;max-width:340px;color:#CBBBA2;font-size:.88rem;line-height:1.6}
.fine{color:#B7A58C;font-size:.8rem;margin:28px 0 0;border-top:1px solid rgba(255,255,255,.12);padding-top:18px}
