/* Diesel Fangs — International Trucking */

:root {
  --main: #420102;
  --main-lift: #5c1415;
  --charcoal: #2e2b2b;
  --charcoal-2: #242121;
  --charcoal-3: #3a3636;
  --silver: #c2b6b6;
  --silver-soft: rgba(194, 182, 182, 0.55);
  --silver-faint: rgba(194, 182, 182, 0.12);
  --ink: #161414;
  --text: #e8e0e0;
  --white: #f4eeee;
  --line: rgba(194, 182, 182, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.1rem;
  --font-display: "Oswald", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--main);
  color: var(--white);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-width: thin;
  scrollbar-color: var(--main) var(--charcoal-2);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--charcoal-2); }
::-webkit-scrollbar-thumb { background: var(--main); border-radius: 4px; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--main), var(--silver));
  pointer-events: none;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
  pointer-events: none; /* never block header / inputs / buttons */
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.loader img {
  width: 88px;
  height: auto;
  animation: pulse 1.2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.96); opacity: 0.7; }
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 50;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(22, 20, 20, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 2;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav__link {
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  color: var(--silver-soft);
  transition: color 0.3s;
}
.nav__link:hover,
.nav__link.is-active { color: var(--white); }
.nav__cta {
  margin-left: 0.35rem;
  background: var(--main);
  color: var(--white) !important;
  border-radius: 2px;
  padding: 0.55rem 1.05rem;
}
.nav__cta:hover { background: var(--main-lift); }
.nav__ext { color: var(--silver); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--silver);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.is-open span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}
.nav-toggle.is-open span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s, border-color 0.35s, color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.btn--primary {
  background: var(--main);
  color: var(--white);
  border-color: var(--main);
  box-shadow: 0 8px 22px rgba(66, 1, 2, 0.35);
}
.btn--primary:hover {
  background: var(--main-lift);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(66, 1, 2, 0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--silver);
  border-color: var(--silver-soft);
}
.btn--ghost:hover {
  border-color: var(--silver);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--lg { width: 100%; padding: 1.1rem; margin-top: 0.25rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--main-lift);
  margin-bottom: 0.75rem;
}
.title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 16ch;
}
.lead {
  font-size: 1.02rem;
  color: var(--silver-soft);
  max-width: 52ch;
  margin-top: 1rem;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Hero — brand left, live stats right */
.hero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat var(--img);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s var(--ease), transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 20, 20, 0.58) 0%, rgba(22, 20, 20, 0.32) 48%, rgba(22, 20, 20, 0.9) 100%),
    linear-gradient(105deg, rgba(66, 1, 2, 0.38) 0%, transparent 48%);
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.25rem);
  width: 100%;
  max-width: 820px;
  padding: 6.5rem 0 3rem;
  will-change: transform, opacity;
}
.hero__brand {
  text-align: left;
  min-width: 0;
  flex: 0 1 auto;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 7.5vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.hero__slogan {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: var(--silver);
  letter-spacing: 0.03em;
  margin-bottom: 1.9rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}
.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0 0 0.2rem 1.75rem;
  border-left: 1px solid rgba(194, 182, 182, 0.28);
  /* Fixed width so counting numbers never shift the centered layout */
  flex: 0 0 clamp(10rem, 15vw, 12rem);
}
.hero-stat {
  display: grid;
  gap: 0.2rem;
  transition: opacity 0.3s;
}
a.hero-stat:hover { opacity: 0.78; }
.hero-stat__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-soft);
}
.hero-stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat__value strong {
  font: inherit;
  color: inherit;
}
.hero-stat__value em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--main-lift);
}
.hero-stat__live {
  color: #c5dcbd;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}
.hero__scroll {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(194, 182, 182, 0.35);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color 0.3s;
}
.hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--silver);
  animation: scrollcue 1.7s var(--ease) infinite;
}
.hero__scroll:hover { border-color: var(--silver); }
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(13px); opacity: 0; }
}

/* Story */
.story {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--ink);
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: end;
}
.story__text {
  color: var(--silver-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Perks — what Diesel Fangs offers */
.perks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.perk {
  border: 1px solid var(--line);
  background: var(--charcoal-2);
  padding: 1.5rem 1.3rem;
  border-radius: 14px;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.perk:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 182, 182, 0.35);
}
.perk svg {
  width: 26px;
  height: 26px;
  color: var(--main-lift);
  margin-bottom: 0.85rem;
}
.perk h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.perk p {
  font-size: 0.9rem;
  color: var(--silver-soft);
  line-height: 1.6;
}

/* Gallery */
.gallery {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--ink);
}
.gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.gallery__hint {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-soft);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}
.gallery__status {
  color: var(--silver-soft);
  grid-column: 1 / -1;
}
.gallery__item {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--charcoal);
  padding: 0;
  display: block;
  width: 100%;
  color: inherit;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.gallery__item:hover {
  border-color: rgba(194, 182, 182, 0.35);
  transform: translateY(-3px);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(22, 20, 20, 0.75));
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(14, 12, 12, 0.94);
  display: none;
  place-items: center;
  padding: 3rem 4rem;
}
.lightbox.is-open { display: grid; }
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--silver);
  cursor: pointer;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  transition: border-color 0.3s, color 0.3s;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  border-color: var(--main);
  color: var(--white);
}
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-soft);
}

/* Drivers */
.drivers {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(66, 1, 2, 0.2), transparent 65%),
    var(--charcoal-2);
}
.drivers__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.link-out {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.3s;
}
.link-out:hover { color: var(--white); }

.drivers__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.role-filter {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--silver-soft);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.role-filter:hover { color: var(--white); border-color: var(--silver-soft); }
.role-filter.is-active {
  background: var(--main);
  border-color: var(--main);
  color: var(--white);
}

.drivers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.drivers__status { color: var(--silver-soft); grid-column: 1 / -1; }
.drivers__status a { color: var(--silver); text-decoration: underline; }

.driver-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.1rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(66, 1, 2, 0.18) 0%, rgba(22, 20, 20, 0.75) 42%),
    var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.4s;
}
.driver-card:hover {
  transform: translateY(-6px);
  border-color: var(--role, var(--main));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.driver-card__accent {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--role, var(--main));
}
.driver-card__avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--main);
  border: 3px solid var(--role, var(--main));
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.driver-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.driver-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}
.driver-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.driver-card__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--role, var(--main));
  color: var(--role, var(--silver));
  background: rgba(66, 1, 2, 0.2);
}
.driver-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--silver-faint);
}
.driver-card__id {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--silver-soft);
}
.driver-card__cta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.3s;
}
.driver-card:hover .driver-card__cta { color: var(--white); }

/* Requirements */
.reqs {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--ink);
}
.reqs__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}
.req {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.35rem;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.req:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 182, 182, 0.35);
}
.req h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.55rem;
}
.req p {
  font-size: 0.92rem;
  color: var(--silver-soft);
  line-height: 1.6;
}

/* Application page — stepped wizard */
.apply-page {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: #121010;
  overflow: hidden;
}
.apply-page__glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(66, 1, 2, 0.45), transparent 70%);
  pointer-events: none;
}
.apply-page__inner {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-width: 560px;
  margin-inline: auto;
}
.apply-page__hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.apply-page__hero img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(66, 1, 2, 0.4));
}
.apply-page__hero .title { max-width: none; margin: 0; }
.apply-page__tag {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--silver-soft);
}

.apply-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.apply-steps__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(46, 43, 43, 0.35);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-soft);
  transition: border-color 0.35s, color 0.35s, background 0.35s;
}
.apply-steps__item span {
  font-size: 0.75rem;
  color: var(--main-lift);
}
.apply-steps__item.is-active {
  border-color: var(--main);
  background: rgba(66, 1, 2, 0.35);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(66, 1, 2, 0.2);
}
.apply-steps__item.is-done {
  border-color: rgba(194, 182, 182, 0.35);
  color: var(--silver);
}

.apply-shell {
  background:
    linear-gradient(160deg, rgba(66, 1, 2, 0.22), transparent 42%),
    rgba(36, 33, 33, 0.88);
  border: 1px solid rgba(194, 182, 182, 0.16);
  border-radius: 22px;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  min-height: 380px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.apply-panel {
  animation: panelIn 0.45s var(--ease-out);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

.apply-panel__head {
  margin-bottom: 1.5rem;
}
.apply-panel__head h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.apply-panel__head p {
  color: var(--silver-soft);
  font-size: 0.95rem;
}

.apply-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.85rem;
  max-width: 100%;
}
.apply-fields--identity {
  grid-template-columns: minmax(0, 1fr) 92px;
}
.afield {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}
.afield--wide { grid-column: 1; }
.afield--age {
  grid-column: 2;
  width: 92px;
  max-width: 92px;
}
.afield--full { grid-column: 1 / -1; }
.afield span {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  padding-left: 0.35rem;
}
.afield em {
  font-style: normal;
  color: var(--silver-soft);
  letter-spacing: 0.04em;
}
.afield input,
.afield textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background:
    linear-gradient(180deg, rgba(46, 43, 43, 0.55), rgba(18, 16, 16, 0.92));
  border: 1px solid rgba(194, 182, 182, 0.22);
  border-radius: 14px;
  padding: 0.9rem 1.05rem;
  outline: none;
  color: var(--white);
  overflow-wrap: anywhere;
  word-break: break-word;
  box-shadow:
    inset 0 1px 0 rgba(194, 182, 182, 0.06),
    0 8px 22px rgba(0, 0, 0, 0.18);
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.afield input::placeholder,
.afield textarea::placeholder {
  color: rgba(194, 182, 182, 0.38);
}
.afield input:hover,
.afield textarea:hover {
  border-color: rgba(194, 182, 182, 0.4);
}
.afield input:focus,
.afield textarea:focus {
  border-color: rgba(66, 1, 2, 0.95);
  background:
    linear-gradient(180deg, rgba(66, 1, 2, 0.22), rgba(18, 16, 16, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(194, 182, 182, 0.08),
    0 0 0 3px rgba(66, 1, 2, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}
.afield input.is-invalid,
.afield textarea.is-invalid {
  border-color: #a44;
  box-shadow: 0 0 0 3px rgba(160, 60, 60, 0.22);
}
.afield textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 220px;
  line-height: 1.55;
  border-radius: 16px;
  white-space: pre-wrap;
}
.afield--age input {
  text-align: center;
  padding-inline: 0.5rem;
}
.afield input[type="number"] {
  -moz-appearance: textfield;
}
.afield input[type="number"]::-webkit-outer-spin-button,
.afield input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.apply-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--silver-faint);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.uploads {
  border: none;
  margin: 0 0 1.25rem;
}
.upload-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 1.45rem 1.15rem;
  border: 1px dashed rgba(194, 182, 182, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(66, 1, 2, 0.16), rgba(18, 16, 16, 0.75));
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(194, 182, 182, 0.05);
}
.upload-pick:hover {
  border-color: rgba(66, 1, 2, 0.9);
  background:
    linear-gradient(160deg, rgba(66, 1, 2, 0.28), rgba(18, 16, 16, 0.85));
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.upload-pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.upload-pick__btn {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--main);
  padding: 0.8rem 1.55rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(66, 1, 2, 0.4);
}
.upload-pick__hint {
  font-size: 0.78rem;
  color: var(--silver-soft);
}
.uploads__hint {
  font-size: 0.82rem;
  color: var(--silver-soft);
  margin-top: 0.75rem;
  text-align: center;
}
.uploads__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.upload-slot {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px dashed rgba(194, 182, 182, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(66, 1, 2, 0.14), transparent),
    rgba(18, 16, 16, 0.85);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s, box-shadow 0.35s;
}
.upload-slot:hover {
  border-color: var(--main);
  transform: translateY(-2px);
}
.upload-slot.is-filled {
  border-style: solid;
  border-color: var(--main);
  box-shadow: 0 8px 22px rgba(66, 1, 2, 0.25);
}
.upload-slot__plus {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--silver-soft);
  line-height: 1;
}
.upload-slot__label {
  position: absolute;
  bottom: 0.65rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-soft);
}
.upload-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-slot__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(22, 20, 20, 0.88);
  color: var(--white);
  cursor: pointer;
}

.confirm {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.25rem 0 0.25rem;
  cursor: pointer;
}
.confirm input { position: absolute; opacity: 0; pointer-events: none; }
.confirm__box {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(194, 182, 182, 0.4);
  border-radius: 7px;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  background: rgba(18, 16, 16, 0.7);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.confirm input:checked + .confirm__box {
  background: var(--main);
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(66, 1, 2, 0.25);
}
.confirm input:checked + .confirm__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.confirm__text {
  font-size: 0.88rem;
  color: var(--silver);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.3em;
}
.form-status.is-ok { color: #9dcea0; }
.form-status.is-err { color: #d88a8a; }

/* Discord band */
.band {
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
  background: var(--ink);
}
.band__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(194, 182, 182, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(66, 1, 2, 0.5), transparent 70%),
    var(--charcoal-2);
}
.band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.band__text {
  color: var(--silver-soft);
  font-size: 0.98rem;
  max-width: 46ch;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0;
  background: #121010;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__brand img { width: 32px; height: 32px; object-fit: contain; }
.footer p {
  font-size: 0.76rem;
  color: var(--silver-soft);
  max-width: 34ch;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.footer__links a {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-soft);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--white); }

.to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 40;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(22, 20, 20, 0.85);
  color: var(--silver);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s, border-color 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover { border-color: var(--main); color: var(--white); }

.sent-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(22, 20, 20, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.sent-overlay.is-open {
  display: grid;
  opacity: 1;
}
.sent-overlay[hidden] {
  display: none !important;
}
.sent-overlay__card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 2.4rem 2rem;
  max-width: 380px;
  text-align: center;
  transform: translateY(14px);
  transition: transform 0.45s var(--ease);
}
.sent-overlay.is-open .sent-overlay__card { transform: none; }
.sent-overlay__check {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1.1rem;
  border: 1px solid var(--main);
  color: var(--silver);
  font-size: 1.4rem;
}
.sent-overlay__card h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.55rem;
}
.sent-overlay__card p {
  color: var(--silver-soft);
  margin-bottom: 1.35rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .story__grid,
  .reqs__list { grid-template-columns: 1fr; }
  .perks__grid { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
  .hero__content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    padding-top: 6.5rem;
    max-width: 560px;
  }
  .hero__brand { text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__stats {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem 2rem;
    padding: 1.25rem 0 0;
    border-left: none;
    border-top: 1px solid rgba(194, 182, 182, 0.22);
    flex: 0 0 auto;
  }
  .hero-stat { justify-items: center; text-align: center; }
  .hero-stat__value { justify-content: center; }
  .title { max-width: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(22, 20, 20, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 1.05rem; padding: 0.8rem 1.4rem; }
  .nav__cta { margin-left: 0; margin-top: 0.4rem; }
  .apply-fields { grid-template-columns: 1fr; }
  .apply-fields--identity {
    grid-template-columns: minmax(0, 1fr) 84px;
  }
  .afield--age {
    width: 84px;
    max-width: 84px;
  }
  .afield--wide { grid-column: 1; }
  .apply-steps {
    grid-template-columns: 1fr;
  }
  .apply-steps__item { justify-content: flex-start; }
  .drivers__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 480px) {
  .perks__grid { grid-template-columns: 1fr; }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
  }
  .hero-stat:last-child { grid-column: 1 / -1; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 4rem 1rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
  .gallery__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
