
:root {
  --color-ink: #16211f;
  --color-accent: #17332f;
  --color-accent-2: #274840;
  --color-warm: #8b5e34;
  --color-cream: #fff4e7;
  --color-muted: #5f6964;
  --color-muted-2: #6b756f;
  --color-border: rgba(22, 33, 31, 0.08);
  --color-surface: rgba(255, 255, 255, 0.82);
  --shadow-soft: 0 18px 40px rgba(73, 60, 35, 0.06);
  --shadow-panel: 0 22px 48px rgba(73, 60, 35, 0.08);
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(
      circle at top left,
      rgba(251, 191, 36, 0.22),
      transparent 26%
    ),
    radial-gradient(
      circle at top right,
      rgba(14, 116, 144, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, #f6efe4 0%, #f4f1ea 42%, #eee9df 100%);
  color: var(--color-ink);
  font-family:
    Avenir Next,
    Avenir,
    Trebuchet MS,
    sans-serif;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(244, 241, 234, 0.72);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.page-loader-shell {
  display: inline-grid;
  justify-items: center;
  gap: 12px;
  min-width: 148px;
  padding: 20px 24px;
  border-radius: 24px;
  border: 1px solid rgba(23, 51, 47, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-accent);
  box-shadow: var(--shadow-panel);
}

.page-loader-shell strong {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-loader-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(23, 51, 47, 0.12);
  border-top-color: var(--color-accent);
  border-radius: 999px;
  animation: page-loader-spin 0.8s linear infinite;
}

html.page-loading .page-loader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@keyframes page-loader-spin {
  to {
    transform: rotate(360deg);
  }
}


.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 60px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-2) 100%
  );
  color: var(--color-cream);
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(23, 51, 47, 0.18);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 180ms ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 20px 0;
  opacity: 0;
  transform: translateY(-34px);
  transition:
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
}

html.page-ready .site-header {
  opacity: 1;
  transform: translateY(0);
}

.site-header .header-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(255, 253, 248, 0.8),
    rgba(255, 255, 255, 0.42)
  );
  box-shadow: 0 24px 52px rgba(73, 60, 35, 0.1);
  backdrop-filter: blur(24px);
  position: relative;
  overflow: visible;
  border: 1px solid var(--color-border);
  isolation: isolate;
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease,
    border-radius 0.45s ease;
}

.site-header .header-shape-orbit {
  position: absolute;
  top: 16px;
  right: 22px;
  z-index: 0;
  width: 132px;
  height: 56px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.site-header .header-shape-accent {
  position: relative;
  display: block;
  width: 94px;
  height: 28px;
  border: 1px solid rgba(23, 51, 47, 0.08);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(240, 215, 171, 0.52),
    rgba(23, 51, 47, 0.12)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 12px 24px rgba(73, 60, 35, 0.08);
  transform: translateY(-2px);
  transition:
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.45s ease,
    clip-path 0.45s ease,
    background 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .header-shape-accent::before,
.site-header .header-shape-accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.24);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.54);
  opacity: 0;
  transform: scale(0.42);
  transition:
    opacity 0.24s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .header-shape-accent::before {
  left: 14px;
}

.site-header .header-shape-accent::after {
  right: 14px;
}

html[data-header-shape='car'] .site-header .header-shell {
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(240, 215, 171, 0.32),
      transparent 22%
    ),
    linear-gradient(
      135deg,
      rgba(255, 253, 248, 0.88),
      rgba(255, 255, 255, 0.5)
    );
  box-shadow: 0 28px 56px rgba(73, 60, 35, 0.12);
}

html[data-header-shape='car'] .site-header .header-shape-accent {
  width: 122px;
  height: 48px;
  border-radius: 18px 24px 14px 14px;
  background: linear-gradient(
    135deg,
    rgba(23, 51, 47, 0.96),
    rgba(39, 72, 64, 0.86)
  );
  clip-path: polygon(
    2% 70%,
    10% 48%,
    24% 30%,
    44% 18%,
    66% 18%,
    82% 28%,
    92% 48%,
    98% 70%,
    100% 70%,
    100% 86%,
    88% 86%,
    81% 72%,
    19% 72%,
    12% 86%,
    0 86%,
    0 70%
  );
  transform: translateY(0);
}

html[data-header-shape='car'] .site-header .header-shape-accent::before,
html[data-header-shape='car'] .site-header .header-shape-accent::after {
  opacity: 1;
  transform: scale(1);
}

.site-header .utility-row,
.site-header .header-main {
  position: relative;
  z-index: 1;
}

.site-header .utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 16px 14px;
  border-bottom: 1px solid var(--color-border);
}

.site-header .utility-meta {
  display: grid;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 620px;
  grid-template-columns: auto minmax(320px, 560px);
}

.site-header .utility-kicker {
  margin: 0;
  color: var(--color-warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-header .utility-search,
.site-header .mobile-search {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 5px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 243, 0.9)),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 51, 47, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.site-header .utility-search:hover,
.site-header .mobile-search:hover {
  border-color: rgba(139, 94, 52, 0.22);
  background: rgba(255, 255, 255, 0.98);
}

.site-header .search-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.site-header .utility-search input,
.site-header .mobile-search input {
  min-width: 0;
  width: 100%;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  font-size: 0.94rem;
  outline: none;
  padding: 0 14px;
}

.site-header .utility-search input::placeholder,
.site-header .mobile-search input::placeholder {
  color: #67716c;
}

.site-header .search-photo-trigger {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.06);
  border: 1px solid rgba(23, 51, 47, 0.08);
  color: var(--color-accent);
  cursor: pointer;
  flex: 0 0 40px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.site-header .search-photo-trigger svg {
  width: 18px;
  height: 18px;
}

.site-header .search-file-input {
  display: none;
}

.site-header .utility-search button,
.site-header .mobile-search button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-2) 100%
  );
  color: var(--color-cream);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(23, 51, 47, 0.16);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.site-header .search-photo-trigger:hover {
  background: rgba(23, 51, 47, 0.1);
  border-color: rgba(23, 51, 47, 0.14);
}

.site-header .utility-search button:hover,
.site-header .mobile-search button:hover {
  box-shadow: 0 10px 18px rgba(23, 51, 47, 0.18);
  filter: saturate(1.05);
}

.site-header .utility-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 280px;
}

.site-header .utility-feed {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 16px;
  min-height: 44px;
  border-radius: 999px;
  color: #4d5954;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 51, 47, 0.08);
  box-shadow: 0 12px 24px rgba(73, 60, 35, 0.06);
  white-space: normal;
}

.site-header .utility-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-accent);
}

.site-header .signal-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2a8a67;
  box-shadow: 0 0 0 6px rgba(42, 138, 103, 0.12);
}

.site-header .utility-divider {
  width: 1px;
  height: 14px;
  background: rgba(22, 33, 31, 0.12);
}

.site-header .header-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(420px, 1.45fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.site-header .brand {
  display: grid;
  grid-template-columns: minmax(0, 132px);
  justify-items: center;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 4px 0;
  border-radius: 0;
  text-decoration: none;
  color: var(--color-ink);
  background: transparent;
  border: 0;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.site-header .brand:hover {
  transform: translateY(-1px);
  opacity: 0.86;
}

.site-header .brand-mark {
  width: 132px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 132px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-header .brand-logo {
  width: 132px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.site-header .brand-copy {
  display: grid;
  justify-items: center;
  gap: 1px;
  min-width: 0;
  text-align: center;
}

.site-header .brand-copy strong {
  font-family:
    Georgia,
    Times New Roman,
    serif;
  overflow: hidden;
  font-size: 0.76rem;
  letter-spacing: 0.015em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .brand-copy small {
  color: #596660;
  font-size: 0.62rem;
  line-height: 1.25;
  white-space: nowrap;
}

.site-header .desktop-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  min-width: 0;
  padding: 6px;
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72),
    rgba(255, 251, 244, 0.54)
  );
  border: 1px solid rgba(23, 51, 47, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 16px 24px rgba(73, 60, 35, 0.04);
}

.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  flex: 1 1 120px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--color-accent);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 51, 47, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}


.site-header .nav-link-copy {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .nav-link-copy small {
  color: var(--color-warm);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header .nav-link-copy strong {
  color: var(--color-accent);
  font-size: 0.96rem;
  font-weight: 800;
}

.site-header .nav-link-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.08);
  color: var(--color-accent);
  font-size: 0.88rem;
  font-weight: 800;
  flex: 0 0 32px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.site-header .nav-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 252, 246, 0.96);
  border-color: rgba(139, 94, 52, 0.2);
  box-shadow: 0 14px 24px rgba(73, 60, 35, 0.08);
}

.site-header .nav-link:hover::before {
  opacity: 0.7;
}

.site-header .nav-link:hover .nav-link-mark {
  transform: translateX(2px);
  background: rgba(23, 51, 47, 0.12);
}

.site-header .nav-link[data-active='true'] {
  background: linear-gradient(
    135deg,
    rgba(23, 51, 47, 0.96),
    rgba(39, 72, 64, 0.94)
  );
  border-color: rgba(23, 51, 47, 0.16);
  box-shadow: 0 18px 28px rgba(23, 51, 47, 0.16);
}

.site-header .nav-link[data-active='true']::before {
  opacity: 1;
}

.site-header .nav-link[data-active='true'] .nav-link-copy small {
  color: rgba(255, 244, 231, 0.72);
}

.site-header .nav-link[data-active='true'] .nav-link-copy {
  color: var(--color-cream);
}

.site-header .nav-link[data-active='true'] .nav-link-copy strong,
.site-header .nav-link[data-active='true'] .nav-link-mark {
  color: var(--color-cream);
}

.site-header .nav-link[data-active='true'] .nav-link-mark {
  background: rgba(255, 244, 231, 0.12);
}

html[data-header-shape='car'] .site-header .desktop-nav {
  border-radius: 26px;
}

html[data-header-shape='car'] .site-header .nav-link {
  border-radius: 18px;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.site-header .header-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(23, 51, 47, 0.1);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.site-header .header-secondary-link:hover {
  transform: translateY(-1px);
  background: rgba(240, 215, 171, 0.22);
  border-color: rgba(139, 94, 52, 0.18);
  box-shadow: 0 12px 18px rgba(73, 60, 35, 0.06);
}

.site-header .header-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.site-header .highlight-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 51, 47, 0.08);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-header .header-cta,
.site-header .mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-2) 100%
  );
  color: var(--color-cream);
  font-weight: 700;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 24px rgba(23, 51, 47, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.site-header .cta-arrow {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 244, 231, 0.12);
  font-size: 0.95rem;
  line-height: 1;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.site-header .header-cta:hover,
.site-header .mobile-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 28px rgba(23, 51, 47, 0.24);
  filter: saturate(1.05);
}

.site-header .header-cta:hover .cta-arrow,
.site-header .mobile-cta:hover .cta-arrow {
  transform: translateX(2px);
  background: rgba(255, 244, 231, 0.2);
}

.site-header .mobile-menu {
  display: none;
  position: relative;
  z-index: 5;
}

.site-header .menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(23, 51, 47, 0.1);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.94),
    rgba(255, 249, 240, 0.84)
  );
  color: var(--color-accent);
  cursor: pointer;
  user-select: none;
  list-style: none;
  box-shadow: 0 12px 28px rgba(73, 60, 35, 0.08);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.site-header .menu-toggle::-webkit-details-marker {
  display: none;
}

.site-header .menu-toggle::marker {
  content: '';
}

.site-header .menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 94, 52, 0.18);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(250, 240, 225, 0.92)
  );
  box-shadow: 0 16px 30px rgba(73, 60, 35, 0.1);
}

.site-header .menu-toggle-copy {
  display: grid;
  gap: 2px;
}

.site-header .menu-toggle-copy small {
  color: var(--color-warm);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header .menu-toggle-copy strong {
  font-size: 0.92rem;
  line-height: 1;
}

.site-header .menu-toggle-icon {
  width: 18px;
  display: grid;
  gap: 4px;
}

.site-header .menu-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-header .mobile-menu[open] .menu-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header .mobile-menu[open] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.site-header .mobile-menu[open] .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header .mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(390px, calc(100vw - 28px));
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(22, 33, 31, 0.1);
  background: linear-gradient(
    140deg,
    rgba(255, 252, 246, 0.98),
    rgba(255, 255, 255, 0.94)
  );
  box-shadow: 0 30px 60px rgba(73, 60, 35, 0.16);
  z-index: 10;
  transform: translateZ(0);
}

.site-header .mobile-panel-head {
  display: grid;
  gap: 6px;
}

.site-header .mobile-panel-kicker {
  color: var(--color-warm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-header .mobile-panel-head strong {
  font-family:
    Georgia,
    Times New Roman,
    serif;
  font-size: 1.1rem;
  color: var(--color-ink);
}

.site-header .mobile-panel-head p {
  margin: 0;
  color: #5c6762;
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-header .mobile-search {
  width: 100%;
  box-sizing: border-box;
}

.site-header .mobile-search input {
  width: 100%;
}

.site-header .mobile-nav {
  display: grid;
  gap: 10px;
}

.site-header .mobile-secondary-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.site-header .mobile-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 51, 47, 0.08);
  font-weight: 700;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.site-header .mobile-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 16px;
  border-radius: 0;
  text-decoration: none;
  color: var(--color-accent);
  background: transparent;
  border: 0;
  box-shadow: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.site-header .mobile-link-copy {
  display: grid;
  gap: 3px;
}

.site-header .mobile-link-copy small {
  color: var(--color-warm);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header .mobile-link-copy strong {
  color: var(--color-accent);
  font-size: 0.96rem;
  font-weight: 800;
}

.site-header .mobile-link-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.08);
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.site-header .mobile-link:hover {
  transform: translateY(-1px);
  background: transparent;
  color: var(--color-warm);
}

.site-header .mobile-link:hover .mobile-link-mark {
  transform: translateX(2px);
  background: rgba(23, 51, 47, 0.12);
}

.site-header .mobile-link[data-active='true'] {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-header .mobile-link[data-active='true'] .mobile-link-copy small {
  color: var(--color-warm);
}

.site-header .mobile-link[data-active='true'] .mobile-link-copy,
.site-header .mobile-link[data-active='true'] .mobile-link-copy strong,
.site-header .mobile-link[data-active='true'] .mobile-link-mark {
  color: var(--color-accent);
}

.site-header .mobile-link[data-active='true'] .mobile-link-mark {
  background: rgba(23, 51, 47, 0.08);
}

.site-header .mobile-secondary-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 252, 246, 0.96);
  border-color: rgba(139, 94, 52, 0.18);
  box-shadow: 0 12px 20px rgba(73, 60, 35, 0.06);
}

.site-header .nav-link:focus-visible,
.site-header .header-secondary-link:focus-visible,
.site-header .header-cta:focus-visible,
.site-header .menu-toggle:focus-visible,
.site-header .mobile-link:focus-visible,
.site-header .mobile-secondary-link:focus-visible,
.site-header .mobile-cta:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(240, 215, 171, 0.88),
    0 0 0 6px rgba(23, 51, 47, 0.18);
}

.site-header .mobile-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  padding: 0 20px 24px;
}

.site-footer .footer-inner {
  position: relative;
  overflow: hidden;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 86% 14%,
      rgba(240, 215, 171, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 8% 88%,
      rgba(255, 244, 231, 0.1),
      transparent 24%
    ),
    linear-gradient(145deg, var(--color-accent) 0%, #102321 100%);
  color: #f8f1e4;
  box-shadow: 0 24px 54px rgba(26, 30, 28, 0.18);
  border: 1px solid rgba(255, 244, 231, 0.08);
}

.site-footer .footer-inner::before {
  content: '';
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 244, 231, 0.14),
    transparent 36%,
    rgba(255, 244, 231, 0.06)
  );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.site-footer .footer-top,
.site-footer .footer-content,
.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: stretch;
}

.site-footer .footer-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.site-footer .footer-mark {
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 244, 231, 0.18),
      rgba(255, 244, 231, 0.06)
    ),
    rgba(255, 244, 231, 0.08);
  color: var(--color-cream);
  font-family:
    Georgia,
    Times New Roman,
    serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 244, 231, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 244, 231, 0.16);
}

.site-footer .footer-mark img {
  display: block;
  width: 74px;
  height: 30px;
  object-fit: contain;
}

.site-footer .footer-copy {
  display: grid;
  gap: 8px;
}

.site-footer .footer-kicker,
.site-footer .footer-link-group span,
.site-footer .footer-note span {
  color: rgba(255, 244, 231, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer .footer-copy strong {
  max-width: 680px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.site-footer .footer-copy p {
  margin: 0;
  max-width: 58ch;
  color: rgba(248, 241, 228, 0.72);
  line-height: 1.7;
}

.site-footer .footer-feature-link {
  display: grid;
  align-content: space-between;
  min-height: 150px;
  padding: 20px;
  border-radius: 26px;
  text-decoration: none;
  background:
    linear-gradient(
      145deg,
      rgba(255, 244, 231, 0.16),
      rgba(255, 244, 231, 0.06)
    ),
    rgba(255, 244, 231, 0.06);
  border: 1px solid rgba(255, 244, 231, 0.12);
  color: var(--color-cream);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.site-footer .footer-feature-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 244, 231, 0.12);
  border-color: rgba(255, 244, 231, 0.2);
}

.site-footer .footer-feature-link span {
  color: rgba(248, 241, 228, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer .footer-feature-link strong {
  font-size: 1.55rem;
  line-height: 1.1;
}

.site-footer .footer-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 0.3fr)) minmax(260px, 1fr);
  gap: 16px;
}

.site-footer .footer-link-group,
.site-footer .footer-note {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 244, 231, 0.055);
  border: 1px solid rgba(255, 244, 231, 0.08);
}

.site-footer .footer-link-group a,
.site-footer .footer-bottom a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-cream);
  background: rgba(255, 244, 231, 0.08);
  border: 1px solid rgba(255, 244, 231, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.site-footer .footer-link-group a:hover,
.site-footer .footer-bottom a:hover {
  transform: translateY(-1px);
  background: rgba(255, 244, 231, 0.1);
  border-color: rgba(255, 244, 231, 0.14);
}

.site-footer .footer-note p {
  margin: 0;
  color: rgba(248, 241, 228, 0.7);
  line-height: 1.7;
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 244, 231, 0.1);
}

.site-footer .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer .footer-bottom small {
  color: rgba(248, 241, 228, 0.68);
  font-size: 0.84rem;
  line-height: 1.6;
}

.category-section,
.api-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-warm);
}

h1,
h2,
strong {
  font-family:
    Georgia,
    Times New Roman,
    serif;
}

h1,
h2 {
  margin: 10px 0 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
}

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

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.section-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-topbar .section-heading {
  margin-bottom: 0;
}

.section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-cream);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(23, 51, 47, 0.16);
}

.section-text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.info-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.info-shell {
  display: grid;
  gap: 20px;
}

.info-hero,
.policy-panel,
.policy-summary {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

.info-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: 24px;
  align-items: end;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(139, 94, 52, 0.14),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      rgba(255, 250, 241, 0.95),
      rgba(255, 255, 255, 0.82)
    );
}

.info-hero .detail-back-link {
  margin-bottom: 20px;
}

.info-stat-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.info-stat-panel div {
  min-width: 0;
  padding: 16px;
  border-radius: 20px;
  background: rgba(23, 51, 47, 0.06);
  border: 1px solid rgba(23, 51, 47, 0.07);
}

.info-stat-panel strong {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
}

.info-stat-panel span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.info-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(22, 33, 31, 0.1);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.info-card span {
  color: var(--color-warm);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-card strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.info-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.info-card-wide {
  grid-column: span 2;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  align-items: start;
}

.policy-panel,
.policy-summary {
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.92),
    rgba(255, 255, 255, 0.82)
  );
}

.policy-panel {
  padding: 30px;
}

.policy-panel h2 {
  margin-top: 28px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.policy-panel h2:first-child {
  margin-top: 0;
}

.policy-panel p,
.policy-summary p {
  color: var(--color-muted);
  line-height: 1.75;
}

.policy-summary {
  display: grid;
  gap: 14px;
  padding: 24px;
  position: sticky;
  top: 154px;
}

.policy-summary strong {
  font-size: 1.5rem;
  line-height: 1.1;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-cream);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(23, 51, 47, 0.16);
}

.contact-link:hover {
  filter: saturate(1.05);
}

.slider-shell,
.brand-slider-shell {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.92),
    rgba(255, 255, 255, 0.82)
  );
  box-shadow: var(--shadow-panel);
}

.slider-meta,
.brand-meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 12px;
  color: var(--color-muted-2);
  font-size: 0.88rem;
  font-weight: 600;
}

.brand-meta a {
  color: var(--color-accent);
  font-weight: 800;
  text-decoration: none;
}

.brand-track {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.brand-track::-webkit-scrollbar {
  display: none;
}

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

.category-card {
  display: grid;
  gap: 14px;
  min-height: 260px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    160deg,
    rgba(240, 215, 171, 0.2),
    rgba(255, 255, 255, 0.94)
  );
  scroll-snap-align: start;
  box-shadow: 0 18px 34px rgba(73, 60, 35, 0.08);
  cursor: default;
}

.category-card-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.category-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 94, 52, 0.18);
  box-shadow: 0 22px 38px rgba(73, 60, 35, 0.12);
}

.category-card[data-status='soon'] {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  opacity: 0.68;
}

.category-card[data-status='soon'] .category-copy strong {
  color: #69736f;
}

.category-media {
  min-height: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(23, 51, 47, 0.1), rgba(240, 215, 171, 0.22)),
    rgba(255, 255, 255, 0.72);
  color: rgba(23, 51, 47, 0.58);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-media img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  display: block;
  object-fit: cover;
}

.category-card[data-status='soon'] .category-media {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(23, 51, 47, 0.06) 0,
      rgba(23, 51, 47, 0.06) 10px,
      rgba(240, 215, 171, 0.14) 10px,
      rgba(240, 215, 171, 0.14) 20px
    ),
    rgba(255, 255, 255, 0.82);
}

.category-copy {
  display: grid;
  gap: 8px;
  padding: 2px 8px 8px;
}

.category-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.category-copy strong {
  font-size: 1.35rem;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(139, 94, 52, 0.12);
  border: 1px solid rgba(139, 94, 52, 0.12);
  color: var(--color-warm);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-copy span {
  color: var(--color-muted);
  line-height: 1.65;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.slider-button {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(22, 33, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--color-accent);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(73, 60, 35, 0.08);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    opacity 0.18s ease;
}

.slider-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(240, 215, 171, 0.28);
}

.slider-button:disabled {
  opacity: 0.42;
  cursor: default;
}

.brand-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 16px;
  padding: 4px 2px 12px;
}

.brand-item,
.status-panel {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(22, 33, 31, 0.1);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.brand-item {
  display: grid;
  gap: 16px;
  min-height: 176px;
  align-content: space-between;
}

.brand-item-link {
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.brand-item-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(73, 60, 35, 0.1);
  border-color: rgba(23, 51, 47, 0.16);
}

.brand-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex: 0 0 68px;
  border-radius: 20px;
  background: rgba(23, 51, 47, 0.06);
  overflow: visible;
}

.brand-logo-wrap .brand-logo {
  width: 100%;
  height: 100%;
  max-width: 58px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  padding: 4px;
}

.brand-logo-fallback {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--color-accent);
  color: var(--color-cream);
  font-family:
    Georgia,
    Times New Roman,
    serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-item strong {
  font-size: 1.3rem;
}

.brand-item .brand-copy {
  display: grid;
  gap: 4px;
}

.brand-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-slug,
.brand-card-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.brand-slug {
  background: rgba(23, 51, 47, 0.06);
  color: var(--color-accent);
}

.brand-card-arrow {
  background: rgba(240, 215, 171, 0.22);
  color: var(--color-warm);
}

.brand-item .brand-copy span,
.status-panel p,
.brand-description {
  color: var(--color-muted);
  line-height: 1.6;
}

.latest-cars-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 34px 20px 56px;
}

.latest-cars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.latest-car-card {
  display: grid;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(22, 33, 31, 0.1);
  border-radius: 26px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 250, 241, 0.92)
  );
  box-shadow: var(--shadow-soft);
}

.latest-car-card-link {
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.latest-car-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 51, 47, 0.16);
  box-shadow: 0 24px 48px rgba(73, 60, 35, 0.11);
}

.latest-car-media {
  position: relative;
  min-height: 190px;
  background:
    radial-gradient(
      circle at 70% 18%,
      rgba(255, 244, 231, 0.2),
      transparent 30%
    ),
    #17211f;
}

.latest-car-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.latest-car-media span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.8);
  color: var(--color-cream);
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-car-content {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.latest-car-content > div:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.latest-car-content span {
  min-width: 0;
}

.latest-car-content > div:first-child span {
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-car-content strong {
  color: var(--color-ink);
  font-size: 1.24rem;
  line-height: 1.15;
}

.latest-car-facts,
.latest-car-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.latest-car-facts span,
.latest-car-footer span,
.latest-car-footer em {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.06);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
}

.latest-car-footer em {
  background: rgba(139, 94, 52, 0.09);
  color: #6e5237;
}

.brand-description {
  margin: 0;
  line-height: 1.65;
}

.brand-details {
  display: grid;
  gap: 10px;
}

.brand-details span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(23, 51, 47, 0.05);
  border: 1px solid rgba(23, 51, 47, 0.07);
  font-size: 0.9rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--color-accent);
  color: var(--color-cream);
  font-weight: 700;
}

.brand-link.brand-link-muted {
  background: rgba(23, 51, 47, 0.08);
  color: #66716b;
}

.brands-directory-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.brands-directory-shell {
  display: grid;
  gap: 20px;
}

.brands-directory-hero,
.brands-filter-panel,
.brands-letter-filter,
.brands-directory-card,
.brands-directory-meta,
.brands-pagination {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

.brands-directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: 24px;
  align-items: end;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(240, 215, 171, 0.34),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(255, 250, 241, 0.94),
      rgba(255, 255, 255, 0.82)
    );
}

.brands-directory-hero .detail-back-link {
  margin-bottom: 20px;
}

.brands-directory-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.brands-directory-stats div {
  min-width: 0;
  padding: 16px;
  border-radius: 20px;
  background: rgba(23, 51, 47, 0.06);
  border: 1px solid rgba(23, 51, 47, 0.07);
}

.brands-directory-stats strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.brands-directory-stats span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.brands-mobile-filter-toggle {
  display: none;
}

.brands-filter-drawer {
  display: grid;
  gap: 20px;
}

.brands-filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.brands-filter-field {
  display: grid;
  gap: 8px;
}

.brands-filter-field span {
  color: var(--color-muted-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brands-filter-field input,
.brands-filter-field select {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid rgba(23, 51, 47, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-ink);
  font: inherit;
  outline: none;
  padding: 0 14px;
}

.brands-filter-field input:focus,
.brands-filter-field select:focus {
  border-color: rgba(23, 51, 47, 0.32);
  box-shadow: 0 0 0 4px rgba(23, 51, 47, 0.08);
}

.brands-reset-button {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.08);
  color: var(--color-accent);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.brands-letter-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.brands-letter-filter button,
.brands-pagination button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(23, 51, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-accent);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.brands-letter-filter button:hover,
.brands-letter-filter button.is-active,
.brands-pagination button:hover:not(:disabled),
.brands-pagination button.is-active {
  border-color: transparent;
  background: var(--color-accent);
  color: var(--color-cream);
}

.brands-directory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--color-muted);
  font-weight: 800;
}

.brands-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.brands-directory-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 260px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 250, 241, 0.92)
  );
}

.brands-directory-card[hidden] {
  display: none;
}

.brands-directory-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brands-directory-card-head > div:last-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.brands-directory-card-head strong {
  overflow: hidden;
  color: var(--color-ink);
  font-size: 1.25rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brands-directory-card-head span,
.brands-directory-card-meta span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.brands-directory-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brands-directory-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.06);
  color: var(--color-accent);
  font-weight: 800;
}

.brands-directory-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brands-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.brands-pagination [data-brand-pages] {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.brands-pagination button:disabled {
  opacity: 0.42;
  cursor: default;
}

.brands-empty-panel[hidden] {
  display: none;
}

.status-panel strong {
  font-size: 1.1rem;
}

.status-panel p {
  margin: 8px 0 0;
}

.models-directory-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.models-directory-shell {
  display: grid;
  gap: 20px;
}

.models-directory-hero,
.models-filter-panel,
.model-directory-card,
.models-directory-meta,
.models-pagination {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

.models-directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: 24px;
  align-items: end;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 22%, rgba(23, 51, 47, 0.18), transparent 34%),
    linear-gradient(
      145deg,
      rgba(255, 250, 241, 0.95),
      rgba(255, 255, 255, 0.82)
    );
}

.models-directory-hero .detail-back-link {
  margin-bottom: 20px;
}

.models-directory-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.models-directory-stats div {
  min-width: 0;
  padding: 16px;
  border-radius: 20px;
  background: rgba(23, 51, 47, 0.06);
  border: 1px solid rgba(23, 51, 47, 0.07);
}

.models-directory-stats strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.models-directory-stats span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.models-mobile-filter-toggle {
  display: none;
}

.models-filter-drawer {
  display: grid;
}

.models-filter-panel {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.models-filter-field {
  display: grid;
  gap: 8px;
}

.models-filter-field-wide {
  grid-column: span 2;
}

.models-filter-field span {
  color: var(--color-muted-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.models-filter-field input,
.models-filter-field select {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid rgba(23, 51, 47, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-ink);
  font: inherit;
  outline: none;
  padding: 0 14px;
}

.models-filter-field input:focus,
.models-filter-field select:focus {
  border-color: rgba(23, 51, 47, 0.32);
  box-shadow: 0 0 0 4px rgba(23, 51, 47, 0.08);
}

.models-reset-button {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.08);
  color: var(--color-accent);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.models-directory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--color-muted);
  font-weight: 800;
}

.models-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.model-directory-card {
  display: grid;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 250, 241, 0.92)
  );
}

.model-directory-card[hidden] {
  display: none;
}

.model-directory-media {
  position: relative;
  min-height: 210px;
  background:
    radial-gradient(
      circle at 70% 18%,
      rgba(255, 244, 231, 0.22),
      transparent 30%
    ),
    #17211f;
}

.model-directory-media img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: block;
  object-fit: cover;
}

.model-directory-media span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.78);
  color: var(--color-cream);
  font-size: 0.72rem;
  font-weight: 800;
}

.model-directory-content {
  display: grid;
  gap: 16px;
  align-content: space-between;
  padding: 18px;
}

.model-directory-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.model-directory-title-row > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.model-directory-title-row span {
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-directory-title-row strong {
  color: var(--color-ink);
  font-size: 1.34rem;
  line-height: 1.15;
}

.model-directory-title-row em {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.08);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.model-directory-pills,
.model-directory-facts,
.model-directory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-directory-pills span,
.model-directory-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.06);
  color: var(--color-accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.model-directory-facts span {
  background: rgba(139, 94, 52, 0.08);
  color: #6e5237;
}

.model-directory-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--color-accent);
  color: var(--color-cream);
  font-weight: 800;
}

.model-directory-link-muted {
  background: rgba(23, 51, 47, 0.08);
  color: #66716b;
}

.models-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.models-pagination [data-model-pages] {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.models-pagination button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(23, 51, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-accent);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.models-pagination button:hover:not(:disabled),
.models-pagination button.is-active {
  border-color: transparent;
  background: var(--color-accent);
  color: var(--color-cream);
}

.models-pagination button:disabled {
  opacity: 0.42;
  cursor: default;
}

.models-empty-panel[hidden] {
  display: none;
}

.used-sites-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px 72px;
}

.used-sites-directory-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.used-sites-directory-shell {
  display: grid;
  gap: 20px;
}

.used-sites-directory-hero,
.used-sites-filter-panel,
.used-sites-directory-meta {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

.used-sites-directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: 24px;
  align-items: end;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 22%, rgba(23, 51, 47, 0.18), transparent 34%),
    linear-gradient(
      145deg,
      rgba(255, 250, 241, 0.95),
      rgba(255, 255, 255, 0.82)
    );
}

.used-sites-directory-hero .detail-back-link {
  margin-bottom: 20px;
}

.used-sites-directory-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.used-sites-directory-stats div {
  min-width: 0;
  padding: 16px;
  border-radius: 20px;
  background: rgba(23, 51, 47, 0.06);
  border: 1px solid rgba(23, 51, 47, 0.07);
}

.used-sites-directory-stats strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.used-sites-directory-stats span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.blog-page,
.blog-detail-page,
.blog-home-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.blog-shell,
.blog-detail-shell {
  display: grid;
  gap: 20px;
}

.blog-hero,
.blog-detail-hero,
.blog-filter-row,
.blog-detail-aside {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: end;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 22%, rgba(23, 51, 47, 0.14), transparent 34%),
    linear-gradient(
      145deg,
      rgba(255, 250, 241, 0.95),
      rgba(255, 255, 255, 0.82)
    );
}

.blog-hero .detail-back-link {
  margin-bottom: 20px;
}

.blog-feature-link {
  display: grid;
  gap: 14px;
  align-self: stretch;
  align-content: end;
  padding: 22px;
  border-radius: 24px;
  color: var(--color-cream);
  text-decoration: none;
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-2));
}

.blog-feature-link span,
.blog-feature-link em {
  color: rgba(255, 244, 231, 0.68);
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 800;
}

.blog-feature-link strong {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.blog-filter-row a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.72);
}

.blog-filter-row a.is-active {
  background: var(--color-accent);
  color: var(--color-cream);
}

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

.blog-card {
  min-width: 0;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.94),
    rgba(255, 255, 255, 0.84)
  );
  box-shadow: var(--shadow-panel);
  color: var(--color-ink);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 51, 47, 0.14);
  box-shadow: 0 26px 48px rgba(73, 60, 35, 0.11);
}

.blog-card-media {
  display: block;
  overflow: hidden;
  background: rgba(23, 51, 47, 0.06);
}

.blog-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 20px;
}

.blog-card-copy {
  display: grid;
  gap: 10px;
}

.blog-card-copy strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.blog-card-copy > span {
  color: var(--color-muted);
  line-height: 1.65;
}

.blog-card-meta,
.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-card-meta {
  align-self: end;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 51, 47, 0.08);
}

.blog-card-meta span,
.blog-detail-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--color-muted);
  background: rgba(23, 51, 47, 0.055);
  border: 1px solid rgba(23, 51, 47, 0.07);
  font-size: 0.82rem;
  font-weight: 800;
}

.blog-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  padding: 22px;
  border-radius: 32px;
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.94),
    rgba(255, 255, 255, 0.84)
  );
}

.blog-detail-media {
  overflow: hidden;
  min-height: 360px;
  border-radius: 24px;
  background: rgba(23, 51, 47, 0.06);
}

.blog-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.blog-detail-copy {
  display: grid;
  align-content: end;
  gap: 16px;
  padding: 8px;
}

.blog-detail-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.95;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 20px;
  align-items: start;
}

.blog-article-body,
.blog-detail-aside {
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-panel);
}

.blog-article-body {
  padding: clamp(24px, 4vw, 42px);
}

.blog-article-section + .blog-article-section {
  margin-top: 34px;
}

.blog-article-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.blog-article-section p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.82;
}

.blog-article-section p + p {
  margin-top: 16px;
}

.blog-detail-aside {
  position: sticky;
  top: 154px;
  display: grid;
  gap: 16px;
  padding: 22px;
}

.blog-detail-aside strong {
  font-size: 1.45rem;
}

.blog-detail-meta.is-stacked {
  display: grid;
}

.blog-related-section {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.used-sites-filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.used-sites-filter-field {
  display: grid;
  gap: 8px;
}

.used-sites-filter-field span {
  color: var(--color-muted-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.used-sites-filter-field input,
.used-sites-filter-field select {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid rgba(23, 51, 47, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-ink);
  font: inherit;
  outline: none;
  padding: 0 14px;
}

.used-sites-filter-field input:focus,
.used-sites-filter-field select:focus {
  border-color: rgba(23, 51, 47, 0.32);
  box-shadow: 0 0 0 4px rgba(23, 51, 47, 0.08);
}

.used-sites-home-form {
  margin-bottom: 2px;
}

.used-sites-reset-button {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.08);
  color: var(--color-accent);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.used-sites-search-submit {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-2) 100%
  );
  color: var(--color-cream);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(23, 51, 47, 0.16);
}

.used-sites-search-submit:hover {
  filter: saturate(1.05);
}

.used-sites-directory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--color-muted);
  font-weight: 800;
}

.used-sites-home-meta {
  margin-top: 2px;
}

.used-sites-shell {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.92),
    rgba(255, 255, 255, 0.82)
  );
  box-shadow: var(--shadow-panel);
}

.used-sites-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.used-site-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 220px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(22, 33, 31, 0.1);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.used-site-card[hidden],
.used-sites-empty-panel[hidden] {
  display: none;
}

.used-site-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.used-site-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 54px;
  padding: 0 10px;
  border-radius: 18px;
  background: var(--color-accent);
  color: var(--color-cream);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.used-site-copy {
  display: grid;
  gap: 6px;
}

.used-site-copy strong {
  font-size: 1.15rem;
  line-height: 1.35;
}

.used-site-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.used-site-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.used-site-copy span,
.used-site-meta span {
  color: var(--color-muted);
  line-height: 1.6;
}

.used-site-meta {
  display: grid;
  gap: 8px;
}

.used-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--color-accent);
  color: var(--color-cream);
  font-weight: 700;
}

.used-site-link-muted {
  background: rgba(23, 51, 47, 0.08);
  color: #66716b;
}

.countries-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px 72px;
}

.countries-shell {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.92),
    rgba(255, 255, 255, 0.82)
  );
  box-shadow: var(--shadow-panel);
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(22, 33, 31, 0.1);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(23, 51, 47, 0.06);
  font-size: 1.4rem;
  flex: 0 0 48px;
}

.country-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.country-copy strong {
  font-size: 1rem;
  line-height: 1.35;
}

.country-copy span {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.search-shell {
  display: grid;
  gap: 24px;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.search-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.92),
    rgba(255, 255, 255, 0.82)
  );
  box-shadow: var(--shadow-panel);
}

.search-card-primary {
  min-height: 280px;
}

.search-card-label {
  color: var(--color-warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.search-request,
.search-photo-state,
.search-photo-copy {
  display: grid;
  gap: 10px;
}

.search-request strong,
.search-photo-copy strong {
  font-size: 1.25rem;
}

.search-request p,
.search-photo-state p,
.search-photo-copy p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.search-photo-preview {
  display: grid;
  gap: 16px;
}

.search-photo-preview img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(23, 51, 47, 0.08);
}

.login-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.login-shell {
  display: grid;
  place-items: center;
}

.login-card {
  width: min(100%, 560px);
  display: grid;
  gap: 24px;
  padding: 30px;
  border-radius: 32px;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.92),
    rgba(255, 255, 255, 0.82)
  );
  box-shadow: var(--shadow-panel);
}

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

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

.login-field span,
.login-check span {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.login-field input {
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(23, 51, 47, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-ink);
  font-size: 0.96rem;
  outline: none;
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.login-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.login-link {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

.login-submit {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-2) 100%
  );
  color: var(--color-cream);
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(23, 51, 47, 0.14);
}

.login-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.login-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.06);
  border: 1px solid rgba(23, 51, 47, 0.08);
  color: var(--color-accent);
  font-size: 0.86rem;
  font-weight: 600;
}

.brand-detail-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.brand-detail-shell {
  display: grid;
  gap: 22px;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 51, 47, 0.08);
  box-shadow: 0 12px 28px rgba(73, 60, 35, 0.06);
}

.brand-detail-hero,
.brand-detail-card {
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.92),
    rgba(255, 255, 255, 0.82)
  );
  box-shadow: var(--shadow-panel);
}

.brand-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
}

.brand-detail-logo-wrap {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  flex: 0 0 120px;
  border-radius: 30px;
  background: rgba(23, 51, 47, 0.06);
}

.brand-detail-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.brand-detail-logo-fallback {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--color-accent);
  color: var(--color-cream);
  font-size: 2rem;
  font-weight: 700;
}

.brand-detail-copy {
  display: grid;
  gap: 12px;
}

.detail-kicker,
.detail-card-label {
  color: var(--color-warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-detail-copy h1 {
  margin: 0;
}

.brand-detail-description,
.brand-detail-body,
.model-detail-specs {
  color: var(--color-muted);
  line-height: 1.75;
}

.brand-detail-description > :first-child,
.brand-detail-body > :first-child,
.model-detail-specs > :first-child {
  margin-top: 0;
}

.brand-detail-description > :last-child,
.brand-detail-body > :last-child,
.model-detail-specs > :last-child {
  margin-bottom: 0;
}

.brand-detail-description p,
.brand-detail-body p,
.model-detail-specs p {
  margin: 0 0 1em;
}

.brand-detail-description b,
.brand-detail-description strong,
.brand-detail-body b,
.brand-detail-body strong,
.model-detail-specs b,
.model-detail-specs strong {
  color: var(--color-ink);
}

.brand-detail-description a,
.brand-detail-body a,
.model-detail-specs a {
  color: var(--color-accent);
}

.brand-detail-description ul,
.brand-detail-description ol,
.brand-detail-body ul,
.brand-detail-body ol,
.model-detail-specs ul,
.model-detail-specs ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.brand-detail-actions,
.brand-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-primary-link,
.detail-muted-pill,
.brand-detail-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.detail-primary-link {
  background: var(--color-accent);
  color: var(--color-cream);
}

.detail-muted-pill,
.brand-detail-tag {
  background: rgba(23, 51, 47, 0.06);
  border: 1px solid rgba(23, 51, 47, 0.08);
  color: var(--color-accent);
}

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

.brand-detail-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

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

.brand-detail-meta-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(23, 51, 47, 0.04);
  border: 1px solid rgba(23, 51, 47, 0.06);
}

.brand-detail-meta-item span {
  color: var(--color-muted-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-detail-meta-item strong {
  font-size: 1.05rem;
  line-height: 1.4;
}

.brand-models-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.brand-model-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(23, 51, 47, 0.04);
  border: 1px solid rgba(23, 51, 47, 0.06);
}

.brand-model-card-link {
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.brand-model-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(23, 51, 47, 0.08);
  border-color: rgba(23, 51, 47, 0.12);
}

.brand-model-media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.85),
      transparent 50%
    ),
    linear-gradient(135deg, rgba(23, 51, 47, 0.12), rgba(192, 137, 56, 0.12));
}

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

.brand-model-photo-fallback {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--color-accent);
  color: var(--color-cream);
  font-size: 1.8rem;
  font-weight: 700;
}

.brand-model-gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 24, 22, 0.72);
  color: var(--color-cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.brand-model-content {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.brand-model-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.brand-model-gallery-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(23, 51, 47, 0.08);
  background: rgba(23, 51, 47, 0.04);
}

.brand-model-card strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

.brand-model-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-model-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.06);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-model-cta {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-detail-page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.model-detail-shell {
  display: grid;
  gap: 22px;
}

.model-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.model-detail-visual,
.model-detail-copy {
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    145deg,
    rgba(255, 250, 241, 0.92),
    rgba(255, 255, 255, 0.82)
  );
  box-shadow: var(--shadow-panel);
}

.model-detail-visual {
  overflow: hidden;
  min-height: 320px;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.85),
      transparent 48%
    ),
    linear-gradient(145deg, rgba(23, 51, 47, 0.1), rgba(192, 137, 56, 0.12));
}

.model-detail-photo-button {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.model-detail-photo-source {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 244, 231, 0.22);
  border-radius: 999px;
  background: rgba(23, 51, 47, 0.82);
  color: var(--color-cream);
  font-size: 0.82rem;
  font-weight: 800;
}

.model-detail-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.model-detail-photo-fallback {
  min-height: 320px;
  display: grid;
  place-items: center;
}

.model-detail-photo-fallback span {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: var(--color-accent);
  color: var(--color-cream);
  font-size: 2.6rem;
  font-weight: 700;
}

.model-detail-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
}

.model-detail-copy h1 {
  margin: 0;
}

.model-detail-summary {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.model-detail-specs {
  color: var(--color-muted);
  line-height: 1.8;
}

.model-detail-specs h2 {
  margin: 0 0 0.75em;
  color: var(--color-ink);
  font-size: 1.35rem;
  line-height: 1.3;
}

.model-detail-specs h3 {
  margin: 0 0 0.75em;
  color: var(--color-ink);
  font-size: 1.12rem;
  line-height: 1.35;
}

.model-detail-specs blockquote {
  margin: 0 0 1em;
  padding-left: 1rem;
  border-left: 3px solid rgba(23, 51, 47, 0.2);
  color: var(--color-muted-2);
}

.model-detail-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(23, 51, 47, 0.04);
  border: 1px solid rgba(23, 51, 47, 0.06);
}

.model-detail-brand-link {
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.model-detail-brand-link:hover,
.model-detail-brand-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(23, 51, 47, 0.07);
  border-color: rgba(23, 51, 47, 0.12);
}

.model-detail-brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.model-detail-brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.model-detail-brand-fallback {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-accent);
  color: var(--color-cream);
  font-weight: 700;
}

.model-detail-brand-copy {
  display: grid;
  gap: 4px;
}

.model-detail-brand-copy strong {
  font-size: 1rem;
  line-height: 1.3;
}

.model-detail-brand-copy span {
  color: var(--color-muted);
}

.model-detail-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.model-detail-field {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(23, 51, 47, 0.04);
  border: 1px solid rgba(23, 51, 47, 0.06);
}

.model-detail-field span {
  color: var(--color-muted-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.model-detail-field strong {
  font-size: 1.02rem;
  line-height: 1.45;
}

.model-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.model-gallery-heading {
  display: grid;
  gap: 6px;
}

.model-gallery-note {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.model-gallery-card {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(23, 51, 47, 0.08);
  background: rgba(23, 51, 47, 0.03);
  cursor: zoom-in;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.model-gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(23, 51, 47, 0.08);
  border-color: rgba(23, 51, 47, 0.12);
}

.model-gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.model-gallery-lightbox {
  width: min(1200px, calc(100vw - 28px));
  max-width: 100%;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-cream);
}

.model-gallery-lightbox::backdrop {
  background: rgba(10, 18, 17, 0.84);
  backdrop-filter: blur(10px);
}

.model-gallery-lightbox-shell {
  position: relative;
  display: grid;
  gap: 18px;
}

.model-gallery-lightbox-close {
  justify-self: end;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-cream);
  font-weight: 700;
  cursor: pointer;
}

.model-gallery-lightbox-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.model-gallery-lightbox-nav {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-cream);
  font-size: 1.4rem;
  cursor: pointer;
}

.model-gallery-lightbox-figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.model-gallery-lightbox-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.model-gallery-lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 250, 241, 0.88);
  font-size: 0.95rem;
}

@media (max-width: 1200px) {
  .site-header .header-highlights {
    display: none;
  }
}

@media (max-width: 1100px) {
  .site-header .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header .desktop-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 960px) {
  .site-header {
    padding: 14px 14px 0;
  }

  .site-header .utility-row {
    padding: 8px 10px 10px;
  }

  .site-header .utility-meta {
    display: block;
    width: 100%;
    flex: 0 1 auto;
  }

  .site-header .utility-feed,
  .site-header .utility-actions,
  .site-header .desktop-nav,
  .site-header .header-cta {
    display: none;
  }

  .site-header .utility-search {
    display: none;
  }

  .site-header .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 14px 10px 10px;
  }

  .site-header .mobile-menu {
    display: block;
  }

  .site-header .mobile-menu[open] .menu-toggle,
  .site-header .menu-toggle:hover {
    transform: none;
  }

  .site-header .mobile-panel {
    right: 10px;
    left: auto;
    top: calc(100% + 10px);
  }

  .site-header .header-shape-orbit {
    top: 12px;
    right: 88px;
    width: 106px;
    height: 48px;
  }

  .site-header .header-shape-accent {
    width: 78px;
    height: 24px;
  }

  html[data-header-shape='car'] .site-header .header-shape-accent {
    width: 98px;
    height: 38px;
  }

  .site-header .header-actions {
    justify-content: flex-end;
  }

  .site-footer .footer-inner {
    justify-items: start;
    padding: 22px;
  }

  .site-footer .footer-top,
  .site-footer .footer-content {
    grid-template-columns: 1fr;
  }

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

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

  .used-sites-directory-hero,
  .used-sites-filter-panel {
    grid-template-columns: 1fr;
  }

  .blog-hero,
  .blog-detail-hero,
  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-detail-aside {
    position: static;
  }

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

  .used-sites-directory-meta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .search-layout {
    grid-template-columns: 1fr;
  }

  .login-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-topbar {
    align-items: start;
    flex-direction: column;
  }

  .section-actions {
    justify-content: flex-start;
  }

  .info-hero,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-summary {
    position: static;
  }

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

  .info-card-wide {
    grid-column: span 2;
  }

  .brands-directory-hero,
  .brands-filter-panel {
    grid-template-columns: 1fr;
  }

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

  .brand-detail-grid {
    grid-template-columns: 1fr;
  }

  .model-detail-hero {
    grid-template-columns: 1fr;
  }

  .model-detail-visual,
  .model-detail-photo,
  .model-detail-photo-fallback {
    min-height: 280px;
  }

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

  .model-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .model-gallery-lightbox-stage {
    grid-template-columns: 1fr;
  }

  .model-gallery-lightbox-nav {
    width: 100%;
    height: 46px;
  }

  .brand-track {
    grid-auto-columns: minmax(240px, 280px);
  }
}

@media (max-width: 640px) {
  .site-header .utility-row {
    align-items: flex-start;
  }

  .site-header .brand {
    grid-template-columns: minmax(0, 112px);
    gap: 2px;
  }

  .site-header .brand-mark {
    width: 112px;
    height: 46px;
    flex-basis: 112px;
    border-radius: 0;
  }

  .site-header .brand-logo {
    width: 112px;
    height: 46px;
  }

  .site-header .brand-copy strong {
    font-size: 0.68rem;
  }

  .site-header .brand-copy small {
    font-size: 0.56rem;
    white-space: nowrap;
  }

  .site-header .header-shape-orbit {
    right: 70px;
    width: 88px;
    height: 42px;
  }

  .site-header .header-shape-accent {
    width: 68px;
    height: 22px;
  }

  html[data-header-shape='car'] .site-header .header-shape-accent {
    width: 82px;
    height: 32px;
  }

  .site-header .mobile-panel {
    right: 0;
    width: min(320px, calc(100vw - 28px));
  }

  .site-header .mobile-search .search-input-row {
    width: 100%;
  }

  .site-header .mobile-secondary-links {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 0 14px 18px;
  }

  .site-footer .footer-inner {
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
  }

  .site-footer .footer-mark {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 18px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    min-width: 54px;
    min-height: 42px;
    padding: 0 14px;
  }

  .site-footer .footer-brand {
    flex-direction: column;
  }

  .site-footer .footer-feature-link {
    min-height: 130px;
  }

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

  .category-section,
  .api-section,
  .used-sites-section,
  .blog-page,
  .blog-detail-page,
  .blog-home-section,
  .countries-section,
  .search-page,
  .login-page,
  .info-page,
  .brand-detail-page,
  .brands-directory-page {
    padding: 28px 14px 48px;
  }

  .slider-shell,
  .brand-slider-shell {
    padding: 18px;
    border-radius: 24px;
  }

  .slider-meta,
  .slider-controls,
  .brand-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-detail-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .brands-directory-hero,
  .info-hero,
  .blog-hero,
  .blog-detail-hero,
  .blog-article-body,
  .blog-detail-aside,
  .blog-filter-row,
  .policy-panel,
  .policy-summary,
  .brands-filter-panel,
  .brands-letter-filter,
  .brands-directory-card,
  .brands-pagination {
    border-radius: 22px;
  }

  .info-hero,
  .policy-panel,
  .policy-summary {
    padding: 22px;
  }

  .info-stat-panel,
  .info-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-detail-media,
  .blog-detail-media img {
    min-height: 260px;
  }

  .blog-card-body {
    padding: 18px;
  }

  .info-card-wide {
    grid-column: auto;
  }

  .brands-mobile-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-cream);
    box-shadow: var(--shadow-panel);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
  }

  .brands-mobile-filter-toggle strong {
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 244, 231, 0.72);
    font-family:
      Avenir Next,
      Avenir,
      Trebuchet MS,
      sans-serif;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brands-mobile-filter-toggle::after {
    content: '+';
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    flex: 0 0 30px;
    border-radius: 999px;
    background: rgba(255, 244, 231, 0.12);
    color: var(--color-cream);
  }

  .brands-directory-page.is-mobile-filter-open
    .brands-mobile-filter-toggle::after {
    content: '-';
  }

  .brands-mobile-filter-toggle.has-active-filters {
    background: linear-gradient(135deg, var(--color-accent), var(--color-warm));
  }

  .brands-filter-drawer {
    display: none;
    gap: 12px;
  }

  .brands-directory-page.is-mobile-filter-open .brands-filter-drawer {
    display: grid;
  }

  .brands-directory-hero {
    padding: 22px;
  }

  .brands-directory-stats,
  .brands-directory-grid {
    grid-template-columns: 1fr;
  }

  .brands-directory-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .brands-letter-filter {
    max-height: 116px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .brand-detail-logo-wrap {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
    border-radius: 24px;
  }

  .brand-detail-logo,
  .brand-detail-logo-fallback {
    width: 60px;
    height: 60px;
  }

  .brand-detail-card {
    padding: 20px;
  }

  .brand-detail-meta-grid {
    grid-template-columns: 1fr;
  }

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

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

  .used-sites-grid {
    grid-template-columns: 1fr;
  }

  .used-sites-directory-page {
    padding: 28px 14px 48px;
  }

  .used-sites-directory-hero,
  .used-sites-filter-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .used-sites-directory-stats {
    grid-template-columns: 1fr;
  }

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

  .login-card {
    padding: 22px;
    border-radius: 26px;
  }

  .model-detail-copy,
  .brand-detail-card {
    padding: 22px;
  }

  .model-detail-fields {
    grid-template-columns: 1fr;
  }

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

  .model-gallery-lightbox {
    width: calc(100vw - 18px);
  }

  .model-gallery-lightbox-shell {
    gap: 12px;
  }

  .model-gallery-lightbox-close {
    width: 100%;
    justify-self: stretch;
  }

  .model-gallery-lightbox-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-models-grid {
    grid-template-columns: 1fr;
  }

  .brand-track {
    grid-auto-columns: minmax(250px, 84vw);
  }
}

@media (max-width: 1180px) {
  .models-filter-panel {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .models-reset-button {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .models-directory-hero,
  .models-filter-panel {
    grid-template-columns: 1fr;
  }

  .models-filter-field-wide {
    grid-column: auto;
  }

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

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

@media (max-width: 640px) {
  .latest-cars-section {
    padding: 24px 14px 44px;
  }

  .latest-cars-grid {
    grid-template-columns: 1fr;
  }

  .models-directory-page {
    padding: 28px 14px 48px;
  }

  .models-directory-hero,
  .models-filter-panel,
  .model-directory-card,
  .latest-car-card,
  .models-pagination {
    border-radius: 22px;
  }

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

  .info-card-wide {
    grid-column: span 1;
  }

  .models-mobile-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-cream);
    box-shadow: var(--shadow-panel);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
  }

  .models-mobile-filter-toggle strong {
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 244, 231, 0.72);
    font-family:
      Avenir Next,
      Avenir,
      Trebuchet MS,
      sans-serif;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .models-mobile-filter-toggle::after {
    content: '+';
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    flex: 0 0 30px;
    border-radius: 999px;
    background: rgba(255, 244, 231, 0.12);
    color: var(--color-cream);
  }

  .models-directory-page.is-mobile-filter-open
    .models-mobile-filter-toggle::after {
    content: '-';
  }

  .models-mobile-filter-toggle.has-active-filters {
    background: linear-gradient(135deg, var(--color-accent), var(--color-warm));
  }

  .models-filter-drawer {
    display: none;
  }

  .models-directory-page.is-mobile-filter-open .models-filter-drawer {
    display: grid;
  }

  .models-directory-hero {
    padding: 22px;
  }

  .models-directory-stats,
  .models-directory-grid {
    grid-template-columns: 1fr;
  }

  .models-directory-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .model-directory-title-row {
    flex-direction: column;
  }
}

.not-found-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 96px;
}

.not-found-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.not-found-copy,
.not-found-panel,
.not-found-link-card {
  border: 1px solid var(--color-border);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 247, 235, 0.7)
    ),
    var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.not-found-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 32px;
}

.not-found-copy h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-family:
    Georgia,
    Times New Roman,
    serif;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.88;
}

.not-found-copy .section-text {
  max-width: 640px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.not-found-primary-link,
.not-found-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.not-found-primary-link {
  background: var(--color-accent);
  color: var(--color-cream);
  box-shadow: 0 18px 34px rgba(23, 51, 47, 0.18);
}

.not-found-secondary-link {
  border: 1px solid rgba(23, 51, 47, 0.14);
  background: rgba(255, 255, 255, 0.68);
  color: var(--color-accent);
}

.not-found-panel {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border-radius: 32px;
  color: var(--color-cream);
  background:
    linear-gradient(145deg, rgba(23, 51, 47, 0.92), rgba(39, 72, 64, 0.86)),
    url('/images/sil.jpg') center / cover;
}

.not-found-panel::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 244, 231, 0.16);
  border-radius: 24px;
}

.not-found-code {
  position: relative;
  z-index: 1;
  font-family:
    Georgia,
    Times New Roman,
    serif;
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 900;
  line-height: 0.8;
  text-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.not-found-road {
  position: absolute;
  right: -30px;
  bottom: 58px;
  left: -30px;
  display: grid;
  grid-template-columns: 1fr 78px 1fr;
  gap: 20px;
  align-items: center;
  transform: rotate(-7deg);
}

.not-found-road span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 244, 231, 0.72);
  box-shadow: 0 0 26px rgba(255, 244, 231, 0.18);
}

.not-found-road span:nth-child(2) {
  height: 12px;
  background: var(--color-warm);
}

.not-found-marker {
  position: absolute;
  top: 30px;
  right: 30px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 244, 231, 0.18);
  border-radius: 999px;
  background: rgba(255, 244, 231, 0.1);
  color: rgba(255, 244, 231, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.not-found-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.not-found-link-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  border-radius: 24px;
  color: var(--color-ink);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.not-found-link-card:hover {
  border-color: rgba(139, 94, 52, 0.24);
  box-shadow: 0 24px 54px rgba(73, 60, 35, 0.12);
  transform: translateY(-2px);
}

.not-found-link-card strong {
  font-size: 1.05rem;
}

.not-found-link-card span {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .not-found-shell,
  .not-found-links {
    grid-template-columns: 1fr;
  }

  .not-found-copy,
  .not-found-panel {
    min-height: auto;
  }

  .not-found-panel {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .not-found-page {
    width: min(100% - 28px, 1180px);
    padding: 42px 0 64px;
  }

  .not-found-copy,
  .not-found-panel,
  .not-found-link-card {
    border-radius: 22px;
  }

  .not-found-copy {
    padding: 24px;
  }

  .not-found-actions {
    display: grid;
  }

  .not-found-primary-link,
  .not-found-secondary-link {
    width: 100%;
    padding: 0 16px;
  }

  .not-found-marker {
    right: 18px;
    left: 18px;
    text-align: center;
  }
}
