/* =========================================================
   Z — Premium Streetwear
   ========================================================= */

:root {
  --bg: #050505;
  --bg-secondary: #0d0d0d;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border: rgba(255, 255, 255, 0.15);
  --border-strong: rgba(255, 255, 255, 0.3);

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --nav-height: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(255, 255, 255, 0.25) var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-solid {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}

.btn-solid:hover {
  background: transparent;
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg);
}

.btn-large {
  padding: 20px 40px;
  font-size: 14px;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--text-primary);
  z-index: 999;
  transition: width 0.1s linear;
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.navbar-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 6px 0;
}

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

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

.nav-order {
  padding: 11px 22px;
  font-size: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

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

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-menu-links .btn {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-order {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.06);
  animation: heroZoom 12s var(--ease) forwards;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.35) 0%,
    rgba(5, 5, 5, 0.15) 35%,
    rgba(5, 5, 5, 0.55) 75%,
    rgba(5, 5, 5, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 96px;
}

.hero-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.5em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  transition-delay: 0.05s;
}

.hero-headline {
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  transition-delay: 0.15s;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  margin-bottom: 44px;
  transition-delay: 0.3s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  transition-delay: 0.4s;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hero-scroll-hint span {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  animation: scrollHint 2.2s ease-in-out infinite;
}

@keyframes scrollHint {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

@media (max-width: 600px) {
  .hero-content { padding-bottom: 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* =========================================================
   BRAND STATEMENT
   ========================================================= */
.brand-statement {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 140px 32px;
}

.brand-statement-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
}

.brand-statement-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1) contrast(1.1);
}

.brand-statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.92) 80%);
  z-index: 0;
}

.brand-statement-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.bs-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.bs-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(36px, 6.5vw, 84px);
  line-height: 1.05;
}

.bs-text span {
  transition-delay: 0.1s;
}

.bs-text .bs-sub {
  color: var(--text-secondary);
  font-size: 0.55em;
  letter-spacing: 0.05em;
  margin-top: 20px;
  transition-delay: 0.25s;
}

/* =========================================================
   COLLECTION / PRODUCT GRID
   ========================================================= */
.collection {
  padding: 140px 32px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 72px;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
}

.section-head p {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.product-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
}

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

.product-media:hover img {
  transform: scale(1.06);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.product-media:hover .product-overlay {
  opacity: 1;
}

.product-meta {
  padding: 20px 22px 26px;
  border-top: 1px solid var(--border);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.product-name {
  font-size: 17px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.product-view {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  align-self: flex-start;
  transition: color 0.3s var(--ease);
}

.product-view .arrow {
  transition: transform 0.3s var(--ease);
}

.product-card:hover .product-view {
  color: var(--text-primary);
}

.product-card:hover .product-view .arrow {
  transform: translateX(5px);
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-meta { padding: 14px 14px 20px; }
  .product-name { font-size: 14px; margin-bottom: 12px; }
}

@media (max-width: 420px) {
  .collection { padding: 100px 16px 60px; }
}

/* =========================================================
   PRODUCT MODAL
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

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

.modal {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: var(--text-primary);
  background: rgba(5,5,5,0.5);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.modal-close:hover {
  background: var(--text-primary);
  color: var(--bg);
  transform: rotate(90deg);
}

.modal-image {
  background: #000;
  aspect-ratio: 3 / 4;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-number {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.modal-details h3 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 14px;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 20px;
}

.modal-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.modal-details .btn {
  align-self: flex-start;
}

@media (max-width: 720px) {
  .modal {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .modal-image { aspect-ratio: 4 / 3; }
  .modal-details { padding: 32px 24px; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 140px 32px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.about-number {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  padding-top: 10px;
  border-top: 1px solid var(--border-strong);
}

.about-content h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  margin-bottom: 28px;
}

.about-content p {
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 640px;
}

@media (max-width: 800px) {
  .about { padding: 96px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  padding: 160px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.final-cta h2 {
  font-size: clamp(38px, 7vw, 84px);
  margin-bottom: 44px;
}

@media (max-width: 600px) {
  .final-cta { padding: 100px 20px; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 140px 32px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  margin-bottom: 16px;
}

.contact > p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact-number {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-primary) !important;
  margin: 20px 0 36px !important;
  letter-spacing: 0.05em;
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 500px) {
  .contact { padding: 96px 20px; }
  .contact-actions { flex-direction: column; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 32px 28px;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.footer-logo img {
  height: 30px;
  width: auto;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-social a {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* =========================================================
   Focus visibility (a11y)
   ========================================================= */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}
