:root {
  --bg: #f8f7f4;
  --bg-soft: #f0eee9;
  --bg-panel: #ffffff;
  --bg-panel-2: #f6f4ef;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-light: #ffffff;
  --line: rgba(17, 20, 26, 0.08);
  --line-strong: rgba(17, 20, 26, 0.16);
  --text: #171a20;
  --text-strong: #0b0d11;
  --muted: rgba(23, 26, 32, 0.7);
  --muted-deep: rgba(23, 26, 32, 0.46);
  --ink: #101318;
  --ink-muted: #59606b;
  --accent: #b99252;
  --accent-soft: rgba(185, 146, 82, 0.12);
  --accent-line: rgba(185, 146, 82, 0.5);
  --success: #2f9f69;
  --danger: #cf5757;
  --shadow: 0 22px 60px rgba(25, 29, 36, 0.09);
  --shadow-soft: 0 18px 44px rgba(25, 29, 36, 0.07);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(185, 146, 82, 0.1), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(200, 210, 218, 0.42), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8f7f4 38%, #f2efe8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17, 20, 26, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(17, 20, 26, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 82%);
  opacity: 0.24;
}

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

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

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

textarea,
input {
  width: 100%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 20, 26, 0.08);
  border-radius: 0;
  padding: 1rem 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

textarea {
  min-height: 120px;
  padding-top: 1rem;
}

textarea:focus,
input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--accent-line);
}

label span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-deep);
}

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 20, 26, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.brand small {
  color: var(--muted-deep);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(17, 20, 26, 0.12);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(230, 230, 230, 0.55));
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.48);
  overflow: hidden;
  flex: 0 0 48px;
}

.brand-mark img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text-strong);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0));
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(17, 20, 26, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 0.9rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  padding: 0;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 249, 246, 0.9) 43%, rgba(250, 249, 246, 0.36) 70%, rgba(248, 247, 244, 0.86) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(248, 247, 244, 0.42)),
    url("https://images.unsplash.com/photo-1619767886558-efdc259cde1a?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(247, 244, 239, 0), var(--bg));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 6.5rem 0 5.4rem;
}

.hero-copy h1,
.page-hero h1,
.section-head h2,
.cta-band h2,
.detail-summary h1,
.article-detail h1,
.admin-toolbar h2,
.panel-heading h2,
.panel-heading h3,
.trust-strip h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 6.2vw, 6.6rem);
  line-height: 0.92;
  max-width: 11.8ch;
  text-wrap: balance;
}

.lead {
  max-width: 56ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.hero-actions,
.cta-stack,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 26, 0.12);
  border-radius: 999px;
  padding: 0.98rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0);
  background: linear-gradient(135deg, #f3ede2, #c8a66a);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
}

.button-danger {
  color: #fff;
  background: rgba(183, 68, 68, 0.84);
  border-color: rgba(183, 68, 68, 0.9);
}

.button-block {
  width: 100%;
}

.text-link {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="home"] .hero {
  isolation: isolate;
}

body[data-page="home"] .hero::before {
  filter: saturate(0.78) contrast(1.04);
}

body[data-page="home"] .hero-copy {
  position: relative;
  animation: homeReveal 0.8s ease both;
}

body[data-page="home"] .hero-copy::after {
  content: "";
  position: absolute;
  left: -2rem;
  top: -2.2rem;
  z-index: -1;
  width: min(620px, 100vw);
  height: 115%;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0));
  filter: blur(2px);
}

body[data-page="home"] .hero-copy .lead {
  max-width: 64ch;
}

.hero-proof-bar {
  margin: 2.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(17, 20, 26, 0.1);
  border-bottom: 1px solid rgba(17, 20, 26, 0.1);
}

.hero-proof-bar span {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 1.1rem 1rem 1.1rem 0;
  border-right: 1px solid rgba(17, 20, 26, 0.1);
  color: rgba(23, 26, 32, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-proof-bar span:last-child {
  border-right: 0;
}

.hero-route-note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 520px;
  margin-top: 1.25rem;
  color: rgba(23, 26, 32, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-route-note i {
  flex: 1;
  height: 1px;
  background:
    linear-gradient(90deg, rgba(185, 146, 82, 0.22), rgba(185, 146, 82, 0.88), rgba(17, 20, 26, 0.1));
}

.hero-stats span,
.meta-row span,
.admin-card p,
.card-meta,
.article-meta,
.search-summary,
.feedback,
.admin-note {
  color: var(--muted);
}

.glass-panel,
.vehicle-card,
.article-card,
.detail-summary,
.detail-gallery,
.article-detail,
.admin-auth,
.admin-toolbar,
.admin-form,
.admin-list,
.filter-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 242, 236, 0.88)),
    rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glass-panel,
.detail-summary,
.detail-gallery,
.article-detail,
.admin-auth,
.admin-toolbar,
.admin-form,
.admin-list,
.filter-bar {
  border-radius: var(--radius-xl);
}

.hero-panel,
.admin-auth,
.admin-form,
.admin-list,
.article-detail,
.detail-summary,
.detail-gallery {
  padding: 1.8rem;
}

.hero-panel {
  position: relative;
}

.hero-stage {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 1.45rem;
  animation: homeReveal 0.9s ease 0.12s both;
}

.hero-stage-card {
  position: relative;
  height: clamp(400px, 44vh, 500px);
  overflow: hidden;
  border-radius: 38px;
  box-shadow: 0 34px 90px rgba(17, 20, 26, 0.16);
}

.hero-stage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(13, 16, 21, 0.66)),
    url("https://images.unsplash.com/photo-1593941707882-a5bba14938c7?auto=format&fit=crop&w=1600&q=82") center/cover;
}

.hero-stage-card::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  pointer-events: none;
}

.hero-stage-copy {
  position: absolute;
  inset: 7.2rem 2.2rem 2rem 2.2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-stage-badges {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-stage-badges span {
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stage-meter {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  min-width: 168px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(16px);
}

.hero-stage-meter span,
.hero-stage-meter strong {
  display: block;
}

.hero-stage-meter span {
  margin-bottom: 0.32rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-stage-meter strong {
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
  line-height: 1;
}

.hero-stage-copy h2 {
  margin: 0 0 0.8rem;
  max-width: 12.8ch;
  font-size: clamp(2.05rem, 2.35vw, 3rem);
  line-height: 1.04;
  color: #fff;
}

.hero-stage-copy p {
  max-width: 27ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.hero-panel::before {
  content: "Vehicle Finder";
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  color: var(--muted-deep);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.panel-heading p {
  color: var(--muted);
}

.section {
  position: relative;
  padding: 3.2rem 0 5.6rem;
}

.section-head,
.list-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.section-head h2,
.trust-strip h2,
.page-hero h1,
.article-detail h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.98;
}

.section-intro {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.supply-section {
  padding-top: 4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(246, 242, 236, 0.56) 52%, rgba(255, 255, 255, 0));
}

.supply-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.supply-head-copy {
  max-width: 920px;
}

.supply-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: stretch;
}

.supply-lede {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 420px;
  padding: 2rem;
  border-radius: 24px;
  background:
    linear-gradient(140deg, rgba(25, 29, 36, 0.94), rgba(49, 52, 55, 0.86)),
    radial-gradient(circle at 10% 10%, rgba(185, 146, 82, 0.22), transparent 34%);
  color: #fff;
}

.supply-lede::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -8rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.supply-lede .eyebrow {
  color: rgba(238, 213, 171, 0.92);
}

.supply-lede h3 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin: 2rem 0 1.1rem;
  font-size: clamp(1.9rem, 2.65vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.supply-lede p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.supply-source-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.4rem;
}

.supply-source-row span {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 0.55rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
}

.supply-source-row img {
  display: block;
  width: 100%;
  max-width: 128px;
  max-height: 38px;
  object-fit: contain;
}

.brand-wordmark {
  color: #111820;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.supply-matrix {
  display: grid;
  gap: 0.75rem;
}

.supply-card {
  display: grid;
  grid-template-columns: 8rem minmax(12rem, 0.7fr) minmax(18rem, 1fr);
  gap: 1.2rem;
  align-items: center;
  min-height: 132px;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.supply-card:hover {
  transform: translateX(4px);
  border-color: rgba(185, 146, 82, 0.3);
  background: #fff;
}

.supply-code {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(185, 146, 82, 0.94);
  font-family: var(--display-font);
  font-size: 2.1rem;
  line-height: 1;
}

.supply-kicker {
  margin: 0;
  color: var(--muted-deep);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.supply-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.supply-card p {
  margin: 0;
  color: rgba(23, 26, 32, 0.72);
  line-height: 1.65;
}

.supply-card ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.supply-card li {
  color: var(--muted-deep);
  font-size: 0.88rem;
}

.supply-card li::before {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: rgba(185, 146, 82, 0.75);
  vertical-align: 0.08em;
}

.market-visit-section {
  padding-top: 1rem;
}

.market-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.market-visit-media {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  margin: 0;
  border-radius: 30px;
  background: #ece7df;
  box-shadow: var(--shadow-soft);
}

.market-visit-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  object-fit: cover;
}

.market-visit-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 18, 24, 0), rgba(15, 18, 24, 0.34)),
    linear-gradient(90deg, rgba(15, 18, 24, 0.2), transparent 48%);
  pointer-events: none;
}

.market-visit-media figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(17, 20, 26, 0.36);
  color: #fff;
  backdrop-filter: blur(14px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-visit-copy {
  display: grid;
  align-content: center;
  gap: 1.3rem;
}

.market-visit-copy h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: var(--text-strong);
}

.market-visit-points {
  display: grid;
  gap: 0.75rem;
  margin: 0.4rem 0 0.2rem;
}

.market-visit-points article {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.market-visit-points strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-strong);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-visit-points span {
  color: var(--muted);
  line-height: 1.65;
}

.section-head p,
.cta-band p,
.trust-strip p,
.article-card p {
  line-height: 1.8;
}

.section-alt {
  padding-top: 0.5rem;
}

.marquee-section {
  padding-top: 0;
}

body[data-page="home"] .marquee-section::before,
body[data-page="home"] .editorial-section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(980px, 92vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 146, 82, 0.34), transparent);
  transform: translateX(-50%);
}

.marquee-shell {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: center;
}

.marquee-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.featured-marquee {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.1rem;
}

.marquee-hero-card,
.editorial-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 26, 0.08);
  min-height: 520px;
  background: #f2ede6;
  box-shadow: var(--shadow-soft);
}

.marquee-hero-card {
  border-radius: 34px 10px 34px 10px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.marquee-hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 90px rgba(17, 20, 26, 0.16);
}

.marquee-hero-card img,
.editorial-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marquee-hero-card::before,
.editorial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(17, 20, 26, 0.72)),
    linear-gradient(90deg, rgba(17, 20, 26, 0.46), transparent 62%);
}

.marquee-hero-copy,
.editorial-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 1rem;
  height: 100%;
  padding: 2rem;
}

.marquee-hero-copy h3,
.editorial-card-copy h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.96;
  color: #fff;
}

.marquee-hero-copy p,
.editorial-card-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.editorial-assurance-card {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  min-height: 560px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 232, 0.98));
}

.editorial-assurance-card::before {
  display: none;
}

.editorial-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #ddd6ca;
}

.editorial-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.editorial-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(17, 20, 26, 0.16));
}

.editorial-visual-badge {
  position: absolute;
  left: 1.3rem;
  bottom: 1.3rem;
  z-index: 1;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-assurance-copy {
  justify-content: center;
  gap: 1.25rem;
  color: var(--text);
}

.article-meta-light span {
  border-color: rgba(17, 20, 26, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.editorial-assurance-copy h3 {
  color: var(--text-strong);
  font-size: clamp(2rem, 2.8vw, 3.1rem);
  line-height: 1.02;
}

.editorial-assurance-copy p {
  color: rgba(23, 26, 32, 0.74);
  line-height: 1.9;
}

.assurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.assurance-item {
  padding: 1rem 0;
  border-top: 1px solid rgba(17, 20, 26, 0.08);
}

.assurance-item strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-strong);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.assurance-item span {
  color: rgba(23, 26, 32, 0.68);
  line-height: 1.75;
}

.editorial-process-card {
  min-height: auto;
  padding: 2.2rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at 0% 0%, rgba(185, 146, 82, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 240, 0.98));
}

.editorial-process-card::before {
  display: none;
}

.process-head {
  margin-bottom: 1.5rem;
}

.process-head h3 {
  margin: 0.8rem 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.04;
  color: var(--text-strong);
}

.process-head p {
  margin: 0;
  color: rgba(23, 26, 32, 0.72);
  line-height: 1.84;
}

.inspection-flow {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 1.4rem;
  border-top: 0;
}

.inspection-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.inspection-step:hover {
  transform: translateX(5px);
  border-color: rgba(185, 146, 82, 0.3);
}

.step-no {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(185, 146, 82, 0.08);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.inspection-step strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-strong);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inspection-step p {
  margin: 0;
  color: rgba(23, 26, 32, 0.7);
  line-height: 1.8;
}

.assurance-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.assurance-grid-compact .assurance-item {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.assurance-grid-compact .step-no {
  margin-bottom: 0.2rem;
}

body[data-page="contact"] .article-detail .assurance-grid-compact {
  grid-template-columns: 1fr;
}

body[data-page="contact"] .article-detail .assurance-item {
  min-width: 0;
}

body[data-page="contact"] .article-detail .assurance-item a,
body[data-page="contact"] .article-detail .assurance-item span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.marquee-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.marquee-specs span {
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.marquee-side-list {
  display: grid;
  gap: 1rem;
}

.marquee-side-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1rem;
  min-height: 254px;
  padding: 1rem;
  border: 1px solid rgba(17, 20, 26, 0.07);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 241, 0.94)),
    radial-gradient(circle at top right, rgba(185, 146, 82, 0.1), transparent 42%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.marquee-side-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 146, 82, 0.28);
}

.marquee-side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #ece7df;
}

.marquee-side-card p {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.marquee-side-card span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.7;
}

.trust-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2.6rem;
  border: 1px solid rgba(17, 20, 26, 0.07);
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 15%, rgba(185, 146, 82, 0.12), transparent 24%),
    linear-gradient(180deg, #fbf9f5, #f2ede6);
  box-shadow: var(--shadow-soft);
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-points article {
  min-height: 220px;
  padding: 1.4rem 1.2rem;
  border-left: 1px solid rgba(17, 20, 26, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent);
}

.trust-points article:hover {
  background: rgba(255, 255, 255, 0.62);
}

.trust-points h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-form .field-grid,
.field-grid {
  display: grid;
  gap: 1rem 1.2rem;
}

.search-form .field-grid,
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-form label,
.admin-form label {
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(17, 20, 26, 0.08);
}

.search-form input,
.search-form select,
.admin-form input,
.admin-form select,
.admin-form textarea {
  padding-left: 0;
  padding-right: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem 1.5rem;
}

.filter-bar .button {
  min-height: 3rem;
}

.filter-bar input,
.filter-bar select {
  padding-left: 0;
  padding-right: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.card-grid,
.article-grid {
  display: grid;
  gap: 1.4rem;
  align-items: stretch;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
}

.showcase-list {
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.showcase-list .vehicle-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 420px;
}

.showcase-list .card-media,
.showcase-list .card-image {
  height: 100%;
}

.showcase-list .card-image {
  aspect-ratio: auto;
}

.showcase-list .vehicle-card:nth-child(even) .card-media {
  order: 2;
}

.showcase-list .vehicle-card:nth-child(even) .card-body {
  order: 1;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
}

.vehicle-card,
.article-card {
  overflow: hidden;
  border-radius: 0;
  transition: transform 0.28s ease, border-color 0.28s ease;
  width: 100%;
  max-width: 100%;
}

.vehicle-card:hover,
.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 146, 82, 0.32);
}

.media-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(17, 20, 26, 0.68);
  color: #fff;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.95rem 0 0;
}

.blog-card-proof span {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:focus-visible {
  outline: 2px solid var(--accent-line);
  outline-offset: 4px;
}

.section .card-grid,
.section .article-grid {
  grid-auto-flow: dense;
}

#trading-process,
#latest-articles {
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  justify-content: center;
}

#trading-process {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  padding: 1.2rem;
  border: 1px solid rgba(17, 20, 26, 0.07);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(247, 245, 240, 0.76)),
    radial-gradient(circle at 8% 0%, rgba(185, 146, 82, 0.1), transparent 32%);
  box-shadow: var(--shadow-soft);
}

.process-grid {
  gap: 0.65rem;
}

.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 292px;
  padding: 1.45rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 241, 0.98));
  border: 1px solid rgba(17, 20, 26, 0.08);
  border-radius: 22px;
  box-shadow: none;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.process-card + .process-card {
  border-left: 1px solid rgba(17, 20, 26, 0.08);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 146, 82, 0.28);
  background: linear-gradient(180deg, #fff, #faf6ee);
}

.process-card::after {
  content: "";
  position: absolute;
  top: 3.05rem;
  right: -0.55rem;
  z-index: 2;
  width: 1.1rem;
  height: 1.1rem;
  border-top: 1px solid rgba(17, 20, 26, 0.12);
  border-right: 1px solid rgba(17, 20, 26, 0.12);
  background: #fff;
  transform: rotate(45deg);
}

.process-card:last-child::after {
  display: none;
}

.process-card-top {
  display: grid;
  gap: 0.75rem;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 1.45rem;
}

.process-number,
.process-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.process-number {
  width: 3.35rem;
  height: 3.35rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(185, 146, 82, 0.28);
  border-radius: 50%;
  background: rgba(185, 146, 82, 0.08);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(185, 146, 82, 0.86);
  line-height: 1;
}

.process-kicker {
  font-size: 0.72rem;
  color: var(--muted-deep);
}

.process-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.12rem;
  line-height: 1.28;
  color: var(--text-strong);
}

.process-card p {
  margin: 0;
  color: rgba(23, 26, 32, 0.78);
  line-height: 1.75;
}

.card-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02);
}

.card-media {
  position: relative;
  overflow: hidden;
}

.card-overlay {
  position: absolute;
  inset: auto 1.1rem 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, rgba(17, 20, 26, 0.74) 100%);
}

.card-kicker,
.card-year,
.card-label,
.card-country,
.card-index {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-kicker,
.card-year {
  color: #fff;
}

.card-body,
.article-card-body {
  padding: 1.35rem;
}

.vehicle-card .card-body {
  display: flex;
  flex-direction: column;
}

.card-body h3,
.article-card h3,
.admin-card h4 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
}

.card-header-line,
.card-footer-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card-label {
  margin: 0;
  color: var(--muted-deep);
}

.card-country {
  margin: 0;
  color: var(--accent);
}

.card-description {
  min-height: 4.8rem;
  margin: 0.85rem 0 1rem;
  color: rgba(23, 26, 32, 0.8);
  line-height: 1.7;
}

.card-index {
  color: rgba(17, 20, 26, 0.18);
  font-size: 1.4rem;
  font-weight: 700;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.65rem 0 1rem;
}

.meta-chip,
.article-meta span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vehicle-quote-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.35rem 0 1rem;
}

.vehicle-quote-grid div {
  min-width: 0;
  padding: 0.82rem 0.78rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  background: rgba(247, 245, 240, 0.72);
}

.vehicle-quote-grid span {
  display: block;
  margin-bottom: 0.38rem;
  color: var(--muted-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vehicle-quote-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text-strong);
  font-size: clamp(0.82rem, 1vw, 1rem);
  line-height: 1.25;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.page-main {
  padding-top: 1rem;
}

.page-hero {
  position: relative;
  padding: 7.5rem 0 3.5rem;
  overflow: clip;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent),
    radial-gradient(circle at top left, rgba(185, 146, 82, 0.14), transparent 24%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.detail-gallery figure {
  margin: 0;
}

.detail-gallery .main-image {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.thumb-row {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 0.75rem;
}

.thumb {
  padding: 0;
  background: transparent;
  border: 1px solid rgba(17, 20, 26, 0.1);
}

.thumb.active {
  border-color: var(--accent-line);
}

.thumb img {
  aspect-ratio: 1;
  object-fit: cover;
}

.detail-summary .meta-row {
  margin-top: 1rem;
}

.detail-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(17, 20, 26, 0.08);
}

.detail-story h3 {
  margin: 0 0 0.6rem;
  font-family: "Newsreader", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.detail-story p {
  margin: 0;
  color: rgba(23, 26, 32, 0.76);
  line-height: 1.82;
}

.detail-price {
  margin: 1.1rem 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.detail-specs {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(17, 20, 26, 0.08);
}

.detail-specs li {
  padding: 1.1rem 1rem 1rem 0;
  border-bottom: 1px solid rgba(17, 20, 26, 0.08);
}

.feature-panel {
  margin: 1.4rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 20, 26, 0.08);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.feature-list li {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(17, 20, 26, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.detail-contact-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(17, 20, 26, 0.08);
}

.detail-contact-rail span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted-deep);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-contact-rail strong {
  color: var(--text-strong);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-specs strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-deep);
}

.article-detail {
  max-width: 1040px;
}

.article-detail img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  margin: 1.2rem 0 1.8rem;
}

.article-content p {
  margin: 0 0 1.2rem;
  color: rgba(23, 26, 32, 0.88);
  line-height: 1.95;
  font-size: 1.02rem;
}

.article-section {
  margin-top: 1.8rem;
}

.article-answer-box {
  padding: 1.15rem;
  border-left: 4px solid var(--accent);
  background: rgba(191, 145, 79, 0.08);
}

.article-section ul {
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(23, 26, 32, 0.88);
  line-height: 1.85;
}

.article-section li + li {
  margin-top: 0.55rem;
}

.article-section article {
  padding: 1rem 0;
  border-top: 1px solid rgba(17, 20, 26, 0.1);
}

.article-section article h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.article-cta-panel {
  padding: 1.2rem;
  border: 1px solid rgba(17, 20, 26, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.article-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.article-link-card {
  padding: 0.95rem;
  border: 1px solid rgba(17, 20, 26, 0.1);
  border-radius: 8px;
  background: rgba(250, 248, 242, 0.8);
  color: var(--text);
}

.article-link-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-link-card strong {
  color: var(--text-strong);
}

.landing-header {
  background: rgba(255, 255, 255, 0.88);
}

.landing-nav {
  gap: 1.1rem;
}

.landing-hero {
  padding: 4.8rem 0 4rem;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  gap: 2rem;
  align-items: center;
}

.landing-hero-copy h1 {
  max-width: 11.5ch;
  margin: 0;
  color: var(--text-strong);
  font-family: "Newsreader", serif;
  font-size: clamp(4rem, 8vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.landing-hero-copy .lead {
  max-width: 62ch;
}

.landing-proof-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.landing-proof-line span {
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(17, 20, 26, 0.09);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-form-panel {
  padding: 1.3rem;
}

.landing-lead-form {
  display: grid;
  gap: 1rem;
}

.landing-lead-form select {
  width: 100%;
  min-height: 52px;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid rgba(17, 20, 26, 0.16);
  background: rgba(255, 255, 255, 0.68);
}

.landing-form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.landing-form-status.success {
  color: var(--success);
}

.landing-form-status.error {
  color: var(--danger);
}

.landing-split-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: 1.4rem;
  align-items: stretch;
}

.landing-media-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

.landing-media-card img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  opacity: 0.86;
}

.landing-media-card div {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 1rem;
  color: #fff;
  background: rgba(16, 19, 24, 0.76);
}

.landing-media-card span,
.landing-process-grid span,
.landing-trust-grid span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-media-card strong {
  font-size: 1.25rem;
}

.landing-trust-copy {
  padding: 1rem 0;
}

.landing-trust-copy h2,
.landing-process-section h2,
.landing-final-cta h2 {
  max-width: 16ch;
  margin: 0 0 1.2rem;
  font-family: "Newsreader", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.landing-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.landing-trust-grid article,
.landing-process-grid article {
  padding: 1rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.landing-trust-grid h3,
.landing-process-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
}

.landing-trust-grid p,
.landing-process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.landing-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

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

.landing-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

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

.blog-photo-grid img {
  height: 240px;
  margin: 0;
  border-radius: 8px;
}

.blog-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.blog-video-grid video,
.blog-video-link {
  width: 100%;
  min-height: 180px;
  border-radius: 8px;
  background: rgba(17, 20, 26, 0.08);
}

.blog-video-link {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid rgba(17, 20, 26, 0.1);
  color: var(--ink);
  font-weight: 800;
}

.article-section h2,
.article-source-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.article-source-card {
  margin: 1.2rem 0 1.8rem;
  padding: 1.15rem;
  border: 1px solid rgba(17, 20, 26, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.article-source-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-weight: 700;
}

.article-source-card blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: rgba(23, 26, 32, 0.78);
  line-height: 1.8;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.85rem 0 1rem;
}

.ai-search-panel {
  display: grid;
  gap: 1rem;
  max-width: 920px;
}

.search-summary {
  margin-bottom: 1rem;
  font-weight: 600;
}

.cta-band {
  padding-top: 1rem;
}

.editorial-section {
  padding-top: 1rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1.4rem;
  align-items: stretch;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2.4rem 2.6rem;
  border-top: 1px solid rgba(17, 20, 26, 0.08);
  border-bottom: 1px solid rgba(17, 20, 26, 0.08);
  background:
    radial-gradient(circle at top right, rgba(185, 146, 82, 0.14), transparent 18%),
    linear-gradient(180deg, #fbf9f5, #f1ece4);
}

.cta-band-inner,
.cta-band-inner p,
.cta-band-inner h2 {
  color: var(--text);
}

.site-footer {
  margin-top: 1rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(17, 20, 26, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.8rem;
}

.site-footer h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-deep);
}

.site-footer a,
.site-footer span,
.site-footer p {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer .brand {
  display: inline-flex;
  align-items: center;
}

.site-footer .brand span {
  margin-bottom: 0;
}

.site-footer .brand-mark {
  display: inline-grid;
  place-items: center;
  margin-bottom: 0;
}

.site-footer .brand-mark img {
  display: block;
  margin: auto;
}

.hidden {
  display: none !important;
}

.feedback {
  min-height: 1.5rem;
  margin-top: 1.2rem;
  font-weight: 700;
}

.feedback.success {
  color: var(--success);
}

.feedback.error {
  color: var(--danger);
}

.tab-buttons {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.35rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(17, 20, 26, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.tab-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0.8rem 1.2rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tab-button.active {
  background: linear-gradient(135deg, #f3ede2, #c8a66a);
  color: var(--ink);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.admin-automation {
  margin-bottom: 1.2rem;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.single-automation {
  grid-template-columns: 1fr;
}

.automation-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.automation-card h4 {
  margin: 0;
  font-size: 1rem;
}

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

.automation-card label {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.automation-card label span {
  color: var(--muted-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.automation-card input {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 20, 26, 0.16);
  background: transparent;
}

.automation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.automation-status {
  min-height: 1.3rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.automation-status.success {
  color: var(--success);
}

.automation-status.error {
  color: var(--danger);
}

.ocr-preview {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.ocr-preview textarea {
  min-height: 140px;
}

.admin-split {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.2rem;
}

.admin-form,
.compact-form {
  display: grid;
  gap: 1rem;
}

.compact-form {
  max-width: 460px;
}

.admin-card-list {
  display: grid;
  gap: 0.9rem;
}

.admin-list-tools {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-search {
  display: grid;
  gap: 0.45rem;
}

.admin-search span,
.admin-checkline span,
.admin-card-check span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-search input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(17, 20, 26, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.64);
}

.admin-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.admin-checkline,
.admin-card-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-checkline input,
.admin-card-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.admin-list-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.edit-status {
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(185, 146, 82, 0.32);
  border-radius: 999px;
  color: var(--text-strong);
  background: rgba(185, 146, 82, 0.12);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-card {
  padding: 1rem;
  border: 1px solid rgba(17, 20, 26, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.admin-card-selectable {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.admin-card-main {
  min-width: 0;
}

.admin-card-main h4,
.admin-card-main p {
  overflow-wrap: anywhere;
}

.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.admin-card-selectable .admin-card-actions {
  grid-column: 2;
}

.empty-state {
  padding: 1.2rem;
  border: 1px dashed rgba(17, 20, 26, 0.14);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
}

@keyframes homeReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .landing-hero-grid,
  .landing-split-grid,
  .trust-strip,
  .detail-layout,
  .admin-split,
  .automation-grid,
  .cta-band-inner,
  .footer-grid,
  .marquee-shell,
  .featured-marquee,
  .editorial-grid,
  .supply-layout,
  .market-visit-grid {
    grid-template-columns: 1fr;
  }

  .market-visit-copy h2 {
    max-width: 14ch;
    font-size: clamp(2.6rem, 7vw, 4.2rem);
  }

  .market-visit-media,
  .market-visit-media img {
    min-height: 440px;
  }

  .supply-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .supply-lede {
    min-height: 340px;
  }

  .supply-card {
    grid-template-columns: 7rem minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .showcase-list .vehicle-card {
    grid-template-columns: 1fr;
  }

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

  .editorial-assurance-card {
    grid-template-columns: 1fr;
  }

  .editorial-visual {
    min-height: 280px;
  }

  .assurance-grid-compact {
    grid-template-columns: 1fr;
  }

  .showcase-list .vehicle-card:nth-child(even) .card-media,
  .showcase-list .vehicle-card:nth-child(even) .card-body {
    order: initial;
  }

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

  .card-grid,
  .article-grid,
  .trust-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #trading-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-card:nth-child(3n + 1) {
    border-left: 1px solid rgba(17, 20, 26, 0.08);
  }

  .process-card:nth-child(3n)::after {
    display: none;
  }

  .hero-stage-card {
    height: auto;
    min-height: 460px;
    max-height: none;
  }

  .hero-stage-copy {
    inset: 7.4rem 2rem 2rem 2rem;
  }

  .hero-stage-copy h2 {
    max-width: 13.5ch;
    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1.04;
  }

  .hero-stage-copy p {
    max-width: 42ch;
  }

  .hero-stage-meter {
    display: none;
  }

  .landing-proof-line,
  .landing-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 1.2rem));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0.6rem;
    right: 0.6rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 20, 26, 0.08);
  }

  .site-nav.open {
    display: flex;
  }

  .landing-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .hero-grid {
    min-height: auto;
    padding: 4.6rem 0 3.5rem;
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .detail-story {
    grid-template-columns: 1fr;
  }

  .inspection-step {
    grid-template-columns: 1fr;
  }

  .detail-contact-rail {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 11vw, 3.85rem);
    max-width: 12.6ch;
  }

  body[data-page="home"] .hero-copy::after {
    left: -0.6rem;
    top: -1rem;
    width: calc(100% + 1.2rem);
    height: calc(100% + 1.4rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.3));
  }

  .search-form .field-grid,
  .two-col,
  .card-grid,
  .article-grid,
  .article-link-grid,
  .landing-proof-line,
  .landing-category-grid,
  .landing-process-grid,
  .landing-trust-grid,
  .filter-bar,
  .vehicle-quote-grid,
  .detail-specs,
  .blog-photo-grid {
    grid-template-columns: 1fr;
  }

  .blog-photo-grid img {
    height: 210px;
  }

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

  .landing-hero {
    padding: 3.3rem 0 2.6rem;
  }

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

  .landing-hero-copy h1 {
    max-width: 10.6ch;
    font-size: clamp(3.2rem, 16vw, 5.2rem);
  }

  .landing-form-panel {
    padding: 1rem;
  }

  .landing-media-card,
  .landing-media-card img {
    min-height: 360px;
  }

  #trading-process {
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-card + .process-card {
    border-left: 1px solid rgba(17, 20, 26, 0.08);
  }

  .process-card::after {
    display: none;
  }

  #trading-process {
    padding: 0.7rem;
    border-radius: 24px;
  }

  .process-card {
    min-height: auto;
    padding: 1.2rem;
  }

  .supply-head,
  .supply-card {
    grid-template-columns: 1fr;
  }

  .supply-layout,
  .supply-matrix {
    gap: 0.8rem;
  }

  .supply-lede {
    min-height: auto;
    padding: 1.35rem;
  }

  .supply-lede h3 {
    max-width: 18ch;
    margin-top: 1.25rem;
    font-size: clamp(1.75rem, 7.6vw, 2.45rem);
    line-height: 1.04;
  }

  .supply-source-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 1.1rem;
  }

  .supply-source-row span {
    min-height: 58px;
  }

  .supply-source-row img {
    max-width: 112px;
    max-height: 32px;
  }

  .supply-card {
    align-items: start;
    min-height: auto;
    padding: 1.15rem;
  }

  .market-visit-section {
    padding-top: 0;
  }

  .market-visit-grid {
    gap: 1.2rem;
  }

  .market-visit-media,
  .market-visit-media img {
    min-height: 320px;
  }

  .market-visit-media {
    border-radius: 24px;
  }

  .market-visit-copy h2 {
    max-width: 12ch;
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: 0.98;
  }

  .market-visit-points article {
    padding: 0.9rem;
  }

  .marquee-side-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .marquee-copy {
    position: static;
  }

  .hero-stage-card {
    height: auto;
    min-height: 430px;
    border-radius: 28px;
  }

  .hero-stage-copy {
    inset: 6.7rem 1.4rem 1.5rem 1.4rem;
  }

  .hero-stage-copy h2 {
    max-width: 15ch;
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    line-height: 1.05;
  }

  .hero-stage-copy p {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .hero-route-note {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .hero-proof-bar span {
    min-height: 58px;
    padding: 0.85rem 0.7rem 0.85rem 0;
    border-right: 1px solid rgba(17, 20, 26, 0.1);
    border-bottom: 1px solid rgba(17, 20, 26, 0.12);
    font-size: 0.68rem;
  }

  .hero-proof-bar span:nth-child(2n) {
    border-right: 0;
  }

  .hero-proof-bar span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .page-hero {
    padding-top: 5.5rem;
  }

  .trust-points article {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid rgba(17, 20, 26, 0.08);
  }

  .hero-panel,
  .admin-auth,
  .admin-form,
  .admin-list,
  .article-detail,
  .detail-summary,
  .detail-gallery {
    padding: 1.25rem;
  }

  .admin-card-selectable {
    grid-template-columns: 1fr;
  }

  .admin-card-selectable .admin-card-actions {
    grid-column: auto;
  }

  .admin-bulk-actions .button {
    width: 100%;
  }
}
