:root {
  color-scheme: light;
  --orange: #f45b19;
  --orange-dark: #d8430b;
  --orange-soft: #fff0e8;
  --black: #181818;
  --paper: #f7f5f2;
  --panel: #ffffff;
  --ink: #171717;
  --muted: #6f6b68;
  --line: #dedad5;
  --max: 1260px;
  --radius: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.ambient { display: none; }

.top-shell { color: #fff; background: var(--black); box-shadow: 0 3px 0 rgba(0,0,0,.08); }
.site-header {
  width: min(calc(100% - 48px), var(--max));
  min-height: 118px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.brand { display: inline-flex; align-items: center; color: #fff; }
.brand-wordmark { display: grid; grid-template-columns: 22px auto; grid-template-rows: auto auto; min-width: 182px; color: #fff; line-height: .78; }
.brand-wordmark small { grid-row: 1 / 3; align-self: stretch; display: grid; place-items: center; margin-right: 8px; padding-right: 7px; color: var(--orange); border-right: 1px solid rgba(255,255,255,.3); font-size: .62rem; font-weight: 950; letter-spacing: .08em; writing-mode: vertical-rl; transform: rotate(180deg); }
.brand-wordmark b { font-size: 1.7rem; font-weight: 950; letter-spacing: -.065em; }
.brand-wordmark em { color: var(--orange); font-size: 1.05rem; font-style: normal; font-weight: 950; letter-spacing: .22em; }
.header-tagline { margin: 0; padding-left: 34px; color: rgba(255,255,255,.86); border-left: 1px solid rgba(255,255,255,.45); font-size: 1rem; line-height: 1.4; }
.live-pill { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; color: #fff; border: 2px solid rgba(255,255,255,.68); border-radius: 999px; font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.live-pill span { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }

.trends-bar {
  width: 100%;
  min-height: 52px;
  margin: 0 auto;
  padding-inline: max(24px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  background: var(--orange);
  scrollbar-width: none;
  white-space: nowrap;
}
.trends-bar::-webkit-scrollbar { display: none; }
.trends-bar strong { flex: none; margin-right: 12px; font-size: .78rem; font-weight: 950; text-transform: uppercase; letter-spacing: .04em; }
.trends-bar button { flex: none; padding: 9px 14px; border: 0; border-radius: 999px; color: #fff; background: transparent; cursor: pointer; font-size: .74rem; font-weight: 850; }
.trends-bar button:hover, .trends-bar button.active { color: var(--orange); background: #fff; }

main, .site-footer { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 46px 0 22px; }
.page-heading > div { display: flex; align-items: center; gap: 13px; }
.heading-accent { width: 9px; height: 35px; border-radius: 2px; background: var(--orange); }
.page-heading h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.35rem); font-weight: 950; line-height: .95; letter-spacing: -.055em; }
.page-heading p { margin: 0; color: var(--muted); font-size: .69rem; font-weight: 850; line-height: 1.6; letter-spacing: .05em; text-align: right; text-transform: uppercase; }

.lead-grid { min-height: 570px; display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(330px, .78fr); gap: 18px; overflow: hidden; }
.loading-block { place-items: center; border-radius: var(--radius); background: linear-gradient(110deg, #fff, #eee9e4, #fff); background-size: 200% 100%; animation: shimmer 1.8s linear infinite; }
.loading-copy { color: var(--muted); font-weight: 800; }
@keyframes shimmer { to { background-position: -200% 0; } }
.lead-story { position: relative; min-height: 570px; padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; color: #fff; border-radius: var(--radius); background: #222; }
.lead-story::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--lead-image, linear-gradient(145deg, var(--orange), #222)); background-position: center; background-size: cover; transition: transform .5s ease; }
.lead-story:hover::before { transform: scale(1.025); }
.lead-story::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.03) 18%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.94)); }
.tag { display: inline-flex; width: fit-content; padding: 6px 10px; color: #fff; border: 0; border-radius: 999px; background: var(--orange); font-size: .66rem; font-weight: 900; line-height: 1; letter-spacing: .055em; text-transform: uppercase; }
.lead-story h2 { max-width: 880px; margin: 18px 0 15px; font-size: clamp(2.15rem, 4vw, 4.2rem); font-weight: 950; line-height: .97; letter-spacing: -.06em; text-wrap: balance; }
.lead-story p { max-width: 760px; margin: 0; color: rgba(255,255,255,.84); font-size: 1rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; color: var(--muted); font-size: .64rem; font-weight: 850; line-height: 1.25; letter-spacing: .035em; text-transform: uppercase; }
.lead-story .story-meta { color: rgba(255,255,255,.7); }

.lead-stack { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; }
.stack-story { min-height: 0; display: grid; grid-template-columns: 124px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .2s ease, box-shadow .2s ease; }
.stack-story:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(52,35,22,.1); }
.stack-image { min-height: 100%; overflow: hidden; background: var(--orange-soft); }
.stack-image img, .stack-image .signal-pattern { width: 100%; height: 100%; object-fit: cover; }
.stack-copy { min-width: 0; padding: 16px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.stack-story h3 { margin: 10px 0 0; font-size: clamp(.98rem, 1.45vw, 1.24rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; }
.stack-story .story-meta { margin-top: 12px; }
.signal-pattern { height: 100%; background: radial-gradient(circle at 35% 30%, #ffc09f, transparent 32%), linear-gradient(135deg, var(--orange), #30170c); }
.image-fallback { background: radial-gradient(circle at 28% 25%, #ffc09f, transparent 30%), linear-gradient(145deg, var(--orange), #31170c); }
.image-fallback::before { content: "TL"; display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255,255,255,.88); font-size: 2rem; font-weight: 950; letter-spacing: -.08em; }

.latest-section { padding: 74px 0 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; padding-bottom: 17px; border-bottom: 4px solid var(--black); }
.section-heading > div { display: flex; align-items: baseline; gap: 13px; }
.section-heading span { color: var(--orange); font-size: .75rem; font-weight: 950; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.45rem); font-weight: 950; line-height: .92; letter-spacing: -.06em; }
.section-heading p { max-width: 390px; margin: 0; color: var(--muted); text-align: right; }
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.article-card { min-width: 0; min-height: 405px; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--panel); box-shadow: 0 0 0 1px var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(52,35,22,.12); }
.card-image { position: relative; height: 185px; overflow: hidden; background: var(--orange-soft); }
.card-image::after { content: ""; position: absolute; inset: auto 0 0; height: 36%; background: linear-gradient(transparent, rgba(0,0,0,.18)); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover img { transform: scale(1.035); }
.card-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; }
.card-copy h3 { margin: 14px 0 11px; font-size: clamp(1.1rem, 1.55vw, 1.4rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; }
.card-copy p { display: -webkit-box; margin: 0 0 18px; overflow: hidden; color: var(--muted); font-size: .88rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-copy .story-meta { margin-top: auto; }
.empty-state { padding: 60px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); background: #fff; text-align: center; }

.article-view { max-width: 1020px; margin: 0 auto; padding: 76px 0 120px; }
.article-back { display: inline-flex; margin-bottom: 38px; color: var(--orange-dark); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.article-view h1 { margin: 20px 0; font-size: clamp(2.7rem, 7vw, 6.4rem); font-weight: 950; line-height: .92; letter-spacing: -.07em; text-wrap: balance; }
.article-hero { width: 100%; max-height: 580px; margin: 40px 0; border-radius: var(--radius); object-fit: cover; }
.article-summary { max-width: 820px; margin: 0; color: #45413e; font: 400 clamp(1.2rem, 2.2vw, 1.65rem)/1.55 Georgia, serif; }
.source-box { margin-top: 44px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-left: 6px solid var(--orange); border-radius: 12px; background: #fff; }
.source-box p { margin: 0; color: var(--muted); }
.source-link { flex: none; padding: 12px 17px; color: #fff; border-radius: 999px; background: var(--orange); font-weight: 900; }

.site-footer { min-height: 200px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 40px; border-top: 4px solid var(--black); color: var(--muted); }
.footer-brand { color: var(--black); }
.footer-brand .brand-wordmark { color: var(--black); }
.site-footer p { max-width: 500px; font-size: .86rem; }
.site-footer > div:last-child { display: flex; gap: 18px; font-size: .82rem; font-weight: 800; }
.site-footer a:hover { color: var(--orange); }

@media (max-width: 1060px) {
  .site-header { gap: 22px; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-stack { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .stack-story { min-height: 235px; grid-template-columns: 1fr; grid-template-rows: 110px 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .site-header, main, .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 92px; grid-template-columns: 1fr auto; }
  .header-tagline { display: none; }
  .brand-wordmark { min-width: 164px; grid-template-columns: 20px auto; }
  .brand-wordmark small { margin-right: 7px; padding-right: 6px; font-size: .56rem; }
  .brand-wordmark b { font-size: 1.52rem; }
  .brand-wordmark em { font-size: .94rem; letter-spacing: .2em; }
  .live-pill { padding: 9px 11px; font-size: .61rem; }
  .trends-bar { width: 100%; min-height: 48px; padding: 0 14px; }
  .trends-bar strong { margin-right: 6px; }
  .page-heading { padding: 34px 0 18px; }
  .page-heading p { display: none; }
  .heading-accent { height: 31px; }
  .lead-story { min-height: 510px; padding: 26px; }
  .lead-story h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .lead-story p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
  .lead-stack, .article-grid { grid-template-columns: 1fr; }
  .stack-story { min-height: 160px; grid-template-columns: 118px 1fr; grid-template-rows: none; }
  .latest-section { padding: 60px 0 74px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading p { text-align: left; }
  .article-card { min-height: 390px; }
  .source-box { align-items: flex-start; flex-direction: column; }
  .site-footer { padding: 46px 0; grid-template-columns: 1fr; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
