@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #090a0b;
  --ink-soft: #101214;
  --panel: #151719;
  --panel-2: #1b1d20;
  --paper: #f6f3ea;
  --muted: #a6a8aa;
  --muted-light: #c9c9c6;
  --gold: #d5a94f;
  --gold-bright: #f1d47d;
  --gold-deep: #8e6422;
  --line: rgba(255, 255, 255, 0.11);
  --line-gold: rgba(213, 169, 79, 0.28);
  --success: #78c59c;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--gold-bright);
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.page-header .site-header {
  background: #090a0b;
  border-color: var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  width: 230px;
}

.brand--official {
  width: 150px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
}

.brand--official img {
  width: 100%;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.brand-word {
  display: none;
}

.brand-word small {
  margin-top: 5px;
  color: var(--gold);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav a {
  position: relative;
  color: #e8e7e3;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--gold);
  transition: right 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.nav-cta {
  overflow: hidden;
  padding: 9px 14px;
  color: var(--ink) !important;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(213, 169, 79, 0.2);
  animation: nav-cta-pulse 2.2s ease-in-out infinite;
}

.nav-cta::before {
  content: "";
  position: absolute;
  top: -70%;
  left: -42%;
  width: 24%;
  height: 240%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .82), transparent);
  transform: rotate(22deg);
  animation: nav-cta-shine 2.8s ease-in-out infinite;
}

@keyframes nav-cta-pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(213, 169, 79, .24), 0 0 0 0 rgba(241, 212, 125, 0);
    filter: brightness(.96) saturate(1);
  }
  50% {
    box-shadow: 0 10px 40px rgba(241, 212, 125, .72), 0 0 0 5px rgba(213, 169, 79, .16);
    filter: brightness(1.24) saturate(1.12);
  }
}

@keyframes nav-cta-shine {
  0%, 48% {
    left: -42%;
    opacity: 0;
  }
  58% {
    opacity: .95;
  }
  78%, 100% {
    left: 122%;
    opacity: 0;
  }
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 770px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.gold-text {
  color: transparent;
  background: linear-gradient(110deg, #fff1ae, var(--gold) 55%, #9b6d28);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted-light);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 14px 36px rgba(213, 169, 79, 0.2);
}

/* Gold call-to-action: shared pulse and moving highlight. */
.cta-glow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: nav-cta-pulse 2.2s ease-in-out infinite;
}

.cta-glow::before {
  content: "";
  position: absolute;
  top: -70%;
  left: -42%;
  width: 24%;
  height: 240%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .82), transparent);
  transform: rotate(22deg);
  animation: nav-cta-shine 2.8s ease-in-out infinite;
}

.btn-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-dark {
  color: var(--paper);
  background: var(--ink);
}

.arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn:hover .arrow,
.text-link:hover .arrow {
  transform: translateX(4px);
}

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #090a0b url("images/micaramy-hero-rivian-v4.webp") center / cover no-repeat;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.78;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(5, 6, 7, 0.96) 0%, rgba(5, 6, 7, 0.77) 37%, rgba(5, 6, 7, 0.19) 68%, rgba(5, 6, 7, 0.1) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 22%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  padding-bottom: 150px;
}

.hero-copy {
  max-width: 820px;
  will-change: transform;
  transition: transform 0.22s ease-out;
}

.hero-copy .lead {
  max-width: 585px;
  color: #d4d3cf;
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
}

@media (min-width: 961px) {
  .hero {
    animation: hero-background-pan 16s ease-in-out infinite alternate;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: -25% -10%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 72% 42%, rgba(241, 212, 125, .16), transparent 16%);
    animation: hero-gold-drift 8s ease-in-out infinite alternate;
  }

  .hero .gold-text {
    background-size: 220% 100%;
    animation: gold-text-flow 5s ease-in-out infinite alternate;
  }

  .motion-ribbon-track {
    animation-duration: 20s;
  }

  .service-card .card-icon,
  .portal-card .portal-mark,
  .value-card .value-icon {
    animation: icon-float 4.4s ease-in-out infinite;
  }

  .service-card:nth-child(2) .card-icon,
  .portal-card:nth-child(2) .portal-mark,
  .value-card:nth-child(2) .value-icon {
    animation-delay: -1.45s;
  }

  .service-card:nth-child(3) .card-icon,
  .value-card:nth-child(3) .value-icon {
    animation-delay: -2.9s;
  }

  .team-slide.is-active .team-slide-photo {
    animation: team-photo-drift 7s ease-in-out both;
  }
}

@keyframes hero-background-pan {
  from { background-position: 48% center; }
  to { background-position: 55% center; }
}

@keyframes hero-gold-drift {
  from { transform: translate3d(-3%, -1%, 0) scale(.96); opacity: .35; }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: .9; }
}

@keyframes gold-text-flow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0) rotate(0); box-shadow: 0 10px 26px rgba(213, 169, 79, .12); }
  50% { transform: translateY(-7px) rotate(2deg); box-shadow: 0 18px 34px rgba(241, 212, 125, .28); }
}

@keyframes hiring-background-pan {
  from { background-position: 47% center; }
  to { background-position: 54% center; }
}

@keyframes team-photo-drift {
  from { transform: scale(1.015) translate3d(-.35%, 0, 0); }
  to { transform: scale(1.055) translate3d(.35%, -.25%, 0); }
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 999;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), #fff2ac);
  box-shadow: 0 0 18px rgba(241, 212, 125, 0.55);
}

.motion-ribbon {
  overflow: hidden;
  padding: 17px 0;
  color: var(--ink);
  background: linear-gradient(90deg, #a47428, var(--gold-bright), #a47428);
  border-block: 1px solid rgba(255,255,255,.28);
}

.motion-ribbon-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: ribbon-scroll 30s linear infinite;
}

.motion-ribbon span {
  font-family: "Manrope", sans-serif;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.motion-ribbon i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  opacity: .55;
}

@keyframes ribbon-scroll {
  to { transform: translateX(-50%); }
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(7, 8, 9, 0.68);
  backdrop-filter: blur(14px);
}

.stat {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px 32px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.stat span {
  color: var(--muted-light);
  font-size: 0.88rem;
  line-height: 1.45;
}

.section {
  padding: 120px 0;
}

.section-compact {
  padding: 86px 0;
}

.section-light {
  color: #191b1d;
  background: var(--paper);
}

.section-light .eyebrow,
.section-light .text-link {
  color: #8a621e;
}

.section-light .lead,
.section-light .body-copy {
  color: #5a5c5e;
}

/* Dark cards inside a light section need their own heading color in night mode. */
.section-light .value-card h3 {
  color: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-heading > div:first-child {
  max-width: 720px;
}

.section-heading .lead {
  max-width: 500px;
}

.text-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.value-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.service-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  bottom: -80px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(213, 169, 79, 0.08);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-gold);
}

.service-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.card-icon,
.value-icon {
  position: relative;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  background: linear-gradient(145deg, rgba(213, 169, 79, .16), rgba(213, 169, 79, .035));
  border: 1px solid var(--line-gold);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 42px rgba(213, 169, 79, .1);
  transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.card-icon::before,
.value-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(213, 169, 79, .15);
  border-radius: 12px;
}

.card-icon svg,
.value-icon svg,
.portal-mark svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover .card-icon,
.value-card:hover .value-icon {
  color: #fff3cf;
  background: linear-gradient(145deg, rgba(213, 169, 79, .3), rgba(163, 111, 31, .11));
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 48px rgba(213, 169, 79, .18);
}

.card-index {
  color: var(--gold);
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.service-card p,
.value-card p {
  margin: 13px 0 0;
  color: var(--muted);
}

.service-detail-grid {
  display: grid;
  gap: 18px;
}

.amazon-dsp-section {
  background: linear-gradient(180deg, #090a0b, #111315);
}

.amazon-dsp-feature {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.amazon-dsp-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.amazon-dsp-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 7, .72));
}

.amazon-dsp-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.amazon-dsp-image:hover img {
  transform: scale(1.035);
}

.dsp-badge {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  padding: 10px 14px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-detail {
  display: grid;
  grid-template-columns: 90px 0.9fr 1.3fr;
  align-items: start;
  gap: 34px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}

.service-detail .service-no {
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.service-detail-mark {
  width: 68px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--gold-bright);
}

.service-detail-mark svg {
  width: 54px;
  height: 54px;
  padding: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: linear-gradient(145deg, rgba(213, 169, 79, .16), rgba(213, 169, 79, .035));
  border: 1px solid var(--line-gold);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(213, 169, 79, .1);
}

.service-detail-mark b {
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
}

.service-detail p {
  margin: 0;
  color: var(--muted-light);
}

.hiring-showcase {
  position: relative;
  padding: clamp(76px, 8vw, 116px) 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 20%, rgba(213, 169, 79, .14), transparent 30%),
    linear-gradient(135deg, #111315, #08090a 62%);
}

.hiring-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(213, 169, 79, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213, 169, 79, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hiring-layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}

.hiring-copy {
  max-width: 580px;
  padding: 24px 0;
}

.hiring-copy h2 {
  font-size: clamp(3rem, 6vw, 5.7rem);
}

.hiring-showcase--page .hiring-copy h1 {
  font-size: clamp(3.1rem, 6vw, 5.8rem);
}

.team-carousel {
  position: relative;
  min-width: 0;
  min-height: clamp(470px, 43vw, 590px);
  overflow: hidden;
  background: #08090a;
  border: 1px solid rgba(241, 212, 125, .38);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 255, 255, .025) inset;
}

.team-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(3, 4, 5, .8) 100%);
}

.team-carousel::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 21px;
}

.team-carousel-track,
.team-slide {
  position: absolute;
  inset: 0;
}

.team-slide {
  margin: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(.975) rotateY(2deg);
  transition: opacity .85s ease, transform 1.05s cubic-bezier(.22, 1, .36, 1), visibility .85s;
}

.team-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.team-slide-backdrop,
.team-slide-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.team-slide-backdrop {
  object-fit: cover;
  filter: blur(24px) brightness(.46) saturate(1.18);
  transform: scale(1.12);
}

.team-slide-photo {
  z-index: 1;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  will-change: transform;
}

.team-slide figcaption {
  position: absolute;
  z-index: 5;
  right: 84px;
  bottom: 26px;
  left: 86px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(.82rem, 1.25vw, 1rem);
  font-weight: 800;
  letter-spacing: .015em;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .88);
}

.team-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(7, 8, 9, .62);
  border: 1px solid rgba(241, 212, 125, .58);
  border-radius: 50%;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .35);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.team-carousel-arrow:hover,
.team-carousel-arrow:focus-visible {
  color: #17130b;
  background: var(--gold-bright);
  transform: translateY(-50%) scale(1.08);
}

.team-carousel-arrow--prev { left: 22px; }
.team-carousel-arrow--next { right: 22px; }

.team-carousel-footer {
  position: absolute;
  z-index: 8;
  right: 22px;
  bottom: 19px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none;
}

.team-carousel-count {
  color: rgba(255, 255, 255, .78);
  font-family: "Manrope", sans-serif;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.team-carousel-dots {
  display: flex;
  gap: 7px;
  pointer-events: auto;
}

.team-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .38);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width .3s ease, background .3s ease, box-shadow .3s ease;
}

.team-carousel-dot.is-active {
  width: 30px;
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(241, 212, 125, .65);
}

.application-section {
  background: linear-gradient(180deg, #111315, #090a0b);
}

.application-wrap {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 50px;
  align-items: start;
}

.quick-form,
.auth-card {
  padding: 34px;
  color: #191b1d;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.quick-form .form-grid {
  margin-top: 0;
}

.quick-form .form-status {
  margin-bottom: 0;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.label-optional {
  color: #777168;
  font-size: .74rem;
  font-weight: 600;
}

.application-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 16px;
  color: #302d27;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.55;
  background: #fbf7ee;
  border: 1px solid #d8c9aa;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.quick-form .field label.application-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  margin-top: 2px;
  accent-color: var(--gold-deep);
  box-shadow: none;
}

.application-consent span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.application-consent strong {
  color: #835b0e;
}

.consent-heading {
  margin-bottom: 8px;
  color: #2d2922;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.required-label {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  color: #3c2b08;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #e5bd68;
  border-radius: 999px;
}

.resume-field input[type="file"] {
  padding: 10px;
  background: #fbf8f1;
  border: 1px dashed #b49a65;
}

.resume-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 13px;
  color: #17130b;
  font: inherit;
  font-weight: 750;
  background: var(--gold-bright);
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.resume-field small {
  display: block;
  margin-top: 8px;
  color: #6b665e;
  font-size: .75rem;
  line-height: 1.5;
}

.requirement-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.requirement-list li {
  display: flex;
  gap: 12px;
  color: var(--muted-light);
}

.requirement-list li::before {
  content: "✓";
  color: var(--gold-bright);
  font-weight: 900;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portal-grid--two {
  width: min(100%, 880px);
  grid-template-columns: repeat(2, 1fr);
  margin-inline: auto;
}

.portal-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: transform .22s ease, border-color .22s ease;
}

.portal-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
}

.portal-card .portal-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  border: 1px solid rgba(255, 239, 196, .35);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(213, 169, 79, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}

.portal-card:hover .portal-mark {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 0 22px 52px rgba(213, 169, 79, .28);
}

.portal-card p {
  color: var(--muted);
}

.league-showcase {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  background: #0d0f10;
  border-block: 1px solid var(--line);
}

.league-visual {
  position: relative;
  min-height: 660px;
  background: #131517 url("images/driver-champions.png") 64% center / cover no-repeat;
}

.league-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, #0d0f10), linear-gradient(0deg, rgba(8,9,10,.45), transparent 42%);
}

.league-content {
  display: flex;
  align-items: center;
  padding: 90px clamp(32px, 6vw, 100px) 90px clamp(32px, 5vw, 82px);
}

.league-content > div {
  max-width: 620px;
}

.league-content .body-copy {
  color: var(--muted);
}

.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 32px 0;
}

.reward-chip {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.reward-chip:hover {
  transform: translateY(-3px);
  background: rgba(213,169,79,.07);
  border-color: var(--line-gold);
}

.reward-chip span {
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: .75rem;
  font-weight: 900;
}

.reward-chip strong {
  font-family: "Manrope", sans-serif;
  font-size: .87rem;
  line-height: 1.35;
}

.tilt-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card.is-visible {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(300px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(241,212,125,.18), transparent 62%);
  transition: opacity .25s ease;
}

.tilt-card:hover::before {
  opacity: 1;
}

.tilt-card:hover {
  --lift: -5px;
}

.tilt-card > * {
  position: relative;
  z-index: 1;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  background: var(--ink);
}

.auth-visual {
  position: relative;
  min-height: 760px;
  background-position: center;
  background-size: cover;
}

.auth-visual.training {
  background-image: linear-gradient(90deg, rgba(5,6,7,.12), rgba(5,6,7,.5)), url("images/training-portal.png");
}

.auth-visual.dispatch {
  background-image: linear-gradient(90deg, rgba(5,6,7,.08), rgba(5,6,7,.5)), url("images/dispatch-portal.png");
}

.auth-visual.driver {
  background-image: linear-gradient(90deg, rgba(5,6,7,.04), rgba(5,6,7,.52)), url("images/driver-portal-team.png?v=20260905-1");
  background-position: center;
}

.auth-visual-copy {
  position: absolute;
  inset: auto 50px 50px;
  max-width: 560px;
  padding: 28px;
  background: rgba(9,10,11,.74);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
}

.auth-visual-copy h1 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 44px 50px;
}

.auth-panel-inner {
  width: min(100%, 470px);
}

/* Driver account forms: wide, readable, and independently scrollable. */
.auth-panel--scroll {
  align-items: flex-start;
  min-height: 100vh;
  overflow-y: auto;
}

.auth-panel-inner--wide {
  width: min(100%, 650px);
}

.auth-logo {
  width: min(100%, 220px);
  height: 82px;
  margin-bottom: 26px;
  object-fit: contain;
  object-position: left center;
}

.auth-panel h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 26px 0 20px;
  padding: 5px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.auth-tabs--three {
  grid-template-columns: repeat(3, 1fr);
}

.auth-tab {
  min-height: 44px;
  color: var(--muted-light);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.auth-tab.is-active {
  color: var(--ink);
  background: var(--gold);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.auth-helper,
.auth-intro {
  margin: 12px 0 22px;
  color: var(--muted-light);
  font-size: .9rem;
}

.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted-light);
  font-size: .84rem;
  line-height: 1.55;
}

.auth-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.verification-code {
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .42em;
}

.auth-form [disabled] {
  cursor: wait;
  opacity: .65;
}

.auth-form .field label {
  color: var(--muted-light);
}

.auth-form .field input,
.auth-form .field select {
  color: var(--paper);
  background: rgba(255,255,255,.055);
  border-color: var(--line);
}

.auth-form .form-status {
  margin: 0;
}

.auth-form .form-status.is-error {
  color: #ff9d9d;
}

.auth-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted-light);
  font-size: .84rem;
}

.auth-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: .82rem;
}

.auth-back {
  position: absolute;
  top: 28px;
  right: 34px;
  z-index: 3;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.faq-item summary {
  position: relative;
  padding: 24px 64px 24px 24px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  color: var(--gold-bright);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted-light);
}

.official-logo-panel {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 35px;
  background: #111315;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.official-logo-panel img {
  width: min(100%, 480px);
  max-height: 380px;
  object-fit: contain;
}

.president-panel {
  position: relative;
  min-height: 600px;
  margin: 0;
  overflow: hidden;
  background: #111315;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.president-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(5, 6, 7, .94) 100%);
}

.president-panel img {
  width: 100%;
  height: 600px;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.president-panel:hover img {
  transform: scale(1.025);
}

.president-panel figcaption {
  position: absolute;
  right: 30px;
  bottom: 26px;
  left: 30px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: #fffdf8;
}

.president-panel figcaption strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
}

.president-panel figcaption span {
  color: var(--gold-bright);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.visual-panel {
  position: relative;
  min-height: 530px;
  padding: 38px;
  overflow: hidden;
  color: var(--paper);
  background: #111315;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.visual-panel::before,
.visual-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.visual-panel::before {
  width: 420px;
  height: 420px;
  right: -180px;
  top: -130px;
  border: 1px solid rgba(213, 169, 79, 0.35);
  box-shadow: 0 0 110px rgba(213, 169, 79, 0.1);
}

.visual-panel::after {
  width: 230px;
  height: 230px;
  left: -80px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(213, 169, 79, 0.23), transparent 68%);
}

.visual-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.visual-number {
  position: relative;
  z-index: 1;
  margin-top: 100px;
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: clamp(5rem, 10vw, 8.4rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.visual-panel h3 {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin-top: 24px;
  font-size: 1.75rem;
}

.visual-panel p {
  position: relative;
  z-index: 1;
  max-width: 350px;
  color: var(--muted-light);
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #3e4143;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 58px;
  color: var(--ink);
  background: linear-gradient(115deg, #f5d77d, #c7953c 55%, #a27025);
  border-radius: var(--radius-lg);
}

.cta-band::after {
  content: "M";
  position: absolute;
  right: 25%;
  top: -56px;
  color: rgba(10, 10, 10, 0.08);
  font-family: "Manrope", sans-serif;
  font-size: 13rem;
  font-weight: 900;
  line-height: 1;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  max-width: 700px;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 100px;
  background: radial-gradient(circle at 82% 10%, rgba(213, 169, 79, 0.18), transparent 30%), linear-gradient(180deg, #111315, var(--ink));
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -220px;
  top: 80px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumb a {
  color: var(--gold-bright);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.value-card {
  padding: 32px;
  background: var(--panel);
  transition: transform .25s ease, border-color .25s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
}

.value-card .value-icon {
  margin-bottom: 58px;
}

.value-grid--four .value-card {
  padding: 27px;
}

.value-grid--four .value-card .value-icon {
  margin-bottom: 42px;
}

.owner-quote {
  position: relative;
  margin: 32px 0 0;
  padding: 26px 28px;
  color: #302b22;
  background: rgba(213, 169, 79, .1);
  border-left: 3px solid var(--gold-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.75;
}

.company-story .official-logo-panel {
  min-height: 430px;
}

.value-card .number-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 58px;
  color: var(--gold-bright);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid #d7d3c9;
}

.timeline-item {
  position: relative;
  padding: 36px 42px 0 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 0;
  top: -7px;
  background: var(--gold-deep);
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold-deep);
}

.timeline-item strong {
  color: #8a621e;
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-top: 10px;
}

.timeline-item p {
  color: #626467;
}

.driver-hero {
  background: radial-gradient(circle at 80% 8%, rgba(213, 169, 79, 0.23), transparent 32%), linear-gradient(180deg, #131518, #090a0b);
}

.portal-preview {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  margin-top: 56px;
}

.portal-side,
.portal-main {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.portal-side {
  padding: 32px;
}

.portal-side h3 {
  margin-bottom: 8px;
}

.portal-side > p {
  margin-top: 8px;
  color: var(--muted);
}

.progress-ring {
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  margin: 34px auto;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0 78%, #292c2f 78% 100%);
}

.progress-ring::before {
  content: "";
  width: 128px;
  height: 128px;
  grid-area: 1 / 1;
  background: var(--panel);
  border-radius: 50%;
}

.progress-ring span {
  position: relative;
  grid-area: 1 / 1;
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-stat {
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius-sm);
}

.mini-stat strong,
.mini-stat span {
  display: block;
}

.mini-stat strong {
  color: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.portal-main {
  padding: 18px;
}

.portal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 12px 24px;
}

.status-pill,
.tier-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill {
  color: #b8f2cf;
  background: rgba(76, 171, 113, 0.15);
}

.course-list {
  display: grid;
  gap: 10px;
}

.course-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
}

.course-item:hover {
  border-color: var(--line-gold);
}

.course-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 13px;
  font-family: "Manrope", sans-serif;
  font-weight: 900;
}

.course-item h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.course-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.course-state {
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 800;
}

.leaderboard {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.leader-row {
  display: grid;
  grid-template-columns: 70px 1.4fr 1fr 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
}

.leader-row:last-child {
  border-bottom: 0;
}

.leader-row.header {
  min-height: 54px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rank {
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
}

.driver-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  border-radius: 50%;
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
}

.tier-pill.platinum {
  width: fit-content;
  color: #e9f5f3;
  background: rgba(175, 213, 207, 0.14);
}

.tier-pill.gold {
  width: fit-content;
  color: var(--gold-bright);
  background: rgba(213, 169, 79, 0.14);
}

.points {
  color: var(--muted-light);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 20px;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 28px;
  background: var(--panel);
}

.contact-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong,
.contact-card a {
  color: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.contact-form {
  padding: 36px;
  color: #191b1d;
  background: var(--paper);
  border-radius: var(--radius-md);
}

.contact-form h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.83rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: #1b1d1f;
  background: #fff;
  border: 1px solid #d8d5cc;
  border-radius: 11px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(213, 169, 79, 0.16);
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: #5a5c5e;
  font-size: 0.85rem;
}

.form-status.is-success {
  color: #236b43;
  font-weight: 700;
}

.form-status.is-error {
  color: #a52a2a;
  font-weight: 700;
}

.quick-form button[disabled] {
  cursor: wait;
  opacity: .7;
}

.site-footer {
  padding: 76px 0 30px;
  background: #070809;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 60px;
}

.footer-brand {
  width: 180px;
}

.footer-brand img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  object-position: left center;
}

.footer-copy {
  max-width: 430px;
  margin: 22px 0 0;
  color: var(--muted);
}

.footer-col h3 {
  margin-bottom: 20px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a,
.footer-links span {
  color: var(--muted-light);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  background: rgba(213, 169, 79, .08);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}

.footer-social a:hover {
  color: var(--ink);
  background: var(--gold-bright);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 62px;
  padding-top: 24px;
  color: #777a7d;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 961px) {
  [data-reveal] {
    filter: blur(5px);
    transform: translateY(42px) scale(.98);
    transition: opacity .78s ease, transform .78s cubic-bezier(.2, .8, .2, 1), filter .78s ease;
  }

  [data-reveal].is-visible {
    filter: blur(0);
    transform: none;
  }

  .service-grid [data-reveal]:nth-child(odd),
  .value-grid [data-reveal]:nth-child(odd),
  .portal-grid [data-reveal]:nth-child(odd) {
    transform: translate3d(-34px, 28px, 0) scale(.98);
  }

  .service-grid [data-reveal]:nth-child(even),
  .value-grid [data-reveal]:nth-child(even),
  .portal-grid [data-reveal]:nth-child(even) {
    transform: translate3d(34px, 28px, 0) scale(.98);
  }

  .service-grid [data-reveal].is-visible,
  .value-grid [data-reveal].is-visible,
  .portal-grid [data-reveal].is-visible {
    transform: none;
  }

  /* Keep pointer tilt active after the entrance animation finishes. */
  .tilt-card[data-reveal].is-visible {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
  }
}

@media (max-width: 960px) {
  .site-header {
    z-index: 99999;
    overflow: visible;
    background: #090a0b;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 0;
    height: calc(100dvh - 76px);
    z-index: 99998;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 20px max(88px, calc(40px + env(safe-area-inset-bottom)));
    background: #090a0b;
    opacity: 1;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .site-nav a {
    padding: 17px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    flex: 0 0 auto;
    width: 100%;
    min-height: 52px;
    margin: 18px 0 12px;
    text-align: center;
    border-bottom: 0;
  }

  .hero {
    min-height: 810px;
    background-position: 63% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(5, 6, 7, 0.95), rgba(5, 6, 7, 0.65) 60%, rgba(5, 6, 7, 0.25)), linear-gradient(0deg, var(--ink), transparent 30%);
  }

  .service-grid,
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-grid--four {
    grid-template-columns: 1fr 1fr;
  }

  .amazon-dsp-feature {
    grid-template-columns: 1fr;
  }

  .service-card:last-child,
  .value-card:last-child {
    grid-column: 1 / -1;
  }

  .value-grid--four .value-card:last-child {
    grid-column: auto;
  }

  .split,
  .portal-preview,
  .contact-grid,
  .application-wrap {
    grid-template-columns: 1fr;
  }

  .portal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portal-card:last-child {
    grid-column: 1 / -1;
  }

  .portal-grid--two .portal-card:last-child {
    grid-column: auto;
  }

  .league-showcase {
    grid-template-columns: 1fr;
  }

  .league-visual {
    min-height: 540px;
  }

  .league-visual::after {
    background: linear-gradient(0deg, #0d0f10, transparent 42%);
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 520px;
  }

  .auth-panel {
    padding-top: 70px;
  }

  .visual-panel {
    min-height: 460px;
  }

  .hiring-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hiring-copy {
    max-width: 720px;
  }

  .team-carousel {
    min-height: min(68vw, 620px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand {
    width: 194px;
  }

  .brand--official {
    width: 132px;
  }

  .brand--official img {
    width: 100%;
    height: 38px;
  }

  .brand-word {
    font-size: .86rem;
  }

  .site-nav {
    inset: 74px 0 0;
    height: calc(100dvh - 74px);
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero {
    min-height: 870px;
    background-image: url("images/micaramy-hero-rivian-mobile-v1.webp");
    background-position: 76% center;
    background-size: cover;
  }

  .hero-content {
    padding-top: 95px;
    padding-bottom: 270px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(5, 6, 7, 0.93), rgba(5, 6, 7, 0.54)), linear-gradient(0deg, var(--ink), transparent 46%);
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 72px;
    padding: 13px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .league-visual {
    min-height: 420px;
    background-position: 67% center;
  }

  .league-content {
    padding: 64px 22px 76px;
  }

  .reward-grid {
    grid-template-columns: 1fr;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .stat strong {
    min-width: 72px;
    font-size: 1.45rem;
  }

  .section,
  .section-compact {
    padding: 78px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 36px;
  }

  .service-grid,
  .value-grid,
  .timeline,
  .footer-grid,
  .form-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .value-grid--four {
    grid-template-columns: 1fr;
  }

  .amazon-dsp-image,
  .amazon-dsp-image img {
    min-height: 330px;
    height: 330px;
  }

  .portal-card:last-child {
    grid-column: auto;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px;
  }

  .service-detail-mark {
    width: auto;
    justify-items: start;
    grid-template-columns: auto auto;
    align-items: center;
  }

  .president-panel {
    min-height: 500px;
  }

  .president-panel img {
    height: 500px;
  }

  .president-panel figcaption {
    right: 22px;
    bottom: 20px;
    left: 22px;
  }

  .hiring-showcase {
    padding: 72px 0;
  }

  .hiring-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hiring-copy {
    max-width: 680px;
    padding: 0;
  }

  .team-carousel {
    min-height: 560px;
  }

  .quick-form,
  .auth-card {
    padding: 25px 20px;
  }

  .auth-visual {
    min-height: 460px;
  }

  .auth-visual-copy {
    inset: auto 16px 16px;
    padding: 22px;
  }

  .auth-panel {
    padding: 60px 20px 40px;
  }

  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .auth-form-grid .full {
    grid-column: auto;
  }

  .auth-tabs--three {
    grid-template-columns: 1fr;
  }

  .auth-back {
    top: 18px;
    right: 18px;
  }

  .service-card:last-child,
  .value-card:last-child,
  .footer-grid > div:first-child,
  .field.full {
    grid-column: auto;
  }

  .service-card {
    min-height: 300px;
  }

  .visual-panel {
    min-height: 410px;
    padding: 28px;
  }

  .visual-number {
    margin-top: 70px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px 26px;
  }

  .page-hero {
    padding: 150px 0 72px;
  }

  .timeline {
    gap: 26px;
    padding-left: 22px;
    border-top: 0;
    border-left: 1px solid #d7d3c9;
  }

  .timeline-item {
    padding: 0 0 0 20px;
  }

  .timeline-item::before {
    left: -29px;
    top: 5px;
  }

  .course-item {
    grid-template-columns: 44px 1fr;
  }

  .course-state {
    grid-column: 2;
  }

  .leader-row {
    grid-template-columns: 48px 1fr auto;
    padding: 0 16px;
  }

  .leader-row > :last-child {
    display: none;
  }

  .leader-row.header > :nth-child(3) {
    text-align: right;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Secure Dispatch / Admin dashboard */
.admin-body {
  min-height: 100vh;
  color: #eeeae2;
  background:
    radial-gradient(circle at 88% 4%, rgba(213, 169, 79, 0.18), transparent 28rem),
    linear-gradient(145deg, #080909, #121313 52%, #090909);
}

.admin-shell {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 70px;
}

.admin-topbar,
.admin-heading,
.admin-section-head,
.admin-identity,
.driver-review-head,
.driver-review-actions,
.roster-row,
.roster-actions,
.dialog-actions {
  display: flex;
  align-items: center;
}

.admin-topbar {
  min-height: 76px;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 18px;
  border: 1px solid rgba(213, 169, 79, 0.24);
  border-radius: 18px;
  background: rgba(17, 18, 18, 0.88);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.admin-brand {
  width: 142px;
}

.admin-brand img {
  width: 100%;
  height: 52px;
  object-fit: contain;
}

.admin-identity {
  gap: 18px;
  text-align: right;
}

.admin-identity strong,
.admin-identity span {
  display: block;
}

.admin-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-heading {
  justify-content: space-between;
  gap: 28px;
  padding: 58px 6px 30px;
}

.admin-heading h1,
.admin-section h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.12;
}

.admin-heading h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.admin-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: #b8b3ab;
}

.admin-alert {
  margin-bottom: 22px;
  padding: 13px 17px;
  color: #d7d1c7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.admin-alert[data-kind="success"] {
  color: #b8f0cf;
  background: rgba(54, 151, 94, 0.12);
  border-color: rgba(90, 201, 133, 0.3);
}

.admin-alert[data-kind="warning"] {
  color: #ffe1a1;
  background: rgba(213, 169, 79, 0.12);
  border-color: rgba(213, 169, 79, 0.34);
}

.admin-alert[data-kind="error"] {
  color: #ffc1c1;
  background: rgba(190, 57, 57, 0.12);
  border-color: rgba(240, 88, 88, 0.32);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.admin-stat {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-stat.is-pending {
  border-color: rgba(213, 169, 79, 0.48);
  background: linear-gradient(135deg, rgba(213, 169, 79, 0.18), rgba(213, 169, 79, 0.05));
}

.admin-stat span,
.admin-stat strong {
  display: block;
}

.admin-stat span {
  color: #aaa59d;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-stat strong {
  margin-top: 6px;
  color: var(--gold-bright);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
}

.admin-section {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(17, 18, 18, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.admin-section-head {
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 22px;
}

.admin-section h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.admin-section-copy {
  max-width: 620px;
  margin: 0;
  color: #aaa59d;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.admin-filter,
.review-action {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.admin-filter {
  padding: 8px 13px;
  color: #bdb8b0;
  background: transparent;
  border-radius: 8px;
}

.admin-filter.is-active {
  color: #16120c;
  background: var(--gold);
}

.driver-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.driver-review-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #161818;
}

.driver-review-head {
  justify-content: space-between;
  gap: 16px;
}

.driver-review-identity h3 {
  margin: 0;
  font-size: 1.3rem;
}

.driver-email {
  display: block;
  margin-top: 3px;
  color: var(--gold-bright);
  word-break: break-word;
}

.account-status {
  flex: 0 0 auto;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  color: #e9e5dd;
  background: rgba(255, 255, 255, 0.09);
}

.status-pending_approval { color: #ffe2a2; background: rgba(213, 169, 79, 0.16); }
.status-active { color: #a9edc5; background: rgba(78, 177, 118, 0.15); }
.status-suspended,
.status-rejected { color: #ffc1c1; background: rgba(211, 73, 73, 0.15); }

.roster-match {
  display: grid;
  gap: 2px;
  margin: 17px 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
}

.roster-match.is-match {
  color: #b9f1cf;
  background: rgba(66, 173, 108, 0.12);
  border: 1px solid rgba(91, 205, 136, 0.22);
}

.roster-match.is-missing {
  color: #e9d1a0;
  background: rgba(213, 169, 79, 0.09);
  border: 1px solid rgba(213, 169, 79, 0.2);
}

.driver-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.driver-detail {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
}

.driver-detail span,
.driver-detail strong {
  display: block;
}

.driver-detail span {
  color: #98938b;
  font-size: 0.75rem;
}

.driver-detail strong {
  overflow-wrap: anywhere;
  font-size: 0.89rem;
  line-height: 1.45;
}

.driver-review-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review-action {
  padding: 10px 14px;
  color: #e9e6df;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
}

.review-action.approve { color: #102118; background: #78c59c; }
.review-action.danger { color: #ffd5d5; background: rgba(204, 70, 70, 0.18); }

.roster-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(213, 169, 79, 0.2);
  border-radius: 16px;
  background: rgba(213, 169, 79, 0.045);
}

.roster-form .field label,
.review-dialog .field label {
  display: block;
  margin-bottom: 6px;
  color: #c4beb5;
  font-size: 0.82rem;
  font-weight: 700;
}

.roster-form input,
.review-dialog textarea {
  width: 100%;
  padding: 11px 12px;
  color: #f3efe7;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: #0f1010;
}

.roster-notes { grid-column: span 2; }
.roster-form-actions { display: flex; align-items: end; gap: 9px; }

.roster-list,
.approval-history {
  display: grid;
  gap: 9px;
}

.roster-row,
.history-row {
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.roster-row.is-inactive { opacity: 0.55; }
.roster-identity strong,
.roster-identity span,
.history-row strong,
.history-row span,
.history-row time { display: block; }
.roster-identity span,
.roster-meta,
.history-row span,
.history-meta { color: #9f9a92; font-size: 0.84rem; }
.roster-meta { display: flex; gap: 18px; margin-left: auto; }
.roster-actions { gap: 12px; }
.history-row { display: grid; grid-template-columns: 1fr minmax(200px, 0.8fr) auto; }
.history-note { margin: 0; color: #c9c3ba; }
.history-meta { text-align: right; }

.admin-empty {
  grid-column: 1 / -1;
  padding: 30px;
  text-align: center;
  color: #aaa59d;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
}

.admin-empty p { margin: 4px 0 0; }

.review-dialog {
  width: min(560px, calc(100% - 28px));
  padding: 0;
  color: #eeeae2;
  border: 1px solid rgba(213, 169, 79, 0.38);
  border-radius: 20px;
  background: #171818;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
}

.review-dialog::backdrop { background: rgba(0, 0, 0, 0.74); backdrop-filter: blur(5px); }
.review-dialog form { position: relative; padding: 28px; }
.review-dialog h2 { margin: 0 0 10px; font-family: "Manrope", sans-serif; }
.review-dialog p:not(.eyebrow) { color: #afa99f; }
.dialog-close { position: absolute; top: 13px; right: 15px; color: #d7d1c8; background: transparent; border: 0; font-size: 1.8rem; cursor: pointer; }
.dialog-actions { justify-content: flex-end; gap: 10px; margin-top: 20px; }

html[data-theme="light"] .admin-body {
  color: #1d1912;
  background: radial-gradient(circle at 88% 4%, rgba(213, 169, 79, 0.22), transparent 28rem), #f4efe5;
}

html[data-theme="light"] .admin-topbar,
html[data-theme="light"] .admin-section {
  background: rgba(255, 253, 248, 0.94);
  border-color: rgba(65, 47, 18, 0.13);
  box-shadow: 0 20px 55px rgba(83, 58, 17, 0.09);
}

html[data-theme="light"] .admin-heading p:not(.eyebrow),
html[data-theme="light"] .admin-section-copy,
html[data-theme="light"] .admin-stat span,
html[data-theme="light"] .driver-detail span,
html[data-theme="light"] .roster-identity span,
html[data-theme="light"] .roster-meta,
html[data-theme="light"] .history-row span,
html[data-theme="light"] .history-meta { color: #665e52; }

html[data-theme="light"] .admin-stat,
html[data-theme="light"] .driver-review-card,
html[data-theme="light"] .driver-detail,
html[data-theme="light"] .roster-row,
html[data-theme="light"] .history-row {
  background: #ffffff;
  border-color: rgba(65, 47, 18, 0.12);
}

html[data-theme="light"] .admin-filter { color: #554d42; }
html[data-theme="light"] .admin-filters { background: #eee6d8; }
html[data-theme="light"] .roster-form { background: #fff9ed; }
html[data-theme="light"] .roster-form .field label { color: #51493f; }
html[data-theme="light"] .roster-form input { color: #1d1912; background: #ffffff; border-color: rgba(65, 47, 18, 0.18); }
html[data-theme="light"] .review-action:not(.approve):not(.danger) { color: #29231a; background: #eee7da; }

/* Secure Driver dashboard */
.driver-dashboard-shell {
  width: min(1180px, calc(100% - 40px));
}

.driver-welcome {
  align-items: flex-end;
}

.driver-active-badge {
  padding: 10px 16px;
  font-size: 0.82rem;
  box-shadow: 0 0 0 6px rgba(78, 177, 118, 0.06);
}

.driver-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.5fr);
  gap: 22px;
}

.driver-dashboard-grid .admin-section {
  margin-top: 0;
}

.driver-access-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(213, 169, 79, 0.34);
  background:
    radial-gradient(circle at 100% 0, rgba(213, 169, 79, 0.2), transparent 16rem),
    rgba(17, 18, 18, 0.92);
}

.driver-access-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  place-items: center;
  color: #102118;
  background: #78c59c;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(120, 197, 156, 0.08);
  font-size: 1.5rem;
  font-weight: 900;
}

.driver-access-card h2 {
  margin: 0 0 12px;
}

.driver-access-card > p:not(.eyebrow) {
  color: #b8b3ab;
  line-height: 1.7;
}

.driver-access-meta {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.driver-access-meta span,
.driver-access-meta strong {
  display: block;
}

.driver-access-meta span {
  color: #98938b;
  font-size: 0.78rem;
}

.driver-access-meta strong {
  margin-top: 3px;
  color: #eeeae2;
  font-size: 0.9rem;
}

.driver-profile-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.driver-profile-details .driver-detail {
  min-height: 72px;
}

.driver-detail-wide {
  grid-column: 1 / -1;
}

.driver-next-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.driver-next-section .admin-section-head {
  flex: 1;
  margin-bottom: 0;
}

.driver-quick-links {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

html[data-theme="light"] .driver-access-card {
  background:
    radial-gradient(circle at 100% 0, rgba(213, 169, 79, 0.2), transparent 16rem),
    #fffdf8;
}

html[data-theme="light"] .driver-access-card > p:not(.eyebrow),
html[data-theme="light"] .driver-access-meta span {
  color: #665e52;
}

html[data-theme="light"] .driver-access-meta {
  border-top-color: rgba(65, 47, 18, 0.12);
}

html[data-theme="light"] .driver-access-meta strong {
  color: #1d1912;
}

@media (max-width: 1050px) {
  .driver-review-list { grid-template-columns: 1fr; }
  .driver-dashboard-grid { grid-template-columns: 1fr; }
  .driver-next-section { align-items: flex-start; flex-direction: column; }
  .roster-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster-notes { grid-column: span 1; }
  .history-row { grid-template-columns: 1fr 1fr; }
  .history-note { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .admin-shell { width: min(100% - 22px, 1440px); padding-top: 12px; }
  .admin-topbar { align-items: flex-start; padding: 12px; }
  .admin-identity { align-items: flex-end; gap: 8px; font-size: 0.8rem; }
  .admin-identity strong { max-width: 170px; overflow-wrap: anywhere; }
  .admin-logout { padding: 8px 10px; font-size: 0.75rem; }
  .admin-heading { align-items: flex-start; flex-direction: column; padding: 42px 4px 24px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-section { padding: 18px 14px; }
  .admin-section-head { align-items: flex-start; flex-direction: column; }
  .admin-filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .admin-filter { white-space: nowrap; }
  .driver-details { grid-template-columns: 1fr; }
  .driver-welcome { align-items: flex-start; }
  .driver-profile-details { grid-template-columns: 1fr; }
  .driver-detail-wide { grid-column: auto; }
  .driver-quick-links { width: 100%; flex-direction: column; }
  .driver-quick-links .btn { width: 100%; }
  .driver-review-head { align-items: flex-start; }
  .roster-form { grid-template-columns: 1fr; }
  .roster-row { align-items: flex-start; flex-direction: column; }
  .roster-meta { margin-left: 0; flex-wrap: wrap; }
  .history-row { grid-template-columns: 1fr; }
  .history-note { grid-column: auto; }
  .history-meta { text-align: left; }
}

@media (max-width: 460px) {
  .admin-brand { width: 108px; }
  .admin-stat { padding: 16px; }
  .admin-stat strong { font-size: 1.6rem; }
  .driver-review-head { flex-direction: column; }
  .driver-review-actions { justify-content: stretch; }
  .review-action { flex: 1 1 100%; }
}

@media (max-width: 960px) and (max-height: 700px) {
  .site-nav {
    padding-top: 10px;
  }

  .site-nav a {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .site-nav .nav-cta {
    min-height: 46px;
    margin-top: 10px;
  }
}

/* =====================================
   TRUSTED COMPANIES
===================================== */

.trust-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(213, 169, 79, 0.14),
      transparent 40%
    ),
    linear-gradient(180deg, #101214, #090a0b);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-section::before {
  content: "";
  position: absolute;
  top: -300px;
  left: 50%;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(213, 169, 79, 0.13);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.trust-heading {
  position: relative;
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.trust-heading .eyebrow {
  justify-content: center;
}

.trust-heading .lead {
  margin-inline: auto;
}

.trust-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.trust-grid--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.trust-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.trust-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 30%;
  height: 300%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );
  transform: rotate(25deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.trust-card:hover {
  transform: translateY(-8px);
  border-color: rgba(213, 169, 79, 0.5);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.trust-card:hover::after {
  left: 130%;
}

.trust-logo {
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 45px;
  background: #ffffff;
  border-radius: 18px;
}

.trust-logo img {
  width: auto;
  max-width: 75%;
  max-height: 100px;
  object-fit: contain;
}

.trust-card-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 30px 18px 20px;
}

.trust-number {
  color: #f1d47d;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.trust-card-content h3 {
  margin-bottom: 8px;
  color: #f6f3ea;
}

.trust-card-content p {
  margin: 0;
  color: #a6a8aa;
}

.trust-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 18px 18px;
  padding: 8px 13px;
  color: #c9c9c6;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.trust-status i {
  width: 7px;
  height: 7px;
  background: #d5a94f;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(213, 169, 79, 0.8);
}

/* Trusted companies — mobile */
@media (max-width: 680px) {
  .trust-section {
    padding: 80px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-logo {
    min-height: 170px;
    padding: 34px;
  }
}

/* =====================================
   DAY / NIGHT THEME TOGGLE
===================================== */

html {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --panel: #ffffff;
  --panel-2: #f2ecdf;
  --paper: #fffdf8;
  --muted: #70695d;
  --muted-light: #4e483e;
  --line: rgba(55, 42, 19, 0.15);
  --line-gold: rgba(142, 100, 34, 0.32);
  --shadow: 0 24px 65px rgba(80, 57, 18, 0.13);
}

.theme-toggle {
  position: fixed;
  top: 92px;
  right: 18px;
  z-index: 100002;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--gold-bright);
  background: rgba(9, 10, 11, 0.9);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.theme-toggle--auth {
  top: 24px;
  left: 24px;
  right: auto;
}

.theme-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  border-color: var(--gold-bright);
  box-shadow: 0 16px 40px rgba(213, 169, 79, 0.22);
}

.theme-icon {
  grid-area: 1 / 1;
  font-family: Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  transition: opacity .22s ease, transform .3s ease;
}

.theme-icon-sun {
  opacity: 0;
  transform: scale(.55) rotate(-45deg);
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: scale(.55) rotate(45deg);
}

html[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}

html[data-theme="light"] body {
  color: #1d1912;
  background: #f8f5ed;
}

html[data-theme="light"] .theme-toggle {
  color: #8e6422;
  background: rgba(255, 253, 248, 0.96);
  border-color: rgba(142, 100, 34, 0.35);
  box-shadow: 0 12px 34px rgba(80, 57, 18, 0.15);
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-header.is-scrolled,
html[data-theme="light"] .page-header .site-header {
  background: rgba(255, 253, 248, 0.97);
  border-color: rgba(55, 42, 19, 0.13);
}

html[data-theme="light"] .site-nav a,
html[data-theme="light"] .menu-toggle {
  color: #272117;
}

html[data-theme="light"] .menu-toggle {
  background: rgba(142, 100, 34, 0.06);
  border-color: rgba(55, 42, 19, 0.18);
}

html[data-theme="light"] .site-nav {
  background: #fffdf8;
}

html[data-theme="light"] .nav-cta {
  color: #17130d !important;
  background: linear-gradient(135deg, #f1d47d, #d5a94f);
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a[aria-current="page"] {
  color: #8a621e;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .text-link,
html[data-theme="light"] .breadcrumb a,
html[data-theme="light"] .rank,
html[data-theme="light"] .course-state {
  color: #8a621e;
}

html[data-theme="light"] .gold-text {
  background: linear-gradient(110deg, #6f4911, #bd8730 55%, #7d5518);
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-theme="light"] .btn-secondary {
  color: #242018;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(55, 42, 19, 0.24);
}

html[data-theme="light"] .hero {
  background-color: #f8f5ed;
}

html[data-theme="light"] .hero::before {
  background: linear-gradient(90deg, rgba(255, 253, 248, .97) 0%, rgba(255, 253, 248, .84) 39%, rgba(255, 253, 248, .25) 70%, rgba(255, 253, 248, .08) 100%), linear-gradient(0deg, #f8f5ed 0%, transparent 22%);
}

html[data-theme="light"] .hero-copy .lead,
html[data-theme="light"] .hiring-copy .lead {
  color: #4f493f;
}

html[data-theme="light"] .stat-strip {
  background: rgba(255, 253, 248, 0.88);
  border-color: rgba(55, 42, 19, 0.14);
}

html[data-theme="light"] .stat {
  border-color: rgba(55, 42, 19, 0.14);
}

html[data-theme="light"] .stat strong {
  color: #8a621e;
}

html[data-theme="light"] .stat span {
  color: #4f493f;
}

html[data-theme="light"] .hero-particles {
  opacity: .38;
}

html[data-theme="light"] .section-light {
  color: #1d1912;
  background: #fffdf8;
}

html[data-theme="light"] .service-card,
html[data-theme="light"] .value-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .portal-card,
html[data-theme="light"] .portal-side,
html[data-theme="light"] .portal-main,
html[data-theme="light"] .faq-item {
  background: #ffffff;
  border-color: rgba(55, 42, 19, 0.14);
  box-shadow: 0 18px 48px rgba(80, 57, 18, 0.07);
}

html[data-theme="light"] .section-light .value-card h3 {
  color: #1d1912;
}

html[data-theme="light"] .service-detail {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(55, 42, 19, 0.14);
}

html[data-theme="light"] .amazon-dsp-section {
  background: linear-gradient(180deg, #f8f5ed, #eee5d4);
}

html[data-theme="light"] .amazon-dsp-image {
  background: #ffffff;
  border-color: rgba(142, 100, 34, .28);
}

html[data-theme="light"] .owner-quote {
  color: #3f382e;
  background: rgba(213, 169, 79, .12);
}

html[data-theme="light"] .service-detail p,
html[data-theme="light"] .requirement-list li {
  color: #5f584d;
}

html[data-theme="light"] .official-logo-panel,
html[data-theme="light"] .president-panel,
html[data-theme="light"] .visual-panel {
  background: #f4ecdc;
  border-color: rgba(142, 100, 34, 0.24);
}

html[data-theme="light"] .card-icon,
html[data-theme="light"] .value-icon,
html[data-theme="light"] .service-detail-mark {
  color: #8a621e;
}

html[data-theme="light"] .card-icon,
html[data-theme="light"] .value-icon,
html[data-theme="light"] .service-detail-mark svg {
  background: linear-gradient(145deg, rgba(213, 169, 79, .16), rgba(255, 255, 255, .75));
  box-shadow: 0 14px 34px rgba(142, 100, 34, .11);
}

html[data-theme="light"] .visual-panel {
  color: #1d1912;
}

html[data-theme="light"] .hiring-showcase {
  background-color: #f8f5ed;
}

html[data-theme="light"] .hiring-showcase::before {
  background-image:
    linear-gradient(rgba(142, 100, 34, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 100, 34, .075) 1px, transparent 1px);
}

html[data-theme="light"] .application-section {
  background: linear-gradient(180deg, #f8f5ed, #eee5d4);
}

html[data-theme="light"] .quick-form,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .auth-card {
  color: #19160f;
  background: #fffdf8;
  border: 1px solid rgba(55, 42, 19, 0.12);
}

html[data-theme="light"] .league-showcase {
  color: #1d1912;
  background: #f8f5ed;
  border-color: rgba(55, 42, 19, 0.14);
}

html[data-theme="light"] .league-visual::after {
  background: linear-gradient(90deg, transparent 58%, #f8f5ed), linear-gradient(0deg, rgba(255,253,248,.4), transparent 42%);
}

html[data-theme="light"] .reward-chip,
html[data-theme="light"] .mini-stat,
html[data-theme="light"] .course-item,
html[data-theme="light"] .leader-row.header {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(55, 42, 19, 0.1);
}

html[data-theme="light"] .reward-chip strong,
html[data-theme="light"] .mini-stat strong,
html[data-theme="light"] .contact-card strong,
html[data-theme="light"] .contact-card a {
  color: #1d1912;
}

html[data-theme="light"] .page-hero,
html[data-theme="light"] .driver-hero {
  background: radial-gradient(circle at 82% 10%, rgba(213,169,79,.2), transparent 31%), linear-gradient(180deg, #fffdf8, #f1eadc);
}

html[data-theme="light"] .progress-ring {
  background: conic-gradient(var(--gold-deep) 0 78%, #ded6c7 78% 100%);
}

html[data-theme="light"] .progress-ring::before {
  background: #ffffff;
}

html[data-theme="light"] .progress-ring span,
html[data-theme="light"] .points,
html[data-theme="light"] .tier-pill.gold {
  color: #7e581c;
}

html[data-theme="light"] .leaderboard {
  background: #ffffff;
  border-color: rgba(55, 42, 19, 0.14);
}

html[data-theme="light"] .tier-pill.platinum {
  color: #345e58;
  background: rgba(74, 129, 121, 0.12);
}

html[data-theme="light"] .status-pill {
  color: #276342;
  background: rgba(56, 139, 90, 0.13);
}

html[data-theme="light"] .auth-page {
  color: #1d1912;
  background: #f8f5ed;
}

html[data-theme="light"] .auth-panel {
  background: #f8f5ed;
}

html[data-theme="light"] .auth-tabs {
  background: #eee6d7;
  border-color: rgba(55, 42, 19, 0.13);
}

html[data-theme="light"] .auth-tab {
  color: #5e574c;
}

html[data-theme="light"] .auth-tab.is-active {
  color: #17130d;
  background: var(--gold);
}

html[data-theme="light"] .auth-form .field label {
  color: #4f493f;
}

html[data-theme="light"] .auth-form .field input,
html[data-theme="light"] .auth-form .field select {
  color: #1d1912;
  background: #ffffff;
  border-color: rgba(55, 42, 19, 0.18);
}

html[data-theme="light"] .auth-helper,
html[data-theme="light"] .auth-intro,
html[data-theme="light"] .auth-consent,
html[data-theme="light"] .auth-form-options,
html[data-theme="light"] .auth-note {
  color: #5e574c;
}

html[data-theme="light"] .auth-form .form-status.is-error {
  color: #a11d26;
}

html[data-theme="light"] .auth-visual-copy,
html[data-theme="light"] .auth-visual-copy .lead {
  color: #f8f5ed;
}

html[data-theme="light"] .auth-visual-copy .eyebrow {
  color: var(--gold-bright);
}

html[data-theme="light"] .trust-section {
  color: #1d1912;
  background: radial-gradient(circle at 50% 0%, rgba(213,169,79,.18), transparent 40%), linear-gradient(180deg, #fffdf8, #f1eadc);
  border-color: rgba(55, 42, 19, 0.13);
}

html[data-theme="light"] .trust-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(55, 42, 19, 0.14);
  box-shadow: 0 18px 48px rgba(80, 57, 18, 0.08);
}

html[data-theme="light"] .trust-card-content h3 {
  color: #1d1912;
}

html[data-theme="light"] .trust-status {
  color: #514a40;
  background: #eee6d7;
}

html[data-theme="light"] .site-footer {
  color: #1d1912;
  background: #fffdf8;
  border-color: rgba(55, 42, 19, 0.14);
}

html[data-theme="light"] .footer-col h3 {
  color: #8a621e;
}

html[data-theme="light"] .footer-links a,
html[data-theme="light"] .footer-links span,
html[data-theme="light"] .footer-copy {
  color: #5e574c;
}

html[data-theme="light"] .footer-bottom {
  color: #746c60;
  border-color: rgba(55, 42, 19, 0.14);
}

html[data-theme="light"] .footer-social a {
  color: #8a621e;
  background: rgba(142, 100, 34, .07);
  border-color: rgba(142, 100, 34, .28);
}

html[data-theme="light"] .footer-social a:hover {
  color: #fffdf8;
  background: #8a621e;
}

@media (max-width: 960px) {
  .theme-toggle {
    top: 88px;
    right: 14px;
  }

  .theme-toggle--auth {
    top: 18px;
    left: 18px;
    right: auto;
  }

  html[data-theme="light"] .site-nav {
    background: #fffdf8;
  }
}

@media (max-width: 680px) {
  .theme-toggle {
    width: 44px;
    height: 44px;
    top: 84px;
  }

  .theme-toggle--auth {
    top: 14px;
  }

  html[data-theme="light"] .hero::before {
    background: linear-gradient(90deg, rgba(255,253,248,.94), rgba(255,253,248,.55)), linear-gradient(0deg, #f8f5ed, transparent 46%);
  }

  .hiring-showcase {
    padding: 62px 0;
  }

  .team-carousel {
    min-height: 500px;
    border-radius: 23px;
  }

  .team-carousel::after {
    inset: 8px;
    border-radius: 16px;
  }

  .team-carousel-arrow {
    top: auto;
    bottom: 17px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .team-carousel-arrow:hover,
  .team-carousel-arrow:focus-visible {
    transform: scale(1.06);
  }

  .team-carousel-arrow--prev { left: 16px; }
  .team-carousel-arrow--next { right: 16px; }

  .team-carousel-footer {
    right: 70px;
    bottom: 23px;
    left: 70px;
    justify-content: center;
  }

  .team-carousel-count,
  .team-slide figcaption {
    display: none;
  }

  html[data-theme="light"] .league-visual::after {
    background: linear-gradient(0deg, #f8f5ed, transparent 42%);
  }
}
