/* ============================================================
   DERAILED LABS — Apple-inspired minimalism × cycling culture
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --black:  #000000;
  --white:  #f5f5f7;
  --yellow: #ffd700;
  --cta:    #FF6200;
  --dark:   #1d1d1f;
  --mid:    #6e6e73;
  --light:  #e8e8ed;
  --border: #d2d2d7;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--dark);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== NAVIGATION ========== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 44px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.site-nav .logo {
  text-decoration: none;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.site-nav .logo:hover { opacity: 0.7; }

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.site-nav .nav-links {
  display: flex;
  gap: 32px;
}

.site-nav .nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(245, 245, 247, 0.65);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}

.site-nav .nav-links a:hover { color: var(--white); }

/* ========== HERO ========== */

.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 40px 88px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 11vw, 130px);
  line-height: 0.92;
  color: #f5f5f7;
  letter-spacing: 2px;
  margin-bottom: 24px;
  max-width: 960px;
  animation: fadeUp 0.7s ease 0.25s both;
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: rgba(245, 245, 247, 0.5);
  max-width: 500px;
  margin-bottom: 52px;
  line-height: 1.75;
  animation: fadeUp 0.7s ease 0.4s both;
}

.hero-product-wrap {
  width: 100%;
  max-width: 520px;
  margin-bottom: 48px;
  animation: fadeUp 0.8s ease 0.55s both;
}

.hero-product-name {
  font-size: 13px;
  font-weight: 400;
  color: rgba(245, 245, 247, 0.38);
  margin-top: 14px;
  letter-spacing: 0.3px;
}

.hero-cta-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s ease 0.7s both;
}

/* ========== BUTTONS ========== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--cta);
  color: var(--black);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 980px;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.82; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--yellow);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: 0.1px;
}

.btn-ghost:hover { opacity: 0.65; }

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--dark);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 980px;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: opacity 0.2s;
}

.btn-primary-dark:hover { opacity: 0.8; }

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--dark);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: 0.1px;
}

.btn-ghost-dark:hover { opacity: 0.55; }

.btn-etsy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--cta);
  color: var(--black);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 980px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-etsy:hover { opacity: 0.82; }

.btn-order {
  display: block;
  background: var(--cta);
  color: var(--black);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 980px;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-order:hover { opacity: 0.82; }

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.btn-view-all:hover {
  background: var(--dark);
  color: var(--white);
}

/* ========== SPOTLIGHT SECTIONS ========== */

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.spotlight.dark { background: var(--black); }
.spotlight.light { background: var(--white); }

.spotlight-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  gap: 22px;
}

.spotlight-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.spotlight.dark .spotlight-eyebrow { color: var(--yellow); }
.spotlight.light .spotlight-eyebrow { color: var(--mid); }

.spotlight-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: 0.93;
  letter-spacing: 2px;
}

.spotlight.dark .spotlight-title { color: #f5f5f7; }
.spotlight.light .spotlight-title { color: var(--dark); }

.spotlight-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.78;
  max-width: 420px;
}

.spotlight.dark .spotlight-desc { color: rgba(245, 245, 247, 0.5); }
.spotlight.light .spotlight-desc { color: var(--mid); }

.spotlight-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.spotlight.dark .spotlight-image { background: #111111; }
.spotlight.light .spotlight-image { background: #eaeaec; }

.spotlight-image img {
  max-width: 460px;
  width: 90%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 56px rgba(0, 0, 0, 0.3));
}

.spotlight-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========== COLLECTION GRID ========== */

.collection-section {
  padding: 88px 44px;
  background: var(--white);
}

.collection-header {
  margin-bottom: 48px;
}

.collection-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}

.collection-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 2px;
  color: var(--dark);
  line-height: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #eaeaec;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.11);
}

.product-card > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card .product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
}

.product-card .product-price {
  font-size: 13px;
  color: var(--mid);
  font-weight: 400;
}

.view-all-center {
  text-align: center;
  margin-top: 52px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 32px;
}

/* ========== BRAND STRIP ========== */

.brand-strip {
  background: var(--black);
  padding: 88px 44px;
  text-align: center;
}

.brand-strip blockquote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 4.5vw, 58px);
  color: rgba(245, 245, 247, 0.88);
  letter-spacing: 1px;
  line-height: 1.2;
  max-width: 960px;
  margin: 0 auto;
  font-style: normal;
}

.brand-strip cite {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 24px;
}

/* ========== PAGE HERO ========== */

.page-hero {
  background: var(--black);
  padding: 88px 44px 80px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 9vw, 116px);
  color: #f5f5f7;
  letter-spacing: 2px;
  line-height: 0.95;
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease 0.1s both;
}

.page-hero .subtitle {
  font-size: 17px;
  font-weight: 300;
  color: rgba(245, 245, 247, 0.5);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
  animation: fadeUp 0.7s ease 0.25s both;
}

/* ========== SHOP INTRO ========== */

.shop-intro {
  padding: 40px 44px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.shop-intro p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
}

/* ========== ABOUT PAGE ========== */

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 88px 44px;
}

.about-content p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--dark);
  margin-bottom: 28px;
}

.about-content a {
  color: var(--dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.about-content a:hover { opacity: 0.55; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
  text-align: center;
}

.about-stat {
  padding: 64px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stat:last-child { border-right: none; }

.about-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: var(--yellow);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 13px;
  font-weight: 400;
  color: rgba(245, 245, 247, 0.5);
  letter-spacing: 1px;
}

/* ========== PRODUCT PAGE ========== */

.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-image-col {
  background: #eaeaec;
  padding: 52px 44px;
  display: flex;
  align-items: flex-start;
}

.product-image-col > img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-info-col {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--white);
}

.product-info-col h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.97;
  color: var(--dark);
  letter-spacing: 2px;
}

.product-info-col .price {
  font-size: 26px;
  font-weight: 300;
  color: var(--mid);
}

.product-description p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.82;
  color: var(--mid);
  margin-bottom: 16px;
}

.perfect-for {
  font-size: 13px;
  color: var(--mid);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  line-height: 1.65;
}

/* ========== PRODUCT DETAILS ========== */

.product-details-section {
  padding: 56px 44px 72px;
  border-top: 1px solid var(--border);
}

.product-details-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--dark);
  margin-bottom: 24px;
}

.product-details-section ul {
  list-style: none;
  max-width: 600px;
}

.product-details-section ul li {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

/* ========== CAROUSELS ========== */

.card-carousel {
  display: block;
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  text-decoration: none;
}

.card-carousel .carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: block;
}

.card-carousel .carousel-img.active { opacity: 1; }

.hero-carousel {
  position: relative;
  width: 100%;
}

.hero-carousel .carousel-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease;
  border-radius: 8px;
}

.hero-carousel .carousel-img.active { opacity: 1; }

.hero-carousel .carousel-img ~ .carousel-img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.product-carousel {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #eaeaec;
}

.product-carousel .carousel-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.product-carousel .carousel-img.active { opacity: 1; }

.product-carousel .carousel-img ~ .carousel-img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  border: none;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-prev:hover,
.carousel-next:hover { background: rgba(0, 0, 0, 0.75); }

/* ========== FOOTER ========== */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
}

.site-footer p {
  font-size: 12px;
  color: var(--mid);
}

.site-footer a {
  font-size: 12px;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover { color: var(--dark); }

/* ========== BREADCRUMB ========== */

.breadcrumb {
  font-size: 12px;
  color: var(--mid);
  padding: 14px 44px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.breadcrumb a {
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--dark); }
.breadcrumb span { color: var(--dark); }

/* ========== SCROLL ANIMATIONS ========== */

.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1100px) {
  .spotlight-text { padding: 60px 48px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-image { min-height: 360px; }
  .spotlight-text { padding: 56px 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr; }
  .about-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .about-stat:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .hero { padding: 60px 24px 72px; }
  .product-page { grid-template-columns: 1fr; }
  .product-image-col { padding: 36px 24px; }
  .product-info-col { padding: 40px 24px; }
  .collection-section { padding: 64px 24px; }
  .about-content { padding: 64px 24px; }
  .page-hero { padding: 64px 24px 56px; }
  .breadcrumb { padding: 12px 24px; }
  .site-footer { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .product-details-section { padding: 40px 24px 56px; }
  .brand-strip { padding: 56px 24px; }
  .shop-intro { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 54px; }
  .hero-product-wrap { max-width: 240px; }
  .logo-img { height: 26px; }
}
