:root {
  color-scheme: dark;
  --background: #080809;
  --surface: #111113;
  --line: #303035;
  --bright-line: #55555b;
  --text: #f3f2f0;
  --muted: #b5b4b8;
  --gold: #e4c789;
  --section-space: clamp(2.85rem, 6.1vw, 6.3rem);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, h4, p { margin: 0; }

body {
  color: var(--text);
  background: var(--background);
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.shell {
  width: min(100% - clamp(2rem, 6.8vw, 7.5rem), 89rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: .5rem auto auto .5rem;
  padding: .65rem 1rem;
  color: #111;
  background: var(--text);
  transform: translateY(-150%);
}

.skip-link:not(:focus) { clip-path: inset(50%); }
.skip-link:focus { transform: none; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: #0c0c0d;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: .75rem;
  min-height: 4rem;
  padding-top: .35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  justify-self: start;
  min-height: 2.75rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: grayscale(1) brightness(1.35);
}

.award-nav {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: clamp(.9rem, 4vw, 2rem);
}

.award-nav a,
.back-link,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .82rem;
  text-decoration: none;
  text-underline-offset: .28em;
}

.award-nav a:hover,
.back-link:hover,
.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.back-link {
  grid-area: 1 / 2;
  justify-self: end;
}

.award-hero {
  display: grid;
  grid-template-areas: "title title" "copy trophy";
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  padding-block: clamp(1.6rem, 5vw, 3.4rem) 1.5rem;
}

.hero-title {
  grid-area: title;
  position: relative;
  z-index: 1;
}

.edition,
.countdown > p,
.archive-category,
.archive-gold-label,
.social-post-copy > span:first-child {
  color: var(--muted);
  font-size: .73rem;
  font-weight: 680;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.edition {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: clamp(.9rem, 2vw, 1.6rem);
}

.edition::before {
  width: 1.5rem;
  height: 1px;
  content: "";
  background: var(--bright-line);
}

.award-title {
  font-size: clamp(3.05rem, 15.8vw, 5.8rem);
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.award-title > span {
  display: block;
  white-space: nowrap;
}

.award-title em {
  color: #e6e5e2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.11em;
  font-weight: 400;
  letter-spacing: -.092em;
}

.title-year {
  margin-inline-start: .13em;
  color: var(--muted);
  font-size: .41em;
  font-weight: 600;
  letter-spacing: -.025em;
  vertical-align: .1em;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 1;
  padding-block: 1rem .35rem;
}

.campaign-line {
  max-width: 31ch;
  color: #dddadd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.94rem, 4vw, 1.55rem);
  line-height: 1.42;
  text-wrap: pretty;
}

.trophy {
  grid-area: trophy;
  justify-self: end;
  width: calc(100% + .6rem);
  margin: -1.2rem -.45rem 0 0;
  mask-image: linear-gradient(to right, transparent 0, #000 10% 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5% 90%, transparent 100%);
  mask-composite: intersect;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  min-height: 2.75rem;
  max-width: 100%;
  padding: .55rem .9rem;
  border: 1px solid transparent;
  font: inherit;
  font-size: .88rem;
  font-weight: 730;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.action-primary {
  color: #0e0e11;
  background: #eeedef;
}

.action-primary:hover { background: #fff; }

.action-secondary {
  border-color: #727177;
  color: var(--text);
  background: transparent;
}

.action-secondary:hover { border-color: var(--text); }

button.action { cursor: pointer; }
button.action:disabled { opacity: .65; cursor: wait; }

.action-arrow::after {
  width: .42rem;
  height: .42rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  content: "";
  transform: rotate(-45deg);
}

.hero-copy .action { margin-top: clamp(.75rem, 3vw, 1.35rem); }

.hero-copy .action-arrow::after {
  margin-top: -.16rem;
  transform: rotate(45deg);
}

.award-details,
.section-line { scroll-margin-top: 1.15rem; }

.award-details {
  display: grid;
  gap: 1.7rem;
  padding: clamp(1.1rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-top-color: var(--bright-line);
  background: linear-gradient(110deg, #18181b 0%, #121214 70%);
}

.voting,
.edition-calendar { min-width: 0; }

.award-details h2,
.section-line h2 {
  font-weight: 780;
  line-height: 1.03;
  letter-spacing: -.052em;
}

.award-details h2 { font-size: clamp(1.7rem, 4vw, 3.45rem); }
.section-line h2 { font-size: clamp(2.15rem, 6vw, 4.65rem); }

#voting-description,
.archive-heading p,
.social-bio {
  max-width: 51ch;
  margin-top: .62rem;
  color: var(--muted);
  font-size: clamp(.875rem, 1.3vw, 1rem);
}

.countdown { margin-top: 1.2rem; }

.countdown dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 37rem;
  margin: .55rem 0 0;
  border-block: 1px solid #45454b;
}

.countdown dl > div {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: .57rem .1rem .62rem;
}

.countdown dl > div + div { border-inline-start: 1px solid #45454b; }

.countdown dt {
  color: var(--muted);
  font-size: clamp(.57rem, 2.1vw, .7rem);
  letter-spacing: .035em;
  text-transform: uppercase;
}

.countdown dd {
  margin: 0;
  font-size: clamp(1.85rem, 8.9vw, 4.9rem);
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.055em;
}

#start-official-vote {
  min-height: 3.25rem;
  margin-top: 1.15rem;
  font-size: .98rem;
}

.edition-calendar {
  padding-top: 1rem;
  border-top: 1px solid #45454b;
}

.edition-calendar h3 { font-size: 1.05rem; }
.edition-calendar dl { margin: .3rem 0 0; }

.edition-calendar dl > div,
.official-results li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .2rem .65rem;
  padding-block: .62rem;
  border-bottom: 1px solid #3c3c41;
}

.edition-calendar dt,
.edition-calendar p { color: var(--muted); }

.edition-calendar dt,
.edition-calendar dd,
.edition-calendar p { font-size: .82rem; }

.edition-calendar dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.edition-calendar p { margin-top: .65rem; }

.official-results {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.section-line {
  margin-top: var(--section-space);
  padding-top: clamp(1.12rem, 3vw, 2rem);
  border-top: 1px solid var(--bright-line);
}

.archive-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.4rem 2rem;
}

.archive-years {
  display: flex;
  max-width: 100%;
  border-bottom: 1px solid var(--bright-line);
}

.archive-years button {
  position: relative;
  min-width: clamp(3.75rem, 8vw, 6.2rem);
  min-height: 2.9rem;
  padding: .25rem .65rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: clamp(.89rem, 2vw, 1.22rem);
  font-weight: 730;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.archive-years button:hover,
.archive-years button[aria-pressed="true"] {
  color: var(--text);
  background: var(--surface);
}

.archive-years button[aria-pressed="true"]::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--text);
  content: "";
}

.archive-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.55rem) clamp(.68rem, 1.5vw, 1.5rem);
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.archive-feature {
  display: grid;
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid #8a7447;
  background: #13110e;
}

.archive-media {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  width: 100%;
  overflow: hidden;
  background: #18181a;
}

.archive-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.archive-media img:not(.is-ready) { opacity: 0; }

.archive-image-note {
  padding: .6rem;
  text-align: center;
}

.archive-feature-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
  padding: clamp(1rem, 5vw, 3.7rem);
}

.archive-gold-label,
.archive-feature-percentage { color: var(--gold); }

.archive-feature-name {
  margin-top: .35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7.4vw, 7rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.archive-feature-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
  margin-top: .7rem;
}

.archive-feature-count {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  color: var(--muted);
  font-size: .82rem;
}

.archive-feature-percentage {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.archive-feature--text .archive-feature-copy { min-height: 15rem; }

.archive-feature-sources {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem 1rem;
  margin-top: .5rem;
}

.archive-source {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .88rem;
  text-underline-offset: .28em;
}

.archive-card {
  display: block;
  text-decoration: none;
}

.archive-card:focus-visible { outline-offset: 3px; }
.archive-card:hover .archive-media img { filter: brightness(1.13); }

.archive-caption {
  position: relative;
  padding: .58rem 1.1rem .64rem 0;
  border-bottom: 1px solid var(--line);
}

.archive-card:hover .archive-caption { border-color: #a09fa4; }

.archive-caption::after {
  position: absolute;
  inset: auto .1rem .73rem auto;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1;
  content: "↗";
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .08rem .45rem;
}

.archive-meta .archive-category { font-size: clamp(.58rem, 2vw, .72rem); }

.archive-percentage {
  color: var(--muted);
  font-size: clamp(.76rem, 2.8vw, .93rem);
  font-variant-numeric: tabular-nums;
}

.archive-winner {
  display: block;
  margin-top: .15rem;
  font-size: clamp(.98rem, 2.7vw, 1.34rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -.026em;
}

.archive-note,
.archive-image-note {
  max-width: 46ch;
  margin-top: .5rem;
  color: var(--muted);
  font-size: .78rem;
}

.social-profile {
  display: grid;
  gap: 1.4rem;
  margin-top: clamp(1rem, 3vw, 1.7rem);
  padding: clamp(1rem, 3.6vw, 2.9rem);
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.social-identity {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.3rem);
}

.social-identity img {
  flex: none;
  width: clamp(2.8rem, 7vw, 5rem);
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.5);
}

.social-identity h3 {
  font-size: clamp(1.27rem, 4.6vw, 2.45rem);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.social-identity p,
.social-status {
  color: var(--muted);
  font-size: .87rem;
}

.social-bio { margin-top: .85rem; }

.social-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-top: 1.05rem;
}

.social-status:not(:empty) { margin-top: .72rem; }

.social-post {
  display: grid;
  grid-template-columns: minmax(4.3rem, 28%) minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.social-post img {
  display: block;
  width: 100%;
  height: auto;
  background: #19191b;
}

.social-post-copy {
  display: grid;
  justify-items: start;
  gap: .32rem;
}

.social-post-copy strong {
  font-size: clamp(.93rem, 2.5vw, 1.32rem);
  line-height: 1.25;
}

.social-post-copy > span:last-child {
  color: var(--muted);
  font-size: .83rem;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.social-post:hover .social-post-copy > span:last-child { color: var(--text); }

.social-embed { grid-column: 1 / -1; }
.social-embed iframe { max-width: 100%; }

.award-info {
  display: grid;
  gap: 1rem 3rem;
  margin-bottom: var(--section-space);
}

.award-info h2 {
  max-width: 16ch;
  font-size: clamp(1.85rem, 4.5vw, 3.35rem);
}

.info-topics { border-bottom: 1px solid var(--line); }
.info-topics details { border-top: 1px solid var(--line); }

.info-topics summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem;
  min-height: 3.45rem;
  padding: .42rem .52rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 690;
  list-style: none;
}

.info-topics summary::-webkit-details-marker { display: none; }
.info-topics summary:hover { background: var(--surface); }

.info-topics summary::after {
  flex: none;
  width: 1.18rem;
  height: 1.18rem;
  color: var(--muted);
  background:
    linear-gradient(currentColor, currentColor) center / .84rem 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px .84rem no-repeat;
  content: "";
}

.info-topics details[open] > summary::after {
  background-size: .84rem 1px, 0 0;
}

.info-topics p {
  max-width: 68ch;
  padding: .25rem .52rem 1rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.68;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0c0c0d;
}

.footer-inner,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem 1rem;
}

.footer-inner {
  justify-content: space-between;
  min-height: 4.5rem;
  padding-block: .42rem;
  color: var(--muted);
  font-size: .83rem;
}

@media (min-width: 39rem) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 4.35rem;
    padding-top: 0;
  }

  .award-nav { grid-area: 1 / 2; }
  .back-link { grid-area: 1 / 3; }

  .award-hero {
    grid-template-areas: "title trophy" "copy trophy";
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-rows: 1fr 1fr;
    padding-block: .5rem .9rem;
  }

  .hero-title { align-self: end; }
  .hero-copy { align-self: start; }

  .award-title {
    font-size: clamp(3.2rem, 8.6vw, 8.6rem);
    line-height: .87;
  }

  .campaign-line { font-size: clamp(1.05rem, 1.72vw, 1.56rem); }

  .trophy {
    width: min(100%, 35rem);
    margin: 0;
  }

  .award-details { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

  .edition-calendar {
    padding: .1rem 0 0 1.2rem;
    border-top: 0;
    border-inline-start: 1px solid #45454b;
  }

  .countdown dd { font-size: clamp(2.15rem, 6vw, 4.9rem); }

  .archive-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .archive-feature {
    grid-template-columns: min(45%, 30rem) minmax(0, 1fr);
    align-items: stretch;
  }

  .archive-feature--text { grid-template-columns: 1fr; }

  .archive-caption { padding-block: .76rem; }

  .social-profile {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
  }

  .social-post {
    padding: 0 0 0 1.25rem;
    border: 0;
    border-inline-start: 1px solid var(--line);
  }

  .award-info { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

@media (min-width: 56rem) {
  .award-hero {
    padding-block: .3rem 1.55rem;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  }

  .trophy { margin-inline-end: clamp(.1rem, 2vw, 2.5rem); }

  .hero-copy { padding-top: 1.5rem; }

  .hero-copy .action {
    min-height: 3.05rem;
    padding-inline: 1.2rem;
  }

  .campaign-line { max-width: 34ch; }

  .award-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .voting {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: start;
    column-gap: clamp(1.6rem, 4vw, 4.75rem);
  }

  .voting > [role="status"],
  #start-official-vote {
    grid-column: 1;
    justify-self: start;
  }

  .countdown {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .countdown dl { max-width: none; }
  .official-results { grid-column: 1 / -1; }

  .edition-calendar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 1.4rem;
    padding: 1rem 0 0;
    border-top: 1px solid #45454b;
    border-inline-start: 0;
  }

  .edition-calendar dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
  }

  .edition-calendar dl > div {
    flex-direction: column;
    align-items: start;
    gap: .12rem;
    padding: 0 0 0 clamp(.45rem, 2vw, 1.3rem);
    border-bottom: 0;
    border-inline-start: 1px solid #45454b;
  }

  .edition-calendar p {
    margin: 0;
    text-align: right;
  }

  .countdown dl > div { padding-block: .73rem .8rem; }

  .archive-results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .archive-feature { margin-bottom: .25rem; }
  .archive-feature--text .archive-feature-copy {
    grid-template-areas: "label count" "name count" "note count" "sources count";
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 0 2rem;
    min-height: 21rem;
  }

  .archive-feature--text .archive-gold-label { grid-area: label; }
  .archive-feature--text .archive-feature-name { grid-area: name; }
  .archive-feature--text .archive-note { grid-area: note; }
  .archive-feature--text .archive-feature-sources { grid-area: sources; }

  .archive-feature--text .archive-feature-detail {
    grid-area: count;
    flex-direction: column;
    align-self: center;
    align-items: flex-end;
    justify-self: end;
    margin-top: 0;
  }

  .archive-feature--text .archive-feature-percentage {
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: .91;
    letter-spacing: -.06em;
  }

  .social-post {
    grid-template-columns: minmax(5.5rem, 36%) minmax(0, 1fr);
    gap: 1.25rem;
    padding-inline-start: 1.75rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .action,
  .archive-media img,
  .archive-years button {
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, filter .16s ease, opacity .16s ease;
  }

  .archive-feature { animation: reveal-feature .24s ease-out; }

  @keyframes reveal-feature {
    from { opacity: .82; }
    to { opacity: 1; }
  }
}
