/* =========================================================
   Bikes Nihon — Japanese Motorcycle Heritage
   Dark editorial · Vermillion #B33A3A · Soft gold #F2C94C
   Shippori Mincho + DM Sans · Snappy motion
   ========================================================= */

:root {
  --color-bg: #0A0A0B;
  --color-surface: #121214;
  --color-surface-2: #1a1a1e;
  --color-glass: rgba(255, 255, 255, 0.06);
  --color-glass-border: rgba(255, 255, 255, 0.08);
  --color-accent: #B33A3A;
  --color-accent-soft: #F2C94C;
  --color-accent-glow: rgba(179, 58, 58, 0.4);
  --color-text: #F5F5F4;
  --color-muted: #A8A29E;
  --color-ink: #0A0A0B;

  --font-display: 'Shippori Mincho', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;

  --space-section: clamp(3.25rem, 6vw, 5.5rem);
  --space-container: clamp(1rem, 4vw, 2.5rem);

  --dur-fast: 160ms;
  --dur-base: 320ms;
  --dur-slow: 560ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snappy: cubic-bezier(0.2, 0.9, 0.3, 1);

  --shadow-premium: 0 28px 56px -18px rgba(0, 0, 0, 0.75);
  --shadow-accent: 0 18px 44px -12px var(--color-accent-glow);
  --blur-glass: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

::selection {
  background: var(--color-accent);
  color: #fff;
}

.font-display {
  font-family: var(--font-display);
}

.text-accent { color: var(--color-accent); }
.text-accent-soft { color: var(--color-accent-soft); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Cursor glow — red tint */
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(179, 58, 58, 0.18) 0%, transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}
@media (pointer: fine) {
  body:hover .cursor-glow { opacity: 1; }
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* Textures */
.bg-noise {
  position: relative;
}
.bg-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}
.bg-noise > * { position: relative; z-index: 1; }

.bg-carbon {
  background-color: #0e0e10;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px),
    repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0,0,0,0.2) 2px, rgba(0,0,0,0.2) 4px);
}

.mesh-gradient {
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(179, 58, 58, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(242, 201, 76, 0.05), transparent 45%),
    var(--color-bg);
}

/* Glass */
.glass,
.glass-panel {
  background: var(--color-glass);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border: 1px solid var(--color-glass-border);
}

/* Header */
.site-header {
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft));
  transition: width 80ms linear;
}

/* Nav */
.primary-nav {
  display: none;
}
@media (max-width: 1023px) {
  .primary-nav {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out), visibility var(--dur-base);
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .primary-nav ul {
    text-align: center;
  }
  .primary-nav .nav-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    padding: 0.75rem 1rem;
  }
}
@media (min-width: 1024px) {
  .primary-nav {
    display: block !important;
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: transparent;
  }
}

.nav-link.is-active {
  color: var(--color-accent);
}
.nav-link.is-active::after,
.nav-link:hover::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 0.35rem;
  background: var(--color-accent);
  transform-origin: left;
  animation: linkIn 0.35s var(--ease-snappy);
}
@media (max-width: 1023px) {
  .nav-link.is-active::after,
  .nav-link:hover::after { display: none; }
}

@keyframes linkIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Buttons */
.btn-primary,
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-snappy), background var(--dur-base), border-color var(--dur-base), color var(--dur-base), box-shadow var(--dur-base);
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: #c44545;
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-soft);
}
.btn-primary::after,
.btn-ghost::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}
.btn-primary:active::after,
.btn-ghost:active::after {
  animation: ripple 0.5s var(--ease-out);
}
@keyframes ripple {
  to { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Inputs */
.input-field {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.input-field:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(179, 58, 58, 0.2);
}
.input-field::placeholder { color: #78716c; }
.field-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}
select.input-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8A29E' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Sections */
.section {
  padding-block: var(--space-section);
}
.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}
.section-lead {
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ========== HERO CAROUSEL ========== */
.hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1100px;
  overflow: hidden;
}
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-slide {
  height: 100%;
}
.hero-slide {
  position: relative;
}
.hero-slide__media {
  position: absolute;
  inset: 0;
}
.hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s var(--ease-out);
}
.swiper-slide-active .hero-slide__img {
  transform: scale(1);
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 10, 11, 0.88) 0%, rgba(10, 10, 11, 0.45) 48%, rgba(10, 10, 11, 0.55) 100%),
    linear-gradient(to top, rgba(10, 10, 11, 0.9) 0%, transparent 45%);
}
.hero-slide__glass {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(179, 58, 58, 0.08), transparent);
  pointer-events: none;
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 7rem var(--space-container) 5.5rem;
}
/* Visible by default — JS may animate from gsap.set opacity:0 */
.hero-eyebrow,
.hero-title .line,
.hero-sub,
.hero-cta,
.hero-stats,
.hero-text-fallback {
  opacity: 1;
  transform: none;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-title .line {
  overflow: hidden;
}
.hero-title .accent {
  color: var(--color-accent);
  font-style: italic;
}
/* 2s fallback if GSAP/Swiper never fires */
.hero-carousel.is-hero-fallback .hero-eyebrow,
.hero-carousel.is-hero-fallback .hero-title .line,
.hero-carousel.is-hero-fallback .hero-sub,
.hero-carousel.is-hero-fallback .hero-cta,
.hero-carousel.is-hero-fallback .hero-stats,
.hero-carousel.is-hero-fallback .floating-card {
  opacity: 1 !important;
  transform: none !important;
}

.hero-pagination {
  position: absolute !important;
  bottom: 2rem !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 5;
  width: auto !important;
  display: flex;
  gap: 0.5rem;
}
.hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  border-radius: 0;
  transition: width 0.3s var(--ease-snappy), background 0.3s;
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--color-accent);
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 11, 0.45);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: border-color var(--dur-base), background var(--dur-base), color var(--dur-base);
}
.hero-nav:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-soft);
  background: rgba(179, 58, 58, 0.15);
}
.hero-nav--prev { left: 1rem; }
.hero-nav--next { right: 1rem; }
@media (min-width: 1024px) {
  .hero-nav--prev { left: 1.5rem; }
  .hero-nav--next { right: 1.5rem; }
}

.hero-scroll-wrap {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
}
.scroll-indicator__line {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 1.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

.floating-card {
  background: rgba(18, 18, 20, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: floatY 5s ease-in-out infinite;
  z-index: 3;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1023px) {
  .hero-slide__content .floating-card {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 280px;
    margin-bottom: 0.75rem;
    animation: none;
  }
  .hero-slide__content .relative.min-h-\[160px\],
  .hero-slide__content .relative.min-h-\[180px\],
  .hero-slide__content .relative.min-h-\[220px\] {
    min-height: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

/* Cards */
.bike-card,
.news-card,
.category-card,
.dealer-card,
.feature-card {
  border-radius: 0;
}

/* ========== Category gallery carousel ========== */
.category-gallery-section {
  overflow: hidden;
}

.category-gallery {
  position: relative;
}

.category-gallery-swiper {
  padding-left: max(1rem, calc((100vw - 88rem) / 2 + 1rem));
  padding-right: 1rem;
  overflow: visible;
}

@media (min-width: 640px) {
  .category-gallery-swiper {
    padding-left: max(1.5rem, calc((100vw - 88rem) / 2 + 1.5rem));
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .category-gallery-swiper {
    padding-left: max(2.5rem, calc((100vw - 88rem) / 2 + 2.5rem));
    padding-right: 2.5rem;
  }
}

.category-gallery-swiper .swiper-slide {
  height: auto;
  transition: transform 0.55s var(--ease-out), opacity 0.45s ease;
  opacity: 0.72;
}

.category-gallery-swiper .swiper-slide-active,
.category-gallery-swiper .swiper-slide-next,
.category-gallery-swiper .swiper-slide-next + .swiper-slide {
  opacity: 1;
}

.category-card--gallery {
  aspect-ratio: 3 / 4;
  min-height: 360px;
  background: var(--color-surface, #121214);
  text-decoration: none;
  isolation: isolate;
}

@media (min-width: 768px) {
  .category-card--gallery {
    min-height: 420px;
  }
}

.category-card--gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  z-index: 3;
}

.category-card--gallery:hover::after,
.category-card--gallery:focus-visible::after {
  border-color: rgba(179, 58, 58, 0.55);
  box-shadow: inset 0 0 0 1px rgba(179, 58, 58, 0.25);
}

.category-card__index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
}

.category-card--gallery .category-card__desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
}

.category-card--gallery:hover .category-card__desc,
.category-card--gallery:focus-visible .category-card__desc,
.swiper-slide-active .category-card--gallery .category-card__desc {
  max-height: 4.5rem;
  opacity: 1;
  transform: translateY(0);
}

.category-card__cta {
  opacity: 0.75;
}

.category-card--gallery:hover .category-card__cta,
.swiper-slide-active .category-card--gallery .category-card__cta {
  opacity: 1;
}

.category-gallery__navs {
  display: flex;
  gap: 0.5rem;
}

.category-gallery__nav {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 11, 0.55);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.category-gallery__nav:hover,
.category-gallery__nav:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent-soft, #f5c2c2);
  background: rgba(179, 58, 58, 0.18);
  outline: none;
}

.category-gallery__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.category-gallery__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.category-gallery__progress {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.category-gallery__progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0.18);
  background: linear-gradient(90deg, var(--color-accent), #e8a0a0);
  transition: transform 0.45s var(--ease-out, ease);
}

.category-gallery__pagination {
  position: static !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: auto !important;
}

.category-gallery__pagination .swiper-pagination-bullet {
  width: 22px;
  height: 3px;
  border-radius: 0;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.22);
  opacity: 1;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.category-gallery__pagination .swiper-pagination-bullet-active {
  width: 40px;
  background: var(--color-accent);
}

@media (max-width: 639px) {
  .category-card--gallery {
    min-height: 320px;
  }

  .category-card--gallery .category-card__desc {
    max-height: 4.5rem;
    opacity: 1;
    transform: none;
  }
}

/* Timeline */
.timeline-dot {
  border-radius: 0;
  box-shadow: 0 0 0 4px rgba(179, 58, 58, 0.2);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .gallery-item:nth-child(2) { grid-column: span 3; }
  .gallery-item:nth-child(3) { grid-column: span 2; }
  .gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
  .gallery-item:nth-child(6) { grid-column: span 2; }
}
.gallery-item { height: 100%; min-height: 160px; }
.gallery-item img { height: 100%; }

/* Testimonials */
.testimonials-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  border-radius: 0;
}
.testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--color-accent);
}

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, rgba(179, 58, 58, 0.12), rgba(18, 18, 20, 0.9));
}

/* Page hero */
.page-hero {
  min-height: auto;
}
.page-hero--compact {
  min-height: 0;
}

/* Category jump nav */
.category-jump__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  transition: color var(--dur-base), border-color var(--dur-base), background var(--dur-base);
  text-decoration: none;
}
.category-jump__link:hover,
.category-jump__link:focus-visible {
  color: #fff;
  border-color: var(--color-accent);
  background: rgba(179, 58, 58, 0.12);
}

.category-band {
  scroll-margin-top: 7rem;
}

.scroll-mt-28 {
  scroll-margin-top: 7rem;
}

/* FAQ */
.faq-item summary::-webkit-details-marker { display: none; }

/* AOS snappier defaults override */
[data-aos] {
  pointer-events: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide__img { transform: none !important; }
  .floating-card { animation: none; }
  .scroll-indicator__line { animation: none; }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Utility */
.max-w-8xl { max-width: 88rem; }
.duration-400 { transition-duration: 400ms; }
.duration-600 { transition-duration: 600ms; }
.border-white\/8 { border-color: rgba(255, 255, 255, 0.08); }

/* Responsive — keep hero + sections usable */
@media (max-width: 1023px) {
  .hero-carousel {
    height: auto;
    min-height: 100svh;
    min-height: 100dvh;
    max-height: none;
  }

  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-slide {
    height: auto;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-slide__content {
    padding: 5.5rem var(--space-container) 6.5rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 8vw, 3.75rem);
  }

  .hero-nav {
    width: 44px;
    height: 44px;
    bottom: 1.5rem;
    top: auto;
    transform: none;
  }

  .hero-nav--prev { left: 1rem; }
  .hero-nav--next { right: 1rem; }

  .hero-pagination {
    bottom: 1.35rem !important;
  }

  .hero-scroll-wrap {
    display: none;
  }

  .primary-nav {
    max-height: calc(100svh - var(--header-h, 4.5rem));
    overflow-y: auto;
  }

  .category-jump {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 639px) {
  .hero-cta a {
    min-height: 44px;
  }
}
