/* ══════════════════════════════════════════
   PrettyNpoison V2 — Section Styles
   ══════════════════════════════════════════ */

/* ─── ANNOUNCEMENT BAR ───────────────── */
.announcement-bar {
  background: var(--wp--preset--color--midnight-black);
  color: var(--wp--preset--color--pearl-white);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.announcement-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── HEADER ─────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .logo-text {
  color: var(--wp--preset--color--midnight-black);
}

.site-header.is-scrolled .hamburger__line {
  background: var(--wp--preset--color--midnight-black);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1920px;
  margin: 0 auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.header-nav--right {
  justify-content: flex-end;
}

.nav-link {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.nav-link:hover { opacity: 0.5; }

.nav-icon {
  display: inline-flex;
  align-items: center;
  padding: 4px;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--wp--preset--color--toxic-green);
  color: var(--wp--preset--color--midnight-black);
  font-size: 0.55rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.logo-text {
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

.logo-text em {
  font-style: italic;
  font-weight: 400;
}

/* ─── HERO SLIDER ────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--wp--preset--color--midnight-black);
}

/* --- Individual Slide --- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 1.4s;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* --- Slide Background Image --- */
.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide__bg img,
.hero-slide__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.is-active .hero-slide__bg img,
.hero-slide.is-active .hero-slide__bg video {
  transform: scale(1.08);
}

/* --- Slide Overlays --- */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide__overlay--pretty {
  background:
    linear-gradient(180deg,
      rgba(5, 5, 5, 0.3) 0%,
      rgba(180, 140, 120, 0.15) 40%,
      rgba(5, 5, 5, 0.5) 100%
    );
}

.hero-slide__overlay--poison {
  background:
    linear-gradient(180deg,
      rgba(5, 5, 5, 0.5) 0%,
      rgba(90, 10, 40, 0.3) 40%,
      rgba(5, 5, 5, 0.7) 100%
    );
}

/* --- Slide Brand Labels --- */
.hero-slide__label {
  position: absolute;
  z-index: 3;
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0);
  transition: color 1s ease 0.6s;
  pointer-events: none;
}

.hero-slide.is-active .hero-slide__label {
  color: rgba(255, 255, 255, 0.6);
}

.hero-slide__label--pretty {
  bottom: 48px;
  left: 48px;
}

.hero-slide__label--poison {
  bottom: 48px;
  right: 48px;
}

/* --- Mobile: show full horizontal video, not cropped --- */
@media (max-width: 768px) {
  .hero-slider {
    height: auto;
    min-height: unset;
    aspect-ratio: 16 / 9;
  }

  .hero-slide__bg video {
    object-fit: contain;
  }

  .hero-slide.is-active .hero-slide__bg video {
    transform: scale(1); /* no zoom on mobile */
  }

  .hero-slide__label--pretty {
    bottom: 12px;
    left: 16px;
  }

  .hero-slide__label--poison {
    bottom: 12px;
    right: 16px;
  }
}

/* ─── MARQUEE ────────────────────────── */
.marquee {
  background: var(--wp--preset--color--midnight-black);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
  width: max-content;
}

.marquee__item {
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.marquee__separator {
  color: var(--wp--preset--color--toxic-green);
  font-size: 0.6rem;
  opacity: 0.6;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── NEW ARRIVALS ───────────────────── */
.arrivals__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.arrivals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Product Card */
.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--wp--preset--color--mist);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 5, 5, 0.5));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-card__overlay { opacity: 1; }

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--wp--preset--color--midnight-black);
  color: var(--wp--preset--color--pearl-white);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.product-card__badge--hot {
  background: var(--wp--preset--color--toxic-green);
  color: var(--wp--preset--color--midnight-black);
}

.product-card__info {
  padding: 16px 4px;
}

.product-card__name {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0 0 6px;
}

.product-card__collection {
  margin: 0 0 8px;
  font-size: 0.7rem;
  opacity: 0.6;
}

.product-card__price {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

/* ─── EDITORIAL LOOKBOOK ─────────────── */
.editorial {
  background: var(--wp--preset--color--mist);
}

.editorial__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 100vh;
}

.editorial__large {
  overflow: hidden;
}

.editorial__large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial__large:hover img { transform: scale(1.04); }

.editorial__stack {
  display: flex;
  flex-direction: column;
}

.editorial__small {
  flex: 1;
  overflow: hidden;
}

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

.editorial__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
}

/* ─── MANIFESTO / BRAND DNA ──────────── */
.manifesto {
  position: relative;
  width: 100%;
  min-height: unset;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #1a0612 0%, #0d030a 55%, #050505 100%);
}

.manifesto__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(90, 25, 50, 0.3) 0%, transparent 70%);
  animation: manifesto-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes manifesto-drift {
  0%   { transform: translate(-5%, -3%) scale(1);    opacity: 0.6; }
  50%  { transform: translate(4%, 5%) scale(1.06);   opacity: 0.85; }
  100% { transform: translate(-3%, 2%) scale(0.98);  opacity: 0.7; }
}

.manifesto__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

.manifesto__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 16px 24px;
  max-width: 900px;
}

.manifesto__quote {
  font-size: clamp(1.5rem, 3.2vw, 2.8rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(250, 240, 232, 0.9);
  margin: 0;
  padding: 0;
  border: none;
}

/* ─── SOCIAL / INSTAGRAM ─────────────── */
.social__header {
  text-align: center;
  margin-bottom: 40px;
}

.social__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.social__item {
  overflow: hidden;
  aspect-ratio: 1;
}

.social__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.social__item:hover img {
  transform: scale(1.08);
}

/* ─── NEWSLETTER ─────────────────────── */
.newsletter {
  background: var(--wp--preset--color--midnight-black);
  color: var(--wp--preset--color--pearl-white);
  padding: clamp(80px, 12vh, 160px) 40px;
}

.newsletter__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter__heading {
  font-size: clamp(3rem, 8vw, 7rem);
  color: #fff;
  margin: 16px 0 20px;
}

.newsletter__form {
  margin-top: 8px;
}

.newsletter__input-group {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s ease;
}

.newsletter__input-group:focus-within {
  border-color: var(--wp--preset--color--toxic-green);
}

.newsletter__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 0;
  color: #fff;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  outline: none;
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.newsletter__submit {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 16px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.newsletter__submit:hover {
  color: var(--wp--preset--color--toxic-green);
  transform: translateX(4px);
}

/* ─── FOOTER ─────────────────────────── */
.site-footer {
  background: var(--wp--preset--color--midnight-black);
  color: var(--wp--preset--color--pearl-white);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 40px 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__heading {
  margin: 0 0 20px;
  font-size: 0.7rem;
  opacity: 0.65;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__link {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #fff;
  opacity: 1;
}

.footer__rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 32px 0 20px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copyright {
  font-size: 0.75rem;
  font-weight: 300;
  opacity: 0.5;
  margin: 0;
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer__social a:hover {
  color: var(--wp--preset--color--toxic-green);
  opacity: 1;
}

.footer__logo {
  font-size: 1.2rem;
}

/* Hero entrance animations are now handled inline on .hero-slide elements */


/* ─── HAMBURGER ──────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1002;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.is-active .hamburger__line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ─── MOBILE NAV OVERLAY ─────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.5s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-nav__link {
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(2rem, 5vh, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s ease;
}

.mobile-nav__link:hover {
  color: var(--wp--preset--color--toxic-green);
  opacity: 1;
}

.mobile-nav.is-open .mobile-nav__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open .mobile-nav__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav__tagline {
  margin-top: 12px;
  font-size: 0.6rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.mobile-nav.is-open .mobile-nav__tagline {
  opacity: 1;
  transform: translateY(0);
}



/* ─── COMMUNITY FORM ─────────────────── */
.community-form .newsletter__input-group {
  margin-bottom: 16px;
}

.community-form .newsletter__input-group:last-of-type {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .arrivals__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial__layout {
    grid-template-columns: 1fr;
  }

  .editorial__large {
    min-height: 60vh;
  }

  .editorial__stack {
    flex-direction: row;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .announcement-bar {
    display: none;
  }

  .header-inner {
    padding: 16px 20px;
  }

  .header-nav--left {
    display: none;
  }

  .header-nav--right {
    gap: 20px;
  }

  .header-nav--right .nav-link:not(.nav-icon):not(.hamburger) {
    display: none;
  }

  .hamburger {
    display: flex;
    color: #fff;
  }

  .site-header.is-scrolled .hamburger {
    color: var(--wp--preset--color--midnight-black);
  }

  .hero__content {
    padding: 0 24px;
  }

  .duality {
    flex-direction: column;
  }

  .duality__side {
    min-height: 80vh;
    flex-basis: auto !important;
    filter: none !important;
  }

  .duality__content {
    padding: 48px 24px;
  }

  .arrivals__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .social__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .editorial__stack {
    flex-direction: column;
  }

  .editorial__text {
    padding: 40px 24px;
  }

  .newsletter {
    padding: clamp(60px, 10vh, 120px) 24px;
  }

  .newsletter__inner {
    max-width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer__inner {
    padding: 36px 20px 24px;
  }

  .footer__col:first-child {
    grid-column: 1 / -1;
  }

  .footer__heading {
    margin-bottom: 12px;
  }

  .footer__link {
    margin-bottom: 8px;
    font-size: 0.8rem;
  }

  .footer__rule {
    margin: 20px 0 16px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Touch-friendly buttons */
  .pnp-btn {
    padding: 18px 32px;
    min-height: 48px;
  }

  .nav-icon {
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.5rem, 14vw, 4.5rem);
  }

  .hero__eyebrow {
    font-size: 0.55rem;
  }

  .newsletter__heading {
    font-size: clamp(2.5rem, 14vw, 5rem);
  }

  .duality__title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .duality__side {
    min-height: 70vh;
  }

  .arrivals__header {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }

  .social__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto__content {
    padding: 16px 16px;
  }

  .manifesto__quote {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .marquee__item {
    font-size: clamp(0.85rem, 3vw, 1.2rem);
  }
}

/* ─── Reduced Motion ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__gradient { animation: none; }
  .manifesto__glow { animation: none; opacity: 0.7; }
  .marquee__track { animation: none; }
  .hero__scroll-line { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

