/* ============================================
   ZARA NYC — Premium Editorial Styles
   ============================================ */

:root {
  --deep-red: #8B0000;
  --black: #000000;
  --white: #ffffff;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  cursor: default;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading #site {
  visibility: hidden;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #000;
  transition: opacity 0.8s var(--ease-premium), visibility 0.8s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
  letter-spacing: 0.15em;
}

.loader-track {
  width: min(200px, 50vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: var(--deep-red);
  transition: width 0.3s ease;
}

.loader-status {
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* Navbar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  mix-blend-mode: difference;
}

@media (min-width: 768px) {
  .site-nav {
    padding: 1.5rem 2.5rem;
  }
}

.nav-logo {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
}

.nav-menu {
  display: none;
  position: fixed;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.96);
  mix-blend-mode: normal;
}

.nav-open .nav-menu {
  display: flex;
}

.nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.4s;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--white);
}

.nav-link-cta {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.75rem 1.75rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white);
  transition: transform 0.4s var(--ease-premium), opacity 0.4s;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

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

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 2rem;
    background: none;
    mix-blend-mode: difference;
  }

  .nav-link-cta {
    border: none;
    padding: 0;
  }
}

/* Background videos — no controls, no download */
.bg-video {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.bg-video::-webkit-media-controls,
.bg-video::-webkit-media-controls-enclosure {
  display: none !important;
  -webkit-appearance: none;
}

/* Custom Cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--deep-red);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(139, 0, 0, 0.4);
  transform: translate(-50%, -50%);
}

@media (max-width: 1023px), (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* Typography */
.font-display {
  font-family: 'Bodoni Moda', 'Cormorant Garamond', serif;
}

.hero-heading .hero-line {
  font-size: clamp(2.5rem, 8vw, 7rem);
  letter-spacing: -0.02em;
}

.hero-display .hero-word {
  font-size: clamp(2.75rem, 11vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  display: block;
  position: absolute;
}

.hero-word .char,
.hero-heading .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

/* Hero staggered layout */
.hero-stage {
  position: relative;
  padding-top: 4.5rem;
}

.hero-word-1 {
  left: 1.5rem;
  top: 18%;
}

.hero-word-2 {
  right: 1.5rem;
  top: 36%;
  text-align: right;
}

.hero-word-3 {
  left: 8%;
  top: 54%;
}

.hero-tagline {
  position: absolute;
  left: 1.5rem;
  bottom: 28%;
  font-size: 0.65rem;
  max-width: 14rem;
}

.hero-stage .hero-ctas {
  position: absolute;
  left: 1.5rem;
  bottom: 14%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-circles {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.hero-circles span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-circles span:nth-child(4) {
  border-color: var(--deep-red);
  background: var(--deep-red);
}

.hero-stage .scroll-indicator {
  position: absolute;
  right: 1.5rem;
  bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.hero-stage .scroll-label {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero-word-1 { left: 2.5rem; top: 20%; }
  .hero-word-2 { right: 3rem; top: 38%; }
  .hero-word-3 { left: 18%; top: 56%; }
  .hero-tagline { left: 2.5rem; bottom: 26%; font-size: 0.7rem; }
  .hero-stage .hero-ctas {
    left: 2.5rem;
    bottom: 12%;
    flex-direction: row;
    gap: 1.25rem;
  }
  .hero-circles { right: 2.5rem; bottom: 2rem; gap: 0.6rem; }
  .hero-circles span { width: 8px; height: 8px; }
  .hero-stage .scroll-indicator { right: 2.5rem; bottom: 6rem; }
}

@media (min-width: 1024px) {
  .hero-word-1 { left: 5rem; }
  .hero-word-2 { right: 5rem; }
  .hero-word-3 { left: 22%; }
  .hero-tagline,
  .hero-stage .hero-ctas { left: 5rem; }
  .hero-circles { right: 5rem; }
  .hero-stage .scroll-indicator { right: 5rem; }
}

@media (max-width: 480px) {
  .hero-word-1 { top: 22%; font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .hero-word-2 { top: 38%; font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .hero-word-3 { top: 52%; font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .hero-tagline { bottom: 32%; font-size: 0.6rem; }
  .hero-stage .hero-ctas { bottom: 16%; width: calc(100% - 3rem); }
  .hero-stage .hero-ctas .btn { width: 100%; }
  .hero-circles { bottom: 1.25rem; right: 1.25rem; }
  .hero-stage .scroll-indicator { display: none; }
}

.stat-number {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
}

.large-stat-number {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  display: block;
}

/* Large stats — compact inline row */
.large-stats-row {
  width: 100%;
}

.large-stat-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

@media (min-width: 640px) {
  .large-stat-inline {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
  }
}

.large-stat-inline .large-stat-number {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  display: inline;
}

.large-stat-inline .large-stat-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  font-style: normal;
  white-space: nowrap;
}

.large-stat-divider {
  width: 1px;
  height: 2rem;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.text-outline {
  -webkit-text-stroke: 1px var(--black);
  color: transparent;
}

.text-outline-white {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

/* Section 2 — Beyond Beauty */
.sec2-heading {
  font-size: clamp(3.5rem, 10vw, 9rem);
}

.sec2-copy {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.4;
}

/* Sections — seamless flow, no gaps */
section {
  margin: 0;
}

.section-full {
  min-height: 100svh;
  position: relative;
}

#hero {
  min-height: 100svh;
  height: 100svh;
}

.section-bg {
  will-change: transform;
}

/* Hero */
.scroll-indicator {
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.6); opacity: 1; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.6s var(--ease-premium);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--deep-red);
  color: var(--white);
  border: 1px solid var(--deep-red);
}

.btn-primary:hover {
  background: #6d0000;
  border-color: #6d0000;
  transform: scale(1.02);
}

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

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-glow {
  background: var(--deep-red);
  color: var(--white);
  border: 1px solid var(--deep-red);
  box-shadow: 0 0 0 rgba(139, 0, 0, 0);
}

.btn-glow:hover {
  box-shadow: 0 0 40px rgba(139, 0, 0, 0.5), 0 0 80px rgba(139, 0, 0, 0.2);
  transform: scale(1.05);
}

.magnetic-btn {
  will-change: transform;
}

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-1 .marquee-track span {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}

.marquee-1 .marquee-dot {
  color: var(--deep-red);
  font-size: 0.75rem;
}

.marquee-section-lg .marquee-track span {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  font-weight: 400;
}

.marquee-section-lg .marquee-track span:nth-child(even) {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

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

/* Floating Icons */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.25);
  opacity: 0;
}

.float-icon svg {
  width: 100%;
  height: 100%;
}

.float-icon-1 { top: 20%; right: 15%; }
.float-icon-2 { top: 45%; right: 25%; }
.float-icon-3 { bottom: 30%; right: 18%; }
.float-icon-4 { bottom: 20%; right: 35%; }

/* Process Timeline */
.process-timeline {
  position: relative;
}

.timeline-line {
  height: calc(100% - 2rem);
  overflow: visible;
}

.timeline-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.process-step {
  position: relative;
  padding-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--deep-red);
  border-radius: 50%;
  transform: translateX(-50%);
}

.process-timeline-right .process-step::before {
  left: auto;
  right: -2.5rem;
  transform: translateX(50%);
}

@media (min-width: 768px) {
  .process-step::before {
    left: -3.5rem;
  }

  .process-timeline-right .process-step::before {
    left: auto;
    right: -3.5rem;
  }
}

/* Testimonials — minimal */
.testimonial-minimal {
  padding: 0;
}

.testimonial-quote {
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.65);
  margin: 0 0 1rem;
}

.testimonial-author {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
}

.testimonial-author cite {
  color: rgba(0, 0, 0, 0.5);
  margin-right: 0.5rem;
}

.testimonial-author cite::after {
  content: '—';
  margin-left: 0.5rem;
  color: rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .testimonials-grid .testimonial-minimal {
    padding: 0 2rem;
  }

  .testimonials-grid .testimonial-minimal:not(:first-child) {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  .testimonials-grid .testimonial-minimal:first-child {
    padding-left: 0;
  }

  .testimonials-grid .testimonial-minimal:last-child {
    padding-right: 0;
  }
}

/* Reveal States */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

[data-reveal].reveal-left {
  transform: translateX(-40px);
}

[data-reveal].reveal-right {
  transform: translateX(40px);
}

/* Footer */
.footer-brand {
  max-width: 20rem;
}

.footer-credit a {
  text-decoration: none;
}

.footer-credit a::after {
  background: var(--white);
}

.footer-social-label {
  margin: 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.5s var(--ease-premium), transform 0.5s var(--ease-premium);
  text-decoration: none;
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-icon:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.footer-link {
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.5s var(--ease-premium);
}

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

/* Section 1 layout — keep center empty on large screens */
@media (min-width: 1024px) {
  #section-1 .grid {
    grid-template-columns: 1fr 2fr 1fr;
  }

  #section-1 .sec1-left {
    grid-column: 1;
  }

  #section-1 .sec1-right {
    grid-column: 3;
  }

  #section-4 .grid {
    grid-template-columns: 1fr 2fr 1fr;
  }

  #section-4 .sec4-left {
    grid-column: 1;
  }

  #section-4 .sec4-right {
    grid-column: 3;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-ctas {
    width: 100%;
  }

  .cities-vertical {
    display: none;
  }

  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 1.5rem;
  }

  .float-icon {
    width: 24px;
    height: 24px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .scroll-indicator,
  .scroll-line {
    animation: none;
  }

  [data-reveal],
  .hero-word .char,
  .hero-heading .char,
  .process-step,
  .float-icon {
    opacity: 1 !important;
    transform: none !important;
  }

  .timeline-path {
    stroke-dashoffset: 0 !important;
  }
}

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