/* ================================================================
   DAJO LIFESTYLE — Custom T-Shirt Brand Landing Page
   Effects: Morphing Blob, Draggable Blob, Scroll Reveal,
            Newspaper Cutout, Glassmorphism, Fading Text,
            Kinetic Magnetic Dots, Squircle Gallery, Parallax
   ================================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --red: #ff3333;
  --red-dark: #cc0000;
  --red-light: #ff6666;
  --red-glow: rgba(255, 51, 51, 0.4);
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --gray: #888888;
  --gray-light: #cccccc;
  --white: #ffffff;
  --off-white: #f5f5f5;

  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: rgba(0, 0, 0, 0.3);

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-alt: 'Space Grotesk', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-height: 80px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--dark);
}

html::-webkit-scrollbar {
  width: 8px;
}
html::-webkit-scrollbar-track {
  background: var(--dark);
}
html::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 4px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Custom Cursor ──────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease, opacity 0.3s;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 2px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), 
              border-color 0.3s, transform 0.15s ease;
  transform: translate(-50%, -50%);
}

.cursor-ring.hovering {
  width: 60px; height: 60px;
  border-color: var(--white);
  background: rgba(255, 51, 51, 0.1);
}

/* ── Kinetic Magnetic Dots Canvas ───────────────────────────── */
#magneticDots {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* ── Loader ─────────────────────────────────────────────────── */
.loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--black);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-blob {
  width: 120px; height: 120px;
  background: var(--red);
  border-radius: 50%;
  animation: loaderMorph 2s ease-in-out infinite;
  margin-bottom: 2rem;
}

@keyframes loaderMorph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg) scale(1); }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(90deg) scale(1.05); }
  50% { border-radius: 50% 60% 30% 60% / 30% 50% 70% 60%; transform: rotate(180deg) scale(0.95); }
  75% { border-radius: 60% 30% 50% 40% / 70% 40% 60% 30%; transform: rotate(270deg) scale(1.05); }
}

.loader-text {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1rem;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-sub {
  font-family: var(--font-alt);
  font-size: 1rem;
  letter-spacing: 0.8rem;
  color: var(--red);
  margin-top: 0.5rem;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Navigation — Glassmorphism ─────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 10000;
  transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 100;
}

.logo-img {
  height: 45px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out-expo);
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
}

.logo-d { color: var(--red); }
.logo-rest { color: var(--white); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-cta:hover {
  background: var(--white);
  color: var(--black);
  transform: scale(1.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 100;
  cursor: none;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease-out-expo);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ── Glassmorphism Utility ──────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
}

/* ── HERO SECTION ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

/* ── Hero Background ────────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  filter: grayscale(50%) contrast(1.1) brightness(0.8);
  transform: scale(1.05);
  transition: transform 12s ease;
}

.hero:hover .hero-bg-img {
  transform: scale(1.0);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.5) 70%, rgba(10,10,10,0.95) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,0.6) 100%);
  z-index: 1;
}

/* ── Hero Inner (content wrapper) ───────────────────────────── */
.hero-inner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 2rem) 2rem 6rem;
}

/* ── Morphing Blobs ─────────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 2;
  animation: blobMorph 12s ease-in-out infinite alternate;
}

.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red-dark) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  animation-delay: -4s;
}

.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--red-light) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
  opacity: 0.3;
}

@keyframes blobMorph {
  0% {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    border-radius: 60% 40% 30% 70% / 40% 60% 40% 60%;
    transform: translate(30px, -50px) rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: translate(-20px, 30px) rotate(180deg) scale(0.95);
  }
  75% {
    border-radius: 50% 30% 50% 70% / 60% 40% 60% 30%;
    transform: translate(40px, 20px) rotate(270deg) scale(1.05);
  }
  100% {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

/* ── Draggable Blob ─────────────────────────────────────────── */
.draggable-blob {
  position: absolute;
  width: 130px; height: 130px;
  background: var(--red);
  border-radius: 50%;
  cursor: grab;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: draggablePulse 3s ease-in-out infinite;
  transition: box-shadow 0.3s, transform 0.1s;
  top: 18%;
  right: 8%;
  pointer-events: all;
  user-select: none;
  -webkit-user-select: none;
}

.draggable-blob span {
  font-family: var(--font-alt);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  pointer-events: none;
}

.draggable-blob:active {
  cursor: grabbing;
}

.draggable-blob:hover {
  box-shadow: 0 0 60px var(--red-glow), 0 0 120px rgba(255, 51, 51, 0.2);
}

@keyframes draggablePulse {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    box-shadow: 0 0 30px var(--red-glow);
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    box-shadow: 0 0 50px var(--red-glow);
  }
}

/* ── Floating Shapes ────────────────────────────────────────── */
.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border: 2px solid rgba(255, 51, 51, 0.15);
  animation: floatShape 20s linear infinite;
}

.shape-1 {
  width: 80px; height: 80px;
  top: 15%; left: 10%;
  border-radius: 50%;
  animation-duration: 25s;
}

.shape-2 {
  width: 60px; height: 60px;
  top: 70%; left: 80%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.shape-3 {
  width: 100px; height: 100px;
  top: 80%; left: 15%;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.05);
  animation-duration: 22s;
  animation-delay: -10s;
}

.shape-4 {
  width: 40px; height: 40px;
  top: 30%; left: 75%;
  transform: rotate(45deg);
  animation-duration: 30s;
  animation-delay: -3s;
}

.shape-5 {
  width: 70px; height: 70px;
  top: 55%; left: 45%;
  border-radius: 50%;
  border-color: rgba(255, 51, 51, 0.1);
  animation-duration: 15s;
  animation-delay: -8s;
}

@keyframes floatShape {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-30px) rotate(180deg); opacity: 1; }
  100% { transform: translateY(0) rotate(360deg); opacity: 0.5; }
}

/* ── Hero Content ───────────────────────────────────────────── */
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-alt);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  font-size: clamp(3.5rem, 10vw, 9rem);
  overflow: hidden;
}

.title-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  text-stroke: 2px var(--white);
}

/* ── Fading Away Text Effect ────────────────────────────────── */
.fading-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: fadeReveal 1s var(--ease-out-expo) forwards;
  animation-delay: calc(var(--delay, 0) * 1ms + 1.5s);
}

@keyframes fadeReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ── Hero CTA Buttons ───────────────────────────────────────── */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 60px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
  transform: translate(-50%, -50%);
}

.btn:hover::before {
  width: 300px; height: 300px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px var(--red-glow);
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--red);
  background: rgba(255, 51, 51, 0.1);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--red);
  color: var(--white);
  border-radius: 50px;
  transition: all 0.3s var(--ease-out-expo);
  font-family: var(--font-body);
}

.btn-small:hover {
  background: var(--white);
  color: var(--black);
  transform: scale(1.05);
}

/* ── Hero Stats ─────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  padding: 1rem 2rem;
  border-radius: 16px;
  text-align: center;
  min-width: 120px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ── Scroll Indicator ───────────────────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray);
}

/* ── MARQUEE TICKER ─────────────────────────────────────────── */
.marquee-section {
  padding: 1.5rem 0;
  background: var(--red);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  white-space: nowrap;
}

.marquee-content span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

.marquee-dot {
  font-size: 0.7rem !important;
  opacity: 0.5;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SCROLL REVEAL ANIMATIONS ───────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.scroll-reveal.fade-left {
  transform: translateX(-60px);
}

.scroll-reveal.fade-right {
  transform: translateX(60px);
}

.scroll-reveal.fade-up {
  transform: translateY(60px);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ── Section Shared ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-alt);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  padding: 0.3rem 1rem;
  border: 1px solid rgba(255, 51, 51, 0.3);
  border-radius: 50px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
}

.text-accent {
  color: var(--red);
  position: relative;
}

.text-accent::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 6px;
  background: var(--red);
  opacity: 0.3;
  border-radius: 3px;
}

/* ── ABOUT SECTION ──────────────────────────────────────────── */
.about-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: var(--dark);
}

/* ── Newspaper Cutout Effect ────────────────────────────────── */
.newspaper-strip {
  margin-bottom: 4rem;
  overflow: hidden;
}

.cutout-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cutout {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--bg);
  transform: rotate(var(--r));
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}

.cutout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 4px
  );
}

.cutout:hover {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 6px 6px 0 rgba(255, 51, 51, 0.3);
  z-index: 2;
}

/* ── Glassmorphism Cards ────────────────────────────────────── */
.glass-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255, 51, 51, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 51, 51, 0.3);
  box-shadow: 0 20px 60px rgba(255, 51, 51, 0.1);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px; height: 56px;
  margin-bottom: 1.5rem;
  color: var(--red);
}

.card-icon svg {
  width: 100%; height: 100%;
}

.glass-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.glass-card p {
  color: var(--gray-light);
  line-height: 1.7;
}

/* ── PRODUCTS SECTION ───────────────────────────────────────── */
.products-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: var(--black);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--dark-2);
  transition: all 0.5s var(--ease-out-expo);
  animation-delay: var(--delay, 0s);
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(255, 51, 51, 0.15);
}

.product-image-wrap {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-2), #222);
}

.product-blob {
  position: absolute;
  width: 200px; height: 200px;
  background: var(--red);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(60px);
  animation: blobMorph 10s ease-in-out infinite alternate;
}

.product-blob.blob-alt {
  background: var(--red-dark);
  animation-delay: -3s;
}

.product-blob.blob-alt2 {
  background: var(--red-light);
  animation-delay: -6s;
}

/* ── Product Image ───────────────────────────────────────────── */
.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.6s var(--ease-out-expo), filter 0.6s;
}

.product-card:hover .product-img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.product-info {
  padding: 2rem;
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: var(--red);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.product-tag-new { background: #00c853; }
.product-tag-hot { background: #ff6d00; }

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-info p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-family: var(--font-alt);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red);
}

/* ── FADING TEXT SECTION ────────────────────────────────────── */
.fading-section {
  padding: 8rem 0;
  background: var(--dark);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.fading-showcase {
  text-align: center;
}

.fade-scroll-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.2;
}

.fade-word {
  display: inline-block;
  opacity: 0.1;
  transition: opacity 1s var(--ease-smooth), transform 1s var(--ease-smooth);
  margin: 0 0.25em;
}

.fade-word.active {
  opacity: 1;
  text-shadow: 0 0 60px var(--red-glow);
}

.fade-word:nth-child(odd) {
  color: var(--white);
}

.fade-word:nth-child(even) {
  color: var(--red);
}

/* ── SQUIRCLE GALLERY ───────────────────────────────────────── */
.gallery-section {
  padding: 8rem 0;
  background: var(--black);
  position: relative;
  z-index: 2;
}

.squircle-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.squircle-item {
  aspect-ratio: 1;
  animation-delay: var(--delay, 0s);
  cursor: pointer;
  position: relative;
}

.squircle-inner {
  width: 100%;
  height: 100%;
  /* Squircle shape — superellipse via inset + round */
  clip-path: inset(0 round 22%);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s, clip-path 0.6s var(--ease-out-expo);
  position: relative;
}

.squircle-item:hover .squircle-inner {
  transform: scale(1.05);
  clip-path: inset(0 round 18%);
  box-shadow: 0 20px 60px var(--red-glow);
}

.squircle-content {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--dark-2);
}

.squircle-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo), filter 0.6s;
}

.squircle-item:hover .squircle-img {
  transform: scale(1.12);
  filter: brightness(0.55);
}

.squircle-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.squircle-item:hover .squircle-overlay {
  opacity: 1;
}

.squircle-label {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--white);
  z-index: 2;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.5s;
  transform: translateY(20px);
  opacity: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.squircle-sublabel {
  font-family: var(--font-alt);
  font-size: clamp(0.65rem, 1vw, 0.85rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-light);
  z-index: 2;
  transition: transform 0.5s var(--ease-out-expo) 0.05s, opacity 0.5s 0.05s;
  transform: translateY(20px);
  opacity: 0;
  margin-top: 0.3rem;
}

.squircle-item:hover .squircle-label {
  transform: translateY(0);
  opacity: 1;
}

.squircle-item:hover .squircle-sublabel {
  transform: translateY(0);
  opacity: 1;
}

/* View Transition API support */
@supports (view-transition-name: none) {
  .squircle-item {
    view-transition-name: gallery-item;
  }

  ::view-transition-old(gallery-item),
  ::view-transition-new(gallery-item) {
    animation-duration: 0.5s;
  }
}

/* ── FEATURES NEWSPAPER ─────────────────────────────────────── */
.features-section {
  padding: 8rem 0;
  background: var(--dark);
  position: relative;
  z-index: 2;
}

.newspaper-page {
  background: var(--off-white);
  color: var(--black);
  padding: 3rem;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.newspaper-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(0, 0, 0, 0.03) 28px,
      rgba(0, 0, 0, 0.03) 29px
    );
  pointer-events: none;
}

.newspaper-page::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
}

.newspaper-header {
  text-align: center;
  margin-bottom: 2rem;
}

.newspaper-date {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.newspaper-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--black);
  border-top: 4px double var(--black);
  border-bottom: 2px solid var(--black);
  padding: 0.5rem 0;
  margin-bottom: 0.25rem;
}

.newspaper-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gray);
}

.newspaper-divider {
  height: 1px;
  background: var(--black);
  margin: 1rem 0;
}

.newspaper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.newspaper-col {
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  padding-right: 2rem;
}

.newspaper-col:last-of-type {
  border-right: none;
  padding-right: 0;
}

.newspaper-col-full {
  grid-column: 1 / -1;
  border-right: none;
  padding-right: 0;
}

.newspaper-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--black);
}

.newspaper-text {
  font-family: 'Georgia', serif;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
  text-align: justify;
  text-indent: 1.5em;
}

.newspaper-text:first-of-type {
  text-indent: 0;
}

.newspaper-text:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  color: var(--red);
}

.newspaper-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
  padding: 1.5rem;
  margin: 1rem 0;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  color: var(--black);
}

.newspaper-ad {
  text-align: center;
  padding: 1.5rem;
  border: 3px double var(--black);
  background: rgba(255, 51, 51, 0.05);
}

.ad-label {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 0.5rem;
}

.newspaper-ad h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.newspaper-ad p {
  font-family: 'Georgia', serif;
  font-size: 0.9rem;
}

.newspaper-ad strong {
  color: var(--red);
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-section {
  padding: 8rem 0;
  background: var(--black);
  position: relative;
  z-index: 2;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.4s var(--ease-out-expo);
  animation-delay: var(--delay, 0s);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 51, 51, 0.2);
}

.testimonial-stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--dark);
}

.cta-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob-cta-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  top: -200px; right: -100px;
  opacity: 0.15;
  animation: blobMorph 15s ease-in-out infinite alternate;
}

.blob-cta-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--red-dark) 0%, transparent 70%);
  bottom: -100px; left: -50px;
  opacity: 0.1;
  animation: blobMorph 15s ease-in-out infinite alternate;
  animation-delay: -5s;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--gray-light);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 3rem;
}

.cta-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
}

.form-input::placeholder {
  color: var(--gray);
}

.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.15);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

select.form-input option {
  background: var(--dark);
  color: var(--white);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  padding: 4rem 0 2rem;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 6px;
  object-fit: contain;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo-text span {
  display: block;
  font-family: var(--font-alt);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--red);
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s;
  color: var(--gray-light);
}

.social-link:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px; height: 18px;
}

.footer-links-group h4 {
  font-family: var(--font-alt);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links-group a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
  transition: color 0.3s, transform 0.3s;
}

.footer-links-group a:hover {
  color: var(--red);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--gray);
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--red);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* ── Large Tablets & Small Desktops ─────────────────────────── */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  /* Hero */
  .blob-1 { width: 400px; height: 400px; }
  .blob-2 { width: 350px; height: 350px; }
  .blob-3 { width: 280px; height: 280px; }

  .draggable-blob {
    width: 120px; height: 120px;
  }

  /* About */
  .glass-cards {
    gap: 1.5rem;
  }

  /* Products */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .product-image-wrap {
    height: 300px;
  }

  /* Newspaper */
  .newspaper-grid {
    grid-template-columns: 1fr;
  }

  .newspaper-col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
  }

  /* Gallery */
  .squircle-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
  }
}

/* ── Tablets ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  /* Cursor — disable on touch */
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  .container {
    padding: 0 1.25rem;
  }

  /* Nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 99;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .nav-cta { display: none; }

  .logo-img {
    height: 38px;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-inner {
    padding: calc(var(--nav-height) + 1rem) 1rem 5rem;
  }

  .blob-1 { width: 300px; height: 300px; top: -100px; right: -80px; }
  .blob-2 { width: 250px; height: 250px; bottom: -80px; left: -60px; }
  .blob-3 { width: 200px; height: 200px; }

  .draggable-blob {
    width: 90px; height: 90px;
    top: 12%;
    right: 8%;
  }

  .draggable-blob span {
    font-size: 0.5rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
  }

  .title-line {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .hero-description {
    font-size: 0.95rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    margin-bottom: 2rem;
  }

  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.8rem;
  }

  .hero-stats {
    gap: 0.75rem;
  }

  .stat {
    padding: 0.75rem 1.2rem;
    min-width: 95px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-plus {
    font-size: 1.1rem;
  }

  .hero-scroll-indicator {
    bottom: 1.5rem;
  }

  .scroll-line {
    height: 40px;
  }

  /* Marquee */
  .marquee-content span {
    font-size: 1rem;
  }

  /* Sections padding */
  .about-section,
  .products-section,
  .fading-section,
  .gallery-section,
  .features-section,
  .testimonials-section,
  .cta-section {
    padding: 5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  /* About — Cutouts */
  .cutout-wrapper {
    gap: 0.6rem;
  }

  .cutout {
    padding: 0.5rem 1rem;
    font-size: clamp(0.75rem, 2.5vw, 1.1rem);
  }

  .newspaper-strip {
    margin-bottom: 2.5rem;
  }

  /* About — Glass Cards */
  .glass-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 500px;
    margin: 0 auto;
  }

  .glass-card {
    padding: 2rem;
  }

  /* Products */
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 2rem;
  }

  .product-image-wrap {
    height: 320px;
  }

  .product-info {
    padding: 1.5rem;
  }

  /* Fading text */
  .fade-scroll-text {
    font-size: clamp(2.2rem, 9vw, 4rem);
  }

  .fade-word {
    margin: 0 0.15em;
  }

  /* Gallery */
  .squircle-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Newspaper page */
  .newspaper-page {
    padding: 1.5rem;
  }

  .newspaper-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .newspaper-headline {
    font-size: 1rem;
  }

  .newspaper-text {
    font-size: 0.8rem;
  }

  .newspaper-quote {
    font-size: 0.95rem;
    padding: 1rem;
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 1.25rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card p {
    font-size: 0.9rem;
  }

  /* CTA Form */
  .cta-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .cta-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .cta-form {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-input {
    padding: 0.8rem 1rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Gallery overlay */
  .gallery-overlay-content {
    width: min(90vw, 450px);
  }
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --nav-height: 64px;
  }

  .container {
    padding: 0 1rem;
  }

  /* Nav */
  .logo-img {
    height: 32px;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  /* Hero */
  .blob-1 { width: 200px; height: 200px; }
  .blob-2 { width: 180px; height: 180px; }
  .blob-3 { width: 150px; height: 150px; }

  .draggable-blob {
    width: 75px; height: 75px;
    top: 10%;
    right: 5%;
  }

  .draggable-blob span {
    font-size: 0.45rem;
    letter-spacing: 0.1em;
  }

  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1rem;
  }

  .title-line {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .title-outline {
    -webkit-text-stroke: 1.5px var(--white);
  }

  .hero-description {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    br { display: none; }
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.75rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stats {
    gap: 0.5rem;
  }

  .stat {
    padding: 0.6rem 0.8rem;
    min-width: 85px;
    border-radius: 12px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-plus {
    font-size: 0.9rem;
  }

  .stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Marquee */
  .marquee-section {
    padding: 1rem 0;
  }

  .marquee-content span {
    font-size: 0.85rem;
  }

  .marquee-content {
    gap: 1.25rem;
  }

  /* Sections */
  .about-section,
  .products-section,
  .fading-section,
  .gallery-section,
  .features-section,
  .testimonials-section,
  .cta-section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-tag {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    padding: 0.25rem 0.75rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  /* About */
  .cutout-wrapper {
    gap: 0.4rem;
  }

  .cutout {
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }

  .newspaper-strip {
    margin-bottom: 1.5rem;
  }

  .glass-card {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .card-icon {
    width: 44px; height: 44px;
    margin-bottom: 1rem;
  }

  .glass-card h3 {
    font-size: 1.25rem;
  }

  .glass-card p {
    font-size: 0.85rem;
  }

  /* Products */
  .product-grid {
    max-width: 100%;
  }

  .product-image-wrap {
    height: 280px;
  }

  .product-card {
    border-radius: 18px;
  }

  .product-info h3 {
    font-size: 1.25rem;
  }

  .product-info p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .product-price {
    font-size: 1.1rem;
  }

  .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }

  /* Fading text */
  .fade-scroll-text {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  /* Gallery */
  .squircle-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .squircle-inner {
    clip-path: inset(0 round 18%);
  }

  .squircle-label {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .squircle-sublabel {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
  }

  /* Newspaper */
  .newspaper-page {
    padding: 1.25rem;
  }

  .newspaper-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
    letter-spacing: 0.05em;
  }

  .newspaper-date {
    font-size: 0.55rem;
  }

  .newspaper-tagline {
    font-size: 0.75rem;
  }

  .newspaper-headline {
    font-size: 0.9rem;
  }

  .newspaper-text {
    font-size: 0.75rem;
  }

  .newspaper-quote {
    font-size: 0.85rem;
    padding: 0.75rem;
  }

  .newspaper-ad h4 {
    font-size: 1rem;
  }

  /* Testimonials */
  .testimonial-card p {
    font-size: 0.85rem;
  }

  .testimonial-stars {
    font-size: 1rem;
  }

  .author-avatar {
    width: 36px; height: 36px;
    font-size: 0.9rem;
  }

  /* CTA */
  .cta-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .cta-desc {
    font-size: 0.85rem;
  }

  .cta-form {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .form-input {
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 10px;
  }

  .form-textarea {
    min-height: 80px;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-links-group h4 {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
  }

  .footer-links-group a {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .footer-bottom p,
  .footer-bottom-links a {
    font-size: 0.7rem;
  }

  .footer-bottom-links {
    gap: 1rem;
  }

  /* Gallery overlay */
  .gallery-overlay-content {
    width: 92vw;
    clip-path: inset(0 round 14%);
  }

  .gallery-overlay-content .squircle-label {
    font-size: 1.8rem;
  }

  .gallery-overlay-content .squircle-sublabel {
    font-size: 0.8rem;
  }
}

/* ── Extra small phones ─────────────────────────────────────── */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }

  .title-line {
    font-size: clamp(2rem, 15vw, 3rem);
  }

  .hero-badge {
    font-size: 0.55rem;
  }

  .squircle-gallery {
    gap: 0.5rem;
  }

  .squircle-label {
    font-size: 0.9rem;
  }

  .stat {
    padding: 0.5rem 0.6rem;
    min-width: 75px;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.7rem;
  }

  .glass-card {
    padding: 1.25rem;
  }

  .product-image-wrap {
    height: 240px;
  }
}

/* ── Landscape phones ───────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .hero-title br { display: none; }

  .title-line {
    font-size: clamp(2rem, 5vw, 3rem);
    display: inline;
  }

  .hero-description {
    margin-bottom: 1rem;
  }

  .hero-stats {
    gap: 0.5rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .draggable-blob {
    display: none;
  }

  .loader-text {
    font-size: 2.5rem;
  }
}

/* ── VIEW TRANSITION (Squircle Gallery) ─────────────────────── */
@keyframes viewSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes viewFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Gallery Item Overlay */
.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 50000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out-expo);
  cursor: pointer;
}

.gallery-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gallery-overlay-content {
  width: min(85vw, 600px);
  aspect-ratio: 1;
  clip-path: inset(0 round 18%);
  animation: viewSlideIn 0.6s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.gallery-overlay-content img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay-content .squircle-label {
  font-size: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.gallery-overlay-content .squircle-sublabel {
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
  position: relative;
  z-index: 2;
  color: var(--red-light);
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.gallery-overlay-content p {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* ── UTILITY / EXTRA ────────────────────────────────────────── */
::selection {
  background: var(--red);
  color: var(--white);
}

/* Smooth appearance for all sections */
section {
  position: relative;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99997;
  opacity: 0.03;
  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");
}
