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

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-ja: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Yu Gothic UI', 'Meiryo', sans-serif;
  --cyan: #F2FA5A;
  --cyan-dim: rgba(242, 250, 90, 0.10);
  --cyan-border: rgba(242, 250, 90, 0.28);
  --cyan-glow: 0 10px 24px rgba(242, 250, 90, 0.18), 0 2px 10px rgba(242, 250, 90, 0.14);
  --navy: #171717;
  --navy-mid: #23211F;
  --navy-light: #2B2926;
  --milky: #F6F3EE;
  --milky-tint: #EDEAE4;
  --vehicles-bg: #F0F0F2;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-b: rgba(255, 255, 255, 0.11);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.52);
  --nav-link-size: 12.6px;
  --nav-cta-size: 12.6px;
  --nav-lang-size: 10.8px;
  --btn-radius-rect: 14px;
  --ui-scale: 1;
  /* Shared content gutter measured from homepage sections. */
  --page-gutter-desktop: 48px;
  --page-gutter-mobile: 20px;
  --page-shell-max: 1344px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: #FAFAFA;
  color: var(--text);
  overflow-x: hidden;
}

/* Global component scale: keep fullscreen media/background untouched. */
.hero-content,
.bh-content,
.about-hero-inner,
.search-bar-wrap,
#floating-bar,
.vehicle-grid,
.v-pagination,
.bn-shell,
.bn-grid,
.about-main > .about-section,
.about-main .about-cta-panel,
.service-main > .service-section,
.site-footer .footer-inner {
  zoom: var(--ui-scale);
}

/* Shared hero shell for export/rental/service pages. */
.page-hero-shell {
  position: relative;
  overflow: hidden;
  --page-hero-height: clamp(600px, 66vh, 680px);
  padding: 124px 48px 60px;
  height: var(--page-hero-height);
  min-height: var(--page-hero-height);
}

.page-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--page-hero-overlay, linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px));
  background-size: var(--page-hero-overlay-size, 46px 46px);
  opacity: var(--page-hero-overlay-opacity, 0.24);
  pointer-events: none;
}

.page-hero-shell-inner {
  position: relative;
  z-index: 1;
  max-width: var(--page-shell-max);
  margin: 0 auto;
  min-height: 100%;
}

@view-transition {
  navigation: auto;
}
@media (max-width: 820px) {
  .page-hero-shell {
    padding: 104px 24px 56px;
    height: auto;
    min-height: 0;
  }
}
@media (max-width: 760px) {
  .page-hero-shell {
    padding: 94px 20px 46px;
  }
}
html:lang(ja) body,
html:lang(ja) button,
html:lang(ja) input,
html:lang(ja) textarea,
html:lang(ja) select {
  font-family: var(--font-ja);
  font-kerning: normal;
}

html:lang(ja) .nav-link,
html:lang(ja) .nav-cta,
html:lang(ja) .nav-lang-current,
html:lang(ja) .nav-lang-option,
html:lang(ja) .hero-sub,
html:lang(ja) .section-header p,
html:lang(ja) .fb-filter,
html:lang(ja) .fb-cta,
html:lang(ja) .fb-filter-option,
html:lang(ja) .v-card-meta,
html:lang(ja) .news-tag,
html:lang(ja) .footer-col h4,
html:lang(ja) .footer-col a,
html:lang(ja) .footer-btn {
  letter-spacing: 0.01em;
}

html:lang(ja) .hero-title,
html:lang(ja) .section-header h2,
html:lang(ja) .v-card-name,
html:lang(ja) .news-body h3 {
  letter-spacing: 0;
}

html:lang(ja) .hero-eyebrow,
html:lang(ja) .hero-cta-label {
  letter-spacing: 0.08em;
}

html:lang(ja) .news-body p,
html:lang(ja) .footer-slogan {
  letter-spacing: 0;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.3s;
}

a:hover {
  color: var(--cyan);
}

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

.hidden {
  display: none !important;
}

#loading-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  transition: opacity 0.9s ease;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  #intro-video {
    object-fit: contain;
  }
}
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled,
#navbar:hover {
  background: rgba(23, 23, 23, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(var(--page-shell-max), 100vw - var(--page-gutter-desktop) * 2);
  padding: 0;
  height: 65px;
  max-width: none;
  margin: 0 auto;
}

.nav-logo {
  height: 31px;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links .nav-cta-mobile {
  display: none !important;
}

.nav-link {
  font-size: var(--nav-link-size);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.84);
  padding: 7px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
  transition: background 0.25s, color 0.25s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

/* Hide current page entry in header nav to avoid redundant same-page clicks. */
#navbar .nav-links > .nav-link[aria-current=page] {
  display: none;
}

.nav-lang {
  position: relative;
}

.nav-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: var(--nav-lang-size);
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: border-color 0.24s ease, color 0.24s ease, transform 0.2s;
}

#navbar.scrolled .nav-lang-trigger,
#navbar:hover .nav-lang-trigger,
#navbar:focus-within .nav-lang-trigger,
#navbar.mobile-open .nav-lang-trigger,
.nav-lang.is-open .nav-lang-trigger,
.nav-lang-trigger:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

#navbar.scrolled .nav-lang-trigger:hover,
#navbar:hover .nav-lang-trigger:hover,
#navbar:focus-within .nav-lang-trigger:hover,
#navbar.mobile-open .nav-lang-trigger:hover,
.nav-lang.is-open .nav-lang-trigger {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
}

.nav-lang-globe {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.nav-lang-current {
  line-height: 1;
}

.nav-lang-caret {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.24s ease;
}

.nav-lang.is-open .nav-lang-caret {
  transform: rotate(180deg);
}

.nav-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 128px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 15, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px;
  display: grid;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  z-index: 12;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-lang.is-open .nav-lang-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-lang-option {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-lang-option.is-active {
  background: rgba(242, 250, 90, 0.18);
  color: #fff;
}

.nav-cta {
  background: var(--cyan);
  color: #121212 !important;
  font-size: var(--nav-cta-size);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(242, 250, 90, 0.24);
  transition: opacity 0.28s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: scale(1.03);
}

.nav-mobile-menu {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}

#navbar.scrolled .nav-mobile-menu,
#navbar:hover .nav-mobile-menu,
#navbar:focus-within .nav-mobile-menu,
#navbar.mobile-open .nav-mobile-menu,
.nav-mobile-menu:hover,
.nav-mobile-menu.is-open {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  color: #fff;
}

.nav-mobile-menu:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(84, 255, 255, 0.18);
}

.nav-mobile-lines,
.nav-mobile-lines::before,
.nav-mobile-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.28s ease, opacity 0.22s ease, width 0.22s ease;
}

.nav-mobile-lines {
  position: relative;
}

.nav-mobile-lines::before,
.nav-mobile-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-mobile-lines::before {
  top: -5px;
}

.nav-mobile-lines::after {
  top: 5px;
}

.nav-mobile-menu.is-open .nav-mobile-lines,
#navbar.mobile-open .nav-mobile-menu .nav-mobile-lines {
  background: transparent;
}

.nav-mobile-menu.is-open .nav-mobile-lines::before,
#navbar.mobile-open .nav-mobile-menu .nav-mobile-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-mobile-menu.is-open .nav-mobile-lines::after,
#navbar.mobile-open .nav-mobile-menu .nav-mobile-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

body.contact-popover-open {
  overflow: hidden;
}

.contact-popover {
  position: fixed;
  inset: 0;
  z-index: 1900;
  display: grid;
  justify-items: end;
  align-items: start;
  padding: 80px 22px 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.contact-popover.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-popover-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 10, 16, 0.44);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.contact-popover-panel {
  position: relative;
  width: min(360px, 100vw - 32px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(19, 26, 39, 0.88), rgba(13, 17, 27, 0.88));
  box-shadow: 0 24px 40px rgba(8, 10, 14, 0.36);
  padding: 18px;
  transform: translateY(-8px) scale(0.98);
  transition: transform 0.22s ease;
}

.contact-popover.is-open .contact-popover-panel {
  transform: translateY(0) scale(1);
}

.contact-popover-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.contact-popover-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.56);
  text-transform: uppercase;
}

.contact-popover-title {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
}

.contact-popover-subtitle {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}

.contact-popover-actions {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.contact-popover-action {
  min-height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.contact-popover-action:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.contact-popover-action.is-primary {
  border-color: transparent;
  background: var(--cyan);
  color: #151515;
  box-shadow: 0 10px 20px rgba(242, 250, 90, 0.22);
}

.contact-popover-action.is-primary:hover {
  color: #151515;
  background: #f4fb78;
}

@media (max-width: 760px) {
  .contact-popover {
    justify-items: stretch;
    align-items: end;
    padding: 0;
  }
  .contact-popover-panel {
    width: 100%;
    border-radius: 22px 22px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    transform: translateY(18px);
  }
}
#hero {
  width: 100%;
  background: var(--milky);
}

.hero-video-wrap {
  width: 100%;
  height: 100svh;
  min-height: 640px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 68% 24%, rgba(199, 174, 126, 0.2), rgba(16, 24, 44, 0) 46%), linear-gradient(180deg, #0f1625 0%, #090d17 44%, #060a14 100%);
}

.hero-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(12, 18, 32, 0) 52%);
  opacity: 1;
  transition: opacity 0.45s ease;
  z-index: 0;
}

.hero-video-wrap.is-video-ready::before {
  opacity: 0;
}

.hero-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
}

.hero-video-wrap.is-video-ready video {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 8, 18, 0.44) 0%, rgba(4, 8, 18, 0.26) 36%, rgba(4, 8, 18, 0.74) 100%);
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 13vh;
  transform: translateX(-50%);
  width: min(760px, 100vw - 48px);
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  z-index: 2;
}

.hero-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(52px, 8vw, 78px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin: 0;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-title-cyan {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(199, 174, 126, 0.18);
}

.hero-sub {
  margin: 0;
  max-width: 50ch;
  font-size: 14px;
  line-height: 1.78;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.74);
}

.hero-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  min-height: 56px;
  padding: 0 24px;
  margin-top: 6px;
  color: #fff;
  text-decoration: none;
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(165deg, rgba(238, 246, 255, 0.26) 0%, rgba(226, 238, 252, 0.17) 38%, rgba(216, 232, 248, 0.09) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 56%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(14px) saturate(165%);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  opacity: calc(var(--hero-cta-fill-opacity, 0) * 0.95);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hero-cta-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-cta-track svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-cta-track-path {
  fill: rgb(232, 242, 255, calc(var(--hero-cta-fill-opacity, 0) * 0.14));
  stroke: rgb(255, 255, 255, calc(var(--hero-cta-fill-opacity, 0) * 0.28));
  stroke-width: 0.45;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.hero-cta-track-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-cta-label {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
}

.hero-cta-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  transition: transform 0.24s ease;
}

.hero-cta-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-cta:hover .hero-cta-track-path {
  fill: rgba(232, 242, 255, 0.2);
  stroke: rgba(255, 255, 255, 0.4);
}

.hero-cta:hover::before {
  opacity: 1;
}

.hero-cta:hover .hero-cta-track-line {
  stroke: rgba(255, 255, 255, 0.96);
  opacity: 1 !important;
}

.hero-cta:hover .hero-cta-icon {
  transform: translateX(2px);
}

.hero-spacer {
  width: 100%;
  background: transparent;
  height: 0;
}

@media (max-aspect-ratio: 4/3) {
  .hero-spacer {
    height: 0;
  }
}
#floating-bar {
  display: none !important;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}

.section-header p {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.section-header.light h2 {
  color: var(--navy);
}

.section-header.light p {
  color: rgba(43, 41, 38, 0.58);
}

.vehicles-header {
  margin-bottom: 20px !important;
  padding-top: 0;
}

#brands {
  padding: 120px 48px 130px;
  background: var(--milky-tint);
  overflow: hidden;
}

.carousel-wrap {
  position: relative;
  width: 100%;
  cursor: default;
}

/*    */
.carousel-stage {
  --carousel-card-width: 164px;
  --carousel-card-half-width: 82px;
  --carousel-card-height: 292px;
  --carousel-card-half-height: 146px;
  --carousel-icon-size: 76px;
  height: 388px;
}

.carousel-stage::after {
  width: min(760px, 68%);
  height: 126px;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(242, 250, 90, 0.1) 0%, rgba(242, 250, 90, 0.045) 34%, transparent 70%);
}

.carousel-track {
  perspective: 2200px;
}

.brand-card {
  border-radius: 20px;
  --ry: 0deg;
  --rz: 0deg;
  --icon-opacity: 0.72;
  --icon-scale: 0.9;
  --label-opacity: 0;
  --label-shift: 8px;
  transition: transform 0.48s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.24s ease;
  opacity: 0.06;
}

.card-front {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(31, 34, 37, 0.98) 0%, rgba(11, 12, 13, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -24px 42px rgba(0, 0, 0, 0.22), 0 14px 34px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
  transform: none;
}

.card-front::before {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 16%, transparent 30%);
}

.card-front::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 250, 90, 0.64), rgba(255, 255, 255, 0.12), transparent 78%);
  opacity: 0.56;
  pointer-events: none;
}

.brand-card.is-active .card-front {
  background: linear-gradient(180deg, rgba(38, 42, 31, 0.99) 0%, rgba(12, 13, 14, 0.99) 100%);
  border-color: rgba(242, 250, 90, 0.28);
  box-shadow: inset 0 1px 0 rgba(242, 250, 90, 0.3), inset 0 -28px 48px rgba(0, 0, 0, 0.26), 0 20px 48px rgba(242, 250, 90, 0.15), 0 8px 18px rgba(0, 0, 0, 0.12);
}

.brand-card.is-active .card-front::before {
  background: linear-gradient(180deg, rgba(242, 250, 90, 0.16) 0%, rgba(255, 255, 255, 0.05) 18%, transparent 36%);
}

.pure-brand-icon {
  opacity: var(--icon-opacity, 0.84);
  transform: scale(var(--icon-scale, 1));
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.32s, opacity 0.32s;
}

.brand-card.is-active .pure-brand-icon {
  opacity: var(--icon-opacity, 1);
  transform: scale(var(--icon-scale, 1));
  filter: invert(1) brightness(100) drop-shadow(0 0 8px rgba(242, 250, 90, 0.3));
}

.brand-label {
  bottom: 19px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.46);
  opacity: var(--label-opacity, 0.46);
  transform: translateY(var(--label-shift, 0px));
  transition: color 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.brand-card.is-active .brand-label {
  color: rgba(242, 250, 90, 0.9);
}

.card-back {
  display: none;
}

.brand-card.is-ghost {
  pointer-events: none;
}

.carousel-wrap.is-touch-mode {
  overflow: hidden;
}

.carousel-stage.is-touch-mode {
  height: auto;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  padding: 6px 0 12px;
  scrollbar-width: none;
}

.carousel-stage.is-touch-mode::-webkit-scrollbar {
  display: none;
}

.carousel-stage.is-touch-mode::after {
  bottom: 4px;
  width: min(620px, 82%);
  height: 96px;
}

.carousel-track.is-touch-mode {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  width: max-content;
  height: auto;
  min-height: 0;
  perspective: 1600px;
  padding: 18px max(18px, 50vw - var(--carousel-card-width) / 2) 26px;
}

.carousel-track.is-touch-mode .brand-card {
  position: relative;
  left: auto;
  top: auto;
  flex: 0 0 var(--carousel-card-width);
  width: var(--carousel-card-width);
  height: var(--carousel-card-height);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transform: translateY(var(--touch-ty, 0px)) scale(var(--touch-scale, 0.92)) rotateY(var(--touch-ry, 0deg));
  transform-origin: center bottom;
  will-change: transform, opacity;
  opacity: 0.14;
  transition: transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.18s ease;
}

.carousel-track.is-touch-mode .brand-card.is-active {
  opacity: 1;
}

.carousel-wrap.is-touch-mode .brand-card .card-front {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.12), 0 14px 30px rgba(0, 0, 0, 0.14);
}

.carousel-wrap.is-touch-mode .brand-card.is-active .card-front {
  box-shadow: inset 0 1px 1px rgba(242, 250, 90, 0.44), inset 0 -1px 2px rgba(0, 0, 0, 0.34), 0 16px 34px rgba(242, 250, 90, 0.14), 0 8px 18px rgba(0, 0, 0, 0.12);
}

.carousel-wrap.is-mobile-mode .carousel-stage {
  --carousel-card-width: min(52vw, 188px);
  --carousel-card-height: min(66vw, 236px);
  --carousel-icon-size: min(20vw, 72px);
  padding: 4px 0 10px;
}

.carousel-wrap.is-mobile-mode .carousel-stage::after {
  width: 82%;
  height: 74px;
}

.carousel-wrap.is-mobile-mode .carousel-track.is-touch-mode {
  gap: 10px;
  padding: 14px max(16px, 50vw - var(--carousel-card-width) / 2) 20px;
}

.carousel-wrap.is-mobile-mode .carousel-track.is-touch-mode .brand-card {
  transform: translateY(var(--touch-ty, 0px)) scale(var(--touch-scale, 0.9));
}

.carousel-wrap.is-mobile-mode .brand-label {
  bottom: 12px;
}

.carousel-wrap.is-orbit {
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.carousel-wrap.is-orbit.is-dragging,
.carousel-wrap.is-orbit.is-drag-armed {
  cursor: grabbing;
}

.carousel-wrap.is-orbit .carousel-stage {
  --carousel-card-width: 196px;
  --carousel-card-half-width: 98px;
  --carousel-card-height: 244px;
  --carousel-card-half-height: 122px;
  --carousel-icon-size: 82px;
  height: 404px;
  touch-action: pan-y pinch-zoom;
  overflow: visible;
}

.carousel-wrap.is-orbit .carousel-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: min(860px, 78%);
  height: 202px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(149, 156, 165, 0.18);
  clip-path: inset(56% 0 0 0);
  opacity: 0.42;
  pointer-events: none;
}

.carousel-wrap.is-orbit .carousel-stage::after {
  bottom: 12px;
  width: min(860px, 78%);
  height: 132px;
  background: radial-gradient(ellipse 76% 58% at 50% 100%, rgba(154, 161, 170, 0.18) 0%, rgba(154, 161, 170, 0.08) 34%, transparent 74%);
}

.carousel-wrap.is-orbit .carousel-track {
  width: 100%;
  height: 100%;
  perspective: 2200px;
  transform-style: preserve-3d;
}

.carousel-wrap.is-orbit .brand-card {
  border-radius: 22px;
  --icon-opacity: 0.16;
  --icon-scale: 0.82;
  --label-opacity: 0;
  --label-shift: 12px;
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.24s ease;
  backface-visibility: hidden;
}

.carousel-wrap.is-orbit .card-front {
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(214, 219, 224, 0.98) 0%, rgba(121, 127, 135, 0.96) 18%, rgba(34, 37, 40, 0.98) 42%, rgba(153, 160, 167, 0.98) 68%, rgba(40, 44, 48, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46), inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 16px 30px rgba(68, 72, 78, 0.12), 0 6px 12px rgba(0, 0, 0, 0.06);
}

.carousel-wrap.is-orbit .card-front::before {
  border-radius: 22px;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.14) 18%, transparent 34%, transparent 58%, rgba(255, 255, 255, 0.12) 78%, rgba(255, 255, 255, 0.36) 100%);
  opacity: 0.56;
}

.carousel-wrap.is-orbit .card-front::after {
  inset: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 32%);
  opacity: 0.82;
}

.carousel-wrap.is-orbit .brand-card.is-active .card-front {
  background: linear-gradient(135deg, rgb(237, 241, 245) 0%, rgba(156, 164, 172, 0.98) 20%, rgba(42, 45, 48, 0.99) 44%, rgba(183, 190, 197, 0.98) 72%, rgb(52, 57, 61) 100%);
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), inset 0 -1px 0 rgba(255, 255, 255, 0.12), 0 20px 40px rgba(70, 76, 82, 0.16), 0 0 18px rgba(255, 255, 255, 0.12);
}

.carousel-wrap.is-orbit .pure-brand-icon {
  width: var(--carousel-icon-size);
  height: var(--carousel-icon-size);
  opacity: var(--icon-opacity, 0.16);
  transform: scale(var(--icon-scale, 0.82));
  filter: invert(1) brightness(1.08);
}

.carousel-wrap.is-orbit .brand-card.is-active .pure-brand-icon {
  opacity: var(--icon-opacity, 1);
  transform: scale(var(--icon-scale, 1));
  filter: invert(1) brightness(1.1);
}

.carousel-wrap.is-orbit .brand-label {
  bottom: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(243, 246, 248, 0.92);
  opacity: var(--label-opacity, 0);
  transform: translateY(var(--label-shift, 0px));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.carousel-wrap.is-orbit .brand-card.is-active .brand-label {
  color: rgba(255, 255, 255, 0.98);
}

.carousel-wrap.is-orbit .card-back {
  display: none;
}

#brands {
  position: relative;
  padding: clamp(92px, 10vw, 120px) clamp(20px, 4vw, 48px) clamp(96px, 11vw, 130px);
  background: transparent;
  overflow: visible;
  isolation: isolate;
}

#brands::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #ffffff;
  pointer-events: none;
  z-index: -1;
}

/* Shared square brand badge shell (reused by brand pages and filter cards). */
.tk-brand-mark-chip {
  --tk-brand-mark-size: 46px;
  --tk-brand-mark-radius: 14px;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--tk-brand-mark-size);
  height: var(--tk-brand-mark-size);
  border-radius: var(--tk-brand-mark-radius);
  overflow: hidden;
  background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.14) 24%, transparent 50%), linear-gradient(148deg, rgba(242, 245, 248, 0.95) 0%, rgba(156, 164, 173, 0.92) 22%, rgba(34, 38, 43, 0.98) 58%, rgba(168, 174, 181, 0.95) 82%, rgb(18, 22, 27) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), inset 0 -14px 22px rgba(0, 0, 0, 0.26), 0 10px 18px rgba(17, 20, 26, 0.22);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.tk-brand-mark-gloss {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.07) 24%, transparent 48%), linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%);
  pointer-events: none;
}

.tk-brand-mark-icon {
  width: 66%;
  height: 66%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: invert(1) brightness(1.03) drop-shadow(0 1px 3px rgba(255, 255, 255, 0.2));
  transition: filter 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
}

.tk-brand-mark-chip.is-lit {
  border-color: rgba(242, 250, 90, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -12px 18px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(242, 250, 90, 0.26), 0 10px 24px rgba(242, 250, 90, 0.18), 0 2px 10px rgba(242, 250, 90, 0.14);
}

.tk-brand-mark-chip.is-lit .tk-brand-mark-icon {
  filter: invert(1) brightness(1.16) drop-shadow(0 0 7px rgba(255, 255, 255, 0.52));
  transform: translateY(-1px) scale(1.02);
}

#vehicles {
  --vehicles-shell-max: var(--page-shell-max);
  padding: 120px var(--page-gutter-desktop) 58px;
  background: transparent;
}

#vehicles .vehicle-grid {
  zoom: 1;
}

@media (min-width: 1600px) {
  #vehicles {
    --vehicles-shell-max: var(--page-shell-max);
  }
}
.search-bar-wrap {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: var(--vehicles-shell-max, 1344px);
  margin: 0 auto 44px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.5s ease 0.08s, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.08s;
}

#vehicles[data-home-grid=paged] > .search-bar-wrap {
  zoom: 1;
  margin-bottom: 80px;
}

.search-bar-wrap.search-active {
  opacity: 1;
  transform: translateY(0);
}

.static-search-inner {
  width: 100%;
}

.fb-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  background: #989898;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 10px 10px 10px 16px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.45), 0 28px 80px rgba(0, 0, 0, 0.3), 0 0 28px rgba(242, 250, 90, 0.05);
  overflow: visible;
}

@keyframes floatBob {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}
#floating-bar .fb-desktop {
  animation: floatBob 3.5s ease-in-out infinite;
}

#floating-bar:not(.fb-expanded) .fb-filters {
  flex: 3.2;
  gap: 8px;
}

#floating-bar:not(.fb-expanded) .fb-filter {
  min-width: 0;
  padding: 11px 12px;
  font-size: 12px;
}

#floating-bar:not(.fb-expanded) .fb-input-wrap {
  flex: 2.8;
  margin-left: 6px;
}

#floating-bar:not(.fb-expanded) .fb-input {
  min-width: 0;
}

.fb-mobile {
  display: none;
}

.fb-logo {
  height: 22px;
  margin-right: 12px;
  margin-left: 8px;
}

.fb-filters {
  display: flex;
  gap: 10px;
  flex: 5;
}

.fb-filter {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  color: #171717;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  padding: 12px 16px;
  cursor: pointer;
  flex: 1;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fb-filter svg {
  width: 10px;
  height: 6px;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fb-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fb-filter.is-active {
  box-shadow: 0 0 0 1px rgba(242, 250, 90, 0.48), 0 6px 14px rgba(0, 0, 0, 0.08);
}

.fb-filter.is-open svg {
  opacity: 0.72;
  transform: rotate(180deg);
}

.fb-filter-menu {
  position: absolute;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.fb-filter-menu-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.fb-filter-toggle {
  min-height: 36px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 12px;
  background: rgba(242, 250, 90, 0.12);
  color: rgba(23, 23, 23, 0.68);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fb-filter-toggle:hover,
.fb-filter-toggle:focus-visible {
  background: rgba(242, 250, 90, 0.22);
  color: #171717;
  border-color: rgba(200, 207, 55, 0.42);
  box-shadow: 0 8px 18px rgba(200, 207, 55, 0.16);
}

.fb-filter-toggle.is-active {
  background: #f2fa5a;
  color: #171717;
  border-color: rgba(188, 196, 35, 0.68);
  box-shadow: 0 10px 20px rgba(188, 196, 35, 0.24);
}

.fb-filter-menu-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.fb-filter-menu-body::-webkit-scrollbar {
  width: 8px;
}

.fb-filter-menu-body::-webkit-scrollbar-thumb {
  background: rgba(23, 23, 23, 0.18);
  border-radius: 999px;
}

.fb-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: none;
  background: transparent;
  color: #171717;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.fb-filter-option:hover {
  background: rgba(23, 23, 23, 0.06);
  transform: translateY(-1px);
}

.fb-filter-option.is-selected {
  background: rgba(242, 250, 90, 0.28);
  color: #171717;
  box-shadow: inset 0 0 0 1px rgba(160, 166, 43, 0.18);
}

.fb-filter-option-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fb-filter-option-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fb-filter-option-label {
  display: block;
  min-width: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-filter-option-note {
  display: block;
  min-width: 0;
  font-size: 11px;
  font-weight: 500;
  color: rgba(23, 23, 23, 0.48);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-filter-option-media {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 23, 23, 0.06);
  background: rgba(23, 23, 23, 0.04);
}

.fb-filter-option-image {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.fb-filter-option-media--brand {
  background: #171717;
  border-color: rgba(23, 23, 23, 0.14);
}

.fb-filter-option-media--brand .fb-filter-option-image {
  filter: invert(1) brightness(100);
}

.fb-filter-option-media--type .fb-filter-option-image {
  opacity: 0.72;
}

.fb-filter-option.is-selected .fb-filter-option-note {
  color: rgba(23, 23, 23, 0.62);
}

.fb-filter-option.is-selected .fb-filter-option-media--type {
  background: rgba(23, 23, 23, 0.08);
  border-color: rgba(23, 23, 23, 0.1);
}

.fb-filter-option.is-selected .fb-filter-option-media--type .fb-filter-option-image {
  opacity: 1;
}

.fb-input-wrap {
  display: flex;
  align-items: center;
  flex: 2;
  background: #ffffff;
  border-radius: 12px;
  padding: 4px 4px 4px 16px;
  margin-left: 8px;
}

.fb-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: #333;
}

.fb-input::placeholder {
  color: #999;
}

.fb-cta {
  background: var(--cyan);
  color: #171717;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--cyan-glow);
  transition: opacity 0.3s, transform 0.2s;
}

.fb-cta:hover {
  opacity: 0.88;
  transform: scale(1.03);
}

.vehicle-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--vehicles-shell-max, 1344px);
  margin: 0 auto;
}

.vehicle-slider-shell {
  position: relative;
  background: transparent;
  box-shadow: none;
}

.vehicle-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding-bottom: 8px;
}

.vehicle-pagination .vehicle-slider-btn {
  flex-shrink: 0;
}

.vehicle-slider-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  opacity: 0.26;
  transition: opacity 0.22s ease;
}

.vehicle-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #989898;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 8px 18px rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.vehicle-slider-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vehicle-slider-btn:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.28);
  background: #a3a3a3;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.16), 0 10px 22px rgba(0, 0, 0, 0.2);
}

.vehicle-slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.vehicle-slider-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.vehicle-slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.2);
  cursor: pointer;
  transition: width 0.22s ease, background-color 0.22s ease, opacity 0.22s ease;
}

.vehicle-slider-dot.is-active {
  width: 34px;
  background: rgba(34, 34, 34, 0.9);
}

.vehicle-slider-dot:focus-visible {
  outline: 2px solid rgba(34, 34, 34, 0.45);
  outline-offset: 2px;
}

.v-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), 0 24px 64px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
  display: flex;
  flex-direction: column;
}

.v-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.v-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 64px rgba(43, 41, 38, 0.22), 0 8px 24px rgba(0, 0, 0, 0.15);
}

.v-card-img {
  width: 100%;
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.v-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.v-card:hover .v-card-img img {
  transform: scale(1.06);
}

@media (hover: none) {
  .v-card:hover {
    transform: none;
  }
  .v-card:hover .v-card-img img {
    transform: none;
  }
}
.v-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 10px;
  min-height: 64px;
}

.v-card-like {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 0;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.v-card-like-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.v-card-like:hover {
  transform: scale(1.05);
}

.v-card-like.is-active {
  color: #f25a5a;
  opacity: 0.95;
}

.v-card-like.is-active .v-card-like-icon {
  fill: currentColor;
}

.v-brand-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v-brand-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: none;
}

.v-brand-icon-mask {
  display: block;
  background-color: var(--brand-accent, #171717);
  -webkit-mask-image: var(--brand-icon-url);
  mask-image: var(--brand-icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Vehicle card: dedicated small-brand asset component (independent from brand-nav marks) */
.v-mini-brand-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, #b1b1b1, #8f8f8f);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.55), inset 0 -2px 4px rgba(0, 0, 0, 0.25), 0 6px 14px rgba(0, 0, 0, 0.18);
}

.v-mini-brand-badge {
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.v-mini-brand-badge:hover {
  transform: translateY(-2px) scale(1.03);
  filter: saturate(1.06);
}

.v-mini-brand-badge:active {
  transform: scale(0.98);
}

.v-mini-brand-link {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}

.v-mini-brand-glyph {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255, 255, 255, 0.65)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.38));
}

.v-mini-brand-glyph-stack {
  width: 26px;
  height: 26px;
  position: relative;
  display: block;
}

.v-mini-brand-glyph-stack .v-mini-brand-glyph {
  position: absolute;
  inset: 0;
}

.v-mini-brand-glyph-stack .v-brand-icon-mask {
  z-index: 2;
  background-color: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.65)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.38));
}

.v-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.v-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #171717;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.v-card-meta {
  font-size: 13px;
  font-weight: 500;
  color: #756B61;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.v-card-body {
  background: #989898;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 12px;
}

.v-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.v-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.v-spec img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  opacity: 1;
  flex-shrink: 0;
}

.vehicle-spec-icon {
  transform-origin: center center;
  filter: brightness(0) invert(1);
}

.vehicle-spec-icon--mileage {
  width: 24px !important;
  height: 24px !important;
}

.vehicle-spec-icon--engine {
  width: 30px !important;
  height: 24px !important;
}

.vehicle-spec-icon--fuel {
  width: 24px !important;
  height: 24px !important;
}

.vehicle-spec-icon--transmission {
  width: 26px !important;
  height: 26px !important;
}

.v-price-wrap {
  margin-bottom: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px;
  padding-left: 16px;
  display: grid;
  gap: 8px;
}

.v-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
}

.v-price-label,
.v-price-sub-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.52);
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.2;
}

.v-price {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: -0.01em;
  text-align: right;
  justify-self: end;
  min-width: 112px;
  justify-content: flex-end;
}

.v-price-sub {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(23, 23, 23, 0.78);
  text-align: right;
  justify-self: end;
  min-width: 112px;
  justify-content: flex-end;
}

.v-price .card-price-amount {
  font-size: 1em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.v-price-sub .card-price-amount {
  font-size: 1em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.v-price .card-price-unit,
.v-price-sub .card-price-unit {
  font-size: 0.52em;
  line-height: 1;
  transform: translateY(-0.08em);
}

.v-detail-btn {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #171717;
  background: var(--cyan);
  border: none;
  padding: 12px 0;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  text-decoration: none;
  margin-top: auto;
  box-shadow: var(--cyan-glow);
}

.v-detail-btn:hover {
  opacity: 0.88;
  background: #D4E020;
  color: #171717;
}

/* Home brand photo library */
#brands {
  min-height: auto;
  padding: clamp(108px, 12vw, 148px) clamp(24px, 4vw, 48px) clamp(84px, 9vw, 120px);
}

#brands .section-header {
  position: relative;
  left: auto;
  width: min(1344px, 100%) !important;
  max-width: min(1344px, 100%) !important;
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: left;
}

#brands .section-header h2,
#brands .section-header p {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.brand-library-shell {
  width: min(1344px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.brand-library-panel {
  position: sticky;
  top: 112px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(22, 30, 44, 0.08);
  background: radial-gradient(circle at top left, rgba(242, 250, 90, 0.26), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 246, 248, 0.98) 100%);
  box-shadow: 0 18px 44px rgba(18, 24, 32, 0.08);
}

.brand-library-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(35, 43, 55, 0.46);
}

.brand-library-panel-title {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #151a20;
}

.brand-library-panel-desc {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(33, 40, 50, 0.72);
}

.brand-library-panel-meta {
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(24, 31, 43, 0.58);
}

.brand-library-panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(30, 39, 52, 0.12);
  background: #171717;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.brand-library-panel-link:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  background: #242424;
}

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

.brand-library-card {
  display: block;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(24, 32, 44, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(17, 24, 32, 0.08);
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.brand-library-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 44, 58, 0.14);
  box-shadow: 0 22px 44px rgba(17, 24, 32, 0.12);
}

.brand-library-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.brand-library-card-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(24, 32, 44, 0.08);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand-library-card-badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-library-card-copy {
  min-width: 0;
}

.brand-library-card-name {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: #161c24;
}

.brand-library-card-count {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(35, 42, 53, 0.54);
}

.brand-library-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(18, 24, 32, 0.06);
  color: #171717;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-library-card-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-rows: repeat(2, minmax(118px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.brand-library-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #edf1f4;
}

.brand-library-photo--lead {
  grid-row: span 2;
  min-height: 246px;
}

.brand-library-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-library-photo figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(14, 18, 22, 0.72);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#vehicles[data-home-grid=paged] .vehicle-grid {
  display: grid;
  grid-template-columns: repeat(var(--home-vehicle-columns, 3), minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  width: 100%;
  max-width: var(--vehicles-shell-max, 1332px);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0;
  background: transparent;
  overflow: visible;
}

#vehicles[data-home-grid=paged] .vehicle-grid::-webkit-scrollbar {
  display: none;
}

#vehicles[data-home-grid=paged] .vehicle-grid > .v-card {
  width: 100%;
  min-width: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), 0 24px 64px rgba(0, 0, 0, 0.2);
}

#vehicles[data-home-grid=paged] .vehicle-grid > .v-card:hover {
  box-shadow: 0 28px 64px rgba(43, 41, 38, 0.22), 0 8px 24px rgba(0, 0, 0, 0.15);
}

#vehicles[data-home-grid=paged] .vehicle-pagination {
  margin-top: 80px;
  padding-bottom: 0;
}

@media (max-width: 1180px) {
  .brand-library-shell {
    grid-template-columns: 1fr;
  }
  .brand-library-panel {
    position: relative;
    top: auto;
  }
}
/*    */
#news {
  padding: 100px var(--page-gutter-desktop);
  background: #FFFFFF;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  max-width: 1344px;
  margin: 0 auto;
}

.news-card {
  background: #fff;
  border: 1px solid rgba(43, 41, 38, 0.08);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(43, 41, 38, 0.07);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.news-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 52px rgba(43, 41, 38, 0.12);
}

.news-img {
  background: #F0F0F2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-large .news-img {
  height: 240px;
}

.news-small .news-img {
  height: 130px;
}

.news-img img {
  max-width: 82%;
  max-height: 80%;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.5s, opacity 0.3s;
}

.news-card:hover .news-img img {
  transform: scale(1.06);
  opacity: 1;
}

.news-body {
  padding: 22px;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: #FFFFFF;
  border: 1px solid var(--cyan);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.news-tag--teal {
  color: #0FA3B8;
  border-color: #0FA3B8;
}

.news-tag--orange {
  color: #D95F1E;
  border-color: #D95F1E;
}

.news-tag--green {
  color: #3A7D44;
  border-color: #3A7D44;
}

.news-large .news-body h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 10px;
}

.news-small .news-body h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 10px;
}

.news-body p {
  font-size: 13px;
  color: rgba(43, 41, 38, 0.62);
  line-height: 1.8;
  margin-bottom: 16px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-meta span {
  font-size: 12px;
  color: rgba(43, 41, 38, 0.46);
  letter-spacing: 0.04em;
}

.news-more {
  font-size: 12px;
  color: #171717;
  font-weight: 600;
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-small {
  flex: 1;
}

#footer {
  background: #171717;
  padding: 62px 48px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wrap {
  max-width: var(--page-shell-max);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 28px;
  margin-bottom: 14px;
}

.footer-slogan {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.58;
  margin-bottom: 0;
}

.footer-newsletter {
  --footer-newsletter-btn-width: 118px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.footer-newsletter h4 {
  color: #fff;
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 700;
  width: var(--footer-newsletter-btn-width);
  margin: 0 0 12px auto;
  text-align: right;
  line-height: 1;
  letter-spacing: 0.28em;
}

html:lang(ja) .footer-newsletter h4 {
  width: var(--footer-newsletter-btn-width);
  font-size: clamp(11px, 1vw, 12px);
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

html:lang(en) .footer-newsletter h4 {
  width: var(--footer-newsletter-btn-width);
  font-size: clamp(14px, 1.05vw, 16px);
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.newsletter-form input {
  background: #EAEAEA;
  border: none;
  border-radius: 0;
  padding: 0 14px;
  font-size: 14px;
  width: 220px;
  height: 44px;
  color: #333;
}

.newsletter-form input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.footer-btn {
  background: var(--cyan);
  color: #171717;
  border: none;
  border-radius: 0;
  width: var(--footer-newsletter-btn-width);
  min-width: var(--footer-newsletter-btn-width);
  height: 44px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.footer-btn:hover {
  opacity: 0.85;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.footer-col a {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-col .footer-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col a.active-link {
  color: var(--cyan);
}

.footer-divider--bottom {
  margin-top: 20px;
  margin-bottom: 12px;
}

.footer-copyright {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
  letter-spacing: 0.02em;
}

#floating-bar {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: calc(100vw - var(--page-gutter-desktop) * 2);
  max-width: 900px;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), max-width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#floating-bar.fb-expanded {
  max-width: var(--page-shell-max);
}

#floating-bar.fb-landed {
  opacity: 0;
  transform: translateX(-50%) translateY(22px);
  pointer-events: none;
}

#floating-bar .fb-desktop {
  width: 100%;
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes mobileNavPanelIn {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes mobileNavItemIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mobileNavCtaIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 960px) {
  .carousel-wrap.is-orbit .carousel-stage {
    --carousel-card-width: 178px;
    --carousel-card-half-width: 89px;
    --carousel-card-height: 222px;
    --carousel-card-half-height: 111px;
    --carousel-icon-size: 72px;
    height: 352px;
  }
  .carousel-wrap.is-orbit .carousel-stage::before {
    width: min(720px, 88%);
    height: 170px;
    bottom: 18px;
  }
  .carousel-wrap.is-orbit .carousel-stage::after {
    width: min(700px, 86%);
    height: 102px;
  }
  .carousel-stage {
    --carousel-card-width: 154px;
    --carousel-card-half-width: 77px;
    --carousel-card-height: 264px;
    --carousel-card-half-height: 132px;
    --carousel-icon-size: 68px;
    height: 346px;
  }
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .footer-newsletter {
    align-items: flex-start;
  }
  .footer-newsletter h4 {
    width: var(--footer-newsletter-btn-width);
    margin: 0 0 10px auto;
    font-size: 14px;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: right;
  }
  html:lang(ja) .footer-newsletter h4 {
    font-size: 11px;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
  }
  html:lang(en) .footer-newsletter h4 {
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 24px;
  }
}
@media (max-width: 760px) {
  #footer {
    padding: 50px 20px 22px;
  }
  .nav-wrap {
    width: calc(100vw - var(--page-gutter-mobile) * 2);
    padding: 0;
    position: relative;
  }
  .nav-links {
    display: none;
  }
  #navbar.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    position: absolute;
    top: calc(100% + 12px);
    left: var(--page-gutter-mobile);
    right: var(--page-gutter-mobile);
    padding: 12px;
    background: radial-gradient(circle at 14% -8%, rgba(255, 255, 255, 0.18), transparent 44%), radial-gradient(circle at 88% 6%, rgba(242, 250, 90, 0.1), transparent 30%), linear-gradient(152deg, rgba(46, 46, 46, 0.84) 0%, rgba(22, 22, 22, 0.9) 52%, rgba(10, 10, 10, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    backdrop-filter: blur(22px) saturate(132%);
    -webkit-backdrop-filter: blur(22px) saturate(132%);
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -28px 42px rgba(0, 0, 0, 0.34);
    z-index: 3;
    isolation: isolate;
    max-height: none;
    overflow: visible;
    transform-origin: top center;
    animation: mobileNavPanelIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  #navbar.mobile-open .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0) 58%), radial-gradient(circle at 14% -8%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 48%);
    z-index: 0;
    pointer-events: none;
  }
  #navbar.mobile-open .nav-links::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(12, 14, 18, 0.28) 0%, rgba(10, 12, 16, 0.42) 100%);
    z-index: 0;
    pointer-events: none;
  }
  #navbar.mobile-open .nav-links > * {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(8px);
    animation: mobileNavItemIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  #navbar.mobile-open .nav-links > :nth-child(1) {
    animation-delay: 0.05s;
  }
  #navbar.mobile-open .nav-links > :nth-child(2) {
    animation-delay: 0.09s;
  }
  #navbar.mobile-open .nav-links > :nth-child(3) {
    animation-delay: 0.13s;
  }
  #navbar.mobile-open .nav-links > :nth-child(4) {
    animation-delay: 0.17s;
  }
  #navbar.mobile-open .nav-links > :nth-child(5) {
    animation-delay: 0.21s;
  }
  #navbar.mobile-open .nav-links > :nth-child(6) {
    animation-delay: 0.25s;
  }
  #navbar.mobile-open .nav-right {
    position: static;
  }
  #navbar.mobile-open .nav-link {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: linear-gradient(136deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 38%, rgba(12, 12, 12, 0.28) 100%);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -14px 24px rgba(0, 0, 0, 0.24), 0 4px 12px rgba(0, 0, 0, 0.16);
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.36);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  #navbar.mobile-open .nav-link:hover,
  #navbar.mobile-open .nav-link:focus-visible {
    background: linear-gradient(136deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.09) 42%, rgba(12, 12, 12, 0.22) 100%);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -14px 24px rgba(0, 0, 0, 0.22), 0 6px 14px rgba(0, 0, 0, 0.2);
  }
  .nav-mobile-menu {
    display: inline-flex;
    flex-shrink: 0;
  }
  .nav-cta {
    display: none;
  }
  .nav-lang {
    margin-left: auto;
    position: relative;
    z-index: 9;
  }
  .nav-lang-trigger {
    height: 32px;
    padding: 0 10px;
  }
  .nav-lang-menu {
    right: 0;
    min-width: 124px;
    z-index: 10;
  }
  #navbar.mobile-open .nav-right > .nav-cta {
    display: none;
  }
  #navbar.mobile-open .nav-links .nav-cta-mobile {
    display: inline-flex !important;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    line-height: 1;
    text-align: center;
    margin-top: 0;
    animation: mobileNavCtaIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.18s;
  }
}
@media (max-width: 640px) {
  .hero-video-wrap {
    min-height: 100svh;
  }
  .hero-video-wrap video {
    object-fit: cover;
    object-position: center center;
  }
  .hero-content {
    width: calc(100vw - 32px);
    left: 50%;
    transform: translateX(-50%);
    bottom: 52px;
    gap: 10px;
  }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .hero-title {
    font-size: clamp(30px, 10vw, 44px);
    line-height: 1.08;
  }
  .hero-sub {
    font-size: 12px;
    line-height: 1.72;
    letter-spacing: 0.03em;
  }
  .hero-cta {
    min-width: 188px;
    min-height: 52px;
    padding: 0 16px;
  }
  .hero-cta-label {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
  .carousel-wrap.is-orbit .carousel-stage {
    --carousel-card-width: 152px;
    --carousel-card-half-width: 76px;
    --carousel-card-height: 188px;
    --carousel-card-half-height: 94px;
    --carousel-icon-size: 58px;
    height: 286px;
  }
  .carousel-wrap.is-orbit .carousel-stage::before {
    width: 90%;
    height: 134px;
    bottom: 12px;
  }
  .carousel-wrap.is-orbit .carousel-stage::after {
    width: 88%;
    height: 76px;
    bottom: 8px;
  }
  .carousel-wrap.is-orbit .brand-label {
    bottom: 12px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .carousel-stage {
    --carousel-card-width: 140px;
    --carousel-card-half-width: 70px;
    --carousel-card-height: 220px;
    --carousel-card-half-height: 110px;
    --carousel-icon-size: 60px;
    height: 264px;
  }
  #brands .section-header {
    margin-bottom: 24px;
    max-width: 100%;
  }
  .brand-label {
    bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  #brands {
    min-height: 100svh;
    padding: clamp(64px, 11vw, 84px) 20px clamp(72px, 12vw, 96px);
  }
  #brands .home-mini-cube-wrap {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 auto;
    transform: none;
  }
  #vehicles,
  #news {
    padding: 72px var(--page-gutter-mobile);
  }
  .nav-wrap {
    padding: 0 20px;
    position: relative;
  }
  .nav-links {
    display: none;
  }
  #navbar.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    padding: 12px;
    background: radial-gradient(circle at 14% -8%, rgba(255, 255, 255, 0.18), transparent 44%), radial-gradient(circle at 88% 6%, rgba(242, 250, 90, 0.1), transparent 30%), linear-gradient(152deg, rgba(46, 46, 46, 0.84) 0%, rgba(22, 22, 22, 0.9) 52%, rgba(10, 10, 10, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    backdrop-filter: blur(22px) saturate(132%);
    -webkit-backdrop-filter: blur(22px) saturate(132%);
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -28px 42px rgba(0, 0, 0, 0.34);
    z-index: 3;
    isolation: isolate;
    max-height: none;
    overflow: visible;
    transform-origin: top center;
    animation: mobileNavPanelIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  #navbar.mobile-open .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0) 58%), radial-gradient(circle at 14% -8%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 48%);
    z-index: 0;
    pointer-events: none;
  }
  #navbar.mobile-open .nav-links::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(12, 14, 18, 0.28) 0%, rgba(10, 12, 16, 0.42) 100%);
    z-index: 0;
    pointer-events: none;
  }
  #navbar.mobile-open .nav-links > * {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(8px);
    animation: mobileNavItemIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  #navbar.mobile-open .nav-links > :nth-child(1) {
    animation-delay: 0.05s;
  }
  #navbar.mobile-open .nav-links > :nth-child(2) {
    animation-delay: 0.09s;
  }
  #navbar.mobile-open .nav-links > :nth-child(3) {
    animation-delay: 0.13s;
  }
  #navbar.mobile-open .nav-links > :nth-child(4) {
    animation-delay: 0.17s;
  }
  #navbar.mobile-open .nav-links > :nth-child(5) {
    animation-delay: 0.21s;
  }
  #navbar.mobile-open .nav-links > :nth-child(6) {
    animation-delay: 0.25s;
  }
  #navbar.mobile-open .nav-right {
    position: static;
  }
  #navbar.mobile-open .nav-link {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: linear-gradient(136deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 38%, rgba(12, 12, 12, 0.28) 100%);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -14px 24px rgba(0, 0, 0, 0.24), 0 4px 12px rgba(0, 0, 0, 0.16);
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.36);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  #navbar.mobile-open .nav-link:hover,
  #navbar.mobile-open .nav-link:focus-visible {
    background: linear-gradient(136deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.09) 42%, rgba(12, 12, 12, 0.22) 100%);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -14px 24px rgba(0, 0, 0, 0.22), 0 6px 14px rgba(0, 0, 0, 0.2);
  }
  .nav-mobile-menu {
    display: inline-flex;
    flex-shrink: 0;
  }
  .nav-cta {
    display: none;
  }
  .nav-lang {
    margin-left: auto;
    position: relative;
    z-index: 9;
  }
  .nav-lang-trigger {
    height: 32px;
    padding: 0 10px;
  }
  .nav-lang-menu {
    right: 0;
    min-width: 124px;
    z-index: 10;
  }
  #navbar.mobile-open .nav-right > .nav-cta {
    display: none;
  }
  #navbar.mobile-open .nav-links .nav-cta-mobile {
    display: inline-flex !important;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    line-height: 1;
    text-align: center;
    margin-top: 0;
    animation: mobileNavCtaIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.18s;
  }
  .vehicle-grid {
    grid-template-columns: 1fr;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    padding: 14px 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid::-webkit-scrollbar {
    display: none;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-card {
    flex: 0 0 100%;
    min-width: 100%;
    margin: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-card-header {
    gap: 9px;
    padding: 3px 2px 10px;
    align-items: flex-start;
    min-height: 64px;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-card-img {
    width: 100%;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-brand-icon-wrap {
    width: 40px;
    height: 40px;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-brand-icon {
    width: 25px;
    height: 25px;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-brand-icon-wrap.v-mini-brand-badge {
    width: 40px;
    height: 40px;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-brand-icon.v-mini-brand-glyph {
    width: 32px;
    height: 32px;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-header-info {
    gap: 3px;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-card-name {
    font-size: clamp(13px, 4.1vw, 14.5px);
    line-height: 1.14;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-card-meta {
    font-size: clamp(10.5px, 3.2vw, 11.5px);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #vehicles:not(.brand-vehicles) .vehicle-grid .v-spec span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  #vehicles:not(.brand-vehicles) .vehicle-slider-shell {
    position: relative;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  #vehicles:not(.brand-vehicles) .vehicle-slider-nav {
    display: none;
    position: static;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 0 6px;
    z-index: 3;
    opacity: 0.34;
    pointer-events: none;
  }
  #vehicles:not(.brand-vehicles) .vehicle-slider-nav.is-visible {
    display: flex;
    pointer-events: auto;
  }
  #vehicles:not(.brand-vehicles) .vehicle-slider-nav.is-visible.is-engaged,
  #vehicles:not(.brand-vehicles) .vehicle-slider-nav.is-visible:focus-within,
  #vehicles:not(.brand-vehicles) .vehicle-slider-shell:hover .vehicle-slider-nav.is-visible {
    opacity: 0.96;
  }
  #vehicles[data-home-grid=paged] .vehicle-grid {
    display: grid;
    grid-template-columns: repeat(var(--home-vehicle-columns), minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    padding: 0;
    overflow: visible;
  }
  #vehicles[data-home-grid=paged] .vehicle-pagination {
    margin-top: 16px;
  }
  #vehicles {
    padding: clamp(72px, 12vw, 88px) var(--page-gutter-mobile) clamp(56px, 10vw, 72px);
    background: transparent;
    overflow-x: hidden;
  }
  #vehicles[data-home-grid=paged] .vehicle-grid > .v-card {
    box-shadow: 0 10px 26px rgba(43, 41, 38, 0.1), 0 2px 10px rgba(0, 0, 0, 0.06);
  }
  #brands {
    min-height: auto;
    padding: clamp(88px, 14vw, 112px) 20px clamp(76px, 11vw, 96px);
  }
  #brands .section-header {
    width: 100% !important;
    max-width: min(320px, 100%) !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 22px;
    text-align: center;
  }
  #brands .section-header h2,
  #brands .section-header p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .brand-library-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .brand-library-panel {
    padding: 24px 22px;
  }
  .brand-library-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .brand-library-card {
    padding: 16px;
  }
  .brand-library-card-head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
  .brand-library-card-link {
    grid-column: 1/-1;
    justify-self: start;
    margin-top: 6px;
  }
  .brand-library-card-gallery {
    grid-template-rows: repeat(2, 104px);
  }
  .brand-library-photo--lead {
    min-height: 218px;
  }
  #floating-bar {
    width: calc(100vw - var(--page-gutter-mobile) * 2);
  }
  .footer-top {
    gap: 20px;
    margin-bottom: 22px;
  }
  .footer-newsletter {
    width: min(100%, 330px);
    --footer-newsletter-btn-width: 96px;
  }
  .newsletter-form {
    width: 100%;
  }
  .newsletter-form input {
    width: auto;
    min-width: 0;
    flex: 1;
  }
  .footer-btn {
    width: var(--footer-newsletter-btn-width);
    min-width: var(--footer-newsletter-btn-width);
    padding: 0 14px;
    font-size: 12.5px;
  }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  .footer-col {
    min-width: 0;
    gap: 7px;
  }
  .footer-col h4 {
    margin-bottom: 0;
    font-size: 12px;
    white-space: nowrap;
  }
  .footer-col a {
    font-size: 11px;
    line-height: 1.32;
    word-break: break-word;
  }
  .footer-col .footer-text {
    font-size: 11px;
    line-height: 1.32;
    word-break: break-word;
  }
  .footer-divider {
    margin-bottom: 18px;
  }
  .footer-divider--bottom {
    margin-top: 12px;
    margin-bottom: 10px;
  }
  .footer-copyright {
    font-size: 10.5px;
    line-height: 1.3;
  }
  .fb-desktop {
    display: none;
  }
  /* Keep the static search strip below the cube visible on mobile with logo + input + search only. */
  #static-search.search-bar-wrap {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
  #static-search .fb-desktop {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
  }
  #static-search .fb-logo {
    display: block;
    height: 18px;
    margin: 0 4px;
    flex-shrink: 0;
  }
  #static-search .fb-filters {
    display: none;
  }
  #static-search .fb-input-wrap {
    display: flex;
    flex: 1;
    width: 100%;
    min-width: 0;
    margin-left: 0;
    padding: 3px 3px 3px 10px;
    border-radius: 10px;
  }
  #static-search .fb-input {
    display: block;
    min-width: 0;
    font-size: 12px;
  }
  #static-search .fb-cta {
    min-width: 88px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: none;
  }
  .fb-mobile {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(23, 23, 23, 0.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 8px 32px rgba(23, 23, 23, 0.28);
    width: 100%;
  }
  .fb-mobile .fb-logo {
    height: 24px;
  }
  .fb-filter-menu {
    padding: 8px;
    border-radius: 14px;
  }
  .fb-filter-menu-head {
    gap: 5px;
  }
  .fb-filter-toggle {
    min-height: 34px;
    font-size: 11px;
  }
  .fb-filter-menu-body {
    max-height: 220px;
  }
  .fb-filter-option {
    gap: 10px;
    padding: 10px 11px;
  }
  .fb-filter-option-media {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .fb-filter-option-image {
    width: 20px;
    height: 20px;
  }
  .fb-filter-option-label {
    font-size: 12px;
  }
  .fb-filter-option-note {
    font-size: 10px;
  }
}
