:root {
  --bg: #070707;
  --bg-soft: #0b0b0b;
  --surface: #10100f;
  --surface-raised: #151411;
  --surface-gold: #1a1710;
  --text: #f7f4ed;
  --text-soft: #cbc7be;
  --muted: #96938c;
  --gold: #d6ae62;
  --gold-light: #f0d79f;
  --gold-deep: #8d642d;
  --line: rgba(214, 174, 98, 0.25);
  --line-soft: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --header-height: 78px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(214, 174, 98, 0.07), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: #080705;
}

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

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

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--gold-light);
  color: #090806;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0;
}

.section--compact {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section--line {
  border-top: 1px solid var(--line-soft);
}

.section--glow::before {
  position: absolute;
  top: 10%;
  left: 50%;
  width: min(820px, 92vw);
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(214, 174, 98, 0.06);
  filter: blur(100px);
  content: "";
  pointer-events: none;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(214, 174, 98, 0.18);
  background: rgba(7, 7, 7, 0.9);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.97);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  width: min(calc(100% - 40px), 1320px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand__mark {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(214, 174, 98, 0.55);
  border-radius: 50%;
  background: #070707;
  box-shadow: 0 0 24px rgba(214, 174, 98, 0.12);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: circle(48% at 50% 50%);
}

.brand__wordmark {
  display: grid;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand__wordmark span:last-child {
  margin-top: 5px;
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: #aaa7a0;
  font-size: 0.9rem;
  font-weight: 650;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 15px;
  bottom: 5px;
  left: 15px;
  height: 1px;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  transition: transform 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  background: rgba(214, 174, 98, 0.08);
  color: var(--gold-light);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(214, 174, 98, 0.05);
  color: var(--gold-light);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 180ms var(--ease),
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--gold);
  color: #090806;
  box-shadow: 0 12px 32px rgba(214, 174, 98, 0.2);
}

.button--solid {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0b0906;
}

.button--solid:hover,
.button--solid:focus-visible {
  background: var(--gold-light);
  box-shadow: 0 14px 38px rgba(214, 174, 98, 0.3);
}

.button--soft {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.button svg,
.text-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  background: #030303;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 56%, rgba(0, 0, 0, 0.45)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 35%);
  content: "";
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 1916 / 821;
  object-fit: cover;
  object-position: center;
}

.hero__mobile-copy {
  display: none;
}

.hero__dock {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(214, 174, 98, 0.05), transparent 32%, rgba(214, 174, 98, 0.04)),
    #0a0a09;
}

.hero__dock-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 112px;
}

.hero__dock-copy {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero__dock-copy::before {
  width: 42px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.hero__dock-copy strong {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.hero__dock-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero__buttons {
  display: flex;
  gap: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(214, 174, 98, 0.45);
  border-radius: 999px;
  background: rgba(214, 174, 98, 0.055);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 15px;
  height: 15px;
}

.display-title {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.display-title .gold,
.section-title .gold {
  color: var(--gold-light);
}

.section-title {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(2.15rem, 4.3vw, 4.25rem);
  font-weight: 820;
  letter-spacing: -0.045em;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-style: italic;
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.centered-heading {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto clamp(42px, 6vw, 72px);
  text-align: center;
}

.centered-heading .section-title,
.centered-heading .lead {
  margin-right: auto;
  margin-left: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.intro-monogram {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.12), transparent 38%),
    repeating-linear-gradient(135deg, transparent 0 32px, rgba(255, 255, 255, 0.012) 32px 33px),
    #0b0b0a;
  box-shadow: var(--shadow);
}

.intro-monogram::before,
.intro-monogram::after {
  position: absolute;
  border: 1px solid rgba(214, 174, 98, 0.14);
  border-radius: 50%;
  content: "";
}

.intro-monogram::before {
  width: 330px;
  height: 330px;
}

.intro-monogram::after {
  width: 250px;
  height: 250px;
}

.intro-monogram img {
  position: relative;
  z-index: 1;
  width: min(72%, 340px);
  clip-path: circle(48% at 50% 50%);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
}

.intro-copy p {
  margin-bottom: 30px;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.mini-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0;
}

.mini-fact {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.mini-fact strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.05rem;
}

.mini-fact span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.07), transparent 40%),
    var(--surface);
  transition:
    transform 260ms var(--ease),
    border-color 260ms ease,
    background 260ms ease;
}

.value-card::after {
  position: absolute;
  right: -28px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(214, 174, 98, 0.11);
  border-radius: 50%;
  content: "";
}

.value-card:hover {
  transform: translateY(-7px);
  border-color: rgba(214, 174, 98, 0.45);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.12), transparent 44%),
    var(--surface-raised);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(214, 174, 98, 0.07);
  color: var(--gold-light);
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-panel__image {
  min-height: 430px;
  overflow: hidden;
  background: #060606;
}

.feature-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

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

.feature-panel__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 5vw, 68px);
  background:
    radial-gradient(circle at 0 0, rgba(214, 174, 98, 0.11), transparent 20rem),
    #0e0e0d;
}

.feature-panel__content h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.04em;
}

.feature-panel__content p {
  margin-bottom: 28px;
  color: var(--text-soft);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 38px 24px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line-soft);
}

.stat strong {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
}

.stat span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-cta {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual-cta__image {
  position: relative;
  overflow: hidden;
}

.visual-cta__image img {
  width: 100%;
  aspect-ratio: 2172 / 724;
  object-fit: cover;
}

.visual-cta__bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(90deg, rgba(214, 174, 98, 0.07), transparent 42%),
    #0d0d0c;
}

.visual-cta__bar h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.visual-cta__bar p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  min-height: clamp(430px, 58vw, 650px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 34%, rgba(214, 174, 98, 0.13), transparent 28rem),
    #070707;
}

.page-hero::before {
  position: absolute;
  inset: 0 0 0 42%;
  background:
    linear-gradient(90deg, #070707 0%, rgba(7, 7, 7, 0.58) 28%, rgba(7, 7, 7, 0.05)),
    var(--page-image, url("feature-drive.png")) center / cover no-repeat;
  content: "";
  opacity: 0.62;
}

.page-hero--team {
  --page-image: url("feature-drive.png");
}

.page-hero--partners {
  --page-image: url("information-banner.png");
}

.page-hero--hub {
  --page-image: url("hero-main.png");
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(135deg, transparent 0 54px, rgba(214, 174, 98, 0.025) 54px 55px);
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 0;
}

.page-hero .lead {
  max-width: 590px;
}

.visual-page-hero {
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.visual-page-hero img {
  width: 100%;
  aspect-ratio: 1916 / 821;
  object-fit: cover;
}

.visual-page-hero__mobile-copy {
  display: none;
}

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

.content-card {
  position: relative;
  min-height: 260px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(214, 174, 98, 0.07), transparent 38%),
    var(--surface);
}

.content-card__number {
  position: absolute;
  top: 15px;
  right: 24px;
  color: rgba(214, 174, 98, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.5rem;
  line-height: 1;
}

.content-card h2,
.content-card h3 {
  position: relative;
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.content-card p {
  position: relative;
  margin-bottom: 0;
  color: var(--text-soft);
}

.statement {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  font-style: italic;
  line-height: 1.3;
  text-align: center;
}

.statement span {
  color: var(--gold-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  justify-content: center;
  gap: clamp(24px, 5vw, 54px);
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.team-card__portrait {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: #151515;
}

.team-card__portrait::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(8, 8, 8, 0.88));
  content: "";
}

.team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.team-card:first-child .team-card__portrait img {
  object-position: 50% 44%;
}

.team-card:hover .team-card__portrait img {
  transform: scale(1.035);
}

.team-card__body {
  padding: 30px;
}

.team-card__role {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card h2 {
  margin-bottom: 12px;
  font-family: "Segoe UI", "Arial Unicode MS", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  overflow-wrap: anywhere;
}

.team-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.empty-state {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 86px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0, rgba(214, 174, 98, 0.1), transparent 23rem),
    var(--surface);
  text-align: center;
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(214, 174, 98, 0.06);
  color: var(--gold-light);
}

.empty-state__icon svg {
  width: 34px;
  height: 34px;
}

.empty-state h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.brand-collection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.brand-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.brand-shot:first-child {
  grid-column: 1 / -1;
}

.brand-shot img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition:
    transform 700ms var(--ease),
    filter 300ms ease;
}

.brand-shot:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.brand-shot__label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(214, 174, 98, 0.24);
  border-radius: 12px;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(12px);
}

.brand-shot__label strong {
  font-size: 0.85rem;
}

.brand-shot__label span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-list__item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
}

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

.hub-card {
  position: relative;
  min-height: 240px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.07), transparent 44%),
    var(--surface);
}

.hub-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 58px;
}

.hub-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--gold-light);
}

.hub-card__icon svg {
  width: 23px;
  height: 23px;
}

.hub-card__status {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hub-card h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.hub-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0, rgba(214, 174, 98, 0.055), transparent 28rem),
    #050505;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) repeat(2, minmax(160px, 0.45fr));
  gap: 60px;
  padding: 72px 0 54px;
}

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

.footer-heading {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.footer-links a {
  width: max-content;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line-soft);
  color: #8b8780;
  font-size: 0.76rem;
}

.footer-bottom p {
  max-width: 720px;
  margin-bottom: 0;
}

.back-to-top {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-3px);
  background: rgba(214, 174, 98, 0.08);
}

.back-to-top svg {
  width: 17px;
  height: 17px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 80ms !important;
}

.reveal-delay-2 {
  transition-delay: 160ms !important;
}

.reveal-delay-3 {
  transition-delay: 240ms !important;
}

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

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .brand__wordmark {
    display: none;
  }

  .nav-link {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

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

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

  .feature-panel__image {
    min-height: 0;
  }

  .feature-panel__image img {
    aspect-ratio: 1774 / 887;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .nav-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .brand__wordmark {
    display: grid;
  }

  .js .nav-toggle {
    position: absolute;
    z-index: 30;
    top: 50%;
    right: 0;
    display: block;
    transform: translateY(-50%);
  }

  .nav-actions {
    display: none;
  }

  .nav-menu {
    position: fixed;
    z-index: 20;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 4px;
    max-height: calc(100svh - var(--header-height));
    padding: 18px 20px 26px;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 7, 0.985);
    transition:
      transform 300ms var(--ease),
      opacity 200ms ease,
      visibility 200ms ease;
  }

  .js .nav-menu {
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
  }

  .js:not(.nav-ready) .nav-menu {
    transition: none;
  }

  .js .nav-open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    justify-content: space-between;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid transparent;
    font-size: 0.92rem;
  }

  .nav-link.is-active {
    border-color: var(--line);
  }

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

  .intro-monogram {
    min-height: 380px;
  }

  .page-hero::before {
    inset: 0;
    opacity: 0.32;
  }

  .page-hero::after {
    background:
      linear-gradient(90deg, rgba(7, 7, 7, 0.96) 0%, rgba(7, 7, 7, 0.64) 70%, rgba(7, 7, 7, 0.35)),
      linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.78));
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 68px 0;
  }

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

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .hero__visual {
    min-height: 72svh;
  }

  .hero__visual img {
    height: 72svh;
    aspect-ratio: auto;
    object-position: 72% center;
    filter: brightness(0.75);
  }

  .hero__visual::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent);
  }

  .hero__mobile-copy {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 28px;
    left: 20px;
    display: block;
  }

  .hero__mobile-copy .eyebrow {
    margin-bottom: 14px;
  }

  .hero__mobile-copy .mobile-title {
    display: block;
    max-width: 500px;
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 12vw, 4.2rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.055em;
    text-transform: uppercase;
  }

  .hero__mobile-copy p {
    max-width: 470px;
    margin-bottom: 0;
    color: var(--text-soft);
  }

  .hero__dock-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 0 30px;
  }

  .hero__dock-copy {
    display: none;
  }

  .hero__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .value-grid,
  .content-grid,
  .hub-preview,
  .brand-collection {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 0;
  }

  .value-card__icon {
    margin-bottom: 30px;
  }

  .mini-facts {
    grid-template-columns: 1fr;
  }

  .feature-panel__content {
    padding: 30px 24px 34px;
  }

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

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .visual-cta__image img {
    min-height: 280px;
    aspect-ratio: auto;
    object-position: 68% center;
  }

  .visual-cta__bar {
    grid-template-columns: 1fr;
  }

  .visual-page-hero {
    position: relative;
  }

  .visual-page-hero img {
    height: 62svh;
    aspect-ratio: auto;
    object-position: 66% center;
    filter: brightness(0.68);
  }

  .visual-page-hero__mobile-copy {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 28px;
    left: 20px;
    display: block;
  }

  .visual-page-hero__mobile-copy .mobile-title {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(2.35rem, 11vw, 4rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.05em;
    text-transform: uppercase;
  }

  .visual-page-hero__mobile-copy p {
    margin-bottom: 0;
    color: var(--text-soft);
  }

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

  .brand-shot:first-child {
    grid-column: auto;
  }

  .brand-shot img {
    min-height: 260px;
    aspect-ratio: auto;
    object-position: 65% center;
  }

  .brand-shot__label {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Driver Hub */
.hub-dashboard-section {
  overflow: hidden;
}

.hub-dashboard__intro {
  max-width: 760px;
  margin-inline: auto;
}

.hub-dashboard {
  position: relative;
  margin-top: clamp(38px, 5vw, 64px);
}

.hub-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(16, 16, 15, 0.82);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.hub-period {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
}

.hub-period__button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.hub-period__button:hover,
.hub-period__button:focus-visible {
  color: var(--text);
}

.hub-period__button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.hub-period__button.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0805;
  box-shadow: 0 8px 24px rgba(214, 174, 98, 0.16);
}

.hub-sync {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hub-sync__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #67c983;
  box-shadow: 0 0 0 5px rgba(103, 201, 131, 0.1);
}

.hub-sync.is-stale .hub-sync__dot {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(214, 174, 98, 0.1);
}

.hub-stale {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(214, 174, 98, 0.3);
  border-radius: 13px;
  background: rgba(214, 174, 98, 0.07);
  color: var(--gold-light);
  font-size: 0.84rem;
}

.hub-stale[hidden] {
  display: none;
}

.hub-stale svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hub-skeleton__kpis,
.hub-skeleton__layout {
  display: grid;
  gap: 16px;
}

.hub-skeleton__kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hub-skeleton__layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  margin-top: 18px;
}

.hub-skeleton__block {
  min-height: 122px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--surface);
}

.hub-skeleton__block::after {
  display: block;
  width: 46%;
  height: 100%;
  transform: translateX(-160%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.055), transparent);
  animation: hub-shimmer 1.5s ease-in-out infinite;
  content: "";
}

.hub-skeleton__block--large {
  min-height: 450px;
}

@keyframes hub-shimmer {
  to {
    transform: translateX(320%);
  }
}

.hub-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 220px;
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.06), transparent 42%),
    var(--surface);
}

.hub-state[hidden] {
  display: none;
}

.hub-state__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--gold-light);
}

.hub-state__icon svg {
  width: 27px;
  height: 27px;
}

.hub-state h2,
.hub-state h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.hub-state p {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
}

.hub-state__action {
  flex: 0 0 auto;
  margin-left: auto;
}

.hub-noscript {
  margin-top: 28px;
}

.hub-kpi-strip {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(214, 174, 98, 0.055), transparent 40%),
    rgba(16, 16, 15, 0.82);
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.22);
}

.hub-kpi-strip .stat {
  padding: 30px 18px;
}

.hub-kpi-strip .stat strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.7fr);
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.hub-panel {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.045), transparent 34%),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.hub-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 26px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.hub-panel__header h2 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hub-panel__kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hub-panel__count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.hub-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-color: var(--gold-deep) rgba(255, 255, 255, 0.04);
}

.hub-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hub-table th,
.hub-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.hub-table th {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hub-table tbody tr {
  transition: background 180ms ease;
}

.hub-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.022);
}

.hub-table tbody tr:last-child td {
  border-bottom: 0;
}

.hub-table__rank {
  width: 70px;
}

.hub-rank {
  display: inline-grid;
  place-items: center;
  min-width: 37px;
  min-height: 30px;
  padding: 0 7px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.hub-table__top-1 .hub-rank {
  border-color: rgba(240, 215, 159, 0.55);
  background: rgba(214, 174, 98, 0.11);
  color: var(--gold-light);
}

.hub-table__top-2 .hub-rank {
  border-color: rgba(205, 211, 220, 0.35);
  color: #d8dce2;
}

.hub-table__top-3 .hub-rank {
  border-color: rgba(173, 113, 61, 0.45);
  color: #d59b6a;
}

.hub-driver-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.hub-driver-link:hover strong,
.hub-driver-link:focus-visible strong {
  color: var(--gold-light);
}

.hub-driver-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
  border-radius: 8px;
}

.hub-driver-link__copy {
  display: grid;
  min-width: 0;
}

.hub-driver-link__copy strong,
.hub-driver-link__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-driver-link__copy strong {
  max-width: 205px;
  font-size: 0.86rem;
  transition: color 180ms ease;
}

.hub-driver-link__copy span {
  max-width: 205px;
  color: var(--muted);
  font-size: 0.7rem;
}

.hub-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(240, 215, 159, 0.2), transparent 50%),
    #1b1915;
  color: var(--gold-light);
  font-weight: 850;
  letter-spacing: 0.03em;
}

.hub-avatar img,
.hub-avatar__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hub-avatar img {
  z-index: 1;
  object-fit: cover;
}

.hub-avatar__fallback {
  display: grid;
  place-items: center;
}

.hub-avatar--table {
  width: 38px;
  height: 38px;
  font-size: 0.66rem;
}

.hub-table__metric {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.hub-table__metric--primary {
  color: var(--gold-light);
  font-weight: 850;
}

.hub-table__empty {
  height: 118px;
  color: var(--muted);
  text-align: center !important;
}

.hub-highlights {
  margin: 0;
  padding: 4px 26px;
}

.hub-highlight {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.hub-highlight:last-child {
  border-bottom: 0;
}

.hub-highlight dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-highlight dd {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
}

.hub-highlight > span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.route-visual,
.route-location,
.route-meta,
.route-city-list,
.route-city-list__item {
  display: inline-flex;
  align-items: center;
}

.route-visual {
  max-width: 100%;
  flex-wrap: wrap;
  gap: 5px;
}

.route-location {
  min-width: 0;
  gap: 5px;
}

.route-location__city {
  overflow-wrap: anywhere;
}

.route-visual__arrow {
  color: var(--gold);
}

.route-flag {
  width: 19px;
  height: 14px;
  flex: 0 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.36);
}

.route-meta {
  flex-wrap: wrap;
  gap: 4px;
}

.route-meta__driver {
  color: var(--muted);
}

.route-city-list {
  flex-wrap: wrap;
  gap: 5px 8px;
}

.route-city-list__item {
  gap: 4px;
}

.route-city-list__jobs,
.route-city-list__separator {
  color: var(--muted);
}

.driver-profile-shell {
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 0, rgba(214, 174, 98, 0.1), transparent 27rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.driver-profile-shell[hidden] {
  display: none;
}

.driver-profile__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 28px;
  border-bottom: 1px solid var(--line-soft);
}

.driver-profile__toolbar h2 {
  margin: 0;
  font-size: 1.35rem;
}

.driver-profile__close {
  min-height: 42px;
}

.driver-profile__state {
  min-height: 180px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.driver-profile-card {
  padding: clamp(26px, 4vw, 48px);
}

.driver-profile-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}

.hub-avatar--profile {
  width: 92px;
  height: 92px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
  font-size: 1.3rem;
}

.driver-profile-identity__copy {
  min-width: 0;
}

.driver-profile-identity__copy h3 {
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  font-size: clamp(1.6rem, 3.5vw, 2.45rem);
}

.driver-profile__trucksbook {
  color: var(--muted);
  font-size: 0.84rem;
}

a.driver-profile__trucksbook:hover,
a.driver-profile__trucksbook:focus-visible {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.driver-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.driver-profile-badge {
  padding: 6px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.driver-profile-badge--gold {
  border-color: var(--line);
  background: rgba(214, 174, 98, 0.08);
  color: var(--gold-light);
}

.driver-role-badge {
  padding: 6px 11px;
  border: 1px solid var(--role-color, #b9a06a);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.025);
  color: var(--role-color, #b9a06a);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.driver-profile-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  margin: 34px 0 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #0c0c0b;
}

.driver-profile-section-heading img {
  width: clamp(140px, 24vw, 260px);
  height: 72px;
  align-self: stretch;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0.72;
  filter: saturate(0.8) contrast(1.08);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 36%);
  mask-image: linear-gradient(to right, transparent, #000 36%);
}

.driver-profile-section-title {
  margin: 34px 0 14px;
  padding-left: 0;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.driver-profile-section-heading .driver-profile-section-title {
  margin: 0;
  padding: 0 22px;
}

.driver-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.driver-profile-stat {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.driver-profile-stat dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.driver-profile-stat dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(0.9rem, 1.7vw, 1.08rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

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

.driver-profile-route {
  padding: 19px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.driver-profile-route:last-child {
  grid-column: 1 / -1;
}

.driver-profile-route dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.driver-profile-route dd {
  display: grid;
  gap: 3px;
  margin: 0;
}

.driver-profile-route strong {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.driver-profile-route dd > span:not(.route-visual):not(.route-city-list) {
  color: var(--muted);
  font-size: 0.73rem;
}

.driver-profile-route .route-visual,
.driver-profile-route .route-city-list {
  color: var(--text);
  font-size: 0.82rem;
}

.driver-route-map-section {
  margin-top: 8px;
}

.driver-route-map {
  width: 100%;
  height: clamp(300px, 48vw, 480px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 52% 45%, rgba(214, 174, 98, 0.1), transparent 42%),
    #0a0a09;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

.driver-route-map[hidden] {
  display: none;
}

.driver-route-map .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #151411;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
}

.driver-route-map .maplibregl-ctrl-group button {
  background-color: #151411;
  filter: sepia(0.45) brightness(1.3);
}

.driver-route-map .maplibregl-ctrl-attrib {
  background: rgba(7, 7, 7, 0.86);
  color: #aaa498;
}

.driver-route-map .maplibregl-ctrl-attrib a {
  color: var(--gold-light);
}

.hub-map-marker {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 7px;
  place-items: center;
  border: 1px solid rgba(242, 201, 109, 0.9);
  border-radius: 50%;
  background: rgba(12, 11, 9, 0.94);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.55), 0 0 16px rgba(228, 185, 91, 0.2);
  cursor: pointer;
}

.hub-map-marker:hover,
.hub-map-marker:focus-visible {
  transform: scale(1.08);
  outline: 2px solid rgba(242, 201, 109, 0.28);
  outline-offset: 2px;
}

.route-flag--marker {
  width: 20px;
  height: 15px;
  flex-basis: 20px;
}

.hub-map-marker__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-light);
}

.hub-map-popup {
  display: grid;
  gap: 4px;
  min-width: 150px;
  color: #17130c;
}

.hub-map-popup strong {
  font-size: 0.8rem;
}

.hub-map-popup span {
  color: #625847;
  font-size: 0.72rem;
}

.driver-route-map .maplibregl-popup-content {
  border: 1px solid rgba(185, 160, 106, 0.42);
  border-radius: 10px;
  background: #f1eee7;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

.driver-route-map .maplibregl-popup-close-button {
  color: #17130c;
}

.driver-route-map__status {
  margin: 10px 3px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hub-layout,
  .hub-skeleton__layout {
    grid-template-columns: 1fr;
  }

  .hub-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .hub-highlight:nth-last-child(2) {
    border-bottom: 0;
  }

  .driver-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hub-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .hub-period {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-period__button {
    width: 100%;
    padding-inline: 10px;
  }

  .hub-sync {
    padding: 2px 4px;
  }

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

  .hub-skeleton__block {
    min-height: 100px;
  }

  .hub-state {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 22px;
  }

  .hub-state__action {
    width: 100%;
    margin-left: 0;
  }

  .hub-kpi-strip .stat {
    padding: 24px 10px;
  }

  .hub-kpi-strip .stat strong {
    font-size: 1.3rem;
  }

  .hub-kpi-strip .stat span {
    font-size: 0.61rem;
    letter-spacing: 0.08em;
  }

  .hub-panel__header {
    align-items: flex-start;
    padding: 21px 20px 18px;
  }

  .hub-table {
    min-width: 535px;
  }

  .hub-table th,
  .hub-table td {
    padding: 13px 11px;
  }

  .hub-table__metric-tertiary {
    display: none;
  }

  .hub-driver-link__copy strong,
  .hub-driver-link__copy span {
    max-width: 145px;
  }

  .hub-highlights {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .hub-highlight:nth-last-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .driver-profile__toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .driver-profile__close {
    width: 100%;
  }

  .driver-profile-card {
    padding: 24px 20px 28px;
  }

  .driver-profile-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hub-avatar--profile {
    width: 76px;
    height: 76px;
  }

  .driver-profile-stat {
    padding: 15px 13px;
  }

  .driver-profile-section-heading {
    min-height: 62px;
  }

  .driver-profile-section-heading .driver-profile-section-title {
    padding-left: 15px;
  }

  .driver-profile-section-heading img {
    width: 112px;
    height: 62px;
  }

  .driver-profile-routes {
    grid-template-columns: 1fr;
  }

  .driver-profile-route:last-child {
    grid-column: auto;
  }

  .driver-route-map {
    height: 320px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
