/* =========================================
   FLOWTEC - Exclusive Luxury Streetwear
   Grunge Streetwear Aesthetic
   ========================================= */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #f5f5f5;
  --dark: #ebebeb;
  --dark2: #e2e2e2;
  --dark3: #d0d0d0;
  --grey: #777777;
  --light-grey: #444444;
  --white: #111111;
  --accent: #333333;
  --red: #ff2a2a;
  --gold: #c9a94e;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--dark3) var(--black);
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* --- PRELOADER --- */
#preloader {
  display: none;
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 500;
  text-transform: uppercase;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 0;
  height: 74px;
  background: rgba(245, 245, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.navbar.scrolled {
  background: rgba(245, 245, 245, 0.98);
}

.navbar.hidden-nav {
  transform: translateY(-100%);
}

/* --- NAV ICON BUTTONS --- */
.nav-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  height: 74px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  padding: 0;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.nav-icon-btn:last-child {
  border-right: none;
}

.nav-icon-btn:hover {
  color: var(--white);
  background: rgba(0,0,0,0.05);
}

.nav-icon-btn.active {
  background: #111111;
  color: #f5f5f5 !important;
}

.nav-icon-btn span {
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: inherit;
}

.nav-icon-btn svg {
  transition: transform 0.2s;
}

.nav-icon-btn:hover svg {
  transform: scale(1.1);
}

/* Cart badge */
.nav-cart-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count {
  display: none !important;
  font-family: var(--font-heading);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  text-align: center;
}

.mobile-logo {
  width: 100px;
  margin: 0 auto 40px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 32px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s;
}

.mobile-link:hover {
  color: var(--white);
}

/* --- CART SIDEBAR --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 90vw;
  z-index: 1200;
  background: var(--dark);
  border-left: 1px solid var(--dark3);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--dark3);
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 4px;
}

.cart-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--grey);
}

.cart-empty p {
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 2px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark3);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--dark2);
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.cart-item-size {
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-size: 14px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 2px;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 8px;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: var(--red);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.cart-item-qty button {
  background: var(--dark3);
  border: none;
  color: var(--white);
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-item-qty button:hover {
  background: var(--grey);
}

.cart-item-qty span {
  font-family: var(--font-heading);
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--dark3);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.cart-note {
  text-align: center;
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 1px;
  margin-top: 12px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 2px;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 50vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: contrast(1.2) brightness(0.6);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--grain);
  background-size: 200px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: fadeUp 1s ease 1.8s both;
}

.hero-logo {
  width: min(400px, 70vw);
  filter: drop-shadow(0 0 60px rgba(255,255,255,0.15));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 30px rgba(255,255,255,0.1)); }
  100% { filter: drop-shadow(0 0 80px rgba(255,255,255,0.2)); }
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 12px;
  color: var(--accent);
  margin-top: 8px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- HERO CLOCK --- */
.hero-clock-content {
  gap: 8px;
}

.hero-location {
  font-family: var(--font-heading);
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 14px;
  color: var(--grey);
  font-weight: 300;
}

.hero-time {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 8px;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 0 80px rgba(255,255,255,0.08);
}

.hero-date {
  font-family: var(--font-heading);
  font-size: clamp(14px, 2.5vw, 22px);
  letter-spacing: 10px;
  color: var(--grey);
  font-weight: 300;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s ease 2.4s both;
}

.hero-scroll span {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--grey);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--grey), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

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

/* --- MARQUEE --- */
.marquee {
  background: var(--dark);
  border-bottom: 1px solid var(--dark3);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--grey);
  padding-right: 60px;
}

.clock-ticker {
  background: var(--dark);
  border-bottom: 1px solid var(--dark3);
  padding: 10px 0;
  margin-top: 16px;
  overflow: hidden;
  position: relative;
}

.clock-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.clock-ticker-track span {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 12px;
  color: var(--grey);
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- SECTIONS COMMON --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--grey);
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
  line-height: 1.1;
}

.section-sub {
  font-size: 14px;
  color: var(--grey);
  letter-spacing: 2px;
  margin-top: 12px;
}

/* --- GLITCH EFFECT --- */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch:hover::before,
.glitch.glitch-active::before {
  animation: glitch1 0.3s linear;
  opacity: 0.8;
  color: var(--red);
  z-index: -1;
}

.glitch:hover::after,
.glitch.glitch-active::after {
  animation: glitch2 0.3s linear;
  opacity: 0.8;
  color: cyan;
  z-index: -2;
}

@keyframes glitch1 {
  0% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, -2px); }
  20% { clip-path: inset(92% 0 1% 0); transform: translate(2px, 2px); }
  40% { clip-path: inset(43% 0 1% 0); transform: translate(-2px, 2px); }
  60% { clip-path: inset(25% 0 58% 0); transform: translate(2px, -2px); }
  80% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, 2px); }
  100% { clip-path: inset(58% 0 43% 0); transform: translate(0); }
}

@keyframes glitch2 {
  0% { clip-path: inset(65% 0 13% 0); transform: translate(2px, 2px); }
  20% { clip-path: inset(10% 0 85% 0); transform: translate(-2px, -2px); }
  40% { clip-path: inset(60% 0 20% 0); transform: translate(2px, -2px); }
  60% { clip-path: inset(15% 0 70% 0); transform: translate(-2px, 2px); }
  80% { clip-path: inset(80% 0 5% 0); transform: translate(2px, 2px); }
  100% { clip-path: inset(35% 0 50% 0); transform: translate(0); }
}

/* --- SHOP --- */
.shop {
  padding: 70px 40px;
  background: var(--black);
  position: relative;
}

.past-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.past-img.active {
  opacity: 1;
}

.past-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.past-name {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--light);
  font-weight: 300;
}

.past-price {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--grey);
  text-decoration: line-through;
  text-decoration-color: #111;
  text-decoration-thickness: 2px;
}

.past-sold {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--grey);
}

/* --- LIMITED PRODUCT CARD --- */
.limited-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--dark2);
}

.limited-product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.limited-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark2);
}

.limited-placeholder span {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 10px;
  color: var(--dark3);
  text-transform: uppercase;
}

.limited-info {
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.limited-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.limited-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
}

.limited-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--white);
}

.limited-stock {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--grey);
}

.limited-colours {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.limited-colour-label {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--grey);
}

.limited-colour-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.limited-sizes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.limited-size-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.colour-btn {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--dark3);
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.2s ease;
}

.colour-btn:hover {
  border-color: var(--white);
  color: var(--white);
}

.colour-btn.active {
  color: #000;
}

.colour-btn[data-colour="Black"].active {
  background: #4a90d9;
  border-color: #4a90d9;
}

.colour-btn[data-colour="Mixed"].active {
  background: #7b3fa0;
  border-color: #7b3fa0;
  color: #000;
}

.colour-btn[data-colour="White"].active {
  background: #e03232;
  border-color: #e03232;
}

.limited-atc {
  width: 100%;
  background: var(--white);
  color: var(--black);
  border: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  padding: 16px 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.limited-atc:hover {
  background: var(--accent);
  color: var(--black);
}

.no-drop {
  text-align: center;
  padding: 60px 20px;
  color: var(--grey);
  font-family: var(--font-heading);
  letter-spacing: 3px;
  font-size: 13px;
  line-height: 2.2;
}

.no-drop a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.no-drop a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.shop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grain);
  background-size: 200px;
  pointer-events: none;
  opacity: 0.4;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.product-card {
  background: var(--dark);
  border: 1px solid var(--dark3);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  padding: 6px 14px;
  background: #111;
  color: #f5f5f5;
}

.product-badge.new {
  background: var(--white);
  color: var(--black);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--dark2);
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-img-hover {
  opacity: 0;
}

.product-card:hover .product-img-main {
  opacity: 0;
  transform: scale(1.05);
}

.product-card:hover .product-img-hover {
  opacity: 1;
  transform: scale(1.05);
}

.product-info {
  padding: 14px 16px 16px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 1px;
}

.product-sizes {
  display: flex;
  align-items: center;
  gap: 10px;
}

.size-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--grey);
}

.size-options {
  display: flex;
  gap: 6px;
}

.size-btn {
  width: 36px;
  height: 36px;
  background: var(--dark2);
  border: 1px solid var(--dark3);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-btn:hover:not(:disabled) {
  border-color: var(--white);
  color: var(--white);
}

.size-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.size-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.size-btn-sold {
  opacity: 0.35;
  text-decoration: line-through;
}

.limited-stock.sold-out {
  color: #e03030;
}

/* --- COMMUNITY COLLAGE --- */
.community-section {
  padding: 70px 40px 64px;
}

.community-label {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--grey);
  margin-bottom: 20px;
}

.community-collage {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.collage-main {
  flex: 1.2;
}

.collage-main img {
  width: 100%;
  height: auto;
  display: block;
}

.collage-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.collage-stack img {
  width: 100%;
  height: auto;
  display: block;
}

.collage-caption {
  padding: 20px 4px 0;
}

.collage-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}

.collage-text {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--grey);
  line-height: 1.7;
}

/* Desktop: show inline text, hide mobile text block */
.collage-text-mobile {
  display: none;
}

/* --- MATRIX PRODUCT CARDS --- */
.matrix-colour-tag {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--grey);
}

.matrix-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin: 0;
}

@media (min-width: 769px) {
  .matrix-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    gap: 20px;
  }

  .community-collage,
  .collage-caption {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  .matrix-featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
  }

  .matrix-featured .limited-image-wrap {
    width: 45%;
    flex-shrink: 0;
    aspect-ratio: unset;
    align-self: stretch;
    min-height: 400px;
  }

  .matrix-featured-info {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }

  .matrix-featured .limited-name {
    font-size: 30px;
  }

  .matrix-featured .limited-price {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .community-section {
    padding: 40px 16px 48px;
  }
  .community-collage {
    gap: 6px;
  }
  .collage-stack {
    gap: 6px;
  }
  /* Hide text inside collage on mobile, show it below instead */
  .collage-text-desktop {
    display: none;
  }
  .collage-text-mobile {
    display: block;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--grey);
    line-height: 1.7;
  }
}

/* --- BRAND TAGLINE --- */
.brand-tagline {
  background: var(--dark);
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid var(--dark3);
}

.brand-tagline-text {
  font-family: var(--font-heading);
  font-size: clamp(42px, 12vw, 96px);
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--light);
  line-height: 1;
  margin-bottom: 12px;
}

.brand-tagline-sub {
  font-family: var(--font-heading);
  font-size: clamp(18px, 5vw, 36px);
  font-weight: 300;
  letter-spacing: 14px;
  color: var(--grey);
  text-transform: uppercase;
}

/* --- EVENT BANNER --- */
.event-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.event-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: contrast(1.1) brightness(0.7);
}

.event-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.event-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--grey);
  margin-bottom: 12px;
}

.event-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 6px;
  margin-bottom: 8px;
}

.event-date {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 30px;
}

/* --- ABOUT --- */
.about {
  padding: 60px 40px 40px;
  background: var(--black);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grain);
  background-size: 200px;
  pointer-events: none;
  opacity: 0.4;
}

.about-grid {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-visual {
  position: relative;
}

.about-visual > img {
  width: 100%;
  border-radius: 2px;
  filter: contrast(1.1);
}

.about-runner {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  opacity: 0.6;
}

.about-runner img {
  width: 100%;
}

.about-text .section-tag {
  display: block;
  margin-bottom: 16px;
}

.about-text .section-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 24px;
}

.about-text p {
  color: var(--accent);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--dark3);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

.stat-label {
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- CONTACT / NEWSLETTER --- */
.contact {
  padding: 100px 40px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.contact-grain {
  position: absolute;
  inset: 0;
  background: var(--grain);
  background-size: 200px;
  pointer-events: none;
  opacity: 0.5;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact .section-tag {
  display: block;
  margin-bottom: 12px;
}

.contact .section-title {
  font-size: clamp(28px, 5vw, 52px);
  margin-bottom: 16px;
}

.contact p {
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto 40px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  background: var(--dark2);
  border: 1px solid var(--dark3);
  border-right: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 3px;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input::placeholder {
  color: var(--grey);
}

.newsletter-form input:focus {
  border-color: var(--white);
}

.newsletter-form .btn {
  border: 1px solid var(--white);
}

.newsletter-success {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--white);
  animation: fadeUp 0.5s ease;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.social-links a {
  color: var(--grey);
  transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: var(--white);
  transform: translateY(-3px);
}

/* --- STRIPE CHECKOUT MODAL --- */
.stripe-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.stripe-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.stripe-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(480px, 94vw);
  max-height: 90vh;
  background: #f5f5f5;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.stripe-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%);
}

.stripe-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #d0d0d0;
  background: #111111;
}

.stripe-modal-title {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 6px;
  color: #f5f5f5;
}

.stripe-modal-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #f5f5f5;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.stripe-modal-close:hover {
  opacity: 1;
}

.stripe-modal-body {
  overflow-y: auto;
  padding: 24px 20px;
  flex: 1;
  background: #f5f5f5;
}

.stripe-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 4px;
  color: #777;
}

.stripe-pay-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: #111111;
  color: #f5f5f5;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.stripe-pay-btn:hover:not(:disabled) {
  background: #333333;
}

.stripe-pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.stripe-error {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #df1b41;
  text-align: center;
  min-height: 16px;
}

#checkout-form {
  margin-top: 8px;
}

.checkout-section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: #777;
  margin-bottom: 8px;
}

.checkout-email-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d0d0d0;
  background: #fafafa;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: #111;
  outline: none;
  margin-bottom: 4px;
}

.checkout-email-input:focus {
  border-color: #111;
}

.checkout-email-input::placeholder {
  color: #999;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
}

/* --- FOOTER --- */
.footer-simple {
  padding: 40px 24px;
  background: var(--black);
  border-top: 1px solid var(--dark3);
  text-align: center;
}

.footer-simple-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-simple-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--light);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-simple-links a:hover {
  opacity: 0.6;
}

.footer-simple-copy {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--dark3);
}

.footer {
  padding: 60px 40px 30px;
  background: var(--black);
  border-top: 1px solid var(--dark3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.footer-brand p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 13px;
  color: var(--grey);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--dark3);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 3px;
}

/* --- PAGE SWITCHING --- */
.page {
  display: none;
}

.page.active {
  display: block;
  padding-top: 74px;
  animation: pageFadeIn 0.5s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nav-page-link.active {
  color: var(--white) !important;
}

.nav-page-link.active::after {
  width: 100% !important;
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .domino-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 450px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar {
    padding: 14px 20px;
  }

  .hero-logo {
    width: min(280px, 65vw);
  }

  .hero-tagline {
    letter-spacing: 6px;
    font-size: 12px;
  }

  .shop {
    padding: 60px 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .lookbook {
    padding: 20px 6px 40px;
  }

  .domino-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: 280px !important;
    gap: 4px !important;
  }

  .domino-slide {
    min-width: 0;
  }

  .event-banner {
    height: 400px;
  }

  .event-banner-overlay {
    padding: 30px;
  }

  .about {
    padding: 40px 20px 30px;
  }

  .about-runner {
    width: 80px;
    bottom: -15px;
    right: -15px;
  }

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .contact {
    padding: 60px 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-right: 1px solid var(--dark3);
  }

  .footer {
    padding: 40px 20px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .announcement-bar {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 28px;
    font-size: 12px;
  }

  /* Compact product cards for mobile */
  .shop {
    padding: 40px 16px 32px;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-title {
    font-size: clamp(28px, 8vw, 48px);
  }

  .limited-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  .limited-image-wrap {
    width: 38%;
    flex-shrink: 0;
    aspect-ratio: unset;
    align-self: stretch;
  }

  .limited-info {
    flex: 1;
    padding: 10px 12px 14px;
    gap: 8px;
  }

  .limited-name {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .limited-price {
    font-size: 15px;
  }

  .limited-colours {
    gap: 6px;
  }

  .colour-btn {
    padding: 6px 10px;
    font-size: 10px;
  }

  .limited-atc {
    padding: 10px;
    font-size: 11px;
    letter-spacing: 2px;
  }

}

@media (max-width: 480px) {
  .hero {
    min-height: 500px;
  }

  .section-title {
    letter-spacing: 4px;
  }

  .product-name {
    font-size: 16px;
  }

  .product-price {
    font-size: 18px;
  }
}
