:root{
  --bg:#f3efe6;
  --paper:#ffffff;
  --paper-soft:#fbf9f4;
  --ink:#123524;
  --ink-2:#263a30;
  --muted:#727a73;
  --line:#e2ddd3;
  --green:#164b2d;
  --green-2:#2f6b42;
  --olive:#86953f;
  --gold:#bd8e35;
  --danger:#b64d3a;
  --shadow:0 24px 70px rgba(38,48,42,.09);
  --shadow-soft:0 14px 36px rgba(38,48,42,.06);
  --radius:30px;
  --radius-sm:18px;
  --container:1540px;
  --article:790px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 12% 0%,rgba(210,193,157,.20),transparent 27%),
    radial-gradient(circle at 90% 10%,rgba(76,116,82,.08),transparent 24%),
    linear-gradient(180deg,#faf8f2 0%,var(--bg) 100%);
  color:var(--ink-2);
  font-family:"DM Sans",sans-serif;
  line-height:1.55;
}

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input{font:inherit}

.page{max-width:var(--container);margin:0 auto}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  padding:18px 30px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(216,210,199,.85);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
}

.brand-mark{
  width:44px;
  height:44px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,var(--green),#1f6b42);
  color:#fff;
  font-weight:800;
  font-size:20px;
  letter-spacing:-1px;
  box-shadow:0 8px 18px rgba(22,75,45,.16);
}

.brand-name{
  font-size:15px;
  font-weight:700;
  line-height:1.05;
  letter-spacing:.025em;
  text-transform:uppercase;
  color:var(--ink);
}

.brand-name b{display:block;font-size:20px}

.nav{
  display:flex;
  justify-content:center;
  gap:24px;
  flex-wrap:wrap;
  font-size:14px;
  font-weight:600;
}

.actions{display:flex;align-items:center;gap:10px}

.icon-btn,.btn{
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:999px;
  padding:11px 16px;
  cursor:pointer;
}

.btn.primary{
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}

.breaking{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 30px;
  background:#edf1e8;
  border-bottom:1px solid #dfe6db;
  font-size:14px;
  overflow:hidden;
  white-space:nowrap;
}

.breaking b{
  color:var(--green);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.breaking span{color:#47564d}

.shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  padding:34px 28px 70px;
  align-items:start;
}

.article-card{
  background:var(--paper);
  border:1px solid rgba(220,215,205,.88);
  border-radius:34px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.article-inner{
  padding:42px 48px 54px;
}

.breadcrumbs{
  font-size:12px;
  color:var(--muted);
  margin-bottom:24px;
}

.category{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#edf3e9;
  color:var(--green);
  border-radius:999px;
  padding:8px 11px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

h1{
  margin:18px 0 18px;
  font-family:"Libre Caslon Display",serif;
  font-size:clamp(56px,5.7vw,96px);
  line-height:.95;
  letter-spacing:-.045em;
  font-weight:400;
  color:var(--ink);
  max-width:1050px;
}

.deck{
  max-width:910px;
  font-size:21px;
  line-height:1.45;
  color:#4f5d54;
  margin:0 0 26px;
}

.meta-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding-top:18px;
  margin-bottom:24px;
}

.author{
  display:flex;
  align-items:center;
  gap:12px;
}

.author img{
  width:44px;
  height:44px;
  border-radius:50%;
  object-fit:cover;
}

.author strong{
  display:block;
  font-size:13px;
  color:var(--ink);
}

.author span{
  display:block;
  font-size:11px;
  color:var(--muted);
}

.share{display:flex;gap:8px}

.share button,.social-rail button{
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  cursor:pointer;
}

.share button{
  width:38px;
  height:38px;
  border-radius:50%;
}

.hero-image{
  margin:8px 0 0;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
}

.hero-image img{
  width:100%;
  height:590px;
  object-fit:cover;
}

.caption{
  font-size:11px;
  color:var(--muted);
  padding-top:9px;
}

.reading-area{
  display:grid;
  grid-template-columns:64px minmax(0,var(--article));
  gap:22px;
  justify-content:center;
  margin-top:38px;
}

.social-rail{
  position:sticky;
  top:118px;
  height:max-content;
  display:grid;
  gap:10px;
}

.social-rail button{
  width:42px;
  height:42px;
  border-radius:50%;
}

.prose{
  font-family:Georgia,serif;
  font-size:20px;
  line-height:1.78;
  color:#2d3d34;
}

.prose p{
  margin:0 0 28px;
}

.prose h2{
  font-family:"Libre Caslon Display",serif;
  font-weight:400;
  color:var(--ink);
  font-size:42px;
  line-height:1.06;
  margin:50px 0 20px;
}

.prose h3{
  font-family:"DM Sans",sans-serif;
  font-size:21px;
  color:var(--ink);
  margin:36px 0 14px;
}

.dropcap::first-letter{
  float:left;
  font-family:"Libre Caslon Display",serif;
  font-size:92px;
  line-height:.78;
  padding-right:10px;
  color:var(--green);
}

.pullquote{
  margin:44px 0;
  padding:26px 28px;
  border-radius:22px;
  background:#f6f8f3;
  border:1px solid #e3e9df;
  font-family:"Libre Caslon Display",serif;
  font-size:34px;
  line-height:1.16;
  color:var(--green);
}

.data-card{
  margin:40px 0;
  background:linear-gradient(145deg,#f7f7f2,#f0efe8);
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
}

.data-card-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:end;
  margin-bottom:18px;
}

.data-card h3{
  margin:0;
  font-family:"DM Sans",sans-serif;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.data-card small{color:var(--muted)}

.stat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

.stat{
  background:#fff;
  border:1px solid #e3ddcf;
  border-radius:16px;
  padding:14px;
}

.stat span{
  display:block;
  font-size:11px;
  color:var(--muted);
}

.stat strong{
  font-size:22px;
  color:var(--ink);
  display:block;
  margin:3px 0;
}

.up{color:#3a8650}
.down{color:#b64d3a}

.chart{
  height:220px;
  margin-top:18px;
  border-radius:16px;
  background:
    linear-gradient(to top,transparent 24%,rgba(80,100,84,.08) 25%,transparent 26%,transparent 49%,rgba(80,100,84,.08) 50%,transparent 51%,transparent 74%,rgba(80,100,84,.08) 75%,transparent 76%),
    linear-gradient(145deg,#fbfaf6,#f2efe5);
  position:relative;
  overflow:hidden;
}

.chart svg{
  position:absolute;
  inset:24px;
  width:calc(100% - 48px);
  height:calc(100% - 48px);
}

.inline-image{
  margin:40px 0;
  border-radius:22px;
  overflow:hidden;
}

.inline-image img{
  width:100%;
  height:430px;
  object-fit:cover;
}

.video-card{
  background:#142d1e;
  color:#fff;
  border-radius:24px;
  overflow:hidden;
  margin:42px 0;
}

.video-thumb{position:relative}

.video-thumb img{
  width:100%;
  height:400px;
  object-fit:cover;
  opacity:.76;
}

.play{
  position:absolute;
  inset:0;
  margin:auto;
  width:78px;
  height:78px;
  border-radius:50%;
  background:rgba(255,255,255,.93);
  color:var(--green);
  display:grid;
  place-items:center;
  font-size:28px;
}

.video-copy{padding:18px 20px}

.video-copy h3{
  margin:4px 0 6px;
  color:#fff;
  font-family:"Libre Caslon Display",serif;
  font-size:30px;
}

.continue-card-shell{
  margin-top:54px;
  background:linear-gradient(145deg,#fbfaf7,#f7f5ef);
  border:1px solid var(--line);
  border-radius:30px;
  padding:26px;
  box-shadow:var(--shadow-soft);
}

.continue-card-shell .section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.continue-card-shell h3{
  margin:0;
  font-size:17px;
  letter-spacing:-.01em;
  color:var(--ink);
  font-family:"DM Sans",sans-serif;
}

.continue-card-shell .section-head span{
  font-size:11px;
  color:var(--muted);
}

.continue-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.continue-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease;
}

.continue-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(35,48,40,.08);
}

.continue-card img{
  width:100%;
  height:145px;
  object-fit:cover;
}

.continue-card div{padding:14px}

.continue-card strong{
  display:block;
  font-size:14px;
  line-height:1.25;
  margin-top:6px;
}

.sidebar{
  position:sticky;
  top:112px;
  height:max-content;
  display:grid;
  gap:14px;
}

.widget{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  box-shadow:var(--shadow-soft);
}

.widget h3{
  margin:0 0 12px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--ink);
}

.market{
  background:linear-gradient(145deg,#173722,#10291a);
  color:#fff;
  border-color:#173722;
}

.market h3{color:#fff}

.quote{
  padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.quote:last-child{border-bottom:0}

.quote-top{
  display:flex;
  justify-content:space-between;
  font-size:11px;
  color:#c8d8ca;
}

.quote strong{
  display:block;
  font-size:22px;
  margin:3px 0;
}

.ad{
  min-height:280px;
  display:grid;
  place-items:center;
  text-align:center;
  background:linear-gradient(145deg,#f4f1ea,#ebe6dc);
  border-style:dashed;
  color:#8a8d85;
}

.ad b{
  display:block;
  color:#687067;
  margin-bottom:4px;
}

.trending-item{
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

.trending-item:last-child{border-bottom:0}

.trending-item span{
  font-size:10px;
  color:var(--green-2);
  text-transform:uppercase;
  font-weight:700;
}

.trending-item strong{
  display:block;
  font-size:14px;
  line-height:1.25;
  margin-top:3px;
}

.newsletter{
  background:linear-gradient(145deg,#edf1e8,#f8f6ef);
}

.newsletter p{
  font-size:12px;
  color:var(--muted);
}

.newsletter input{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:12px;
  margin:6px 0 9px;
}

.footer{
  border-top:1px solid var(--line);
  padding:32px 30px 80px;
  color:var(--muted);
  font-size:12px;
}

@media(max-width:1120px){
  .shell{grid-template-columns:1fr}
  .sidebar{
    position:static;
    grid-template-columns:repeat(2,1fr);
  }
  .article-card{border-radius:28px}
}

@media(max-width:850px){
  .topbar{
    grid-template-columns:1fr auto;
    padding:14px 16px;
  }

  .nav{display:none}
  .brand{min-width:0}
  .breaking{padding:9px 16px}
  .shell{padding:20px 12px 60px}
  .article-inner{padding:30px 22px 38px}
  h1{font-size:58px}
  .deck{font-size:19px}
  .hero-image img{height:430px}
  .reading-area{grid-template-columns:1fr}
  .social-rail{display:none}
  .prose{font-size:19px}
  .prose h2{font-size:36px}
  .stat-grid{grid-template-columns:1fr 1fr}
  .sidebar{grid-template-columns:1fr}
  .continue-grid{grid-template-columns:1fr}
}

@media(max-width:560px){
  .topbar .btn.primary{display:none}
  .brand-mark{width:38px;height:38px}
  .brand-name{font-size:11px}
  .brand-name b{font-size:16px}
  .article-card{border-radius:22px}
  .article-inner{padding:24px 16px 30px}
  h1{font-size:46px}
  .deck{font-size:17px}
  .hero-image{border-radius:18px}
  .hero-image img{height:290px}
  .meta-row{align-items:flex-start}
  .share{width:100%}
  .prose{font-size:18px}
  .prose h2{font-size:31px}
  .pullquote{font-size:28px;padding:22px}
  .inline-image img,.video-thumb img{height:270px}
  .stat-grid{grid-template-columns:1fr}
  .continue-card-shell{padding:18px;border-radius:24px}
}
