:root {
  --paper: #f4f2eb;
  --surface: #ffffff;
  --ink: #15191c;
  --muted: #62686b;
  --line: #c9cbc5;
  --green: #1f694f;
  --red: #bd3f32;
  --yellow: #d6a72d;
  --blue: #315a76;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.header-top {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 26px;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--surface);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.edition {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  border-top: 1px solid var(--line);
}

.nav-inner {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-inner a {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
}

.nav-inner a:hover,
.nav-inner a:focus-visible {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: min(610px, 68vh);
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 16, 0.5);
}

.hero-content {
  position: relative;
  padding-top: 90px;
  padding-bottom: 60px;
}

.kicker,
.eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .kicker {
  color: #ffe49a;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 700;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 28px;
  font-size: 18px;
  line-height: 1.7;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 5px;
  font-weight: 800;
}

.briefing-band {
  background: var(--ink);
  color: #ffffff;
}

.briefing-grid {
  min-height: 70px;
  display: grid;
  grid-template-columns: 110px repeat(3, 1fr);
  align-items: center;
  gap: 20px;
}

.briefing-grid strong {
  color: #ffe49a;
}

.briefing-grid p {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid #555b5e;
  font-size: 13px;
}

.content-section,
.columns-section {
  padding-top: 78px;
  padding-bottom: 86px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--ink);
}

.section-heading h2,
.signal-panel h2,
.feature-band h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 38px;
  line-height: 1.18;
}

.search-control {
  width: min(310px, 100%);
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.search-control input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
}

.search-control input:focus {
  outline: 3px solid rgba(49, 90, 118, 0.24);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  padding-top: 28px;
}

.story-list {
  border-top: 1px solid var(--line);
}

.story-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 160px;
  gap: 24px;
  min-height: 158px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.story-row[hidden] {
  display: none;
}

.story-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.story-meta span {
  color: var(--green);
  font-weight: 800;
}

.story-meta time {
  color: var(--muted);
}

.story-row h3,
.columns-grid h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 23px;
  line-height: 1.35;
}

.story-row p,
.columns-grid p,
.feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.story-thumb {
  min-height: 108px;
  background-image: url("assets/city-operations.png");
  background-repeat: no-repeat;
  background-size: 540%;
  border-radius: 2px;
}

.story-thumb-one { background-position: 18% 44%; }
.story-thumb-two { background-position: 46% 70%; }
.story-thumb-three { background-position: 76% 62%; }
.story-thumb-four { background-position: 55% 18%; }

.signal-panel {
  align-self: start;
  background: var(--surface);
  border-top: 5px solid var(--green);
  padding: 26px;
}

.signal-panel h2 {
  font-size: 30px;
  margin-bottom: 28px;
}

.signal-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.signal-item span,
.signal-item strong {
  display: block;
}

.signal-item span {
  color: var(--muted);
  font-size: 12px;
}

.signal-item strong {
  margin-top: 5px;
  font-size: 16px;
}

.signal-bar {
  height: 5px;
  margin-top: 12px;
  background: #dedfd9;
}

.signal-bar i {
  display: block;
  height: 100%;
  background: var(--blue);
}

.signal-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.empty-state {
  padding: 36px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.feature-band {
  background: var(--green);
  color: #ffffff;
  padding: 80px 0;
}

.feature-band .eyebrow {
  color: #ffe49a;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.feature-band h2 {
  font-size: 42px;
}

.feature-copy {
  display: grid;
  gap: 22px;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.compact-heading {
  align-items: start;
}

.columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.columns-grid article {
  min-height: 245px;
  padding: 32px 30px 34px 0;
  border-right: 1px solid var(--line);
}

.columns-grid article + article {
  padding-left: 30px;
}

.columns-grid article:last-child {
  border-right: 0;
}

.column-number {
  display: block;
  margin-bottom: 45px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  background: var(--ink);
  color: #ffffff;
  padding: 38px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-inner strong {
  font-family: Georgia, serif;
  font-size: 20px;
}

.footer-inner p {
  margin: 5px 0 0;
  color: #adb2b3;
  font-size: 12px;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 680px);
  }

  .header-top {
    min-height: 76px;
  }

  .edition span {
    display: none;
  }

  .nav-inner {
    gap: 25px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .briefing-grid {
    grid-template-columns: 100px 1fr;
    padding: 18px 0;
  }

  .briefing-grid p:nth-of-type(n + 2) {
    display: none;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .search-control {
    width: 100%;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .story-row {
    grid-template-columns: 64px minmax(0, 1fr) 110px;
    gap: 16px;
  }

  .signal-panel {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .columns-grid {
    grid-template-columns: 1fr;
  }

  .columns-grid article,
  .columns-grid article + article {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .column-number {
    margin-bottom: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .edition {
    font-size: 11px;
  }

  .hero {
    min-height: 490px;
  }

  .hero > img {
    object-position: 61% center;
  }

  .hero h1 {
    font-size: 44px;
  }

  .briefing-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .briefing-grid p {
    padding-left: 0;
    border-left: 0;
  }

  .content-section,
  .columns-section {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .section-heading h2,
  .feature-band h2 {
    font-size: 32px;
  }

  .story-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-meta {
    flex-direction: row;
    justify-content: space-between;
  }

  .story-thumb {
    min-height: 150px;
    order: -1;
    background-size: 430%;
  }

  .feature-band {
    padding: 58px 0;
  }
}
