:root {
  font-size: 16px;
  --bg: #fff;
  --bg-contrast: #fff;
  --card: #fff;
  --card-muted: #f8f8f8;
  --text: #0f0e0d;
  --muted: #6e6b68;
  --accent: #0f0e0d;
  --accent-strong: #0f0e0d;
  --border: #e5e5e5;
  --brand-serif: "Playfair Display", "Times New Roman", serif;
  --font-secondary: "Playfair Display", "Times New Roman", serif;
  --brand-sans: "Source Sans Pro", "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  /* Safe area insets for mobile browsers */
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-inset-left: env(safe-area-inset-left, 0px);
  --safe-area-inset-right: env(safe-area-inset-right, 0px);
}

html {
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--brand-sans);
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  /* Add padding for safe areas on mobile */
  padding-bottom: var(--safe-area-inset-bottom);
}

body.nav-open {
  overflow: hidden;
}

/* Hide chat widget behind menu overlay */
body.nav-open .chat-widget {
  z-index: 999;
}

img {
  max-width: 100%;
  display: block;
  background: #000;
}

video {
  background: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.site-header nav a {
  color: var(--muted);
  font-weight: 500;
}

.site-header nav a:hover {
  color: var(--text);
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 5rem;
}

.home-page .site-main {
  max-width: 1280px;
  padding: 6.5rem 1.5rem 5rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: 3rem;
}

.hero__content h1 {
  margin-bottom: 1rem;
}

.hero__content h1:not(.lux-heading) {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.hero__content .lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__card {
  background: var(--card-muted);
  padding: 1.5rem;
  border-radius: 0;
  border: 1px solid var(--border);
}

.hero__stat {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.hero__stat-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.section {
  margin-bottom: 3rem;
}

.section__heading {
  margin-bottom: 1.5rem;
}

.section__heading h2,
.section__heading h1 {
  margin: 0.25rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-family: var(--font-secondary);
}

.lux-heading {
  font-family: "Arial", sans-serif;
  font-size: clamp(1.875rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.056rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.serif-copy {
  font-family: var(--font-secondary);
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.section__filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.section__filters ul {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.section__filters a {
  color: var(--text);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0;
}


.wheel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.wheel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.wheel-card:hover {
  transform: translateY(-4px);
}

.wheel-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wheel-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fff;
  border-radius: 0;
}

.wheel-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.wheel-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: opacity 0.4s ease;
}

.wheel-card__image--primary {
  opacity: 1;
  z-index: 1;
}

.wheel-card__image--secondary {
  opacity: 0;
  z-index: 2;
}

.wheel-card:hover .wheel-card__image--primary {
  opacity: 0;
}

.wheel-card:hover .wheel-card__image--secondary {
  opacity: 1;
}

.wheel-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wheel-card__wishlist:hover {
  transform: scale(1.1);
  background: #f5f5f5;
}

.wheel-card__wishlist svg {
  width: 20px;
  height: 20px;
  stroke: #0f0e0d;
}

.wheel-card__body {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wheel-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #0f0e0d;
  line-height: 1.4;
}

.wheel-card__price {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #6e6b68;
}

.category-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--card);
  margin-bottom: 1.5rem;
}

.category-panel__wheels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.cta-panel {
  background: #f8f8f8;
  padding: 2.5rem;
  border-radius: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid var(--border);
}

.cta-panel__actions {
  display: flex;
  gap: 1rem;
}

.detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.detail__media {
  background: var(--card);
  border-radius: 0;
  padding: 2rem;
  border: 1px solid var(--border);
}

.detail__media img {
  width: 100%;
}

.detail__content .detail__price {
  font-size: 1.3rem;
  font-weight: 600;
}

.category-tag {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  border-radius: 0;
  background: var(--card-muted);
  border: 1px solid var(--border);
}

.detail__highlights {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.5rem;
}

.detail__highlights li::before {
  content: "•";
  color: #0f0e0d;
  margin-right: 0.5rem;
}

/* ============================================
   Wheel Detail Page - Dior-Style Layout
   ============================================ */

.wheel-detail-page {
  background: #fff;
  color: #0f0e0d;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.wheel-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

@media (max-width: 900px) {
  .wheel-detail__layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .wheel-detail-page {
    padding-top: 1rem;
  }
}

/* Left: Scrolling Images Column */
.wheel-detail__media-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wheel-detail__image-wrapper {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.wheel-detail__image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}

/* Right: Sticky Info Column */
.wheel-detail__info-column {
  position: relative;
  height: fit-content;
}

.wheel-detail__info {
  position: sticky;
  top: 100px;
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .wheel-detail__info {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

.wheel-detail__name {
  font-family: var(--font-secondary, Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.5rem 0;
  color: #0f0e0d;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.wheel-detail__category {
  font-size: 0.9rem;
  color: #6e6b68;
  margin: 0 0 2rem 0;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

/* Action Buttons */
.wheel-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.wheel-detail__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid;
  letter-spacing: 0.02em;
}

.wheel-detail__btn--primary {
  background: #0f0e0d;
  color: #fff;
  border-color: #0f0e0d;
}

.wheel-detail__btn--primary:hover {
  background: #4a4a4a;
  border-color: #4a4a4a;
}

.wheel-detail__price {
  font-weight: 500;
}

.wheel-detail__btn--secondary {
  background: #fff;
  color: #0f0e0d;
  border-color: #d9d9d9;
}

.wheel-detail__btn--secondary:hover {
  border-color: #0f0e0d;
}

/* Description Section */
.wheel-detail__description-section {
  margin-top: 2rem;
  border-top: 1px solid #e5e5e5;
  padding-top: 2rem;
}

.wheel-detail__tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.wheel-detail__tab {
  background: none;
  border: none;
  padding: 0 0 0.75rem 0;
  font-size: 0.9rem;
  color: #0f0e0d;
  cursor: default;
  position: relative;
  letter-spacing: 0.02em;
}

.wheel-detail__tab--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #0f0e0d;
}

.wheel-detail__tab-content {
  padding-top: 0.5rem;
}

.wheel-detail__description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #0f0e0d;
  margin: 0;
}

.wheel-detail__specs {
  margin-top: 1.5rem;
}

.wheel-detail__spec-line {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #0f0e0d;
  margin: 0 0 1.25rem 0;
}

.wheel-detail__spec-line:last-child {
  margin-bottom: 0;
}

.wheel-detail__spec-line strong {
  font-weight: 600;
}

.wheel-detail__spec-line em {
  font-style: italic;
}

/* Featured Vehicles Slider */
.wheel-detail__vehicles-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.wheel-detail__vehicles-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #0f0e0d;
  margin: 0 0 1rem 0;
  letter-spacing: 0.02em;
}

.wheel-detail__vehicles-slider {
  position: relative;
  width: 100%;
}

.wheel-detail__vehicles-track {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.wheel-detail__vehicle-slide {
  flex: 0 0 100%;
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8f8f8;
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.wheel-detail__vehicle-slide.fading-out {
  opacity: 0;
}

.wheel-detail__vehicle-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wheel-detail__vehicle-slide:hover img {
  transform: scale(1.03);
}

.wheel-detail__vehicle-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}

.wheel-detail__vehicle-name {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Vehicle Slider Navigation Arrows */
.wheel-detail__vehicles-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 1.5rem));
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0.7;
  mix-blend-mode: difference;
}

.wheel-detail__vehicles-slider:hover .wheel-detail__vehicles-arrow {
  opacity: 1;
}

.wheel-detail__vehicles-arrow span {
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
  font-weight: 300;
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.wheel-detail__vehicles-arrow:hover {
  opacity: 1;
}

.wheel-detail__vehicles-arrow--prev {
  left: 0.75rem;
}

.wheel-detail__vehicles-arrow--next {
  right: 0.75rem;
}

.wheel-detail__vehicles-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0f0e0d;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.wheel-detail__vehicles-link:hover {
  opacity: 0.7;
}

/* Desktop Gallery - Show by default, hide on mobile */
.wheel-detail__desktop-gallery {
  display: block;
}

.wheel-detail__image-wrapper:hover {
  opacity: 0.95;
}

/* Swipe Gallery - Responsive for mobile aspect ratios */
.wheel-detail__mobile-gallery {
  display: none;
  position: relative;
}

/* Show swipe gallery on narrow/tall viewports (mobile-like aspect ratio) */
@media (max-aspect-ratio: 4/3) {
  .wheel-detail__mobile-gallery {
    display: block;
  }
  
  .wheel-detail__desktop-gallery {
    display: none;
  }
}

.wheel-detail__mobile-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wheel-detail__mobile-track::-webkit-scrollbar {
  display: none;
}

.wheel-detail__mobile-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  aspect-ratio: 4 / 5;
}

.wheel-detail__mobile-slide img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #fff;
}

/* Mobile Gallery Dots */
.wheel-detail__mobile-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  z-index: 5;
}

.wheel-detail__mobile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #0f0e0d;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wheel-detail__mobile-dot.active {
  background: #0f0e0d;
  border-color: #0f0e0d;
}

/* Lightbox Styles - Dior Layout */
.wheel-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(245, 245, 245, 0.95);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wheel-lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-lightbox.is-visible {
  opacity: 1;
}

.wheel-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: #0f0e0d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.wheel-lightbox__close:hover {
  opacity: 0.7;
}

.wheel-lightbox__container {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  max-height: 90vh;
  padding: 2rem;
  gap: 1.5rem;
}

.wheel-lightbox__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
}

.wheel-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0.7;
  z-index: 5;
}

.wheel-lightbox__arrow span {
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  color: #0f0e0d;
}

.wheel-lightbox__arrow:hover {
  opacity: 1;
}

.wheel-lightbox__arrow--prev {
  left: 1rem;
}

.wheel-lightbox__arrow--next {
  right: 1rem;
}

.wheel-lightbox__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.wheel-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Sidebar with thumbnails */
.wheel-lightbox__sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  gap: 0.5rem;
}

.wheel-lightbox__sidebar-arrow {
  width: 100%;
  height: 32px;
  background: none;
  border: none;
  color: #0f0e0d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.wheel-lightbox__sidebar-arrow:hover {
  opacity: 1;
}

.wheel-lightbox__thumbnails {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  max-height: calc(90vh - 100px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wheel-lightbox__thumbnails::-webkit-scrollbar {
  display: none;
}

.wheel-lightbox__thumb {
  width: 100px;
  height: 100px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.2s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.wheel-lightbox__thumb:hover {
  opacity: 0.7;
}

.wheel-lightbox__thumb.is-active {
  opacity: 1;
}

.wheel-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .wheel-detail__mobile-gallery {
    display: block;
    padding: 0 1rem;
  }
  
  .wheel-detail__desktop-gallery {
    display: none;
  }
  
  .wheel-detail__mobile-slide {
    cursor: pointer;
  }
  
  .wheel-detail__vehicles-arrow {
    opacity: 0.8;
    width: 32px;
    height: 32px;
  }
  
  .wheel-detail__vehicles-arrow span {
    font-size: 1.5rem;
  }
  
  .wheel-detail__vehicles-arrow--prev {
    left: 0.5rem;
  }
  
  .wheel-detail__vehicles-arrow--next {
    right: 0.5rem;
  }
  
  /* Lightbox adjustments for mobile - thumbnails at bottom */
  .wheel-lightbox__container {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .wheel-lightbox__main {
    flex: 1;
    order: 1;
  }
  
  .wheel-lightbox__sidebar {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    order: 2;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
  }
  
  .wheel-lightbox__sidebar-arrow {
    display: none;
  }
  
  .wheel-lightbox__thumbnails {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.5rem;
    padding: 0.5rem 0;
    max-width: calc(100vw - 2rem);
  }
  
  .wheel-lightbox__thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  
  .wheel-lightbox__arrow {
    width: 36px;
    height: 36px;
  }
  
  .wheel-lightbox__arrow span {
    font-size: 1.8rem;
  }
}

/* Related Wheels Section */
.wheel-detail__related {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3.5rem);
  background: #fff;
}

.wheel-detail__related-title {
  font-family: var(--font-secondary, Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  text-align: center;
  margin: 0 0 3rem 0;
  color: #0f0e0d;
  letter-spacing: 0.05em;
}

/* Related Wheels Carousel */
.related-wheels-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.related-wheels-carousel__track-wrapper {
  flex: 1;
  overflow: hidden;
}

.related-wheels-carousel__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
}

.related-wheels-carousel__slide {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: 0;
}

.related-wheels-carousel__slide .wheel-card {
  width: 100%;
}

.related-wheels-carousel__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f0e0d;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.related-wheels-carousel__arrow:hover:not(:disabled) {
  background: #333;
}

.related-wheels-carousel__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .related-wheels-carousel__slide {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 768px) {
  .related-wheels-carousel__slide {
    flex: 0 0 calc(50% - 0.75rem);
  }
  
  .related-wheels-carousel__arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 500px) {
  .related-wheels-carousel {
    gap: 0.5rem;
  }
  
  .related-wheels-carousel__track {
    gap: 0.75rem;
  }
  
  .related-wheels-carousel__slide {
    flex: 0 0 calc(50% - 0.375rem);
  }
  
  .related-wheels-carousel__arrow {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(15, 14, 13, 0.8);
  }
  
  .related-wheels-carousel__arrow--prev {
    left: 0.25rem;
  }
  
  .related-wheels-carousel__arrow--next {
    right: 0.25rem;
  }
}

/* ============================================
   Gallery Page Styles - Updated Theme
   ============================================ */

.gallery-page {
  background: #fff;
  color: #0f0e0d;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-bottom: 4rem;
}

/* Gallery Header */
.gallery-header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  gap: 1rem;
}

.gallery-header__left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.gallery-header__title {
  font-family: var(--brand-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin: 0;
  color: var(--text);
}

.gallery-header__right {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}

/* Filter Controls */
.gallery-filters {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.gallery-filter-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text);
  display: flex;
  align-items: center;
  height: 44px;
}

.gallery-clear-btn {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text);
  display: flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.gallery-clear-btn.hidden {
  display: none;
}

.gallery-filter-label.hidden {
  display: none;
}

.gallery-clear-btn:hover {
  opacity: 0.6;
}

.gallery-filter,
.gallery-search {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 140px;
  width: auto;
  flex: 1;
  max-width: 180px;
}

.gallery-filter__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.gallery-filter select,
.gallery-search input {
  background: var(--bg-contrast);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  padding: 0.65rem 2.2rem 0.65rem 0.85rem;
  font-size: 0.9rem;
  min-width: 180px;
  height: 44px;
  appearance: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-filter select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%236e6b68' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
}

.gallery-search input {
  cursor: text;
}

.gallery-filter select:focus,
.gallery-search input:focus {
  outline: none;
  border-color: #0f0e0d;
  box-shadow: 0 0 0 2px rgba(15, 14, 13, 0.15);
}

.gallery-filter select option {
  background: #fff;
  color: var(--text);
}

.gallery-search input::placeholder {
  color: var(--muted);
}

@media (min-width: 641px) {
  .gallery-search .gallery-filter__label {
    display: none;
  }
  
  .gallery-search input {
    width: 100%;
  }
}

.gallery-empty {
  text-align: center;
  color: var(--muted);
  padding: 4rem 2rem;
  font-size: 1.05rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.gallery-load-more {
  display: flex;
  justify-content: center;
  padding: 2rem 0 0;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-header {
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
  }
  
  .gallery-header__right {
    display: block;
    width: 100%;
  }
  
  .gallery-filters {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    justify-items: stretch;
  }
  
  .gallery-filter,
  .gallery-search {
    width: 100%;
    max-width: none;
  }
  
  .gallery-filter-label {
    display: none;
  }

  .gallery-clear-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
  
  .gallery-filter select,
  .gallery-search input {
    width: 100%;
    min-width: unset;
  }

  .gallery-search {
    grid-column: span 1;
  }
}

/* Gallery Card */
.gallery-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--card-muted);
}

.gallery-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card__image img {
  transform: scale(1.03);
}

.gallery-card__content {
  padding: 1.1rem 0 0.6rem;
}

.gallery-card__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.gallery-card__wheel-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-left: 3px solid #0f0e0d;
  padding-left: 0.7rem;
}

.gallery-card__wheel-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
}

.gallery-card__wheel-category {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hide legacy hero block */
.gallery-hero,
.gallery-hero__title,
.gallery-hero__subtitle,
.gallery-controls {
  display: none;
}

/* ============================================
   Gallery Detail Page Styles - Elegant Design
   ============================================ */

.gallery-detail-page {
  background: #fff;
  color: #0f0e0d;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 2rem 0 4rem;
}

.gallery-detail__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 4rem);
}

.gallery-detail__back {
  display: inline-block;
  color: #6e6b68;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.gallery-detail__back:hover {
  color: #0f0e0d;
}

.gallery-detail__layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .gallery-detail__layout {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }
}

/* Gallery Detail - Media Column */
.gallery-detail__media-column {
  position: relative;
}

/* Desktop Gallery - Scrollable vertical images */
.gallery-detail__desktop-gallery {
  display: block;
}

.gallery-detail__image-wrapper {
  cursor: pointer;
  transition: opacity 0.2s ease;
  margin-bottom: 1rem;
}

.gallery-detail__image-wrapper:last-child {
  margin-bottom: 0;
}

.gallery-detail__image-wrapper:hover {
  opacity: 0.95;
}

.gallery-detail__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile Gallery - Horizontal swipe */
.gallery-detail__mobile-gallery {
  display: none;
  position: relative;
}

@media (max-aspect-ratio: 4/3) {
  .gallery-detail__mobile-gallery {
    display: block;
  }
  
  .gallery-detail__desktop-gallery {
    display: none;
  }
}

.gallery-detail__mobile-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-detail__mobile-track::-webkit-scrollbar {
  display: none;
}

.gallery-detail__mobile-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.gallery-detail__mobile-slide img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.gallery-detail__mobile-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  z-index: 5;
}

.gallery-detail__mobile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #0f0e0d;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-detail__mobile-dot.active {
  background: #0f0e0d;
  border-color: #0f0e0d;
}

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(245, 245, 245, 0.98);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.is-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.is-visible {
  opacity: 1;
}

.gallery-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  color: #0f0e0d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.gallery-lightbox__close:hover {
  opacity: 0.7;
}

.gallery-lightbox__container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 95vw;
  max-height: 90vh;
  gap: 1rem;
  flex-direction: column;
}

.gallery-lightbox__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  width: 100%;
}

.gallery-lightbox__arrow {
  background: none;
  border: none;
  color: #0f0e0d;
  cursor: pointer;
  padding: 1rem;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.gallery-lightbox__arrow:hover {
  opacity: 0.7;
}

.gallery-lightbox__image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 85vh;
  overflow: hidden;
}

.gallery-lightbox__image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.gallery-lightbox__thumbnails {
  display: none;
}

.gallery-lightbox__thumb {
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  background: #e8e6e3;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.gallery-lightbox__thumb:hover,
.gallery-lightbox__thumb:focus,
.gallery-lightbox__thumb.active {
  border-color: #0f0e0d;
  outline: none;
}

.gallery-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-lightbox__dots {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery-lightbox__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #0f0e0d;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-lightbox__dot.active,
.gallery-lightbox__dot:hover {
  background: #0f0e0d;
}

/* Mobile Gallery Lightbox - thumbnails at bottom */
@media (max-width: 768px) {
  .gallery-lightbox__container {
    flex-direction: column;
    padding: 0.5rem;
    max-height: none;
    height: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .gallery-lightbox__main {
    flex: 1;
    order: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .gallery-lightbox__thumbnails {
    display: flex;
    flex-direction: row;
    width: 100%;
    order: 2;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0;
    max-width: calc(100vw - 1rem);
  }
  
  .gallery-lightbox__dots {
    display: none;
  }
  
  .gallery-lightbox__arrow {
    padding: 0.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }
  
  .gallery-lightbox__arrow--prev {
    left: 0.5rem;
  }
  
  .gallery-lightbox__arrow--next {
    right: 0.5rem;
  }
  
  .gallery-lightbox__image-wrapper {
    max-height: 80vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .gallery-lightbox__image {
    max-height: 80vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

/* Hidden utility class */
.hidden {
  display: none !important;
}

/* Legacy gallery detail styles (kept for compatibility) */
.gallery-detail__images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-detail__main-image {
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-detail__main-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 70vh;
}

.gallery-detail__thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gallery-detail__thumb {
  width: 80px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  background: #e8e6e3;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.gallery-detail__thumb:hover,
.gallery-detail__thumb:focus {
  border-color: #0f0e0d;
  outline: none;
}

.gallery-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-detail__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 100px;
  align-self: start;
}

.gallery-detail__title {
  font-family: var(--brand-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  color: #0f0e0d;
}

.gallery-detail__wheel-name {
  font-size: 1rem;
  font-weight: 500;
  color: #6e6b68;
  margin: 0;
}

.gallery-detail__description {
  margin: 0;
  color: #0f0e0d;
  line-height: 1.7;
  font-size: 0.95rem;
}

.gallery-detail__specs {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e5e5e5;
}

.gallery-detail__spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.gallery-detail__spec:last-child {
  border-bottom: none;
}

.gallery-detail__spec-label {
  font-size: 0.8rem;
  color: #6e6b68;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-detail__spec-value {
  font-weight: 500;
  color: #0f0e0d;
}

.gallery-detail__cta {
  display: inline-block;
  background: #0f0e0d;
  color: #fff;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  transition: background 0.2s ease;
  margin-top: 0.5rem;
}

.gallery-detail__cta:hover {
  background: #4a4a4a;
}

/* Legacy styles - hidden */
.gallery-detail,
.gallery-detail__body,
.gallery-detail__wheel,
.gallery-detail__wheel-info,
.gallery-detail__wheel-category,
.gallery-detail__media {
  display: none;
}
.gallery-detail__meta {
  display: none;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-grid article {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

.about-grid article h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
  margin: 0 0 0.5rem;
}

.section__heading-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
  display: inline-block;
  margin: 0.5rem 0 1rem 0;
}

.about-grid article p,
.about-grid article ol {
  margin: 0 0 1rem;
}

.about-grid article ol {
  padding-left: 1.25rem;
}

.timeline {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.timeline ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.timeline__year {
  font-weight: 700;
  margin-right: 0.5rem;
}

.site-footer {
  max-width: 1200px;
  margin: 4rem auto 3rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
}

.site-footer__left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer__left p {
  margin: 0;
}

.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.site-footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__icon {
  display: inline-flex;
  color: var(--text);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__icon:hover {
  opacity: 0.6;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .site-footer__right {
    align-items: flex-start;
    width: 100%;
  }

  .site-footer__links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
  }

  .site-footer__social {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
  }
}

.link {
  color: #0f0e0d;
  text-decoration: underline;
}

.content-panel,
.form-card {
  background: var(--bg-contrast);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem;
  box-shadow: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-grid__full {
  grid-column: 1 / -1;
}

.form-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--border);
  background: var(--card-muted);
  color: var(--text);
  padding: 0.85rem 1rem;
  font: inherit;
}

.form-card textarea {
  resize: vertical;
}

.alert {
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .site-header__inner {
    flex-wrap: wrap;
  }
  .hero {
    padding: 1.5rem;
  }
}

.hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 20;
  color: #fff;
  mix-blend-mode: difference;
  transition: transform 0.4s ease, opacity 0.4s ease, background 0.3s ease, mix-blend-mode 0.3s ease, padding 0.3s ease;
}

/* Solid header when scrolled */
.hero-nav.hero-nav--solid {
  background: #fff;
  color: #0f0e0d;
  mix-blend-mode: normal;
  padding: 0.8rem 2rem;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

/* Pages that always have solid header (no hero) */
.page-solid-header .hero-nav {
  background: #fff;
  color: #0f0e0d;
  mix-blend-mode: normal;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

/* Hide header when in hero video section */
.hero-nav.hero-nav--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.hero-nav__menu {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  justify-self: start;
}

.hero-nav__menu-text {
  display: inline;
  line-height: 1;
  position: relative;
  top: 1px;
}

@media (max-width: 768px) {
  .hero-nav__menu-text {
    display: none;
  }
  
  .hero-nav__menu {
    gap: 0;
  }
}

.hero-nav__hamburger,
.hero-nav__hamburger::before,
.hero-nav__hamburger::after {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  display: block;
}

.hero-nav__hamburger {
  position: relative;
}

.hero-nav__hamburger::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.hero-nav__hamburger::after {
  position: absolute;
  bottom: -7px;
  left: 0;
}

.hero-nav__brand {
  font-family: var(--brand-serif);
  letter-spacing: 0.3em;
}

.hero-nav__icons {
  display: flex;
  gap: 1rem;
  justify-self: end;
}

.hero-nav__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: currentColor;
  transition: opacity 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hero-nav__icon:hover {
  opacity: 0.7;
}

.hero-nav__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

/* Search button states */
.hero-nav__search-close {
  display: none !important;
}

.hero-nav.search-open .hero-nav__search-btn {
  display: none !important;
}

.hero-nav.search-open .hero-nav__search-close {
  display: grid !important;
}

.overlay-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 14, 13, 0.97);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.overlay-menu li {
  margin: 0.75rem 0;
}

.overlay-menu__close {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.overlay-menu__close svg {
  width: 26px;
  height: 26px;
}

.overlay-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.hero-video {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -6.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-video__media {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  object-fit: cover;
}

.hero-video__media::cue {
  display: none;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
}

.hero-video__content {
  position: absolute;
  bottom: 10%;
  left: 5%;
  color: #fff;
  max-width: 420px;
}

.hero-video__content h1 {
  font-family: var(--font-secondary);
  margin: 0 0 1rem;
}

.hero-video__title {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: clamp(1.87rem, 4vw, 2.6rem);
  font-weight: 200;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.hero-video__cta {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  color: #fef5e6;
  padding: 0.6rem 1.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero-video__cta:hover,
.hero-video__cta:focus-visible {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.shop-hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -6.5rem;
  overflow: hidden;
  isolation: isolate;
}

.shop-hero__media {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 90vh;
  min-height: 90svh;
  object-fit: cover;
  background: #000;
}

.shop-hero__media::cue {
  display: none;
}

.shop-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.75), rgba(7, 6, 5, 0.25));
}

.shop-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  gap: 1rem;
}

.shop-hero__label {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.shop-hero__title {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.shop-hero__cta-heading {
  font-family: var(--brand-serif);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Scroll Arrow Animation */
.shop-hero__scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 1rem;
  z-index: 10;
  animation: bounceArrow 2s ease-in-out infinite;
  transition: opacity 0.2s ease;
}

.shop-hero__scroll-arrow:hover {
  opacity: 0.7;
}

.shop-hero__scroll-arrow svg {
  width: 32px;
  height: 32px;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.shop-gifts {
  text-align: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 5rem clamp(1rem, 4vw, 4rem) 6rem;
}

.shop-gifts__intro {
  margin-bottom: 2.5rem;
  color: var(--text);
}

.shop-gifts__title {
  font-family: var(--brand-serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem 0;
}

.shop-gifts__subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.shop-gifts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: 0;
}

.shop-gifts__card {
  position: relative;
  display: block;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  aspect-ratio: 3 / 4;
  text-decoration: none;
}

.shop-gifts__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.shop-gifts__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.shop-gifts__card h3 {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--brand-serif);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  margin: 0;
  z-index: 2;
}

.shop-gifts__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75));
  z-index: 1;
}

.shop-gifts__card img {
  display: block;
}

@media (max-width: 900px) {
  .shop-gifts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.8rem, 4vw, 1.5rem);
  }
}

@media (max-width: 640px) {
  .shop-gifts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .shop-gifts__card {
    aspect-ratio: 3 / 4;
  }

  .shop-gifts__card h3 {
    font-size: 1rem;
    bottom: 1rem;
  }
}

.category-hero {
  text-align: center;
  padding: 2rem clamp(1rem, 5vw, 4rem) 1.5rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

@media (max-width: 640px) {
  .category-hero {
    padding-top: 1rem;
  }
}

.category-hero--centered {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
}

.category-hero__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.category-hero__tagline {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  margin: 1rem 0 0;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.category-list {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 clamp(1rem, 4vw, 3.5rem) 4rem;
}

.category-list__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  justify-content: center;
}

@media (max-width: 1200px) {
  .category-list__grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
}

@media (max-width: 900px) {
  .category-list__grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 500px) {
  .category-list {
    padding: 0 1rem 4rem;
  }
  
  .category-list__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  
  .category-list__item {
    width: 100%;
  }
  
  .category-list__media {
    aspect-ratio: 1 / 1;
  }
}

.category-list__item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.category-list__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #fff;
  border-radius: 0;
}

.category-list__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
  transition: opacity 0.45s ease, transform 0.6s ease;
}

/* Letterbox mode for images that aren't 3:4 (e.g., 4:5 images)
   Uses contain instead of cover so full image shows with white space on top/bottom */
.category-list__image--letterbox {
  object-fit: contain;
}

.category-list__image--primary {
  opacity: 1;
  z-index: 1;
}

.category-list__image--secondary {
  opacity: 0;
  z-index: 2;
}

.category-list__body {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  align-items: center;
}

.category-list__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #0f0e0d;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}

.category-list__price {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #6e6b68;
  font-size: 1rem;
}

@media (hover: hover) {
  .category-list__item:hover .category-list__image--primary {
    opacity: 0;
    transform: scale(1.02);
  }

  .category-list__item:hover .category-list__image--secondary {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* Category label above wheel name */
.category-list__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #a8a5a1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* Pagination */
.category-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 3rem 0 2rem;
}

.category-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.2s ease;
}

.category-pagination__link:hover {
  border-color: var(--muted);
}

.category-pagination__link--active {
  border-color: var(--text);
  font-weight: 500;
}

.category-pagination__link--prev,
.category-pagination__link--next {
  min-width: auto;
  padding: 0 0.5rem;
}

.category-pagination__link--prev svg,
.category-pagination__link--next svg {
  stroke: var(--text);
}

.hero-video__dots {
  position: absolute;
  right: 2rem;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-video__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  opacity: 0.6;
}

.hero-video__dots .active {
  background: #fff;
  opacity: 1;
}

/* ============================================
   Hero Slides - Multi-section scroll carousel
   ============================================ */

.hero-slides-container {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -6.5rem;
  height: calc(100vh * var(--slide-count, 3));
  background: #000;
}

.hero-slide {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  will-change: clip-path;
  clip-path: inset(0 0 0 0);
  transition: clip-path 160ms ease-out;
  background: #000;
}

.hero-slide--swiping-up {
  clip-path: inset(0 0 100% 0);
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background: #000;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: -1;
}

.hero-slide__content {
  position: relative;
  padding: 0 clamp(4%, 5vw, 6%) clamp(8%, 10vw, 12%);
  color: #fff;
  max-width: 650px;
  z-index: 1;
}

.hero-slide__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.75rem;
}

.hero-slide__title {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.2rem;
  line-height: 1.15;
}

.hero-slide__subtitle {
  font-family: var(--brand-serif, Georgia, serif);
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 440px;
}

.hero-slide__cta {
  display: inline-block;
  background: #0f0e0d;
  border: 1px solid #0f0e0d;
  border-radius: 0;
  color: #fff;
  padding: 0.85rem 2.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-slide__cta:hover {
  background: #4a4a4a;
  border-color: #4a4a4a;
  color: #fff;
}

/* Slide navigation dots */
.hero-slides__dots {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 15;
}

/* Hide dots when menu is open */
body.nav-open .hero-slides__dots {
  opacity: 0;
  pointer-events: none;
}

.hero-slides__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slides__dot:hover {
  border-color: #fff;
  transform: scale(1.2);
}

.hero-slides__dot.active {
  background: #fff;
  border-color: #fff;
}

/* Hide dots when past hero sections */
.hero-slides__dots.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-slide {
    transition: clip-path 120ms ease-out;
  }

  .hero-slide__content {
    padding: 0 6% 18%;
  }
  
  .hero-slides__dots {
    right: 1rem;
    gap: 0.6rem;
  }
  
  .hero-slides__dot {
    width: 8px;
    height: 8px;
  }
}

/* ============================================
   Narrative Blocks - Patek Philippe Style
   ============================================ */

.narrative-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 6rem);
  max-width: 1500px;
  margin: 0 auto;
}

.narrative-block__media {
  position: relative;
  width: 100%;
  max-width: 650px;
  overflow: hidden;
  order: 2;
}

.narrative-block__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: #000;
}

.narrative-block__content {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Scroll animation - starts slightly higher */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  order: 1;
  justify-self: start;
}

/* When scroll animation triggers */
.narrative-block__content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image-left variation: media left (order 1), content right (order 2) */
.narrative-block--image-left .narrative-block__media {
  order: 1;
  justify-self: start;
}

.narrative-block--image-left .narrative-block__content {
  order: 2;
  justify-self: end;
}

/* Image-right variation: content left (order 1), media right (order 2) - default behavior */
.narrative-block--image-right .narrative-block__content {
  order: 1;
  justify-self: start;
}

.narrative-block--image-right .narrative-block__media {
  order: 2;
  justify-self: end;
}

.narrative-block__content .eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e6b68;
  margin-bottom: 0.75rem;
}

.narrative-block__content .lux-heading {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f0e0d;
  line-height: 1.3;
  margin: 0 0 1.5rem;
}

.narrative-block__content .serif-copy {
  font-family: var(--brand-serif, Georgia, serif);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 400;
  color: #0f0e0d;
  line-height: 1.8;
  margin: 0 0 2rem;
}

.narrative-block__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Pill button - outlined style */
.pill-button--outline,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #0f0e0d;
  border-radius: 0;
  color: #0f0e0d;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.pill-button--outline:hover,
.ghost-button:hover {
  background: #0f0e0d;
  color: #fff;
}

/* Filled button style */
.pill-button:not(.pill-button--outline) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #0f0e0d;
  border-radius: 0;
  color: #fff;
  background: #0f0e0d;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.pill-button:not(.pill-button--outline):hover {
  background: #4a4a4a;
  border-color: #4a4a4a;
}

/* Image caption */
.narrative-block__caption {
  font-family: var(--brand-serif, Georgia, serif);
  font-size: 0.85rem;
  color: #6e6b68;
  margin-top: 1rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .narrative-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }
  
  /* On mobile, stack with media on top, content below for ALL variants */
  .narrative-block__media,
  .narrative-block--image-right .narrative-block__media,
  .narrative-block--image-left .narrative-block__media {
    order: 1 !important;
  }
  
  .narrative-block__content,
  .narrative-block--image-right .narrative-block__content,
  .narrative-block--image-left .narrative-block__content {
    order: 2 !important;
    max-width: 100%;
  }
}

/* ============================================
   Narrative Hero Card - Full-width with overlay
   ============================================ */

.narrative-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 0;
  max-width: 1500px;
  margin: 0 auto;
}

.narrative-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #0f0e0d;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.narrative-carousel__dot.active,
.narrative-carousel__dot:hover {
  background: #0f0e0d;
}

.narrative-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  max-width: 1100px;
  margin: 4rem auto;
}

.narrative-hero-card__media {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}

.narrative-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.narrative-hero-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #fff;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.narrative-hero-card__content .pill-button {
  padding: 0.9rem 2rem;
  font-size: 0.7rem;
  width: auto;
  display: inline-flex;
  align-self: flex-start;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.narrative-hero-card__content .pill-button:hover {
  background: #fff;
  color: #0f0e0d;
}

.narrative-hero-card__content h2 {
  margin-bottom: 1rem;
}

.narrative-hero-card__content h2:not(.lux-heading) {
  font-family: var(--brand-serif);
  font-size: clamp(2rem, 4vw, 3rem);
}

.narrative-hero-card__content p {
  margin-bottom: 1.5rem;
}

.story-panel {
  background: var(--bg-contrast);
  border-radius: 32px;
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  margin-top: -5rem;
  position: relative;
  z-index: 10;
}

.story-panel h2 {
  font-family: var(--brand-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.story-panel__actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.collection-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.collection-card {
  background: var(--bg-contrast);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.collection-card h3 {
  font-family: var(--brand-serif);
}

.collection-card__thumbs img {
  width: 140px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.15));
}

.ghost-button,
.pill-button,
.btn {
  border-radius: 0;
  padding: 0.65rem 1.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-button {
  background: #0f0e0d;
  color: #fff;
  border: 1px solid #0f0e0d;
}

.pill-button--outline {
  background: transparent;
  border: 1px solid #0f0e0d;
  color: #0f0e0d;
}

.ghost-button {
  border: 1px solid #0f0e0d;
  color: #0f0e0d;
  background: transparent;
}

@media (max-width: 768px) {
  .hero-nav {
    padding: 1rem;
  }

  .hero-video__content {
    max-width: 90%;
  }

  .hero-video__dots {
    display: none;
  }

  .story-panel {
    padding: 2rem;
    margin-top: -3rem;
  }

  .narrative-block {
    margin: 3rem 0;
  }

  .narrative-block__media {
    min-height: 260px;
  }
}

/* ============================================
   Search Panel - Patek Philippe Style
   ============================================ */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 19;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.3s ease;
}

.search-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-panel__bar {
  padding: 5rem 2rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.search-panel__form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(15, 14, 13, 0.3);
  gap: 0.5rem;
}

.search-panel__input {
  flex: 1;
  padding: 0.75rem 0;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: rgba(15, 14, 13, 0.97);
  font-family: var(--brand-sans);
}

.search-panel__input:focus {
  outline: none;
}

.search-panel__input::placeholder {
  color: rgba(15, 14, 13, 0.5);
}

.search-panel__submit {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(15, 14, 13, 0.6);
  transition: color 0.2s ease;
}

.search-panel__submit:hover {
  color: rgba(15, 14, 13, 0.97);
}

.search-panel__submit svg {
  width: 20px;
  height: 20px;
}

/* Header state when search is open */
.hero-nav.search-open {
  background: #fff;
  mix-blend-mode: normal;
  color: rgba(15, 14, 13, 0.97);
}

/* ============================================
   Search Results Page
   ============================================ */
.search-page {
  padding: 2rem 0;
}

.search-header {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.search-form {
  width: 100%;
}

.search-input-wrapper {
  display: flex;
  align-items: stretch;
  border-bottom: 2px solid var(--text);
}

.search-input {
  flex: 1;
  padding: 1rem 0;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  color: var(--text);
}

.search-input:focus {
  outline: none;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-submit {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.search-submit:hover {
  opacity: 0.6;
}

.search-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.search-tab {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.search-tab:hover {
  color: var(--text);
}

.search-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.search-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}

.search-empty p {
  margin: 0 0 0.5rem 0;
}

.search-empty__hint {
  font-size: 0.9rem;
}

.search-category {
  margin-bottom: 4rem;
}

.search-category__header {
  text-align: center;
  margin-bottom: 2rem;
}

.search-category__title {
  font-family: var(--brand-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  margin: 0 0 0.5rem 0;
}

.search-category__desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.search-results-grid {
  display: grid;
  gap: 1.5rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.search-results-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .search-results-grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .search-results-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .search-results-grid--4 {
    grid-template-columns: 1fr;
  }
  
  /* Wheels: 2 per row on mobile */
  .search-results-grid--wheels {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }
  
  /* Gallery: 1 per row on mobile */
  .search-results-grid--gallery {
    grid-template-columns: 1fr !important;
  }
}

.search-result-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s ease;
}

.search-result-card:hover {
  opacity: 0.8;
}

.search-result-card__image {
  overflow: hidden;
  background: var(--card-muted);
  margin-bottom: 0.75rem;
}

.search-result-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.search-result-card__info {
  text-align: center;
}

.search-result-card__subtitle {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.search-result-card__title {
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
}

.search-category__more {
  text-align: center;
  margin-top: 2rem;
}

.btn-view-all {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2rem;
  transition: opacity 0.2s ease;
}

.btn-view-all:hover {
  opacity: 0.85;
}

.search-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 1rem 0;
}

.search-pagination__btn {
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.search-pagination__btn:hover {
  opacity: 0.6;
}

.search-pagination__info {
  font-size: 0.85rem;
  color: var(--muted);
}
/* ============================================
   CHAT WIDGET
   ============================================ */

.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  font-family: var(--brand-sans);
}

/* Bubble button */
.chat-widget__bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0f0e0d;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-widget__bubble--nudge {
  animation: bubble-nudge 0.2s ease-in-out 0s 5;
}

.chat-widget__bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.chat-widget__bubble-text {
  display: none;
}

.chat-widget.is-open .chat-widget__bubble {
  display: none;
}

/* Chat box */
.chat-widget__box {
  display: none;
  flex-direction: column;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.chat-widget.is-open .chat-widget__box {
  display: flex;
}

/* Header */
.chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #0f0e0d;
  color: #fff;
}

.chat-widget__header-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.chat-widget__header-title {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.chat-widget__header-status {
  font-size: 0.75rem;
  opacity: 0.7;
}

.chat-widget__header-actions {
  display: flex;
  gap: 0.5rem;
}

.chat-widget__minimize,
.chat-widget__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.chat-widget__minimize:hover,
.chat-widget__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Messages area */
.chat-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #f9f9f9;
}

/* Hide message composer until Start Chat */
.chat-widget:not(.has-started) .chat-widget__input-area {
  display: none;
}

.chat-widget__welcome {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-widget__welcome p {
  margin: 0 0 0.5rem 0;
}

.chat-widget__welcome p:last-child {
  margin-bottom: 0;
}

/* User info form */
.chat-widget__user-form {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-widget__user-form.is-hidden {
  display: none;
}

.chat-widget__user-form.has-error {
  border: 2px solid #dc3545;
  animation: shake 0.4s ease-in-out;
}

.chat-widget__form-error {
  color: #dc3545;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem;
  background: #fff5f5;
  border-radius: 6px;
  margin-bottom: 0.25rem;
}

.chat-widget__user-input.has-error {
  border-color: #dc3545;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes bubble-nudge {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  15% { transform: translateX(-3px) rotate(-4deg); }
  30% { transform: translateX(3px) rotate(4deg); }
  45% { transform: translateX(-2px) rotate(-3deg); }
  60% { transform: translateX(2px) rotate(3deg); }
  75% { transform: translateX(-1px) rotate(-2deg); }
  90% { transform: translateX(1px) rotate(2deg); }
}

.chat-widget__user-input {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 16px; /* Prevents iOS zoom on focus */
  outline: none;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.chat-widget__user-input:focus {
  border-color: #0f0e0d;
}

.chat-widget__start-btn {
  padding: 0.75rem 1rem;
  background: #0f0e0d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-family: inherit;
}

.chat-widget__start-btn:hover {
  opacity: 0.85;
}

.chat-widget__start-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-widget__message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-widget__message--user {
  align-self: flex-end;
  background: #0f0e0d;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-widget__message--assistant {
  align-self: flex-start;
  background: #fff;
  color: #0f0e0d;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-widget__typing {
  align-self: flex-start;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 4px;
}

.chat-widget__typing-dot {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.chat-widget__typing-dot:nth-child(1) { animation-delay: 0s; }
.chat-widget__typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-widget__typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* Input area */
.chat-widget__input-area {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.chat-widget__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  font-size: 16px; /* Prevents iOS zoom on focus */
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-widget__input:focus {
  border-color: #0f0e0d;
}

.chat-widget__send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #0f0e0d;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.chat-widget__send:hover {
  opacity: 0.8;
}

.chat-widget__send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile adjustments - fullscreen chat */

/* Freeze page behind chat (mobile) - must be outside media query */
html.chat-open,
body.chat-open {
  overflow: hidden !important;
}

html.chat-open {
  position: fixed;
  width: 100%;
  height: 100%;
}

body.chat-open {
  position: fixed !important;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
}

/* Allow interactions inside chat while background is locked */
.chat-widget {
  touch-action: manipulation;
}

.chat-widget__messages {
  overscroll-behavior: contain;
}

/* Disable chat scrolling until the user starts chat (name/email step) */
.chat-widget:not(.has-started) .chat-widget__messages {
  overflow-y: hidden;
}

@media (max-width: 480px) {
  .chat-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .chat-widget.is-open {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    z-index: 9999;
    background: #fff;
  }

  /* Box stays hidden until is-open */
  .chat-widget__box {
    display: none;
  }
  
  .chat-widget.is-open .chat-widget__box {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    transform: none;
    z-index: 9999;
    background: #fff;
  }

  .chat-widget__bubble {
    width: 56px;
    height: 56px;
  }
  
  .chat-widget__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  
  .chat-widget__messages {
    flex: 1;
    overflow-y: auto;
    max-height: none;
    -webkit-overflow-scrolling: touch;
    /* Keep content at top, don't justify */
    justify-content: flex-start;
  }

  /* Ensure no scroll/jank on the contact info step */
  .chat-widget:not(.has-started) .chat-widget__messages {
    overflow-y: hidden;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: contain;
  }
  
  /* Keep welcome and form visible at top */
  .chat-widget__welcome,
  .chat-widget__user-form {
    flex-shrink: 0;
  }
  
  .chat-widget__input-area {
    padding: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    flex-shrink: 0;
    background: #fff;
  }
  
  /* Prevent iOS zoom on ALL text inputs */
  .chat-widget__input,
  .chat-widget__user-input {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
    /* Prevent Safari from scrolling on focus */
    -webkit-appearance: none;
  }
}

/* Notification badge */
.chat-widget__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  display: none;
}

.chat-widget__badge.has-unread {
  display: flex;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page {
  min-height: 100vh;
  padding: 2.25rem 1.5rem 4rem;
  background: var(--bg);
}

.contact-page__container {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-page__header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-page__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-page__title {
  font-family: var(--brand-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  margin: 0 0 0.65rem 0;
}

.contact-page__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

.contact-page__alert {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 1rem 1.5rem;
  border-radius: 0;
  text-align: center;
  font-size: 0.95rem;
}

.contact-page__alert--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-page__alert--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-page__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-page__info-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0;
}

.contact-page__info-card h3 {
  font-family: var(--brand-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1.5rem 0;
}

.contact-page__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-page__item:last-child {
  margin-bottom: 0;
}

.contact-page__icon {
  width: 44px;
  height: 44px;
  background: var(--card-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-page__icon svg {
  width: 20px;
  height: 20px;
}

.contact-page__detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-page__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.contact-page__link {
  font-size: 1rem;
  color: var(--text);
  transition: opacity 0.2s ease;
}

.contact-page__link:hover {
  opacity: 0.7;
}

.contact-page__cta-card {
  background: #0f0e0d;
  color: #fff;
  padding: 2rem;
  border-radius: 0;
}

.contact-page__cta-card h4 {
  font-family: var(--brand-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.5rem 0;
}

.contact-page__cta-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0 0 1.25rem 0;
}

.contact-page__cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #0f0e0d;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-page__cta-btn:hover {
  opacity: 0.9;
}

.contact-page__form-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 0;
}

.contact-page__form-card h3 {
  font-family: var(--brand-serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0 0 0.5rem 0;
}

.contact-page__form-card > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 2rem 0;
}

.contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-page__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-page__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-page__form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.contact-page__form-group input,
.contact-page__form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s ease;
  border-radius: 0;
}

.contact-page__form-group input:focus,
.contact-page__form-group textarea:focus {
  outline: none;
  border-color: var(--text);
}

.contact-page__form-group input::placeholder,
.contact-page__form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.contact-page__form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-page__submit-btn {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  background: #0f0e0d;
  color: #fff;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s ease;
  margin-top: 0.5rem;
  opacity: 1;
  visibility: visible;
}

.contact-page__submit-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .contact-page {
    padding: 7rem 1rem 3rem;
  }

  .contact-page__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-page__form-row {
    grid-template-columns: 1fr;
  }

  .contact-page__info {
    order: 2;
    display: flex;
    flex-direction: column-reverse;
  }

  .contact-page__form-wrapper {
    order: 1;
  }
}

/* ============================================
   REQUEST QUOTE PAGE
   ============================================ */

.quote-page {
  min-height: 100vh;
  padding: 2rem 1.5rem 3.5rem;
  background: var(--bg);
}

.quote-page__container {
  max-width: 700px;
  margin: 0 auto;
}

.quote-page__header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.quote-page__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.quote-page__title {
  font-family: var(--brand-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 0.75rem 0;
}

.quote-page__subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

.quote-page__alert {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 0;
  font-size: 0.9rem;
}

.quote-page__alert--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.quote-page__alert:empty {
  display: none;
}

.quote-page__form-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 2rem;
}

.quote-page__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .quote-page__form-row {
    grid-template-columns: 1fr;
  }
}

.quote-page__form-group {
  margin-bottom: 1.25rem;
}

.quote-page__form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.quote-page__form-group label .required {
  color: #c00;
}

.quote-page__form-group input,
.quote-page__form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid #d1d1d1;
  background: #fafafa;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.quote-page__form-group input:focus,
.quote-page__form-group textarea:focus {
  outline: none;
  border-color: var(--fg);
  background: #fff;
}

.quote-page__form-group input::placeholder,
.quote-page__form-group textarea::placeholder {
  color: #999;
}

.quote-page__form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.quote-page__helper {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.quote-page__error {
  display: block;
  font-size: 0.8rem;
  color: #c00;
  margin-top: 0.35rem;
}

.quote-page__submit-btn {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #0f0e0d;
  color: #fff;
  border: 1px solid #0f0e0d;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 0.5rem;
}

.quote-page__submit-btn:hover {
  background: #333;
  border-color: #333;
  transform: translateY(-1px);
}

/* ============================================
   reCAPTCHA NOTICE STYLING
   ============================================ */

.recaptcha-notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #f8f8f8;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

.recaptcha-notice a {
  color: #0f0e0d;
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  opacity: 0.8;
}

/* Hide the default reCAPTCHA badge - we show our own notice */
.grecaptcha-badge {
  visibility: hidden !important;
}
