/* ============================================
   QUANTAM RACK - Design System
   Dark, rugged, professional hunting brand
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0D0D0D;
  --bg-secondary: #141414;
  --bg-tertiary: #1E1E1E;
  --bg-card: #181818;
  --accent: #E8351E;
  --accent-hover: #FF4528;
  --accent-dark: #B82A17;
  --text-primary: #F5F5F5;
  --text-secondary: #9A9A9A;
  --text-muted: #666666;
  --border: #2A2A2A;
  --overlay: rgba(0, 0, 0, 0.72);
  --overlay-heavy: rgba(0, 0, 0, 0.85);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.7);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  font-weight: 400;
}

h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }

p {
  max-width: 65ch;
  line-height: 1.7;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 53, 30, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn--large {
  padding: 1.15rem 3rem;
  font-size: 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: var(--nav-height);
  transition: background var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo img {
  height: 48px;
  width: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 8px rgba(232, 53, 30, 0.4));
}

.nav__logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
}

.nav__social a {
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.nav__social a:hover {
  color: var(--accent);
}

.nav__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroZoom 20s ease-out forwards;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

/* Red-tinted vignette overlay */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}

.hero__vignette::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(232, 53, 30, 0.08) 0%,
    transparent 70%
  );
}

/* Placeholder gradient when no image is set */
.hero__bg--placeholder {
  background: linear-gradient(
    160deg,
    #0D0D0D 0%,
    #2a1a0e 25%,
    #3d1e0d 45%,
    #2a1508 65%,
    #0D0D0D 100%
  );
}

.hero__bg--placeholder::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
}

/* Logo wrapper with glow */
.hero__logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero__logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  background: radial-gradient(
    circle,
    rgba(232, 53, 30, 0.25) 0%,
    rgba(232, 53, 30, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite, fadeIn 1.2s ease-out;
  pointer-events: none;
}

.hero__logo {
  position: relative;
  width: 600px;
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(232, 53, 30, 0.5))
          drop-shadow(0 0 80px rgba(232, 53, 30, 0.2));
  animation: logoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Red accent divider below logo */
.hero__divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 2rem;
  animation: dividerExpand 0.8s ease-out 0.6s both;
}

.hero__title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.08em;
  max-width: 550px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__cta {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero__cta .btn--primary {
  box-shadow: 0 0 30px rgba(232, 53, 30, 0.3);
}

.hero__cta .btn--primary:hover {
  box-shadow: 0 6px 40px rgba(232, 53, 30, 0.5);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite 2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero__scroll svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder when no image */
.about__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, #1a1410 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: var(--text-muted);
  fill: none;
  opacity: 0.3;
}

.about__image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.about__image-wrap:hover::after {
  transform: scaleX(1);
}

.about__content h2 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.about__content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.about__content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1.25rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: transform var(--transition);
}

.gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item:nth-child(5) {
  grid-column: span 2;
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* Placeholder gallery item */
.gallery__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, #1f1a15 50%, var(--bg-tertiary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.gallery__placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--text-muted);
  fill: none;
  opacity: 0.25;
}

.gallery__placeholder span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__caption {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
}

.gallery__video-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gallery__video-badge svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

/* ============================================
   SHOP PREVIEW
   ============================================ */
.shop-preview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card__image {
  aspect-ratio: 1;
  background: var(--bg-tertiary);
  overflow: hidden;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, var(--bg-tertiary) 0%, #1a1614 100%);
}

.product-card__placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--text-muted);
  fill: none;
  opacity: 0.2;
}

.product-card__info {
  padding: 1.25rem;
}

.product-card__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.product-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.product-card__price {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
}

.shop-preview__cta {
  text-align: center;
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 3rem;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.shop-hero h1 {
  margin-bottom: 0.5rem;
}

.shop-hero p {
  color: var(--text-secondary);
  margin: 0 auto;
}

.shop-content {
  padding: 4rem 0 6rem;
}

.shop-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  border: 2px dashed var(--border);
  background: var(--bg-secondary);
}

.shop-placeholder h3 {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.shop-placeholder p {
  color: var(--text-muted);
  margin: 0 auto;
}

/* ============================================
   SOCIAL CTA SECTION
   ============================================ */
.social-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #140a07 50%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.social-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.social-cta h2 {
  margin-bottom: 2rem;
}

.social-cta__icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.social-cta__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-cta__icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(232, 53, 30, 0.25);
}

.social-cta__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  height: 32px;
  width: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 6px rgba(232, 53, 30, 0.3));
}

.footer__brand-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__socials a {
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
}

.footer__socials a:hover {
  color: var(--accent);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.lightbox__close:hover {
  color: var(--accent);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    filter: drop-shadow(0 0 0px rgba(232, 53, 30, 0))
            drop-shadow(0 0 0px rgba(232, 53, 30, 0));
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 40px rgba(232, 53, 30, 0.5))
            drop-shadow(0 0 80px rgba(232, 53, 30, 0.2));
  }
}

@keyframes glowPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.6;
  }
}

@keyframes dividerExpand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes bounce {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  10% {
    opacity: 1;
  }
  20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }

  .gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery__item:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  /* Mobile nav */
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
  }

  .nav__links.active {
    right: 0;
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav__social {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__logo {
    width: 400px;
  }

  .hero__logo-glow {
    width: 310px;
    height: 310px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 0.75rem;
  }

  .gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .shop-preview__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery__item:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .shop-preview__grid {
    grid-template-columns: 1fr;
  }

  .hero__logo {
    width: 300px;
  }

  .hero__logo-glow {
    width: 225px;
    height: 225px;
  }

  .btn {
    padding: 0.875rem 2rem;
    width: 100%;
    text-align: center;
  }

  .btn--large {
    padding: 1rem 2.5rem;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   NOISE TEXTURE OVERLAY (subtle grain)
   ============================================ */
.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: 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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}
