:root {
  --black: #000; --carbon: #111; --graphite: #2b2b2b; --neutral: #666; --fog: #bfbfbf;
  --mineral: #e6e6e6; --paper: #f7f5ee; --white: #fff; --orange: #ff5a24; --max: 1560px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 112px; }
body { margin: 0; color: var(--carbon); background: var(--mineral); font-family: Inter, "Noto Sans SC", "PingFang SC", Arial, sans-serif; }
a { color: inherit; }
button { font: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 30; display: grid;
  grid-template-columns: minmax(270px, 1.35fr) auto 1fr; align-items: center; gap: 42px;
  min-height: 92px; padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white); background: rgba(0, 0, 0, .97); border-bottom: 5px solid var(--orange); backdrop-filter: blur(16px);
}
.brand { display: block; width: min(100%, 430px); height: 66px; text-decoration: none; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: stretch; gap: 4px; height: 40px; }
.desktop-nav a {
  display: grid; place-items: center; min-width: 88px; padding: 0 18px; color: var(--white);
  text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 900; letter-spacing: .07em; border-bottom: 3px solid transparent;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--orange); border-color: var(--orange); }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 18px; }
.edition { color: var(--fog); font: 700 10px/1.2 ui-monospace, monospace; letter-spacing: .12em; }
.language-switch { display: inline-flex; align-items: center; gap: 4px; color: var(--fog); }
.language-switch a { border: 0; padding: 8px 10px; color: var(--white); background: transparent; font: 800 12px/1 ui-monospace, monospace; text-decoration: none; cursor: pointer; }
.language-switch a[aria-current="page"] { color: var(--white); background: var(--orange); }
.language-switch a:focus-visible, a:focus-visible { outline: 3px solid rgba(255, 90, 36, .65); outline-offset: 3px; }

main { overflow: hidden; }
.hero-stage { position: relative; width: min(100%, var(--max)); min-height: 690px; margin: 0 auto; color: var(--white); background: var(--carbon); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 33%, rgba(0,0,0,.16) 72%), linear-gradient(0deg, rgba(0,0,0,.75), transparent 44%); }
.hero-corner { position: absolute; top: 0; right: 0; width: clamp(150px, 17vw, 300px); height: clamp(150px, 17vw, 300px); background: var(--orange); clip-path: polygon(43% 0, 100% 0, 100% 100%); }
.hero-copy { position: relative; z-index: 2; max-width: 900px; padding: 94px 64px 190px; }
.eyebrow, .section-index { margin: 0 0 24px; color: var(--orange); font: 900 13px/1.2 ui-monospace, monospace; letter-spacing: .11em; }
.hero-copy .eyebrow { display: inline-block; padding: 10px 38px 10px 16px; color: var(--white); background: var(--orange); clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
.hero-copy h1 {
  margin: 0; max-width: 940px; color: var(--white); text-transform: uppercase;
  font-family: "Arial Narrow", Inter, "Noto Sans SC", sans-serif; font-style: italic; font-weight: 950;
  font-size: clamp(64px, 8.4vw, 136px); line-height: .84; letter-spacing: -.065em; text-shadow: 0 5px 24px rgba(0,0,0,.4);
}
[data-locale="zh"] .hero-copy h1 { font-style: normal; letter-spacing: -.08em; }
.hero-copy > p:not(.eyebrow) { max-width: 670px; margin: 36px 0 22px; color: var(--white); font-size: clamp(17px, 1.55vw, 24px); font-weight: 650; line-height: 1.35; }
.hero-copy > p:not(.eyebrow)::before { content: ""; display: block; width: 88px; height: 8px; margin-bottom: 22px; background: var(--orange); transform: skewX(-20deg); }
.update-line { display: flex; align-items: center; gap: 12px; color: #ddd; font: 600 11px/1.4 ui-monospace, monospace; }
.live-label { padding: 6px 9px; color: var(--white); background: var(--orange); font-weight: 900; letter-spacing: .08em; }
.hero-ticker { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 112px; color: var(--carbon); background: rgba(247, 245, 238, .97); border-top: 5px solid var(--orange); }
.hero-ticker a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: center; padding: 18px 24px; text-decoration: none; border-right: 1px solid var(--fog); }
.hero-ticker a:hover { background: var(--white); }
.hero-ticker span { grid-row: 1 / 3; align-self: start; color: var(--orange); font: italic 950 25px/1 "Arial Narrow", sans-serif; }
.hero-ticker strong { overflow: hidden; display: -webkit-box; font-size: 14px; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hero-ticker small { margin-top: 8px; color: var(--neutral); font: 600 10px/1 ui-monospace, monospace; }

.brief, .method { width: min(100%, var(--max)); margin: 0 auto; padding-inline: 54px; }
.brief { padding-block: 76px 104px; background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 2px solid var(--carbon); }
.section-heading h2, .method h2 { margin: 0; text-transform: uppercase; font-family: "Arial Narrow", Inter, "Noto Sans SC", sans-serif; font-style: italic; font-size: clamp(46px, 5.3vw, 78px); font-weight: 950; line-height: .9; letter-spacing: -.05em; }
[data-locale="zh"] .section-heading h2, [data-locale="zh"] .method h2 { font-style: normal; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.filters button { min-height: 42px; padding: 10px 14px; border: 1px solid var(--carbon); color: var(--carbon); background: transparent; font-size: 11px; font-weight: 850; text-transform: uppercase; cursor: pointer; }
.filters button span { margin-left: 5px; color: var(--neutral); font: 700 9px/1 ui-monospace, monospace; }
.filters button:hover, .filters button:focus-visible { color: var(--white); background: var(--graphite); outline: 3px solid rgba(255, 90, 36, .45); outline-offset: 2px; }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--orange); border-color: var(--orange); }
.filters button[aria-pressed="true"] span { color: var(--white); }
.demo-notice { margin-bottom: 24px; padding: 12px 16px; color: var(--carbon); background: #ffd9c9; border-left: 7px solid var(--orange); font-size: 13px; }

.lead-story { display: grid; grid-template-columns: 7fr 5fr; min-height: 480px; margin-bottom: 26px; color: var(--white); background: var(--carbon); border-top: 9px solid var(--orange); }
.lead-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px, 4vw, 60px); }
.story-kicker { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--mineral); font: 700 11px/1.4 ui-monospace, monospace; text-transform: uppercase; }
.score { display: inline-flex; min-width: 60px; height: 60px; flex-direction: column; align-items: center; justify-content: center; color: var(--white); background: var(--orange); font-size: 18px; font-weight: 950; }
.score small { margin-bottom: 3px; font: 750 8px/1 ui-monospace, monospace; letter-spacing: .05em; }
.lead-copy h3 { overflow: hidden; display: -webkit-box; margin: 44px 0 22px; text-transform: uppercase; overflow-wrap: anywhere; font-size: clamp(36px, 3.7vw, 60px); font-weight: 900; line-height: .98; letter-spacing: -.04em; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
[data-locale="zh"] .lead-copy h3 { text-transform: none; }
.lead-copy p { overflow: hidden; display: -webkit-box; max-width: 760px; margin: 0 0 30px; color: #d4d4d4; font-size: 16px; line-height: 1.55; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.lead-copy p strong, .story-card p strong { color: inherit; font-weight: 850; }
.lead-copy p code, .story-card p code { padding: 1px 4px; background: rgba(127,127,127,.16); font-family: ui-monospace, monospace; }
.read-link { width: fit-content; padding-bottom: 5px; border-bottom: 4px solid var(--orange); font-weight: 850; text-decoration: none; }
.story-visual, .card-visual { position: relative; overflow: hidden; }
.story-visual { min-height: 360px; background: #151515; }
.card-visual { background: var(--mineral); }
.story-visual img, .card-visual img { display: block; width: 100%; height: 100%; object-position: center; }
.story-visual img.media-contain, .card-visual img.media-contain { object-fit: contain; }
.story-visual img.media-cover, .card-visual img.media-cover { object-fit: cover; }
.story-visual::after { content: ""; position: absolute; inset: 0; border-left: 12px solid var(--orange); pointer-events: none; }

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--carbon); border: 2px solid var(--carbon); }
.story-card { min-width: 0; background: var(--white); }
.story-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.story-card:last-child:nth-child(3n + 2) { grid-column: span 2; }
.story-card:last-child:is(:nth-child(3n + 1), :nth-child(3n + 2)) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.story-card:last-child:is(:nth-child(3n + 1), :nth-child(3n + 2)) .card-visual { height: 100%; min-height: 320px; }
.card-visual { height: 210px; }
.card-plane { position: absolute; top: 0; right: 0; width: 74px; height: 74px; background: var(--orange); clip-path: polygon(42% 0, 100% 0, 100% 100%); }
.card-copy { padding: 26px; }
.story-card .story-kicker { color: var(--neutral); }
.story-card h3 { overflow: hidden; display: -webkit-box; margin: 25px 0 16px; overflow-wrap: anywhere; font-size: clamp(22px, 1.8vw, 29px); line-height: 1.08; letter-spacing: -.03em; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.story-card p { overflow: hidden; display: -webkit-box; margin: 0 0 25px; color: var(--neutral); line-height: 1.55; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tag { padding: 5px 7px; color: var(--graphite); background: var(--mineral); font: 650 10px/1.2 ui-monospace, monospace; }
.empty-state { padding: 70px 20px; border: 1px solid var(--fog); text-align: center; }

.method { display: grid; grid-template-columns: 5fr 7fr; gap: 70px; padding-block: 90px 120px; color: var(--white); background: var(--carbon); border-top: 13px solid var(--orange); }
.method .section-index { color: var(--orange); }
.method ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; background: #4c4c4c; }
.method li { min-height: 260px; padding: 25px; background: var(--graphite); }
.method li:nth-child(2) { background: #383838; }
.method li:nth-child(3) { background: #464646; }
.method li > span { color: var(--orange); font: 900 13px/1 ui-monospace, monospace; }
.method strong { display: block; margin-top: 66px; font-size: 25px; }
.method li p { color: var(--fog); line-height: 1.4; }

footer { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 58px max(54px, calc((100vw - var(--max)) / 2 + 54px)); color: var(--white); background: var(--black); border-top: 1px solid #333; }
.footer-brand { width: min(100%, 360px); height: 60px; }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
footer p { margin: 0; color: var(--fog); }
.attribution { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid #444; font-size: 12px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .edition { display: none; }
  .hero-copy { padding-inline: 40px; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-card:last-child:is(:nth-child(3n + 1), :nth-child(3n + 2)) { grid-column: auto; display: block; }
  .story-card:last-child:is(:nth-child(3n + 1), :nth-child(3n + 2)) .card-visual { height: 210px; min-height: 0; }
  .story-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .story-card:last-child:nth-child(odd) .card-visual { height: 100%; min-height: 280px; }
  .method { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  section[id] { scroll-margin-top: 88px; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; min-height: 74px; padding: 7px 14px; border-bottom-width: 4px; }
  .brand { width: min(190px, calc(100vw - 112px)); height: 54px; }
  .header-tools { gap: 0; }
  .language-switch a { padding: 7px 8px; }
  .hero-stage { min-height: 720px; }
  .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.3)), linear-gradient(0deg, rgba(0,0,0,.88), transparent 55%); }
  .hero-copy { padding: 76px 20px 330px; }
  .hero-copy h1 { font-size: clamp(52px, 17vw, 82px); }
  .hero-ticker { grid-template-columns: 1fr; min-height: 270px; }
  .hero-ticker a { padding: 13px 18px; border-right: 0; border-bottom: 1px solid var(--fog); }
  .brief, .method { padding-inline: 20px; }
  .section-heading { align-items: start; flex-direction: column; }
  .filters { justify-content: flex-start; }
  .lead-story { grid-template-columns: 1fr; }
  .story-visual { order: -1; min-height: 280px; }
  .lead-copy h3 { margin-top: 34px; font-size: clamp(32px, 10vw, 42px); -webkit-line-clamp: 5; }
  .lead-copy p { font-size: 15px; -webkit-line-clamp: 5; }
  .story-grid, .method ol { grid-template-columns: 1fr; }
  .story-card:last-child:nth-child(odd) { grid-column: auto; display: block; }
  .story-card:last-child:nth-child(odd) .card-visual { height: 250px; min-height: 0; }
  .card-visual { height: 250px; }
  footer { grid-template-columns: 1fr; padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
