/* =========================================================
   Japan Bike Center — Flagship Editorial Luxury
   Black #0a0a0a · Crimson #c41e3a · Paper
   ========================================================= */

:root {
  --ink: #0a0a0a;
  --ink-soft: #0d0d0d;
  --ink-elevated: #141414;
  --crimson: #c41e3a;
  --crimson-deep: #a81830;
  --crimson-glow: rgba(196, 30, 58, 0.35);
  --paper: #f5f2eb;
  --mute: #a8a29e;
  --line: #2a2a2a;
  --glass: rgba(245, 242, 235, 0.06);
  --glass-border: rgba(245, 242, 235, 0.14);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  background-color: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
  cursor: auto;
}

body.has-custom-cursor {
  cursor: none;
}

body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .btn-crimson,
body.has-custom-cursor .btn-outline,
body.has-custom-cursor .magnetic,
body.has-custom-cursor .tilt-card,
body.has-custom-cursor input,
body.has-custom-cursor select,
body.has-custom-cursor textarea,
body.has-custom-cursor .faq-btn,
body.has-custom-cursor .tag-pill {
  cursor: none;
}

/* ---------- Noise + mesh atmosphere ---------- */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  opacity: 0.045;
  mix-blend-mode: overlay;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 30, 58, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(196, 30, 58, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(196, 30, 58, 0.05), transparent 60%);
}

main,
footer,
#site-header {
  position: relative;
  z-index: 1;
}

.page-main {
  opacity: 1;
  transition: opacity 0.45s var(--ease-out);
}

.page-main.is-leaving {
  opacity: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10050;
  padding: 0.75rem 1rem;
  background: var(--crimson);
  color: var(--paper);
  font-size: 0.875rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  transition: opacity 0.7s var(--ease-lux), visibility 0.7s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  min-width: min(280px, 70vw);
}

.loader-brand {
  font-size: 2.75rem;
  color: var(--paper);
  line-height: 1;
}

.loader-jp {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--crimson);
}

.loader-track {
  margin-top: 1.75rem;
  height: 2px;
  background: rgba(245, 242, 235, 0.1);
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson), #e85a6f);
  box-shadow: 0 0 18px var(--crimson-glow);
  transition: width 0.15s linear;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 9998;
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson));
  box-shadow: 0 0 12px var(--crimson-glow);
  transform-origin: left;
  pointer-events: none;
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease;
  mix-blend-mode: difference;
}

body.has-custom-cursor .cursor.is-active {
  opacity: 1;
}

.cursor-cross {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 242, 235, 0.85);
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out), border-color 0.25s;
}

.cursor-cross::before,
.cursor-cross::after {
  content: "";
  position: absolute;
  background: rgba(245, 242, 235, 0.7);
}

.cursor-cross::before {
  width: 1px;
  height: 10px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cursor-cross::after {
  width: 10px;
  height: 1px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cursor-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.35), transparent 65%);
  opacity: 0.55;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.cursor.is-hover .cursor-cross {
  transform: scale(1.55);
  border-color: var(--crimson);
}

.cursor.is-hover .cursor-glow {
  transform: scale(1.4);
  opacity: 0.85;
}

/* ---------- Navigation ---------- */
#site-header .nav-shell {
  background: transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s, backdrop-filter 0.4s;
}

#site-header.is-scrolled .nav-shell {
  background: rgba(10, 10, 10, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ---------- Editorial primitives ---------- */
.red-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--crimson), transparent);
}

.red-rule.mx-auto {
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
}

.editorial-kicker {
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  color: var(--crimson);
  text-transform: none;
}

.magazine-number {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 235, 0.1);
  line-height: 0.85;
}

.section-pad {
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

/* ---------- Buttons ---------- */
.btn-crimson,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  will-change: transform;
}

.btn-crimson {
  background: var(--crimson);
  color: var(--paper);
}

.btn-crimson::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}

.btn-crimson:hover {
  background: var(--crimson-deep);
  box-shadow: 0 14px 36px var(--crimson-glow);
}

.btn-crimson:hover::before {
  transform: translateX(120%);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--paper);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.magnetic {
  display: inline-block;
}

/* ---------- Glass / cards ---------- */
.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  background: rgba(10, 10, 10, 0.45);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--paper);
}

.glass-card,
.info-card {
  border: 1px solid var(--line);
  border-top: 1px solid var(--crimson);
  background:
    linear-gradient(180deg, rgba(196, 30, 58, 0.08), transparent 45%),
    rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.35s, transform 0.45s var(--ease-out), box-shadow 0.45s;
}

.glass-card:hover,
.info-card:hover {
  border-color: rgba(196, 30, 58, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ---------- Image zoom / reveal ---------- */
.img-zoom,
.img-reveal {
  overflow: hidden;
  position: relative;
  background: var(--ink-elevated);
}

.img-zoom img,
.img-reveal img {
  transition: transform 1s var(--ease-lux);
  will-change: transform;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-zoom:hover img,
.img-reveal:hover img {
  transform: scale(1.06);
}

.img-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left;
  transition: transform 1s var(--ease-lux);
  pointer-events: none;
}

.img-reveal.is-inview::after,
[data-reveal].is-inview .img-reveal::after {
  transform: scaleX(0);
}

/* ---------- 3D tilt cards ---------- */
.tilt-scene {
  perspective: 1200px;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.35s;
  will-change: transform;
  position: relative;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tilt-card .tilt-media {
  overflow: hidden;
  transform: translateZ(0);
  position: relative;
  flex-shrink: 0;
}

.tilt-card .tilt-media img {
  transition: transform 0.7s var(--ease-lux);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tilt-card:hover .tilt-media img {
  transform: scale(1.05);
}

.tilt-card > .p-5,
.tilt-card .tilt-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(196, 30, 58, 0.8);
  min-height: 0;
}

.tilt-card .tilt-price {
  margin-top: auto;
  padding-top: 1rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  color: var(--crimson);
  letter-spacing: 0.04em;
}

.tilt-spec {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1.15rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.92) 35%);
  transform: translateY(105%);
  transition: transform 0.5s var(--ease-lux);
  z-index: 2;
}

.tilt-card:hover .tilt-spec,
.tilt-card:focus-within .tilt-spec {
  transform: translateY(0);
}

.tilt-spec dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.tilt-spec dt {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--mute);
}

.tilt-spec dd {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  color: var(--paper);
  margin-top: 0.15rem;
}

.tilt-spec dd span {
  font-size: 0.7rem;
  color: var(--crimson);
  margin-left: 0.15rem;
}

/* ---------- Hero cinematic Swiper ---------- */
.hero-cinema {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.hero-cinema .swiper {
  width: 100%;
  height: 100vh;
  height: 100svh;
}

.hero-cinema .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-media img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.2) 70%, rgba(10, 10, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, transparent 30%, rgba(10, 10, 10, 0.75) 100%);
  animation: heroGradientPulse 12s ease-in-out infinite alternate;
}

@keyframes heroGradientPulse {
  0% {
    filter: hue-rotate(0deg) brightness(1);
    opacity: 1;
  }
  100% {
    filter: hue-rotate(-6deg) brightness(1.05);
    opacity: 0.95;
  }
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: orbFloat 14s ease-in-out infinite;
}

.hero-orb--1 {
  width: 280px;
  height: 280px;
  background: rgba(196, 30, 58, 0.35);
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 180px;
  height: 180px;
  background: rgba(245, 242, 235, 0.08);
  top: 55%;
  right: 12%;
  animation-delay: -4s;
}

.hero-orb--3 {
  width: 220px;
  height: 220px;
  background: rgba(196, 30, 58, 0.2);
  bottom: 10%;
  left: 40%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(245, 242, 235, 0.55);
  border-radius: 50%;
  animation: particleDrift linear infinite;
  opacity: 0.4;
}

@keyframes particleDrift {
  0% { transform: translateY(20px); opacity: 0; }
  15% { opacity: 0.5; }
  85% { opacity: 0.35; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 5.5rem;
}

.hero-content-inner {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-content-inner { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .hero-content-inner { padding: 0 2rem; }
}

.hero-title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 7.5vw, 5.75rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--paper);
  max-width: 14ch;
  clip-path: inset(0 0 100% 0);
  transform: translateY(40px);
  opacity: 0;
}

.hero-title.is-ready {
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  opacity: 1;
  transition: clip-path 1.15s var(--ease-lux), transform 1.15s var(--ease-lux), opacity 0.8s;
}

.hero-parallax-text {
  will-change: transform;
}

.hero-meta {
  margin-top: 1.5rem;
  max-width: 28rem;
}

.hero-cta-wrap {
  margin-top: 2rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--mute);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--crimson), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--paper);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { top: -40%; }
  100% { top: 120%; }
}

.hero-cinema .swiper-pagination {
  bottom: 1.75rem !important;
  left: auto !important;
  right: 1.5rem !important;
  width: auto !important;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-end;
}

.hero-cinema .swiper-pagination-bullet {
  width: 28px;
  height: 2px;
  border-radius: 0;
  background: rgba(245, 242, 235, 0.25);
  opacity: 1;
  margin: 0 !important;
  transition: width 0.35s, background 0.35s;
}

.hero-cinema .swiper-pagination-bullet-active {
  width: 48px;
  background: var(--crimson);
}

.hero-slide-index {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: rgba(245, 242, 235, 0.45);
}

.hero-brand-mark {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--crimson);
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}

/* ---------- Stats ---------- */
.stats-premium {
  position: relative;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(196, 30, 58, 0.05), transparent 60%),
    var(--ink);
}

.stat-value {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--paper);
}

.stat-suffix {
  color: var(--crimson);
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 0.1em;
}

/* ---------- Featured guides ---------- */
.guide-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 280px;
}

@media (min-width: 768px) {
  .guide-card {
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 300px;
  }
}

.guide-card-media {
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-lux);
}

.guide-card:hover .guide-card-media img {
  transform: scale(1.07);
}

.guide-card-body {
  padding: 1.75rem 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--crimson);
}

@media (min-width: 768px) {
  .guide-card-body {
    border-top: none;
    border-left: 1px solid var(--line);
  }
}

/* ---------- Tech asymmetric ---------- */
.tech-magazine {
  position: relative;
}

.tech-item {
  padding-left: 1.25rem;
  border-left: 1px solid var(--crimson);
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}

.tech-item:hover {
  transform: translateX(6px);
  border-color: var(--paper);
}

.tech-offset {
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .tech-offset {
    margin-top: 5rem;
  }
}

/* ---------- Articles feature + grid ---------- */
.article-feature {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-soft);
}

@media (min-width: 1024px) {
  .article-feature {
    grid-template-columns: 1.35fr 1fr;
    min-height: 420px;
  }
}

.article-feature-media {
  min-height: 260px;
  overflow: hidden;
}

.article-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-lux);
}

.article-feature:hover .article-feature-media img {
  transform: scale(1.05);
}

.article-feature-body {
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--crimson);
}

@media (min-width: 1024px) {
  .article-feature-body {
    border-top: none;
    border-left: 1px solid var(--line);
  }
}

/* ---------- FAQ ---------- */
.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--crimson);
}

.faq-icon {
  transition: transform 0.3s var(--ease-out), color 0.25s;
}

.faq-panel {
  display: none;
}

.faq-panel.open {
  display: block;
  animation: faqOpen 0.35s var(--ease-out);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Newsletter / CTA ---------- */
.cta-lux {
  position: relative;
  overflow: hidden;
}

.cta-lux-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.62) 50%, rgba(196, 30, 58, 0.28) 100%);
}

.newsletter-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .newsletter-field {
    flex-direction: row;
  }
}

/* ---------- Forms ---------- */
.form-field {
  width: 100%;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 0.9rem 1.05rem;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-field:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.form-field::placeholder {
  color: var(--mute);
}

.map-placeholder {
  background: #1a1a1a;
  border: 1px solid var(--line);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--mute);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
  background: transparent;
}

.tag-pill:hover,
.tag-pill.is-active {
  border-color: var(--crimson);
  color: var(--crimson);
  background: rgba(196, 30, 58, 0.08);
}

/* ---------- Page banners ---------- */
.page-banner {
  position: relative;
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(196, 30, 58, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.4), transparent);
  pointer-events: none;
}

.page-banner > * {
  position: relative;
  z-index: 1;
}

/* ---------- Reveal hooks ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux);
}

[data-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="left"].is-inview {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="right"].is-inview {
  transform: translateX(0);
}

[data-reveal="clip"] {
  clip-path: inset(0 0 100% 0);
  transform: none;
  opacity: 1;
}

[data-reveal="clip"].is-inview {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-lux);
}

/* ---------- Footer ---------- */
.site-footer .footer-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(196, 30, 58, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(196, 30, 58, 0.06), transparent 50%);
  pointer-events: none;
}

.footer-link {
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--crimson);
  transition: width 0.35s var(--ease-out);
}

.footer-link:hover::after {
  width: 100%;
}

/* ---------- Utility ---------- */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-title {
    clip-path: none;
    transform: none;
    opacity: 1;
  }

  [data-reveal],
  [data-reveal="left"],
  [data-reveal="right"],
  [data-reveal="clip"] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .img-zoom img,
  .img-reveal img,
  .guide-card-media img,
  .article-feature-media img {
    transition: none;
  }

  .hero-gradient,
  .hero-orb,
  .hero-particle,
  .hero-scroll-line::after {
    animation: none !important;
  }

  .tilt-spec {
    transform: none;
    position: relative;
    background: rgba(10, 10, 10, 0.85);
  }

  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: auto !important;
  }

  .cursor {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .cursor {
    display: none !important;
  }

  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: auto;
  }
}

/* =========================================================
   Responsive hardening — phone / large phone / tablet / laptop / desktop / landscape
   ========================================================= */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

.hero-cinema {
  min-height: 100svh;
  width: 100%;
}

.hero-cinema .swiper,
.hero-cinema .swiper-slide {
  min-height: 100svh;
}

.hero-title {
  font-size: clamp(1.85rem, 7.5vw, 5.5rem);
  word-break: keep-all;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.hero-content-inner {
  padding-bottom: max(5rem, env(safe-area-inset-bottom));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.hero-scroll {
  display: none;
}

@media (min-width: 768px) {
  .hero-scroll {
    display: flex;
  }
}

.section-pad {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.page-banner {
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 2.5rem;
}

@media (max-width: 639px) {
  .page-banner {
    padding-top: calc(4.5rem + 1.5rem);
    padding-bottom: 2rem;
  }

  .glass-chip {
    flex-wrap: wrap;
    font-size: 0.75rem;
    max-width: 100%;
  }

  .stat-value {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .tilt-card .spec-panel {
    position: static;
    opacity: 1;
    transform: none;
    margin-top: 0.75rem;
  }

  .magazine-grid,
  .articles-feature-grid,
  .collection-grid {
    grid-template-columns: 1fr !important;
  }

  .btn-crimson,
  .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-cta-wrap .magnetic,
  .hero-cta-wrap .btn-crimson {
    width: 100%;
    display: block;
  }

  footer .grid {
    gap: 2rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
  }
}

/* Landscape phones / short viewports */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-cinema,
  .hero-cinema .swiper,
  .hero-cinema .swiper-slide {
    min-height: 100vh;
  }

  .hero-content {
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .hero-meta p {
    display: none;
  }

  .hero-orbs,
  .hero-particles {
    display: none;
  }
}

/* Ultra-wide */
@media (min-width: 1536px) {
  .hero-content-inner,
  .max-w-7xl {
    max-width: 80rem;
  }
}

/* Prevent horizontal overflow from absolute/decorative layers */
.hero-orbs,
.hero-particles,
.hero-gradient {
  max-width: 100vw;
}

#site-header .nav-shell {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

#mobile-menu {
  max-height: min(80vh, 28rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

input,
select,
textarea,
button {
  font-size: 16px; /* iOS zoom prevention */
}

@media (min-width: 768px) {
  input,
  select,
  textarea,
  button {
    font-size: inherit;
  }
}

.page-loader{display:none!important}

