@font-face {
  font-family: "Special Gothic";
  src: url("../assets/fonts/special-gothic-expanded-one.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Nata Sans";
  src: url("../assets/fonts/nata-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nata Sans";
  src: url("../assets/fonts/nata-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #080808;
  --coal: #111111;
  --paper: #eceae5;
  --white: #f7f6f2;
  --gray: #a09e99;
  --line: rgba(247, 246, 242, 0.2);
  --wine: #5f1018;
  --wine-bright: #b22d39;
  --display: "Special Gothic", sans-serif;
  --body: "Nata Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::selection { background: var(--wine-bright); color: var(--white); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.shell { width: min(100% - 32px, 1260px); margin-inline: auto; }
.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.hero { position: relative; background: #050505; }
.hero-bar {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform: translateX(-50%);
}
.hero-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 178px;
  min-height: 54px;
  padding: 0 19px 0 22px;
  border: 0;
  background: var(--wine-bright);
  color: var(--white);
  box-shadow: 0 10px 32px rgba(92,10,20,.32);
  clip-path: polygon(0 0, 94% 0, 100% 20%, 100% 100%, 6% 100%, 0 80%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.hero-cta span {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 15px;
  transition: transform .2s ease;
}
.hero-cta:hover { background: #d13b48; transform: translateY(-2px); }
.hero-cta:hover span { transform: translateY(2px); }
.hero-art { margin: 0; overflow: hidden; }
.hero-art img { width: 100%; min-height: 520px; object-fit: cover; object-position: center; }
.hero-caption {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: #0b0b0b;
  font-size: clamp(8px, 2.4vw, 12px);
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.4;
  text-align: center;
}
.hero-caption i { color: var(--wine-bright); font-style: normal; }

.section-index {
  color: #918c86;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}
.eyebrow {
  margin: 0 0 18px;
  color: #bcb9b3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}
.success h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .96;
  text-transform: uppercase;
}
.success h3 em { color: var(--wine-bright); font-style: normal; }

.post-hero { border-bottom: 1px solid var(--line); background: #0b0b0b; }
.post-hero-inner { display: grid; gap: 12px; padding-block: 45px 55px; }
.post-hero-logos { min-height: 135px; border-bottom: 1px solid #282624; }
.post-hero-copy {
  max-width: 620px;
  margin: 16px 0 0;
  color: #b7b4ae;
  font-size: 14px;
  line-height: 1.7;
}

.participate { padding-block: 48px 100px; background: var(--coal); }
.participate-grid { display: grid; }
.entry-steps {
  max-width: 980px;
  display: grid;
  margin-bottom: 46px;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}
.entry-steps li {
  min-height: 92px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 20px 8px;
}
.entry-steps li + li { border-top: 1px solid var(--line); }
.entry-steps span {
  align-self: start;
  padding-top: 4px;
  color: var(--wine-bright);
  font-family: var(--display);
  font-size: 10px;
}
.entry-steps strong {
  font-family: var(--display);
  font-size: clamp(19px, 5.6vw, 27px);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.08;
}

.form-wrap { width: 100%; max-width: 980px; margin-inline: auto; }
#entry-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  padding: 28px 22px 24px;
  border: 1px solid var(--line);
  background: #0b0b0b;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field > span {
  color: #96928d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
input, select {
  width: 100%;
  height: 52px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #55524e;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: border-color .2s ease;
}
input::placeholder { color: #77736e; opacity: 1; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 13px) 23px, calc(100% - 8px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: #111; color: white; }
input:focus, select:focus { border-color: var(--wine-bright); }
input.invalid, select.invalid { border-color: #bd4450; }
input[type="date"] { color-scheme: dark; }
.consent { display: flex; align-items: flex-start; gap: 12px; color: #817e79; font-size: 10px; line-height: 1.5; }
.consent input { flex: 0 0 15px; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--wine-bright); }
.consent.invalid { color: #bd4450; }
.form-error { min-height: 16px; margin: -8px 0 0; color: #d45d68; font-size: 11px; font-weight: 700; }
.submit-button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.submit-button:hover { background: var(--wine-bright); color: var(--white); transform: translateY(-2px); }
.submit-button:disabled { cursor: wait; opacity: .6; transform: none; }
.fine-print { margin: -5px 0 0; color: #5f5c58; font-size: 9px; line-height: 1.55; }

.success {
  min-height: 620px;
  padding: 48px 28px;
  border: 1px solid var(--line);
  background: #0b0b0b;
}
.success-number { display: block; margin-bottom: 90px; color: #363432; font-family: var(--display); font-size: clamp(76px, 22vw, 150px); line-height: .7; }
.success h3 { font-size: clamp(48px, 12vw, 76px); }
.success > p:not(.eyebrow) { max-width: 520px; margin: 30px 0 42px; color: #aaa7a1; font-size: 13px; line-height: 1.65; }
.success a { color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-decoration: none; }

footer { padding-block: 65px 25px; border-top: 1px solid var(--line); background: #050505; }
.brand-lockup { display: flex; align-items: center; justify-content: center; gap: 20px; overflow: hidden; }
.footer-logos { min-height: 170px; }
.new-era-logo { position: relative; flex: 0 0 182px; width: 182px; height: 75px; overflow: hidden; }
.new-era-logo img { position: absolute; top: -53px; left: 50%; width: 950px; max-width: none; transform: translateX(-50%); }
.logo-cross { color: #7e7a75; font-family: var(--display); font-size: 20px; }
.cro-logo { flex: 0 0 auto; width: 150px; height: 90px; object-fit: contain; filter: grayscale(1) brightness(1.18); }
.post-hero-logos { gap: 10px; }
.post-hero-logos .new-era-logo { flex-basis: 155px; width: 155px; height: 62px; }
.post-hero-logos .new-era-logo img { top: -44px; width: 790px; }
.post-hero-logos .cro-logo { width: 120px; height: 72px; }
.post-hero-logos .logo-cross { font-size: 14px; }
.footer-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid #242321; color: #918c86; font-size: 8px; font-weight: 700; letter-spacing: .13em; line-height: 1.5; }
.footer-meta span:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 700px) {
  .shell { width: min(100% - 64px, 1260px); }
  .hero-art img { min-height: 0; }
  .hero-bar { min-height: 82px; }
  .post-hero-inner { grid-template-columns: minmax(330px, .9fr) 1.1fr; align-items: center; gap: 7vw; padding-block: 55px; }
  .post-hero-logos { min-height: 150px; border-right: 1px solid #282624; border-bottom: 0; }
  .post-hero-copy { margin: 0; font-size: 16px; }
  .entry-steps { grid-template-columns: .85fr 1.15fr; }
  .entry-steps li { min-height: 112px; padding: 24px 28px; }
  .entry-steps li + li { border-top: 0; border-left: 1px solid var(--line); }
  .entry-steps strong { font-size: clamp(20px, 2.5vw, 29px); }
  #entry-form { grid-template-columns: 1fr 1fr; padding: 42px; gap: 30px 24px; }
  .field-wide { grid-column: 1 / -1; }
  .footer-logos { gap: 36px; }
  .footer-logos .new-era-logo { flex-basis: 235px; width: 235px; height: 82px; }
  .new-era-logo img { top: -66px; width: 1200px; }
  .footer-logos .cro-logo { width: 180px; height: 100px; }
  .post-hero-logos .new-era-logo img { top: -44px; width: 790px; }
}

@media (min-width: 980px) {
  .participate { padding-block: 64px 125px; }
}

@media (max-width: 500px) {
  .hero-art img { height: 124vw; min-height: 480px; object-position: center; }
  .hero-caption { flex-wrap: wrap; gap: 7px 10px; letter-spacing: .17em; }
  .footer-meta { flex-direction: column; }
  .footer-meta span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
