/* NEUE. By Rare — Standalone Opening Soon Page (Zero-Leak Public Build) */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --color-white: #ffffff;
  --color-black: #0a0a0a;
  --color-ink: #1d1d1f;
  --color-gray-500: #6e6e73;
  --color-success: #047857;
  --color-error: #dc2626;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: var(--color-white);
  color: var(--color-ink);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

input, button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Opening Soon Center Stage (Minimal Monochrome Editorial Layout)
   ========================================================================== */
.lock-stage {
  flex: 1 0 auto;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 10vh, 108px) clamp(20px, 5vw, 32px) clamp(48px, 8vh, 88px);
  background-color: var(--color-white);
}

.lock-card {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-mark-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(24px, 3.8vw, 32px);
}

.brand-lockup {
  display: none;
}

html[data-brand="neuebyrare"] .brand-lockup-neue,
html[data-brand="rareforher"] .brand-lockup-her,
html[data-brand="rareforkids"] .brand-lockup-kids {
  display: flex;
}

.copy-brand {
  display: none;
}

html[data-brand="neuebyrare"] .copy-neue,
html[data-brand="rareforher"] .copy-her,
html[data-brand="rareforkids"] .copy-kids {
  display: inline;
}

.brand-logo-neue {
  width: clamp(224px, 60vw, 290px);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.brand-logo-embroidered {
  width: clamp(168px, 44vw, 208px);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.brand-pronunciation {
  margin-top: 15px;
  font-family: "Futura", "Avenir Next", "Century Gothic", var(--font-sans);
  font-size: clamp(0.72rem, 2vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.085em;
  color: #111111;
  line-height: 1.25;
}

.lock-title {
  font-size: clamp(1.85rem, 5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: #18181b;
  margin-bottom: 24px;
}

html[data-brand="rareforher"] .footer-link:hover,
html[data-brand="rareforher"] .footer-link-her {
  color: #e60067;
  text-decoration: none;
}

html[data-brand="rareforher"] .footer-link-her {
  font-weight: 600;
}

html[data-brand="rareforkids"] .footer-link:hover,
html[data-brand="rareforkids"] .footer-link-kids {
  color: #f53c01;
  text-decoration: none;
}

html[data-brand="rareforkids"] .footer-link-kids {
  font-weight: 600;
}

html[data-brand="neuebyrare"] .footer-link-neue {
  color: #000000;
  font-weight: 600;
}

.lock-note {
  max-width: 390px;
  font-size: 0.91rem;
  line-height: 1.58;
  font-weight: 420;
  letter-spacing: -0.005em;
  color: var(--color-gray-500);
  text-wrap: balance;
  margin-bottom: 26px;
}

.waitlist-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.waitlist-input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #e2e4e9;
  background-color: var(--color-white);
  color: var(--color-ink);
  font-size: 0.98rem;
  transition: border-color 160ms var(--ease-smooth), box-shadow 160ms var(--ease-smooth);
  appearance: none;
}

.waitlist-input::placeholder {
  color: #8c919b;
}

.waitlist-input:hover {
  border-color: #cfd3dc;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--color-black);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.waitlist-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 12px;
  background-color: #050505;
  color: var(--color-white);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 150ms var(--ease-smooth), background-color 160ms var(--ease-smooth), box-shadow 160ms var(--ease-smooth);
}

.waitlist-btn:hover {
  background-color: #1c1c1e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.waitlist-btn:active {
  transform: scale(0.99);
}

.waitlist-btn:disabled {
  opacity: 0.68;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.waitlist-status {
  min-height: 22px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-gray-500);
  transition: opacity 180ms var(--ease-smooth);
}

.waitlist-status.is-success {
  color: var(--color-success);
}

.waitlist-status.is-error {
  color: var(--color-error);
}

/* ==========================================================================
   Minimal Apparel-Only Footer (SHOP RARE)
   ========================================================================== */
.site-footer {
  background-color: #fafafa;
  border-top: 1px solid #ededf0;
  padding: clamp(32px, 5vw, 44px) 0 28px;
  color: #52525b;
  font-size: 0.84rem;
}

.footer-inner {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 5vw, 36px);
  padding-right: clamp(20px, 5vw, 36px);
}

.footer-shop-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-shop-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8e8e93;
}

.footer-shop-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer-link {
  display: inline-block;
  color: #2c2c2e;
  font-size: 0.86rem;
  font-weight: 450;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: color 150ms var(--ease-smooth), opacity 150ms var(--ease-smooth);
}

.footer-link:hover {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link.is-current {
  color: #000000;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 20px;
  border-top: 1px solid #ececef;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: #8e8e93;
}

.footer-copy {
  font-weight: 500;
  letter-spacing: 0.07em;
}

.footer-legal-links {
  display: flex;
  gap: 18px;
}

.footer-legal-link {
  color: #8e8e93;
  transition: color 150ms var(--ease-smooth);
}

.footer-legal-link:hover {
  color: #1d1d1f;
}

@media (max-width: 640px) {
  .lock-stage {
    min-height: 76vh;
  }

  .footer-shop-list {
    gap: 12px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}


/* ==========================================================================
   6-Digit Exclusive Viewing PIN & Unlocked VIP Editorial Storefront
   ========================================================================== */
[hidden] {
  display: none !important;
}

.vip-pin-trigger {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #71717a;
  cursor: pointer;
  transition: color 150ms var(--ease-smooth);
}

.vip-pin-trigger:hover {
  color: #0a0a0a;
}

.vip-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 12, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.vip-modal-sheet {
  position: relative;
  width: 100%;
  max-width: 410px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 36px 30px 30px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.vip-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #71717a;
  cursor: pointer;
  border-radius: 8px;
  transition: background 140ms ease, color 140ms ease;
}

.vip-modal-close:hover {
  background: #f4f4f5;
  color: #0a0a0a;
}

.vip-modal-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 8px;
}

.vip-modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.vip-modal-desc {
  font-size: 0.82rem;
  color: #71717a;
  margin-bottom: 24px;
}

.vip-pin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vip-pin-boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.vip-pin-digit {
  width: 100%;
  height: 54px;
  border: 1px solid #d4d4d8;
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0a0a0a;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  appearance: none;
}

.vip-pin-digit:focus {
  outline: none;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.vip-pin-digit.is-error {
  border-color: #dc2626;
}

.vip-pin-error {
  min-height: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #dc2626;
}

/* Unlocked Editorial Storefront */
.vip-storefront {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.vip-announcement {
  background: #0a0a0a;
  color: #ffffff;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vip-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #ececef;
}

.vip-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 68px;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.vip-header-brand img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.vip-header-brand img.is-neue {
  height: 24px;
}

.vip-header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.vip-nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: #52525b;
  transition: color 140ms ease;
}

.vip-nav-link:hover {
  color: #0a0a0a;
}

.vip-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vip-preview-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #71717a;
}

.vip-lock-btn {
  border: 1px solid #d4d4d8;
  background: #ffffff;
  color: #0a0a0a;
  border-radius: 8px;
  padding: 6px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.vip-lock-btn:hover {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #ffffff;
}

.vip-main {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 68px) clamp(20px, 4vw, 40px) 72px;
}

.vip-hero-intro {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ececef;
}

.vip-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 8px;
}

.vip-heading {
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}

.vip-sub {
  margin-top: 8px;
  font-size: 0.92rem;
  color: #6e6e73;
  max-width: 540px;
}

.vip-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.vip-empty-state {
  grid-column: 1 / -1;
  border: 1px dashed #d4d4d8;
  border-radius: 14px;
  padding: 64px 24px;
  text-align: center;
  color: #6e6e73;
  font-size: 0.94rem;
}

.vip-product-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.vip-product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f4f4f5;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}

.vip-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 340ms var(--ease-smooth);
}

.vip-product-card:hover .vip-product-media img {
  transform: scale(1.03);
}

.vip-product-card.is-placeholder {
  cursor: default;
}

.vip-product-card.is-placeholder:hover .vip-product-media img {
  transform: none;
}

.vip-placeholder-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-size: 0.78rem;
  color: #8e8e93;
  text-align: center;
}

.vip-product-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.35;
}

.vip-product-meta {
  font-size: 0.78rem;
  color: #71717a;
  margin-top: 2px;
}

.vip-product-price {
  margin-top: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-price-compare {
  color: #a1a1aa;
  text-decoration: line-through;
  font-weight: 400;
}

.vip-drops-section {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #ececef;
}

.vip-section-head {
  margin-bottom: 24px;
}

.vip-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.vip-drops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vip-drop-card {
  border: 1px solid #ececef;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.vip-drop-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f4f4f5;
}

.vip-drop-body {
  padding: 16px 18px 18px;
}

.vip-drop-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.vip-drop-desc {
  font-size: 0.83rem;
  color: #6e6e73;
  line-height: 1.5;
}

.vip-drop-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f1f4;
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 600;
  color: #71717a;
}

/* Garment Lookbook Detail Modal */
.vip-garment-sheet {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.vip-garment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.vip-garment-media {
  background: #f4f4f5;
  aspect-ratio: 4 / 5;
}

.vip-garment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-garment-info {
  padding: 34px 30px 28px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.vip-garment-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.vip-garment-price-row {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.vip-garment-specs {
  font-size: 0.82rem;
  color: #52525b;
  margin-bottom: 12px;
}

.vip-garment-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #6e6e73;
  margin-bottom: 20px;
}

.vip-garment-sizes-wrap {
  margin-bottom: 24px;
}

.vip-sizes-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #71717a;
  margin-bottom: 8px;
}

.vip-garment-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vip-size-chip {
  border: 1px solid #d4d4d8;
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0a0a0a;
  background: #ffffff;
}

.vip-inquire-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 960px) {
  .vip-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vip-drops-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .vip-header-nav,
  .vip-preview-tag {
    display: none;
  }
  .vip-garment-layout {
    grid-template-columns: 1fr;
  }
  .vip-pin-digit {
    height: 48px;
    font-size: 1.2rem;
  }
}
