/* ============================================================
   WEAR6ixMEN - home.css
   Landing page (index.html) only. Loaded after base.css.
   Tokens, reset, body defaults and .grain live in base.css.
   ============================================================ */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* LOADER */
#loader {
  position: fixed; inset: 0; background: #0b0b0d; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity .6s ease;
}
#loader.is-hidden { opacity: 0; }
/* The intro is the animated logo reveal, centered on the dark loader. Its own
   background is baked dark (#0b0b0d), so it sits seamlessly. */
#intro-anim { width: min(720px, 90vw); height: auto; display: block; background: #0b0b0d; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 56px;
  transition: padding .4s, background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.stuck { padding: 8px 56px; background: rgba(5,9,15,.93); backdrop-filter: blur(24px); border-color: rgba(184,200,220,.07); }
.nav-logo { height: 52px; transition: height .4s; }
nav.stuck .nav-logo { height: 42px; }
.nav-links { display: flex; gap: 44px; list-style: none; }
.nav-links a {
  font-family: var(--fd); font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--silver); text-decoration: none;
  position: relative; transition: color .3s;
}
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--blue); transition: width .3s; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--fd); font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--deep); background: var(--silver);
  padding: 12px 28px; text-decoration: none; display: inline-block;
  position: relative; overflow: hidden;
}
.nav-cta::after { content: ''; position: absolute; inset: 0; background: var(--white); transform: translateX(-101%); transition: transform .4s cubic-bezier(.4,0,.2,1); }
.nav-cta:hover::after { transform: translateX(0); }
.nav-cta span { position: relative; z-index: 1; }

/* HERO */
#hero {
  position: relative; height: 100vh; min-height: 700px;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; background: var(--deep);
}
.hero-glow {
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.09) 0%, transparent 70%);
  top: 50%; left: 35%; transform: translate(-50%,-50%); pointer-events: none;
}
.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 48px 80px 56px;
}
.hero-eyebrow {
  font-family: var(--fd); font-size: 11px; font-weight: 400; letter-spacing: 7px;
  color: rgba(184,200,220,.6); text-transform: uppercase; margin-bottom: 22px;
  opacity: 0; transform: translateY(20px);
}
.hero-h1 {
  font-family: var(--fd); font-size: clamp(72px, 9vw, 136px);
  font-weight: 900; line-height: .88; text-transform: uppercase;
  letter-spacing: -2px; color: var(--white); margin-bottom: 28px;
  opacity: 0; transform: translateY(40px);
}
.hero-h1 .shimmer {
  background: linear-gradient(90deg, var(--silver) 25%, var(--white) 50%, var(--silver) 75%);
  background-size: 200% auto; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  animation: shim 4s linear infinite;
}
@keyframes shim { from{background-position:-200% center} to{background-position:200% center} }
.hero-sub {
  font-size: 16px; color: var(--silver); margin-bottom: 48px;
  line-height: 1.7; max-width: 380px;
  opacity: 0; transform: translateY(20px);
}
.hero-btns { display: flex; gap: 16px; opacity: 0; transform: translateY(20px); }

.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 48px 80px 24px;
}
.hero-product {
  width: 100%; max-width: 500px;
  opacity: 0; transform: translateX(40px);
}
.hero-product img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 32px 72px rgba(37,99,235,.22));
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.scroll-cue {
  position: absolute; bottom: 36px; left: 56px; z-index: 2;
  display: flex; align-items: center; gap: 12px; opacity: 0;
}
.scroll-cue span { font-family: var(--fd); font-size: 9px; letter-spacing: 5px; color: rgba(184,200,220,.5); text-transform: uppercase; }
.scroll-line { width: 52px; height: 1px; background: linear-gradient(to right, var(--silver), transparent); animation: sp 2s ease-in-out infinite; }
@keyframes sp { 0%,100%{opacity:.3} 50%{opacity:1} }

/* BUTTONS */
.btn-p {
  font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--deep); background: var(--silver);
  padding: 16px 36px; text-decoration: none; display: inline-block;
  position: relative; overflow: hidden;
}
.btn-p::before { content: ''; position: absolute; inset: 0; background: var(--white); transform: translateX(-101%); transition: transform .4s cubic-bezier(.4,0,.2,1); }
.btn-p:hover::before { transform: translateX(0); }
.btn-p span { position: relative; z-index: 1; }
.btn-o {
  font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--silver); background: transparent;
  border: 1px solid rgba(184,200,220,.28); padding: 16px 36px;
  text-decoration: none; display: inline-block; transition: border-color .3s, color .3s;
}
.btn-o:hover { border-color: var(--silver); color: var(--white); }

/* MARQUEE */
.marquee-wrap { overflow: hidden; background: var(--navy); border-top: 1px solid rgba(184,200,220,.07); border-bottom: 1px solid rgba(184,200,220,.07); padding: 15px 0; }
.marquee-track { display: flex; white-space: nowrap; animation: mq 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { font-family: var(--fd); font-size: 12px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--silver); padding: 0 36px; display: flex; align-items: center; gap: 36px; }
.marquee-item .dot { color: var(--blue); font-size: 20px; line-height: 0; }
@keyframes mq { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* SECTION LABELS */
.sec-label { font-family: var(--fd); font-size: 10px; font-weight: 700; letter-spacing: 7px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sec-title { font-family: var(--fd); font-size: clamp(44px,5.5vw,80px); font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1; }

/* PRODUCTS */
#products { padding: 150px 56px; }
.products-hdr { max-width: 1400px; margin: 0 auto 72px; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.products-note { font-size: 14px; color: var(--silver); max-width: 300px; line-height: 1.75; text-align: right; }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); column-gap: 40px; row-gap: 92px; max-width: 1400px; margin: 0 auto; }

.prod-card { display: block; text-decoration: none; position: relative; }
.prod-media {
  background: transparent; position: relative; overflow: hidden;
  margin-bottom: 24px; border-radius: 0;
  transition: background .4s;
}
.prod-media img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.5));
  transition: opacity .45s, transform .45s;
}
.prod-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .45s;
}
.prod-card:hover .prod-media { background: rgba(255,255,255,.96); }
.prod-card:hover .prod-media img { opacity: 0; transform: scale(1.02); }
.prod-card:hover .prod-media video { opacity: 1; }
.prod-hint {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(5,9,15,.88); font-family: var(--fd); font-size: 9px;
  letter-spacing: 3px; text-transform: uppercase; color: rgba(184,200,220,.7);
  padding: 6px 12px; opacity: 0; transition: opacity .3s; z-index: 2;
}
.prod-card:hover .prod-hint { opacity: 1; }
.prod-info { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.prod-name { font-family: var(--fd); font-size: 22px; font-weight: 900; text-transform: uppercase; color: var(--white); letter-spacing: 1px; }
.prod-meta { display: flex; align-items: baseline; gap: 9px; font-family: var(--fd); font-size: 21px; font-weight: 800; color: var(--white); letter-spacing: .5px; }
.prod-swatch { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); }
.prod-cta {
  font-family: var(--fd); font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(184,200,220,.4);
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  transition: color .3s;
}
.prod-card:hover .prod-cta { color: var(--silver); }

/* BOX / PACKAGING */
#packaging { padding: 0 56px 150px; }
.pack-inner { max-width: 1400px; margin: 0 auto; }
.pack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pack-copy { }
.pack-h2 { font-family: var(--fd); font-size: clamp(40px,5vw,72px); font-weight: 900; text-transform: uppercase; color: var(--white); line-height: .95; margin-bottom: 28px; }
.pack-h2 em { color: transparent; -webkit-text-stroke: 1px rgba(184,200,220,.5); font-style: normal; }
.pack-p { font-size: 15px; color: var(--silver); line-height: 1.85; max-width: 420px; }
.pack-visual {
  position: relative; overflow: hidden;
}
.pack-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* MOBILE HERO VIDEO BACKGROUND */
.hero-mob-vid     { display: none; }
.hero-mob-overlay { display: none; }

/* FEATURES */
#features { padding: 150px 56px; background: var(--navy); position: relative; overflow: hidden; }
#features::before {
  content: 'W6M'; position: absolute; font-family: var(--fd);
  font-size: 32vw; font-weight: 900; letter-spacing: -14px;
  color: rgba(255,255,255,.014); top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none; white-space: nowrap; user-select: none;
}
.sec-hdr { text-align: center; margin-bottom: 80px; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; max-width: 1280px; margin: 0 auto; }
.card {
  background: rgba(26,48,96,.2); border: 1px solid rgba(184,200,220,.08);
  padding: 52px 44px; position: relative; overflow: hidden; transform-style: preserve-3d; transition: border-color .3s;
}
.card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(130deg, rgba(37,99,235,.14) 0%, transparent 60%); opacity: 0; transition: opacity .4s; }
.card:hover { border-color: rgba(37,99,235,.38); }
.card:hover::before { opacity: 1; }
.card-num { font-family: var(--fd); font-size: 11px; font-weight: 700; letter-spacing: 5px; color: rgba(184,200,220,.22); margin-bottom: 18px; }
.card-icon { font-size: 34px; margin-bottom: 20px; display: block; }
.card-title { font-family: var(--fd); font-size: 28px; font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1.05; margin-bottom: 14px; }
.card-txt { font-size: 14px; line-height: 1.9; color: var(--silver); }
.card-bar { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(to right, var(--blue), transparent); transition: width .5s ease; }
.card:hover .card-bar { width: 100%; }

/* ORDER + FOLLOW (combined) */
#order {
  padding: 150px 56px; position: relative; overflow: hidden;
}
#order::before {
  content: ''; position: absolute; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.order-top { max-width: 1400px; margin: 0 auto 72px; text-align: center; }
.order-title { font-family: var(--fd); font-size: clamp(48px,7vw,110px); font-weight: 900; text-transform: uppercase; line-height: .88; color: var(--white); margin-bottom: 28px; }
.order-title .stroke { color: transparent; -webkit-text-stroke: 1.5px rgba(184,200,220,.35); }
.order-sub { font-size: 16px; color: var(--silver); max-width: 540px; margin: 0 auto; line-height: 1.75; }
.order-note {
  display: inline-block; margin-top: 20px;
  font-family: var(--fd); font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--silver);
  border: 1px solid rgba(184,200,220,.35); padding: 8px 20px;
  background: rgba(184,200,220,.06);
}

.order-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.oc {
  display: block; text-decoration: none; padding: 44px 36px;
  border: 1px solid rgba(184,200,220,.09); background: var(--navy);
  position: relative; overflow: hidden; transition: border-color .35s, transform .35s;
}
.oc::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.oc.wa::before { background: linear-gradient(135deg, rgba(18,140,126,.15), transparent); }
.oc.ig::before { background: linear-gradient(135deg, rgba(240,148,51,.1), rgba(188,24,136,.1)); }
.oc.tk::before { background: linear-gradient(135deg, rgba(37,211,188,.08), rgba(254,44,85,.08)); }
.oc:hover { transform: translateY(-5px); }
.oc.wa:hover { border-color: rgba(18,140,126,.4); }
.oc.ig:hover { border-color: rgba(225,48,108,.4); }
.oc.tk:hover { border-color: rgba(37,211,188,.4); }
.oc:hover::before { opacity: 1; }

.oc-plat {
  font-family: var(--fd); font-size: 10px; font-weight: 700; letter-spacing: 6px;
  text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.oc.wa .oc-plat { color: #25d3bc; }
.oc.ig .oc-plat { color: #e1306c; }
.oc.tk .oc-plat { color: #25d3bc; }

.oc-handle { font-family: var(--fd); font-size: 28px; font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1; margin-bottom: 14px; }
.oc-actions { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.oc-action { font-size: 13px; color: var(--silver); line-height: 1.6; display: flex; align-items: center; gap: 8px; }
.oc-action::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.oc-btn {
  font-family: var(--fd); font-size: 12px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--silver); display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(184,200,220,.15); padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.oc:hover .oc-btn { color: var(--white); border-color: rgba(184,200,220,.4); }
.oc-btn svg { transition: transform .3s; }
.oc:hover .oc-btn svg { transform: translateX(4px); }

/* FOOTER */
footer { padding: 52px 56px; border-top: 1px solid rgba(184,200,220,.07); background: var(--deep); }
.footer-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.f-logo { height: 50px; }
.f-links { display: flex; gap: 32px; list-style: none; }
.f-links a { font-family: var(--fd); font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--silver); text-decoration: none; transition: color .3s; }
.f-links a:hover { color: var(--white); }
.f-copy { font-size: 11px; color: rgba(184,200,220,.28); letter-spacing: 1px; }

/* ── DESKTOP ONLY ELEMENTS ── */
.swipe-hint    { display: none; }
.carousel-dots { display: none; }

/* ── TABLET ── */
@media(max-width:1024px){
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 150px 40px 80px; justify-content: center; }
  .pack-grid { grid-template-columns: 1fr; }
  .pack-visual { order: -1; }
  .nav-links { display: none; }
}

/* ── MOBILE ── */
@media(max-width:767px){

  /* NAV */
  nav { padding: 10px 20px; }
  nav.stuck { padding: 8px 20px; }
  .nav-logo { height: 44px; }
  nav.stuck .nav-logo { height: 38px; }
  .nav-cta { padding: 10px 18px; font-size: 11px; letter-spacing: 2px; }

  /* HERO - full screen, typographic, centered */
  #hero {
    grid-template-columns: 1fr;
    height: 100vh; height: 100svh;
    min-height: 600px; position: relative;
    align-items: stretch;
  }
  .hero-left {
    padding: 108px 28px 90px;
    text-align: center;
    align-items: center;
    justify-content: center;
    position: relative; z-index: 2;
    width: 100%;
    display: flex; flex-direction: column;
  }
  .hero-eyebrow { font-size: 10px; letter-spacing: 5px; margin-bottom: 16px; }
  .hero-h1 { font-size: clamp(54px, 15vw, 78px); letter-spacing: -1px; margin-bottom: 20px; }
  .hero-sub { font-size: 14px; margin-bottom: 36px; max-width: 280px; margin-left: auto; margin-right: auto; }
  .hero-btns { flex-direction: column; gap: 12px; width: 100%; max-width: 320px; margin: 0 auto; }
  .btn-p, .btn-o { text-align: center; padding: 18px 20px; width: 100%; }
  .scroll-cue { display: none; }

  /* Mobile hero: rotation video plays as background */
  .hero-mob-vid {
    display: block;
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 35%;
    z-index: 0; opacity: .5;
  }
  .hero-mob-overlay {
    display: block;
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
      135deg,
      rgba(5,9,15,.85) 0%,
      rgba(5,9,15,.6) 50%,
      rgba(5,9,15,.85) 100%
    );
    pointer-events: none;
  }

  /* MARQUEE */
  .marquee-item { font-size: 11px; letter-spacing: 3px; gap: 20px; padding: 0 20px; }

  /* PRODUCTS - horizontal snap carousel */
  #products { padding: 72px 0 40px; }
  .products-hdr { padding: 0 24px; flex-direction: column; align-items: flex-start; margin-bottom: 40px; gap: 8px; }
  .products-note { display: none; }
  .products-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding: 8px 24px 8px;
    grid-template-columns: unset !important;
  }
  .products-grid::-webkit-scrollbar { display: none; }
  .prod-card { flex: 0 0 78vw; scroll-snap-align: start; }
  .prod-media { aspect-ratio: 1/1; }
  .prod-media img { width: 100%; height: 100%; object-fit: contain; }
  /* disable hover video on touch - prevents white flash on tap */
  .prod-media video { display: none; }
  .prod-card:hover .prod-media img { opacity: 1; }
  .prod-name { font-size: 20px; }

  /* Swipe cue */
  .swipe-hint {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px 2px;
    font-family: var(--fd); font-size: 9px; letter-spacing: 4px;
    text-transform: uppercase; color: rgba(184,200,220,.28);
  }
  .swipe-hint svg { animation: swipeA 1.6s ease-in-out infinite; }
  @keyframes swipeA { 0%,100%{transform:translateX(0);opacity:.28} 50%{transform:translateX(6px);opacity:.6} }

  /* Carousel dots */
  .carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 18px 24px 0; }
  .cdot { height: 4px; border-radius: 2px; background: rgba(184,200,220,.18); transition: all .35s ease; width: 16px; }
  .cdot.active { background: var(--silver); width: 28px; }

  /* PACKAGING */
  #packaging { padding: 0 0 72px; }
  .pack-grid { grid-template-columns: 1fr; gap: 0; }
  .pack-copy { padding: 60px 24px 36px; order: 1; }
  .pack-h2 { font-size: clamp(34px, 10vw, 52px); }
  .pack-p { font-size: 14px; }
  .pack-visual { height: 260px; order: 2; }

  /* FEATURES */
  #features { padding: 72px 20px; }
  .sec-hdr { margin-bottom: 48px; }
  .sec-title { font-size: clamp(36px, 9vw, 56px); }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 32px 24px; }
  .card-title { font-size: 24px; }
  .card-txt { font-size: 13px; }

  /* ORDER */
  #order { padding: 72px 20px; }
  .order-top { margin-bottom: 44px; }
  .order-title { font-size: clamp(44px, 12vw, 72px); }
  .order-sub { font-size: 14px; }
  .order-note { font-size: 10px; letter-spacing: 3px; }
  .order-cards { grid-template-columns: 1fr; gap: 14px; }
  .oc { padding: 32px 24px; }
  .oc-handle { font-size: 22px; }
  .oc-actions { margin-bottom: 22px; gap: 4px; }
  .oc-action { font-size: 13px; }
  /* WhatsApp gets visual prominence as primary order channel */
  .oc.wa { border-color: rgba(18,140,126,.28); background: rgba(18,140,126,.06); }
  .oc.wa .oc-plat { color: #2dcfb8; }

  /* FOOTER */
  footer { padding: 44px 24px 32px; }
  .f-logo { height: 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .f-links { flex-wrap: wrap; gap: 14px 24px; }
  .f-copy { font-size: 10px; }
}

/* Very small phones */
@media(max-width:390px){
  .hero-h1 { font-size: clamp(48px, 14vw, 60px); }
  .prod-card { flex: 0 0 86vw; }
  .oc { padding: 28px 20px; }
}
