:root {
  --red: #e30613;
  --red-dark: #b9000b;
  --ink: #0a0a0b;
  --ink-2: #151517;
  --paper: #f5f4f1;
  --white: #ffffff;
  --muted: #a5a5aa;
  --line: rgba(255,255,255,.14);
  --background: #ffffff;
  --foreground: #0a0a0b;
  --card: #ffffff;
  --card-foreground: #0a0a0b;
  --popover: #ffffff;
  --popover-foreground: #0a0a0b;
  --primary: #e30613;
  --primary-foreground: #ffffff;
  --secondary: #f1f1f1;
  --secondary-foreground: #0a0a0b;
  --muted-foreground: #69696f;
  --accent: #f1f1f1;
  --accent-foreground: #0a0a0b;
  --destructive: #d4000c;
  --border: #dedede;
  --input: #d8d8d8;
  --ring: #e30613;
  --radius: .35rem;
}

/* Adaptation autonome PHP / Apache */
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.logo-image { display: block; width: 205px; height: 48px; object-fit: contain; object-position: left center; }
.footer-logo-image { width: 225px; height: 56px; margin-bottom: 18px; }
.nav-toggle { display: none; width: 42px; height: 42px; color: #fff; border: 1px solid rgba(255,255,255,.3); background: transparent; font-size: 25px; cursor: pointer; }
.mobile-nav-apache { display: none; }
.hero-bike-image { position: relative; z-index: 1; width: 90%; height: 72%; object-fit: contain; filter: drop-shadow(0 24px 26px rgba(0,0,0,.38)); }
.photo-fallback-text { color: #66666c; font-size: 34px; font-weight: 950; font-style: italic; letter-spacing: .15em; }
.empty-state { grid-column: 1 / -1; padding: 40px; color: #707076; border: 1px dashed #c7c7cb; background: #fff; text-align: center; }
.flash { margin: 0 0 24px; padding: 15px 17px; border-left: 5px solid; font-size: 13px; font-weight: 800; line-height: 1.55; }
.flash-success { color: #145a32; border-color: #1f9d55; background: #edf9f1; }
.flash-error { color: #94000a; border-color: var(--red); background: #fff0f1; }

.upload-zone { min-height: 120px; display: grid; place-items: center; align-content: center; gap: 7px; margin: 24px 0 14px; color: #55555b; border: 2px dashed #c9c9cd; background: #fafafa; cursor: pointer; text-align: center; }
.upload-zone:hover { color: var(--red); border-color: var(--red); background: #fff7f7; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone .icon { width: 30px; height: 30px; color: var(--red); }
.photo-preview-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-bottom: 22px; }
.photo-preview-grid:empty { display: none; }
.photo-preview-grid > div { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid #dedee1; background: #eee; }
.photo-preview-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview-grid span { position: absolute; right: 5px; bottom: 5px; width: 25px; height: 25px; display: grid; place-items: center; color: #fff; background: var(--red); font-size: 11px; font-weight: 900; }

.lightbox-native { width: min(1200px, calc(100vw - 30px)); max-width: none; height: min(88vh, 850px); padding: 0; overflow: hidden; color: #fff; border: 0; background: #080809; }
.lightbox-native::backdrop { background: rgba(0,0,0,.92); backdrop-filter: blur(8px); }
.lightbox-native > img { width: 100%; height: calc(100% - 58px); object-fit: contain; }
.lightbox-native > p { height: 58px; margin: 0; padding: 18px 70px; overflow: hidden; color: #bbb; border-top: 1px solid #2c2c2f; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-native-close { position: absolute; z-index: 3; top: 12px; right: 14px; width: 46px; height: 46px; color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.7); font-size: 34px; cursor: pointer; }
.lightbox-native-arrow { position: absolute; z-index: 3; top: 50%; width: 52px; height: 70px; color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.65); font-size: 42px; cursor: pointer; transform: translateY(-50%); }
.lightbox-native-arrow.previous { left: 14px; }
.lightbox-native-arrow.next { right: 14px; }
.lightbox-native-arrow.hidden { display: none; }
.lightbox-open { overflow: hidden; }

.admin-body { min-height: 100vh; background: #ededeb; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; background: linear-gradient(135deg, #080809 0 47%, #e30613 47% 55%, #f5f4f1 55%); }
.login-card { width: min(510px, 100%); padding: 46px; border-top: 6px solid var(--red); background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.login-logo { width: 250px; height: auto; margin-bottom: 32px; padding: 12px; background: var(--ink); }
.login-card h1 { margin: 0; font-size: 42px; letter-spacing: -.055em; text-transform: uppercase; }
.login-card > p:not(.eyebrow) { color: #74747a; line-height: 1.65; }
.login-form { display: grid; gap: 18px; margin: 28px 0; }
.login-form label, .admin-form-apache label { display: grid; gap: 8px; color: #54545a; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.login-form input, .admin-form-apache input, .admin-form-apache textarea, .admin-form-apache select { width: 100%; min-height: 49px; padding: 11px 14px; color: var(--ink); border: 1px solid #d4d4d8; border-radius: 2px; background: #fbfbfb; outline: none; }
.login-form input:focus, .admin-form-apache input:focus, .admin-form-apache textarea:focus, .admin-form-apache select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.1); }
.login-form .button { width: 100%; }
.install-card { width: min(620px, 100%); }
.install-check { grid-template-columns: 20px 1fr; align-items: start; text-transform: none !important; line-height: 1.45; }
.install-check input { min-height: auto; margin-top: 3px; }

.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 285px 1fr; }
.admin-aside { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 26px; padding: 34px 27px; color: #fff; background: var(--ink); }
.admin-brand { width: 210px; }
.admin-user { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-user span, .admin-user strong { display: block; }
.admin-user span { color: #77777d; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.admin-user strong { margin-top: 7px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; }
.admin-stats { display: grid; gap: 11px; }
.admin-stats span { color: #99999f; font-size: 12px; }
.admin-stats strong { color: var(--red); font-size: 17px; }
.admin-aside > a { margin-top: auto; }
.admin-aside > a, .admin-aside form button { color: #d1d1d5; border: 0; background: none; font-size: 12px; font-weight: 850; cursor: pointer; }
.admin-aside > a:hover, .admin-aside form button:hover { color: #fff; }
.admin-content { width: min(1180px, calc(100% - 52px)); margin: 0 auto; padding: 60px 0 90px; }
.admin-title h1 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.admin-title > p:last-child { color: #77777d; }
.admin-tab-nav { display: flex; gap: 3px; margin: 34px 0 24px; overflow-x: auto; }
.admin-tab-nav a { flex: 0 0 auto; padding: 14px 16px; color: #77777d; border-bottom: 3px solid transparent; background: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.admin-tab-nav a.active { color: #fff; border-color: #8e0008; background: var(--red); }
.admin-panel { padding: 34px; background: #fff; box-shadow: 0 14px 35px rgba(0,0,0,.06); }
.admin-panel-heading { display: flex; align-items: center; gap: 15px; padding-bottom: 23px; margin-bottom: 25px; border-bottom: 1px solid #e6e6e8; }
.admin-panel-heading > span { color: var(--red); font-size: 12px; font-weight: 950; }
.admin-panel-heading p { margin: 0 0 4px; color: #88888e; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.admin-panel-heading h2 { margin: 0; font-size: 27px; letter-spacing: -.04em; text-transform: uppercase; }
.admin-helper { margin: -6px 0 26px; padding: 14px 16px; color: #55555b; border-left: 4px solid var(--red); background: #f5f4f1; font-size: 12px; line-height: 1.55; }
.admin-form-apache { display: grid; gap: 25px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.admin-form-grid .wide { grid-column: 1 / -1; }
.admin-form-apache textarea { resize: vertical; }
.admin-form-apache .button { justify-self: start; }
.admin-list { display: grid; gap: 15px; }
.admin-item, .admin-request { position: relative; border: 1px solid #e2e2e4; border-left: 5px solid #c5c5c8; background: #fff; }
.admin-item { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 20px; padding: 14px; }
.admin-item-image { width: 150px; height: 100px; display: grid; place-items: center; overflow: hidden; color: #777; background: #eee; font-weight: 900; }
.admin-item-image img { width: 100%; height: 100%; object-fit: cover; }
.admin-item-main p { margin: 0; color: #77777d; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.admin-item-main h3, .request-head h3 { margin: 4px 0 7px; font-size: 23px; text-transform: uppercase; }
.admin-item-main span, .request-head p { color: #77777d; font-size: 12px; }
.admin-item-status { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.status { display: inline-flex; width: fit-content; padding: 6px 9px; color: #555; border: 1px solid #ccc; background: #f5f5f5; font-size: 9px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.status-available, .status-confirmed, .status-processed { color: #17643a; border-color: #a8dac0; background: #edf9f2; }
.status-sold, .status-declined { color: #7b1d26; border-color: #ecc0c4; background: #fff1f2; }
.status-pending, .status-new { color: #825400; border-color: #ead29c; background: #fff8e8; }
.status-featured { color: #8a4a00; border-color: #edc27f; background: #fff5e4; }
.admin-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid #eee; }
.admin-actions form { margin: 0; }
.appointment-admin-actions { align-items: flex-end; }
.admin-actions form.appointment-confirm-form { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 12px; padding: 15px; border: 1px solid #d7e8de; background: #f3faf6; }
.appointment-confirm-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.appointment-confirm-fields label { display: grid; gap: 6px; color: #4d4d53; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.appointment-confirm-fields input { width: 100%; min-height: 40px; padding: 8px 10px; color: #222; border: 1px solid #c9d9cf; background: #fff; font: inherit; }
.appointment-confirm-form .action-button { min-height: 40px; white-space: normal; }
.action-button { min-height: 38px; padding: 8px 12px; color: #222; border: 1px solid #cfcfd2; background: #fff; font-size: 10px; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.action-button:hover { border-color: #777; }
.action-button.confirm { color: #fff; border-color: #157a42; background: #157a42; }
.action-button.decline, .action-button.danger { color: #a4000a; border-color: #e4b9bd; }
.action-button.danger { margin-left: auto; }
.admin-request { padding: 22px; }
.status-border-pending { border-left-color: #d69b1d; }
.status-border-confirmed { border-left-color: #159452; }
.status-border-declined { border-left-color: var(--red); }
.request-head { display: flex; align-items: start; justify-content: space-between; gap: 25px; }
.request-head h3 { margin-top: 10px; }
.request-head p { margin: 0; }
.appointment-slot { min-width: 115px; padding: 12px; color: #fff; background: var(--ink); text-align: center; }
.appointment-slot strong, .appointment-slot span { display: block; }
.appointment-slot strong { font-size: 17px; }
.appointment-slot span { margin-top: 4px; color: var(--red); font-size: 20px; font-weight: 950; }
.request-contact { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 19px 0; padding: 14px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.request-contact a { display: inline-flex; align-items: center; gap: 7px; color: #4d4d53; font-size: 12px; font-weight: 800; }
.request-contact a:hover { color: var(--red); }
.request-message { padding: 14px; color: #55555b; background: #f7f7f6; font-size: 13px; line-height: 1.6; }
.mail-sent { display: flex; align-items: center; gap: 8px; color: #157a42; font-size: 11px; font-weight: 900; }
.desired-price { color: var(--red); font-size: 24px; }
.request-photos { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin: 16px 0; }
.request-photos button { aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; background: #ddd; cursor: zoom-in; }
.request-photos img { width: 100%; height: 100%; object-fit: cover; }
.admin-edit-panel { margin-top: 24px; }
.admin-edit-photos { margin: 0 0 24px; color: #55555b; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.admin-edit-photo-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.admin-edit-photo-grid > div { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid #dedee1; background: #eee; }
.admin-edit-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.admin-edit-photo-grid span { position: absolute; right: 4px; bottom: 4px; padding: 4px 6px; color: #fff; background: var(--red); font-size: 9px; font-weight: 900; }
.admin-edit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-edit-actions .button { margin-left: auto; }
.button.is-loading { opacity: .65; cursor: wait; }
.availability-create-form { margin-bottom: 34px; padding: 22px; border: 1px solid #e2e2e4; background: #f8f8f7; }
.availability-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.multi-date-picker { padding: 18px; border: 1px solid #dedee1; background: #fff; }
.multi-date-picker.has-selection-error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.09); }
.multi-date-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.multi-date-intro strong { color: #3d3d42; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.multi-date-intro span { color: #77777d; font-size: 10px; }
.multi-date-weeks { display: grid; gap: 7px; }
.week-date-menu { border: 1px solid #dedee1; background: #fafafa; }
.week-date-menu > summary, .availability-week-menu > summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; cursor: pointer; list-style: none; }
.week-date-menu > summary::-webkit-details-marker, .availability-week-menu > summary::-webkit-details-marker { display: none; }
.week-date-menu > summary::after, .availability-week-menu > summary::after { content: "+"; margin-left: 8px; color: var(--red); font-size: 22px; font-weight: 900; }
.week-date-menu[open] > summary::after, .availability-week-menu[open] > summary::after { content: "−"; }
.week-date-menu > summary strong { color: #303035; font-size: 12px; text-transform: uppercase; }
.week-date-menu > summary span { margin-left: auto; color: #77777d; font-size: 11px; }
.week-date-menu[open] > summary { color: #fff; background: var(--ink); }
.week-date-menu[open] > summary strong { color: #fff; }
.week-date-menu[open] > summary span { color: #b7b7bc; }
.week-date-options { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 7px; padding: 12px; border-top: 1px solid #dedee1; }
.week-date-options .calendar-date-checkbox { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.week-date-options label { min-height: 66px; display: grid; place-items: center; align-content: center; gap: 4px; padding: 8px 4px; color: #333338; border: 1px solid #dedee1; background: #fff; letter-spacing: 0; text-transform: none; cursor: pointer; text-align: center; user-select: none; }
.week-date-options label span { color: #85858b; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.week-date-options label strong { font-size: 11px; }
.week-date-options label:hover { color: var(--red); border-color: var(--red); background: #fff5f5; }
.week-date-options .calendar-date-checkbox:checked + label { color: #fff; border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 2px #fff; }
.week-date-options .calendar-date-checkbox:checked + label span { color: #fff; }
.week-date-options .calendar-date-checkbox:focus-visible + label { outline: 3px solid rgba(227,6,19,.25); outline-offset: 2px; }
.week-date-options .calendar-date-checkbox:disabled + label { color: #b7b7bb; border-color: #ededee; background: #f1f1f1; cursor: not-allowed; text-decoration: line-through; }
.multi-date-summary { margin: 14px 0 0; color: #626268; font-size: 11px; font-weight: 800; line-height: 1.55; }
.multi-date-picker.has-selection-error .multi-date-summary { color: #a4000a; }
.availability-list { display: grid; gap: 22px; }
.availability-week-menu { border: 1px solid #d7d7da; background: #fff; }
.availability-week-menu > summary { color: #fff; background: var(--ink); }
.availability-week-menu > summary strong { font-size: 14px; }
.availability-week-menu > summary span { margin-left: auto; color: #b5b5ba; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.availability-week-content { display: grid; gap: 13px; padding: 14px; background: #f2f2f0; }
.availability-day { border: 1px solid #e2e2e4; background: #fafafa; }
.availability-day-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; color: #fff; background: var(--ink); }
.availability-day-heading > div { display: flex; align-items: baseline; gap: 12px; }
.availability-day-heading form { margin-left: auto; }
.availability-day-heading .action-button { color: #fff; border-color: #a94048; background: #7f1119; }
.availability-day-heading .action-button:hover { border-color: var(--red); background: var(--red); }
.availability-day-heading h3 { margin: 0; font-size: 18px; text-transform: capitalize; }
.availability-day-heading span { color: #aaaab0; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.availability-slots { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; padding: 14px; }
.availability-slot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px; border-left: 4px solid; background: #fff; }
.availability-slot.is-available { border-color: #18864b; }
.availability-slot.is-unavailable { border-color: #999; opacity: .65; background: #ededed; }
.availability-slot.is-booked { border-color: #d98200; background: #fff8e8; }
.availability-slot > div:first-child { display: grid; gap: 3px; }
.availability-slot strong { font-size: 21px; }
.availability-slot span, .availability-slot small { color: #77777d; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.availability-actions { display: flex; align-items: center; gap: 6px; }
.availability-actions .action-button { min-height: 34px; padding: 6px 8px; font-size: 8px; }

@media (max-width: 980px) {
  .logo-image { width: 170px; }
  .desktop-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .mobile-nav-apache { padding: 0 20px 18px; color: #fff; background: var(--ink); }
  .mobile-nav-apache.open { display: grid; }
  .mobile-nav-apache a { padding: 15px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 900; text-transform: uppercase; }
  .hero-bike-image { width: 86%; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-aside { position: static; height: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 15px; }
  .admin-user, .admin-stats { grid-column: 1 / -1; }
  .admin-aside > a { margin: 0; }
  .admin-content { width: min(100% - 30px, 900px); padding-top: 40px; }
}

@media (max-width: 640px) {
  .logo-image { width: 145px; height: 42px; }
  .header-reprise { display: none; }
  .photo-preview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lightbox-native { width: 100vw; height: 100dvh; }
  .lightbox-native > img { height: calc(100% - 72px); }
  .lightbox-native > p { height: 72px; padding: 20px 14px; }
  .login-card { padding: 32px 22px; }
  .admin-aside { grid-template-columns: 1fr; }
  .admin-content { width: min(100% - 22px, 900px); padding: 28px 0 60px; }
  .admin-panel { padding: 23px 15px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .wide { grid-column: auto; }
  .admin-item { grid-template-columns: 1fr; }
  .admin-item-status { justify-content: flex-start; }
  .admin-item-image { width: 100%; height: 190px; }
  .admin-actions { grid-column: auto; flex-direction: column; }
  .action-button, .admin-actions form { width: 100%; }
  .admin-actions form.appointment-confirm-form { grid-template-columns: 1fr; }
  .appointment-confirm-fields { grid-template-columns: 1fr; }
  .action-button.danger { margin-left: 0; }
  .request-head { flex-direction: column; }
  .appointment-slot { text-align: left; }
  .request-contact { flex-direction: column; }
  .request-photos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-edit-photo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .admin-edit-actions { flex-direction: column; align-items: stretch; }
  .admin-edit-actions .button { margin-left: 0; }
  .availability-form-grid, .availability-slots { grid-template-columns: 1fr; }
  .availability-slot { align-items: stretch; flex-direction: column; }
  .availability-actions { align-items: stretch; flex-direction: column; }
  .availability-actions form, .availability-actions .action-button { width: 100%; }
  .multi-date-intro, .week-date-menu > summary, .availability-week-menu > summary { align-items: flex-start; flex-direction: column; }
  .week-date-menu > summary span, .availability-week-menu > summary span { margin-left: 0; }
  .week-date-menu > summary::after, .availability-week-menu > summary::after { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
  .week-date-options { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .availability-day-heading { align-items: stretch; flex-direction: column; }
  .availability-day-heading > div { justify-content: space-between; }
  .availability-day-heading form, .availability-day-heading .action-button { width: 100%; }
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--secondary);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --font-sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-shell { min-height: 100vh; overflow: hidden; }

.site-header { position: relative; z-index: 30; background: var(--ink); color: white; border-bottom: 1px solid var(--line); }
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.logo-link { display: inline-flex; }
.logo { display: inline-flex; align-items: baseline; gap: 0; color: white; font-size: 22px; font-weight: 900; letter-spacing: -.06em; font-style: italic; }
.logo strong { color: var(--red); font-weight: 900; }
.logo-k { width: 31px; height: 31px; margin-right: 7px; display: inline-grid; place-items: center; color: white; background: var(--red); transform: skew(-10deg); font-size: 22px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 38px; }
.desktop-nav a { position: relative; padding-block: 30px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--red); transition: right .2s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-reprise { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; color: white; border: 1px solid rgba(255,255,255,.28); font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; transition: border-color .2s, background .2s; }
.header-reprise:hover { border-color: var(--red); background: var(--red); }
.header-reprise svg { width: 17px; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; background: var(--red); color: white; font-size: 13px; font-weight: 900; letter-spacing: .03em; }
.header-phone svg { width: 16px; }
.mobile-menu { display: none !important; color: white; border-color: rgba(255,255,255,.3) !important; background: transparent !important; }

.hero { position: relative; min-height: 690px; color: white; background: var(--ink); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 48%; height: 130%; top: -15%; right: -8%; background: var(--red); transform: skewX(-13deg); }
.hero-grid { position: absolute; inset: 0; opacity: .19; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, black, transparent 75%); }
.hero-content { position: relative; z-index: 2; min-height: 650px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 50px; }
.hero-copy { padding-block: 70px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: #d9d9dc; font-size: 12px; line-height: 1; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 3px; background: var(--red); }
.eyebrow.dark { color: #5f5f64; }
.hero h1, .section-heading h2, .trust-copy h2, .page-hero h1 { margin: 0; font-size: clamp(54px, 6.7vw, 98px); line-height: .87; letter-spacing: -.065em; text-transform: uppercase; font-weight: 950; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 610px; margin: 31px 0 0; color: #babac0; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; }
.button-red { color: white; background: var(--red); }
.button-red:hover { background: var(--red-dark); }
.button-ghost { border-color: rgba(255,255,255,.28); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.07); }
.hero-points { display: flex; gap: 28px; padding: 0; margin: 32px 0 0; list-style: none; color: #dddde0; font-size: 13px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; color: var(--red); }
.hero-machine { position: relative; display: grid; place-items: center; min-height: 470px; }
.machine-frame { position: relative; width: min(440px, 100%); aspect-ratio: 1 / 1.06; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.33); background: linear-gradient(145deg, rgba(10,10,11,.65), rgba(255,255,255,.07)); backdrop-filter: blur(4px); }
.machine-frame::before, .machine-frame::after { content: ""; position: absolute; width: 70px; height: 70px; border-color: white; }
.machine-frame::before { left: -9px; top: -9px; border-left: 4px solid; border-top: 4px solid; }
.machine-frame::after { right: -9px; bottom: -9px; border-right: 4px solid; border-bottom: 4px solid; }
.machine-icon { width: 72%; height: 72%; filter: drop-shadow(0 24px 26px rgba(0,0,0,.38)); }
.machine-number { position: absolute; top: 18px; right: 23px; font-size: 12px; font-weight: 900; letter-spacing: .2em; }
.machine-caption { position: absolute; left: -34px; bottom: 28px; padding: 14px 19px; background: white; color: var(--ink); box-shadow: 0 15px 30px rgba(0,0,0,.25); }
.machine-caption span, .machine-caption strong { display: block; text-transform: uppercase; }
.machine-caption span { color: #7a7a80; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.machine-caption strong { font-size: 21px; font-style: italic; letter-spacing: -.04em; }
.hero-index { position: absolute; left: 24px; bottom: 19px; color: #67676c; font-size: 10px; letter-spacing: .3em; transform: rotate(-90deg); transform-origin: left bottom; }

.stock-section { padding: 100px 0 110px; background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(42px, 5.3vw, 72px); }
.text-link, .card-link { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.text-link svg, .card-link svg { width: 16px; transition: transform .2s; }
.text-link:hover svg, .card-link:hover svg { transform: translateX(4px); }
.moto-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.moto-card { background: white; border-bottom: 4px solid var(--ink); box-shadow: 0 13px 35px rgba(0,0,0,.07); transition: transform .2s, border-color .2s; }
.moto-card:hover { transform: translateY(-5px); border-color: var(--red); }
.moto-card-sold { border-bottom-color: #77777d; }
.moto-card-sold .moto-photo > img { filter: grayscale(.35) brightness(.72); }
.moto-photo { position: relative; width: 100%; min-height: 250px; display: grid; place-items: center; overflow: hidden; padding: 0; border: 0; background: #dedede; cursor: zoom-in; text-align: left; }
.moto-photo:focus-visible { outline: 4px solid var(--red); outline-offset: -4px; }
.sample-photo::after { content: ""; position: absolute; width: 120%; height: 25%; left: -10%; bottom: -4%; background: rgba(255,255,255,.55); transform: skewY(-5deg); }
.moto-photo > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s ease; }
.moto-card:hover .sample-photo img { transform: scale(1.035); }
.moto-card:hover .moto-photo > img { transform: scale(1.035); }
.photo-fallback { width: 46%; height: 46%; color: rgba(255,255,255,.85); }
.sample-1 { background: linear-gradient(145deg, #202026, #d30714); }
.sample-2 { background: linear-gradient(145deg, #c8c8cb, #151517 65%); }
.sample-3 { background: linear-gradient(145deg, #df0714, #480005); }
.demo-badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 10px; background: white; color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sold-badge { position: absolute; z-index: 4; left: 50%; top: 50%; padding: 13px 24px; color: white; border: 3px solid white; background: var(--red); box-shadow: 0 10px 28px rgba(0,0,0,.25); font-size: 22px; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; transform: translate(-50%,-50%) rotate(-7deg); }
.photo-index { position: absolute; z-index: 2; right: 15px; bottom: 10px; color: white; font-size: 38px; line-height: 1; font-weight: 950; font-style: italic; opacity: .7; }
.card-zoom-hint { position: absolute; z-index: 3; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; color: white; background: rgba(10,10,11,.78); backdrop-filter: blur(7px); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.card-zoom-hint svg { width: 14px; height: 14px; }
.moto-photo:hover .card-zoom-hint, .moto-photo:focus-visible .card-zoom-hint { opacity: 1; transform: translateY(0); }
.moto-card-body { padding: 23px; }
.moto-title-row { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.moto-title-row p { margin: 0 0 4px; color: #7b7b81; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.moto-title-row h3 { margin: 0; font-size: 23px; letter-spacing: -.04em; text-transform: uppercase; }
.moto-title-row strong { color: var(--red); white-space: nowrap; font-size: 20px; }
.moto-specs { display: flex; flex-wrap: wrap; gap: 8px 15px; padding: 17px 0; margin: 17px 0; color: #66666c; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; font-size: 12px; }
.moto-specs span { display: inline-flex; align-items: center; gap: 5px; }
.moto-specs svg { width: 14px; }
.moto-extra-specs { display: flex; flex-wrap: wrap; gap: 5px 10px; color: #77777d; font-size: 10px; line-height: 1.45; }
.moto-extra-specs span:not(:last-child)::after { content: "•"; margin-left: 10px; color: var(--red); }

.trust-strip { padding: 90px 0; color: white; background: var(--ink); }
.workshop-section { padding: 100px 0 110px; background: white; }
.workshop-heading { align-items: center; }
.workshop-heading h2 { max-width: 790px; }
.workshop-heading > p { max-width: 350px; color: #707076; line-height: 1.7; }
.workshop-grid { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 3px; }
.service-card, .workshop-callout { position: relative; min-height: 390px; padding: 38px; overflow: hidden; }
.service-card { color: white; background: var(--ink); }
.service-card.red-card { background: var(--red); }
.service-card > span { position: absolute; top: 31px; right: 31px; color: rgba(255,255,255,.42); font-size: 13px; font-weight: 950; letter-spacing: .15em; }
.service-icon { width: 57px; height: 57px; display: grid; place-items: center; color: white; border: 1px solid rgba(255,255,255,.28); }
.service-icon svg { width: 27px; height: 27px; }
.service-card h3, .workshop-callout h3 { margin: 72px 0 13px; font-size: 39px; line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.service-card p { max-width: 390px; color: rgba(255,255,255,.68); line-height: 1.65; }
.service-card a { position: absolute; left: 38px; bottom: 35px; display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.service-card a svg { width: 16px; }
.workshop-callout { display: flex; flex-direction: column; align-items: start; justify-content: center; color: var(--ink); background: var(--paper); }
.workshop-callout > svg { width: 34px; height: 34px; color: var(--red); }
.workshop-callout p { margin: 19px 0 0; color: #75757b; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.workshop-callout h3 { margin: 10px 0 27px; }
.trust-grid { display: grid; grid-template-columns: .65fr .65fr 1.7fr; align-items: center; gap: 55px; }
.trust-grid > div:not(.trust-copy) { padding-right: 30px; border-right: 1px solid var(--line); }
.big-number { display: block; color: var(--red); font-size: clamp(46px,5vw,78px); line-height: 1; font-weight: 950; letter-spacing: -.07em; }
.trust-grid p { color: #a9a9ae; line-height: 1.65; }
.trust-grid > div:not(.trust-copy) p { margin: 8px 0 0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.trust-copy h2 { font-size: clamp(40px, 5vw, 70px); }
.trust-copy > p:last-child { max-width: 520px; }

.site-footer { color: white; background: #060607; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.15fr .8fr; gap: 50px; padding: 65px 0 50px; }
.footer-logo { font-size: 26px; }
.footer-intro { max-width: 260px; color: #8c8c92; line-height: 1.6; }
.footer-grid h3 { margin: 2px 0 18px; color: #d7d7da; font-size: 11px; text-transform: uppercase; letter-spacing: .15em; }
.footer-grid > div > a, .footer-grid > div > p { display: flex; align-items: center; gap: 8px; margin: 11px 0; color: #929298; font-size: 13px; }
.footer-grid svg { width: 15px; color: var(--red); }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; color: #68686d; border-top: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.mobile-sheet { background: var(--ink) !important; color: white !important; border-color: #333 !important; }
.mobile-nav { display: flex; flex-direction: column; padding: 20px; }
.mobile-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 23px; font-weight: 900; text-transform: uppercase; }
.mobile-nav .mobile-reprise { color: var(--red); }
.mobile-call { margin: 20px; }

.reprise-hero > .container > p:last-child { max-width: 670px; }
.reprise-section { padding: 90px 0 110px; background: var(--paper); }
.reprise-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 0; box-shadow: 0 24px 60px rgba(0,0,0,.1); }
.reprise-aside { position: sticky; top: 26px; min-height: 735px; padding: 52px 43px; color: white; background: var(--ink); border-top: 5px solid var(--red); }
.reprise-aside h2 { margin: 0; font-size: clamp(43px, 4vw, 61px); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.reprise-aside > p:not(.eyebrow) { margin: 25px 0 35px; color: #a9a9af; line-height: 1.7; }
.reprise-aside ul { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.reprise-aside li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.reprise-aside li > svg { width: 23px; color: var(--red); }
.reprise-aside li span { color: #87878d; font-size: 12px; line-height: 1.5; }
.reprise-aside li strong { display: block; margin-bottom: 4px; color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.reprise-form { padding: 50px 48px 52px; background: white; }
.form-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.reprise-error { margin-bottom: 24px; padding: 15px 17px; color: #9f0009; border: 1px solid #f0b7bb; border-left: 4px solid var(--red); background: #fff0f1; font-size: 12px; font-weight: 800; line-height: 1.5; }
.reprise-form-heading { display: flex; align-items: center; gap: 16px; padding-bottom: 25px; margin-bottom: 28px; border-bottom: 1px solid #e4e4e4; }
.reprise-form-heading > span, .reprise-photo-heading > div > span { color: var(--red); font-size: 12px; font-weight: 950; letter-spacing: .12em; }
.reprise-form-heading p { margin: 0 0 5px; color: #88888e; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.reprise-form-heading h2, .reprise-photo-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; text-transform: uppercase; }
.reprise-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.reprise-fields label { display: grid; gap: 8px; color: #4f4f55; font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.reprise-fields input, .reprise-fields select, .reprise-fields textarea { width: 100%; min-height: 48px; padding: 0 14px; color: var(--ink); border: 1px solid #d9d9dc; border-radius: 2px; background: #fbfbfb; outline: none; transition: border-color .2s, box-shadow .2s; }
.reprise-fields textarea { min-height: 125px; padding: 13px 14px; line-height: 1.55; resize: vertical; }
.reprise-fields input:focus, .reprise-fields select:focus, .reprise-fields textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.1); }
.reprise-fields input::placeholder, .reprise-fields textarea::placeholder { color: #aaaab0; }
.reprise-wide-field { grid-column: 1 / -1; }
.reprise-input-icon { position: relative; display: block; }
.reprise-input-icon > svg { position: absolute; z-index: 1; left: 14px; top: 50%; width: 17px; color: var(--red); transform: translateY(-50%); }
.reprise-input-icon input { padding-left: 43px; }
.reprise-photo-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding: 35px 0 20px; margin-top: 7px; border-bottom: 1px solid #e4e4e4; }
.reprise-photo-heading > div { display: flex; align-items: center; gap: 12px; }
.reprise-photo-heading > p { max-width: 290px; margin: 0; color: #88888e; font-size: 10px; line-height: 1.5; text-align: right; }
.reprise-photo-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin-top: 20px; }
.reprise-photo-field { position: relative; min-height: 130px; display: grid; place-items: center; align-content: center; gap: 5px; padding: 12px 7px; overflow: hidden; color: #59595f; border: 1.5px dashed #c9c9cd; background: #fafafa; cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.reprise-photo-field:hover { border-color: var(--red); background: #fff6f6; }
.reprise-photo-field > svg { width: 25px; color: var(--red); }
.reprise-photo-field strong { font-size: 11px; text-transform: uppercase; }
.reprise-photo-field span { color: #99999f; font-size: 9px; }
.reprise-photo-field input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.reprise-photo-field.has-preview { padding: 0; border-style: solid; border-color: var(--red); background: #111; }
.reprise-photo-preview { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.reprise-photo-field .reprise-photo-change { position: absolute; z-index: 2; top: 7px; right: 7px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 7px; color: white; background: rgba(10,10,11,.82); font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.reprise-photo-change svg { width: 11px; height: 11px; }
.reprise-photo-field .reprise-photo-name { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 8px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.88)); font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.reprise-consent { display: flex; align-items: start; gap: 11px; margin-top: 25px; color: #68686e; font-size: 11px; line-height: 1.55; cursor: pointer; }
.reprise-consent input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--red); }
.reprise-submit { width: 100%; margin-top: 23px; border: 0; cursor: pointer; }
.reprise-destination { margin: 12px 0 0; color: #8a8a90; font-size: 10px; text-align: center; }
.reprise-destination strong { color: #55555a; }
.reprise-thanks { min-height: 620px; display: grid; place-items: center; padding: 70px 20px; background: var(--paper); }
.reprise-thanks-card { width: min(680px, 100%); padding: 65px; border-top: 5px solid var(--red); background: white; box-shadow: 0 25px 60px rgba(0,0,0,.1); text-align: center; }
.reprise-thanks-card > svg { width: 58px; height: 58px; color: var(--red); }
.reprise-thanks-card .eyebrow { justify-content: center; margin-top: 22px; }
.reprise-thanks-card h1 { margin: 0; font-size: clamp(65px, 9vw, 100px); line-height: .9; letter-spacing: -.07em; text-transform: uppercase; }
.reprise-thanks-card > p:not(.eyebrow) { max-width: 500px; margin: 24px auto 30px; color: #68686e; line-height: 1.7; }
.appointment-hero > .container > p:last-child { max-width: 720px; }
.appointment-aside { min-height: 720px; }
.appointment-status { display: inline-flex; padding: 5px 8px; color: white; font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.appointment-status-pending { background: #d98200; }
.appointment-status-confirmed { background: #18864b; }
.appointment-status-declined { background: #6d6d73; }
.appointment-item.appointment-pending { border-left-color: #d98200; }
.appointment-item.appointment-confirmed { border-left-color: #18864b; }
.appointment-item.appointment-declined { border-left-color: #6d6d73; opacity: .74; }
.appointment-slot { display: grid; gap: 4px; color: #4d4d53; font-size: 12px; text-align: right; text-transform: capitalize; }
.appointment-slot span { color: var(--red); font-size: 30px; line-height: 1; }
.appointment-details { grid-template-columns: repeat(3, minmax(0,1fr)); }
.appointment-message { display: grid; gap: 7px; margin: 17px 0 0; padding: 15px 17px; color: #66666c; border-left: 3px solid var(--red); background: white; font-size: 12px; line-height: 1.6; }
.appointment-message strong { color: #38383d; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.appointment-confirm { color: white !important; background: #18864b !important; }
.appointment-confirm:hover { background: #106a3a !important; }
.appointment-decline { color: #a10009 !important; border-color: #e1adb0 !important; }
.appointment-slot-picker { padding: 18px; border: 1px solid #dedee1; border-left: 4px solid var(--red); background: #fafafa; }
.appointment-slot-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.appointment-slot-picker select:disabled { color: #8b8b91; border-color: #dedee1; background: #ececec; cursor: not-allowed; }
.appointment-slot-picker option:disabled { color: #999; background: #e7e7e7; }
.appointment-slot-help { margin: 10px 0 0; color: #85858b; font-size: 10px; }
.appointment-no-slots { margin: 20px 0 0; padding: 15px 17px; color: #8a2028; border-left: 4px solid var(--red); background: #fff0f1; font-size: 12px; font-weight: 800; line-height: 1.55; }
.appointment-form .reprise-submit:disabled { opacity: .45; cursor: not-allowed; }

.page-hero { position: relative; padding: 88px 0 82px; color: white; background: var(--ink); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 34%; height: 180%; top: -40%; right: -8%; background: var(--red); transform: skewX(-12deg); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(58px, 9vw, 112px); }
.page-hero > .container > p:last-child { max-width: 580px; margin: 24px 0 0; color: #aaaab0; line-height: 1.7; }
.page-hero.compact { padding: 72px 0; }
.stock-page { min-height: 520px; }
.stock-count { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; color: #68686e; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.stock-count svg { width: 18px; color: var(--red); }
.moto-title-row h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; text-transform: uppercase; }

.detail-section { padding: 55px 0 100px; background: var(--paper); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: #5b5b61; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.back-link svg { width: 16px; }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; background: white; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.detail-gallery { min-width: 0; background: #161618; }
.detail-photo { position: relative; width: 100%; min-height: 610px; display: block; overflow: hidden; padding: 0; border: 0; background: #161618; }
.detail-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .35s ease; }
.gallery-main { cursor: zoom-in; }
.gallery-main:hover img { transform: scale(1.018); }
.gallery-main:focus-visible { outline: 4px solid var(--red); outline-offset: -4px; }
.zoom-hint { position: absolute; z-index: 3; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; color: white; background: rgba(10,10,11,.78); backdrop-filter: blur(8px); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.zoom-hint svg { width: 16px; }
.detail-fallback { width: 55%; height: 55%; position: absolute; left: 22.5%; top: 22.5%; color: #59595e; }
.detail-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding-top: 2px; }
.detail-thumbnails button { position: relative; padding: 0; overflow: hidden; border: 0; background: #111; cursor: zoom-in; }
.detail-thumbnails img { width: 100%; aspect-ratio: 4/3; display: block; object-fit: cover; transition: opacity .2s, transform .25s; }
.detail-thumbnails button > svg { width: 18px; height: 18px; position: absolute; left: 50%; top: 50%; color: white; opacity: 0; transform: translate(-50%,-50%); transition: opacity .2s; }
.detail-thumbnails button:hover img { opacity: .55; transform: scale(1.04); }
.detail-thumbnails button:hover > svg { opacity: 1; }
.detail-thumbnails button:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }

[data-slot="dialog-overlay"]:has(+ .photo-lightbox), body:has(.photo-lightbox[data-state="open"]) [data-slot="dialog-overlay"] { background: rgba(0,0,0,.92); backdrop-filter: blur(10px); }
.photo-lightbox { width: min(96vw, 1600px) !important; height: min(94vh, 980px); max-width: none !important; grid-template-rows: minmax(0,1fr) auto; gap: 0 !important; overflow: hidden; padding: 0 !important; color: white; border: 1px solid rgba(255,255,255,.15) !important; border-radius: 0 !important; background: #050506 !important; }
.lightbox-stage { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; background: #050506; }
.lightbox-stage > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 5; top: 14px; right: 14px; width: 46px; height: 46px; display: grid; place-items: center; color: white; border: 1px solid rgba(255,255,255,.25); background: rgba(10,10,11,.72); cursor: pointer; }
.lightbox-close:hover { background: var(--red); }
.lightbox-close svg { width: 24px; height: 24px; }
.lightbox-arrow { position: absolute; z-index: 4; top: 50%; width: 52px; height: 64px; display: grid; place-items: center; color: white; border: 1px solid rgba(255,255,255,.23); background: rgba(10,10,11,.7); transform: translateY(-50%); cursor: pointer; }
.lightbox-arrow:hover { background: var(--red); }
.lightbox-arrow.previous { left: 14px; }
.lightbox-arrow.next { right: 14px; }
.lightbox-arrow svg { width: 28px; height: 28px; }
.lightbox-footer { min-height: 62px; display: flex; align-items: center; gap: 22px; padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.13); background: #0b0b0c; }
.lightbox-footer span { color: var(--red); font-size: 12px; font-weight: 950; letter-spacing: .12em; }
.lightbox-footer p { margin: 0; color: #aaaab0; font-size: 12px; }
.detail-copy { padding: clamp(34px, 5vw, 68px); }
.detail-make { margin: 0 0 5px; color: #737379; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.detail-copy h1 { margin: 0; font-size: clamp(42px, 5.3vw, 72px); line-height: .95; letter-spacing: -.06em; text-transform: uppercase; }
.detail-price { display: block; margin-top: 20px; color: var(--red); font-size: 35px; letter-spacing: -.04em; }
.sold-eyebrow { color: var(--red) !important; }
.sold-detail-button { color: white; background: #5f5f65; cursor: default; }
.detail-specs { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 27px 0; margin: 27px 0; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.detail-specs div { display: flex; align-items: center; gap: 13px; }
.detail-specs svg { width: 20px; color: var(--red); }
.detail-specs span { color: #85858b; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.detail-specs strong { display: block; margin-top: 3px; color: var(--ink); font-size: 14px; letter-spacing: normal; }
.detail-description { color: #626268; line-height: 1.75; }
.example-note { margin-top: 20px; color: #96969b; font-size: 11px; line-height: 1.5; }

.contact-section { padding: 95px 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-copy h2 { margin: 0; max-width: 560px; font-size: clamp(43px, 5vw, 68px); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.contact-copy > p:not(.eyebrow) { max-width: 570px; margin: 25px 0 30px; color: #67676d; line-height: 1.75; }
.contact-card { padding: 42px; color: white; background: var(--ink); border-left: 5px solid var(--red); box-shadow: 0 25px 55px rgba(0,0,0,.15); }
.contact-card > div { display: flex; align-items: center; gap: 17px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card svg { width: 23px; color: var(--red); }
.contact-card span { color: #85858b; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.contact-card strong { display: block; margin-top: 5px; color: white; font-size: 15px; letter-spacing: normal; text-transform: none; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 280px 1fr; background: #f1f0ed; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 34px 28px; color: white; background: var(--ink); }
.admin-logo { font-size: 25px; }
.admin-user { margin-top: 46px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-user span { display: block; margin-bottom: 7px; color: #73737a; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.admin-user strong { display: block; overflow: hidden; color: #dadade; font-size: 12px; text-overflow: ellipsis; }
.admin-count { display: flex; align-items: center; gap: 13px; margin-top: 26px; padding: 17px; color: #b6b6bc; background: #18181b; border-left: 3px solid var(--red); font-size: 12px; }
.admin-count svg { width: 21px; color: var(--red); }
.admin-count strong { display: block; color: white; font-size: 22px; }
.admin-sidebar-links { display: grid; gap: 13px; margin-top: auto; }
.admin-sidebar-links a { display: flex; align-items: center; gap: 9px; color: #929299; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.admin-sidebar-links a:hover { color: white; }
.admin-sidebar-links svg { width: 16px; }
.admin-main { width: min(1040px, calc(100% - 60px)); margin: 0 auto; padding: 62px 0 90px; }
.admin-heading h1 { margin: 0; font-size: clamp(46px, 6vw, 74px); line-height: .92; letter-spacing: -.06em; text-transform: uppercase; }
.admin-heading > p:last-child { margin: 17px 0 0; color: #74747a; }
.admin-tabs { margin-top: 40px; }
.admin-tabs-list { height: auto !important; flex-wrap: wrap; gap: 3px !important; padding: 4px !important; background: #deddda !important; }
.admin-tabs-list button { height: 46px !important; padding: 0 20px !important; border-radius: 2px !important; font-weight: 850 !important; }
.admin-tabs-list button[data-state="active"] { color: white !important; background: var(--ink) !important; }
.admin-tab-count { min-width: 20px; height: 20px; display: inline-grid; place-items: center; margin-left: 3px; color: white; border-radius: 99px; background: var(--red); font-size: 10px; }
.admin-form { margin-top: 18px; padding: 38px; background: white; box-shadow: 0 16px 40px rgba(0,0,0,.06); border-top: 4px solid var(--red); }
.form-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 25px; margin-bottom: 28px; border-bottom: 1px solid #e4e4e4; }
.form-section-heading > div { display: flex; align-items: center; gap: 13px; }
.form-section-heading span { color: var(--red); font-size: 12px; font-weight: 950; }
.form-section-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; text-transform: uppercase; }
.form-section-heading p { margin: 0; color: #96969b; font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.admin-form label { display: grid; gap: 8px; color: #4c4c52; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.admin-form input, .admin-form textarea, .admin-select { min-height: 46px; border-radius: 2px !important; background: #fafafa !important; }
.admin-form textarea { min-height: 130px; padding-top: 13px; }
.admin-select { width: 100% !important; }
.full-field { margin-top: 20px; }
.wide-field { grid-column: 1 / -1; }
.upload-zone { position: relative; min-height: 175px; margin-top: 24px; place-items: center; align-content: center; gap: 7px !important; color: #333338 !important; border: 2px dashed #c7c7ca; background: #fafafa; cursor: pointer; text-align: center; }
.upload-zone:hover { border-color: var(--red); }
.upload-zone svg { width: 30px; height: 30px; color: var(--red); }
.upload-zone strong { font-size: 13px; }
.upload-zone span { color: #99999e; font-size: 10px; font-weight: 700; text-transform: none; letter-spacing: normal; }
.upload-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.admin-submit { min-height: 50px !important; margin-top: 26px; border-radius: 2px !important; background: var(--red) !important; font-weight: 900 !important; text-transform: uppercase; letter-spacing: .06em; }
.admin-submit:hover { background: var(--red-dark) !important; }
.inventory-panel { min-height: 360px; }
.inventory-list { display: grid; gap: 12px; }
.inventory-item { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 14px; border: 1px solid #e3e3e3; background: #fafafa; }
.inventory-photo { position: relative; width: 150px; height: 105px; display: grid; place-items: center; overflow: hidden; color: #76767c; background: #e9e9e9; }
.inventory-photo img { width: 100%; height: 100%; object-fit: cover; }
.inventory-photo > svg { width: 45px; height: 45px; }
.inventory-photo > span { position: absolute; left: 7px; top: 7px; padding: 5px 7px; color: white; font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.status-available { background: #18864b; }
.status-sold { background: var(--red); }
.inventory-info p { margin: 0 0 3px; color: #85858b; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.inventory-info h3 { margin: 0; font-size: 23px; letter-spacing: -.04em; text-transform: uppercase; }
.inventory-info > span { display: block; margin-top: 9px; color: #77777c; font-size: 11px; }
.inventory-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.inventory-actions button { min-width: 190px; border-radius: 2px !important; font-size: 11px; font-weight: 850; }
.sold-action { color: white !important; background: var(--ink) !important; }
.sold-action:hover { background: #303034 !important; }
.inventory-empty { min-height: 250px; display: grid; place-items: center; align-content: center; color: #77777d; text-align: center; }
.inventory-empty > svg { width: 42px; height: 42px; color: var(--red); }
.inventory-empty h3 { margin: 13px 0 0; color: var(--ink); font-size: 22px; text-transform: uppercase; }
.inventory-empty p { margin: 7px 0 0; font-size: 12px; }
.takeover-panel { min-height: 390px; }
.takeover-list { display: grid; gap: 17px; }
.takeover-item { padding: 25px; border: 1px solid #dededf; border-left: 4px solid var(--red); background: #fafafa; transition: opacity .2s; }
.takeover-item.takeover-processed { border-left-color: #77777d; opacity: .78; }
.takeover-item-header { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid #e2e2e4; }
.takeover-item-header h3 { margin: 8px 0 5px; font-size: 28px; letter-spacing: -.045em; text-transform: uppercase; }
.takeover-item-header p { display: flex; align-items: center; gap: 6px; margin: 0; color: #818187; font-size: 10px; }
.takeover-item-header p svg { width: 14px; color: var(--red); }
.takeover-status-new, .takeover-status-processed { display: inline-flex; padding: 5px 8px; color: white; font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.takeover-status-new { background: var(--red); }
.takeover-status-processed { background: #6d6d73; }
.takeover-price { color: var(--red); font-size: 22px; white-space: nowrap; }
.takeover-details { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; padding: 18px 0; }
.takeover-details > div { padding: 13px; background: white; border: 1px solid #e4e4e6; }
.takeover-details span { display: block; margin-bottom: 5px; color: #99999f; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.takeover-details strong { color: #2c2c31; font-size: 12px; }
.takeover-contact-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.takeover-contact-actions a { min-height: 39px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; color: #3f3f44; border: 1px solid #d5d5d8; background: white; font-size: 11px; font-weight: 800; }
.takeover-contact-actions a:hover { color: white; border-color: var(--red); background: var(--red); }
.takeover-contact-actions svg { width: 15px; }
.takeover-photos { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 7px; margin-top: 18px; }
.takeover-photos a { position: relative; min-height: 115px; overflow: hidden; background: #1a1a1c; }
.takeover-photos img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .25s, opacity .25s; }
.takeover-photos span { position: absolute; z-index: 1; left: 7px; bottom: 7px; padding: 5px 7px; color: white; background: rgba(10,10,11,.78); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.takeover-photos a:hover img { opacity: .72; transform: scale(1.04); }
.takeover-no-photo { margin: 17px 0 0; color: #8b8b91; font-size: 11px; }
.takeover-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 17px; border-top: 1px solid #e2e2e4; }
.takeover-actions button { border-radius: 2px !important; font-size: 10px; font-weight: 850; }
.admin-denied { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 15px; padding: 30px; color: white; background: var(--ink); text-align: center; }
.admin-denied > svg { width: 45px; height: 45px; color: var(--red); }
.admin-denied h1 { margin: 0; font-size: 50px; text-transform: uppercase; }
.admin-denied p { color: #aaaab0; }

@media (max-width: 980px) {
  .desktop-nav, .header-phone { display: none; }
  .mobile-menu { display: inline-flex !important; }
  .hero { min-height: auto; }
  .hero::before { width: 40%; right: -20%; }
  .hero-content { min-height: 620px; grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 2; max-width: 720px; }
  .hero-machine { display: none; }
  .moto-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .moto-card:last-child { grid-column: span 2; max-width: calc(50% - 11px); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .workshop-grid { grid-template-columns: 1fr 1fr; }
  .workshop-callout { grid-column: 1 / -1; min-height: 300px; }
  .trust-copy { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-photo { min-height: 520px; }
  .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .reprise-layout { grid-template-columns: 1fr; }
  .reprise-aside { position: relative; top: 0; min-height: auto; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; display: grid; grid-template-columns: 1fr auto; gap: 18px; }
  .admin-user { display: none; }
  .admin-count { margin: 0; }
  .admin-sidebar-links { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 0; }
  .inventory-item { grid-template-columns: 125px 1fr; }
  .inventory-photo { width: 125px; }
  .inventory-actions { grid-column: 1 / -1; flex-direction: row; }
  .inventory-actions button { min-width: 0; }
  .takeover-details { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .takeover-photos { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { height: 70px; }
  .hero-content { min-height: 620px; }
  .hero-copy { padding: 65px 0 80px; }
  .hero h1 { font-size: 51px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-points { flex-direction: column; gap: 11px; }
  .stock-section { padding: 75px 0; }
  .workshop-section { padding: 75px 0; }
  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-callout { grid-column: auto; }
  .service-card, .workshop-callout { min-height: 350px; padding: 30px 24px; }
  .service-card a { left: 24px; }
  .workshop-heading > p { margin: 0; }
  .card-zoom-hint { opacity: 1; transform: none; }
  .section-heading { align-items: start; flex-direction: column; }
  .moto-grid { grid-template-columns: 1fr; }
  .moto-card:last-child { grid-column: auto; max-width: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div:not(.trust-copy) { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 25px; }
  .trust-copy { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { gap: 10px; flex-direction: column; }
  .page-hero { padding: 65px 0; }
  .page-hero h1 { font-size: 59px; }
  .detail-section { padding-top: 30px; }
  .detail-photo { min-height: 360px; }
  .zoom-hint { right: 10px; bottom: 10px; padding: 9px 11px; }
  .photo-lightbox { width: 100vw !important; height: 100dvh; max-width: none !important; }
  .lightbox-arrow { width: 44px; height: 54px; }
  .lightbox-arrow.previous { left: 7px; }
  .lightbox-arrow.next { right: 7px; }
  .lightbox-footer { min-height: 58px; padding: 12px 14px; }
  .detail-copy { padding: 30px 24px 36px; }
  .contact-section { padding: 70px 0; }
  .contact-card { padding: 28px 22px; }
  .header-actions { gap: 6px; }
  .header-reprise { min-height: 39px; padding: 0 11px; font-size: 10px; }
  .header-reprise svg { display: none; }
  .reprise-section { padding: 55px 0 70px; }
  .reprise-aside { padding: 38px 24px; }
  .reprise-form { padding: 34px 19px 38px; }
  .reprise-fields { grid-template-columns: 1fr; }
  .reprise-wide-field { grid-column: auto; }
  .reprise-photo-heading { align-items: start; flex-direction: column; }
  .reprise-photo-heading > p { text-align: left; }
  .reprise-photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reprise-photo-field:last-child { grid-column: 1 / -1; }
  .reprise-thanks-card { padding: 45px 23px; }
  .admin-main { width: min(100% - 28px, 1040px); padding: 45px 0 70px; }
  .admin-sidebar { grid-template-columns: 1fr; padding: 25px 20px; }
  .admin-count { width: fit-content; }
  .admin-form { padding: 25px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .wide-field { grid-column: auto; }
  .form-section-heading { align-items: start; flex-direction: column; }
  .admin-tabs-list { width: 100% !important; }
  .admin-tabs-list button { padding-inline: 10px !important; font-size: 11px !important; }
  .inventory-item { grid-template-columns: 1fr; }
  .inventory-photo { width: 100%; height: 185px; }
  .inventory-actions { grid-column: auto; flex-direction: column; }
  .takeover-item { padding: 19px 14px; }
  .takeover-item-header { flex-direction: column; gap: 12px; }
  .takeover-details { grid-template-columns: 1fr 1fr; }
  .appointment-details { grid-template-columns: 1fr; }
  .appointment-slot { text-align: left; }
  .appointment-slot-fields { grid-template-columns: 1fr; }
  .takeover-contact-actions { flex-direction: column; }
  .takeover-contact-actions a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .takeover-photos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .takeover-actions { flex-direction: column; }
}
