/* Main Event Supercross site: night stadium. Near-black navy, the logo's chrome blue, one red stripe. */

:root {
  --navy-top: #0a1430;
  --navy: #040816;
  --navy-deep: #01030c;
  --panel: #0b1430;
  --panel-edge: #1c2a55;
  --text: #f5f7ff;
  --muted: #8f9cc4;
  --blue: #3d8bff;
  --red: #e8112d;
  --red-deep: #b30a20;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: var(--navy-deep); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(40, 80, 180, 0.32) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy-top) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  background-color: var(--navy-deep);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: #fff; text-decoration-color: #fff; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 1040px; }

/* Header: the logo. */
.top { padding: 18px 0 8px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: inline-flex; align-items: center; text-decoration: none; }
.mark img { display: block; width: 150px; height: auto; }
.nav { display: flex; gap: 18px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

main { flex: 1; padding: 24px 0 48px; }

h1 {
  font-size: clamp(36px, 8vw, 58px); line-height: 1; margin: 12px 0 20px;
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.01em;
}
h1 span { color: var(--blue); }
h2 {
  font-size: 15px; font-weight: 900; font-style: italic; text-transform: uppercase;
  letter-spacing: 0.12em; margin: 34px 0 10px; color: var(--text);
}
h2::before { content: ""; display: inline-block; width: 18px; height: 4px; background: var(--red); transform: skewX(-20deg); margin-right: 10px; vertical-align: middle; }

.card {
  background: linear-gradient(180deg, #101b3d, var(--panel));
  border: 1px solid var(--panel-edge);
  padding: 20px 22px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  margin: 16px 0;
}
.card p:first-child { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.lede { font-size: 19px; color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
ul { padding-left: 20px; }
li { margin: 6px 0; }
li::marker { color: var(--red); }
strong { color: #fff; }

/* Slanted buttons: red for the live link, outlined for the stores until they're live. */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.btn {
  display: inline-block; text-decoration: none; color: #fff;
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.1em; font-size: 15px;
  padding: 14px 26px;
  background: linear-gradient(180deg, #ff3348 0%, var(--red) 50%, var(--red-deep) 100%);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn:hover { color: #fff; filter: brightness(1.1); }
.btn.soon { background: var(--panel); color: var(--muted); box-shadow: inset 0 0 0 2px var(--panel-edge); }

/* Landing: logo and copy beside the painted rider. */
.hero { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; padding-top: 8px; }
.hero h1 { font-size: clamp(30px, 6vw, 46px); }
.hero-copy .lede { max-width: 30em; }
.hero-copy .small { margin-top: 14px; }
.hero-art {
  justify-self: center;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--panel-edge), 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 90px rgba(61, 139, 255, 0.14);
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .hero-art { justify-self: end; }
}

.beats { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 64px 0 0; padding: 0; list-style: none; }
.beat { background: var(--panel); border: 1px solid var(--panel-edge); padding: 18px 20px; margin: 0; }
.beat b {
  display: block; font-size: 22px; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.02em;
}
.beat b em { font-style: italic; color: var(--blue); margin-right: 8px; }
.beat span { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (min-width: 720px) { .beats { grid-template-columns: repeat(3, 1fr); } }

.closer { text-align: center; margin: 56px 0 8px; }
.closer h2 { font-size: clamp(22px, 5vw, 30px); letter-spacing: 0.04em; margin: 0 0 4px; }
.closer h2::before { display: none; }
.closer h2 span { color: var(--blue); }
.closer .btns { justify-content: center; }

.mail { display: inline-block; font-size: clamp(18px, 5vw, 24px); font-weight: 900; word-break: break-all; }

footer { border-top: 1px solid var(--panel-edge); padding: 18px 0 28px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 420px) {
  .nav { gap: 12px; font-size: 12px; }
  .mark img { width: 120px; }
  .btn { font-size: 14px; padding: 13px 22px; }
}
