/* =============================================
   KANVAZ GALERI — Custom CSS
   Premium Creative Art Supply Landing Page
   ============================================= */

/* ---- Google Fonts ---- */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap");

/* ---- CSS Variables ---- */
:root {
  --primary: #dc2626;
  --primary-dark: #991b1b;
  --primary-light: #fef2f2;
  --bg: #ffffff;
  --bg-secondary: #f9fafb;
  --dark: #111111;
  --text: #111111;
  --text-secondary: #6b7280;
  --font-body: "Manrope", sans-serif;
  --font-mono: "DM Mono", monospace;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Scroll Progress Bar ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--primary);
  z-index: 9999;
  transition: width 0.05s linear;
}

/* ---- Preloader ---- */
#preloader {
  position: fixed;
  inset: 0;
  background: #111111;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

#preloader .pre-logo {
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1;
  overflow: hidden;
}

#preloader .pre-logo-inner {
  display: block;
  transform: translateY(100%);
}

#preloader .pre-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #6b7280;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
}

#preloader .pre-progress-wrapper {
  width: min(280px, 60vw);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  opacity: 0;
}

#preloader .pre-percent {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #9ca3af;
  text-align: right;
  letter-spacing: 0.1em;
}

#preloader .pre-bar-track {
  width: 100%;
  height: 1px;
  background: #374151;
  position: relative;
  overflow: hidden;
}

#preloader .pre-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
}

#preloader .pre-spinner {
  width: 20px;
  height: 20px;
  border: 1px solid #374151;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Custom Cursor ---- */
#cursor-dot,
#cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

#cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  transition: opacity 0.3s ease;
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(220, 38, 38, 0.5);
  transition:
    width 0.35s var(--ease-expo),
    height 0.35s var(--ease-expo),
    border-color 0.3s ease,
    opacity 0.3s ease;
}

#cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  color: white;
  background: var(--primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  top: 0;
  left: 0;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
  transform: translate(14px, 14px);
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

body.cursor-hover #cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--primary);
}

body.cursor-hover #cursor-label {
  opacity: 1;
}

@media (max-width: 768px) {
  #cursor-dot,
  #cursor-ring,
  #cursor-label {
    display: none !important;
  }
}

/* ---- Grain Overlay ---- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.025;
  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.85' 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: 150px 150px;
}

/* ---- Navigation ---- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition:
    padding 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
  padding: 1.25rem 0;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
}

.nav-logo {
  text-decoration: none;
}

/* Brand Logo Grouping */
.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-brand-image {
  height: 2.2rem;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  min-width: 0;
}

.logo-brand-text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--dark);
  white-space: nowrap;
}

.footer-logo .logo-brand-text {
  color: white;
}

#navbar .logo-brand-text,
#mobile-menu .logo-brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.24em;
  line-height: 1;
}

#navbar .logo-brand-kanvaz,
#mobile-menu .logo-brand-kanvaz {
  font-family: "More Sugar Regular", var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

#navbar .logo-brand-galeri,
#mobile-menu .logo-brand-galeri {
  font-family: "Brittany Signature", cursive;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 1024px) {
  .logo-brand-image {
    height: 1.8rem;
  }
  .logo-brand-text {
    font-size: 1.1rem;
  }
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.35s var(--ease-expo);
}

.nav-link:hover {
  color: var(--dark);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 2px 16px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 24px rgba(220, 38, 38, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(17, 17, 17, 0.2);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: white;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span {
  background: white;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  .nav-links-desktop {
    display: none !important;
  }
}

/* ---- Mobile Menu ---- */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: #111111;
  z-index: 998;
  display: flex;
  flex-direction: column;
  padding: 6rem 2.5rem 3rem;
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  visibility: hidden;
}

#mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu-link {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: block;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
  transform: translateY(20px);
  opacity: 0;
  transition:
    color 0.2s ease,
    opacity 0.4s ease,
    transform 0.4s ease,
    padding-left 0.2s ease;
}

#mobile-menu.open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu.open .mobile-menu-link:nth-child(1) {
  transition-delay: 0.08s;
}
#mobile-menu.open .mobile-menu-link:nth-child(2) {
  transition-delay: 0.12s;
}
#mobile-menu.open .mobile-menu-link:nth-child(3) {
  transition-delay: 0.16s;
}
#mobile-menu.open .mobile-menu-link:nth-child(4) {
  transition-delay: 0.2s;
}
#mobile-menu.open .mobile-menu-link:nth-child(5) {
  transition-delay: 0.24s;
}
#mobile-menu.open .mobile-menu-link:nth-child(6) {
  transition-delay: 0.28s;
}

.mobile-menu-link:hover {
  color: white;
  padding-left: 0.5rem;
}

.mobile-menu-cta {
  margin-top: 2rem;
}

/* ---- Hero ---- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--primary);
}

.hero-headline {
  font-family: var(--font-body);
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--dark);
}

.word-wrapper {
  overflow: hidden;
  display: inline-block;
}

.word-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 400;
  max-width: 44ch;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---- Hero Visual ---- */
.hero-visual {
  position: relative;
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 1.25rem;
  display: block;
}

.hero-badge {
  position: absolute;
  background: white;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-badge-1 {
  bottom: 30%;
  left: -2rem;
}

.hero-badge-2 {
  top: 12%;
  right: -1.5rem;
}

.hero-float-img {
  position: absolute;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  bottom: 8%;
  right: -2rem;
  width: 45%;
  aspect-ratio: 4/3;
}

@media (max-width: 768px) {
  .hero-badge-1 {
    left: -1rem;
  }
  .hero-badge-2 {
    right: -1rem;
  }
  .hero-float-img {
    right: -1rem;
  }
}

.hero-float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.65;
  }
}

/* ---- Section Label ---- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 50ch;
}

/* ---- Marquee ---- */
.marquee-section {
  overflow: hidden;
  background: var(--dark);
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
}

.marquee-sep {
  color: var(--primary);
  font-size: 0.45rem;
}

/* ---- Offer/What We Provide ---- */
.offer-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 3rem;
}

.offer-item {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
  position: relative;
  cursor: default;
}

.offer-item::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.55s var(--ease-expo);
}

.offer-item:hover::after {
  width: 100%;
}

.offer-arrow {
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition:
    transform 0.3s ease,
    color 0.2s ease;
}

.offer-item:hover .offer-arrow {
  transform: translateX(6px);
  color: var(--primary);
}

.offer-title {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--dark);
  transition: color 0.2s ease;
}

.offer-item:hover .offer-title {
  color: var(--primary);
}

.offer-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 48ch;
  margin-top: 0.4rem;
}

/* ---- Bento Grid ---- */
.bento-grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1.65fr 0.7fr 0.65fr;
  grid-template-rows: 280px 240px;
}

.bento-item {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
  cursor: pointer;
}

.bento-item:hover .bento-img {
  transform: scale(1.05);
}

.bento-large {
  grid-column: 1;
  grid-row: 1 / 3;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-expo);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.75) 0%,
    rgba(17, 17, 17, 0.1) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.bento-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
}

.bento-cat {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.3rem;
}

.bento-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  line-height: 1.25;
}

.bento-large .bento-title {
  font-size: 1.5rem;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bento-large {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 280px;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-large {
    grid-column: 1;
    min-height: 260px;
  }
}

/* ---- Product Card ---- */
.product-card {
  background: var(--bg);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.06);
  transition:
    transform 0.4s var(--ease-expo),
    box-shadow 0.4s ease;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.09);
  transform: translateY(-6px);
}

.product-img-wrapper {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  position: relative;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-expo);
  display: block;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-cat {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.product-name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.product-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.product-cta {
  font-family: var(--font-body);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
  transition: gap 0.25s ease;
}

.product-cta:hover {
  gap: 0.8rem;
}

/* ---- About Section ---- */
.about-img-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-bullet-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* ---- Story Section ---- */
.story-step-wrapper {
  position: relative;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.story-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.story-panel-img {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
}

.story-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- School Section ---- */
.school-dark-block {
  background: #0f172a;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.school-dark-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.1) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.school-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.school-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1rem;
}

.school-feature-text .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.15rem;
}

.school-feature-text .desc {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Custom Product Section ---- */
.custom-section {
  background: #111111;
  position: relative;
  overflow: hidden;
}

.custom-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12), transparent 65%);
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
}

.custom-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08), transparent 65%);
  bottom: -10%;
  left: 5%;
  pointer-events: none;
}

/* ---- Gallery ---- */
.gallery-masonry {
  columns: 3;
  column-gap: 0.875rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 0.875rem;
  border-radius: 0.875rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.55s var(--ease-expo);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-view-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  background: rgba(220, 38, 38, 0.9);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

@media (max-width: 768px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    columns: 1;
  }
}

/* ---- Lightbox ---- */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.96);
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 2rem;
}

#lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

#lightbox-img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 0.625rem;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

#lightbox.open #lightbox-img {
  transform: scale(1);
}

#lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s ease;
  line-height: 1;
}

#lightbox-close:hover {
  background: var(--primary);
  border-color: var(--primary);
}

#lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

/* ---- Trust Section ---- */
.trust-section {
  background: var(--bg-secondary);
}

.trust-stat .num {
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  display: block;
}

.trust-stat .label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  display: block;
}

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-q {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s ease;
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(17, 17, 17, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 0.875rem;
  transition: var(--transition);
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-item.open .faq-q {
  color: var(--primary);
}

.faq-body {
  overflow: hidden;
  height: 0;
}

.faq-body-inner {
  padding-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 58ch;
}

/* ---- CTA Final ---- */
.cta-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta-bg-text {
  position: absolute;
  font-family: var(--font-body);
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.cta-heading {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1;
}

.cta-heading .red-line {
  color: var(--primary);
  display: block;
}

/* ---- Contact ---- */
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.contact-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 0.625rem;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.contact-lbl {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.contact-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.55;
}

/* ---- Footer ---- */
footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.4);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  /* Handled by .logo-brand */
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 0.4rem;
}

.footer-link {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
}

/* ---- Animations / Reveal ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-fade {
  opacity: 0;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
}

/* ---- Tilt ---- */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  perspective: 800px;
}

/* ---- Magnetic ---- */
.magnetic-wrapper {
  display: inline-block;
  position: relative;
}

/* ---- Parallax images ---- */
.parallax-img-wrapper {
  aspect-ratio: 1 / 1;
  max-height: 75vh;
  border-radius: 1.25rem;
  overflow: hidden;
  isolation: isolate;
  position: relative;
}

.parallax-img-wrapper .parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-img {
  transform: scale(1.1);
  will-change: transform;
  display: block;
  width: 100%;
}

/* ---- Utilities ---- */
.overflow-clip {
  overflow: hidden;
}
.text-red {
  color: var(--primary);
}
.bg-dark {
  background: var(--dark);
}

.py-section {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4.5vw, 3.5rem);
}

.line-dec {
  width: 36px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  color: var(--text-secondary);
}

.tag.red {
  border-color: rgba(220, 38, 38, 0.25);
  color: var(--primary);
  background: var(--primary-light);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Selection ---- */
::selection {
  background: var(--primary);
  color: white;
}

/* ---- Print ---- */
@media print {
  #preloader,
  #cursor-dot,
  #cursor-ring,
  #cursor-label,
  .grain-overlay,
  #scroll-progress,
  #mobile-menu {
    display: none !important;
  }
}
