:root {
  --ink: #161616;
  --ink-soft: #242424;
  --paper: #ffffff;
  --studio: #f0f0ee;
  --studio-deep: #e6e6e3;
  --line: #dededb;
  --muted: #858582;
  --serif: "Spectral", Georgia, serif;
  --sans: "Onest", "Helvetica Neue", sans-serif;
  --number: "Onest", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.site-header {
  height: 112px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  position: relative;
  z-index: 20;
}
.nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 52px); }
.nav-right { justify-content: flex-end; }
.nav a, .footer-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
}
.nav a::after { content: ""; position: absolute; left: 0; right: .24em; bottom: -10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark span { font: 500 clamp(29px, 2.2vw, 38px)/.9 var(--serif); letter-spacing: .13em; }
.wordmark small { margin-top: 9px; font-size: 9px; font-weight: 400; letter-spacing: .45em; text-transform: uppercase; }
.menu-toggle, .header-phone { display: none; }

.hero {
  min-height: min(720px, calc(100vh - 112px));
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #090b0c 0%, #151a1d 38%, #2d3336 68%, #171a1c 100%);
  color: #fff;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, #000, transparent 74%); }
.hero-aura { position: absolute; width: 58vw; height: 58vw; right: -9vw; top: -20vw; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 9vw rgba(255,255,255,.018), 0 0 0 18vw rgba(255,255,255,.014); pointer-events: none; }
.hero-top { position: absolute; top: 46px; left: clamp(24px, 4vw, 72px); right: clamp(24px, 4vw, 72px); display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.slide-progress { display: flex; align-items: center; gap: 26px; font: 500 12px/1 var(--number); font-variant-numeric: tabular-nums; letter-spacing: .16em; }
.progress-track { display: block; width: clamp(120px, 16vw, 260px); height: 1px; background: rgba(255,255,255,.24); overflow: hidden; }
.progress-track i { display: block; width: 33.33%; height: 100%; background: #fff; transition: transform .45s ease; }
.slide-arrows { display: flex; gap: 10px; }
.slide-arrows button { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.32); background: transparent; color: #fff; cursor: pointer; font-size: 20px; transition: background .2s, color .2s; }
.slide-arrows button:hover { background: #fff; color: var(--ink); }
.hero-copy { position: absolute; left: clamp(24px, 4vw, 72px); bottom: clamp(68px, 9vw, 118px); z-index: 3; width: min(530px, 44vw); }
.eyebrow { margin: 0 0 20px; font-size: 10px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.eyebrow.dark { color: var(--muted); }
.hero h1 { margin: 0; font: 400 clamp(66px, 8vw, 126px)/.73 var(--serif); letter-spacing: -.025em; }
.hero-subtitle { width: min(430px, 100%); margin: 30px 0 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; letter-spacing: .08em; }
.hero-car-wrap { position: absolute; z-index: 2; right: clamp(-42px, 2vw, 42px); top: 49%; width: min(59vw, 960px); transform: translateY(-43%); }
.hero-car { display: block; width: 100%; position: relative; z-index: 2; transform: translateX(0); filter: drop-shadow(0 34px 25px rgba(0,0,0,.38)); transition: opacity .25s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.hero-car.changing { opacity: 0; transform: translateX(48px); }
.hero-shadow { position: absolute; left: 15%; right: 4%; bottom: 4%; height: 12%; border-radius: 50%; background: rgba(0,0,0,.65); filter: blur(26px); }
.outline-button { position: absolute; right: clamp(24px, 4vw, 72px); bottom: clamp(68px, 8vw, 96px); min-width: 248px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.55); display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 11px; font-weight: 400; letter-spacing: .23em; text-transform: uppercase; z-index: 4; transition: background .2s, color .2s; }
.outline-button:hover { background: #fff; color: var(--ink); }
.outline-button span, .black-button span { font-size: 17px; letter-spacing: 0; }
.hero-note { position: absolute; right: clamp(24px, 4vw, 72px); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; color: rgba(255,255,255,.35); font-size: 9px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; }

.brand-picker { min-height: 82px; padding: 0 clamp(24px, 4vw, 72px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: clamp(30px, 4vw, 68px); overflow: hidden; }
.picker-label { flex: 0 0 auto; color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; }
.brand-list { display: flex; align-items: stretch; gap: clamp(24px, 3vw, 46px); overflow-x: auto; scrollbar-width: none; }
.brand-list::-webkit-scrollbar { display: none; }
.brand-list button { min-height: 82px; border: 0; border-bottom: 1px solid transparent; padding: 0; background: none; font: 400 21px var(--serif); white-space: nowrap; cursor: pointer; transition: color .2s, border-color .2s; }
.brand-list button:hover { color: var(--muted); }
.brand-list button.selected { border-bottom-color: var(--ink); }

.stock { padding: clamp(70px, 8vw, 118px) clamp(24px, 4vw, 72px) 130px; }
.section-heading { margin-bottom: 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-heading h2, .promise h2 { margin: 0; font: 400 clamp(38px, 4.2vw, 64px)/.95 var(--serif); letter-spacing: -.015em; }
.result-count { margin: 0 0 5px; color: var(--muted); font: 500 10px/1 var(--number); font-variant-numeric: tabular-nums; letter-spacing: .2em; text-transform: uppercase; }
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 74px 36px; }
.car-card { min-width: 0; transition: opacity .25s, transform .25s; }
.car-card.filtered-out { display: none; }
.card-title { min-height: 45px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.card-title h3 { margin: 0; font: 500 clamp(20px, 1.8vw, 27px)/1.1 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.card-title span { color: var(--muted); font: 500 10px/1 var(--number); font-variant-numeric: tabular-nums; letter-spacing: .15em; }
.car-photo { height: clamp(250px, 26vw, 405px); background: var(--paper); display: grid; place-items: center; position: relative; overflow: hidden; }
.car-photo::after { content: ""; position: absolute; left: 16%; right: 12%; bottom: 12%; height: 9%; border-radius: 50%; background: rgba(25,25,25,.18); filter: blur(17px); }
.car-photo img { width: 90%; max-height: 86%; object-fit: contain; position: relative; z-index: 2; transition: transform .55s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 14px 13px rgba(0,0,0,.13)); }
.car-photo:hover img { transform: scale(1.045) translateY(-3px); }
.vehicle-badge { position: absolute; z-index: 4; left: 0; top: 0; padding: 8px 13px; background: var(--ink); color: #fff; font-size: 9px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.specs { margin: 18px 0 0; }
.specs div { min-height: 39px; display: grid; grid-template-columns: 38% 62%; align-items: center; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.specs dd { margin: 0; font: 400 13px/1.2 var(--number); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.card-price { margin: 22px 0 18px; font: 500 23px/1 var(--number); font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.card-price small { font-size: .72em; }
.black-button { min-height: 57px; padding: 0 20px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; transition: background .2s; }
.black-button:hover { background: #000; }

.promise { min-height: 630px; padding: clamp(70px, 8vw, 118px) clamp(24px, 4vw, 72px); background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr 2.1fr 1fr; align-items: end; gap: 40px; position: relative; overflow: hidden; }
.promise::before { content: "VCG"; position: absolute; right: -2vw; top: -13vw; color: rgba(255,255,255,.025); font: 500 34vw/.8 var(--serif); }
.promise-index { align-self: start; margin: 0; font: 500 11px/1 var(--number); font-variant-numeric: tabular-nums; letter-spacing: .16em; color: rgba(255,255,255,.45); }
.promise-copy { position: relative; z-index: 2; }
.promise-copy > p:last-child { max-width: 610px; margin: 38px 0 0; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.8; letter-spacing: .04em; }
.promise .outline-button { position: static; min-width: 100%; }
.outline-button.light { border-color: rgba(255,255,255,.45); }

footer { padding: 76px clamp(24px, 4vw, 72px) 48px; text-align: center; border-top: 1px solid var(--line); }
.footer-mark { display: inline-flex; }
footer > p { margin: 24px 0 42px; color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; }
.footer-contact { margin: -18px 0 42px; display: flex; justify-content: center; gap: 30px; color: var(--muted); font-size: 12px; }
.footer-links { padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: center; gap: 44px; }

.lead-section { padding: clamp(80px, 9vw, 140px) clamp(24px, 4vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 10vw, 180px); border-bottom: 1px solid var(--line); }
.lead-intro h2 { margin: 0; font: 400 clamp(44px, 5vw, 76px)/.92 var(--serif); }
.lead-intro > p:last-child { max-width: 520px; margin: 34px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.lead-form { display: grid; align-content: start; }
.lead-form label { padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.lead-form label span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.lead-form input, .lead-form select { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 18px/1.5 var(--sans); }
.lead-form .black-button { margin-top: 28px; border: 0; cursor: pointer; }
.lead-form small { margin-top: 14px; color: var(--muted); font-size: 9px; line-height: 1.5; }

.catalog-intro { padding: 88px clamp(24px, 4vw, 72px) 72px; border-bottom: 1px solid var(--line); }
.catalog-intro > div { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.catalog-intro h1 { margin: 0; font: 400 clamp(74px, 10vw, 150px)/.75 var(--serif); letter-spacing: -.04em; }
.catalog-intro div p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.catalog-layout { padding: 70px clamp(24px, 4vw, 72px) 130px; display: grid; grid-template-columns: minmax(180px, .55fr) 3fr; gap: clamp(45px, 7vw, 110px); }
.catalog-filters > p, .catalog-meta { margin: 0 0 24px; color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.filter-stack { display: grid; border-top: 1px solid var(--ink); }
.filter-stack button { min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font: 400 17px var(--serif); text-align: left; }
.filter-stack button span { color: var(--muted); font: 500 10px var(--number); font-variant-numeric: tabular-nums; }
.filter-stack button.selected { font-weight: 600; }
.catalog-meta { display: flex; justify-content: space-between; }
.catalog-meta b { color: var(--ink); font: inherit; }
.catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.thanks-page { background: var(--ink); color: #fff; }
.thanks-page .site-header { border-color: rgba(255,255,255,.16); background: var(--ink); }
.thanks-main { min-height: calc(100svh - 112px); padding: clamp(60px, 8vw, 120px) clamp(24px, 4vw, 72px); display: grid; grid-template-columns: 1fr 3fr; align-items: end; }
.thanks-number { align-self: start; color: rgba(255,255,255,.4); font: 500 11px var(--number); font-variant-numeric: tabular-nums; }
.thanks-main h1 { margin: 0; font: 400 clamp(100px, 16vw, 240px)/.7 var(--serif); letter-spacing: -.05em; }
.thanks-main div > p:not(.eyebrow) { margin: 48px 0 0; color: rgba(255,255,255,.62); font-size: 15px; }
.thanks-main .outline-button { position: static; width: min(330px, 100%); margin-top: 48px; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .nav { gap: 22px; }
  .nav a { font-size: 9px; letter-spacing: .18em; }
  .hero-copy { width: 48vw; }
  .hero-car-wrap { right: -8vw; width: 65vw; }
  .hero-note { display: none; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise { grid-template-columns: .5fr 2fr 1fr; }
}

@media (max-width: 820px) {
  .site-header { height: 84px; padding: 0 20px; }
  .wordmark span { font-size: 28px; }
  .wordmark small { margin-top: 7px; font-size: 7px; }
  .nav { display: none; }
  .menu-toggle { display: flex; width: 34px; height: 34px; padding: 8px 2px; border: 0; background: none; flex-direction: column; justify-content: center; gap: 7px; cursor: pointer; }
  .menu-toggle span { width: 28px; height: 1px; background: var(--ink); transition: transform .2s; }
  .header-phone { justify-self: end; display: grid; place-items: center; width: 34px; height: 34px; }
  .header-phone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
  body.menu-open .site-header { position: fixed; inset: 0 0 auto; }
  body.menu-open .nav { position: fixed; z-index: -1; left: 0; right: 0; display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); padding: 130px 28px 0; gap: 28px; }
  body.menu-open .nav-left { top: 0; bottom: 45%; }
  body.menu-open .nav-right { top: 55%; bottom: 0; padding-top: 0; }
  body.menu-open .nav a { font: 400 38px/1 var(--serif); letter-spacing: 0; text-transform: none; }
  body.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: calc(100svh - 84px); }
  .hero-top { top: 28px; }
  .hero-copy { left: 22px; right: 22px; bottom: 152px; width: auto; }
  .hero h1 { font-size: clamp(62px, 18vw, 92px); line-height: .8; }
  .hero-subtitle { font-size: 13px; margin-top: 22px; }
  .hero-car-wrap { width: 94vw; right: -20vw; top: 35%; }
  .slide-arrows button { width: 44px; height: 44px; }
  .outline-button { left: 22px; right: 22px; bottom: 34px; min-width: 0; }
  .hero-note { display: none; }
  .brand-picker { padding: 0 22px; gap: 25px; }
  .stock { padding-left: 22px; padding-right: 22px; }
  .promise { min-height: 650px; grid-template-columns: 1fr; align-content: end; }
  .promise-index { align-self: auto; position: absolute; top: 72px; left: 22px; }
  .promise .outline-button { position: static; }
  .lead-section { grid-template-columns: 1fr; gap: 60px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-stack { grid-template-columns: repeat(7, auto); gap: 24px; overflow-x: auto; border-top: 0; scrollbar-width: none; }
  .filter-stack::-webkit-scrollbar { display: none; }
  .filter-stack button { min-width: max-content; gap: 12px; border-top: 1px solid var(--line); }
  .thanks-main { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .slide-progress { gap: 14px; }
  .progress-track { width: 82px; }
  .slide-arrows { gap: 6px; }
  .slide-arrows button { width: 40px; height: 40px; }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-subtitle { max-width: 315px; }
  .brand-picker { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding-top: 18px; }
  .brand-list button { min-height: 54px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 45px; }
  .car-grid { grid-template-columns: 1fr; gap: 62px; }
  .car-photo { height: 78vw; max-height: 430px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-contact { flex-direction: column; gap: 10px; }
  .catalog-intro > div { align-items: flex-start; flex-direction: column; }
  .catalog-grid { grid-template-columns: 1fr; }
  .thanks-main h1 { font-size: clamp(72px, 22vw, 110px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Cabinet design system */
.cabinet-page { min-height: 100vh; background: #f4f4f2; }
.cabinet-sidebar { position: fixed; inset: 0 auto 0 0; width: 252px; padding: 34px 26px 24px; background: var(--ink); color: #fff; display: flex; flex-direction: column; z-index: 30; }
.cabinet-mark { align-items: flex-start; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
.cabinet-mark span { font-size: 27px; }
.cabinet-mark small { margin-left: 4px; }
.cabinet-nav { margin-top: 34px; display: grid; gap: 4px; }
.cabinet-nav button { min-height: 48px; padding: 0 12px; border: 0; background: transparent; color: rgba(255,255,255,.58); display: grid; grid-template-columns: 25px 1fr auto; align-items: center; text-align: left; cursor: pointer; transition: .2s; }
.cabinet-nav button i { font-style: normal; font: 500 8px var(--number); font-variant-numeric: tabular-nums; }
.cabinet-nav button span { font-size: 12px; font-weight: 400; letter-spacing: .04em; }
.cabinet-nav button b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; font: 500 9px var(--number); }
.cabinet-nav button:hover, .cabinet-nav button.active { background: #fff; color: var(--ink); }
.cabinet-user { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; }
.cabinet-user > span { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.34); display: grid; place-items: center; font: 500 11px var(--number); }
.cabinet-user strong, .cabinet-user small { display: block; }
.cabinet-user strong { font-size: 11px; font-weight: 500; }
.cabinet-user small { margin-top: 4px; color: rgba(255,255,255,.44); font-size: 9px; }
.cabinet-user button { border: 0; background: none; color: #fff; }
.cabinet-main { margin-left: 252px; min-width: 0; }
.cabinet-topbar { height: 82px; padding: 0 clamp(24px, 3.5vw, 56px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.82); }
.cabinet-topbar p, .cabinet-topbar span { margin: 0; }
.cabinet-topbar p { font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.cabinet-topbar div > span { display: block; margin-top: 4px; color: var(--muted); font: 500 10px var(--number); font-variant-numeric: tabular-nums; }
.cabinet-top-actions { display: flex; align-items: center; gap: 10px; }
.cabinet-search { min-width: 190px; height: 38px; padding: 0 12px; border: 1px solid var(--line); background: #fff; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; }
.cabinet-search kbd { padding: 4px 7px; border: 1px solid var(--line); background: #f5f5f3; font: inherit; }
.cabinet-alert { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; position: relative; }
.cabinet-alert b { position: absolute; right: -4px; top: -5px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 8px var(--number); }
.cabinet-menu { display: none; }
.cabinet-content { padding: 54px clamp(24px, 3.5vw, 56px) 80px; }
.cabinet-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.cabinet-heading h1 { margin: 0; font: 500 clamp(46px, 5vw, 76px)/.8 var(--serif); letter-spacing: -.03em; }
.cabinet-primary { width: 230px; border: 0; cursor: pointer; }
.cabinet-metrics { margin-top: 46px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.cabinet-metrics article { min-height: 150px; padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.cabinet-metrics article:last-child { border-right: 0; }
.cabinet-metrics span { color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.cabinet-metrics strong { margin-top: 20px; font: 500 36px/1 var(--number); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.cabinet-metrics small { margin-top: auto; color: var(--muted); font-size: 9px; }
.cabinet-panel { margin-top: 24px; border: 1px solid var(--line); background: #fff; }
.cabinet-view { display: none; }
.cabinet-view.active { display: block; }
.week-board { margin-top: 24px; border: 1px solid var(--line); background: #fff; overflow-x: auto; }
.week-head { min-width: 980px; min-height: 76px; padding: 0 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.week-head div span, .week-head div strong { display: block; }
.week-head div span { color: var(--muted); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.week-head div strong { margin-top: 5px; font: 500 19px var(--serif); }
.week-head > button { height: 38px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font: 500 10px var(--number); }
.week-grid { min-width: 980px; display: grid; grid-template-columns: 154px repeat(7, minmax(116px, 1fr)); }
.week-corner, .week-day { min-height: 58px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.week-day { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; }
.week-day strong { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.week-day span { color: var(--muted); font: 500 18px var(--number); }
.week-day.active { background: var(--ink); color: #fff; }
.week-day.active span { color: #fff; }
.week-day.muted { color: #aaa; background: #f8f8f6; }
.team-person, .task-cell { min-height: 128px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team-person { padding: 18px 13px; display: flex; gap: 10px; align-items: flex-start; }
.team-person > span { width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid var(--ink); display: grid; place-items: center; font: 500 8px var(--number); }
.team-person strong, .team-person small { display: block; }
.team-person strong { margin-top: 2px; font-size: 10px; }
.team-person small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.task-cell { padding: 7px; background: #fafaf8; }
.task-note { min-height: 108px; padding: 12px; border: 1px solid #d7d7d2; background: #fff; display: flex; flex-direction: column; }
.task-note small { color: var(--muted); font: 500 8px var(--number); }
.task-note strong { margin-top: 12px; font: 500 14px/1.05 var(--serif); }
.task-note span { margin-top: auto; color: var(--muted); font-size: 8px; }
.task-note.urgent { border-top: 3px solid var(--ink); }
.task-note.done { opacity: .52; }
.task-note.done strong { text-decoration: line-through; }
.profile-tabs { margin-top: 38px; display: flex; gap: 8px; overflow-x: auto; }
.profile-tabs button { min-width: 112px; height: 42px; padding: 0 18px; border: 1px solid var(--line); background: #fff; font-size: 10px; }
.profile-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.profile-layout { margin-top: 18px; display: grid; grid-template-columns: minmax(280px, .72fr) 1.28fr; gap: 18px; }
.profile-card, .salary-card, .profile-responsibility { border: 1px solid var(--line); background: #fff; }
.profile-card { padding: 34px; }
.profile-avatar { width: 74px; height: 74px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 17px var(--number); }
.profile-card h2 { margin: 28px 0 0; font: 500 32px/.95 var(--serif); }
.profile-card > p { margin: 8px 0 30px; color: var(--muted); font-size: 10px; }
.profile-card dl { margin: 0; }
.profile-card dl div { padding: 17px 0; border-top: 1px solid var(--line); }
.profile-card dt { color: var(--muted); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.profile-card dd { margin: 8px 0 0; font: 500 11px var(--number); }
.profile-card dd button { margin-top: 10px; padding: 0; border: 0; border-bottom: 1px solid var(--ink); background: none; display: block; font-size: 9px; }
.profile-stack { display: grid; gap: 18px; }
.salary-card { padding: 30px; }
.salary-card > div:first-child { display: flex; align-items: end; justify-content: space-between; }
.salary-card h3, .profile-responsibility h3 { margin: 0; font: 500 28px var(--serif); }
.salary-card h3 span { color: var(--muted); font: 400 12px var(--sans); }
.salary-card > strong { display: block; margin-top: 34px; font: 500 46px/1 var(--number); font-variant-numeric: tabular-nums; }
.salary-track { height: 3px; margin-top: 28px; background: #e9e9e5; }
.salary-track i { display: block; height: 100%; background: var(--ink); }
.salary-card footer { margin-top: 12px; display: flex; justify-content: space-between; color: var(--muted); font: 500 8px var(--number); }
.profile-responsibility header { padding: 25px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; }
.profile-responsibility h3 span { margin-left: 8px; color: var(--muted); font: 500 13px var(--number); }
.profile-responsibility header button { padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--ink); background: none; font-size: 9px; }
.responsibility-list div { min-height: 65px; padding: 0 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.responsibility-list div:first-child { border-top: 0; }
.responsibility-list strong { font: 500 16px var(--serif); }
.responsibility-list span { color: var(--muted); font: 500 9px var(--number); }
.section-records .cabinet-panel-head > div h3 { margin: 4px 0 0; font: 500 25px var(--serif); }
.record-list article { min-height: 82px; padding: 0 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 34px minmax(220px, 1.5fr) minmax(150px, .8fr) minmax(120px, .65fr) 34px; gap: 16px; align-items: center; }
.record-list article:first-child { border-top: 0; }
.record-index { color: #aaa; font: 500 8px var(--number); }
.record-list strong, .record-list small { display: block; }
.record-list strong { font: 500 17px var(--serif); }
.record-list small { margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.record-list b { font: 500 11px var(--number); font-variant-numeric: tabular-nums; }
.record-list time { color: var(--muted); font: 500 9px var(--number); }
.record-list article > button { width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; }
.cabinet-panel-head { min-height: 68px; padding: 0 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.cabinet-tabs { display: flex; height: 68px; }
.cabinet-tabs button { padding: 0 18px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 10px; cursor: pointer; }
.cabinet-tabs button.active { border-bottom-color: var(--ink); color: var(--ink); }
.table-filter { height: 36px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.table-filter span { margin-left: 8px; }
.cabinet-table-wrap { overflow-x: auto; }
.cabinet-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.cabinet-table th { height: 42px; padding: 0 18px; background: #f7f7f5; color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: .16em; text-align: left; text-transform: uppercase; }
.cabinet-table td { height: 70px; padding: 0 18px; border-top: 1px solid var(--line); font: 400 11px var(--number); font-variant-numeric: tabular-nums; }
.cabinet-table td strong { display: block; font: 500 16px var(--serif); letter-spacing: .02em; }
.cabinet-table td small { display: block; margin-top: 5px; color: var(--muted); font: 400 9px var(--sans); }
.cabinet-table td:last-child button { width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; }
.status { display: inline-flex; padding: 7px 9px; border: 1px solid var(--line); font: 500 8px var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.status.ready { background: var(--ink); color: #fff; border-color: var(--ink); }
.status.transit { background: #ecece8; }
.late { color: #9a352d; font-weight: 600 !important; }
.cabinet-pagination { min-height: 62px; padding: 0 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; }
.cabinet-pagination div { display: flex; }
.cabinet-pagination button { width: 30px; height: 30px; border: 1px solid var(--line); border-left: 0; background: #fff; font: 500 9px var(--number); }
.cabinet-pagination button:first-child { border-left: 1px solid var(--line); }
.cabinet-dialog { width: min(620px, calc(100% - 32px)); padding: 0; border: 0; color: var(--ink); }
.cabinet-dialog::backdrop { background: rgba(0,0,0,.62); }
.cabinet-dialog form { padding: 38px; }
.cabinet-dialog header { display: flex; justify-content: space-between; align-items: start; }
.cabinet-dialog h2 { margin: 0; font: 500 42px/.9 var(--serif); }
.cabinet-dialog header button { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; font-size: 22px; }
.dialog-fields { margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.dialog-fields label { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dialog-fields label span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.dialog-fields input, .dialog-fields select { width: 100%; border: 0; outline: 0; background: transparent; font: 400 13px var(--sans); }
.cabinet-dialog .black-button { width: 100%; border: 0; }

@media (max-width: 1050px) {
  .cabinet-metrics { grid-template-columns: repeat(2, 1fr); }
  .cabinet-metrics article:nth-child(2) { border-right: 0; }
  .cabinet-metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .cabinet-sidebar { transform: translateX(-100%); transition: transform .25s; }
  .cabinet-menu-open .cabinet-sidebar { transform: translateX(0); }
  .cabinet-main { margin-left: 0; }
  .cabinet-menu { display: block; width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; }
  .cabinet-topbar > div:first-of-type { display: none; }
  .cabinet-search { min-width: 120px; }
  .cabinet-content { padding-top: 38px; }
  .cabinet-heading { align-items: flex-start; flex-direction: column; }
  .cabinet-primary { width: 100%; }
  .cabinet-metrics { margin-top: 30px; }
  .cabinet-metrics article { min-height: 125px; padding: 18px; }
  .cabinet-tabs { overflow-x: auto; }
  .cabinet-tabs button { padding: 0 12px; }
  .table-filter { display: none; }
  .dialog-fields { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-card { padding: 24px; }
  .salary-card > strong { font-size: 38px; }
  .responsibility-list div { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .record-list article { padding: 16px; grid-template-columns: 24px 1fr 32px; gap: 10px; }
  .record-list b, .record-list time { grid-column: 2; }
  .record-list article > button { grid-column: 3; grid-row: 1 / span 2; }
}

/* Vehicle detail */
.detail-header { position: sticky; top: 0; }
.detail-back, .detail-contact { font-size: 10px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; }
.detail-back { justify-self: start; display: flex; align-items: center; gap: 14px; }
.detail-contact { justify-self: end; padding-bottom: 7px; border-bottom: 1px solid currentColor; }
.vehicle-page { overflow: hidden; }
.vehicle-intro { padding: 76px clamp(24px, 4vw, 72px) 54px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.vehicle-heading h1 { margin: 0; font: 500 clamp(54px, 7.2vw, 112px)/.8 var(--serif); letter-spacing: -.035em; }
.vehicle-edition { margin: 25px 0 0; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; }
.vehicle-price { margin: 0; font: 500 clamp(34px, 3.8vw, 58px)/1 var(--number); font-variant-numeric: tabular-nums; letter-spacing: -.035em; white-space: nowrap; }
.vehicle-price small { font-size: .55em; }
.vehicle-showcase { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(350px, .65fr); }
.gallery-main { min-width: 0; background: var(--paper); position: relative; display: grid; place-items: center; overflow: hidden; }
.gallery-main::after { content: ""; position: absolute; left: 20%; right: 14%; bottom: 14%; height: 7%; border-radius: 50%; background: rgba(20,20,20,.17); filter: blur(22px); }
.gallery-main > img { width: 82%; max-height: 78%; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 22px 18px rgba(0,0,0,.17)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gallery-count { position: absolute; z-index: 4; left: 34px; top: 24px; margin: 0; font: 500 11px/1 var(--number); font-variant-numeric: tabular-nums; letter-spacing: .15em; }
.gallery-arrows { position: absolute; right: 28px; bottom: 28px; z-index: 5; display: flex; }
.gallery-arrows button { width: 58px; height: 58px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 18px; }
.gallery-arrows button + button { border-left: 0; }
.gallery-arrows button:hover { background: var(--ink); color: #fff; }
.vehicle-facts { padding: 45px clamp(28px, 4vw, 64px); background: var(--paper); color: var(--ink); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.facts-label { margin: 0 0 24px; color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; }
.vehicle-facts dl { margin: 0; }
.vehicle-facts dl div { min-height: 55px; display: grid; grid-template-columns: 42% 58%; align-items: center; border-bottom: 1px solid var(--line); }
.vehicle-facts dt { color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.vehicle-facts dd { margin: 0; font: 400 13px/1.2 var(--number); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.vehicle-actions { margin-top: auto; padding-top: 34px; display: grid; gap: 10px; }
.vehicle-actions .black-button { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.share-button { min-height: 57px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }
.share-button:hover { background: var(--ink); color: #fff; }
.gallery-strip { padding: 22px clamp(24px, 4vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; border-bottom: 1px solid var(--line); }
.thumb { height: 132px; border: 1px solid transparent; background: var(--studio); overflow: hidden; cursor: pointer; }
.thumb.selected { border-color: var(--ink); }
.thumb img { width: 82%; height: 100%; object-fit: contain; transition: transform .3s; }
.thumb.view-two img { transform: translateX(-7%) scale(1.12); }
.thumb.view-three img { transform: translateX(7%) scale(.9); }
.thumb.view-four img { transform: translateY(-4%) scale(1.06); }
.technical-data { padding: 120px clamp(24px, 4vw, 72px) 130px; }
.technical-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: 60px; }
.technical-heading h2 { margin: 0; font: 400 clamp(42px, 5vw, 76px)/.9 var(--serif); }
.technical-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px; }
.technical-columns dl { margin: 0; border-top: 1px solid var(--ink); }
.technical-columns div { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.technical-columns dt { color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.technical-columns dd { margin: 0; font: 400 13px/1.2 var(--number); font-variant-numeric: tabular-nums; text-align: right; }
.vehicle-story { min-height: 680px; padding: 100px clamp(24px, 4vw, 72px); background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: start; position: relative; }
.vehicle-story h2 { margin: 0; font: 400 clamp(46px, 5.5vw, 86px)/.92 var(--serif); letter-spacing: -.02em; }
.vehicle-story > p { max-width: 520px; margin: 42px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.8; }
.vehicle-story img { grid-column: 1 / -1; justify-self: center; width: min(900px, 84vw); margin: 10px 0 -80px; filter: drop-shadow(0 25px 24px #000); }

@media (max-width: 900px) {
  .vehicle-showcase { grid-template-columns: 1fr; }
  .gallery-main { min-height: 600px; }
  .vehicle-facts { min-height: 620px; }
  .technical-heading { grid-template-columns: 1fr; gap: 20px; }
  .technical-columns { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  .detail-header { grid-template-columns: 1fr auto 1fr; }
  .detail-back span, .detail-contact { display: none; }
  .vehicle-intro { padding-top: 54px; align-items: flex-start; flex-direction: column; }
  .vehicle-heading h1 { font-size: 62px; }
  .vehicle-showcase { min-height: 0; }
  .gallery-main { min-height: 430px; }
  .gallery-main > img { width: 106%; }
  .gallery-arrows button { width: 50px; height: 50px; }
  .vehicle-facts { min-height: 650px; }
  .gallery-strip { grid-template-columns: repeat(4, 44vw); overflow-x: auto; }
  .thumb { height: 105px; }
  .technical-data { padding-top: 90px; padding-bottom: 100px; }
  .vehicle-story { grid-template-columns: 1fr; min-height: 720px; }
  .vehicle-story > p { margin-top: 0; }
}
