@font-face {
  font-family: "Golos Text";
  src: url("golos-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("golos-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  color-scheme: light;
  --paper: #faf5eb;
  --ink: #271f1a;
  --quiet: #5e5149;
  --red: #b51b24;
  --dark-red: #8e1720;
  --line: #ded3c7;
  font-family: "Golos Text", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }

.counter-pixel {
  position: absolute;
  left: -9999px;
}

.wrap {
  width: min(100% - clamp(38px, 9.5vw, 144px), 1240px);
  margin-inline: auto;
}

.hero { padding-block: 36px 46px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  grid-template-areas: "masthead photo" "copy photo";
  column-gap: clamp(32px, 6vw, 88px);
  grid-template-rows: auto 1fr;
}

.masthead {
  grid-area: masthead;
  display: flex;
  gap: clamp(15px, 2vw, 26px);
  align-items: center;
  min-width: 0;
}

.brand {
  display: block;
  width: clamp(98px, 9vw, 126px);
  height: auto;
}

.masthead p {
  border-left: 1px solid var(--line);
  padding-left: clamp(15px, 2vw, 26px);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--quiet);
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  padding-block: 34px 18px;
}

h1 {
  font-size: clamp(2.65rem, 5.05vw, 4.65rem);
  font-weight: 730;
  letter-spacing: -.018em;
  line-height: 1.09;
}

h1 strong {
  color: var(--red);
  font-weight: inherit;
}

h1 span {
  display: block;
  margin-top: .12em;
  font-size: .73em;
  letter-spacing: -.012em;
}

.award-subtitle {
  margin-top: .72em;
  font-size: clamp(1.125rem, 2.45vw, 2rem);
  font-weight: 650;
  line-height: 1.23;
}

.story, .nomination {
  max-width: 47ch;
  font-size: clamp(.9375rem, 1.4vw, 1.125rem);
  line-height: 1.55;
}

.story { margin-top: 24px; }
.nomination { margin-top: 12px; }

.vote-button {
  display: inline-flex;
  gap: 1.25em;
  align-items: center;
  justify-content: space-between;
  padding: .92em 1.25em;
  min-height: 54px;
  border-radius: 9px;
  color: #fff;
  background: var(--red);
  font-size: clamp(.9375rem, 1.35vw, 1.125rem);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease;
}

.vote-button:hover { background: var(--dark-red); }
.vote-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.vote-button span { flex: 0 0 auto; font-size: 1.2em; line-height: 1; }
.hero-copy .vote-button { margin-top: 24px; }

.deadline {
  margin-top: 11px;
  color: var(--quiet);
  font-size: .8125rem;
  line-height: 1.45;
}

.deadline time { white-space: nowrap; }

.hero-image {
  grid-area: photo;
  display: block;
  align-self: stretch;
  position: relative;
  min-height: clamp(530px, 55vw, 670px);
  border-radius: 16px 16px clamp(36px, 7vw, 105px) 16px;
  overflow: hidden;
  background: #c91e25;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.instructions {
  padding-block: clamp(56px, 7vw, 100px);
  color: var(--paper);
  background: #8a1b24;
}

.instructions-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(32px, 7vw, 100px);
}

.minute h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.5rem);
  font-weight: 750;
  letter-spacing: -.024em;
  line-height: 1.05;
}

.minute h2 span { display: block; text-wrap: balance; }
.minute h2 span + span { margin-top: .11em; color: #ffd2bb; }

.minute p {
  margin-top: 24px;
  max-width: 35ch;
  font-size: clamp(1rem, 1.45vw, 1.1875rem);
  line-height: 1.6;
}

.guide {
  border-radius: 16px;
  padding: clamp(22px, 4vw, 42px);
  color: var(--ink);
  background: var(--paper);
}

.guide h3 {
  font-size: clamp(1.45rem, 2.45vw, 2.25rem);
  letter-spacing: -.019em;
  line-height: 1.1;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 8px 0 19px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f3dfd8;
  color: var(--dark-red);
  font-size: .875rem;
  font-weight: 700;
}

.steps strong, .steps span { display: block; }
.steps strong { font-size: 1rem; line-height: 1.4; }
.steps span { margin-top: 4px; color: var(--quiet); font-size: .9375rem; line-height: 1.5; }

.luck { padding-block: clamp(40px, 7vw, 92px); }

.luck-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  column-gap: clamp(24px, 5vw, 80px);
}

.luck-copy h2 {
  font-size: clamp(2.2rem, 4.7vw, 4.35rem);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -.022em;
}

.luck-copy h2 span { display: block; color: var(--red); }
.luck-copy p { margin-block: 18px 22px; max-width: 34ch; font-size: clamp(1rem, 1.5vw, 1.1875rem); line-height: 1.6; }

.luck-image {
  display: grid;
  place-items: center;
  min-width: 0;
  background: radial-gradient(ellipse closest-side, #efd89fb8, transparent);
}

.luck-image img { display: block; width: min(100%, 400px); height: auto; filter: drop-shadow(0 16px 21px #62271728); }

.site-footer { border-top: 1px solid var(--line); padding-block: 20px; }
.site-footer-inner { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.site-footer a { color: var(--quiet); font-size: .8125rem; text-underline-offset: .2em; }
.site-footer a:hover { color: var(--red); }

.legal { padding-block: clamp(30px, 7vw, 88px); }
.legal-inner { max-width: 760px; line-height: 1.65; }
.legal a { color: var(--dark-red); text-underline-offset: .2em; }
.legal h1 { font-size: clamp(1.75rem, 5vw, 3.25rem); margin-block: 22px 18px; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.3rem; line-height: 1.3; margin-top: 24px; }
.legal p { margin-top: 10px; }

@media (max-width: 900px) {
  .hero-image { min-height: 490px; }
  .hero-copy { padding-top: 26px; }
}

@media (max-width: 820px) {
  .hero { padding-block: 19px 30px; }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "masthead" "copy" "photo";
    grid-template-rows: auto;
  }

  .hero-copy { padding-block: 25px 22px; }
  h1 { font-size: clamp(2.45rem, 8.6vw, 4.1rem); }
  .story { margin-top: 17px; }
  .nomination { margin-top: 8px; }
  .hero-copy .vote-button { margin-top: 17px; }
  .deadline { margin-top: 9px; }
  .hero-image { min-height: 0; aspect-ratio: 1 / 1.16; }
  .instructions-grid { grid-template-columns: 1fr; gap: 29px; }
  .minute p { margin-top: 17px; }
  .luck-grid { grid-template-columns: 1fr; row-gap: 12px; }
  .luck-image { grid-row: 1; }
  .luck-image img { width: min(78vw, 290px); }
}

@media (max-width: 400px) {
  .vote-button { width: 100%; }
  .masthead p { font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .vote-button { transition: none; }
}
