/* --- CLENTINA Home · Editorial Luxury --- */

body[data-page="home"] .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.home-main {
  overflow-x: clip;
}

/* --- Hero --- */
.home-hero.section-hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 0;
}

.home-hero .hero-gradient {
  background: linear-gradient(
    to top,
    rgba(30, 31, 34, 0.82) 0%,
    rgba(30, 31, 34, 0.45) 28%,
    rgba(30, 31, 34, 0.08) 55%,
    transparent 75%
  );
}

.home-hero .hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem clamp(3rem, 8vh, 5.5rem);
  color: var(--text-on-dark);
}

.home-hero .eyebrow {
  color: var(--color-gold);
  letter-spacing: 0.32em;
  margin-bottom: 1.25rem;
}

.home-hero .hero-title {
  margin-bottom: 1.25rem;
}

.home-hero .hero-title-en {
  font-size: clamp(3.25rem, 11vw, 6.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 0.95;
}

.home-hero .text-reveal-fill__outline {
  -webkit-text-stroke: clamp(1px, 0.06em, 2px) rgba(255, 255, 255, 0.45);
}

.home-hero .text-reveal-fill__solid {
  color: #ffffff;
  text-shadow: none;
}

.home-hero .hero-title-zh {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.65rem;
}

.home-hero .hero-lead {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.home-hero .hero-lead strong {
  color: #ffffff;
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-hero .btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.section-hero .hero-title-zh,
.section-hero .hero-lead,
.section-hero .text-reveal-fill__solid {
  text-shadow: none;
}

/* --- Shared home sections --- */
.home-section {
  position: relative;
  scroll-margin-top: var(--header-h);
}

.home-section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7rem) 1.5rem;
}

.home-section__head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.home-section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-section__head .eyebrow {
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.home-section__head h2 {
  margin-bottom: 0.75rem;
}

.home-section__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.home-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.home-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-gold);
}

/* --- Brand Story --- */
.home-story {
  background: var(--color-bg);
}

.home-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.home-story__media {
  position: relative;
}

.home-story__media .img-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 0;
}

.home-story__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-story__stat {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.home-story__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-text);
  line-height: 1;
}

.home-story__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.home-story__copy h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.home-story__copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.home-story__copy p:last-child {
  margin-bottom: 0;
}

.home-story__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-carbon);
  padding-bottom: 0.15rem;
}

.home-story__link:hover {
  opacity: 0.65;
}

/* --- Carbon Fiber --- */
.home-carbon {
  background: var(--color-carbon);
  color: var(--text-on-dark);
}

.home-carbon .eyebrow {
  color: var(--color-gold);
}

.home-carbon h2 {
  color: #ffffff;
}

.home-carbon .home-section__lead {
  color: rgba(255, 255, 255, 0.62);
}

.home-carbon__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.home-carbon__visual {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 2px,
      transparent 2px,
      transparent 6px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.15) 0,
      rgba(0, 0, 0, 0.15) 2px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(145deg, #2a2b2f 0%, #1e1f22 50%, #161719 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-carbon__visual img {
  width: min(72%, 320px);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.home-carbon__features {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.home-carbon__feature {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-carbon__feature:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-carbon__feature h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.home-carbon__feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* --- Product Collection --- */
.home-collection {
  background: var(--color-ivory);
}

.home-collection__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-product-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.home-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.home-product-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg);
}

.home-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.home-product-card:hover .home-product-card__media img {
  transform: scale(1.04);
}

.home-product-card__body {
  padding: 1.35rem 1.5rem 1.75rem;
}

.home-product-card__tag {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.home-product-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.home-product-card__body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.home-collection__cta {
  text-align: center;
  margin-top: 3rem;
}

/* --- Athlete Lifestyle --- */
.home-lifestyle {
  background: var(--color-bg);
}

.home-lifestyle__layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}

.home-lifestyle__gallery {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.home-lifestyle__gallery .img-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-card);
}

.home-lifestyle__gallery img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.home-lifestyle__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.home-lifestyle__panel h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin-bottom: 1rem;
}

.home-lifestyle__panel p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.home-lifestyle__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.home-lifestyle__tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  background: var(--color-bg);
}

/* --- Testimonials --- */
.home-testimonials {
  background: var(--color-ivory);
}

.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-quote {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.home-quote__stars {
  color: var(--color-gold);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
}

.home-quote__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--color-text);
  flex: 1;
}

.home-quote__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.home-quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-gold));
  flex-shrink: 0;
}

.home-quote__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.home-quote__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Community --- */
.home-community {
  background: var(--color-bg);
}

.home-community__banner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.home-community__bg {
  position: absolute;
  inset: 0;
}

.home-community__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-community__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(30, 31, 34, 0.88) 0%,
    rgba(30, 31, 34, 0.55) 50%,
    rgba(30, 31, 34, 0.25) 100%
  );
}

.home-community__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: clamp(2.5rem, 6vw, 4rem);
  color: var(--text-on-dark);
}

.home-community__content .eyebrow {
  color: var(--color-gold);
}

.home-community__content h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.home-community__content p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.75rem;
}

.home-community__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .home-story__grid,
  .home-carbon__grid,
  .home-lifestyle__layout {
    grid-template-columns: 1fr;
  }

  .home-collection__grid,
  .home-testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .home-story__stat {
    right: 1rem;
    bottom: -1rem;
  }

  .home-carbon__visual {
    min-height: 320px;
    order: -1;
  }

  .home-lifestyle__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 640px) {
  .home-hero .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-lifestyle__gallery {
    grid-template-columns: 1fr;
  }

  .home-community__banner {
    min-height: 360px;
  }
}
