/* Meter Mafia - site styles
   Palette taken from the logo: red, black, white, cool grey. */

:root {
  --red: #c8102e;
  --red-bright: #e3173a;
  --black: #0a0a0a;
  --ink: #111113;
  --panel: #161618;
  --panel-2: #1d1d20;
  --line: #2a2a2e;
  --white: #f5f5f6;
  --grey: #9ea8b0;
  --muted: #a6aab0;
  --radius: 14px;
  --max: 1120px;
  --display: "Oswald", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; margin: 0; }
p { margin: 0; }
section { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--black); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 28px -10px var(--red); }
.btn-primary:hover { background: var(--red-bright); }
.btn-ghost { border-color: var(--line); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--grey); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand span { font: 700 1.35rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.brand b { color: var(--red); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--white); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line); color: var(--white);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; content: "";
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }

@media (max-width: 820px) {
  .js .menu-btn { display: block; }
  .js .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1.2rem;
  }
  .js .nav-links.open { display: flex; }
  .js .nav-links li { border-bottom: 1px solid var(--line); }
  .js .nav-links li:last-child { border: 0; padding-top: 1rem; }
  .js .nav-links a:not(.btn) { display: block; padding: .95rem 0; }
  .nav-links { flex-wrap: wrap; gap: .5rem 1rem; }
  .nav { flex-wrap: wrap; padding: .6rem 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(900px 480px at 82% 12%, rgba(200, 16, 46, .28), transparent 60%),
    radial-gradient(700px 400px at 5% 100%, rgba(158, 168, 176, .12), transparent 60%),
    var(--black);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block; font: 600 .85rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--red); vertical-align: middle; margin-right: .7rem; }
.hero h1 { font-size: clamp(3.4rem, 10vw, 7rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-badge { position: relative; justify-self: center; width: min(100%, 380px); }
.hero-badge img { width: 100%; filter: drop-shadow(0 30px 50px rgba(200, 16, 46, .35)); }
.hero-badge::after {
  content: ""; position: absolute; inset: -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 16, 46, .35), transparent);
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .eyebrow::before { display: none; }
  .hero-badge { order: -1; width: min(60%, 240px); }
}

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.alt { background: var(--ink); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--red); margin-top: .9rem; border-radius: 2px; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--red); transform: translateY(-3px); }
.card h3 { font-size: 1.6rem; }
.card p { color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.icon { font-size: 1.8rem; line-height: 1; }

/* services */
.service-featured { grid-column: 1 / -1; background: linear-gradient(135deg, #1d0f13, var(--panel) 55%); border-color: rgba(200, 16, 46, .55); }
.service-featured > p:not(.price) { max-width: 44rem; }
.price { font: 700 3rem/1 var(--display); color: var(--white); }
.price small { font: 500 1rem/1 var(--body); color: var(--muted); margin-left: .35rem; }
.lane-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: .2rem; }
@media (max-width: 640px) { .lane-list { grid-template-columns: 1fr; } }
.lane { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.lane strong { font: 600 1.15rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; display: block; margin-bottom: .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: var(--white); }

/* steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 1.2rem; width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--red); border-radius: 50%; font: 700 1.2rem/1 var(--display);
}
.step h3 { font-size: 1.3rem; margin: .4rem 0 .5rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* partners */
.partner { align-items: flex-start; }
.partner .mark {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--line); font-size: 1.6rem;
}
.partner h3 { font-size: 1.4rem; }
.fineprint { margin-top: 1.6rem; font-size: .85rem; color: var(--muted); }

/* rules */
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.rule { display: grid; grid-template-columns: auto 1fr; gap: .9rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.rule .n { font: 700 1.6rem/1 var(--display); color: var(--red); min-width: 2ch; }
.rule h3 { font-size: 1.15rem; letter-spacing: .04em; margin-bottom: .35rem; }
.rule p { color: var(--muted); font-size: .96rem; }
.consequences { margin-top: 1.4rem; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.consequences h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.ladder { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin: 1rem 0; font: 600 1rem/1 var(--display); letter-spacing: .08em; }
.ladder span { background: var(--panel-2); border: 1px solid var(--line); padding: .55rem .9rem; border-radius: 8px; }
.ladder span:last-child { background: var(--red); border-color: var(--red); }
.ladder i { color: var(--grey); font-style: normal; }
.consequences p { color: var(--muted); }
.sign-off { margin-top: 1.1rem; color: var(--white) !important; font-weight: 600; }

/* faq */
.faq { max-width: 52rem; display: grid; gap: .8rem; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
details[open] { border-color: var(--grey); }
summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--red); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* call to action */
.cta {
  text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; isolation: isolate;
  background: radial-gradient(700px 320px at 50% 0%, rgba(200, 16, 46, .3), transparent 70%), var(--ink);
  border-top: 1px solid var(--line);
}
.cta h2 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.cta p { margin: 1.2rem auto 2rem; max-width: 34rem; color: var(--muted); font-size: 1.1rem; }
.cta-note { margin-top: 1rem !important; font-size: .9rem !important; }

.cta .hero-cta { justify-content: center; margin-top: 0; }

/* footer */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: 2.4rem 0; color: var(--muted); font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; align-items: center; }
.foot .brand span { font-size: 1.1rem; }
.foot .brand img { width: 32px; height: 32px; }
.foot ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }
.legal { margin-top: 1.4rem; font-size: .8rem; opacity: .8; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.notfound img { margin: 0 auto 1.5rem; }
.notfound h1 { font-size: clamp(3rem, 10vw, 5.5rem); }
.notfound p { color: var(--muted); margin: 1rem 0 2rem; }

/* gentle reveal on scroll (only when JS is on and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- ticket page ---------- */
.page-title { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.page-title::after { content: ""; display: block; width: 56px; height: 4px; background: var(--red); margin-top: .9rem; border-radius: 2px; }
.ticket-page { min-height: 70vh; }
.ticket-wrap { max-width: 760px; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.ticket-wrap .section-head { margin-bottom: 1.8rem; }
.muted { color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 4vw, 2.2rem); display: grid; gap: 1.2rem; }
.panel h2 { font-size: 1.8rem; }
.panel .hero-cta { margin-top: .4rem; }
.alert { background: rgba(200, 16, 46, .14); border: 1px solid var(--red); border-radius: 10px; padding: .85rem 1rem; color: var(--white); }
.alert[hidden] { display: none; }
.alert a { color: #fff; text-decoration: underline; }
.alert .btn { margin-top: .7rem; }
.fineprint { font-size: .88rem; color: var(--muted); }

.userbar { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--red); }
.linklike { margin-left: auto; background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }
.linklike:hover { color: var(--white); }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field { display: grid; gap: .55rem; }
.field legend, .field > label { font-weight: 600; font-size: 1.02rem; padding: 0; }
.field .hint { color: var(--muted); font-size: .92rem; margin: -.2rem 0 .1rem; }
.field-group { display: grid; gap: 1.2rem; }
.req { color: var(--red-bright); }
.opt { color: var(--muted); font-weight: 400; font-size: .9rem; }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: .55rem; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body { display: grid; gap: .25rem; height: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; transition: border-color .15s, background .15s; }
.choice-body small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.choice:hover .choice-body { border-color: var(--grey); }
.choice input:checked + .choice-body { border-color: var(--red); background: rgba(200, 16, 46, .14); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--white); outline-offset: 2px; }

input[type="text"], textarea {
  width: 100%; background: var(--black); color: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: .8rem .95rem; font: inherit; resize: vertical;
}
input[type="text"]::placeholder, textarea::placeholder { color: #70747c; }
input[type="text"]:focus, textarea:focus { outline: 2px solid var(--red); border-color: var(--red); }
.form-actions { padding-top: .4rem; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }
.form-actions [hidden] { display: none; }
.done { text-align: center; justify-items: center; }
.done .hero-cta { justify-content: center; }
.tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-size: 2rem; }
