/* CarLink editorial refresh. The original form, layout states and scripts remain the base. */
:root {
  --studio-dark: #171613;
  --studio-dark-raised: #211f1b;
  --studio-ink: #231e19;
  --studio-paper: #f4f0e9;
  --studio-white: #fffcf7;
  --studio-muted: #655b51;
  --studio-light-text: #d6cabd;
  --studio-bronze: #dbb895;
  --studio-bronze-dark: #735133;
  --studio-line: #d8cec0;
  --studio-dark-line: #514438;
  --studio-display: var(--font);
  --serif: var(--studio-display);
  --paper: var(--studio-paper);
  --ink: var(--studio-ink);
  --soft: #eae2d7;
  --muted: var(--studio-muted);
  --line: var(--studio-line);
}

body { font-size: 1rem; line-height: 1.65; }
h1, h2 { font-family: var(--studio-display); font-weight: 700; letter-spacing: -.052em; line-height: 1.07; }
h1 em, h2 em { font-style: normal; font-weight: inherit; }
.container { width: min(1400px, calc(100% - clamp(40px, 8vw, 112px))); }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-heading { margin-bottom: clamp(28px, 4vw, 54px); }
.section-heading > p { font-size: 1rem; line-height: 1.7; }
.section-kicker { color: var(--studio-bronze-dark); font-size: .75rem; letter-spacing: .14em; }
.section-heading h2, .faq-intro h2 { font-size: clamp(2.1rem, 4.2vw, 4.1rem); line-height: 1.08; }
.button { min-height: 50px; border-radius: 2px; padding: 12px 22px; font-size: .875rem; }
.button-compact { min-height: 44px; }
.button > span[aria-hidden="true"]:not(.button-loader) { display: none; }
.text-arrow { font-size: .875rem; }
.text-arrow > span, .process-step a > span { display: none; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid #987044; outline-offset: 4px; }

.site-header, .select-page .select-header {
  background: var(--studio-dark);
  color: var(--studio-paper);
  border-bottom-color: var(--studio-dark-line);
}
.site-header.scrolled { box-shadow: 0 5px 22px #0002; }
.header-inner { min-height: 76px; gap: 20px; }
.site-header .brand, .site-footer .brand { color: var(--studio-paper); --accent: var(--studio-bronze); }
.site-header .brand-wordmark strong span, .site-footer .brand-wordmark strong span { color: var(--studio-bronze); }
.site-header .desktop-nav { gap: clamp(14px, 1.7vw, 28px); font-size: .8125rem; }
.site-header .desktop-nav a:hover, .site-header .select-nav-link small, .site-header .select-nav-link.active { color: var(--studio-bronze); }
.site-header .select-nav-link small { border-color: var(--studio-dark-line); }
.site-header .header-actions > .button {
  color: var(--studio-paper);
  background: transparent;
  border-color: #87725d;
  font-size: .8125rem;
}
.site-header .header-actions > .button:hover { color: var(--studio-dark); background: var(--studio-bronze); border-color: var(--studio-bronze); }
.site-header .menu-toggle span { background: var(--studio-paper); }
.site-header .mobile-menu.open { background: var(--studio-dark-raised); border-color: var(--studio-dark-line); }
.site-header .mobile-menu a { font-size: .9375rem; padding: 11px 0; }

.site-footer { background: var(--studio-dark); color: var(--studio-paper); border-color: var(--studio-dark-line); }
.site-footer .footer-main > p, .site-footer .footer-bottom, .site-footer .privacy-note summary, .site-footer .privacy-note > p { color: var(--studio-light-text); }
.site-footer .footer-links { font-size: .875rem; }
.site-footer .footer-bottom, .site-footer .footer-main > p { font-size: .8125rem; }
.site-footer .footer-links a:hover { color: var(--studio-bronze); }

.consignment-page .announcement { background: #29221c; color: #e8ceb5; }
.consignment-page .announcement > .container { height: 33px; }
.consignment-page .announcement span, .consignment-page .announcement a { font-size: .68rem; }
.consignment-page .announcement a > span { display: none; }
.consignment-page .hero { background: var(--studio-dark); color: var(--studio-paper); padding: 0; }
.showroom-hero {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  gap: clamp(22px, 4vw, 70px);
  align-items: center;
  padding: clamp(42px, 5vw, 72px) 0 clamp(36px, 4.3vw, 62px);
}
.showroom-copy { min-width: 0; }
.showroom-copy .eyebrow { color: var(--studio-bronze); font-size: .75rem; letter-spacing: .16em; margin-bottom: 23px; }
.consignment-page .showroom-copy h1 {
  color: var(--studio-paper);
  font-size: clamp(2.5rem, 5.45vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -.064em;
  line-height: 1.02;
  margin: 0 0 25px;
  max-width: none;
}
.consignment-page .showroom-copy h1 em { color: var(--studio-bronze); font-style: normal; font-weight: inherit; }
.showroom-description { max-width: 385px; color: var(--studio-light-text); line-height: 1.75; }
.showroom-actions { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); flex-wrap: wrap; margin: 28px 0 15px; }
.showroom-actions .button, .consignment-page .mobile-cta .button { color: #221911; background: var(--studio-bronze); border-color: var(--studio-bronze); }
.showroom-actions .button:hover, .consignment-page .mobile-cta .button:hover { background: #edcfae; }
.showroom-link { color: var(--studio-paper); border-bottom: 1px solid #8d7660; padding: 7px 0; font-size: .875rem; font-weight: 700; }
.showroom-link:hover { color: var(--studio-bronze); }
.showroom-copy > small { display: block; color: #c8bbaa; font-size: .75rem; }
.consignment-page .showroom-image {
  position: relative;
  margin: 0;
  border-radius: 0;
  border: 1px solid var(--studio-dark-line);
  aspect-ratio: 1.37;
  background: #24221f;
}
.showroom-image picture, .consignment-page .showroom-image img { display: block; width: 100%; height: 100%; }
.consignment-page .showroom-image img { object-fit: cover; object-position: 53% 58%; filter: none; }
.showroom-eligibility {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--studio-dark-line);
  padding: 22px 0 24px;
}
.showroom-eligibility div { min-width: 0; }
.showroom-eligibility span { display: block; color: var(--studio-bronze); font-size: .6875rem; font-weight: 800; letter-spacing: .11em; margin-bottom: 4px; text-transform: uppercase; }
.showroom-eligibility strong, .showroom-eligibility a { font-size: .875rem; }
.showroom-eligibility a { color: var(--studio-bronze); text-decoration: underline; text-underline-offset: 5px; }

.consignment-page .form-section { background: var(--studio-paper); }
.consignment-page .form-section .section-heading { border-color: var(--studio-line); }
.consignment-page .lead-layout { gap: clamp(30px, 6vw, 90px); }
.consignment-page .lead-sidebar > h3 { font: 700 clamp(2rem, 3.65vw, 3.4rem)/1.08 var(--studio-display); letter-spacing: -.05em; }
.consignment-page .lead-sidebar > p, .consignment-page .review-promises p, .consignment-page .eligibility-note p { font-size: .9375rem; }
.consignment-page .eligibility-note { background: #eee5da; border-color: var(--studio-line); }
.consignment-page .form-card {
  background: var(--studio-white);
  border-color: var(--studio-line);
  border-radius: 1px;
  box-shadow: 0 22px 62px #3727190a;
}
.consignment-page .form-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #eee5da;
  border-color: var(--studio-line);
}
.consignment-page .mode-tab { font-size: .875rem; min-height: 44px; }
.consignment-page .mode-tab.active { background: var(--studio-dark-raised); color: var(--studio-paper); }
.consignment-page .form-progress-item strong { font-size: .8125rem; }
.consignment-page .field > span, .consignment-page .choice-label, .consignment-page .checker-field > span { font-size: .875rem; }
.consignment-page .field input, .consignment-page .field select, .consignment-page .field textarea,
.consignment-page .checker-field input, .consignment-page .checker-field select {
  background-color: #fffefa;
  border-color: #c7bcad;
  border-radius: 2px;
  font-size: 1rem;
  min-height: 48px;
}
.consignment-page :is(.field, .checker-field) :is(input, textarea)::placeholder { color: #74695d; }
.consignment-page :is(.field, .checker-field) :is(input, select, textarea):focus {
  border-color: #987044;
  outline-color: #987044;
}
.consignment-page .field.invalid :is(input, select, textarea),
.consignment-page .field :is(input, select, textarea)[aria-invalid="true"] { border-color: #b4242a; }
.consignment-page .choice-grid label { min-width: 0; }
.consignment-page :is(.field-error, .form-note, .consent-row, .step-intro) { font-size: .825rem; }
.consignment-page .form-actions .button { font-size: .875rem; }

.consignment-page .sold-section { background: var(--studio-dark-raised); border-color: var(--studio-dark-line); color: var(--studio-paper); }
.consignment-page .sold-section .section-kicker, .consignment-page .sold-meta span { color: var(--studio-bronze); }
.consignment-page .sold-section .section-heading > p, .consignment-page .sold-note p { color: var(--studio-light-text); }
.consignment-page .sold-gallery { gap: clamp(14px, 2vw, 28px); }
.consignment-page .sold-card { background: #1a1916; border: 1px solid var(--studio-dark-line); }
.consignment-page .sold-media { aspect-ratio: 1.42; border-radius: 0; }
.consignment-page .sold-meta { padding: 18px clamp(12px, 1.5vw, 22px) 22px; }
.consignment-page .sold-meta span { font-size: .6875rem; letter-spacing: .11em; }
.consignment-page .sold-meta h3 {
  color: var(--studio-paper);
  font-size: clamp(1.25rem, 2.15vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}
.consignment-page .sold-note { border-color: var(--studio-dark-line); }
.consignment-page .sold-note > span, .consignment-page .sold-note .text-arrow { color: var(--studio-bronze); }
.consignment-page .sold-note p, .consignment-page .channel-note p { font-size: .875rem; }

.consignment-page .select-invitation { background: #dbc8b3; color: var(--studio-ink); border-color: #c4ac91; }
.consignment-page .select-invitation .select-wordmark { color: var(--studio-bronze-dark); }
.consignment-page .select-invitation p { color: #5a4737; font-size: 1rem; line-height: 1.6; }
.consignment-page .select-invitation a { font-size: .875rem; }
.consignment-page .process-section { background: var(--studio-paper); color: var(--studio-ink); }
.consignment-page .process-section .section-kicker, .consignment-page .process-number { color: var(--studio-bronze-dark); }
.consignment-page .process-section .section-heading > p, .consignment-page .process-step p { color: var(--studio-muted); }
.consignment-page .process-step { border-color: #c9b8a3; }
.consignment-page .process-number { font: 700 1.35rem/1 var(--studio-display); margin-bottom: 24px; }
.consignment-page .process-step h3 { font: 700 clamp(1.3rem, 2.25vw, 1.75rem)/1.16 var(--studio-display); letter-spacing: -.034em; }
.consignment-page .process-step p { font-size: .9375rem; }
.consignment-page .process-step a { font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.consignment-page .channel-section { background: var(--studio-white); }
.consignment-page .channel-card { border-radius: 0; background: var(--studio-paper); }
.consignment-page .channel-card h3 { font: 700 1.7rem/1.15 var(--studio-display); letter-spacing: -.035em; }
.consignment-page .channel-card .mini-label { color: var(--studio-bronze-dark); font-size: .6875rem; }
.consignment-page .channel-card p { font-size: .9375rem; line-height: 1.56; }
.consignment-page .channel-logo { padding: 0; }
.consignment-page .section-soft { background: #e8ded0; }
.consignment-page .eligibility-shell { border-color: #c9b8a3; border-radius: 0; }
.consignment-page .eligibility-sidebar { background: var(--studio-dark-raised); color: var(--studio-paper); }
.consignment-page .eligibility-sidebar .mini-label { color: var(--studio-bronze); }
.consignment-page .eligibility-sidebar p, .consignment-page .eligibility-meter small { color: var(--studio-light-text); }
.consignment-page .quick-checker { background: var(--studio-white); }
.consignment-page .checker-result :is(p, strong) { font-size: .825rem; }

.consignment-page .faq-section { background: var(--studio-white); }
.faq-list details { border-color: var(--studio-line); }
.faq-list details summary { font-size: 1rem; min-height: 48px; }
.faq-list details p { font-size: .9375rem; }
.consignment-page .referral-section { background: var(--studio-paper); }
.consignment-page .reward-panel { background: #e9ded0; border-color: #c9b8a3; }
.consignment-page .reward-amount strong {
  font-family: var(--studio-display);
  font-size: clamp(3.25rem, 6.4vw, 5rem);
  font-weight: 700;
}
.consignment-page .reward-panel > p, .consignment-page .reward-panel > small { font-size: .875rem; }
.consignment-page .closing-section { background: var(--studio-dark-raised); }
.consignment-page .closing-card .section-kicker { color: var(--studio-bronze); }
.consignment-page .closing-card .button { background: var(--studio-bronze); color: var(--studio-dark); }

.mobile-cta, .select-page .mobile-cta { background: #1d1a17f8; border-color: var(--studio-dark-line); color: var(--studio-paper); }
.mobile-cta strong { font-size: .8125rem; }
.mobile-cta small, .select-page .mobile-cta small { color: var(--studio-light-text); font-size: .75rem; }
.mobile-cta .button { min-height: 44px; font-size: .8125rem; white-space: nowrap; }

@media (max-width: 1050px) {
  .showroom-hero { gap: 26px; }
  .showroom-eligibility { gap: 18px; }
  .consignment-page .lead-layout { gap: 36px; }
}

@media (max-width: 800px) {
  .header-inner { min-height: 62px; }
  .consignment-page .section-heading { align-items: start; }
  .consignment-page .form-card { max-width: none; }
  .consignment-page .sold-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consignment-page .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consignment-page .channel-card { padding: 20px; }
  .consignment-page .reward-amount strong { font-size: clamp(2.4rem, 6vw, 4.4rem); }
}

@media (max-width: 760px) {
  .showroom-hero { grid-template-columns: 1fr; gap: 25px; padding: 37px 0 28px; }
  .showroom-copy .eyebrow { margin-bottom: 17px; }
  .consignment-page .showroom-copy h1 { font-size: clamp(2.5rem, 10.9vw, 4.5rem); margin-bottom: 17px; }
  .showroom-description { max-width: 33rem; }
  .showroom-actions { margin: 20px 0 10px; }
  .consignment-page .showroom-image { aspect-ratio: 1.55; }
  .showroom-eligibility { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); padding: 17px 0 24px; gap: 12px 21px; }
  .showroom-eligibility strong { display: block; font-size: .8125rem; line-height: 1.55; }
  .showroom-eligibility a { grid-column: 1/-1; justify-self: start; }
}

@media (max-width: 540px) {
  .container { width: calc(100% - 36px); }
  .section-heading > p { font-size: .9375rem; }
  .site-header .header-actions > .button { padding-inline: 11px; min-height: 42px; }
  .consignment-page .announcement > .container { height: 29px; }
  .showroom-description { font-size: .9375rem; }
  .showroom-link { font-size: .8125rem; }
  .showroom-actions .button { min-height: 46px; }
  .consignment-page .form-card { padding: 18px 14px; }
  .consignment-page .mode-tab { font-size: .76rem; padding-inline: 7px; }
  .consignment-page .form-progress-item strong { font-size: .75rem; }
  .consignment-page .field > span, .consignment-page .choice-label, .consignment-page .checker-field > span { font-size: .8125rem; }
  .consignment-page .sold-gallery { gap: 11px; }
  .consignment-page .sold-media { aspect-ratio: 1.28; }
  .consignment-page .sold-meta { padding: 10px 9px 14px; }
  .consignment-page .sold-meta span { font-size: .5625rem; }
  .consignment-page .sold-meta h3 { font-size: clamp(.98rem, 4.6vw, 1.45rem); overflow-wrap: anywhere; }
  .consignment-page .channel-grid { gap: 12px; }
  .consignment-page .channel-card { padding: 14px 12px; }
  .consignment-page .channel-logo { min-height: 70px; margin-bottom: 14px; }
  .consignment-page .channel-card h3 { font-size: 1.35rem; margin: 6px 0 9px; }
  .consignment-page .channel-card p { font-size: .8125rem; }
  .consignment-page .process-track { gap: 28px 18px; }
  .consignment-page .process-step h3 { margin-bottom: 10px; }
  .consignment-page .process-step p { font-size: .875rem; line-height: 1.65; }
  .consignment-page .quick-checker { padding: 17px 13px; }
  .consignment-page .reward-amount strong { font-size: clamp(3.4rem, 17vw, 4.75rem); }
  .site-footer .footer-links { font-size: .8125rem; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 28px); }
  .header-inner { gap: 8px; }
  .showroom-hero { padding-top: 28px; }
  .showroom-eligibility { gap: 12px 15px; }
  .consignment-page .showroom-copy h1 { font-size: clamp(2.3rem, 11.25vw, 2.6rem); }
  .consignment-page .form-card { padding-inline: 11px; }
  .consignment-page .channel-card { padding-inline: 9px; }
  .consignment-page .channel-card p { font-size: .78rem; }
  .consignment-page .faq-list details summary { font-size: .9375rem; }
  .mobile-cta strong { font-size: .75rem; }
}
