:root {
  --paper: #f2eee4;
  --paper-2: #e7e0d0;
  --ink: #16201a;
  --muted: #667069;
  --forest: #173f33;
  --forest-2: #2f6755;
  --mint: #a9c7b8;
  --gold: #d0a34f;
  --coral: #ce7059;
  --blue: #547fa4;
  --line: rgba(22, 32, 26, .16);
  --soft: rgba(255, 253, 247, .62);
  --shadow: 0 24px 64px rgba(22, 32, 26, .10);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(208, 163, 79, .15), transparent 24rem),
    linear-gradient(rgba(22, 32, 26, .025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 100% 32px, auto;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
select {
  font: inherit;
}

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

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 68px;
  padding: 0 clamp(20px, 4vw, 64px);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 228, .9);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
}

.site-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.site-context {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .12em;
}

.eyebrow {
  margin: 0;
  color: var(--forest-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
}

.hub-hero {
  position: relative;
  display: grid;
  min-height: 620px;
  padding: clamp(80px, 12vw, 150px) clamp(22px, 8vw, 130px);
  align-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hub-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -18vw;
  width: min(48vw, 650px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 4vw rgba(23, 63, 51, .035), 0 0 0 9vw rgba(23, 63, 51, .025);
  content: "";
}

.hub-hero h1 {
  max-width: 920px;
  margin: 22px 0 0;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 560;
  letter-spacing: -.065em;
  line-height: .98;
}

.hub-lede {
  max-width: 640px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.8;
}

.hub-count {
  display: flex;
  margin-top: 44px;
  gap: 12px;
  align-items: baseline;
}

.hub-count strong {
  color: var(--forest);
  font-size: 40px;
  font-weight: 560;
}

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

.hub-library {
  padding: clamp(76px, 10vw, 130px) clamp(22px, 7vw, 110px);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(120px, .35fr) 1fr;
  padding-bottom: 34px;
  align-items: end;
  border-bottom: 1px solid var(--ink);
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 560;
  letter-spacing: -.05em;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.report-card {
  display: grid;
  min-height: 390px;
  padding: clamp(24px, 3vw, 38px);
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  background: var(--soft);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.report-card:hover {
  background: rgba(255, 253, 247, .92);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.report-card-head,
.report-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-card-head span,
.report-card-head em,
.report-card > div > p {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .08em;
}

.report-card-head em {
  color: var(--forest-2);
}

.report-card h3 {
  max-width: 560px;
  margin: 14px 0 18px;
  font-size: clamp(27px, 3.1vw, 44px);
  font-weight: 560;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.report-description {
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.report-card-foot {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.report-card-foot ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  color: var(--muted);
  font-size: 10px;
}

.report-card-foot span {
  color: var(--forest);
  font-size: 22px;
}

.loading-state,
.error-state {
  color: var(--muted);
}

.site-footer {
  display: flex;
  padding: 30px clamp(22px, 7vw, 110px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #111913;
  color: #aeb8b0;
  font-size: 10px;
}

/* Chat awards */

.awards-page {
  background:
    radial-gradient(circle at 82% 5%, rgba(206, 112, 89, .12), transparent 25rem),
    linear-gradient(rgba(22, 32, 26, .025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 100% 32px, auto;
}

.back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}

.awards-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  min-height: 640px;
  border-bottom: 1px solid var(--line);
}

.awards-hero-copy {
  display: flex;
  padding: clamp(80px, 10vw, 138px) clamp(22px, 7vw, 110px);
  flex-direction: column;
  justify-content: center;
}

.awards-hero h1 {
  max-width: 920px;
  margin: 22px 0 0;
  font-size: clamp(52px, 7.2vw, 102px);
  font-weight: 560;
  letter-spacing: -.065em;
  line-height: .96;
}

.awards-lede {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.coverage-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 32px;
  padding: 10px 14px;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 11px;
}

.coverage-note::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest-2);
  content: "";
}

.awards-hero-side {
  display: grid;
  padding: 42px;
  grid-template-columns: 1fr 1fr;
  align-content: end;
  background: var(--forest);
  color: var(--paper);
}

.hero-stat {
  min-height: 148px;
  padding: 22px;
  border-top: 1px solid rgba(242, 238, 228, .18);
}

.hero-stat:nth-child(odd) {
  border-right: 1px solid rgba(242, 238, 228, .18);
}

.hero-stat strong {
  display: block;
  color: var(--gold);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 540;
  letter-spacing: -.05em;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--mint);
  font-size: 11px;
}

.awards-section {
  padding: clamp(76px, 9vw, 120px) clamp(22px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
}

.awards-section-head {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: 5vw;
  align-items: end;
}

.awards-section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 560;
  letter-spacing: -.05em;
}

.awards-section-head p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.winner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.winner-card {
  display: grid;
  min-height: 190px;
  padding: 22px;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.winner-card:hover,
.winner-card[aria-pressed="true"] {
  background: var(--forest);
  color: var(--paper);
  transform: translateY(-2px);
}

.winner-card span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .08em;
}

.winner-card:hover span,
.winner-card[aria-pressed="true"] span {
  color: var(--mint);
}

.winner-card strong {
  align-self: end;
  margin-top: 26px;
  font-size: 23px;
  font-weight: 560;
  line-height: 1.15;
}

.winner-card em {
  margin-top: 8px;
  color: var(--forest-2);
  font-size: 11px;
  font-style: normal;
}

.winner-card:hover em,
.winner-card[aria-pressed="true"] em {
  color: var(--gold);
}

.explorer-section {
  background: var(--forest);
  color: var(--paper);
}

.explorer-section .eyebrow {
  color: var(--gold);
}

.explorer-section .awards-section-head p:last-child {
  color: var(--mint);
}

.explorer-controls {
  display: flex;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 8px;
}

.category-button {
  padding: 9px 14px;
  border: 1px solid rgba(242, 238, 228, .24);
  border-radius: 999px;
  background: transparent;
  color: var(--mint);
  cursor: pointer;
  font-size: 11px;
}

.category-button:hover,
.category-button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--forest);
}

.explorer-layout {
  display: grid;
  grid-template-columns: minmax(190px, .36fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  margin-top: 46px;
}

.award-list {
  display: grid;
  align-content: start;
  border-top: 1px solid rgba(242, 238, 228, .18);
}

.award-list button {
  display: flex;
  padding: 15px 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid rgba(242, 238, 228, .18);
  background: transparent;
  color: var(--mint);
  cursor: pointer;
  text-align: left;
}

.award-list button:hover,
.award-list button[aria-current="true"] {
  color: var(--paper);
}

.award-list button::after {
  color: var(--gold);
  content: "↗";
  opacity: 0;
}

.award-list button[aria-current="true"]::after {
  opacity: 1;
}

.ranking-panel {
  min-width: 0;
}

.ranking-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.ranking-header h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 540;
  letter-spacing: -.05em;
}

.ranking-header p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--mint);
  font-size: 12px;
  line-height: 1.7;
}

.ranking-coverage {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  white-space: nowrap;
}

.ranking-bars {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.ranking-row {
  display: grid;
  width: 100%;
  padding: 0;
  grid-template-columns: minmax(112px, 180px) minmax(0, 1fr) minmax(72px, auto);
  gap: 16px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.ranking-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.ranking-name span {
  margin-right: 10px;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.ranking-track {
  height: 10px;
  background: rgba(242, 238, 228, .11);
  overflow: hidden;
}

.ranking-bar {
  height: 100%;
  background: var(--mint);
  transition: width .3s ease;
}

.ranking-row:first-child .ranking-bar {
  background: var(--gold);
}

.ranking-score {
  text-align: right;
  white-space: nowrap;
}

.ranking-score strong {
  font-size: 18px;
  font-weight: 540;
}

.ranking-score small {
  margin-left: 5px;
  color: var(--mint);
  font-size: 9px;
}

.ranking-detail {
  grid-column: 2 / -1;
  display: flex;
  margin-top: -12px;
  flex-wrap: wrap;
  gap: 5px 16px;
  color: var(--mint);
  font-size: 9px;
}

.ranking-row:hover .ranking-name,
.ranking-row[data-selected="true"] .ranking-name {
  color: var(--gold);
}

.evidence-panel {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) 1fr;
  gap: 30px;
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid rgba(242, 238, 228, .18);
}

.evidence-panel h4 {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 540;
}

.evidence-list {
  display: grid;
  gap: 10px;
}

.evidence-item {
  margin: 0;
  padding: 18px 20px;
  background: rgba(242, 238, 228, .08);
}

.evidence-item blockquote {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.evidence-item figcaption {
  margin-top: 12px;
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.empty-evidence {
  color: var(--mint);
  font-size: 12px;
}

.method-section {
  background: var(--paper-2);
}

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

.method-card {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, .35);
}

.method-card span {
  color: var(--forest-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.method-card h3 {
  margin: 36px 0 14px;
  font-size: 21px;
  font-weight: 560;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

@media (max-width: 1000px) {
  .winner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-context {
    display: none;
  }

  .hub-hero,
  .awards-hero {
    min-height: auto;
  }

  .hub-hero {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .report-grid,
  .awards-hero,
  .awards-section-head,
  .explorer-layout,
  .evidence-panel {
    grid-template-columns: 1fr;
  }

  .awards-hero-side {
    min-height: 330px;
  }

  .winner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .award-list {
    display: flex;
    padding-bottom: 8px;
    gap: 8px;
    overflow-x: auto;
    border-top: 0;
    scrollbar-width: thin;
  }

  .award-list button {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid rgba(242, 238, 228, .2);
    border-radius: 999px;
    white-space: nowrap;
  }

  .award-list button::after {
    display: none;
  }

  .ranking-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 520px) {
  .site-header {
    min-height: 60px;
  }

  .hub-hero h1,
  .awards-hero h1 {
    font-size: 48px;
  }

  .hub-library,
  .awards-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .report-card {
    min-height: 350px;
  }

  .awards-hero-copy {
    padding-right: 20px;
    padding-left: 20px;
  }

  .awards-hero-side {
    padding: 22px;
  }

  .hero-stat {
    padding: 16px 10px;
  }

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

  .winner-card {
    min-height: 165px;
    padding: 17px;
  }

  .winner-card strong {
    font-size: 18px;
  }

  .ranking-row {
    grid-template-columns: minmax(96px, 118px) minmax(0, 1fr);
    gap: 9px;
  }

  .ranking-score {
    grid-column: 2;
    text-align: left;
  }

  .ranking-detail {
    grid-column: 1 / -1;
    margin-top: -4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .report-card,
  .winner-card,
  .ranking-bar {
    transition: none;
  }
}
