:root {
  --bg: #060607;
  --bg-alt: #0c0d0f;
  --ink: #f2f3f5;
  --ink-dim: #a9adb5;
  --ink-faint: #6b6f78;
  --red: #ff2e3f;
  --red-dim: #ff2e3f66;
  --chrome-1: #ffffff;
  --chrome-2: #b9bec7;
  --chrome-3: #6f7480;
  --line: #ffffff17;
  --line-strong: #ffffff2e;
  --radius: 14px;
  --font-display: 'Orbitron', 'Arial Narrow', sans-serif;
  --font-body: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }

main, header, footer, .modal-overlay { position: relative; z-index: 2; }

/* --- shared type --- */
.section-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: 0.01em;
  margin-bottom: 1.1rem;
  max-width: 22ch;
}

.section-body {
  color: var(--ink-dim);
  font-size: 1.02rem;
  max-width: 62ch;
  font-weight: 300;
}

.section-intro {
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-intro .section-title,
.section-intro .section-body { max-width: 46ch; }

/* --- nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.3rem clamp(1.25rem, 5vw, 3.5rem);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav__logo { height: 70px; width: auto; }

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: #100000;
}
.btn--primary:hover { transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

.btn--text {
  color: var(--ink-dim);
  padding: 0.85rem 0.4rem;
}
.btn--text:hover { color: var(--ink); }

.btn--submit { width: 100%; margin-top: 0.6rem; }
.btn--submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
}

/* --- hero --- */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem clamp(1.25rem, 5vw, 3.5rem);
  position: relative;
}

.hero__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, var(--red-dim) 0%, transparent 72%);
  pointer-events: none;
  opacity: 0.28;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin: 0 auto 1.6rem;
}

/* --- inclinometer gauge --- */
.hero__gauge {
  position: relative;
  max-width: 620px;
  width: 100%;
  margin: 0.5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: float 6.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(255,46,63,0.14));
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.incl-instrument {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
}
.incl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }

/* covers the baked-in needle AND car icon from the artwork so only our live rotating unit shows */
.incl-mask {
  position: absolute;
  top: 28%;
  height: 44%;
  background: #0a0a0b;
  border-radius: 50%;
  z-index: 2;
}
.incl-mask--left { left: 14.2%; width: 28.5%; }
.incl-mask--right { left: 57.5%; width: 28.5%; }

.incl-needle {
  position: absolute;
  top: 49.55%;
  width: 28.5%;
  height: 0;
  z-index: 3;
  transform-origin: 50% 50%;
  transition: transform 0.09s linear;
}
.incl-needle--left { left: 14.2%; }
.incl-needle--right { left: 57.5%; }

.incl-unit-icon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 60%;
  height: auto;
  display: block;
  pointer-events: none;
}
.incl-unit-icon--right { width: 70%; }

/* short stubs only outside the car silhouette, not passing behind it (matches the original artwork) */
.incl-half {
  position: absolute;
  top: 50%;
  height: 0.5vw;
  max-height: 6px;
  min-height: 3px;
  transform: translateY(-50%);
}
.incl-half--red-left { left: 0; width: 24%; background: var(--red); border-radius: 999px 0 0 999px; box-shadow: 0 0 6px var(--red-dim); }
.incl-half--dim-right { left: 76%; width: 24%; background: #e7e8ea; border-radius: 0 999px 999px 0; }
.incl-half--dim-left { left: 0; width: 16%; background: #e7e8ea; border-radius: 999px 0 0 999px; }
.incl-half--red-right { left: 84%; width: 16%; background: var(--red); border-radius: 0 999px 999px 0; box-shadow: 0 0 6px var(--red-dim); }

.incl-readout {
  position: absolute;
  z-index: 4;
  bottom: 13.7%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.6rem, 1.3vw, 0.82rem);
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-shadow: 0 0 10px #000;
}
.incl-readout span { color: var(--red); margin-left: 0.3em; }
.incl-readout--left { left: 24.3%; }
.incl-readout--right { right: 23.3%; }

.incl-hint { color: var(--ink-faint); font-size: 0.82rem; }

@media (max-width: 600px) {
  .hero__gauge { max-width: 380px; }
}

/* --- banner --- */
.banner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.banner__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding: 1.1rem clamp(1.25rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.banner__item { display: inline-flex; align-items: center; gap: 0.5rem; }
.banner__sep { color: var(--line-strong); }
.banner__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px 1px var(--red-dim);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.25; } }

.form-section {
  padding: 5.5rem clamp(1.25rem, 5vw, 3.5rem);
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

/* --- form --- */
.dj-form {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.4rem;
  max-width: 780px;
}

.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row label { font-size: 0.82rem; color: var(--ink-dim); letter-spacing: 0.01em; }

input[type="text"], input[type="email"], input[type="tel"], select {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
input::placeholder { color: var(--ink-faint); }
input:focus, select:focus { border-color: var(--red); }

select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a9adb5' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}
select option { background: var(--bg-alt); color: var(--ink); }

.input-prefix {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.input-prefix span { padding: 0 0 0 0.95rem; color: var(--ink-faint); }
.input-prefix input { border: none; background: none; padding-left: 0.35rem; }
.input-prefix:focus-within { border-color: var(--red); }

textarea {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  min-height: 96px;
  resize: vertical;
}
textarea::placeholder { color: var(--ink-faint); }
textarea:focus { border-color: var(--red); }

.form-row--full { grid-column: 1 / -1; }

.field-hint { color: var(--ink-faint); font-weight: 400; }

.captcha {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-dim);
}
.captcha b { color: var(--ink); }
.captcha input { width: 80px; flex: 0 0 auto; }

.form-row--checkbox {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.4rem;
}
.form-row--checkbox input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--red); flex-shrink: 0; }
.form-row--checkbox label { font-size: 0.85rem; color: var(--ink-dim); line-height: 1.5; }

.dj-form > .btn--submit { grid-column: 1 / -1; }

.form-status {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  min-height: 1.2em;
  color: var(--ink-dim);
}
.form-status.is-success { color: #55e08a; }
.form-status.is-error { color: var(--red); }

@media (max-width: 700px) {
  .dj-form { grid-template-columns: 1fr; }
}

/* --- candidature --- */
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.candidate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.candidate:hover { border-color: var(--line-strong); }

.candidate__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 1rem;
}

.candidate h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.8rem;
}

.candidate__body {
  color: var(--ink-dim);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.candidate__cta { margin-top: auto; align-self: flex-start; }

@media (max-width: 900px) {
  .candidate-grid { grid-template-columns: 1fr; }
  .candidate__cta { align-self: flex-end; }
}

/* --- footer --- */
.site-footer {
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
}
.footer__logo { height: 44px; width: auto; margin: 0 auto 1.1rem; opacity: 0.9; }
.footer__handle { color: var(--ink-dim); font-size: 0.95rem; margin-bottom: 0.3rem; }
.footer__contact { font-size: 0.85rem; margin-bottom: 0.9rem; }
.footer__legal { font-size: 0.78rem; }
.footer__legal .link-btn { color: var(--ink-faint); text-decoration: underline; }

/* --- privacy modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: translateY(8px);
  transition: transform 0.2s;
}
.modal-overlay.is-open .modal { transform: translateY(0); }

.modal h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 1.2rem; padding-right: 1.5rem; }
.modal-body p { color: var(--ink-dim); font-size: 0.88rem; font-weight: 300; margin-bottom: 0.9rem; }
.modal-body strong { color: var(--ink); font-weight: 600; }

.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: none;
  border: none;
  color: var(--ink-dim);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--red); }
