/** Shopify CDN: Minification failed

Line 2080:8 Expected identifier but found whitespace
Line 2080:20 Unexpected ";"
Line 2364:16 Expected identifier but found whitespace
Line 2364:17 Unexpected "1px"

**/
/* ===================================================
   OBEYTHECULTURE  LUXURY STREETWEAR
   =================================================== */

@font-face {
  font-family: 'WildZelda';
  src: url(WildBreathOfZelda.otf) format('opentype');
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0b0a09;
  --ink: #16130f;
  --ink-soft: #2a251f;
  --paper: #f3f0e9;
  --paper-2: #e9e4d9;
  --white: #ffffff;
  --stone: #8d8475;
  --stone-dark: #5a544a;
  --line: #ddd6c8;
  --line-soft: rgba(20,16,12,0.10);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, sans-serif;
  --logo: 'WildZelda', 'Inter', sans-serif;

  --radius-pill: 9999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: 0.7s var(--ease);
  --maxw: 1440px;
}

/* Hide scrollbar for all browsers */
::-webkit-scrollbar {
  display: none;
}
html, body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; object-fit: cover; }
button { cursor: pointer; border: none; background: none; font-family: var(--sans); color: inherit; }



.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.hidden { display: none !important; }

/* ---------- Shared typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 18px;
}
.eyebrow.light { color: rgba(255,255,255,0.7); }

.display-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display-title.light { color: var(--paper); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--stone-dark);
  max-width: 42ch;
  margin-bottom: 32px;
}
.lede.light { color: rgba(255,255,255,0.78); }

.section-sub {
  font-size: 15px;
  color: var(--stone-dark);
  max-width: 46ch;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: background var(--slow), color var(--slow), border-color var(--slow), transform 0.4s var(--ease);
  white-space: nowrap;
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.btn-dark:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
}
.btn-light:hover { background: transparent; color: var(--paper); transform: translateY(-2px); }

.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-2px); }

.btn-block { width: 100%; }

.text-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: opacity var(--slow);
}
.text-link:hover { opacity: 0.55; }

/* ===================================================
   HEADER  mix-blend-mode: difference wrapper.
   Everything inside is strictly white; the blend mode
   inverts it to black over light sections automatically.
   =================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 40px;
  background: transparent;            /* never a solid bar */
  mix-blend-mode: difference;         /* CRITICAL: dynamic contrast inversion */
  isolation: isolate;
  transition: padding 0.5s var(--ease);
}
.header.scrolled { padding: 14px 40px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;        /* left-group | right-actions */
  gap: 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---- Left group: Logo + Nav Pill locked side-by-side ---- */
.header-left {
  display: flex;
  align-items: center;
  gap: 40px;                             /* gap-10  breathing room between logo & pill */
}

/* ---- Logo  mix-blend-mode:difference; WildBreathOfZelda; font-weight:normal ---- */
.logo { flex-shrink: 0; z-index: 10; }  /* no flex:1  logo no longer stretches */
.logo-mark {
  font-family: 'WildBreathOfZelda', var(--logo), sans-serif;
  font-size: 30px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
}

/* ---- Center nav  3D volumetric liquidmorphism pill ---- */
.main-nav { z-index: 10; }

/* Volumetric glass pill: outer drop shadow + inset highlight = physical depth */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;                              /* gap-1 */
  padding: 4px 8px;                      /* px-2 py-1 */
  border-radius: 9999px;                 /* rounded-full */
  background: rgba(255,255,255,0.10);    /* bg-white/10 */
             /* backdrop-blur-xl  stronger than before */
  border: 1px solid rgba(255,255,255,0.20); /* border-white/20 */
  /* Outer drop shadow for lift off screen */
  box-shadow:
    0 8px 32px rgba(0,0,0,0.25),         /* depth shadow */
    inset 0 1px 2px rgba(255,255,255,0.40); /* top-edge highlight  the volumetric key */
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { position: static; }

.nav-link {
  display: block;
  padding: 8px 20px;                     /* py-2 px-5 */
  color: #ffffff;
  font-family: var(--sans);
  font-size: 14px;                       /* text-sm */
  font-weight: 600;                      /* font-semibold */
  letter-spacing: 0.05em;               /* tracking-wide */
  border-radius: 9999px;
  background: transparent;
  white-space: nowrap;
  line-height: 1;
  transition: opacity , transform , color , background-color , border-color ;      /* transition-all duration-300 */
}
.nav-link:hover,
.nav-link.menu-active {
  background: rgba(255,255,255,0.20);    /* hover:bg-white/20 */
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.30); /* hover inset shine */
}

/* ---- Header actions  strictly white, pushed to far right ---- */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  z-index: 10;
  flex-shrink: 0;                        /* no longer needs flex:1 to mirror logo */
}
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: transparent;
  color: #ffffff;
  transition: opacity , transform , color , background-color , border-color ;
  position: relative;
}
.icon-btn:hover {
  background: rgba(255,255,255,0.1);
}
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: #ffffff;
  color: #000000;
  font-size: 10px;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================
   FULL-SCREEN TWO-TIER MEGA MENU
   Heavy glassmorphism: backdrop-blur-2xl bg-black/40.
   Left column = massive parent categories with arrow.
   Right column = subcategories of the active parent.
   =================================================== */
.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  pointer-events: none;
}
.mega-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.95);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  will-change: opacity;
  pointer-events: none;
}
.mega-menu.open {
  pointer-events: all;
}
.mega-menu.open::before {
  opacity: 1;
}

.mega-menu-inner {
  position: absolute;
  top: 96px; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 72px 56px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mega-menu.open .mega-menu-inner {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
}

/* ---- Two-column grid ---- */
.mega-columns {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
  flex: 1;
  min-height: 0;
}

/* ---- Left column: parent categories ---- */
.mega-parents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.mega-parent {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--sans);                 /* font-sans */
  font-size: clamp(32px, 4.5vw, 72px);      /* FIX #5  scaled down from 8xl to ~6xl */
  font-weight: 900;                         /* font-black */
  letter-spacing: -0.05em;                  /* tracking-tighter */
  text-transform: uppercase;
  line-height: 0.88;                        /* FIX #5  tighter leading so items don't bleed */
  color: rgba(255,255,255,0.45);
  padding: 4px 0;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  transition: color 0.35s var(--ease), transform 0.45s var(--ease);
}
.mega-parent:hover,
.mega-parent.active {
  color: #ffffff;
  transform: translateX(10px);
}

/* Arrow appears to the LEFT of the text on hover/active */
.mega-parent .parent-arrow {
  display: inline-flex;
  align-items: center;
  width: 0;
  opacity: 0;
  overflow: visible;
  transform: translateX(-22px);
  transition: width 0.4s var(--ease), opacity 0.35s var(--ease), transform 0.4s var(--ease);
}
.mega-parent:hover .parent-arrow,
.mega-parent.active .parent-arrow {
  width: 0.9em;
  opacity: 1;
  transform: translateX(0);
  margin-right: 0.18em;
}
.mega-parent .parent-arrow svg {
  width: 0.72em;
  height: 0.72em;
  stroke: currentColor;
}

/* ---- Right column: subcategories of the active parent ---- */
.mega-subs-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 56px;
}
.mega-subs-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
  min-height: 14px;
}
.mega-subs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.mega-sub {
  display: block;
  font-family: var(--sans);                 /* font-sans */
  font-size: clamp(24px, 2.6vw, 38px);      /* ~text-4xl */
  font-weight: 900;                         /* font-black */
  letter-spacing: -0.03em;                  /* tracking-tighter */
  text-transform: uppercase;
  line-height: 1.18;
  color: rgba(255,255,255,0.7);
  padding: 3px 0;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.mega-sub:hover {
  color: #ffffff;
  transform: translateX(8px);
}

.mega-foot {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.mega-foot-label {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.mega-foot-meta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('hero.jpg');
  background-size: cover;          /* object-fit: cover equivalent for a bg image */
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;                      /* sits inside .hero, above body bg, below overlay */
}

/* Responsive video block */
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  display: block;
}

/* Dual Hero Responsive Logic */
.hero-mobile { display: none; }
@media (max-width: 768px) {
  .hero-desktop { display: none !important; }
  .hero-mobile { display: flex !important; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.10) 40%, rgba(0,0,0,0.55) 100%),
    rgba(0,0,0,0.25);
}

/* Single bottom-centre Shop Now  plain underlined text */
.hero-bottom-cta {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
}
.hero-bottom-cta:hover { opacity: 0.65; }

/* Hero CTA overlay  centred over the full-bleed hero image */
.hero-cta {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  /* push down from the fixed header */
  padding-top: 60px;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 40px;
}
.hero-title em { font-style: italic; }
.hero-cta-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: #ffffff;
  color: #0b0a09;
  border: 1px solid #ffffff;
  padding: 16px 36px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn-hero-primary:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-hero-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 16px 36px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

/* ===================================================
   E-COMMERCE  PRODUCT GRID (4-up editorial)
   =================================================== */
.shop {
  background: #ffffff;
  padding: 90px 40px;
}

/* Category header  title left, pill button right */
.shop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.shop-title {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #000000;
}
.shop-discover {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  background: #f0f0f0;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  transition: background 0.3s var(--ease);
}
.shop-discover:hover { background: #e4e4e4; }

/* 4-column grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Product card */
.shop-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Image container  3:4, rounded, light gray placeholder */
.shop-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: #f2f2f2;
  overflow: hidden;
}
.shop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.shop-card:hover .shop-media img { transform: scale(1.04); }

/* Bookmark icon  top-right, white, transparent bg */
.shop-bookmark {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  color: #ffffff;
  cursor: pointer;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
  transition: transform 0.3s var(--ease);
}
.shop-bookmark:hover { transform: scale(1.1); }

/* Slider dots  bottom center, white/translucent */
.shop-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.shop-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.shop-dots span.is-active { background: #ffffff; }

/* Details row  title+price left, circular + add right */
.shop-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shop-text {
  display: flex;
  flex-direction: column;
}
.shop-name {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: #000000;
}
.shop-price {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: #555555;
}
.shop-add {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #cccccc;
  background: transparent;
  color: #000000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.shop-add:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Responsive  3 cols on tablet, 2 cols on mobile */
@media (max-width: 1200px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .shop { padding: 64px 20px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   HOMEPAGE  EXTENDED CONTENT
   Marquee  Manifesto  Collections  Editorial  Stats
   =================================================== */

/* ---- Culture marquee (scrolling ticker) ---- */
.home-marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
}
.home-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: home-marquee 34s linear infinite;
}
.home-marquee-track span {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 3vw, 38px);
  letter-spacing: 0.01em;
  opacity: 0.92;
}
.home-marquee-track .dot { opacity: 0.4; font-style: normal; }
@keyframes home-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .home-marquee-track { animation: none; }
}

/* ---- Manifesto statement ---- */
.home-manifesto {
  background: var(--paper);
  padding: clamp(80px, 14vh, 170px) 40px;
}
.home-manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-manifesto-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 5vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 18ch;
  margin: 18px 0 38px;
}
.home-manifesto-text em { font-style: italic; }

/* ---- Shared homepage section shell ---- */
.home-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 12vh, 140px) 40px;
}
.home-collections { background: var(--paper-2); max-width: none; }
.home-collections > .home-section-head,
.home-collections > .collection-grid {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.home-section-head .eyebrow { margin-bottom: 12px; }

/* ---- Editorial feature (dark split) ---- */
.home-editorial {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 11vh, 130px) 40px;
}
.home-editorial-media {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-soft);
}
.home-editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.home-editorial:hover .home-editorial-media img { transform: scale(1.04); }
.home-editorial-copy { max-width: 46ch; }
.home-editorial-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 8px 0 22px;
}
.home-editorial-title em { font-style: italic; }
.home-editorial-copy .btn { margin-top: 14px; }

/* ---- Stats band ---- */
.home-stats {
  background: var(--paper);
  padding: clamp(70px, 12vh, 130px) 40px;
}
.home-stats-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 16px;
}
.home-stat-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1;
  color: var(--ink);
}
.home-stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-dark);
}

@media (max-width: 900px) {
  .home-editorial { grid-template-columns: 1fr; }
  .home-editorial-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) {
  .home-stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-section-head { flex-direction: column; align-items: flex-start; }
}

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: var(--ink); color: var(--paper); }
.footer-newsletter { padding: 90px 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.newsletter-card {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  margin-bottom: 10px;
}
.newsletter-text p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 40ch; }
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  min-width: 320px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 4px;
  color: var(--paper);
  font-size: 15px;
  font-family: var(--sans);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { outline: none; }
.btn-newsletter {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  transition: transform 0.4s var(--ease);
}
.btn-newsletter:hover { transform: translateX(4px); }

.footer-links-section { padding: 80px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo { font-size: 24px; color: var(--paper); display: inline-block; margin-bottom: 18px; }
.footer-tagline { color: rgba(255,255,255,0.55); font-size: 14px; max-width: 34ch; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--paper);
  transition: background var(--slow), color var(--slow);
}
.social-link:hover { background: var(--paper); color: var(--ink); }
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.78); transition: color var(--slow); }
.footer-col a:hover { color: var(--paper); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 26px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copyright { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; gap: 26px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.45); transition: color var(--slow); }
.footer-legal a:hover { color: var(--paper); }

/* ===================================================
   CART DRAWER
   =================================================== */
.cart-drawer { position: fixed; inset: 0; z-index: 600; pointer-events: none; }
.cart-overlay {
  position: absolute; inset: 0;
  background: rgba(8,7,6,0);
  transition: background 0.5s var(--ease);
}
.cart-drawer.open { pointer-events: all; }
.cart-drawer.open .cart-overlay { background: rgba(8,7,6,0.9);  }
.cart-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 440px;
  max-width: 92vw;
  background: var(--paper);
  transform: translateX(100%);
    will-change: transform;
  transition: transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.cart-title { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; }
.cart-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background var(--slow);
}
.cart-close:hover { background: var(--paper-2); }
.cart-empty-title { font-family: var(--serif); font-weight: 400; font-size: 30px; margin-bottom: 10px; }
.cart-empty-sub { color: var(--stone-dark); font-size: 14px; margin-bottom: 36px; }
.cart-perks { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.cart-perk-title { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; margin-bottom: 6px; }
.cart-perk-desc { font-size: 13px; color: var(--stone-dark); line-height: 1.6; }

/* ===================================================
   SCROLL REVEAL HELPER
   =================================================== */
.reveal { opacity: 0; transform: translateY(40px); }

/* ===================================================
   HERO IMAGE REVEAL
   =================================================== */

/* ---- Integrated reveal: real hero picks up where preloader left off ---- */
.hero-image,
.hero-video {
  transform: scale(1.18);        /* starts where .preloader-img ended */
  transition: transform 1.8s var(--ease);
  will-change: transform;
}
body:not(.is-loading) .hero-image,
body:not(.is-loading) .hero-video {
  transform: scale(1);          /* finally settles into place */
}

/* ---- Chrome pops in AFTER the hero settles ---- */
.header {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.7s var(--ease) 0.45s, transform 0.7s var(--ease) 0.45s, padding 0.5s var(--ease);
}
body:not(.is-loading) .header {
  opacity: 1;
  transform: translateY(0);
}
/* keep the scrolled-state padding transition intact after reveal */
body:not(.is-loading) .header.scrolled { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-video,
  .preloader-img,
  .header { transition: none; transform: none; }
  .preloader-veil { transition: none; }
  .preloader-brand,
  .preloader-bar i { animation-duration: 0.01s; }
}

/* ===================================================
   STORIES TRIGGER (navbar avatar w/ gradient ring)
   =================================================== */
.story-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-right: 2px;
  flex-shrink: 0;
}
.story-ring {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 2px;                                   /* ring thickness */
  background: conic-gradient(from 215deg, #f59e0b, #ec4899, #8b5cf6, #f59e0b);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.55);         /* ring-offset against the dark hero */
  transition: transform 0.3s var(--ease);
}
.story-trigger:hover .story-ring { transform: scale(1.08); }
.story-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #0a0a0a;
  border: 1.5px solid #0a0a0a;
}
.story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================================
   FULL-SCREEN STORIES MODAL
   =================================================== */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10,10,10,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  padding: 24px;
}
.story-modal.hidden { display: none; }
.story-modal.is-open { opacity: 1; }

.story-stage {
  position: relative;
  height: min(88vh, 760px);
  aspect-ratio: 9 / 16;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

/* Segmented progress bar */
.story-progress {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  z-index: 4;
  display: flex;
  gap: 5px;
}
.story-seg {
  flex: 1;
  height: 2.5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
}
.story-seg i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 4px;
}
.story-seg.is-done i { width: 100%; }
.story-seg.is-active i { animation: storyFill 5s linear forwards; }
@keyframes storyFill { from { width: 0; } to { width: 100%; } }

/* Header */
.story-head {
  position: absolute;
  top: 26px; left: 14px; right: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-head-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.story-head-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-head-name {
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.story-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  padding: 4px;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}

/* Slides */
.story-slides { position: absolute; inset: 0; }
.story-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  display: flex;
  align-items: flex-end;
}
.story-slide.is-active { opacity: 1; }
.story-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 30%, rgba(0,0,0,0.55) 100%);
}
.story-caption {
  position: relative;
  z-index: 2;
  padding: 0 26px 40px;
  color: #fff;
}
.story-caption h3 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  margin-top: 8px;
}

/* Tap hitboxes */
.story-nav {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 3;
  width: 35%;
  background: transparent;
  border: none;
  cursor: pointer;
}
.story-nav-prev { left: 0; }
.story-nav-next { right: 0; width: 65%; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1180px) {
  .main-nav { display: none; }   /* swap to actions-only on tablet/mobile */
  .mega-columns { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .mega-subs-col { border-left: none; padding-left: 0; }
  .featured-inner,
  .split-inner,
  .about-inner,
  .showcase-inner,
  .contact-inner { grid-template-columns: 1fr; }
  .showcase-inner { gap: 40px; }
  .product-grid, .arrivals-row { grid-template-columns: repeat(2, 1fr); }
  .collectables-grid, .journal-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 24px; }
  .header { padding: 16px 22px; }
  .manifesto { padding: 90px 0; }
  .shop, .collections, .collectables, .editorial-showcase, .journal, .contact { padding: 80px 0; }
  .featured-copy, .split-copy, .about-copy { padding: 56px 24px; }
  .product-grid, .arrivals-row, .collection-grid, .collectables-grid, .journal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-newsletter { padding: 56px 24px; }
  .newsletter-form { min-width: 100%; }
  .limited-meta { gap: 28px; }
  .mega-menu-inner { padding: 32px 28px 40px; top: 80px; }
  .logo-mark { font-size: 20px; }
}


/*  ECOMMERCE COLLECTION SECTIONS  */
    .ec-section { background: #fff; padding: 60px 0; border: none; }
    .ec-section + .ec-section { border-top: none; }

    .ec-inner { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

    /* Header row: label left, button right */
    .ec-header { display: flex; align-items: baseline; justify-content: flex-start; margin-bottom: 32px; }
    .ec-label {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.25em; /* this is the end state of the GSAP animation */
      text-transform: uppercase;
      color: var(--ink);
      position: relative;
    }
    
    .ec-discover-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #0a0a0a;
      color: #fff;
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 10px 20px;
      border-radius: 999px;
      border: none;
      cursor: pointer;
      transition: background 0.25s ease, transform 0.2s ease;
      white-space: nowrap;
    }
    .ec-discover-btn:hover {
      background: #333;
      transform: scale(1.03);
    }

    /* Carousel scroll container */
    .ec-track-wrap {
      overflow: hidden;
      position: relative;
    }
    .ec-track {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }
    @media (max-width: 1024px) {
      .ec-track { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
      .ec-track { grid-template-columns: repeat(1, 1fr); }
    }

    /* Individual product card */
    .ec-card {
      position: relative;
      cursor: pointer;
      overflow: hidden;
    }
    .ec-card:hover .ec-img-inner img {
      transform: scale(1.04);
    }

    .ec-img-wrap {
      position: relative;
      aspect-ratio: 3 / 4;
      overflow: hidden;
      background: #f5f5f5;
    }
    .ec-img-inner {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    .ec-img-inner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Bookmark icon (top-right) */
    .ec-bookmark {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.85);
      border-radius: 4px;
      z-index: 2;
      cursor: pointer;
      transition: background 0.2s ease;
    }
    .ec-bookmark:hover { background: #fff; }
    .ec-bookmark svg { width: 14px; height: 14px; fill: none; stroke: #0a0a0a; stroke-width: 1.5; }

    /* Sold-out badge */
    .ec-sold-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(255,255,255,0.9);
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 3px;
      color: #0a0a0a;
      z-index: 2;
    }

    /* Dot indicators */
    .ec-dots {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 5px;
      z-index: 2;
    }
    .ec-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(255,255,255,0.55);
      transition: background 0.2s;
    }
    .ec-dot.active { background: rgba(255,255,255,0.95); }

    /* Card bottom info */
    .ec-info {
      padding: 10px 0 8px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
    }
    .ec-meta { flex: 1; min-width: 0; }
    .ec-name {
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 400;
      color: #0a0a0a;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin: 0 0 3px;
    }
    .ec-name a { color: inherit; text-decoration: none; }
    .ec-name a:hover { text-decoration: underline; }
    .ec-price {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      font-weight: 400;
      color: #0a0a0a;
      margin: 0;
    }
    .ec-price.sale { color: #c94040; }

    /* Plus / add-to-cart button */
    .ec-add-btn {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      border: 1.5px solid #d0d0d0;
      background: transparent;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-left: 10px;
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }
    .ec-add-btn svg { width: 12px; height: 12px; stroke: #0a0a0a; stroke-width: 2; }
    .ec-add-btn:hover {
      background: #0a0a0a;
      border-color: #0a0a0a;
      transform: scale(1.1);
    }
    .ec-add-btn:hover svg { stroke: #fff; }

    /*  CINEMATIC BANNER (between collections)  */
    .ec-banner {
      position: relative;
      width: 100%;
      height: 68vh;
      overflow: hidden;
      background: #0a0a0a;
    }
    @media (max-width: 500px) {
      .ec-banner { height: 56vh; }
      .ec-banner-content { bottom: 28px; left: 24px; }
    }
    .ec-banner img {
      position: absolute;
      top: -10%;
      left: 0;
      width: 100%;
      height: 120%;
      object-fit: cover;
      opacity: 0.7;
      transition: transform 8s ease-out;
    }
    .ec-banner:hover img { transform: scale(1.04); }
    .ec-banner-content {
      position: absolute;
      bottom: 48px;
      left: 48px;
      z-index: 2;
      color: #fff;
    }
    .ec-banner-eyebrow {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.65);
      margin-bottom: 8px;
    }
    .ec-banner-title {
      font-family: 'Inter', sans-serif;
      font-size: clamp(28px, 4vw, 56px);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1;
      margin-bottom: 20px;
      text-transform: uppercase;
    }
    .ec-banner-btn {
      display: inline-block;
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #fff;
      border-bottom: 1px solid rgba(255,255,255,0.5);
      padding-bottom: 2px;
      text-decoration: none;
      transition: border-color 0.2s ease;
    }
    .ec-banner-btn:hover { border-color: #fff; }

    /*  DOTS INDICATOR STRIP (under each section)  */
    .ec-page-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 28px;
    }
    .ec-page-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #d0d0d0;
      transition: background 0.25s ease;
      cursor: pointer;
    }
    .ec-page-dot.active { background: #0a0a0a; }

  



/*  OBEYTHECULTURE  EDITORIAL SHOP SYSTEM  */
/* Warm paper canvas, portrait framing, an airy 3-col grid, text-link
   filters and a slide-out Refine drawer. Replaces the old white-box
   catalog look so the shop speaks the brand's editorial language.    */

.blu-shop-page {
  background-color: var(--paper);
  min-height: 100vh;
}

/* ---- Toolbar header ---- */
.blu-filters-container {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.blu-filters-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.blu-page-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}

/* "Advance Filters"  minimal Refine trigger */
.blu-advance {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 0 0 6px;
  cursor: pointer;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.blu-advance:hover { opacity: 0.6; }
.blu-advance svg { width: 14px; height: 14px; }

/* ---- Inline category filters: animated-underline text links ---- */
.blu-pills-wrap {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}



/* ---- Product grid: airy, 3-column ---- */
.blu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(24px, 2.6vw, 48px);
  row-gap: clamp(40px, 4.2vw, 72px);
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) 120px;
}

@media (max-width: 960px) {
  .blu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blu-grid { grid-template-columns: 1fr; row-gap: 40px; }
}

/* ---- Card ---- */
.blu-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.blu-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--paper-2);
  border-radius: 2px;
  overflow: hidden;
}

/* Two stacked images cross-fade on hover */
.blu-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.blu-card-img--back { opacity: 0; }
.blu-card:hover .blu-card-img--front { opacity: 0; transform: scale(1.03); }
.blu-card:hover .blu-card-img--back  { opacity: 1; transform: scale(1.03); }

.blu-card-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 2px 0;
}

.blu-card-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.blu-card-title {
  position: relative;
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.blu-card-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}
.blu-card:hover .blu-card-title::after { transform: scaleX(1); }

.blu-card-price {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--stone-dark);
}

/* "Add"  fades in on hover (always shown on touch) */
.blu-card-add {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-dark);
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.3s var(--ease);
}
.blu-card:hover .blu-card-add { opacity: 1; transform: translateY(0); }
.blu-card-add:hover { color: var(--ink); }
.blu-card-add.is-added { color: var(--ink); opacity: 1; transform: none; }

@media (hover: none) {
  .blu-card-add { opacity: 1; transform: none; }
  .blu-card-img--back { display: none; } /* no hover swap on touch */
}

@media (prefers-reduced-motion: reduce) {
  .blu-card-img { transition: opacity 0.3s linear; }
  .blu-card:hover .blu-card-img--front,
  .blu-card:hover .blu-card-img--back { transform: none; }
}

/*  Refine drawer  */
.blu-refine-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(11, 10, 9, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.blu-refine-overlay.open { opacity: 1; visibility: visible; }

.blu-refine {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1401;
  display: flex;
  flex-direction: column;
  width: min(420px, 90vw);
  height: 100%;
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(20, 16, 12, 0.14);
  transform: translateX(100%);
    will-change: transform;
  transition: transform 0.55s var(--ease);
}
.blu-refine.open { transform: translateX(0); }

.blu-refine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px clamp(24px, 4vw, 40px) 22px;
  border-bottom: 1px solid var(--line);
}
.blu-refine-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--ink);
}
.blu-refine-close {
  font-size: 26px;
  line-height: 1;
  color: var(--stone-dark);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.blu-refine-close:hover { color: var(--ink); }

.blu-refine-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px clamp(24px, 4vw, 40px) 24px;
}
.blu-refine-group {
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.blu-refine-group[hidden] { display: none; }
.blu-refine-label {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.blu-refine-opts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.blu-refine-opt {
  position: relative;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--stone-dark);
  background: transparent;
  border: none;
  padding: 0 0 2px;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.blu-refine-opt::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}
.blu-refine-opt:hover { color: var(--ink); }
.blu-refine-opt.active { color: var(--ink); }
.blu-refine-opt.active::after { transform: scaleX(1); }

.blu-refine-foot {
  display: flex;
  gap: 14px;
  padding: 20px clamp(24px, 4vw, 40px) 30px;
  border-top: 1px solid var(--line);
}
.blu-refine-reset,
.blu-refine-done {
  flex: 1;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 18px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.blu-refine-reset {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.blu-refine-reset:hover { border-color: var(--ink); }
.blu-refine-done {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
}
.blu-refine-done:hover { opacity: 0.85; }

/*  DYNAMIC LUXURY FOOTER  */
.new-footer {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.footer-marquee-container {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
  margin-bottom: 60px;
}

.footer-marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.footer-marquee span {
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 200px);
  font-weight: 300;
  line-height: 1;
  padding-right: 50px;
  color: rgba(255,255,255,0.03); 
  -webkit-text-stroke: 1px rgba(255,255,255,0.15);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

.footer-split-section {
  padding-bottom: 80px;
}

.footer-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.footer-brand-side {
  max-width: 400px;
}

.footer-logo-massive {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--paper);
}

.footer-links-side {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-hover-link {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding-bottom: 4px;
}

.footer-hover-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--paper);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-hover-link:hover::after {
  transform: translateX(0);
}

@media (max-width: 900px) {
  .footer-split { grid-template-columns: 1fr; gap: 60px; }
  .footer-links-side { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .footer-links-side { grid-template-columns: 1fr; gap: 40px; }
}

/* HOME PAGE BLUORNG SECTIONS */
.blu-home-section {
  padding: 60px 0;
  background: transparent; /* Match home page background */
}


/* Razor thin gap */
  width: max-content;
}

.blu-slider-card {
  width: 32vw;
  min-width: 280px;
  max-width: 450px;
  flex-shrink: 0;
  cursor: pointer;
}

@media (max-width: 900px) {
  .blu-slider-header { padding: 0 20px; }
  .blu-slider-track-wrap { padding: 0 20px 40px; }
  .blu-slider-card { width: 65vw; }
}

@media (max-width: 500px) {
  .blu-slider-card { width: 85vw; }
}

.blu-slider-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #ebe8e3; /* match body or slight contrast */
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.blu-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blu-slider-card:hover .blu-slider-dots {
  opacity: 1;
}

.blu-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.blu-dot.active {
  background: #fff;
}

.blu-slider-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 0 0;
}

.blu-slider-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blu-slider-name {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: #000;
}

.blu-slider-price {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: #666;
}

.blu-slider-add {
  font-size: 14px;
  color: #999;
  font-weight: 300;
  line-height: 1;
  transition: color 0.2s ease;
}
.blu-slider-card:hover .blu-slider-add {
  color: #000;
}


/* --- SEAMLESS GRID E-COMMERCE --- */
.blu-home-section.seamless {
  padding: 64px 0;
  background: #fff; /* Match body background */
}

.blu-sg-header {
  padding: 0 40px;
  margin-bottom: 24px;
}

.blu-sg-title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Main Wrapper */
.blu-seamless-grid-wrapper {
  width: 100%;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  padding: 0 48px;
  box-sizing: border-box;
}

/* The Grid */
.blu-seamless-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Grid Items (Cards) */
.blu-sg-card {
  position: relative;
  /* 1px solid #ffffff border to the right side and bottom */
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  display: flex;
  flex-direction: column;
}
/* remove right border for last item in row */
.blu-sg-card:nth-child(4n) {
  border-right: none;
}

/* Image Wrapper */
.blu-sg-img-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.blu-sg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows Overlay (from previous) */
.blu-sg-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.blu-sg-img-wrap:hover .blu-sg-arrows {
  opacity: 1;
}
.blu-sg-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s ease;
}
.blu-sg-arrow:hover { background: rgba(255,255,255,0.3); }
.blu-sg-arrow svg { width: 16px; height: 16px; }

/* Small white pagination dots */
.blu-sg-dots {
  position: absolute;
  bottom: 15px; /* absolute bottom center */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.blu-sg-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.blu-sg-dot.active {
  background: #ffffff;
}

/* Text Footer */
.blu-sg-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px;
  flex-grow: 1;
}

/* Text Alignment Left */
.blu-sg-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blu-sg-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500; /* Medium weight */
  color: #000; /* Black */
  line-height: 1.2;
}

.blu-sg-price {
  font-family: var(--sans);
  font-size: 11px; /* Smaller */
  font-weight: 400;
  color: #888; /* Grey */
  line-height: 1.2;
}

/* Thin clean + icon Right */
.blu-sg-add {
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: flex-start; /* vertically aligned with text */
  justify-content: center;
  transition: opacity 0.2s ease;
}
.blu-sg-add svg {
  width: 18px;
  height: 18px;
  stroke-width: 1px; /* Thin */
}
.blu-sg-add:hover {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1200px) {
  .blu-seamless-grid { grid-template-columns: repeat(3, 1fr); }
  .blu-sg-card:nth-child(4) { display: none; } 
  .blu-sg-card:nth-child(3n) { border-right: none; }
}
@media (max-width: 900px) {
  .blu-seamless-grid { grid-template-columns: repeat(2, 1fr); }
  .blu-sg-card:nth-child(4) { display: flex; } 
  .blu-sg-card:nth-child(even) { border-right: none; }
}
@media (max-width: 500px) {
  .blu-seamless-grid { grid-template-columns: 1fr; }
  .blu-sg-card { border-right: none; }
}
/* Match background */
  border-bottom: 1px solid #e5e5e5;
}

.blu-sg-header {
  padding: 0 40px;
  margin-bottom: 24px;
}

.blu-sg-title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.blu-seamless-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
  background-color: #fafafa;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
}

.blu-sg-card {
  position: relative;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background: #fdfdfd;
  display: flex;
  flex-direction: column;
}

/* Image Wrap */
.blu-sg-img-wrap {
  width: 100%;
  height: 450px; /* strict fixed height */
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.blu-sg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows Overlay */
.blu-sg-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Let hover trigger on wrapper */
}

.blu-sg-img-wrap:hover .blu-sg-arrows {
  opacity: 1;
}

.blu-sg-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s ease;
}
.blu-sg-arrow:hover {
  background: rgba(255,255,255,0.3);
}
.blu-sg-arrow svg {
  width: 16px;
  height: 16px;
}

/* Dots Overlay */
.blu-sg-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.blu-sg-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.blu-sg-dot.active {
  background: #fff;
}

/* Info Bar */
.blu-sg-info {
  display: flex;
  align-items: center; /* center items vertically in fixed height */
  justify-content: space-between;
  padding: 0 14px;
  background: transparent; /* inherit light grey from grid wrapper if wanted, or #fff */
  height: 64px; /* strict fixed height for text row */
  border-bottom: 1px solid #e5e5e5; /* lock in the grid */
}

.blu-sg-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blu-sg-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500; /* Medium weight */
  color: #000;
  line-height: 1.2;
}

.blu-sg-price {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500; /* Medium weight */
  color: #555;
  line-height: 1.2;
}

.blu-sg-add {
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.blu-sg-add svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5px; /* bold */
}
.blu-sg-add:hover {
  color: #000;
}

/* Responsive */
@media (max-width: 1200px) {
  .blu-seamless-grid { grid-template-columns: repeat(3, 1fr); }
  .blu-sg-card:nth-child(4) { display: none; } /* keep it even if possible */
}
@media (max-width: 900px) {
  .blu-seamless-grid { grid-template-columns: repeat(2, 1fr); }
  .blu-sg-card:nth-child(4) { display: flex; } /* restore on even row */
  .blu-sg-img-wrap { height: 350px; }
}
@media (max-width: 500px) {
  .blu-seamless-grid { grid-template-columns: 1fr; }
  .blu-sg-img-wrap { height: 420px; }
}

/* ============================================================
   E-COMMERCE  Bluorng-style flat seamless grid
   Minimal  luxury  edge-to-edge  no card chrome
   Authoritative overrides (load last, win the cascade)  v3
   ============================================================ */

/* Section rhythm  tight, restrained vertical spacing */
.blu-home-section.seamless {
  padding: 46px 0;
  background: transparent;
}

/* Header  left-aligned plain sans title + quiet "Discover more" link */
.blu-sg-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 0 40px;
  margin-bottom: 22px;
  text-align: left;
}
.blu-sg-title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0.01em;
  text-align: left;
  margin: 0;
  line-height: 1;
}
.blu-sg-more {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stone-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.blu-sg-more:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Grid  seamless, edge-to-edge, hairline separation only */
.blu-seamless-grid-wrapper {
  padding: 0 40px;
}
.blu-seamless-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

/* Card  flat, no chrome. The image is the product. */
.blu-sg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.blu-sg-card:hover {
  transform: none;
  box-shadow: none;
}
.blu-sg-card:nth-child(4n),
.blu-sg-card:nth-child(3n),
.blu-sg-card:nth-child(even) {
  border: none;
}

/* Image  portrait, square corners, restrained zoom on hover */
.blu-sg-img-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--paper-2);
}
.blu-sg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.blu-sg-card:hover .blu-sg-img-wrap img {
  transform: scale(1.035);
}

/* Hide faux carousel chrome  single image, keep it clean */
.blu-sg-arrows,
.blu-sg-dots {
  display: none;
}

/* Info  flush-left under the image, minimal type */
.blu-sg-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  height: auto;
  padding: 12px 0 0;
  background: transparent;
  border-bottom: none;
}
.blu-sg-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.blu-sg-name {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.blu-sg-price {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--stone-dark);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Add  bare minimal plus, no button chrome */
.blu-sg-add {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--stone);
  transition: color 0.25s ease;
}
.blu-sg-add svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5px;
}
.blu-sg-card:hover .blu-sg-add,
.blu-sg-add:hover {
  color: var(--ink);
  transform: none;
  background: transparent;
}

/* Responsive */
@media (max-width: 1200px) {
  .blu-seamless-grid { grid-template-columns: repeat(3, 1fr); }
  .blu-sg-card:nth-child(4) { display: none; }
}
@media (max-width: 900px) {
  .blu-home-section.seamless { padding: 38px 0; }
  .blu-seamless-grid-wrapper { padding: 0 22px; }
  .blu-sg-header { padding: 0 22px; margin-bottom: 18px; }
  .blu-seamless-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .blu-sg-card:nth-child(4) { display: flex; }
}
@media (max-width: 500px) {
  .blu-seamless-grid-wrapper { padding: 0 14px; }
  .blu-sg-header { padding: 0 14px; }
}

/* ============================================================
   PRODUCT ATMOSPHERE  frosted mosaic backdrop + glass cards
   Gives the otherwise-flat product sections depth: a soft,
   blurred tinted mosaic sits behind the grid, products lift on
   a hairline shadow, and name/price float in a frosted panel.
   ============================================================ */
.blu-home-section.seamless {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* the frosted mosaic itself  conic checkers + colour blooms, blurred */
.blu-home-section.seamless::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at center, #f5f3ef 0%, #e8e5df 100%);
    pointer-events: none;
  }
/* keep the section's real content above the mosaic */
.blu-home-section.seamless > * {
  position: relative;
  z-index: 1;
}
/* a touch more breathing room so the mosaic + shadows read */
.blu-home-section.seamless .blu-seamless-grid { gap: 14px; }

/* Product card  lift on hover, shadow gives depth above the mosaic */
.blu-sg-card { position: relative; transition: transform 0.5s var(--ease); }
.blu-sg-card:hover { transform: translateY(-6px); box-shadow: none; }
.blu-home-section.seamless .blu-sg-img-wrap {
  border-radius: 10px;
  box-shadow: 0 12px 30px -10px rgba(20,16,12,0.30);
  transition: box-shadow 0.5s var(--ease);
}
.blu-sg-card:hover .blu-sg-img-wrap {
  box-shadow: 0 24px 50px -12px rgba(20,16,12,0.42);
}
/* legibility scrim under the floating glass panel */
.blu-home-section.seamless .blu-sg-img-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.30));
  pointer-events: none;
  z-index: 1;
}

/* Glass info panel  frosted name/price floating over the image */
.blu-home-section.seamless .blu-sg-info {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 2;
  align-items: center;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(243,240,233,0.55);
  border: 1px solid rgba(255,255,255,0.40);
  box-shadow: 0 8px 24px rgba(20,16,12,0.18);
}
.blu-home-section.seamless .blu-sg-name { color: #16130f; }
.blu-home-section.seamless .blu-sg-price { color: #5a544a; }
.blu-home-section.seamless .blu-sg-add { color: #5a544a; }
.blu-home-section.seamless .blu-sg-card:hover .blu-sg-add { color: #16130f; }

@media (max-width: 900px) {
  .blu-home-section.seamless .blu-seamless-grid { gap: 10px; }
}

/* Dark-mode atmosphere  cooler mosaic, ember bloom, dark glass */
html.dark-mode .blu-home-section.seamless::before {
    background: radial-gradient(circle at center, #1f1b17 0%, #080706 100%);
    opacity: 1;
  }
html.dark-mode .blu-home-section.seamless .blu-sg-img-wrap {
  box-shadow: 0 12px 32px -10px rgba(0,0,0,0.55);
}
html.dark-mode .blu-sg-card:hover .blu-sg-img-wrap {
  box-shadow: 0 24px 54px -12px rgba(0,0,0,0.7);
}
html.dark-mode .blu-home-section.seamless .blu-sg-info {
  background: rgba(11,10,9,0.50);
  border-color: rgba(243,240,233,0.14);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
html.dark-mode .blu-home-section.seamless .blu-sg-name { color: #f3f0e9; }
html.dark-mode .blu-home-section.seamless .blu-sg-price { color: #b8b1a6; }
html.dark-mode .blu-home-section.seamless .blu-sg-add { color: #b8b1a6; }
html.dark-mode .blu-home-section.seamless .blu-sg-card:hover .blu-sg-add { color: #f3f0e9; }

/* ============================================================
   DARK MODE  Proper CSS Custom Property Overrides
   Applied to html.dark-mode (toggled by script.js)
   ============================================================ */

html.dark-mode {
  --black: #f3f0e9;
  --ink: #f3f0e9;
  --ink-soft: #d0ccc3;
  --paper: #0b0a09;
  --paper-2: #161412;
  --white: #0b0a09;
  --stone: #8d8475;
  --stone-dark: #a09a90;
  --line: #2a251f;
  --line-soft: rgba(243,240,233,0.10);
}

/* Body */
html.dark-mode body {
  background: #0b0a09;
  color: #f3f0e9;
}

/*  Header (mix-blend-mode: difference already inverts)  */
/* The header uses mix-blend-mode:difference which naturally
   adapts to dark/light backgrounds, so it needs NO override. */

/*  Nav pill (glassmorphism  keep translucent)  */
html.dark-mode .nav-pill {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 2px rgba(255,255,255,0.15);
}

/*  Hero (already dark, no changes needed)  */

/*  Product sections (home, shop grids)  */
html.dark-mode .blu-home-section.seamless {
  background: #0b0a09;
}
html.dark-mode .blu-sg-img-wrap {
  background: #1a1814;
}
html.dark-mode .blu-sg-name {
  color: #f3f0e9;
}
html.dark-mode .blu-sg-price {
  color: #a09a90;
}
html.dark-mode .blu-sg-add {
  color: #8d8475;
}
html.dark-mode .blu-sg-card:hover .blu-sg-add,
html.dark-mode .blu-sg-add:hover {
  color: #f3f0e9;
}
html.dark-mode .blu-sg-title {
  color: #f3f0e9;
}
html.dark-mode .blu-sg-more {
  color: #a09a90;
}
html.dark-mode .blu-sg-more:hover {
  color: #f3f0e9;
  border-bottom-color: #f3f0e9;
}

/*  EC Sections (legacy grid)  */
html.dark-mode .ec-section {
  background: #0b0a09;
}
html.dark-mode .ec-label {
  color: #f3f0e9;
}
html.dark-mode .ec-img-wrap {
  background: #1a1814;
}
html.dark-mode .ec-name {
  color: #f3f0e9;
}
html.dark-mode .ec-name a { color: #f3f0e9; }
html.dark-mode .ec-price {
  color: #a09a90;
}
html.dark-mode .ec-price.sale { color: #ff7b7b; }
html.dark-mode .ec-add-btn {
  border-color: #4a4540;
}
html.dark-mode .ec-add-btn svg { stroke: #f3f0e9; }
html.dark-mode .ec-add-btn:hover {
  background: #f3f0e9;
  border-color: #f3f0e9;
}
html.dark-mode .ec-add-btn:hover svg { stroke: #0b0a09; }
html.dark-mode .ec-bookmark {
  background: rgba(0,0,0,0.55);
}
html.dark-mode .ec-bookmark svg { stroke: #fff; }
html.dark-mode .ec-sold-badge {
  background: rgba(255,255,255,0.1);
  color: #f3f0e9;
}
html.dark-mode .ec-page-dot { background: #333; }
html.dark-mode .ec-page-dot.active { background: #f3f0e9; }

/*  Banners (already dark, no changes needed)  */

/*  Shop page (editorial)  (Removed: Now handled by shop-system.css) */

/* refine drawer */
html.dark-mode .blu-refine {
  background: #16130f;
  border-left-color: #2a251f;
}
html.dark-mode .blu-refine-head { border-bottom-color: #2a251f; }
html.dark-mode .blu-refine-foot { border-top-color: #2a251f; }
html.dark-mode .blu-refine-group { border-bottom-color: rgba(243,240,233,0.08); }
html.dark-mode .blu-refine-title { color: var(--paper); }
html.dark-mode .blu-refine-close { color: #8d8475; }
html.dark-mode .blu-refine-close:hover { color: var(--paper); }
html.dark-mode .blu-refine-label { color: #6f685d; }
html.dark-mode .blu-refine-opt { color: #8d8475; }
html.dark-mode .blu-refine-opt::after { background: var(--paper); }
html.dark-mode .blu-refine-opt:hover,
html.dark-mode .blu-refine-opt.active { color: var(--paper); }
html.dark-mode .blu-refine-reset { border-color: #2a251f; color: var(--paper); }
html.dark-mode .blu-refine-reset:hover { border-color: var(--paper); }
html.dark-mode .blu-refine-done { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/*  Home marquee  */
html.dark-mode .home-marquee {
  background: #161412;
}

/*  Home manifesto  */
html.dark-mode .home-manifesto {
  background: #0b0a09;
}
html.dark-mode .home-manifesto-text {
  color: #f3f0e9;
}

/*  Home sections  */
html.dark-mode .home-section {
  background: transparent;
}
html.dark-mode .home-collections {
  background: #161412;
}
html.dark-mode .home-stats {
  background: #0b0a09;
}
html.dark-mode .home-stat-num { color: #f3f0e9; }

/*  Shop cards (classic)  */
html.dark-mode .shop {
  background: #0b0a09;
}
html.dark-mode .shop-title { color: #f3f0e9; }
html.dark-mode .shop-media {
  background: #1a1814;
}
html.dark-mode .shop-name { color: #f3f0e9; }
html.dark-mode .shop-price { color: #8d8475; }
html.dark-mode .shop-discover {
  background: #1a1814;
  color: #f3f0e9;
}
html.dark-mode .shop-discover:hover { background: #2a251f; }
html.dark-mode .shop-add {
  border-color: #4a4540;
  color: #f3f0e9;
}
html.dark-mode .shop-add:hover {
  background: #f3f0e9;
  color: #0b0a09;
  border-color: #f3f0e9;
}

/*  Cart drawer  */
html.dark-mode .cart-panel {
  background: #0f0e0c;
}
html.dark-mode .cart-title { color: #f3f0e9; }
html.dark-mode .cart-close { color: #f3f0e9; }
html.dark-mode .cart-close:hover { background: #1a1814; }
html.dark-mode .cart-empty-title { color: #f3f0e9; }
html.dark-mode .cart-empty-sub { color: #8d8475; }
html.dark-mode .cart-perk-title { color: #f3f0e9; }
html.dark-mode .cart-perk-desc { color: #8d8475; }
html.dark-mode .btn-dark {
  background: #f3f0e9;
  color: #0b0a09;
  border-color: #f3f0e9;
}
html.dark-mode .btn-dark:hover {
  background: transparent;
  color: #f3f0e9;
}

/*  Account drawer  */
html.dark-mode .account-panel {
  background: #0f0e0c;
}
html.dark-mode .account-title { color: #f3f0e9; }
html.dark-mode .account-close { color: #f3f0e9; }
html.dark-mode .account-close:hover { background: #1a1814; }
html.dark-mode .account-welcome { color: #f3f0e9; }
html.dark-mode .account-sub { color: #8d8475; }
html.dark-mode .account-alt { color: #8d8475; }
html.dark-mode .account-alt button {
  color: #f3f0e9;
  border-bottom-color: #f3f0e9;
}
html.dark-mode .field label { color: #a09a90; }
html.dark-mode .field input,
html.dark-mode .field textarea {
  color: #f3f0e9;
  border-bottom-color: #2a251f;
}
html.dark-mode .field input:focus,
html.dark-mode .field textarea:focus {
  border-bottom-color: #f3f0e9;
}

/*  Search overlay  */
html.dark-mode .search-overlay {
  background: rgba(11,10,9,0.97);
}
html.dark-mode .search-close { color: #f3f0e9; }
html.dark-mode .search-close:hover { background: #1a1814; }
html.dark-mode .search-field {
  border-bottom-color: #f3f0e9;
}
html.dark-mode .search-field svg { color: #f3f0e9; }
html.dark-mode .search-field input { color: #f3f0e9; }
html.dark-mode .search-field input::placeholder { color: rgba(243,240,233,0.35); }
html.dark-mode .search-suggest-label { color: #8d8475; }
html.dark-mode .search-chip {
  color: #f3f0e9;
  background: #1a1814;
}
html.dark-mode .search-chip:hover {
  background: #f3f0e9;
  color: #0b0a09;
}

/*  Footer (already dark by default  minimal tweaks)  */
/* The footer is already var(--ink) background with var(--paper) text,
   so the variable swap handles it. But we need to ensure the footer
   stays dark-on-light in dark mode for visual contrast. */
html.dark-mode .footer,
html.dark-mode .new-footer {
  background: #161412;
  color: #f3f0e9;
}
html.dark-mode .footer-logo-massive { color: #f3f0e9; }

/*  Mega menu (already glassmorphic dark overlay  no changes)  */

/*  Stories modal (already dark  no changes)  */

/*  Collection cards  */
html.dark-mode .collection-card { background: #1a1814; }

/*  Journal cards  */
html.dark-mode .journal-media { background: #1a1814; }
html.dark-mode .journal-headline { color: #f3f0e9; }
html.dark-mode .journal-tag { color: #8d8475; }
html.dark-mode .journal-excerpt { color: #8d8475; }
html.dark-mode .journal-readmore {
  color: #f3f0e9;
  border-bottom-color: #f3f0e9;
}

/*  About page  */
html.dark-mode .about-media { background: #1a1814; }
html.dark-mode .about-statement { color: #f3f0e9; }
html.dark-mode .about-stat-num { color: #f3f0e9; }
html.dark-mode .about-stats { border-top-color: #2a251f; }

/*  Contact page  */
html.dark-mode .contact-detail-value { color: #f3f0e9; }
html.dark-mode .contact-detail-value a { border-bottom-color: #2a251f; }
html.dark-mode .contact-detail-value a:hover { border-bottom-color: #f3f0e9; }

/*  Page hero (inner pages)  */
html.dark-mode .page-hero {
  background: #0b0a09;
}
html.dark-mode .page-section-title { color: #f3f0e9; }
html.dark-mode .page-lead { color: #a09a90; }

/*  Buttons  */
html.dark-mode .btn-outline {
  color: #f3f0e9;
  border-color: #f3f0e9;
}
html.dark-mode .btn-outline:hover {
  background: #f3f0e9;
  color: #0b0a09;
}
html.dark-mode .btn-light {
  background: #0b0a09;
  color: #f3f0e9;
  border-color: #0b0a09;
}
html.dark-mode .btn-light:hover {
  background: transparent;
  color: #0b0a09;
}

/*  Arrivals subnav  */
html.dark-mode .arrivals-subnav {
  background: rgba(11,10,9,0.82);
  border-bottom-color: #2a251f;
}
html.dark-mode .arrivals-pill {
  background: #1a1814;
  color: #f3f0e9;
}
html.dark-mode .arrivals-pill:hover { background: #2a251f; }
html.dark-mode .arrivals-pill.is-active {
  background: #f3f0e9;
  color: #0b0a09;
  border-color: #f3f0e9;
}
html.dark-mode .arrivals-section-label { color: #2a251f; }

/*  Move first card (already dark, swap to light in dark mode)  */
html.dark-mode .move-first-card {
  background: #f3f0e9;
  color: #0b0a09;
}
html.dark-mode .move-first-text p { color: rgba(11,10,9,0.6); }

/*  Limited badges  */
html.dark-mode .arrivals-badge {
  color: #f3f0e9;
  background: #0b0a09;
}
html.dark-mode .arrivals-badge--urgent {
  background: #f3f0e9;
  color: #0b0a09;
}

/*  Limited quote  */
html.dark-mode .limited-quote {
  color: #f3f0e9;
  border-left-color: #f3f0e9;
}

/*  Shop filters  */
html.dark-mode .shop-filter {
  color: #f3f0e9;
  background: #1a1814;
}
html.dark-mode .shop-filter:hover { background: #2a251f; }
html.dark-mode .shop-filter.is-active {
  background: #f3f0e9;
  color: #0b0a09;
}

/*  Transition  */
html.dark-mode body,
html.dark-mode .blu-home-section.seamless,
html.dark-mode .ec-section,
html.dark-mode .shop,
html.dark-mode .home-manifesto,
html.dark-mode .home-stats {
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* ============================================================
   PREMIUM FOOTER  NON-RECTANGULAR ARCH DESIGN
   Stadium-curved top, overlapping brand badge, centered layout
   ============================================================ */

/* 
   FOOTER  minimal luxury (OBEYTHECULTURE)
    */
.uf { border-radius: 24px 24px 0 0; overflow: hidden; 
  /* Footer is always dark  pin its palette so dark mode (which flips
     --paper to near-black) can't make the cream text vanish. */
  --paper: #f3f0e9;
  --stone: #8d8475;
  position: relative;
  background: #0b0a09;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  /* curved upper edges so the footer reads as a soft slab, not a box.
     border-top follows the radius, keeping the curve visible in dark
     mode where the page behind is the same near-black as the footer. */
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  border-top: 1px solid rgba(243,240,233,0.14);
  padding: clamp(64px, 8vw, 120px) clamp(22px, 5vw, 80px) 38px;
 }
/* faint top-down highlight to give the curved lip a little depth */

/* faint warm vignette for depth  replaces the old glow orbs */

.uf-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
}

/*  Main grid: brand + link columns  */
.uf-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 0 0 clamp(40px, 5vw, 64px);
}
.uf-word {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  /* Uniform monochrome wordmark with a slow, subtle luxury sheen */
  color: var(--paper); /* fallback if background-clip unsupported */
  background: linear-gradient(
    100deg,
    rgba(243, 240, 233, 0.70) 0%,
    rgba(243, 240, 233, 0.70) 42%,
    #fffdf8 50%,
    rgba(243, 240, 233, 0.70) 58%,
    rgba(243, 240, 233, 0.70) 100%
  );
  background-size: 250% 100%;
  background-position: -30% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: uf-sheen 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transition: letter-spacing 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.uf-word:hover {
  letter-spacing: 0.09em;
}
@keyframes uf-sheen {
  0%   { background-position: 130% 0; }
  40%  { background-position: -30% 0; }
  100% { background-position: -30% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .uf-word { animation: none; background-position: 50% 0; }
}
.uf-word em {
  /* Italic kept for typographic rhythm; colour now uniform with the sheen */
  font-style: italic;
  font-weight: 300;
  -webkit-text-fill-color: transparent;
}
.uf-mantra {
  margin: 20px 0 0;
  max-width: 32ch;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(243,240,233,0.55);
}
.uf-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.uf-col h4 {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.uf-col a {
  position: relative;
  padding: 7px 0;
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(243,240,233,0.6);
  text-decoration: none;
  transition: color 0.35s var(--ease);
}
.uf-col a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.uf-col a:hover { color: var(--paper); }
.uf-col a:hover::after { transform: scaleX(1); }

/*  Baseline  */
.uf-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(243,240,233,0.08);
}
.uf-copy {
  margin: 0;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(243,240,233,0.38);
}
.uf-social { display: flex; gap: 10px; }
.uf-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(243,240,233,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(243,240,233,0.65);
  text-decoration: none;
  transition: opacity , transform , color , background-color , border-color ;
}
.uf-social a:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: #0b0a09;
  transform: translateY(-3px);
}
.uf-legal { display: flex; gap: 22px; }
.uf-legal a {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(243,240,233,0.38);
  text-decoration: none;
  transition: color 0.35s var(--ease);
}
.uf-legal a:hover { color: var(--paper); }

/*  Responsive  */
@media (max-width: 900px) {
  .uf-grid { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .uf-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .uf { padding: 48px 20px 32px; }
  .uf-call { gap: 32px; }
  .uf-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .uf-base { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 40px; padding-top: 24px; }
  .uf-word { font-size: 24px; }
  .uf-mantra { font-size: 13px; margin-top: 12px; }
  .uf-col h4 { margin-bottom: 12px; font-size: 10px; }
  .uf-col a { font-size: 11px; margin-bottom: 8px; }
}

/* footer is dark by default; keep it consistent in dark mode */
html.dark-mode .uf { 
  background: #000000; 
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE  OBEYTHECULTURE
   Covers: hamburger menu, header, hero, home sections, footer,
   mega menu, product grids, overlays, and all breakpoints.
   ============================================================ */

/*  Hamburger menu button  hidden on desktop  */
.menu-btn {
  display: none;
}

@media (max-width: 1180px) {
  .menu-btn {
    display: flex;
    order: -1;
  }
}

/*  Mobile navigation drawer  */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 499;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-nav.open {
  pointer-events: all;
  visibility: visible;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1), backdrop-filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-nav.open .mobile-nav-overlay {
  background: rgba(8, 7, 6, 0.95);
}
.mobile-nav-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  padding: 90px 28px 40px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-nav.open .mobile-nav-panel {
  opacity: 1;
  transform: translateY(0);
}

/* Section grouping */
.mobile-nav-section {
  margin-bottom: 32px;
}
.mobile-nav-section:last-child {
  margin-bottom: 0;
}
.mobile-nav-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(243,240,233,0.35);
  margin-bottom: 16px;
  display: block;
}

/* Nav links */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-link {
  display: block;
  font-family: var(--sans);
  font-size: clamp(22px, 6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(243,240,233,0.7);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1.1;
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: #f3f0e9;
  transform: translateX(6px);
}

/* Sub links (smaller) */
.mobile-nav-sublinks {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(243,240,233,0.1);
}
.mobile-nav-sublink {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(243,240,233,0.45);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.mobile-nav-sublink:hover {
  color: #f3f0e9;
}

/* Footer of mobile nav */
.mobile-nav-foot {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(243,240,233,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-foot span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(243,240,233,0.3);
}

/* Dark mode  mobile nav is already dark, keep it consistent */
html.dark-mode .mobile-nav-panel {
  background: transparent;
}

/* Only show on mobile */
@media (min-width: 1181px) {
  .mobile-nav { display: none !important; }
}

/*  Mega menu  full-screen mobile-friendly  */
@media (max-width: 1180px) {
  .mega-menu-inner {
    padding: 24px 22px 36px;
    top: 64px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mega-columns {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: flex-start;
  }
  .mega-subs-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
  }
  .mega-parent {
    font-size: clamp(24px, 5vw, 40px);
    padding: 6px 0;
  }
  .mega-sub {
    font-size: clamp(18px, 3.5vw, 28px);
    padding: 4px 0;
  }
  .mega-foot {
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
  }
}

/*  Header  tighter mobile  */
@media (max-width: 760px) {
  .header {
    padding: 16px 20px;
  }
  .header.scrolled {
    padding: 12px 20px;
  }
  .header-left {
    gap: 16px;
  }
  .logo-mark {
    font-size: 20px;
  }
  /* Hide story trigger on small screens to save space */
  .story-trigger {
    display: none;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 14px 16px;
  }
  .logo-mark {
    font-size: 18px;
  }
  .icon-btn {
    width: 38px;
    height: 38px;
  }
  .icon-btn svg {
    width: 18px;
    height: 18px;
  }
  .header-actions {
    gap: 2px;
  }
}

/*  Container  reduce padding on mobile  */
@media (max-width: 760px) {
  .container {
    padding: 0 16px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
}

/*  Hero  mobile adjustments  */
@media (max-width: 760px) {
  .hero {
    min-height: 520px;
  }
  .hero-cta {
    padding: 0 22px;
    padding-top: 40px;
  }
  .hero-title {
    font-size: clamp(40px, 11vw, 80px);
    margin-bottom: 28px;
  }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.25em;
  }
  .hero-cta-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 14px 28px;
    font-size: 11px;
    width: 100%;
    justify-content: center;
  }
  .hero-bottom-cta {
    bottom: 28px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 480px;
  }
  .hero-cta {
    padding: 0 16px;
    padding-top: 32px;
  }
  .hero-title {
    font-size: clamp(34px, 10vw, 60px);
    margin-bottom: 22px;
  }
}

/*  Home marquee  mobile spacing  */
@media (max-width: 760px) {
  .home-marquee {
    padding: 14px 0;
  }
}

/*  Home manifesto  mobile  */
@media (max-width: 760px) {
  .home-manifesto {
    padding: 60px 22px;
  }
  .home-manifesto-text {
    font-size: clamp(24px, 7vw, 48px);
  }
}
@media (max-width: 480px) {
  .home-manifesto {
    padding: 48px 16px;
  }
}

/*  Home sections  mobile  */
@media (max-width: 760px) {
  .home-section {
    padding: clamp(48px, 8vh, 80px) 22px;
  }
  .home-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }
}

/*  Home editorial split  mobile  */
@media (max-width: 760px) {
  .home-editorial {
    padding: 48px 22px;
    gap: 28px;
  }
  .home-editorial-title {
    font-size: clamp(30px, 8vw, 52px);
  }
}
@media (max-width: 480px) {
  .home-editorial {
    padding: 40px 16px;
  }
}

/*  Home stats  mobile  */
@media (max-width: 760px) {
  .home-stats {
    padding: 48px 22px;
  }
  .home-stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-stat-num {
    font-size: clamp(36px, 10vw, 60px);
  }
}

/*  Home collections  mobile  */
@media (max-width: 760px) {
  .home-collections {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/*  Newsletter  mobile  */
@media (max-width: 760px) {
  .footer-newsletter {
    padding: 48px 22px;
  }
  .newsletter-card {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .newsletter-form {
    min-width: 100%;
    width: 100%;
  }
  .newsletter-text h3 {
    font-size: clamp(24px, 6vw, 36px);
  }
}

/*  Old footer grid  mobile  */
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-links-section {
    padding: 48px 0;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/*  New footer split  mobile  */
@media (max-width: 760px) {
  .footer-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-split-section {
    padding-bottom: 48px;
  }
  .footer-logo-massive {
    font-size: 40px;
  }
  .footer-links-side {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}
@media (max-width: 480px) {
  .footer-links-side {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/*  UF Footer  mobile  */
@media (max-width: 760px) {
  .uf {
    padding: 48px 18px 28px;
    border-radius: 20px 20px 0 0;
  }
  .uf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }
  .uf-brand-col {
    grid-column: 1 / -1;
  }
  .uf-word {
    font-size: clamp(22px, 5vw, 28px);
  }
  .uf-mantra {
    font-size: 15px;
  }
  .uf-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .uf-legal {
    flex-wrap: wrap;
    gap: 14px;
  }
  .uf-social {
    gap: 8px;
  }
  .uf-social a {
    width: 36px;
    height: 36px;
  }
}

/*  EC sections (home product grids)  mobile  */
@media (max-width: 760px) {
  .ec-section {
    padding: 40px 0;
  }
  .ec-inner {
    padding: 0 16px;
  }
  .ec-header {
    margin-bottom: 20px;
  }
  .ec-banner-content {
    bottom: 22px;
    left: 16px;
  }
}

/*  Seamless grid product cards  mobile  */
@media (max-width: 760px) {
  .blu-home-section.seamless {
    padding: 32px 0;
  }
  .blu-seamless-grid-wrapper {
    padding: 0 16px;
  }
  .blu-sg-header {
    padding: 0 16px;
    margin-bottom: 14px;
  }
  .blu-home-section.seamless .blu-sg-info {
    left: 6px;
    right: 6px;
    bottom: 6px;
    padding: 8px 10px;
    border-radius: 8px;
  }
  .blu-sg-name {
    font-size: 11px;
  }
  .blu-sg-price {
    font-size: 10px;
  }
}

/*  Shop product grid on homepage  mobile  */
@media (max-width: 760px) {
  .shop {
    padding: 48px 16px;
  }
  .shop-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .shop-name {
    font-size: 13px;
  }
  .shop-price {
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/*  Slider cards  mobile  */
@media (max-width: 480px) {
  .blu-slider-card {
    width: 80vw;
  }
}

/*  Cart drawer  mobile  */
@media (max-width: 480px) {
  .cart-panel {
    width: 100vw;
    max-width: 100vw;
    padding: 20px;
  }
}

/*  Search overlay  mobile  */
@media (max-width: 760px) {
  .search-top {
    padding: 16px 22px;
  }
  .search-body {
    padding: 20px 22px 40px;
  }
  .search-field input {
    font-size: clamp(22px, 6vw, 40px);
  }
  .search-chips {
    gap: 8px;
  }
  .search-chip {
    font-size: 13px;
    padding: 8px 16px;
  }
}

/*  Account panel  mobile  */
@media (max-width: 480px) {
  .account-panel {
    width: 100vw;
    max-width: 100vw;
    padding: 24px 20px;
  }
}

/*  Stories modal  mobile  */
@media (max-width: 600px) {
  .story-modal {
    padding: 0;
  }
  .story-stage {
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
}

/*  Buttons  mobile touch targets  */
@media (max-width: 760px) {
  .btn {
    padding: 13px 24px;
    font-size: 11px;
  }
  .text-link {
    font-size: 11px;
  }
}

/*  Extra-small phone (400px)  tightest spacing  */
@media (max-width: 400px) {
  .container {
    padding: 0 12px;
  }
  .header {
    padding: 10px 12px;
  }
  .header.scrolled {
    padding: 8px 12px;
  }
  .logo-mark {
    font-size: 16px;
  }
  .hero-cta {
    padding: 0 12px;
    padding-top: 28px;
  }
  .hero-title {
    font-size: clamp(28px, 9vw, 48px);
  }
  .home-manifesto {
    padding: 40px 12px;
  }
  .home-editorial {
    padding: 36px 12px;
  }
  .uf {
    padding: 40px 12px 24px;
    border-radius: 16px 16px 0 0;
  }
}

/* Preloader Transition */
#exit-preloader {
  position: fixed;
  inset: 0;
  background-color: #0A0A0A;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.exit-hanger-icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: spin3D 1.5s linear infinite;
}
@keyframes spin3D {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}


/* Global Typography Overrides */
body {
  font-family: 'Inter', sans-serif !important;
}
h1, h2, h3, h4, h5, h6, em {
  font-style: normal !important;
}

/* Global overrides for seamless UI */
@media (max-width: 900px) {
  .header { padding-top: max(16px, env(safe-area-inset-top)) !important; }
}
.blu-sg-card, .blu-card {
  border-radius: 12px !important;
  border: none !important;
  overflow: hidden;
}
.blu-sg-img-wrap, .blu-card-img-wrap {
  border-radius: 12px !important;
}

/* PDM Size Selector */
.pdm-sizes-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.pdm-size-btn {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity , transform , color , background-color , border-color ;
  min-width: 44px;
}
.pdm-size-btn:hover:not(:disabled) {
  border-color: #fff;
}
.pdm-size-btn.selected {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.pdm-size-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Main page card hover */
.blu-sg-card:hover .blu-sg-img--back {
  opacity: 1 !important;
}
.blu-sg-card:hover .blu-sg-img--front {
  opacity: 0 !important;
}

/* GPU Hardware Acceleration Override & Scroll Performance */



.shop-media img, .blu-card-img, .home-editorial-media img, .ec-banner img, .coll-panel-media img { will-change: transform; transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
